367 Commits

Author SHA1 Message Date
stronk7
759a8abbad I suppose that now forum needs current version of Moodle
to work (modified cron system...), isn't it?
2004-05-02 23:14:53 +00:00
stronk7
8adcb49f8e First version of RSS System.
Discussion and post forum feeds supported.
Integrated in cron system.
Some strings missing.
Test, test, test...
2004-05-02 23:08:19 +00:00
moodler
806021014b Some fixes to ensure students can't post to hidden forums 2004-04-30 01:54:56 +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
3315ee39b1 Fixed a hard-coded string. bug 1269 2004-04-26 03:01:00 +00:00
moodler
36257d39d5 Check attachment variable to prevent warnings 2004-04-25 02:15:48 +00:00
moodler
fce9c67b20 Fix for bug 1268 2004-04-25 01:43:20 +00:00
stronk7
56eea82e08 First version of inter-activities mantained in backup/restore.
All the conversion to some pseudo-codes are done at backup time.
In the restore process, every link is decoded to new ids.
For now, this is supported:
- In backup:
  -all links to forums are encoded.
- In restore:
  - all links to forums are decoded.
      - from forums (post->message).
      - from resources (resource->alltext).
The process requires a backup made with the same version (because it
has to be properly encoded at backup time). Old backups will work
without conversions at all.
Only tested with some little courses.
It would be perfect to have some "big" course to test it.
Please, test and feedback, ciao :-)
2004-04-24 00:40:45 +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
9c8b8eeeb5 Fix for the display of hidden forums to students - bug 1209 2004-04-01 03:45:34 +00:00
moodler
56eb160c8e Attachments can now be completely disabled in forums 2004-03-27 14:32:57 +00:00
moodler
0eb59ce623 Better handling of single forums when secureforms is on. bug 1189 2004-03-25 05:29:38 +00:00
moodler
8575cd3233 Most of the time, don't rely on HTTP_REFERER 2004-03-22 05:59:43 +00:00
moodler
34e934a97b Don't allow links within forum post subjects when filtering them 2004-03-15 05:23:19 +00:00
moodler
fcc69042e9 The menu when moving discussions now has section markers 2004-03-13 13:56:29 +00:00
moodler
bd83d0a3a8 OK that should fix the access problem, as well as a bug with organising the data 2004-03-13 12:01:28 +00:00
moodler
5b5f2971f1 Some fixes to counting, still need to fix some access issues 2004-03-13 11:26:29 +00:00
moodler
a0a4a3c964 Some fixes. :-} 2004-03-13 10:56:38 +00:00
moodler
ecc8403ea2 OK, so the forums listing is revamped with different logic and it should now
correctly show the number of discussions for separate forums.

I'm checking this in so I can do testing on various servers.
2004-03-13 10:41:07 +00:00
moodler
68ddf8bc47 Make sure forcelogin is applied to forums at site level 2004-03-12 01:54:10 +00:00
moodler
589af000f2 New dependency 2004-03-10 02:21:54 +00:00
moodler
db46e49c9d Use break_up_long_words 2004-03-10 02:19:34 +00:00
moodler
c3862e8fda Use emailstop ;-) 2004-03-07 06:32:22 +00:00
gustav_delius
6ff27f32af fixed a typo in the URL produced by the group menu on forum/view.php 2004-03-02 22:11:48 +00:00
stronk7
744d723c2c Now forum logs are restored. 2004-02-22 12:34:07 +00:00
stronk7
b17333be71 In the delete discussion action, as the discussion no longer exists,
point the url to view the forum instead of the discussion.
2004-02-22 11:50:09 +00:00
stronk7
96d6fc8f14 Solved small bug in delete discussion action, where the
info field was storing the post->id rather of the discussion->id field
2004-02-22 11:40:44 +00:00
stronk7
454e72f7d4 Added the forum->id into the info field
for the "view subscribers" action. To make
this action easily recovereable and to show
forum name when displaying logs.
2004-02-22 11:25:09 +00:00
selliott
90708fc1f3 Added logic in function forum_get_recent_mod_activity for groups 2004-02-20 21:52:56 +00:00
moodler
59c7115177 FIxed bug with forced languages by moving string definitions 2004-02-20 02:29:30 +00:00
moodler
2ab76925a2 Cleaned up group menus 2004-02-19 17:57:22 +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
f064a3dfb9 WHAT!??
Why doesn't this work?

   if (!empty(trim($forum->intro))) {
   }

It gave blank screens on moodle.org!   Wierd.
2004-02-13 15:20:06 +00:00
moodler
51a55508e6 Use format_text on forum intros 2004-02-13 03:39:58 +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
stronk7
e222ce0944 discussion->usermodified is in backup & restore now. 2004-02-08 19:34:22 +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
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