29239 Commits

Author SHA1 Message Date
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
skodak
010aa4da8b MDL-12329 fixed last access when course not accessed yet - patch by Yolanda Ordóñez Rufat; merged from MOODLE_19_STABLE 2007-11-23 21:31:58 +00:00
skodak
0ad439bb42 MDL-12221 custom themes revisited - fixed bug in previous commit, added more developer debug; merged from MOODLE_19_STABLE 2007-11-23 20:26:16 +00:00
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
thepurpleblob
220f149cfc MDL-12296:
Unenrol disable option now works in synchronisation script.

Merged from STABLE_19
2007-11-23 15:49:00 +00:00
moodler
2f9d3e622b Automatic installer.php lang files by installer_builder (20071123) 2007-11-23 04:50:46 +00:00
martinlanghoff
073af1a64b user/index: Add "enrolment details" view to Participants page - MDL-12311
With this patch, the additional roles/groups/groupings columns get moved
to a special "enrolment details" view. To support this, the handling of
the $mode is revamped to use $mode constants.

To keep performance issues at bay, the enrolment details view is only
available when viewing paginated resultsets, and will reset itself to
'brief' if the conditions aren't met. The $mode is sticky, so it is
quite possible to have a mismatched $mode -- so he handle the case
explicitly.
2007-11-23 00:23:39 +00:00
martinlanghoff
a32e05df9a user/index: More consistent handling of groups column - MDL-12311 2007-11-23 00:23:24 +00:00
martinlanghoff
1377ede75d user/index: Fix Participants page for sitecourse - MDL-12311
Groups/groupings don't seem to map normally through enrolments
as you would expect with site. Disable for sitecourse.
2007-11-23 00:23:10 +00:00
martinlanghoff
664fe87f29 user/index: Show enrolment and group/grouping data in Participants page MDL-12311
The participants page will now show (to users that have
moodle/role:assign) the relevant enrolments for each participant.

This is done with a second SELECT using a WHERE id IN() so we are
limited to doing it with small datasets. This is for 2 reasons

 - we cannot retrieve all teh data in the "main" SELECT because
   the outer joins will bring dup rows, breaking LIMIT

 - we cannot use the main SELECT as a subselect because we cannot
   retrieve the LIMIT part of the statement with the current dmllib

 - on large courses / sitecourse performance would be horrible

so it is limited to paginated datasets. It is doing 20 recs at a time,
the "extra" SELECT takes ~7ms on a some large Pg databases).

This will generate an extra DB query on Oracle (and any other DB that
cannot rewind the recordset) because we walk the main rs twice.

While at it, ensure we mark the unsortable columns thus...
2007-11-23 00:22:56 +00:00
stronk7
5fe600ebe7 Deleting one ='' condition that isn't cross-db nor necessary. MDL-12186
Merged from MOODLE_19_STABLE
2007-11-22 22:47:49 +00:00
skodak
b80377b4ef MDL-12312 fixed outdated aggregation help, added examples; merged from MOODLE_19_STABLE 2007-11-22 21:36:59 +00:00
tjhunt
6f15f244a3 MDL-12322 - Reference to incorrect language file 2007-11-22 18:14:57 +00:00
skodak
1ea4933c34 MDL-12312 fixed outdated aggregation help; merged from MOODLE_19_STABLE 2007-11-22 17:53:08 +00:00
tjhunt
3a513ba4df MDL-12282 - fix typo in previous commit. Sorry. 2007-11-22 11:51:16 +00:00
nicolasconnault
8f81fab9df MDL-9506 Returning stdClass objects instead of grade_item objects: for security 2007-11-22 08:47:34 +00:00
moodler
9ddc09afe4 Merged string fix from stable 19 2007-11-22 07:05:30 +00:00
scyrma
61b420ace2 Replaces 'GMT' by 'UTC' where it showed in user interface and fixes MDL-9164. 2007-11-22 06:28:58 +00:00
nicolasconnault
1a5159496b MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead 2007-11-22 06:17:01 +00:00
nicolasconnault
f3ac8eb40c MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead 2007-11-22 05:42:46 +00:00
nicolasconnault
93da7cf445 MDL-12182 More grade_item unit tests 2007-11-22 05:37:49 +00:00
toyomoyo
d2b8b98732 MDL-12309, gradebook can not sort by names while in group mode 2007-11-22 05:17:26 +00:00
toyomoyo
38c77dc617 taking out user class from firstname/lastname cell to remove image css 2007-11-22 01:37:59 +00:00
toyomoyo
094d92a4ac turn this block off when $CFG->messaging is off 2007-11-22 01:17:03 +00:00
toyomoyo
a5c67cdf34 MDL-10028, adding a string 2007-11-22 01:05:36 +00:00
tjhunt
3db14d77ec MDL-12305 - Don't let the quiz reorder tool put a page break at the start of the quiz. Merged from MOODLE_19_STABLE. 2007-11-21 18:09:11 +00:00
tjhunt
cd6ef0a5bb MDL-12305 - Quiz reorder tool broken. Merged from MOODLE_19_STABLE. 2007-11-21 18:00:09 +00:00
tjhunt
5bf04b365e Fix some whitespace. 2007-11-21 16:30:25 +00:00
tjhunt
28a082f102 Fix typo. 2007-11-21 16:28:45 +00:00
nfreear
532f494d96 Fixes reopened bug MDL-7472, "Explicitly label radio buttons in Survey" - removes use of USER->screenreader using get_accesshide + many other accessibility fixes. 2007-11-21 14:50:32 +00:00
thepurpleblob
3d49005f20 MDL-12296:
Added option to prevent database enrolment plugin unenrolling users.

