moodle.git
9 years agoMDL-35763: Add ignoredirty class to drop down lists in assignment grading options...
Damyon Wiese [Wed, 3 Oct 2012 03:52:50 +0000 (11:52 +0800)]
MDL-35763: Add ignoredirty class to drop down lists in assignment grading options form.

9 years agoMerge branch 'MDL-35754-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Wed, 3 Oct 2012 02:26:14 +0000 (10:26 +0800)]
Merge branch 'MDL-35754-master' of git://github.com/FMCorz/moodle

9 years agoMDL-35754 libraries: openpopup() does not fail when window name is not set
Frederic Massart [Wed, 3 Oct 2012 01:49:01 +0000 (09:49 +0800)]
MDL-35754 libraries: openpopup() does not fail when window name is not set

9 years agoMerge branch 'MDL-35744' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 2 Oct 2012 22:40:10 +0000 (00:40 +0200)]
Merge branch 'MDL-35744' of git://github.com/timhunt/moodle

9 years agoMerge branch 'wip-MDL-33829-master' of https://github.com/andyjdavis/moodle
Sam Hemelryk [Tue, 2 Oct 2012 21:07:37 +0000 (10:07 +1300)]
Merge branch 'wip-MDL-33829-master' of https://github.com/andyjdavis/moodle

9 years agoMerge branch 'MDL-35654_master' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Tue, 2 Oct 2012 20:53:05 +0000 (09:53 +1300)]
Merge branch 'MDL-35654_master' of git://github.com/lazydaisy/moodle

9 years agoMerge branch 'MDL-35660' of git://github.com/netspotau/moodle-mod_assign
Eloy Lafuente (stronk7) [Tue, 2 Oct 2012 20:02:23 +0000 (22:02 +0200)]
Merge branch 'MDL-35660' of git://github.com/netspotau/moodle-mod_assign

9 years agoMerge branch 'w40_MDL-31437_m24_cohortsync' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 2 Oct 2012 20:00:12 +0000 (22:00 +0200)]
Merge branch 'w40_MDL-31437_m24_cohortsync' of git://github.com/skodak/moodle

Conflicts:
lib/upgrade.txt

9 years agoMerge branch 'master_MDL-35227' of git://github.com/danmarsden/moodle
Eloy Lafuente (stronk7) [Tue, 2 Oct 2012 19:39:07 +0000 (21:39 +0200)]
Merge branch 'master_MDL-35227' of git://github.com/danmarsden/moodle

9 years agoMerge branch 'w40_MDL-35701_m24_enroldb' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 2 Oct 2012 19:27:55 +0000 (21:27 +0200)]
Merge branch 'w40_MDL-35701_m24_enroldb' of git://github.com/skodak/moodle

9 years agoMerge branch 'master_MDL-35557' of git://github.com/danmarsden/moodle
Eloy Lafuente (stronk7) [Tue, 2 Oct 2012 18:26:32 +0000 (20:26 +0200)]
Merge branch 'master_MDL-35557' of git://github.com/danmarsden/moodle

9 years agoMDL-35744 quiz: fix review options for Never submitted attempts
Tim Hunt [Tue, 2 Oct 2012 14:51:45 +0000 (15:51 +0100)]
MDL-35744 quiz: fix review options for Never submitted attempts

9 years agoMerge branch 'master_MDL-35562' of git://github.com/danmarsden/moodle
Eloy Lafuente (stronk7) [Tue, 2 Oct 2012 13:54:32 +0000 (15:54 +0200)]
Merge branch 'master_MDL-35562' of git://github.com/danmarsden/moodle

9 years agoMerge branch 'MDL-35673-master' of git://git.luns.net.uk/moodle
Eloy Lafuente (stronk7) [Tue, 2 Oct 2012 07:55:20 +0000 (09:55 +0200)]
Merge branch 'MDL-35673-master' of git://git.luns.net.uk/moodle

