321 Commits

Author SHA1 Message Date
moodler
a7f4452d11 Updating version numbers of all Modules to make things a bit clearer 2004-02-01 04:42:39 +00:00
moodler
69d79bc31f OK, some big improvements to the logs.
Logs now include a field called modid which contains the coursemodule id.

This makes it now possible to

   - see complete logs per-activity

   - do backup/restore of logs

The upgrade process will currently try to scan all the old logs and
rebuild this field based on available data (especially forums).

STILL TO DO:  alter all the non-forum modules to send the coursemodule id
2004-01-31 14:47:57 +00:00
stronk7
3caa089f49 Some strange line feeds in the latest version. Solved. 2004-01-30 23:15:11 +00:00
gustav_delius
800578b7fe increase mailed to number(2) 2004-01-30 21:44:44 +00:00
gustav_delius
c7cdd6ec82 moved the database update code to where it belongs 2004-01-30 21:40:31 +00:00
gustav_delius
3d94772d47 better logging of forum mail errors, see http://moodle.org/mod/forum/discuss.php?d=4865. Required the addition of an extra optional argument $user="" to add_to_log() 2004-01-30 18:21:56 +00:00
moodler
5476a93df2 Fix the mode handling for "single" forums 2004-01-30 08:45:11 +00:00
moodler
1390f203a7 Dont print learning forums table if there aren't any 2004-01-29 05:59:26 +00:00
moodler
36c23cd6a9 Reduce intro text for general forums 2004-01-29 04:58:56 +00:00
moodler
e06a8263a1 Removed function, and updated versions 2004-01-28 14:49:56 +00:00
moodler
279826e26f Yes, finally forum display preferences are preserved. :-) 2004-01-28 14:48:49 +00:00
moodler
83f007bf39 Define minimum required versions of Moodle 2004-01-28 04:27:57 +00:00
moodler
ef6a649b72 MOds to use dividers between sections 2004-01-26 09:48:20 +00:00
moodler
c585ba8b14 Remove the forum links as well (for group forums when user not in group) 2004-01-26 08:57:01 +00:00
moodler
a0b9571f7c Subscribe links accurately reflect what is possible according
to the user's group status.

Section numbers now printed once per section
2004-01-26 08:05:44 +00:00
stronk7
61f95aada5 Now userid and groupid fields are recoded correctly
in the restore process. This should make the backup utility
group-compliant !! (when talking about forums, of course) :-)
2004-01-25 21:00:06 +00:00
gustav_delius
d7143408df replaced incorrectly closed html tags, see bug 365 2004-01-25 20:34:54 +00:00
gustav_delius
8c0ef41d6a reset timelimit so that script does not get timed out when posting to many users 2004-01-25 17:04:54 +00:00
moodler
5316939bcf Prevent people from subscribing to group forums is they aren't in a group 2004-01-23 13:21:25 +00:00
moodler
a7f5bf8575 Always show correct current group in popup menu 2004-01-23 13:01:05 +00:00
moodler
2f9c977e6b Fixes for recent_activity and cron to use the new groupid stuff 2004-01-23 12:48:37 +00:00
moodler
02509fe667 Improvements to forum groups.
New forum_discussions->groupid now stores the group ID for the
discussion.
2004-01-23 12:09:25 +00:00
moodler
c6d691dc28 - Prevent users from replying in groups other then own.
- groups menu at discussion level
2004-01-20 13:51:27 +00:00
moodler
a33ba1367e Editing teachers can always get into forums 2004-01-17 06:49:18 +00:00
moodler
94d712f197 Links color = black 2004-01-16 12:16:05 +00:00
moodler
218b443372 Add some styles in the posts so the autolinks look OK. 2004-01-16 11:32:14 +00:00
moodler
71767204c9 Pass courseid to format_text explicitly 2004-01-16 10:51:24 +00:00
moodler
b78eabdcdd When using the HTML editor, don't provide format options 2004-01-16 06:42:46 +00:00
moodler
e2c4f8e4dc Save forum log url in a more standard way 2004-01-15 07:26:52 +00:00
moodler
c3fcf3f3c5 Fixed two typos - seems to be working properly now 2004-01-14 13:01:54 +00:00
moodler
d05956ac9f Some improvements in efficiency of Recent Activity.
There is now a new field in forum_discussions which has the userid
of the author in it.  This saves a lookup every time to forum_posts.

There is also some caching and rearrangement of the logic.

It seems to work OK, I'm about to do some speed tests on moodle.org
2004-01-14 11:50:29 +00:00
moodler
da8079852c Even in visible-groups mode, only show recent activity of one's own group
Not sure if this is right though
2004-01-14 09:12:53 +00:00
moodler
b91d6dcd57 This is a ridiculously complicated solution to showing only
those posts in recent activity that one should see.

It's temporary.

I have a more efficient solution in mind but it will take
at least one new database field - I'll tackle it later.
2004-01-12 17:20:10 +00:00
moodler
9197e1472f First version of support in groups in the forums.
Still needs plenty of testing.   There is no GUI yet for turning on
the groupmode just for the forum (this will be on the course page)
but you can put a 1 (visible) or 2 (separate) in the course_modules table.
2004-01-11 17:46:57 +00:00
moodler
3bd98ad4bc New option to allow students to see aggregate ratings on other posts (anonymous) 2004-01-01 04:48:55 +00:00
moodler
507407a795 Display group icon in forum is a group is defined 2003-12-31 13:40:33 +00:00
moodler
6031fe85d5 Don't try to display forums if there aren't any 2003-12-31 06:44:39 +00:00
moodler
0036338998 Added new styles for latest news listings smallinfo and smallinfohead 2003-12-28 05:49:16 +00:00
moodler
f8029045de Don't show replies when re-editing a post. 2003-12-12 08:46:24 +00:00
moodler
2e82fd38c1 This has been annoying me for ages, and the fix is so simple.
When replying to a post that already has replies - the replies
are listed in threaded form.
2003-12-12 08:20:45 +00:00
moodler
1b26d5e74e Changes to use the new fullname function 2003-11-19 16:45:20 +00:00
stronk7
73daab351c When restoring "teacher" forums, if it exists in destinatio course, discussions
are merged mantaining a unique forum (previously, a second "teacher" forum
was created). See bug 880 (http://moodle.org/bugs/bug.php?op=show&bugid=880).
2003-11-16 22:49:11 +00:00
selliott
02f007f45d modified print_recent_instance_activity to fix missing course value
modified get_recent_posts to select course id from forum_discussions table
2003-11-14 19:28:43 +00:00
moodler
2abc70b558 Whoops typo 2003-11-05 13:48:25 +00:00
moodler
c7563a9c70 Improved fix to $search variable 2003-11-05 13:47:19 +00:00
moodler
cd6f0c1e28 Fixing up some handling when searching for strings with quotes in them 2003-11-05 13:43:31 +00:00
moodler
de119da9e4 Fixed attachments ...
typo:   type -> enctype   !!
2003-11-04 15:59:42 +00:00
moodler
3bbde52099 Don't focus on the post message (upsets html editor) 2003-11-04 12:42:42 +00:00
moodler
4b00b4b34a Update to use new editor stuff 2003-11-03 16:49:37 +00:00
moodler
fb7a194e6b Removed blank lines at the end (!) 2003-11-03 02:59:09 +00:00