373 Commits

Author SHA1 Message Date
moodler
4dca83a703 Fix for bug where forum search would return posts by users in other groups
when the course was in separate group mode. Bug 3073. (SE)
2005-05-04 08:54:07 +00:00
moodler
524f9dbe72 Added link to mark all posts in forum as read, and also removed
error notices from markposts.php because we don't really care
2005-05-03 16:32:25 +00:00
moodler
d494dd8351 Fixed a typo 2005-05-02 03:53:18 +00:00
mchurch
4822e9d26d Added 'trackforums' to the fields retrieved for 'forum_subscribed_users' so
that emailed posts are marked as 'read' correctly.
2005-05-02 03:18:03 +00:00
mchurch
c39748f4b4 Re: Bug 3033 - fixed incorrect arguments in markposts for the forum index
screen.
2005-04-28 19:49:01 +00:00
moodler
1da8c5685a New function to update the last post in a given discussion.
Called whenever deleting posts or splitting discussions - bug 3050 (SE).
2005-04-28 07:42:14 +00:00
moodler
8fbdc99251 Removed extra JOIN :-D 2005-04-27 14:45:28 +00:00
moodler
3ad7a8c7a8 Fixed a notice 2005-04-27 06:02:08 +00:00
moodler
77efef3e50 Dealing with forumid and forum_print_post in a more coherent way ... bug 3047 2005-04-27 05:55:30 +00:00
defacer
10426cefb6 Fixing the two other functions that feed stuff into forum_print_post_full as well. 2005-04-26 21:45:48 +00:00
defacer
6572ab7170 Fix for bug 3047, which I leave open because I don't know if this
is the desired way of fixing the problem. Hopefully it is.
2005-04-26 21:29:29 +00:00
mchurch
eaf50aeff8 Added tracking settings per forum. 2005-04-26 16:27:51 +00:00
moodler
326ce3c4b5 Don't put paragraphs around forum texts 2005-04-26 08:34:32 +00:00
moodler
343af2747d Fixed up some functions calls with funny parameters 2005-04-25 18:25:04 +00:00
moodler
5733262d15 Making display of "mark read" function much more efficient
removed tables, added XHTML, using CSS, caching string ...
2005-04-25 18:00:23 +00:00
mchurch
20a3dad574 Added the ability to mark discussions read. 2005-04-25 15:00:27 +00:00
mchurch
45293cd330 More robust personal forum tracking logic. Added personal forum tracking
option setting to forum view page.
2005-04-25 14:02:00 +00:00
moodler
f2379d2d2e Tweaking 2005-04-25 10:56:11 +00:00
moodler
a0288610be Tidying up mail and stuff 2005-04-25 10:48:01 +00:00
moodler
47d0630139 Fixed display of unread column in news forums 2005-04-25 09:08:21 +00:00
mchurch
331c512a10 Added the ability to mark all posts in a forum as read. 2005-04-25 03:56:02 +00:00
moodler
77e75a76f7 FIxed relative link in mailouts 2005-04-25 03:42:50 +00:00
moodler
add3201ede Fixed up styles and strings in posted mail 2005-04-25 01:51:51 +00:00
mchurch
9e2b1877e0 Added enable/disable forum tracking in a user profile. 2005-04-24 19:46:13 +00:00
mchurch
cb9ef4a06d Fixed Bug 3021. Forum ID was getting changed in read tables. 2005-04-24 14:54:15 +00:00
mchurch
143b43cbcc Added user read tracking logic to forum_print_post. 2005-04-24 14:31:03 +00:00
mchurch
1d2256d020 Added user forum tracking logic to discussion display. 2005-04-24 14:06:23 +00:00
mchurch
38994d6ff7 Added the user forum tracking settings. 2005-04-24 13:27:20 +00:00
mchurch
cfdc10e63c Corrected an SQL statement that used 'user' instead of $CFG->prefix.'user'.
Note - this is a left join of a table that is already inner joined in the
same statement. There may be other problems here.
2005-04-24 02:02:09 +00:00
moodler
3a70cb6441 Added new script to upgrade the forum records (it has a pretty progress bar
and it means the main upgrade isn't held up.
2005-04-23 13:36:18 +00:00
moodler
f8156e56eb Delete forum_read records more efficiently 2005-04-23 05:06:17 +00:00
moodler
096de9addc Improved handling of userlastmodified 2005-04-22 18:53:04 +00:00
moodler
13597d018f Hack to speed up forum_get_discussions in blocks etc 2005-04-22 16:45:51 +00:00
moodler
4abef03b8b Optimisations for read posts 2005-04-22 16:38:50 +00:00
moodler
81c679ce87 Two weeks is enough (wish I'd set this small on moodle.org upgrade!) 2005-04-22 13:37:23 +00:00
moodler
b82faacd03 Fix for bug 1938. Now a teacher can delete any post, and all the
children are deleted as well (after a warning and a preview of the
affected posts).
2005-04-19 11:25:59 +00:00
moodler
a702e65741 At site level, admin can see user posts from ALL courses 2005-04-11 08:43:28 +00:00
stronk7
95c67e2fe1 Now xxx_print_recent_mod_activity() supports filterall.
(assignment, forum, quiz and workshop)
2005-04-02 23:19:01 +00:00
moodler
5c8d186608 Removed some cellspacing to help IE 2005-04-02 14:06:53 +00:00
stronk7
ac21ad392d Now course/recent.php works under PHP5.
See bug 2828
(http://moodle.org/bugs/bug.php?op=show&bugid=2828)

Merged from MOODLE_14_STABLE
2005-04-02 11:32:22 +00:00
stronk7
c78ac79818 Now discussion->name works under filterall. 2005-03-26 17:11:30 +00:00
stronk7
17dc3f3cc6 Now post->subject works under filterall too. 2005-03-26 11:43:16 +00:00
stronk7
3849dae80f Now the FIRST string working under CFG->filterall is done:
forum->name
(everything tested but email)

(I'm going to maintain a list of strings in Developers Wiki)
2005-03-26 01:57:40 +00:00
moodler
7105cf8d21 More generic indent tag 2005-03-24 02:37:11 +00:00
martinlanghoff
0362d553eb Merged from MOODLE_14_STABLE - More efficient SQL UPDATE in forum_mark_old_posts_as_mailed() -- improves performance under PostgreSQL. 2005-03-20 23:13:18 +00:00
moodler
4f321bdb3d SOme necessary fixes to searching to allow arbitrary SQL to be added to the
search, and also removed some old stuff
2005-03-20 12:05:58 +00:00
moodler
7ff9860db0 This change will break themes for sideblock, but now all the main TH cells that use
the standard kind of look (eg gradient) have a consistent class "th.header"
2005-03-13 13:50:23 +00:00
stronk7
c206050394 Old bug introduced in lib.php 1.280. It was causing a lot of mails being sent
instead of the 2 days limit. Bug 2716
(http://moodle.org/bugs/bug.php?op=show&bugid=2716)
2005-03-10 20:26:25 +00:00
moodler
8f7dc7f1c7 Variety of small fixes, but mostly related to how the recent activity
block is constructed.  A new function exists to pump these notes out
in a standard way :  print_recent_activity_note.

Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
defacer
6f1cc8d63c Simplified by removing two optional parameters from forum_print_search_form,
because everyone was using the same values for them!

Also renamed the function to simply forum_search_form, because in the end
noone was using it to PRINT html, it was just put into a variable.
2005-03-09 20:50:37 +00:00