9 years agoMerge branch 'MDL-35687' of git://github.com/netspotau/moodle-mod_assign
Dan Poltawski [Tue, 2 Oct 2012 06:44:28 +0000 (14:44 +0800)]
Merge branch 'MDL-35687' of git://github.com/netspotau/moodle-mod_assign

9 years agoMerge branch 'MDL-35636' of git://github.com/mouneyrac/moodle
Dan Poltawski [Tue, 2 Oct 2012 06:40:23 +0000 (14:40 +0800)]
Merge branch 'MDL-35636' of git://github.com/mouneyrac/moodle

9 years agoMerge branch 'MDL-33789_master' of git://github.com/kordan/moodle
Dan Poltawski [Tue, 2 Oct 2012 06:38:20 +0000 (14:38 +0800)]
Merge branch 'MDL-33789_master' of git://github.com/kordan/moodle

9 years agoMerge branch 'MDL-35684' of git://github.com/netspotau/moodle-mod_assign
Dan Poltawski [Tue, 2 Oct 2012 06:33:01 +0000 (14:33 +0800)]
Merge branch 'MDL-35684' of git://github.com/netspotau/moodle-mod_assign

9 years agoMerge branch 'wip-MDL-35263-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Tue, 2 Oct 2012 06:20:07 +0000 (14:20 +0800)]
Merge branch 'wip-MDL-35263-master' of git://github.com/marinaglancy/moodle

9 years agoMDL-35263 removed unit test test_format_display_course_content()
Marina Glancy [Tue, 2 Oct 2012 06:16:54 +0000 (14:16 +0800)]
MDL-35263 removed unit test test_format_display_course_content()

since the function global_navigation::format_display_course_content() is removed

9 years agoMerge branch 'MDL-34570-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Tue, 2 Oct 2012 05:56:48 +0000 (13:56 +0800)]
Merge branch 'MDL-34570-master' of git://github.com/FMCorz/moodle

9 years agoMerge branch 'MDL-35187' of git://github.com/lazydaisy/moodle
Dan Poltawski [Tue, 2 Oct 2012 05:45:19 +0000 (13:45 +0800)]
Merge branch 'MDL-35187' of git://github.com/lazydaisy/moodle

9 years agoMerge branch 'wip-MDL-35263-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Tue, 2 Oct 2012 04:49:26 +0000 (12:49 +0800)]
Merge branch 'wip-MDL-35263-master' of git://github.com/marinaglancy/moodle

9 years agoMDL-35263 corrected coding style
Marina Glancy [Tue, 2 Oct 2012 04:23:43 +0000 (12:23 +0800)]
MDL-35263 corrected coding style

9 years agoMerge branch 'MDL-35683' of git://github.com/netspotau/moodle-mod_assign
Dan Poltawski [Tue, 2 Oct 2012 04:19:38 +0000 (12:19 +0800)]
Merge branch 'MDL-35683' of git://github.com/netspotau/moodle-mod_assign

9 years agoMerge branch 'MDL-35370' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 2 Oct 2012 04:07:41 +0000 (12:07 +0800)]
Merge branch 'MDL-35370' of git://github.com/timhunt/moodle

9 years agoMerge branch 'MDL-35693' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 2 Oct 2012 03:47:50 +0000 (11:47 +0800)]
Merge branch 'MDL-35693' of git://github.com/timhunt/moodle

9 years agoMerge branch 'MDL-35698' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 2 Oct 2012 03:40:16 +0000 (11:40 +0800)]
Merge branch 'MDL-35698' of git://github.com/timhunt/moodle

9 years agoMerge branch 'WIP-MDL-35708-master_quiz' of git://github.com/nadavkav/moodle
Dan Poltawski [Tue, 2 Oct 2012 03:36:49 +0000 (11:36 +0800)]
Merge branch 'WIP-MDL-35708-master_quiz' of git://github.com/nadavkav/moodle

9 years agoMerge branch 'MDL-35437' of https://github.com/raymondAntonio/moodle
Dan Poltawski [Tue, 2 Oct 2012 03:35:59 +0000 (11:35 +0800)]
Merge branch 'MDL-35437' of https://github.com/raymondAntonio/moodle

