defacer [Wed, 1 Dec 2004 21:47:02 +0000 (21:47 +0000)]
Fixed set_user_preference to make changes immediately available ($user was lowercased)
Updated all user preferences functions to behave well even if $USER or $USER->id is not defined
moodler [Mon, 29 Nov 2004 05:30:36 +0000 (05:30 +0000)]
New feature: Site Policy Agreements.
If the admin specifies a Policy Agreement (via URL in the config variables)
then each user is required to see and agree to that document once before
continuing.
To get everyone to see it again (on an update, say) one just needs to issue:
mjollnir_ [Wed, 24 Nov 2004 23:51:04 +0000 (23:51 +0000)]
Merged from MOODLE_14_STABLE: Fixed bug in dialogue where plain text email notification had no break between the url and the ---- that was causing GET requests like mod/dialogue/view.php?id=foo--------- and subsequent invalid sql
martinlanghoff [Wed, 24 Nov 2004 22:48:58 +0000 (22:48 +0000)]
Merge from MOODLE_14_STABLE
Additional fixes for indexes in postgres. A few unique indexes may have been created non-unique. Still deferring the version bump -- please review the patch!
Merge of patchsets
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-423
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-425
gustav_delius [Wed, 24 Nov 2004 09:16:39 +0000 (09:16 +0000)]
If a block is unknown then ignore it rather than throwing fatal error. In future one might want to have a dummy block that is displayed in this case to alert the user to the fact that some block code is missing.
martinlanghoff [Wed, 24 Nov 2004 03:56:39 +0000 (03:56 +0000)]
Merge from MOODLE_14_STABLE
raise_memory() now uses get_real_size(), duplicate function return_bytes() removed.
Issue discussed in 2202 (http://moodle.org/bugs/bug.php?op=show&bugid=2202).
Also seen as arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-424
martinlanghoff [Wed, 24 Nov 2004 02:25:36 +0000 (02:25 +0000)]
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
mjollnir_ [Tue, 23 Nov 2004 23:05:06 +0000 (23:05 +0000)]
Merged from MOODLE_14_STABLE: Fixing use of UCASE and LCASE in glossary which are not postgres friendly - two new functions in datalib, db_uppercase and db_lowercase which return the database-correct functions to use. Some were already fixed in HEAD - those have been left as they were
mjollnir_ [Tue, 23 Nov 2004 22:40:48 +0000 (22:40 +0000)]
Merged from MOODlE_14_STABLE: Attempt to fix bad constraint name in wiki and version bump (honoring partial freeze) and requires bump (needs changes in execute_sql to not show adodb feedback)
rkingdon [Tue, 23 Nov 2004 20:52:54 +0000 (20:52 +0000)]
Cron routine does not send "graded" emails until releasegrades date;
grades are "not available" in index page until after the relaesegrades
date; phasing of three phase workshop tidied up.
mjollnir_ [Tue, 23 Nov 2004 05:04:53 +0000 (05:04 +0000)]
Merged from MOODLE_14_STABLE: Attempt to fix the unique index on quiz_attemptonlast_datasets for postgres (requires version bump in quiz AND requires bump in quiz for the getting rid of adodb feedback in execute_sql
mjollnir_ [Tue, 23 Nov 2004 01:05:11 +0000 (01:05 +0000)]
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
mjollnir_ [Tue, 23 Nov 2004 00:16:24 +0000 (00:16 +0000)]
Slight change to log page so that for > 5000 courses or users we don't straight off load the huge drop down menus but instead default to whatever is normally selected, with an option for 'More' to display the full drop down for either. Also includes an Martin L patch for sql query that brought postgres to it's knees (Martin L patch is destined for MOODLE_14_STABLE as well)