This patch bundles 3 changes:
+ password inserts/updates were not being md5()d
+ skip the user altogether when the rename fails, to
avoid clobbering the existing user account
+ get_courses() has moved outside the main loop so
it is called only once -- huge difference in
performance and number of DB queries
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.
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...
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3
Index of arch patches in this commit:
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-65
2004-09-15 22:31:09 GMT
Penny Leach <penny@catalyst.net.nz>
upload class now returns false in proprocess_files if there are no files (duh), + admin/uploaduser using upload class
Full logs:
Revision: moodle--eduforge--1.3.3--patch-65
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 16 10:31:09 NZST 2004
Standard-date: 2004-09-15 22:31:09 GMT
Modified-files: admin/uploaduser.php lib/uploadlib.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-65
Summary: upload class now returns false in proprocess_files if there are no files (duh), + admin/uploaduser using upload class
Keywords