164 Commits

Author SHA1 Message Date
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak
1aa01caf90 MDL-16231 reimplemented deleting of files + cron cleanup 2009-06-03 08:10:21 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
skodak
1619d1098f MDL-18676 auth plugins should run before enrol because it may create new users - proposed by Jason Hardin 2009-03-26 19:56:11 +00:00
skodak
e8656befac MDL-17942 more session refactoring 2009-01-18 18:00:44 +00:00
skodak
dd9e22f871 MDL-17942 implemented gc and timeouts for db sessions 2009-01-18 11:19:40 +00:00
skodak
56949c17de MDL-14992 refactored use of session_write_close() 2009-01-17 15:25:08 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
skodak
a91b910e4f MDL-17776 added new define CLI_SCRIPT that identifies all CLI scripts + cron (cli scripts do not have session and do not like HTML in output and are executed from command line, cron is an exception) 2009-01-03 14:28:02 +00:00
skodak
e8b7114d5e MDL-17774 refactored USER switching in cron scripts - now standardised in cron_setup_user() 2009-01-03 13:16:59 +00:00
skodak
1b813f5c2a MDL-17772 fixed guest access; MDL-17754 $USER object initialisation cleanup 2009-01-02 21:05:16 +00:00
skodak
7f51af40c5 MDL-17746 fixed debugdisplay typo in cron - patch by Tomasz Muras 2008-12-29 19:57:47 +00:00
danmarsden
ac7658aa33 MDL-17071 fix misleading text - it's removing enrolments not assignments 2008-11-05 07:13:26 +00:00
stronk7
5e7206a8f6 Adding new setting "statsruntimedays" to configure the number of days to
calculate as max per stats cron invocation. Part of MDL-16709 ; merged from 19_STABLE
2008-10-13 21:53:49 +00:00
skodak
90658eefb0 MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup 2008-08-26 05:45:07 +00:00
mjollnir_
7e51bbcee9 MDL-15995 - portfolio cron. currently just cleans up any orphaned transfer data
Later should be extended to add hooks in the plugins
2008-08-11 12:50:26 +00:00
tjhunt
40ad295c25 MDL-15818 - correction, undo a change to the admin-reports bit.
Jamie, if you see this, please review this change.
2008-07-25 16:18:28 +00:00
jamiesensei
17f1782c12 MDL-15818 "allow quiz reports to register cron routines" - Quiz reports can now include files cron.php which include functions quiz_report_{reportname}_cron that will be executed from the moodle cron. They must also modify their quiz_report record to set cron to the number of seconds between cron execution. 2008-07-24 17:36:33 +00:00
mjollnir_
a5d56dc1cd MDL-15739: make cron.php actually call events_cron 2008-07-21 16:04:14 +00:00
skodak
a4a57da9e2 MDL-15021 Deleted not fully setup separate admin settings; merged from MOODLE_18_STABLE but with better delete 2008-07-03 14:09:27 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
ec22e38039 MDL-15273 basic read/write perf counter in moodle_database 2008-06-18 08:26:41 +00:00
skodak
ab130a0b5f MDL-15273 basic read/write perf counter in moodle_database 2008-06-16 21:01:54 +00:00
skodak
3dce78e125 MDL-15247 lib/dmllib.php is now obsolete 2008-06-15 11:35:25 +00:00
skodak
953d72db50 MDL-14679 towards /admin conversion 2008-05-30 21:16:16 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
scyrma
2cb5f03a66 code beautification 2008-05-01 05:49:35 +00:00
sam_marshall
d9b063277b MDL-13660: Allow admin reports to have db tables, cron 2008-02-26 10:34:51 +00:00
skodak
5a4b2e8ead MDL-13605 use userdate() instead of date() when printing next cron execution time; merged from MOODLE_19_STABLE 2008-02-24 13:29:55 +00:00
moodler
6fdde1d251 Merged stats cron output from 1.9 2008-02-18 03:13:46 +00:00
skodak
61460dd631 MDL-13192 major stats cleanup patch - see tracker for more details; merged from MOODLE_19_STABLE 2008-02-16 18:33:50 +00:00
skodak
0f0a5c2867 MDL-13319 skip disabled modules and blocks in cron; merged from MOODLE_19_STABLE 2008-02-03 17:28:25 +00:00
skodak
c2f6fe2fbf MDL-13239 smtp bulk sending; merged from MOODLE_19_MERGED 2008-02-01 07:05:58 +00:00
poltawski
362594f2e4 MDL-8269 - stats wasn't paying attention to run time settings as the strtotime arguments were the wrong way round. Thanks to Mark Nielsen 2008-01-13 18:46:55 +00:00
toyomoyo
40e473bfe1 customized cron should be in dirroot/local/cron.php 2007-12-07 04:39:40 +00:00
toyomoyo
ba9b44f976 adding support for customized cron 2007-11-30 02:00:04 +00:00
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