9 years agoMerge branch 'w40_MDL-35619_m24_otheravatars' of git://github.com/skodak/moodle
Dan Poltawski [Tue, 2 Oct 2012 02:41:47 +0000 (10:41 +0800)]
Merge branch 'w40_MDL-35619_m24_otheravatars' of git://github.com/skodak/moodle

9 years agoMerge branch 'MDL-35680' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 2 Oct 2012 01:52:12 +0000 (09:52 +0800)]
Merge branch 'MDL-35680' of git://github.com/timhunt/moodle

9 years agoMerge branch 'MDL-33933-master' of https://github.com/mackensen/moodle
Dan Poltawski [Tue, 2 Oct 2012 01:43:38 +0000 (09:43 +0800)]
Merge branch 'MDL-33933-master' of https://github.com/mackensen/moodle

9 years agoMerge branch 'MDL-33117_grade_display' of git://github.com/andyjdavis/moodle
Dan Poltawski [Tue, 2 Oct 2012 01:32:58 +0000 (09:32 +0800)]
Merge branch 'MDL-33117_grade_display' of git://github.com/andyjdavis/moodle

10 years agoMDL-35669 gravatar amend and complete gravatar tests.
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 23:33:59 +0000 (01:33 +0200)]
MDL-35669 gravatar amend and complete gravatar tests.

10 years agoMDL-35669 gravatar Fix secure image urls.
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 23:19:33 +0000 (01:19 +0200)]
MDL-35669 gravatar Fix secure image urls.

10 years agoMerge branch 'master_MDL-35472' of git://github.com/totara/moodle
Sam Hemelryk [Mon, 1 Oct 2012 22:10:39 +0000 (11:10 +1300)]
Merge branch 'master_MDL-35472' of git://github.com/totara/moodle

10 years agoMerge branch 'MDL-34257' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 1 Oct 2012 21:46:01 +0000 (10:46 +1300)]
Merge branch 'MDL-34257' of git://github.com/timhunt/moodle

10 years agoMerge branch 'MDL-35669-master-2' of git://github.com/micaherne/moodle
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 21:44:07 +0000 (23:44 +0200)]
Merge branch 'MDL-35669-master-2' of git://github.com/micaherne/moodle

10 years agoMerge branch 'MDL-30885' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 1 Oct 2012 21:31:13 +0000 (10:31 +1300)]
Merge branch 'MDL-30885' of git://github.com/timhunt/moodle

10 years agoMerge branch 'MDL-34657' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 21:22:39 +0000 (23:22 +0200)]
Merge branch 'MDL-34657' of git://github.com/timhunt/moodle

10 years agoMerge branch 'MDL-35547' of git://github.com/enovation/moodle
Sam Hemelryk [Mon, 1 Oct 2012 21:15:41 +0000 (10:15 +1300)]
Merge branch 'MDL-35547' of git://github.com/enovation/moodle

10 years agoMDL-35669 gravatar Provide default image URL to Gravatar
Michael Aherne [Fri, 28 Sep 2012 11:31:36 +0000 (12:31 +0100)]
MDL-35669 gravatar Provide default image URL to Gravatar

10 years agoMerge branch 'MDL-34931-master' of git://github.com/FMCorz/moodle
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 11:32:44 +0000 (13:32 +0200)]
Merge branch 'MDL-34931-master' of git://github.com/FMCorz/moodle

10 years agoMerge branch 'MDL-35637_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 11:19:01 +0000 (13:19 +0200)]
Merge branch 'MDL-35637_master' of git://github.com/markn86/moodle

10 years agoMerge branch 'MDL-35662' of git://github.com/netspotau/moodle-mod_assign
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 11:14:43 +0000 (13:14 +0200)]
Merge branch 'MDL-35662' of git://github.com/netspotau/moodle-mod_assign

10 years agoMerge branch 'wip-MDL-34234-m24' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 11:09:44 +0000 (13:09 +0200)]
Merge branch 'wip-MDL-34234-m24' of git://github.com/samhemelryk/moodle