Merged from STABLE_19
2007-11-21 11:06:46 +00:00
nicolasconnault
77dbe70855 MDL-9506 Implemented and tested the new API functions 2007-11-21 10:04:21 +00:00
toyomoyo
576ad29016 MDL-10294, MDL-10028, changing messaging/bulk messaging system 2007-11-21 07:53:42 +00:00
mudrd8mz
9fcea62308 MDL-8090 Added new help file. Merged from stable 2007-11-21 03:09:37 +00:00
mudrd8mz
dcbd0ad693 MDL-8090 Merged from stable. Added new strings for lang.php 2007-11-21 03:08:12 +00:00
mudrd8mz
549ceae0d5 MDL-8090 Merged from stable. Print an obsolete message. 2007-11-21 03:05:12 +00:00
mudrd8mz
1b6cbebf27 MDL-8090 Merged from stable 2007-11-21 03:03:59 +00:00
mudrd8mz
1c2e83f7b2 Fixes typo 'yes'' -> 'yes' 2007-11-20 23:47:37 +00:00
stronk7
13877d12bd Applying one missing string. tableofcontentsabbrev. MDL-12071
Merged from MOODLE_19_STABLE
2007-11-20 23:44:08 +00:00
stronk7
19bd0b315e Adding one missing string. tableofcontentsabbrev. MDL-12071
Merged from MOODLE_19_STABLE
2007-11-20 23:41:52 +00:00
diml
036989246e added default values for datetime fields 2007-11-20 23:37:15 +00:00
diml
a602e1bc68 fix table name for deletion of indexes before regeneration 2007-11-20 23:22:56 +00:00
diml
6e97bc0808 fix unchecked foreach loops 2007-11-20 23:20:22 +00:00
sam_marshall
ca70075a39 MDL-12284 Moved require_js to weblib and improved it so that it works if called during header (also tidied up code) 2007-11-20 18:04:03 +00:00
tjhunt
75082bdd89 MDL-12286 - 'Save as new question' button ignores the setting in the 'Save in category' dropdown. Merged from MOODLE_19_STABLE. 2007-11-20 17:52:16 +00:00
tjhunt
71e197598c MDL-12172 - Sorry, more fall-out from converting continue buttons to use GET instead of POST. Sometimes, URLs were being passed in with & already repalced by & and we weren't handling that properly. Should now be fixed. Merged from MOODLE_19_STABLE. 2007-11-20 17:31:13 +00:00
tjhunt
b4d7d27cea MDL-12282 - Numerical question type - the units are displayed on the editing form with a stupidly large number of decimal places. Merged from MOODLE_18_STABLE. 2007-11-20 16:57:22 +00:00
tjhunt
987c5893ac MDL-12280 - Question bank forgets sort order when adding multiple questions to a quiz. Merged from MOODLE_19_STABLE. 2007-11-20 15:54:34 +00:00
tjhunt
13ccb7bd58 MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method returns true not an empty array. This patch allow subclasses to start their validate method with
$errors = parent::validation($data, $files);

which is what you naturally want to do if you are used to object oriented programming.

Merged from MOODLE_19_STABLE.
2007-11-20 15:08:05 +00:00
tjhunt
ea16c547ee Remove a developer debug notice and save a database query. Merged from MOODLE_19_STABLE. 2007-11-20 14:46:50 +00:00