Commit Graph

635 Commits

Author SHA1 Message Date
skodak 44022418b2 undefined discussion timestart on frontpage; merged from MOODLE_19_STABLE 2008-02-15 15:28:52 +00:00
skodak 75d46e24ab MDL-13303 fixing missing group icons in forum; merged from MOODLE_19_STABLE 2008-02-14 16:37:01 +00:00
skodak 874e184158 MDL-13303 - forgot to change warnings to developer mode only 2008-02-13 17:15:57 +00:00
skodak 65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
skodak df17e1bd93 MDL-3942 fixed warnings; merged from MOODEL_19_STABLE 2008-02-05 11:49:39 +00:00
skodak 13bbe067f0 MDL-3942 - various forum scoring types - patch by Anthony Borrow; merged from MOODLE_19_STABLE 2008-02-05 11:22:13 +00:00
skodak df1c2c71da MDL-13335 rewritten caching in forum cron; merged from MOODLE_19_STABLE 2008-02-05 10:52:20 +00:00
skodak f4528bdcfe MDL-13306 option to skip logging of blocked emails in forum cron; merged from MOODLE_19_STABLE 2008-02-03 10:37:03 +00:00
skodak a5cef9c87e MDL-13305 , MDL-13304 - fixed memory leak in forum cron and saved 10% of queries when printing user pictures in mails; merged from MOODLE_19_STABLE 2008-02-03 10:21:27 +00:00
skodak 76cbde4138 MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE 2008-02-01 14:10:49 +00:00
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