271 Commits

Author SHA1 Message Date
defacer
aaf7a9dc9f Email digest feature: Last and most important, the changes to forum_cron() 2004-06-01 10:09:26 +00:00
moodler
14eef46494 Undoing Gustav's checkin from yesterday ...
Sorry, Gustav, but all those record_exists calls were too much overhead.

It's better done by a check in the delete page...  this will also
account for the case where a reply has been made since the post
was displayed on screen.
2004-05-31 02:42:26 +00:00
gustav_delius
cf84431be0 Can now break off posts into a new discussion, see bug 673 2004-05-30 17:25:26 +00:00
gustav_delius
4c62719001 Delete links on forum post now only show if post has no children 2004-05-30 14:42:04 +00:00
gustav_delius
cb9a975f95 fixed bug 904 2004-05-25 20:03:45 +00:00
moodler
1bf4c86205 Suppress warnings on set_time_limit 2004-05-18 14:14:47 +00:00
moodler
a796d0b8c3 Don't show the replies column when no replies are allowed - it seems to
upset some people.
2004-05-18 03:15:32 +00:00
defacer
65b0e53770 Fix for bug 1194:
Now forum_print_user_discussions does not show discussions in hidden
forums, unless you are an an editing teacher.

** NOISY DIFF WARNING **
I don't know why this happens, but the only changes are in function
forum_print_user_discussions (10 lines or so).
2004-05-17 09:31:06 +00:00
stronk7
2127fedda8 Step 2 of Bug 1223 done.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
2004-05-16 00:36:00 +00:00
stronk7
0f1a97c2fb Step 1 of Bug 1223 done.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
2004-05-15 23:18:24 +00:00
moodler
b6650a256a Borders on mailed posts 2004-05-10 18:26:31 +00:00
moodler
e2d4106275 Wasting time with tweaks 2004-05-10 18:14:49 +00:00
moodler
26bba779ff Tweaking the formatting of the footers a bit 2004-05-10 18:12:32 +00:00
gustav_delius
274e05dbd5 fixed bug 1093 by applying clean_text to $forum->intro 2004-05-07 17:48:02 +00:00
moodler
49d9b738cf Email from forums is marked as "bulk" to reduce vacation bounces etc 2004-05-07 03:31:01 +00:00
moodler
6673d7bdf6 Subscriber editing is group-aware.
Groups can be subscribed or unsubscribed with one click
2004-04-26 08:55:00 +00:00
moodler
d591b40f51 Bug fixed when determining who can post into a forum when groups are used 2004-04-12 10:12:43 +00:00
moodler
b656e2a976 Use the fullname function to display name on minmal forum listings 2004-04-12 06:34:44 +00:00
moodler
34e934a97b Don't allow links within forum post subjects when filtering them 2004-03-15 05:23:19 +00:00
moodler
c3862e8fda Use emailstop ;-) 2004-03-07 06:32:22 +00:00
selliott
90708fc1f3 Added logic in function forum_get_recent_mod_activity for groups 2004-02-20 21:52:56 +00:00
moodler
b8be40ce52 Variable $CFG->admineditalways will enable admin editing all the time 2004-02-18 03:30:05 +00:00
moodler
096b5432a7 Fixed some old pix paths 2004-02-16 09:24:14 +00:00
moodler
e1fb2e6e09 Don't create empty $CFG->courselang to be sure 2004-02-15 14:32:18 +00:00
moodler
436a7cae88 Filter subject lines in discussion listings too. 2004-02-15 10:23:35 +00:00
moodler
83ec909837 Allow <lang> tags in forum subjects.
And filter them is $CFG->filterall is on
2004-02-15 10:16:12 +00:00
selliott
a57a7794ea deleted forum_print_recent_instance_activity and forum_get_recent_posts (only used in course/recent.php)
added  forum_get_recent_mod_activity and forum_print_recent_mod_activity for course/recent.php
2004-02-15 06:19:08 +00:00
moodler
0d851f90a8 Cache format_text calls in make_mail_post for even more speed
during a forum_cron
2004-02-11 02:26:25 +00:00
moodler
9c84314ed7 Fix for recent courselang stuff 2004-02-10 14:28:32 +00:00
moodler
016cd6af4f Discussions now store the last user to change them, as well as the
last time they were modified.   This isn't actually used yet but it
will be.
2004-02-06 13:15:15 +00:00
selliott
c892ab3672 Added user parameter to print_recent_instance_activity and get_recent_posts (all for course/recent.php) 2004-02-05 20:38:14 +00:00
selliott
2bda8358da In function forum_get_recent_posts, removed u.id from select because of conflict with p.id field (p.userid is available) also changed sort from discussion id to modified. 2004-02-04 15:07:08 +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
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
e06a8263a1 Removed function, and updated versions 2004-01-28 14:49:56 +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
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
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
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