10 years agoMerge branch 'MDL-34971-wip' of git://github.com/mouneyrac/moodle
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 10:48:48 +0000 (12:48 +0200)]
Merge branch 'MDL-34971-wip' of git://github.com/mouneyrac/moodle

10 years agoMerge branch 'MDL-35644' of git://github.com/mouneyrac/moodle
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 10:45:51 +0000 (12:45 +0200)]
Merge branch 'MDL-35644' of git://github.com/mouneyrac/moodle

10 years agoMerge branch 'MDL-34894' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 09:07:47 +0000 (11:07 +0200)]
Merge branch 'MDL-34894' of git://github.com/timhunt/moodle

10 years agoMerge branch 'MDL-35688' of git://github.com/netspotau/moodle-mod_assign
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 08:40:09 +0000 (10:40 +0200)]
Merge branch 'MDL-35688' of git://github.com/netspotau/moodle-mod_assign

10 years agoMerge branch 'MDL-35620' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 1 Oct 2012 08:28:28 +0000 (10:28 +0200)]
Merge branch 'MDL-35620' of git://github.com/timhunt/moodle

10 years agoMDL-35619 fix invalid avatars on other users page
Petr Škoda [Mon, 1 Oct 2012 07:51:12 +0000 (09:51 +0200)]
MDL-35619 fix invalid avatars on other users page

10 years agoMDL-34234 course: Fixed notice causing issues in JS when upgrade settings for 2.3...
Sam Hemelryk [Sun, 5 Aug 2012 21:29:41 +0000 (09:29 +1200)]
MDL-34234 course: Fixed notice causing issues in JS when upgrade settings for 2.3+ not run

10 years agoMDL-35547 Fetch more sub-categories with one SQL query.
Tomasz Muras [Sun, 23 Sep 2012 17:25:30 +0000 (19:25 +0200)]
MDL-35547 Fetch more sub-categories with one SQL query.

10 years agoMDL-35547 Detect loops in question categories.
Tomasz Muras [Fri, 21 Sep 2012 20:01:06 +0000 (22:01 +0200)]
MDL-35547 Detect loops in question categories.

10 years agoMDL-35547 Detect question category pointing to itself as a parent.
Tomasz Muras [Thu, 20 Sep 2012 15:48:14 +0000 (17:48 +0200)]
MDL-35547 Detect question category pointing to itself as a parent.

10 years agoMDL-35708 - Right align user's information in quiz attempt review page , when in...
Nadav Kavalerchik [Sun, 30 Sep 2012 14:46:19 +0000 (16:46 +0200)]
MDL-35708 - Right align user's information in quiz attempt review page , when in RTL mode (theme/standard & base)

10 years agoMDL-35701 bump up version and requirements of enrol_database
Petr Škoda [Sun, 30 Sep 2012 12:24:00 +0000 (14:24 +0200)]
MDL-35701 bump up version and requirements of enrol_database

This should hopefully prevent attempts to blindly backport this to older stable branches.

10 years agoMDL-35701 add enrol_database restore support
Petr Škoda [Sun, 30 Sep 2012 11:57:26 +0000 (13:57 +0200)]
MDL-35701 add enrol_database restore support

10 years agoMDL-35701 add parameter for sync of one course only
Petr Škoda [Sun, 30 Sep 2012 11:45:53 +0000 (13:45 +0200)]
MDL-35701 add parameter for sync of one course only

10 years agoMDL-35701 fix inline docs
Petr Škoda [Sun, 30 Sep 2012 09:00:40 +0000 (11:00 +0200)]
MDL-35701 fix inline docs

10 years agoMDL-35701 respect case of external column names in enrol_database
Petr Škoda [Sun, 30 Sep 2012 08:51:53 +0000 (10:51 +0200)]
MDL-35701 respect case of external column names in enrol_database

This fixes a regression which prevents referencing of uppercase columns in databases with case sensitive column names. Unfortunately users that relied on this incorrect behaviour may need to lowercase the column names in plugin settings.

