Commit Graph

625 Commits

Author SHA1 Message Date
poltawski 78ea91bc73 MDL-13180 - prevent return of duplicate rows 2008-01-26 17:35:58 +00:00
poltawski 29ee92888b MDL-13180 - stop returning duplicate rows
merged from MOODLE_19_STABLE
2008-01-26 16:04:22 +00:00
skodak dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
danmarsden c37fdcb550 Fix for MDL-12979 forum sends out notification to users not in course - due to call to deprec function get_course_users - This also fixes MDL-10163 2008-01-20 20:05:45 +00:00
skodak fffa8b358f MDL-12926 Discussion list shows all discussion in separate mode if user not member of any group and does not have accessallgroups; merged from MOODLE_19_STABLE 2008-01-11 13:09:51 +00:00
skodak 9b8ba7cdda MDL-12728 missing USER->mnehostid in forum cron processing; merged from MOODLE_19_STABLE 2007-12-25 22:22:16 +00:00
skodak eafb9d9eda MDL-12458 fixed gradebook upgrade/update problems when not grades yet in activities; merged from MOODLE_19_STABLE 2007-12-25 20:51:23 +00:00
skodak 220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
scyrma d66dc4b2d7 MDL-12613 - this should fix (part of) the problem with the search block (take 2) 2007-12-18 08:17:58 +00:00
scyrma aa66df4dff MDL-12613 - this should fix the problem with the search block 2007-12-18 07:54:09 +00:00
skodak 0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
toyomoyo 2f60b31e90 MDL-10263, enable forum search for multiple groups 2007-11-28 07:53:44 +00:00
scyrma 15614af6a5 imagealt wasn't loaded in a list of the user's posts. 2007-11-27 05:02:27 +00:00
toyomoyo ef678ebb82 MDL-12175, forum reset should delete attachments 2007-11-26 04:22:10 +00:00
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