83 Commits

Author SHA1 Message Date
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
stronk7
bc706aeb5f Now make_upload_directory() is used, avoiding dependencies to
backup/lib.php. I think that, gradually, I'll can modify the
backup/restore process to use this "core" function everywhere!!
Bug 1467.
(http://moodle.org/bugs/bug.php?op=show&bugid=1467)
2004-05-26 16:12:58 +00:00
moodler
70c8fa117c RSS requires backup/lib.php currently ... Eloy, see bug 1467 :-) 2004-05-26 14:14:43 +00:00
moodler
a71bfa1c78 Supress errors on set_time_limit() for servers with safe mode restrictions 2004-05-18 14:12:21 +00:00
moodler
d5f286f1aa A fix from boman in bug 1421 that allows the script to be
run from anywhere on the command line in PHP > 4.3.0.

ie:

   php /some/dir/moodle/admin/php.php

   ... now works again
2004-05-18 13:38:58 +00:00
stronk7
8adcb49f8e First version of RSS System.
Discussion and post forum feeds supported.
Integrated in cron system.
Some strings missing.
Test, test, test...
2004-05-02 23:08:19 +00:00
stronk7
e91e2b6a36 Now the scheduled_backup needs lib/blocklib.php to be able to
backup & restore blocks configuration. Done!!
2004-04-22 13:49:45 +00:00
moodler
10c6c6063b Even safer implementation of the temporary $USER variable 2004-03-22 16:39:40 +00:00
moodler
01f2900014 Better checking of admin user stuff 2004-03-22 01:58:40 +00:00
moodler
cae86de785 Unset $USER variable 2004-03-22 00:59:24 +00:00
moodler
6c61fd041e Whoops! Just realised I never fully finished the deleteunconfirmed
feature!   All done now.
2004-03-16 10:59:42 +00:00
moodler
c6c43ae9de $CFG->deleteunconfirmed can be used to specify the time period
within which a user must confirm by email  (default is still 7 days)
2004-03-01 22:53:58 +00:00
moodler
e3812d2a7c Fixed table name 2004-02-09 13:12:46 +00:00
moodler
cb3a448415 Delete old cached texts on a cleanup 2004-02-09 12:33:02 +00:00
moodler
12fb46824f Changed the name of $CFG->preventscheduledbackups to disablescheduledbackups 2004-02-08 14:21:23 +00:00
moodler
74736e4922 A setting $CFG->preventscheduledbackups will prevent scheduled backups
completely.
2004-02-07 05:41:58 +00:00