stronk7
c45f0ee1cc
Fixed important bug when recovering assignments or forums
...
with files and the moddata/courseid didn't exist.
Now force the creation of the courseid dir from the
restorelib in each module.
2003-07-28 22:31:23 +00:00
stronk7
902142c079
Added language support
2003-07-28 19:32:51 +00:00
moodler
d769d2ee51
Rebuild course cache using the function for it.
2003-07-20 07:56:51 +00:00
moodler
cccb016ae4
When displaying index lists of a particular module's activities,
...
ensure that the order they are displayed in is always the same as the
order they have been defined in. See bug 553.
This involved API changes to the function get_all_instances_in_course()
2003-07-12 05:19:18 +00:00
moodler
60bb26021a
Whoops forgot to check these babies in
2003-07-10 08:12:18 +00:00
moodler
cc3655a22c
Just some comments
2003-07-10 08:11:58 +00:00
moodler
10696dc1f3
Timezone included in user listing, plus new recent activity stuff
2003-07-08 06:47:44 +00:00
moodler
c99ce77b17
Recommitting because of CVS wierdness
2003-07-05 11:52:01 +00:00
moodler
72d497d4ce
Display images inline when attached to forum posts
2003-07-05 03:54:10 +00:00
moodler
908d7b30fb
Seems to be working pretty good - removing old lines no longer needed
2003-06-20 06:58:42 +00:00
moodler
f95c2a73ca
Anchors on threaded posts too
2003-06-20 06:50:14 +00:00
moodler
b22b0e61f0
An initial effort at making posts return to correct context
2003-06-20 06:35:09 +00:00
moodler
717f40c6d8
Some fixes to avoid pointless uses of $ME
2003-06-16 14:40:51 +00:00
moodler
b8bf90c53f
Minor interim change to improve display of discussions on user page
...
because some of them are getting really long on moodle.org
Eventually this display will be completely different, with information
about all public data.
2003-06-15 07:11:11 +00:00
moodler
19cbf6ffa1
Slightly larger posting window
2003-06-13 16:07:13 +00:00
moodler
14f593e176
Better setting of defaults
2003-06-09 05:34:24 +00:00
moodler
7f2a3e678e
New field for user: autosubscribe
...
This sets the default value for on-the-fly forum subscription.
Defaults to on = subscribe.
(Also fixed a bug in postgres7.sql - a missing field for htmleditor!)
2003-05-23 05:32:40 +00:00
moodler
4b2b7a7110
Full formatting looks bad (too much whitespace) but smilies are OK
2003-05-23 05:05:49 +00:00
moodler
6687be174a
Improvements to the wordings for subscription
2003-05-23 05:00:58 +00:00
moodler
f5ca7ebe1a
Display forum intros as formatted text
2003-05-23 04:51:28 +00:00
moodler
11697b48ea
Minor code cleanups
...
- lowercasing
- removing short php tags
- adding some emoticon help here and there
2003-05-20 08:03:12 +00:00
moodler
713386aadb
Left out a field! mailformat
2003-05-18 02:36:02 +00:00
moodler
06cffaf0bb
No need to get all the user data for forum_subscribed_users
2003-05-17 06:13:38 +00:00
moodler
3a4c2fd089
I knew there was something else I'd forgotten!
...
Added a check to all modules (well view.php anyway) to check whether a
module is hidden or not. If it is, then students get a message.
2003-05-15 18:03:22 +00:00
moodler
9a2efc9fb0
Don't be so pushy about subscription
2003-05-14 07:47:04 +00:00
moodler
0a9f61b55f
When posting a forum, users can unsubscribe/subscribe on the fly.
...
The flag has a memory, but it keeps pushing you to subscribe. :-)
(so that by default it behaves like it did before)
Hopefully now subscription is a bit easier to understand.
2003-05-13 13:53:36 +00:00
moodler
170a9c4612
Force subscription on a teacher's forum only includes teachers!
2003-05-12 09:01:23 +00:00
moodler
6afe855886
Better tooltip help on post attachments
2003-05-09 06:03:47 +00:00
moodler
e825f27967
New pop-up help page about smileys - clicking on the smiley inserts it
...
into the form using Javascript!
Also rationalised and patched some of the other help about text formats.
LANGUAGE EDITORS MAY WANT TO RE-CHECK:
lang/en/help/textformat.html
2003-05-08 16:09:30 +00:00
moodler
b879effb4a
Fixed bug that was not listing discussions that had identical subjects!
2003-05-05 16:21:45 +00:00
moodler
d342c76370
Added Wiki format as a system-wide format (forums, journals, etc)
...
Also, added better formatting to plain-text emails via a new function
in weblib.php - format_text_email
2003-05-04 04:07:36 +00:00
moodler
9f0b8269ac
Fixed bug where text format of a new discussion was not being saved
2003-05-04 03:43:46 +00:00
moodler
edffca1558
Changes to make forum mailouts a little more robust, and avoid duplicates
...
I hope, at least the ones caused by overlapping cron jobs.
2003-05-01 12:56:03 +00:00
moodler
8de14dc72b
Print some nice feedback when a discussion has been moved, to help
...
prevent accidents.
2003-04-28 15:27:44 +00:00
moodler
1b5910c4a5
Trying a different tack for recent_activity since the old way was
...
still producing too much data and overflowing PHP memory on busier
sites (eg moodle.org).
Now, there are more database queries, which is unfortunate, but the
data is much more specific, and no sorting needs to be done, so
this is a performance boost.
I don't know how these will cancel out ... my guess is that very
small sites may be very slightly slower on the course page, but
that large sites will be much faster.
Let's see.
2003-04-26 15:08:34 +00:00
moodler
ad08fdc277
Performance improvements
...
- better checking of data before processing
- used logs are removed to avoid re-processing by other modules
2003-04-26 12:59:41 +00:00
moodler
278a229c25
Slight fix to teacheronly coloring
2003-04-26 12:22:52 +00:00
moodler
3d89198946
Cleaned up definition of constant COURSE_* values in course/lib.php
...
Moved COURSE_TEACHER_COLOR out to style sheets where it belongs (.teacheronly)
Added some efficiency when printing recent activity
- don't print more than one weeks worth of updates
- don't keep re-parsing logs once they've been used
2003-04-26 12:17:30 +00:00
stronk7
dff0db9ad5
Show activity log only from visible forums. Bug #367 .
2003-04-26 00:17:42 +00:00
paca70
c4c575979e
Allow caseinsensitive search for postgesql
2003-04-25 19:32:38 +00:00
moodler
580f2fbc07
New function to detect visibility of a single module, and
...
use of this function when displaying list of forums
2003-04-25 05:24:29 +00:00
stronk7
f99d236832
Little update to select the forum info (avoid duplicates).
2003-04-24 17:35:34 +00:00
stronk7
3b0fb381ea
Changed to show the hidden forums dimmed (bug #364 )
2003-04-24 17:15:59 +00:00
moodler
3395f2d67e
Forum posts are now not allowed to have blank subjects or messages,
...
if a message is entered with one of these blank then the user gets
an error message and a chance to re-edit the message.
2003-04-24 14:05:47 +00:00
moodler
1fc49f0019
New feature to allow teachers to move a discussion from one forum
...
to another.
A simple popup menu now appears when teachers view any discussion.
Includes a new log entry to log when a discussion is moved.
2003-04-24 08:45:27 +00:00
moodler
c032b59db9
Help button about subscription on forum page
2003-04-23 15:19:01 +00:00
moodler
9dd0b37817
Make sure to change the ownership of uploaded files
2003-04-21 07:11:29 +00:00
moodler
2ab968e937
Trying some optimisations
2003-04-18 09:53:41 +00:00
moodler
03aa0dfa10
Style improvements and upgrades
2003-04-18 06:39:40 +00:00
moodler
9e0a08bd28
Discussion, not subject
2003-04-18 06:14:17 +00:00