moodle.git
5 years agoMDL-52127 js: check amd files with eslint grunt task
Dan Poltawski [Wed, 11 May 2016 09:19:30 +0000 (10:19 +0100)]
MDL-52127 js: check amd files with eslint grunt task

I have spent quite a lot of time working through the current list of
eslint options and configuring them for Moodle style and I think this is
a very good basis to start us at (as well as taking some of out jshint
options out with https://www.npmjs.com/package/polyjuice ). Thanks to
Andrew Nicols, Mark Johnson and Frédéric Massart for some refinements.

With this configuration the grunt build will fail if errors are present
in the js (though you can of course tell jshint to ignore some errors,
as I have done in admin/tool/lp/amd/src/competency_rule_points.js and
defining the Y global in lib/amd/src/yui.js ).

The grunt task will not report warnings by default, but a new
--show-lint-warnings flag will help achieve that. Editor
integrations/stanadalone eslint tool will surely be a better way of
getting eslint errors rather than using the grunt task.

5 years agoMDL-54890 course: remove erranous duplicated switch label
Dan Poltawski [Sat, 14 May 2016 08:06:56 +0000 (09:06 +0100)]
MDL-54890 course: remove erranous duplicated switch label

Detected by eslint rule 'no-duplicate-case'

5 years agoMDL-54890 assignfeedback_editpdf: Fix missing semicolon
Dan Poltawski [Wed, 11 May 2016 15:42:15 +0000 (16:42 +0100)]
MDL-54890 assignfeedback_editpdf: Fix missing semicolon

Detected by eslint rule 'semi'

5 years agoweekly on-sync release 3.2dev
Dan Poltawski [Thu, 9 Jun 2016 10:25:51 +0000 (11:25 +0100)]
weekly on-sync release 3.2dev

5 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Dan Poltawski [Thu, 9 Jun 2016 10:25:49 +0000 (11:25 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

5 years agoMDL-54853 weblib: Specify version and fixed encoding
Andrew Nicols [Thu, 9 Jun 2016 01:53:48 +0000 (09:53 +0800)]
MDL-54853 weblib: Specify version and fixed encoding

5 years agoMerge branch 'MDL-54853-master' of git://github.com/cameron1729/moodle
Andrew Nicols [Thu, 9 Jun 2016 01:41:53 +0000 (09:41 +0800)]
Merge branch 'MDL-54853-master' of git://github.com/cameron1729/moodle

5 years agoMDL-54853 weblib: Properly specify encoding for blanktarget
Cameron Ball [Wed, 8 Jun 2016 07:55:56 +0000 (15:55 +0800)]
MDL-54853 weblib: Properly specify encoding for blanktarget

5 years agoMerge branch 'MDL-53947-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Wed, 8 Jun 2016 00:15:23 +0000 (08:15 +0800)]
Merge branch 'MDL-53947-master' of git://github.com/junpataleta/moodle

5 years agoMDL-46721 assign: clarify ternerary statement
Dan Poltawski [Tue, 7 Jun 2016 11:15:19 +0000 (12:15 +0100)]
MDL-46721 assign: clarify ternerary statement

5 years agoMerge branch 'MDL-46721-master' of git://github.com/cameron1729/moodle
Dan Poltawski [Tue, 7 Jun 2016 11:12:28 +0000 (12:12 +0100)]
Merge branch 'MDL-46721-master' of git://github.com/cameron1729/moodle

5 years agoMerge branch 'MDL-48756-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Tue, 7 Jun 2016 10:49:39 +0000 (11:49 +0100)]
Merge branch 'MDL-48756-master' of git://github.com/FMCorz/moodle

5 years agoMDL-54729 mod_forum: clarify static variable usage
Dan Poltawski [Tue, 7 Jun 2016 09:44:27 +0000 (10:44 +0100)]
MDL-54729 mod_forum: clarify static variable usage

After some time discussing with integrators, we decided that this
slightly yukky solution probably fits safely, so just making its usage
better explained and speciifc.

5 years agoMDL-54729 mod_forum: Deep link highlighting works in IE.
Adrian Greeve [Tue, 31 May 2016 03:44:57 +0000 (11:44 +0800)]
MDL-54729 mod_forum: Deep link highlighting works in IE.

5 years agoMerge branch 'MDL-54765-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Tue, 7 Jun 2016 08:41:27 +0000 (09:41 +0100)]
Merge branch 'MDL-54765-master' of git://github.com/junpataleta/moodle

5 years agoMerge branch 'MDL-54180_master' of https://github.com/marxjohnson/moodle
David Monllao [Tue, 7 Jun 2016 08:15:43 +0000 (16:15 +0800)]
Merge branch 'MDL-54180_master' of https://github.com/marxjohnson/moodle

5 years agoMDL-53947 memcached: Fix memcached session warning on PHP7
Skylar Kelty [Tue, 26 Apr 2016 07:35:00 +0000 (08:35 +0100)]
MDL-53947 memcached: Fix memcached session warning on PHP7

5 years agoMerge branch 'MDL-54739-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Mon, 6 Jun 2016 22:04:59 +0000 (00:04 +0200)]
Merge branch 'MDL-54739-master' of git://github.com/lameze/moodle

5 years agoMerge branch 'MDL-54769-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Mon, 6 Jun 2016 21:56:25 +0000 (23:56 +0200)]
Merge branch 'MDL-54769-master' of git://github.com/marinaglancy/moodle

5 years agoMerge branch 'MDL-54805-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 6 Jun 2016 16:06:36 +0000 (18:06 +0200)]
Merge branch 'MDL-54805-master' of git://github.com/junpataleta/moodle

5 years agoMerge branch 'wip-MDL-50824-master' of https://github.com/cdsmith-umn/moodle
Dan Poltawski [Mon, 6 Jun 2016 14:07:01 +0000 (15:07 +0100)]
Merge branch 'wip-MDL-50824-master' of https://github.com/cdsmith-umn/moodle

5 years agoMerge branch 'MDL-54820-master' of git://github.com/jleyva/moodle
Dan Poltawski [Mon, 6 Jun 2016 13:09:59 +0000 (14:09 +0100)]
Merge branch 'MDL-54820-master' of git://github.com/jleyva/moodle

5 years agoMerge branch 'MDL-54702_master' of https://github.com/snake/moodle
Dan Poltawski [Mon, 6 Jun 2016 12:41:48 +0000 (13:41 +0100)]
Merge branch 'MDL-54702_master' of https://github.com/snake/moodle

5 years agoMerge branch 'MDL-53392_master' of https://github.com/snake/moodle
Dan Poltawski [Mon, 6 Jun 2016 12:21:09 +0000 (13:21 +0100)]
Merge branch 'MDL-53392_master' of https://github.com/snake/moodle

5 years agoMerge branch 'MDL-54557-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 6 Jun 2016 12:17:13 +0000 (13:17 +0100)]
Merge branch 'MDL-54557-master' of git://github.com/marinaglancy/moodle

5 years agoMerge branch 'wip-MDL-49852-master' of git://github.com/abgreeve/moodle
Dan Poltawski [Mon, 6 Jun 2016 10:59:42 +0000 (11:59 +0100)]
Merge branch 'wip-MDL-49852-master' of git://github.com/abgreeve/moodle

5 years agoMerge branch 'MDL-41922-master-c' of git://github.com/FMCorz/moodle
Eloy Lafuente (stronk7) [Mon, 6 Jun 2016 09:23:09 +0000 (11:23 +0200)]
Merge branch 'MDL-41922-master-c' of git://github.com/FMCorz/moodle

5 years agoMDL-54805 portfolio_download: Adding a 'require' of necessary library file
Mike Churchward [Thu, 2 Jun 2016 14:32:43 +0000 (10:32 -0400)]
MDL-54805 portfolio_download: Adding a 'require' of necessary library file

5 years agoAutomatically generated installer lang files
AMOS bot [Fri, 3 Jun 2016 16:04:17 +0000 (00:04 +0800)]
Automatically generated installer lang files

5 years agoMDL-54820 webservice: Fix regression in core_course_search_courses
Juan Leyva [Fri, 3 Jun 2016 10:56:11 +0000 (12:56 +0200)]
MDL-54820 webservice: Fix regression in core_course_search_courses

Regression caused by MDL-51324

5 years agoMDL-54765 mod_assign: Use selectedIndex for setting page selection
Jun Pataleta [Tue, 31 May 2016 10:09:21 +0000 (18:09 +0800)]
MDL-54765 mod_assign: Use selectedIndex for setting page selection

Set the 'selectedIndex' attribute of the page selection element instead of
the 'value' attribute since YUI is having trouble with this in IE.

5 years agoMDL-41922 mod_quiz: Don't report quiz due when an attempt was finished
Frederic Massart [Tue, 24 May 2016 02:51:14 +0000 (10:51 +0800)]
MDL-41922 mod_quiz: Don't report quiz due when an attempt was finished

5 years agoweekly on-sync release 3.2dev
Andrew Nicols [Fri, 3 Jun 2016 04:09:19 +0000 (12:09 +0800)]
weekly on-sync release 3.2dev

5 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Fri, 3 Jun 2016 04:09:16 +0000 (12:09 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

5 years agoMDL-54739 blocks: fix activity chooser link alignment
Simey Lameze [Fri, 3 Jun 2016 02:34:53 +0000 (10:34 +0800)]
MDL-54739 blocks: fix activity chooser link alignment

Thanks Ryan Wyllie for the help.

5 years agoMDL-50824 message/externallib.php: Fix get_string call
Clement Smith [Tue, 31 May 2016 19:05:44 +0000 (14:05 -0500)]
MDL-50824 message/externallib.php: Fix get_string call

This fixes the get_string call by adding the intended recipient's
fullname as the third argument when a user tries to message the
recipient, the recipient is blocking non-contacts from messaging
them, and the user is not in the recipient's contact list.

5 years agoMDL-54557 course: treat section summary as contents
Marina Glancy [Mon, 16 May 2016 00:36:42 +0000 (08:36 +0800)]
MDL-54557 course: treat section summary as contents

5 years agoMDL-54722 javascript: Add YUI depend wrapper to global event
Andrew Nicols [Thu, 2 Jun 2016 02:07:52 +0000 (10:07 +0800)]
MDL-54722 javascript: Add YUI depend wrapper to global event

5 years agoAutomatically generated installer lang files
AMOS bot [Wed, 1 Jun 2016 16:04:13 +0000 (00:04 +0800)]
Automatically generated installer lang files

5 years agoMDL-48248 enrol_manual: Handle durations more precise than int days
Frederic Massart [Wed, 1 Jun 2016 05:45:47 +0000 (13:45 +0800)]
MDL-48248 enrol_manual: Handle durations more precise than int days

5 years agoMDL-48756 editor_atto: Bulk atto autosave queries
Frederic Massart [Tue, 31 May 2016 11:28:11 +0000 (19:28 +0800)]
MDL-48756 editor_atto: Bulk atto autosave queries

5 years agoMerge branch 'MDL-54722-master' of git://github.com/cameron1729/moodle
Andrew Nicols [Wed, 1 Jun 2016 04:24:14 +0000 (12:24 +0800)]
Merge branch 'MDL-54722-master' of git://github.com/cameron1729/moodle

5 years agoMDL-54722 navigation: Properly overflow expanded nav trees
Cameron Ball [Tue, 31 May 2016 08:56:09 +0000 (16:56 +0800)]
MDL-54722 navigation: Properly overflow expanded nav trees

5 years agoMDL-54702 mod_lti: Support standard cartridge icons in LTI import
Jake Dallimore [Fri, 27 May 2016 08:49:38 +0000 (16:49 +0800)]
MDL-54702 mod_lti: Support standard cartridge icons in LTI import

5 years agoMDL-54769 backup: add missing error language string
Marina Glancy [Tue, 31 May 2016 02:37:08 +0000 (10:37 +0800)]
MDL-54769 backup: add missing error language string

5 years agoMerge branch 'MDL-53598-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Wed, 1 Jun 2016 00:02:32 +0000 (08:02 +0800)]
Merge branch 'MDL-53598-master' of git://github.com/marinaglancy/moodle

5 years agoMDL-54180 Behat: Handle exceptions from driver when saving screenshot
Mark Johnson [Thu, 12 May 2016 08:49:24 +0000 (09:49 +0100)]
MDL-54180 Behat: Handle exceptions from driver when saving screenshot

5 years agoMDL-53598 block_glossary_random: do not fail if glossary was deleted
Marina Glancy [Thu, 26 May 2016 09:18:13 +0000 (17:18 +0800)]
MDL-53598 block_glossary_random: do not fail if glossary was deleted

This commit refactors how associated glossary is searched for and removes
unnecessary DB queries. Also prevents from situations when the global glossary or course have
been deleted

5 years agoMerge branch 'MDL-54065-master' of git://github.com/marinaglancy/moodle
David Monllao [Tue, 31 May 2016 07:27:29 +0000 (15:27 +0800)]
Merge branch 'MDL-54065-master' of git://github.com/marinaglancy/moodle

5 years agoMerge branch 'MDL-54655_m32v1' of https://github.com/sbourget/moodle
Andrew Nicols [Tue, 31 May 2016 05:29:48 +0000 (13:29 +0800)]
Merge branch 'MDL-54655_m32v1' of https://github.com/sbourget/moodle

5 years agoMerge branch 'MDL-54667-master' of git://github.com/junpataleta/moodle
David Monllao [Tue, 31 May 2016 04:46:59 +0000 (12:46 +0800)]
Merge branch 'MDL-54667-master' of git://github.com/junpataleta/moodle

5 years agoMerge branch 'MDL-54763_master' of git://github.com/markn86/moodle
David Monllao [Tue, 31 May 2016 04:31:36 +0000 (12:31 +0800)]
Merge branch 'MDL-54763_master' of git://github.com/markn86/moodle

5 years agoMerge branch 'MDL-53851-master' of https://github.com/blckct/moodle
David Monllao [Tue, 31 May 2016 03:46:09 +0000 (11:46 +0800)]
Merge branch 'MDL-53851-master' of https://github.com/blckct/moodle

5 years agoMerge branch 'MDL-53938' of git://github.com/timhunt/moodle
David Monllao [Tue, 31 May 2016 03:42:17 +0000 (11:42 +0800)]
Merge branch 'MDL-53938' of git://github.com/timhunt/moodle

5 years agoMerge branch 'MDL-54605' of git://github.com/timhunt/moodle
David Monllao [Tue, 31 May 2016 03:32:11 +0000 (11:32 +0800)]
Merge branch 'MDL-54605' of git://github.com/timhunt/moodle

5 years agoMerge branch 'MDL-54579_m31v1' of https://github.com/sbourget/moodle
Andrew Nicols [Tue, 31 May 2016 03:18:27 +0000 (11:18 +0800)]
Merge branch 'MDL-54579_m31v1' of https://github.com/sbourget/moodle

5 years agoMDL-54667 core_lib: Fix the param name in edit profile link
Jakub Kania [Mon, 23 May 2016 15:39:12 +0000 (17:39 +0200)]
MDL-54667 core_lib: Fix the param name in edit profile link

5 years agoMDL-37138 weblib: Document blanktarget in upgrade.txt
Cameron Ball [Mon, 30 May 2016 07:19:36 +0000 (15:19 +0800)]
MDL-37138 weblib: Document blanktarget in upgrade.txt

5 years agoMerge branch 'MDL-54002_m32v3' of https://github.com/sbourget/moodle
David Monllao [Mon, 30 May 2016 08:08:53 +0000 (16:08 +0800)]
Merge branch 'MDL-54002_m32v3' of https://github.com/sbourget/moodle

5 years agoMerge branch 'MDL-54010-master' of git://github.com/cameron1729/moodle
David Monllao [Mon, 30 May 2016 08:04:04 +0000 (16:04 +0800)]
Merge branch 'MDL-54010-master' of git://github.com/cameron1729/moodle

5 years agoMerge branch 'MDL-54577-master' of git://github.com/cameron1729/moodle
David Monllao [Mon, 30 May 2016 07:45:47 +0000 (15:45 +0800)]
Merge branch 'MDL-54577-master' of git://github.com/cameron1729/moodle

5 years agoMerge branch 'MDL-29905-master' of git://github.com/FMCorz/moodle
David Monllao [Mon, 30 May 2016 07:40:43 +0000 (15:40 +0800)]
Merge branch 'MDL-29905-master' of git://github.com/FMCorz/moodle

5 years agoMerge branch 'MDL-54116-master' of git://github.com/cameron1729/moodle
David Monllao [Mon, 30 May 2016 07:36:01 +0000 (15:36 +0800)]
Merge branch 'MDL-54116-master' of git://github.com/cameron1729/moodle

5 years agoMerge branch 'MDL-49943-master' of git://github.com/marinaglancy/moodle
David Monllao [Mon, 30 May 2016 07:29:22 +0000 (15:29 +0800)]
Merge branch 'MDL-49943-master' of git://github.com/marinaglancy/moodle

5 years agoMerge branch 'MDL-54756' of git://github.com/timhunt/moodle
Andrew Nicols [Mon, 30 May 2016 07:19:04 +0000 (15:19 +0800)]
Merge branch 'MDL-54756' of git://github.com/timhunt/moodle

5 years agoMerge branch 'MDL-37138-master-2' of git://github.com/cameron1729/moodle
David Monllao [Mon, 30 May 2016 07:02:17 +0000 (15:02 +0800)]
Merge branch 'MDL-37138-master-2' of git://github.com/cameron1729/moodle

5 years agoMerge branch 'MDL-54567-master-build' of git://github.com/FMCorz/moodle
Andrew Nicols [Mon, 30 May 2016 06:39:23 +0000 (14:39 +0800)]
Merge branch 'MDL-54567-master-build' of git://github.com/FMCorz/moodle

5 years agoMDL-49943 mod_choice: display multiple answers in complete report
Marina Glancy [Wed, 25 May 2016 13:21:19 +0000 (21:21 +0800)]
MDL-49943 mod_choice: display multiple answers in complete report

5 years agoMDL-53425 blocklib: Raise execution time for dashboard reset process
Jun Pataleta [Mon, 30 May 2016 05:45:12 +0000 (13:45 +0800)]
MDL-53425 blocklib: Raise execution time for dashboard reset process

5 years agoMerge branch 'MDL-35987-master' of git://github.com/FMCorz/moodle
Andrew Nicols [Mon, 30 May 2016 05:38:52 +0000 (13:38 +0800)]
Merge branch 'MDL-35987-master' of git://github.com/FMCorz/moodle

5 years agoMerge branch 'MDL-53425-master-delete-by-chunks' of git://github.com/junpataleta...
David Monllao [Mon, 30 May 2016 05:35:24 +0000 (13:35 +0800)]
Merge branch 'MDL-53425-master-delete-by-chunks' of git://github.com/junpataleta/moodle

5 years agoMDL-54763 tool_lp: fixed typo in HTML tag
Mark Nelson [Mon, 30 May 2016 05:28:09 +0000 (13:28 +0800)]
MDL-54763 tool_lp: fixed typo in HTML tag

5 years agoMDL-54567 backup: Fixtures for legacy grade value rewrite
Andrew Nicols [Mon, 30 May 2016 04:39:30 +0000 (12:39 +0800)]
MDL-54567 backup: Fixtures for legacy grade value rewrite

5 years agoMDL-54567 backup: Process the calculations_freeze item upon restore
Frederic Massart [Wed, 18 May 2016 10:01:17 +0000 (18:01 +0800)]
MDL-54567 backup: Process the calculations_freeze item upon restore

5 years agoMDL-37138 chat: Use blanktarget option for chat text
Cameron Ball [Fri, 27 May 2016 02:33:55 +0000 (10:33 +0800)]
MDL-37138 chat: Use blanktarget option for chat text

5 years agoMDL-37138 message: Use blanktarget option for message text
Cameron Ball [Fri, 27 May 2016 02:26:47 +0000 (10:26 +0800)]
MDL-37138 message: Use blanktarget option for message text

5 years agoMDL-37138 weblib: Add blanktarget option to format_text
Cameron Ball [Fri, 27 May 2016 02:25:40 +0000 (10:25 +0800)]
MDL-37138 weblib: Add blanktarget option to format_text

5 years agoMerge branch 'MDL-48248-master' of git://github.com/FMCorz/moodle
David Monllao [Mon, 30 May 2016 05:02:34 +0000 (13:02 +0800)]
Merge branch 'MDL-48248-master' of git://github.com/FMCorz/moodle

5 years agoMDL-29905 question: Auto remove stale questions upon category deletion
Frederic Massart [Wed, 25 May 2016 09:42:43 +0000 (17:42 +0800)]
MDL-29905 question: Auto remove stale questions upon category deletion

5 years agoMDL-29905 question: Try to delete unused hidden/random questions
Eric Merrill [Thu, 29 May 2014 21:19:37 +0000 (17:19 -0400)]
MDL-29905 question: Try to delete unused hidden/random questions

Before going to display the warning about moving in use questions,
try to delete unused Random qtype questions, as well as 'hidden'
questions (these are questions that were deleted from the category),
but were in use at the time.

5 years agoMDL-53425 blocklib: Perform deletion of block instances by chunk
Jun Pataleta [Mon, 11 Apr 2016 02:10:00 +0000 (10:10 +0800)]
MDL-53425 blocklib: Perform deletion of block instances by chunk

5 years agoMerge branch 'MDL-54721-master' of git://github.com/FMCorz/moodle
David Monllao [Mon, 30 May 2016 03:15:20 +0000 (11:15 +0800)]
Merge branch 'MDL-54721-master' of git://github.com/FMCorz/moodle

5 years agoMerge branch 'MDL-43887-master' of git://github.com/cameron1729/moodle
David Monllao [Mon, 30 May 2016 03:08:46 +0000 (11:08 +0800)]
Merge branch 'MDL-43887-master' of git://github.com/cameron1729/moodle

5 years agoMerge branch 'MDL-51806_master' of https://github.com/snake/moodle
David Monllao [Mon, 30 May 2016 02:51:33 +0000 (10:51 +0800)]
Merge branch 'MDL-51806_master' of https://github.com/snake/moodle

5 years agoMDL-51806 mod_workshop: Add locale support for grade values.
Jake Dallimore [Wed, 25 May 2016 01:39:17 +0000 (09:39 +0800)]
MDL-51806 mod_workshop: Add locale support for grade values.

5 years agoMerge branch 'wip-MDL-45427-master' of git://github.com/abgreeve/moodle
David Monllao [Mon, 30 May 2016 02:19:24 +0000 (10:19 +0800)]
Merge branch 'wip-MDL-45427-master' of git://github.com/abgreeve/moodle

5 years agoMDL-54065 gradebook: correctly display module icon
Marina Glancy [Tue, 10 May 2016 06:17:57 +0000 (14:17 +0800)]
MDL-54065 gradebook: correctly display module icon

5 years agoMDL-54655 Behat: Tests for the online_users block
Stephen Bourget [Fri, 27 May 2016 22:21:25 +0000 (18:21 -0400)]
MDL-54655 Behat: Tests for the online_users block

5 years agoMDL-54756 moodle_url: remove dangerous trim from make_file_url
Tim Hunt [Fri, 27 May 2016 18:55:25 +0000 (19:55 +0100)]
MDL-54756 moodle_url: remove dangerous trim from make_file_url

This was a regression caused by MDL-50268. It broke qtype_stack.

5 years agoMDL-54605 quiz regrading: incorrect DB query
Tim Hunt [Mon, 16 May 2016 22:14:22 +0000 (23:14 +0100)]
MDL-54605 quiz regrading: incorrect DB query

There were two issues. With groups, the $params array was wrong
due to PHP + vs array_merge sillyness.

Also, the first column in the SQL was not necessarily unique,
so we need to use a recordset rather than get_records.

5 years agoMDL-49852 mod_assign: Unit tests for activity completion.
Adrian Greeve [Thu, 26 May 2016 08:40:04 +0000 (16:40 +0800)]
MDL-49852 mod_assign: Unit tests for activity completion.

5 years agoMDL-43887 formslib: Allow not set date field
Cameron Ball [Thu, 26 May 2016 17:21:34 +0000 (01:21 +0800)]
MDL-43887 formslib: Allow not set date field

Previously if the date field was not enabled it would
be treated as having value 0. A bug would allow this 0
to pass through and save the date as 1 January 1970

5 years agoAutomatically generated installer lang files
AMOS bot [Thu, 26 May 2016 16:04:40 +0000 (00:04 +0800)]
Automatically generated installer lang files

5 years agoMDL-54721 report_competency: Do not ignore the first user selection
Frederic Massart [Thu, 26 May 2016 09:52:34 +0000 (17:52 +0800)]
MDL-54721 report_competency: Do not ignore the first user selection

5 years agoMDL-53392 mod_assign: Remove old Grade Max warning string references
Jake Dallimore [Thu, 26 May 2016 02:17:29 +0000 (10:17 +0800)]
MDL-53392 mod_assign: Remove old Grade Max warning string references

5 years agoMDL-49852 mod_assign: Fix group assignment completion tracking
Steve Bader [Mon, 25 Jan 2016 16:56:51 +0000 (11:56 -0500)]
MDL-49852 mod_assign: Fix group assignment completion tracking

Fixes completion tracking for group assignments where either only
one student is required to click Submit when submitting the
assignment for grading, all students are required to submit,
or no students are required to click submit (meaning that simply
uploading submits for grading).

5 years agoMDL-54010 roles: Specify encoding for escaped export data
Cameron Ball [Wed, 25 May 2016 04:50:18 +0000 (12:50 +0800)]
MDL-54010 roles: Specify encoding for escaped export data

5 years agoMDL-54010 roles: Fix missing HTMLspecialchars in role export code.
Nigel Cunningham [Mon, 2 May 2016 05:13:20 +0000 (15:13 +1000)]
MDL-54010 roles: Fix missing HTMLspecialchars in role export code.

Role name and description fields are currently not escaped when
exporting a role. This results in an unusable file when characters
such as ampersands are used in a name or description. Fix this by
using htmlspecialchars on both fields.

Signed-off-by: Nigel Cunningham <nigelc@catalyst-au.net>
5 years agoMDL-54577 Behat: Add tests for messages block
Stephen Bourget [Tue, 17 May 2016 00:09:50 +0000 (20:09 -0400)]
MDL-54577 Behat: Add tests for messages block

5 years agoMDL-54116 block_comments: warnings when commenting outside of a course
Marina Glancy [Mon, 16 May 2016 02:22:40 +0000 (10:22 +0800)]
MDL-54116 block_comments: warnings when commenting outside of a course