Commit Graph

611 Commits

Author SHA1 Message Date
sam_marshall
52ca1e737e MDL-12055 Tweaked forum subscribe 'continue' address 2007-11-07 17:33:12 +00:00
jmg324
8ba59d07d7 fixes notice error in forum/user about image alt 2007-11-06 15:34:19 +00:00
stronk7
226a1d9dfc Move the update of digestmailtimelast to the end of the
loop to allow digests to be sent over multiple cron
executions if something crash in the middle. MDL-11657

Merged from MOODLE_19_STABLE
2007-10-16 16:10:19 +00:00
stronk7
910b6fa760 Improving cron to make digests to use much less memory. MDL-11657
Merged from MOODLE_19_STABLE
2007-10-14 16:14:40 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
moodler
f3c3a4d3b1 Added a timemodified field to forum_queue, and we now delete records
that are older than a week before processing digests.

After upgrade it's possible that some posts will be lost this way but
on the other hand it ensures that sites with problems like moodle.org
had will start working again.

We still need a recordset added to the digestposts loop.

MDL-11657
2007-10-10 02:52:25 +00:00
skodak
922ddcad2c fixed undefined $modcontext 2007-10-09 13:10:55 +00:00
moodler
9f2ded7678 More passing around of context information to speed up things 2007-10-07 14:53:13 +00:00
moodler
c15b86dc95 Pass $modcontext down through the functions so that print_post is more efficient MDL-11606 2007-10-05 07:26:02 +00:00
moodler
2106444076 Get imagealt during outer loops so that print_user_picture is more efficient MDL-11606 2007-10-05 06:47:14 +00:00
moodler
2c894bb92d Efficiency improvements to bring some SQL statements out of loops MDL-11606 2007-10-05 06:36:31 +00:00
moodler
a365ee56cf Fix for subscription and tracking buttons to remove links and improve accessibility and reduce crawler problems http://tracker.moodle.org/browse/MDLSITE-263 2007-09-21 02:52:51 +00:00
skodak
85c9ebb926 MDL-1883 improved perf when editing scales - new function xxx_scale_used_anywhere() 2007-09-18 18:37:58 +00:00
moodler
5b1059bb9f Better solution for MDLSITE-152 2007-09-03 07:57:56 +00:00
moodler
acc7a2fabe FIx the links that were removed by format_string in 1.8 MDLSITE-152 2007-09-03 07:55:28 +00:00
mchurch
00472a2235 Moving get $cm outside of the 'forum_enabletimedposts' condition as it is needed even if this isn't set. 2007-08-23 14:25:42 +00:00
moodler
5d82704e37 More bug fixing for parent links in posts 2007-08-21 07:39:57 +00:00
toyomoyo
5080d619a3 changed subscription/unsubscription to links if javascript is enabled, and button if javascript is disabled 2007-08-21 04:12:03 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
moodler
2db01bec9e Slight change to "show parent" link (backto how it was) 2007-08-17 03:42:07 +00:00
moodler
82ebf2af31 Fixed a typo, thanks Joseph MDL-10866 2007-08-16 02:20:39 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
skodak
1d68419596 MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9 2007-08-15 19:28:11 +00:00
toyomoyo
0005b99627 MDL-10691, merged fix, slow forum_role_unassign 2007-08-13 05:39:44 +00:00
skodak
e75f3463a1 MDL-9548 minor cleanup 2007-08-10 21:01:02 +00:00
moodler
a9900c73ec Merged unsubscribe link in email fixes from stable 2007-08-06 14:55:02 +00:00
tjhunt
e344003ad6 MDL-10589 - make the forum subscribe link a post form button. 2007-07-24 17:17:52 +00:00
tjhunt
40ce63cbb7 MDL-10588 - refactor the code for printing the 'subscribe/unsubscribe from this forum' link into one place. 2007-07-24 17:06:29 +00:00
tjhunt
3a5e1d064e Get rid of pointless 'TODO document' comments. 2007-07-24 10:37:00 +00:00
stronk7
e3fc108e41 Let's use the default (cached) list of fields here. MDL-10571
Merged from MOODLE_18_STABLE
2007-07-23 16:34:41 +00:00
tjhunt
21976af149 Starting work on MDL-10533 - Eliminate one totally evil abuse of $SESSION. Also, document forum_print_post. 2007-07-23 16:00:36 +00:00
skodak
92382b6d02 fixed typo 2007-06-26 13:03:18 +00:00
toyomoyo
0e4743c847 adding include_once for gradelib public api function 2007-06-26 06:28:42 +00:00
skodak
ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +00:00
skodak
d55930f153 MDL-9516 removing include of gradelib.php - now included only when needed 2007-06-11 11:28:42 +00:00
moodler
80974e6a12 Teacher forums are now displayed to admins correctly MDL-9590
Merged from 1.8
2007-06-07 02:45:45 +00:00
skodak
b67ec72f57 MDL-9516 update_grade(); now required $source of grading to allow modification of original grades in activities through grade_updated event 2007-06-06 23:04:24 +00:00
skodak
612607bd47 MDL-9516 new central grading function update_grade(); to be improved/tested more tomorrow 2007-06-05 22:58:37 +00:00
skodak
38bd362af1 MDL-10018 Discussion for all groups not sent when groups used to users without access to all groups 2007-06-04 21:43:57 +00:00
skodak
5980d52f23 MDL-9516 fixed mod_form.php logic + related lib issues 2007-06-03 19:12:55 +00:00
skodak
353228d8f4 MDL-9548 Implement grade_updated event triggers in Forum 2007-06-03 16:24:03 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
toyomoyo
db76f84627 merged fix for MLD-9727, capability typo 2007-05-07 05:00:22 +00:00
martinlanghoff
0a66585b3d get_my_courses() callers update - check of the $fields param - pass null instead
The default way to call get_my_courses() is now to pass null in the $fields
param to get the (cached copy) of the useful fields. Cuts down enormously
on DB traffic, memory footprint, and session size.
2007-05-06 05:32:40 +00:00
skodak
a32fa3588a MDL-9387 Message "Adding discussions to this forum requires group membership" if not logged; nerged from MOODLE_18_STABLE 2007-04-17 08:36:58 +00:00
nicolasconnault
1670305df4 Added a few more comments 2007-04-12 05:59:09 +00:00
nicolasconnault
1f11c89751 Typo, sorry 2007-04-12 05:01:09 +00:00
nicolasconnault
0a4ac01b3e Converted all function comments to PHPdoc style, and added stub phpdocs for functions without comments. 2007-04-12 04:25:47 +00:00
nicolasconnault
e2c51b2dfb MDL-9223 Fixed a coding error: $group->id changed to $discussion->groupid 2007-04-12 02:23:28 +00:00
nicolasconnault
632730fdd7 MDL-9213 Corrected $forum->format to $forum->type 2007-04-11 01:05:28 +00:00