Commit Graph

63 Commits

Author SHA1 Message Date
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
moodler afabdb1491 Run cron.php as admin user so timezones etc work 2004-01-25 14:51:04 +00:00
moodler 5e04a34404 Flush it 2004-01-20 13:54:32 +00:00
moodler a8502a18fb Output the time in the cron output 2004-01-16 10:23:11 +00:00
stronk7 9bc586e097 max_execution_time and memory_limit to allow backup of large installations.
(I've executed it with 50 courses)
2003-12-15 00:56:12 +00:00
moodler f5aa1c37c9 No functional change, just me being a fussy Moodler 2003-12-14 03:27:49 +00:00
stronk7 e6d273ebe7 Little change to inform in standard output. 2003-12-13 23:57:16 +00:00
stronk7 d3159192e9 Included call to backup's cron function (not implemented). 2003-12-12 19:35:50 +00:00
moodler 750eeaebd5 If a file called cronextra.php exists in the dataroot then cron will
run that too.  This allows sites to have "special" maintenance.
2003-12-01 08:01:41 +00:00
moodler 5fde0ca615 Use the new fullname function 2003-11-19 16:15:56 +00:00
moodler 937ae59c8e Get longtimenosee students according to their course access (not site access) 2003-10-27 14:01:29 +00:00
moodler e561d3c2fc Add a message to help debugging 2003-07-27 12:22:05 +00:00
moodler b2ce450a6b Improved cron jobs for central clean up tasks.
- there is now a randomiser so that these jobs are only run 20% of the time

 - duplicate enrolments are now cleaned up.
2003-07-27 12:20:29 +00:00
moodler d7c8a46bc5 Don't throw errors when deleting old logs and unsent mail 2003-05-04 03:46:15 +00:00
moodler f5e82bc7f4 Moved microtime_diff() to moodlelib 2003-04-27 08:13:45 +00:00
moodler 540bab47d4 Delete old logs is required 2003-04-27 06:21:15 +00:00
paca70 652fd67246 Reverted to older version, those changes should never got to CVS. 2003-02-20 22:09:59 +00:00
paca70 5f2c35db18 Added support for usercreation from Moodle to authentication module.
Works currently only with ldap-module (tested with e-directory), but
 other modules could be extended too by
adding following functions:

function auth_user_exists ($username) {
//returns true if given username  already exists on authetication database
}

function auth_user_create ($userobject,$plainpass) {
//create new user to authentication database
//in inactive state (if posible)
//returns true if user is created
}
function auth_user_activate ($username) {
//activate external user  after email-address is confirmed
//returns true if user is activated
}
2003-02-20 21:39:51 +00:00
moodler 498d403283 Add some timing 2003-02-01 01:36:31 +00:00
moodler b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler 9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00