Commit graph

56794 commits

Author SHA1 Message Date
Tim Hunt
9695ff811b MDL-34657 user sorting: consistent sorting everywhere.
This commit coverts everything in the codebase to use the new
users_order_by_sql function when sorting lists of users. More details in
the bug.

Note that this does not change places where users are displayed in a
sortable table, and the sort order comes from the table.
2012-09-27 12:41:42 +01:00
Tim Hunt
9f82ddd66f MDL-34657 datalib: function to generate user sort sql.
The purpose of this method is to ensure that when we display lists of
users in different places, the default sort order is consistent.

Having this code centralised in one place them makes it possible to
improve things accross the board, and there is an example of that here.
There is logic so that if we are searching for particular string, then
users with an exact match are sorted first.
2012-09-27 12:41:41 +01:00
Eloy Lafuente (stronk7)
8e4f6bb1d4 MDL-34657 test: verify CASE statements in ORDER BY clauses. 2012-09-27 12:41:41 +01:00
Tim Hunt
e3b2e1a4f4 MDL-34257 quiz 'secure' mode: PAGE initialisation order issues. 2012-09-27 12:41:00 +01:00
Dan Poltawski
5d6285c220 weekly release 2.4dev 2012-09-27 18:52:35 +08:00
Dan Poltawski
da00f0a7cd Merge branch 'install_master' of git://git.moodle.cz/moodle-install 2012-09-27 18:46:54 +08:00
Mark Nelson
5a45b936bf MDL-35637 group: Fix form submission error that occurs when GD version is not set. 2012-09-27 12:00:02 +08:00
Dan Poltawski
22e8bab59a Revert "MDL-32184 - Course - Fixing incorrect redirect when toggling course edit while inside an activity -- Patch provided by Kanika Goyal"
This reverts commit 0a5181a0df.
2012-09-27 11:31:51 +08:00
Damyon Wiese
7a2565cd91 MDL-35662: Grant extension does not work when applied to multiple users in assignment grading interface 2012-09-27 11:22:09 +08:00
Damyon Wiese
cbf5dce26f MDL-35660: Feedback file plugin in assignment uses incorrect constant name for batch file uploads feature. 2012-09-27 11:07:05 +08:00
Eloy Lafuente (stronk7)
695dee4bcd Merge branch 'WIP-MDL-35564' of git://github.com/nadavkav/moodle 2012-09-27 00:35:34 +02:00
Eloy Lafuente (stronk7)
ba6d56c202 Merge branch 'WIP-MDL-35481' of git://github.com/nadavkav/moodle 2012-09-27 00:06:17 +02:00
Eloy Lafuente (stronk7)
21ba954e99 Merge branch 'WIP-MDL-35246' of git://github.com/nadavkav/moodle 2012-09-26 23:50:41 +02:00
Eloy Lafuente (stronk7)
d863a99aee Merge branch 'WIP-MDL-35527' of git://github.com/nadavkav/moodle 2012-09-26 21:48:27 +02:00
Eloy Lafuente (stronk7)
24c99b709d MDL-35578 - Also justify email2, used in signup 2012-09-26 19:48:06 +02:00
Eloy Lafuente (stronk7)
d4cfaaf9a9 Merge branch 'WIP-MDL-35578' of git://github.com/nadavkav/moodle 2012-09-26 19:35:11 +02:00
Jody Steele
b770f5363d MDL-33933 mod_forum: fix incorrect capability check 2012-09-26 05:18:01 -07:00
Eloy Lafuente (stronk7)
b20e4c11e2 Merge branch 'MDL-34573_accessibility' of git://github.com/rwijaya/moodle
Conflicts:
	tag/manage.php
