98 Commits

Author SHA1 Message Date
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
mjollnir_
f9648e77cf Added cron support for blocks - it was already there in the tables, now we just need to use it 2006-02-14 03:24:08 +00:00
martinlanghoff
a2ce7344de admin/uploaduser fixes and enhancements
Several fixes and enhancements:

 + No longer fail due to timeouts or memory limits. And let apache know
   that we're a memory hog so it can clean up after us.

 + Add support for user account updates (optional)

 + Add support for user account renames (optional)

 + Cleaned up the logic that deals with creation and failure

 + More robust error handling

 + Use optional_param() -- no longer depends on register_globals
   -- when do we switch that off?

 + Added the relevant documentation.
2006-01-16 03:15:32 +00:00
martinlanghoff
e3b6b2b083 User uploads allow missing password
User upload now has an option to allow missing passwords to be accepted -
if we have an email field available. Cron will pick up those users, and call
setnew_password_and_mail() for them.

Effective way to spam your way through life...
2006-01-16 02:53:19 +00:00
moodler
7b8cc33964 Moodle now cleans out accounts that never get completed bug 3309 2005-11-08 07:24:11 +00:00
mjollnir_
1330905958 Cronjob: override admin user timezone to moodle default timezone 2005-10-28 01:33:32 +00:00
mjollnir_
4900433c84 More fixes to stats to do with runtimes 2005-10-10 00:46:44 +00:00
mjollnir_
5560ed98c8 Various fixes to stats after our attempts to run it on a large real dataset 2005-10-04 20:25:31 +00:00
mjollnir_
9c5b82dd34 Fixing various small silly things in stats - runtime stuff and a couple PHP notices 2005-09-28 02:36:44 +00:00
mjollnir_
aff2511993 Don't clear out old daily logs unless the run was complete. 2005-09-27 21:09:10 +00:00
mjollnir_
f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
martinlanghoff
1fae496705 Merged from MOODLE_14_STABLE - Just to remove a warning (moodler) 2005-05-17 00:18:37 +00:00
martinlanghoff
d6ead3a251 Polish and fixes for language cache -- addresses bug 2891 2005-04-20 07:29:28 +00:00
moodler
7493b1c927 Deleting cronextra.php stuff .... 2005-04-20 05:38:16 +00:00
skodak
00de82df28 Session test to detect user switching, error counter is displayed in healthcenter - please test, test, test; TODO - move string from setup.php to language file 2005-04-18 20:13:36 +00:00
martinlanghoff
6e6053bd18 Merged from MOODLE_14_STABLE. Added option to cache langlist in dataroot/cache/languages. If enabled saves around 10MB of memory and 40 includes (some really large). In HEAD we also get a nice option select in admin->variables. 2005-04-11 06:41:08 +00:00
moodler
3c02d134da Removed $THEME from admin pages 2005-01-25 17:08:05 +00:00
mjollnir_
b61efafba5 Initial checkin for new meta courses feature. Please test!
See http://moodle.org/mod/forum/discuss.php?d=17269 for description.
2005-01-24 22:21:28 +00:00
moodler
f9f4d999fe Merged recent fixes to FULLME in stable 2004-12-12 06:49:26 +00:00
martinlanghoff
b110348b71 Merge from MOODLE_14_STABLE.
Student and teacher enrolments now unique + version bump

Made student and teacher enrolments unique, enforced at the database level. This patch also removes a cleanup job in moodle's cron that removed duplicate enrolments.

Merge of patchset  arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-422
2004-11-24 02:25:36 +00:00
mjollnir_
df7ebd69ab Merged from MOODlE_14_STABLE: Fix for invalid sql (for postgres) in cron cleanup of duplicate enrolments. Possibly soon to be overridden by a unique index 2004-11-23 01:05:11 +00:00
martinlanghoff
bce7197321 Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-335 Now memory_limit can be overriden by higher config settings from php.ini, commandline, httpd.conf, .htaccess 2004-11-18 02:55:06 +00:00
stronk7
f74fd81898 Increase memory_limit to 128 in backups & restore.
Merged from MOODLE_14_STABLE
2004-09-08 22:47:19 +00:00
moodler
428b6fec9e More mtracing 2004-08-07 05:56:03 +00:00
moodler
defaac4cee Added mtrace function for printing information to standard output 2004-08-05 17:08:46 +00:00
moodler
69f78bcb59 Added some better tracing .... makes it easier to debug cron.php
from the cvommand line
2004-08-05 17:03:19 +00:00
moodler
7e192c788d Fixed a notice 2004-07-29 14:53:48 +00:00
moodler
d846e50acc MERGED in some changes from the defunct resource branch 2004-07-25 14:14:56 +00:00
moodler
854f7dcec5 Merged require_logins from stable 2004-07-08 01:19:32 +00:00
stronk7
db6b033d3e Force to destroy the php session. Without this, some buggy PHP versions
can have problems under certain situations. :-)
2004-07-07 19:35:28 +00:00
moodler
04e443258c Hook for enrolment cron jobs 2004-06-25 03:44:29 +00:00