23 Commits

Author SHA1 Message Date
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
moodler
d5f48b1619 Preset the FULLME variable 2002-12-18 08:08:34 +00:00
martin
45aa6d563c Fixes to unenrolling students, and unenrol_student() and remove_teacher()
now remove forum_subscriptions correctly
2002-09-22 14:33:21 +00:00
martin
ee23de06c1 Bugfix for unenrolling old users 2002-08-20 09:39:23 +00:00
martin
d0daec361a Needed to delete forum_subscriptions as well. 2002-08-05 08:57:37 +00:00
martin
3d7a585834 More efficiency when deleting enrolments 2002-08-05 08:43:53 +00:00
martin
f282e6314c Cron tidy-ups 2002-08-05 08:40:00 +00:00
martin
6cb86b391d Code to unenrol old students and delete unconfirmed users 2002-08-05 07:59:11 +00:00
martin
673de29291 Much better cron function method - instead of using a code fragment in
mod/cron.php, it now uses a function in mod/lib.php ... more contained
2002-07-27 06:09:54 +00:00
martin
5710022c65 Removed password ... it's not necessary any more. 2002-06-06 15:19:23 +00:00
martin
6c19f34bf8 Removed some logging 2002-05-31 13:20:21 +00:00
martin
3eff8fde3a Now uses $CFG->cronpassword from config.php 2002-05-27 06:18:39 +00:00
martin
c88f014ac6 Improvements to the process of setting up Moodle the first time, also better interface for adding/removing teachers 2001-12-04 14:02:36 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00