Commit graph

29530 commits

Author SHA1 Message Date
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
nfreear
5cfea9fbae Follow up for MDL-12256, "Course AJAX has very poor accessibility - ALT text" - IE tooltip/ title hack. 2007-11-20 14:37:58 +00:00
ethem
488bc5f51b Fix for Canadian Postal Code
http://moodle.org/mod/forum/discuss.php?d=81736
2007-11-20 13:22:39 +00:00
tjhunt
fe93ba838b MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method signature was changed. This patch fixes all calls to parent::validation in the question editing forms. Merged from MOODLE_19_STABLE. 2007-11-20 12:41:04 +00:00
scyrma
828f84cf9a Makes it possible to confirm users using manual auth system. 2007-11-20 05:28:33 +00:00
toyomoyo
d052434c4f fixing header/formatting 2007-11-20 05:16:11 +00:00
moodler
b2d735f130 Automatic installer.php lang files by installer_builder (20071120) 2007-11-20 05:05:51 +00:00
toyomoyo
001f36522c MDL-12234, fixing unicode issues with global search 2007-11-20 04:12:18 +00:00
pichetp
705b5874ce MDL-12255 Adding questiontext decoding and subquestions validation when editing 2007-11-20 03:50:28 +00:00
pichetp
e9028ffc87 Solving MDL-12063 qtype_questions where left orphans when questions whe deleted or
qtype change
2007-11-20 03:48:29 +00:00