128 Commits

Author SHA1 Message Date
tjhunt
28a082f102 Fix typo. 2007-11-21 16:28:45 +00:00
skodak
1ee0df067f MDL-10365 grade history can be turned off + lifetime 2007-11-08 08:59:26 +00:00
stronk7
f1dc7614b5 Adding some traces here and there 2007-10-07 17:28:46 +00:00
moodler
63a11f3c95 Added some hooks to increase debugging in admin/cron.php
$CFG->showcronsql
$CFG->showcrondebugging
2007-10-07 14:52:29 +00:00
stronk7
d9420631b8 ORPHAN_USER_LASTACCESS_PROBLEM . MDL-11604 2007-10-05 22:27:55 +00:00
stronk7
44853b8182 Reset possible changes by blocks to time_limit. MDL-11597 2007-10-04 17:55:59 +00:00
stronk7
5e867b23b9 Reset possible changes by modules to time_limit. MDL-11597 2007-10-04 17:42:30 +00:00
stronk7
fce3ef94e8 Moving some uses of deprecated functions to recordsets
in cron. MDL-11571 and MDL-11487.
Fixed wrong call to cleanup_dirty_contexts() and changed
to gc_cache_flags(). Please review. MDL-11347
2007-10-03 18:39:38 +00:00
moodler
1afb11e70b Fixed longtimenosee unenrolments. user_lastaccess and role_assignments were growing with uneccessary entries, to the point where memory limits were reached and in the end NO unenrolments were happening at all.
See  MDL-11571
2007-10-03 12:24:06 +00:00
martinlanghoff
ad72d0d702 admin/cron: move accesslib stuff to occasional cleanups, add build_context_path()
The accesslib cleanups aren't needed every 5. Also, add
build_context_path() and instructions on how to run it
as build_context_path(true) to force a path rebuild.
2007-09-19 07:29:20 +00:00
martinlanghoff
df75ca2289 cron: call cleanup_dirty_contexts() 2007-09-19 07:11:31 +00:00
martinlanghoff
17b0efae11 accesslib: Introducing cleanup_contexts() and use it in cron
The newly minted cleanup_contexts() walks the context table
matching contexts with the tables they are referencing and
clearing any leftover contexts.
2007-09-19 06:50:53 +00:00
nfreear
c5898fad45 MDL-11160, Cron exhausts memory on "Removing expired enrolments ..." - changing nested foreach to JOINs with while(..rs_fetch_next_record). 2007-09-13 09:13:00 +00:00
martinlanghoff
ff991c055a admin/cron: if $PERF->dbqueries is set, profile modules...
The cron() function of some modules can be a huge drag on the
server. Capture profiling data...
2007-09-12 02:57:58 +00:00
skodak
2650c51ef4 locktime cron support - not much efficient though :-( 2007-08-09 09:38:14 +00:00
luizlaydner
19e41f75f2 - added tag_cron() to cron.php 2007-08-04 01:51:18 +00:00
stronk7
9838bfa6b2 Prevent some notices... 2007-07-30 23:50:04 +00:00
toyomoyo
cf05753492 cron unenrolment of manual should takes place in the main cron, MDL-10181 2007-07-04 02:24:05 +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
nicolasconnault
de420c11c5 MDL-9317 Applying Petr's second patch 2007-05-29 00:56:44 +00:00
toyomoyo
ce34ed3a76 fix for MDL-9137, adding support for gradebook plugins for db, cron, events, permission structures etc 2007-05-24 02:16:31 +00:00
nicolasconnault
168df8f3e7 Added set_time_limit(0) at beginning. 2007-05-23 06:02:59 +00:00
toyomoyo
7ea9b0953d making grabbing grades from 3rd party mods run 20% of the time 2007-05-09 06:14:09 +00:00
toyomoyo
967f222f55 MDL-9510, cron job support of legacy grade functions in modules. Implementation is not finished as the gradebook grade_added event is not complete 2007-05-04 02:15:46 +00:00
skodak
0a5ce9dd21 MDL-9561 Langimport does not ignore langlist when langcache used
MDL-9563 Improve refreshing of langcache, detect permission problems

merged from MOODLE_18_STABLE
2007-04-24 16:14:16 +00:00
skodak
c7b10b5f67 MDL-9053 - adding new function get_enabled_auth_plugins() - this should make the code simpler and the bug should be gone forever; merged from MOODLE_18_STABLE 2007-03-27 20:26:05 +00:00
moodler
0616d3e82f Merged fixes for MDL-8785 from 1.8 to head 2007-03-07 04:56:07 +00:00
skodak
16ce6c0dcc MDL-8590 auth cleanup - part 2 2007-02-20 17:09:20 +00:00
skodak
8891e81c92 MDL-8469 - 192M is much nicer than 196M 2007-02-14 20:58:31 +00:00
skodak
4eefee9779 MDL-8469 increase memory limit everywhere due to changed calculation of used memory in PHP 5.2.x - the real memory useage is the same, but the reported size of used memory is now more accurate 2007-02-14 20:46:38 +00:00
skodak
9152fc9938 MDL-8323 finished full conversion to proper $COURSE global - no more $CFG->coursetheme, $CFG->courselang - improved course_setup(), current_language() and current_theme(); and Chameleon theme fixes needed for global $COURSE
MDL-7962 chat seems to be completely broken in head (fixed wrong JS)
* reworked chat themes support
MDL-8338 Cron does not need cookies
MDL-8339 forum cron capabilities problems
* minor deprecated function current_encoding() cleanup
2007-01-28 21:18:08 +00:00
moodler
f269a562a8 Fixed a typo 2007-01-23 01:15:13 +00:00
martinlanghoff
d14383e0a0 mnet/multienrol: admin area changes, including test for curl extension 2007-01-04 03:19:49 +00:00
skodak
e08df351e2 Add optional cli only and password protected access to cron.php MDL-7318; idea and patch submitted by Luke Hudson - thanks 2006-11-15 08:29:24 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
skodak
58e8f85ba6 Cron.php workaround for IE & RFC2616 - MDL-7221; merged from MOODLE_17_STABLE 2006-10-26 08:55:56 +00:00
stronk7
37c47abaca Suppress all the uses of LIMIT in the get_field_sql() calls. MDL-7173
Merged from MOODLE_17_STABLE
2006-10-23 16:03:52 +00:00
skodak
8c18200652 Automatic deletion of users when deleteunconfirmed is setted to 'never' MDL-6726; merged from MOODLE_17_STABLE patch submitted by Jesús Torres 2006-10-17 20:47:12 +00:00
skodak
9de4787365 Broken longtimenosee option - PHP notice errors during cron MDL-7058; found and solution submitted by Jenny Gray; merged from MOODLE_17_STABLE 2006-10-17 19:16:38 +00:00
moodler
6e208cd2fe FIxed up longtimenosee processing in cron 2006-09-22 09:54:43 +00:00
moodler
72df7e1ebd Merging $CFG->disablestatsprocessing from stable 2006-09-03 15:46:21 +00:00
skodak
50999a0b94 new admin block fixes and reorganisation - I guess we need something more traditional for now 2006-09-03 13:10:56 +00:00
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
toyomoyo
41d7209c7f some (mainly admin realated) capabilities 2006-08-25 08:27:27 +00:00
moodler
5ec8a4f009 Removed tabs 2006-08-09 13:18:33 +00:00
skodak
5e60122254 Bug #6141 - Cron output is not plain text - <pre> and missing encoding, minor lang issues; merged from MOODLE_16_STABLE 2006-07-20 06:36:33 +00:00
tjhunt
331ca29783 Make cron a bit more rebust by changing the way the require is done. Merged from MOODLE_16_STABLE. 2006-06-06 14:12:04 +00:00
martinlanghoff
04ddd06c1d admin/cron.php - fix typo
Nothing like being pedantic on a tuesday afternoon...
2006-04-18 21:22:04 +00:00
moodler
a9743837bf SLightly more efficiency to help keep the cached_text table smaller see bug 4677 2006-03-20 02:33:41 +00:00
martinlanghoff
f9667a5aea [multienrol]Initial commit for multi enrolment plugin feature 2006-03-09 02:48:29 +00:00