2012-09-26 12:17:23 +02:00
Dan Poltawski
ce77b89a18 Merge branch 'w39_MDL-35506_m24_pgerrorrollback' of git://github.com/skodak/moodle 2012-09-26 17:01:39 +08:00
Petr Škoda
d719d59f25 MDL-35506 add more transaction error tests 2012-09-26 10:51:03 +02:00
Petr Škoda
bedd0982e8 MDL-35506 improve pg transaction snapshotting perf 2012-09-26 10:39:28 +02:00
Rossiani Wijaya
04a530c9c8 MDL-34573 Tag mod: remove extra quote for new tag name field 2012-09-26 16:27:33 +08:00
Rossiani Wijaya
ca2d7327a2 MDL-34573 tag: convert to html_writer 2012-09-26 16:25:02 +08:00
Rossiani Wijaya
e3416381b2 MDL-34573 - add label for search tag input text 2012-09-26 16:25:02 +08:00
Rossiani Wijaya
647e902aeb MDL-34573 Tag: update label for suggested tag 2012-09-26 16:25:02 +08:00
Rossiani Wijaya
bbfae1eb6e MDL-34573 accessibility compliance for tag: Add forform input text and select tag 2012-09-26 16:25:02 +08:00
Dan Poltawski
03f09a8a9b Merge branch 'wip-MDL-35276-master' of git://github.com/marinaglancy/moodle 2012-09-26 15:21:29 +08:00
Marina Glancy
0e116922b4 MDL-35276 fix redirect to course/section pages 2012-09-26 15:16:24 +08:00
Dan Poltawski
942866dd09 MDL-31873 - mod_assign version bump for new webservice 2012-09-26 14:50:48 +08:00
Dan Poltawski
21d3bfb39a MDL-31859 - fix more trailing whitespace 2012-09-26 14:44:42 +08:00
Dan Poltawski
d0068cd007 MDL-31859 - fix trailing whitespace 2012-09-26 14:36:59 +08:00
Jerome Mouneyrac
acf6459645 MDL-35644 user_get_details: admin should be able to see description 2012-09-26 14:24:29 +08:00
Dan Poltawski
ac994d5a8a Merge branch 'MDL-31859' of git://github.com/Lightwork-Marking/moodle 2012-09-26 14:16:55 +08:00
Jerome Mouneyrac
36a7059542 MDL-34971 PHPunit test: user/externallib.php 2012-09-26 14:16:19 +08:00
Dan Poltawski
b95e21b8c5 MDL-15471 - oops messed up version number update 2012-09-26 12:10:25 +08:00
Dan Poltawski
d0dff189b0 MDL-15471 tag: minor coding style fixes 2012-09-26 12:06:46 +08:00
Dan Poltawski
680afde951 MDL-15471 tag - add upgrade.txt notification of changes 2012-09-26 12:06:35 +08:00
Dan Poltawski
90762324f9 MDL-15471 - fix typo inappropriate
Thanks Sam for spotting it!
2012-09-26 12:06:27 +08:00
Dan Poltawski
50a6106409 MDL-15471 install.xml fixup spacing 2012-09-26 12:06:20 +08:00
Dan Poltawski
bb14cc2d23 Merge branch 'wip-MDL-15471' of https://github.com/jennymgray/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2012-09-26 12:04:41 +08:00
Sam Hemelryk
4aede312e7 Merge branch 'wip-MDL-35276-master' of git://github.com/marinaglancy/moodle 2012-09-26 15:50:56 +12:00
Jerome Mouneyrac
2650c2b03e MDL-35636 login/token.php: confusing 'create user token' log appearing before 'token user request' 2012-09-26 11:47:23 +08:00
Marina Glancy
923451c59f MDL-35276 fix redirect to course/section pages 2012-09-26 10:51:28 +08:00
Sam Hemelryk
c89613edaa Merge branch 'MDL-34573_accessibility' of git://github.com/rwijaya/moodle 2012-09-26 10:20:13 +12:00
Sam Hemelryk
86d055360c Merge branch 'wip-MDL-34476-master' of git://github.com/phalacee/moodle 2012-09-26 08:40:11 +12:00
Sam Hemelryk
38cdfab3ca MDL-31976 course: Better alt for edit section icon 2012-09-26 08:23:55 +12:00
Sam Hemelryk
d998c1a440 Merge branch 'MDL-31976-master' of git://github.com/FMCorz/moodle 2012-09-26 08:20:53 +12:00
Andrew Robert Nicols
2b42518aa7 MDL-34328 Correct usage of e.drop when catching missed drag/drop events 2012-09-25 09:27:31 +01:00
Paul Nicholls
1e78b3e66f MDL-34328: block dragdrop - disallow dragging from show/hide and dock icons
Tell the YUI drag/drop delegate that the show/hide and dock icons are not valid drag handles.  Otherwise, a drag can be initiated by showing or hiding a block (probably not from docking one, but better safe than sorry).  Not strictly related to MDL-34328, but likely to be encountered whilst testing - and closely related to another patch for MDL-34328.

Note that the "invalid" config option for the delegate takes a string - not an array - but can have multiple selectors separated by commas.
2012-09-25 09:27:31 +01:00
Paul Nicholls
6cc43fedbb MDL-34328: block dragdrop - performance rewrite
Use YUI's DragDrop delegates for block dragdrop - one per block region - rather than initialising a Drag object for each individual block.
2012-09-25 09:27:31 +01:00