1167 Commits

Author SHA1 Message Date
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
tjhunt
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +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
nicolasconnault
b7064779f5 Updated copyright notice in header 2007-10-10 05:25:14 +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
skodak
8ce8fc85fc MDL-11304 remerging fixes 2007-10-07 13:31:41 +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
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +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
mattc-catalyst
14237364b0 MDL-10888: groupings - mod/forum - bugfix, missing $currentgroup 2007-08-30 21:01:57 +00:00
moodler
f88b7a4382 Fixed a bug checking context in groups 2007-08-30 16:18:35 +00:00
moodler
56c2ef2533 Fixed obvious typo causing notice 2007-08-30 16:09:13 +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
skodak
3a233b85c5 MDL-10947 https was replaced with httpss when wwwroot already is https credit goes to Tobias Marx 2007-08-22 19:36:24 +00:00
moodler
09164d709e Fixes to make forum RSS generation more efficient MDLSITE-244 2007-08-22 07:38:38 +00:00
moodler
5d82704e37 More bug fixing for parent links in posts 2007-08-21 07:39:57 +00:00
mattc-catalyst
010a47bf7d MDL-10888: groupings - mod/forum - update to use new standard_coursemodule_elements() 2007-08-21 05:03:48 +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
87a462eadb Fixed navigation for forums where parents are chosen 2007-08-17 03:35:34 +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
962d013395 Oops, typo in one half of the previous commit. See, that is why duplicated code is bad for maintenance! 2007-07-24 10:43:23 +00:00
tjhunt
49b53f26e0 Elimintate duplicated code and simplify some logic. Ironically, do it twice in two separate places, becuase there is some more large-scale code duplication in this file that I am not even going to attempt to fix. 2007-07-24 10:39:10 +00:00
tjhunt
3a5e1d064e Get rid of pointless 'TODO document' comments. 2007-07-24 10:37:00 +00:00
tjhunt
a7a8973866 MDL-10533 - forum search results were having format_text applied twice, which was breaking things like glossary links. 2007-07-24 09:10:21 +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
moodler
850e7ac564 Merged fix for full link to post in search results , from stable 2007-07-23 09:11:57 +00:00
skodak
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
moodler
4d46304821 Merged "no posts" string fix from stable 2007-07-13 03:05:17 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00