10 years agoMD-35701 implement enrol_database unit tests and fix minor issues
Petr Škoda [Sat, 29 Sep 2012 20:55:49 +0000 (22:55 +0200)]
MD-35701 implement enrol_database unit tests and fix minor issues

Includes fixes for minor problems discovered during testing:
* Removed invalid role->fullname sync option, there was never such fields in roles table and the name column is now usually empty.
* Empty category column now means use default category.

10 years agoMerge branch 'master_MDL-35562' of git://github.com/danmarsden/moodle into w40_MDL...
Petr Škoda [Sun, 30 Sep 2012 12:35:57 +0000 (14:35 +0200)]
Merge branch 'master_MDL-35562' of git://github.com/danmarsden/moodle into w40_MDL-35701_m24_enroldb

10 years agoMDL-33829 mod_glossary: added some smarts so glossary entries with an image in their...
Andrew Davis [Mon, 24 Sep 2012 09:52:52 +0000 (17:52 +0800)]
MDL-33829 mod_glossary: added some smarts so glossary entries with an image in their description are classed as richhtml instead of plainhtml

10 years agoMDL-33829 - Glossary - Adding Rich Portfolio Export support
Jason Fowler [Thu, 5 Jul 2012 05:43:33 +0000 (13:43 +0800)]
MDL-33829 - Glossary - Adding Rich Portfolio Export support

10 years agoMDL-35698 quiz cron: group overrides not computed correctly
Tim Hunt [Sat, 29 Sep 2012 08:34:29 +0000 (09:34 +0100)]
MDL-35698 quiz cron: group overrides not computed correctly

Thanks to Matt Petro for finding the bug in this monster SQL statement.

10 years agoMDL-31437 add group sync option to enrol_cohort
Petr Škoda [Wed, 26 Sep 2012 15:13:42 +0000 (17:13 +0200)]
MDL-31437 add group sync option to enrol_cohort

This patch includes following changes and new features:
* Group sync in enrol_cohort plugin.
* Option for editing of role in existing cohort sync instance.
* Group memberships are now restored after enrolments.
* New enrol method for restore of protected group membership.
* New component callback 'restore_group_member' for restore of general plugin group membership.
* New component callback 'restore_role_assignment' for restore of general plugin role assignments.
* Implemented group membership protection in enrolment UI.
* Other minor fixes and cleanup.

Notes:
* The YUI base enrolment page is not reimplemented yet - see MDL-35618.

10 years agoMDL-35693 question engine: set id when saving a new question_attempt
Tim Hunt [Fri, 28 Sep 2012 14:28:27 +0000 (15:28 +0100)]
MDL-35693 question engine: set id when saving a new question_attempt

10 years agoMDL-35673 Improve performance of formchangechecker event creation
Andrew Robert Nicols [Fri, 28 Sep 2012 09:06:03 +0000 (10:06 +0100)]
MDL-35673 Improve performance of formchangechecker event creation

10 years agoMDL-35688: Assignment upgrade tool fixes for 2.4
Damyon Wiese [Fri, 28 Sep 2012 07:24:54 +0000 (15:24 +0800)]
MDL-35688: Assignment upgrade tool fixes for 2.4

10 years agoMDL-35687: Remove unused function get_all_submissions in Assignment.
Damyon Wiese [Fri, 28 Sep 2012 06:44:51 +0000 (14:44 +0800)]
MDL-35687: Remove unused function get_all_submissions in Assignment.

10 years agoMDL-35263 Converting course formats to OOP
Marina Glancy [Tue, 18 Sep 2012 01:57:37 +0000 (09:57 +0800)]
MDL-35263 Converting course formats to OOP

- added class format_base as the base for all course formats
- added class format_site for the pseudo-format 'site' used for displaying activities on the front page
- added class format_legacy that overrides format_base functions with calling old-style 'callback_xxx' functions
- replaced all usage of 'callback_xxx' functions with format_base methods
- made arguments of get_section_name(), get_course_url() more flexible
- deprecated function get_generic_section_name(), it's contents is moved to format_base
- global_navigation::format_display_course_content() is removed, plugins can supress the sections navigations using extend_course_navigation()

10 years agoMDL-33117 grade: added some smarts to the user report method inject_rowspans() to...
Andrew Davis [Tue, 14 Aug 2012 12:24:33 +0000 (20:24 +0800)]
MDL-33117 grade: added some smarts to the user report method inject_rowspans() to deal with activity conditional availability

10 years agoMDL-35171 Question: Export to HTML uses more of html_writer
Frederic Massart [Wed, 12 Sep 2012 08:24:27 +0000 (16:24 +0800)]
MDL-35171 Question: Export to HTML uses more of html_writer

10 years agoMDL-34570 Accessibility: Adding labels on text inputs and selects to questions
Frederic Massart [Thu, 23 Aug 2012 07:54:39 +0000 (15:54 +0800)]
MDL-34570 Accessibility: Adding labels on text inputs and selects to questions

10 years agoMDL-34570 accessibility compliance for question: edit string label
Rossiani Wijaya [Tue, 31 Jul 2012 09:40:06 +0000 (17:40 +0800)]
MDL-34570 accessibility compliance for question: edit string label

10 years agoMDL-34931 core_grade: Fixed grades hidden when activity is hidden
Frederic Massart [Tue, 18 Sep 2012 05:41:11 +0000 (13:41 +0800)]
MDL-34931 core_grade: Fixed grades hidden when activity is hidden

10 years agoMDL-35684: Check student user id, not grader user id to see if the submission is...
Damyon Wiese [Fri, 28 Sep 2012 03:09:38 +0000 (11:09 +0800)]
MDL-35684: Check student user id, not grader user id to see if the submission is open.

10 years agoMDL-35683: Re-adding row to the submission status table removed by MDL-34088.
Damyon Wiese [Fri, 28 Sep 2012 02:50:45 +0000 (10:50 +0800)]
MDL-35683: Re-adding row to the submission status table removed by MDL-34088.

10 years agoMDL-35654 theme_anomaly: Added custom menu renderer to aid RTL styling of menu
Mary Evans [Fri, 28 Sep 2012 01:18:48 +0000 (02:18 +0100)]
MDL-35654 theme_anomaly: Added custom menu renderer to aid RTL styling of menu

10 years agoMDL-35562 enrol_database: enrolment_sync - don't halt sync on failed search for course.
Dan Marsden [Fri, 21 Sep 2012 09:52:42 +0000 (21:52 +1200)]
MDL-35562 enrol_database: enrolment_sync - don't halt sync on failed search for course.

10 years agoMDL-35557 enrol/database: use distinct call when getting list of courses that should...
Dan Marsden [Fri, 21 Sep 2012 01:41:43 +0000 (13:41 +1200)]
MDL-35557 enrol/database: use distinct call when getting list of courses that should be added.

10 years agoMDL-35227 SCORM: set completion in correct location.
Dan Marsden [Tue, 18 Sep 2012 01:07:01 +0000 (13:07 +1200)]
MDL-35227 SCORM: set completion in correct location.

10 years agoMDL-35680 user selector: more usable when queries are slow.
Tim Hunt [Thu, 27 Sep 2012 18:03:34 +0000 (19:03 +0100)]
MDL-35680 user selector: more usable when queries are slow.

The problem is to do when you pause a bit, so a search starts, and then
type a bit more before the search finishes. It was behaving like this:

1. Type a bit, then pause.
2. First search request sent.
3. Type a bit more, then pause.
4. Second search request sent.
5. First search request completes.
6. You try to select one result.
7. Second search request comples, overwriting what you are selecting.

This fix works by cancelling the first request before sending the
second.

10 years agoMDL-34894 course ws unit tests: fix windows problem.
Tim Hunt [Thu, 27 Sep 2012 17:57:51 +0000 (18:57 +0100)]
MDL-34894 course ws unit tests: fix windows problem.

This fixes a weird windows-only failure, as explained in the tracker
issue.

10 years agoMDL-34657 user sorting: minor niggles found while testing.
Tim Hunt [Thu, 27 Sep 2012 16:44:38 +0000 (17:44 +0100)]
MDL-34657 user sorting: minor niggles found while testing.

10 years agoMDL-34657 user selector: bug with "keep non-matching selected users"
Tim Hunt [Thu, 27 Sep 2012 15:41:50 +0000 (16:41 +0100)]
MDL-34657 user selector: bug with "keep non-matching selected users"

10 years agoMDL-34657 admin user selector: options were lost for ajax searches.
Tim Hunt [Thu, 27 Sep 2012 15:32:54 +0000 (16:32 +0100)]
MDL-34657 admin user selector: options were lost for ajax searches.

The subclass constructor must pass through the pass through any name or
options.

10 years agoMDL-30885 quiz: use formchangechecker during quiz attempts.
Tim Hunt [Thu, 27 Sep 2012 13:13:24 +0000 (14:13 +0100)]
MDL-30885 quiz: use formchangechecker during quiz attempts.

To avoid the possiblity of dataloss if a student tries to navigate away
having changed some answers.

10 years agoMDL-35616 import YUI 3.7.2
Petr Škoda [Tue, 25 Sep 2012 07:37:07 +0000 (09:37 +0200)]
MDL-35616 import YUI 3.7.2

10 years agoMDL-31437 add enrol_cohort tests
Petr Škoda [Wed, 26 Sep 2012 13:24:48 +0000 (15:24 +0200)]
MDL-31437 add enrol_cohort tests

10 years agoMDL-35620 question engine: should distinguish NULL and 0.
Tim Hunt [Tue, 25 Sep 2012 13:08:59 +0000 (14:08 +0100)]
MDL-35620 question engine: should distinguish NULL and 0.

This only matters in an obscure edge case, but it is an edge case we hit
with one of the OU question types.

This load data code is processing the results of a LEFT JOIN, so is_null
is the correct logic.

10 years agoMDL-35370 cloze qtype: distinguish wrong & unanswered subqs
Tim Hunt [Thu, 13 Sep 2012 18:12:45 +0000 (19:12 +0100)]
MDL-35370 cloze qtype: distinguish wrong & unanswered subqs

This affects the subquestions that appear as an embedded text input box.

There are three cases:
1. Input for subq left blank
2. Input for subq was wrong, and matched by a * wildcard.
3. Input for subq was wrong, and did not match any answer.

2. and 3. should look identical, apart from any feedback in case 2.

1. is different. The state should be displayed as "Not answered" even
though the mark for this part is still shown as 0.

There are some new unit tests for these cases.

Also, we slighly improve handling of , for decimal point in multianswer,
although there are still issues.

While working on this, I made some minor clean-ups in shortanswer and
numerical qtypes.

10 years agoMDL-34657 user sorting: consistent sorting everywhere.
Tim Hunt [Wed, 8 Aug 2012 12:56:12 +0000 (13:56 +0100)]
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.

10 years agoMDL-34657 datalib: function to generate user sort sql.
Tim Hunt [Wed, 8 Aug 2012 12:53:28 +0000 (13:53 +0100)]
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.

10 years agoMDL-34657 test: verify CASE statements in ORDER BY clauses.
Eloy Lafuente (stronk7) [Tue, 7 Aug 2012 21:31:32 +0000 (23:31 +0200)]
MDL-34657 test: verify CASE statements in ORDER BY clauses.

10 years agoMDL-34257 quiz 'secure' mode: PAGE initialisation order issues.
Tim Hunt [Thu, 12 Jul 2012 17:39:01 +0000 (18:39 +0100)]
MDL-34257 quiz 'secure' mode: PAGE initialisation order issues.

10 years agoweekly release 2.4dev
Dan Poltawski [Thu, 27 Sep 2012 10:52:35 +0000 (18:52 +0800)]
weekly release 2.4dev