moodle.git
15 months agoMDL-67949 grunt: Add debugging information
Andrew Nicols [Thu, 13 Feb 2020 05:26:31 +0000 (13:26 +0800)]
MDL-67949 grunt: Add debugging information

15 months agoMDL-67712 grunt: Ensure that more-specific matches are first
Andrew Nicols [Thu, 16 Jan 2020 13:41:17 +0000 (21:41 +0800)]
MDL-67712 grunt: Ensure that more-specific matches are first

16 months agoweekly release 3.9dev
Sara Arjona [Fri, 14 Feb 2020 11:12:02 +0000 (12:12 +0100)]
weekly release 3.9dev

16 months agoNOBUG: Fixed SVG browser compatibility
Sara Arjona [Fri, 14 Feb 2020 11:12:00 +0000 (12:12 +0100)]
NOBUG: Fixed SVG browser compatibility

16 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Fri, 14 Feb 2020 11:11:59 +0000 (12:11 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

16 months agoMerge branch 'MDL-67965-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 14 Feb 2020 05:25:16 +0000 (13:25 +0800)]
Merge branch 'MDL-67965-master' of git://github.com/andrewnicols/moodle

16 months agoMerge branch 'MDL-67878' of https://github.com/timhunt/moodle
Andrew Nicols [Thu, 13 Feb 2020 03:46:29 +0000 (11:46 +0800)]
Merge branch 'MDL-67878' of https://github.com/timhunt/moodle

16 months agoMerge branch 'MDL-67264-review-squashed' of https://github.com/Chocolate-lightning...
Andrew Nicols [Thu, 13 Feb 2020 03:43:41 +0000 (11:43 +0800)]
Merge branch 'MDL-67264-review-squashed' of https://github.com/Chocolate-lightning/moodle

16 months agoMerge branch 'MDL-67876' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 12 Feb 2020 14:56:01 +0000 (15:56 +0100)]
Merge branch 'MDL-67876' of https://github.com/timhunt/moodle

16 months agoMerge branch 'MDL-63032-master' of git://github.com/peterRd/moodle
Sara Arjona [Wed, 12 Feb 2020 09:11:29 +0000 (10:11 +0100)]
Merge branch 'MDL-63032-master' of git://github.com/peterRd/moodle

16 months agoMerge branch 'MDL-67857' of https://github.com/timhunt/moodle
Andrew Nicols [Wed, 12 Feb 2020 00:21:54 +0000 (08:21 +0800)]
Merge branch 'MDL-67857' of https://github.com/timhunt/moodle

16 months agoMerge branch 'MDL-67532' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 11 Feb 2020 22:07:58 +0000 (23:07 +0100)]
Merge branch 'MDL-67532' of https://github.com/paulholden/moodle

16 months agoMerge branch 'MDL-67675-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 11 Feb 2020 21:56:26 +0000 (22:56 +0100)]
Merge branch 'MDL-67675-master' of git://github.com/rezaies/moodle

16 months agoMerge branch 'MDL-67690-master' of git://github.com/merrill-oakland/moodle
Eloy Lafuente (stronk7) [Tue, 11 Feb 2020 21:46:46 +0000 (22:46 +0100)]
Merge branch 'MDL-67690-master' of git://github.com/merrill-oakland/moodle

16 months agoMDL-67965 behat: Get theme-specific context classes correctly
Andrew Nicols [Fri, 14 Feb 2020 01:52:23 +0000 (09:52 +0800)]
MDL-67965 behat: Get theme-specific context classes correctly

16 months agoMDL-67264 lib modal: Add deffered promises to content promises
Mathew May [Wed, 12 Feb 2020 02:41:50 +0000 (10:41 +0800)]
MDL-67264 lib modal: Add deffered promises to content promises

16 months agoMDL-67264 core_course: Activity chooser behat
Peter [Wed, 15 Jan 2020 03:40:06 +0000 (11:40 +0800)]
MDL-67264 core_course: Activity chooser behat

Update the selectors to use a button
Add new tests to cover new functionality
Add new new step definitions to minimise usage of xpaths

Co-authored-by: Mathew May <mathewm@hotmail.co.nz>
Co-authored-by: Mihail Geshoski <mihail@moodle.com>
Co-authored-by: Peter <peterrolanddias@gmail.com>
16 months agoMDL-67878 grunt: make it works on Windows
Tim Hunt [Wed, 12 Feb 2020 14:26:16 +0000 (14:26 +0000)]
MDL-67878 grunt: make it works on Windows

To be honest, all the real skill here is Andrew Nicols, but I made the patch, so the credit is mine! All mine!

16 months agoMDL-67876 forms: not all field types need validation JS
Tim Hunt [Wed, 12 Feb 2020 09:58:47 +0000 (09:58 +0000)]
MDL-67876 forms: not all field types need validation JS

16 months agoMDL-67876 forms: scroll to any invalid element if form cannot submit
Tim Hunt [Wed, 5 Feb 2020 12:18:17 +0000 (12:18 +0000)]
MDL-67876 forms: scroll to any invalid element if form cannot submit

16 months agoMDL-67264 core_course: Activity chooser new feature
Mathew May [Mon, 3 Feb 2020 01:35:11 +0000 (09:35 +0800)]
MDL-67264 core_course: Activity chooser new feature

Roll in the base for the new activity chooser
It renders all modules into a modal
Gives the user to add from either the base or help screens
All checked by accessability tools with great coverage
Adds minimal overhead to the course edit setup time

Co-authored-by: Mathew May <mathewm@hotmail.co.nz>
Co-authored-by: Mihail Geshoski <mihail@moodle.com>
16 months agoMerge branch 'MDL-59303' of https://github.com/paulholden/moodle
Sara Arjona [Tue, 11 Feb 2020 12:52:19 +0000 (13:52 +0100)]
Merge branch 'MDL-59303' of https://github.com/paulholden/moodle

16 months agoMerge branch 'MDL-67635-filesystem-cleanup' of https://github.com/brendanheywood...
Sara Arjona [Tue, 11 Feb 2020 12:22:54 +0000 (13:22 +0100)]
Merge branch 'MDL-67635-filesystem-cleanup' of https://github.com/brendanheywood/moodle

16 months agoMerge branch 'MDL-66847-master' of git://github.com/lucaboesch/moodle
Sara Arjona [Tue, 11 Feb 2020 11:28:24 +0000 (12:28 +0100)]
Merge branch 'MDL-66847-master' of git://github.com/lucaboesch/moodle

16 months agoMDL-66847 webservice: Correct breadcrumb + title for ws documentation.
Luca Bösch [Thu, 10 Oct 2019 08:04:05 +0000 (10:04 +0200)]
MDL-66847 webservice: Correct breadcrumb + title for ws documentation.

16 months agoMerge branch 'MDL-66834-master' of https://github.com/kepeter/moodle
Sara Arjona [Tue, 11 Feb 2020 10:54:12 +0000 (11:54 +0100)]
Merge branch 'MDL-66834-master' of https://github.com/kepeter/moodle

16 months agoMerge branch 'MDL-67060-master' of git://github.com/aanabit/moodle
Sara Arjona [Tue, 11 Feb 2020 10:40:18 +0000 (11:40 +0100)]
Merge branch 'MDL-67060-master' of git://github.com/aanabit/moodle

16 months agoMDL-67857 formchangechecker: support form submits that dont save
Tim Hunt [Mon, 3 Feb 2020 18:53:06 +0000 (18:53 +0000)]
MDL-67857 formchangechecker: support form submits that dont save

16 months agoMDL-67060 core_h5p: Behats for H5P tools Overview
Amaia Anabitarte [Thu, 30 Jan 2020 14:31:01 +0000 (15:31 +0100)]
MDL-67060 core_h5p: Behats for H5P tools Overview

16 months agoMDL-67060 core_h5p: Improvements to Manage H5P setting page
Amaia Anabitarte [Thu, 30 Jan 2020 14:47:38 +0000 (15:47 +0100)]
MDL-67060 core_h5p: Improvements to Manage H5P setting page

Co-authored by: Adrian Greeve <adrian@moodle.com>

AMOS BEGIN
 CPY [description,moodle],[description,core_h5p]
 CPY [status,moodle],[status,core_h5p]
AMOS END

16 months agoMDL-67060 core_h5p: Improving H5P libraries list
Amaia Anabitarte [Tue, 11 Feb 2020 09:25:21 +0000 (10:25 +0100)]
MDL-67060 core_h5p: Improving H5P libraries list

16 months agoMerge branch 'bugfix-MDL-67142' of https://github.com/AngadSethi/moodle
Sara Arjona [Tue, 11 Feb 2020 09:18:49 +0000 (10:18 +0100)]
Merge branch 'bugfix-MDL-67142' of https://github.com/AngadSethi/moodle

16 months agoMerge branch 'MDL-67894-master' of https://github.com/grabs/moodle
Sara Arjona [Tue, 11 Feb 2020 07:20:29 +0000 (08:20 +0100)]
Merge branch 'MDL-67894-master' of https://github.com/grabs/moodle

16 months agoMDL-63032 core: Update the timezone to the latest windows list
Peter Dias [Mon, 10 Feb 2020 04:54:29 +0000 (12:54 +0800)]
MDL-63032 core: Update the timezone to the latest windows list

16 months agoMerge branch 'MDL-67192-master' of git://github.com/vmdef/moodle
Sara Arjona [Mon, 10 Feb 2020 16:59:22 +0000 (17:59 +0100)]
Merge branch 'MDL-67192-master' of git://github.com/vmdef/moodle

16 months agoMDL-67192 core_h5p: remove redundant assignment
Víctor Déniz Falcón [Wed, 5 Feb 2020 15:22:27 +0000 (15:22 +0000)]
MDL-67192 core_h5p: remove redundant assignment

16 months agoMDL-67192 core_h5p: get site UUID from H5P using the API
Víctor Déniz Falcón [Wed, 5 Feb 2020 15:22:12 +0000 (15:22 +0000)]
MDL-67192 core_h5p: get site UUID from H5P using the API

16 months agoMDL-67264 core_course: Begin set up for Activity chooser
Mihail Geshoski [Mon, 3 Feb 2020 01:31:44 +0000 (09:31 +0800)]
MDL-67264 core_course: Begin set up for Activity chooser

16 months agoMDL-67264 core_templates: If classes exists render it out
Mathew May [Wed, 22 Jan 2020 06:07:57 +0000 (14:07 +0800)]
MDL-67264 core_templates: If classes exists render it out

16 months agoMDL-67142 quiz: fixed error when deleting saved questions long-name-quiz
Angad Sethi [Fri, 7 Feb 2020 09:29:17 +0000 (14:59 +0530)]
MDL-67142 quiz: fixed error when deleting saved questions long-name-quiz

An error was showing up while deleting questions
(in the question_save_from_deletion method) which had been saved
and which belonged to a quiz with a super long name, not exceeding 255
characters, as the 'name' field in 'question_categories' table had a
max size of 255 characters. The shorten_text function was used to
shorten the string to 255 characters and a unit test was added with
the name test_question_save_from_deletion_quiz_with_long_name to test
the patch.

16 months agoAutomatically generated installer lang files
AMOS bot [Sat, 8 Feb 2020 00:11:45 +0000 (00:11 +0000)]
Automatically generated installer lang files

16 months agoMDL-67894 mod_feedback: database error on show responses
Andreas Grabs [Fri, 7 Feb 2020 17:47:37 +0000 (18:47 +0100)]
MDL-67894 mod_feedback: database error on show responses

16 months agoMDL-59303 auth_shibboleth: consistent readme URL.
Paul Holden [Fri, 25 Oct 2019 11:42:47 +0000 (12:42 +0100)]
MDL-59303 auth_shibboleth: consistent readme URL.

16 months agoMDL-67532 badges: better default for new badge language.
Paul Holden [Fri, 24 Jan 2020 08:22:08 +0000 (08:22 +0000)]
MDL-67532 badges: better default for new badge language.

16 months agoweekly release 3.9dev
Sara Arjona [Fri, 7 Feb 2020 08:44:47 +0000 (09:44 +0100)]
weekly release 3.9dev

16 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Fri, 7 Feb 2020 08:44:44 +0000 (09:44 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

16 months agoMDL-67726 tool_phpunit: Removed webrunner tool
Brendan Heywood [Fri, 17 Jan 2020 11:25:27 +0000 (22:25 +1100)]
MDL-67726 tool_phpunit: Removed webrunner tool

16 months agoMerge branch 'MDL-67175-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Fri, 7 Feb 2020 00:08:43 +0000 (08:08 +0800)]
Merge branch 'MDL-67175-master' of git://github.com/andrewnicols/moodle

16 months agoMDL-67175 mod_scorm: fixing js eslint errors
Ferran Recio [Thu, 9 Jan 2020 14:39:39 +0000 (15:39 +0100)]
MDL-67175 mod_scorm: fixing js eslint errors

16 months agoMDL-67175 mod_scorm: sync XHR requests use sendBeacon when available
Sam Hemelryk [Tue, 15 Oct 2019 04:28:25 +0000 (17:28 +1300)]
MDL-67175 mod_scorm: sync XHR requests use sendBeacon when available

Totara reference TL-22621 (original code by Sam Hemelryk)
https://github.com/moodle/moodle/commit/2add402f8183c50bc1238ef2da5ea9cd06cb1dd9

16 months agoMDL-67175 session: set SameSite=None for Chrome 78 and above
Brendan Cox [Tue, 1 Oct 2019 22:35:31 +0000 (11:35 +1300)]
MDL-67175 session: set SameSite=None for Chrome 78 and above

Totara reference TL-22311 (original code by Brendan Cox and Sam Hemelryk)
https://github.com/moodle/moodle/commit/a3f4de2b7efe66de6617a67ce7c87f2862e76ac6

16 months agoMerge branch 'MDL-67832' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 5 Feb 2020 22:59:59 +0000 (23:59 +0100)]
Merge branch 'MDL-67832' of https://github.com/timhunt/moodle

(fixed a couple of typos in the merge commit)

16 months agoMerge branch 'MDL-67387-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Wed, 5 Feb 2020 18:14:30 +0000 (19:14 +0100)]
Merge branch 'MDL-67387-master' of git://github.com/cescobedo/moodle

16 months agoMerge branch 'MDL-67830' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 5 Feb 2020 18:07:55 +0000 (19:07 +0100)]
Merge branch 'MDL-67830' of https://github.com/timhunt/moodle

16 months agoMerge branch 'MDL-66463-master' of git://github.com/ferranrecio/moodle
Sara Arjona [Wed, 5 Feb 2020 12:10:59 +0000 (13:10 +0100)]
Merge branch 'MDL-66463-master' of git://github.com/ferranrecio/moodle

16 months agoMDL-66463 theme_boost: IE and Edge go to top link compatibility
Ferran Recio [Wed, 5 Feb 2020 09:41:00 +0000 (10:41 +0100)]
MDL-66463 theme_boost: IE and Edge go to top link compatibility

16 months agoMerge branch 'MDL-46542' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 5 Feb 2020 08:32:32 +0000 (09:32 +0100)]
Merge branch 'MDL-46542' of https://github.com/timhunt/moodle

16 months agoMerge branch 'MDL-49103-master' of git://github.com/sarjona/moodle
Andrew Nicols [Wed, 5 Feb 2020 05:48:29 +0000 (13:48 +0800)]
Merge branch 'MDL-49103-master' of git://github.com/sarjona/moodle

16 months agoMerge branch 'MDL-58584-master' of git://github.com/rezaies/moodle
Andrew Nicols [Wed, 5 Feb 2020 05:45:34 +0000 (13:45 +0800)]
Merge branch 'MDL-58584-master' of git://github.com/rezaies/moodle

16 months agoMerge branch 'MDL-67842' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 4 Feb 2020 21:44:24 +0000 (22:44 +0100)]
Merge branch 'MDL-67842' of https://github.com/timhunt/moodle

16 months agoMerge branch 'MDL-63424-master' of git://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Tue, 4 Feb 2020 18:28:36 +0000 (19:28 +0100)]
Merge branch 'MDL-63424-master' of git://github.com/lucaboesch/moodle

16 months agoMerge branch 'MDL-66875-master' of git://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Tue, 4 Feb 2020 18:02:26 +0000 (19:02 +0100)]
Merge branch 'MDL-66875-master' of git://github.com/lucaboesch/moodle

16 months agoMDL-49103 badges: bake badges with iTXt chunk instead of tEXt
Sara Arjona [Sun, 26 Jan 2020 08:36:57 +0000 (08:36 +0000)]
MDL-49103 badges: bake badges with iTXt chunk instead of tEXt

The final OB 1.0 specification changed the baking badges method
from tEXt to iTXt. Besides, the iTXt chunk should be a signed
assertion or the raw JSON (instead of the assertion URL).
This has been changed in order to make Moodle OB compliant.

Yuliya Bozhko, thanks for the patch! :-)

16 months agoMDL-58584 core_ddl: delete te loft over table in the test
Shamim Rezaie [Tue, 4 Feb 2020 12:15:32 +0000 (23:15 +1100)]
MDL-58584 core_ddl: delete te loft over table in the test

16 months agoMerge branch 'MDL-67681_master' of https://github.com/marxjohnson/moodle
Sara Arjona [Tue, 4 Feb 2020 11:16:39 +0000 (12:16 +0100)]
Merge branch 'MDL-67681_master' of https://github.com/marxjohnson/moodle

16 months agoMerge branch 'MDL-60126-master-3' of git://github.com/mihailges/moodle
Andrew Nicols [Tue, 4 Feb 2020 02:33:19 +0000 (10:33 +0800)]
Merge branch 'MDL-60126-master-3' of git://github.com/mihailges/moodle

16 months agoMerge branch 'MDL-58584-master' of git://github.com/rezaies/moodle
Andrew Nicols [Tue, 4 Feb 2020 02:30:32 +0000 (10:30 +0800)]
Merge branch 'MDL-58584-master' of git://github.com/rezaies/moodle

16 months agoMDL-60126 competency: Unit tests
Peter [Wed, 15 Jan 2020 00:46:22 +0000 (08:46 +0800)]
MDL-60126 competency: Unit tests

16 months agoMDL-60126 core: upgrade step to clean user comp
Simey Lameze [Thu, 14 Sep 2017 02:04:55 +0000 (10:04 +0800)]
MDL-60126 core: upgrade step to clean user comp

16 months agoAutomatically generated installer lang files
AMOS bot [Tue, 4 Feb 2020 00:11:08 +0000 (00:11 +0000)]
Automatically generated installer lang files

16 months agoMDL-60126 competency: delete content upon user delete
Simey Lameze [Thu, 14 Sep 2017 02:03:51 +0000 (10:03 +0800)]
MDL-60126 competency: delete content upon user delete

16 months agoMerge branch 'MDL-67052-mysql-locks' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Mon, 3 Feb 2020 18:32:58 +0000 (19:32 +0100)]
Merge branch 'MDL-67052-mysql-locks' of https://github.com/brendanheywood/moodle

16 months agoMerge branch 'MDL-67721-master' of git://github.com/rezaies/moodle
Sara Arjona [Mon, 3 Feb 2020 13:52:16 +0000 (14:52 +0100)]
Merge branch 'MDL-67721-master' of git://github.com/rezaies/moodle

16 months agoMerge branch 'MDL-67511-master' of git://github.com/andrewnicols/moodle
Sara Arjona [Mon, 3 Feb 2020 13:10:15 +0000 (14:10 +0100)]
Merge branch 'MDL-67511-master' of git://github.com/andrewnicols/moodle

16 months agoMDL-66834 Questions: add transaction, move trigger
Peter Eliyahu Kornfeld [Mon, 3 Feb 2020 10:29:43 +0000 (12:29 +0200)]
MDL-66834 Questions: add transaction, move trigger

16 months agoMDL-58584 core_ddl: getDropTableSQL should not do more than what it says
Shamim Rezaie [Wed, 22 Jan 2020 01:21:30 +0000 (12:21 +1100)]
MDL-58584 core_ddl: getDropTableSQL should not do more than what it says

16 months agoMDL-58584 core: remove duplications from get_columns functions
Shamim Rezaie [Tue, 21 Jan 2020 13:50:15 +0000 (00:50 +1100)]
MDL-58584 core: remove duplications from get_columns functions

16 months agoMDL-67511 core: Adjust spacing at top of toast-wrapper
Andrew Nicols [Thu, 19 Dec 2019 01:26:36 +0000 (09:26 +0800)]
MDL-67511 core: Adjust spacing at top of toast-wrapper

16 months agoMDL-67832 quiz: fix lots of PHPdoc in attemptlib.php
Tim Hunt [Wed, 29 Jan 2020 18:14:58 +0000 (18:14 +0000)]
MDL-67832 quiz: fix lots of PHPdoc in attemptlib.php

16 months agoMDL-66463 theme_boost: go to top link
Ferran Recio [Thu, 31 Oct 2019 15:28:49 +0000 (16:28 +0100)]
MDL-66463 theme_boost: go to top link

16 months agoMDL-67842 questions: Cannot remove the idnumber from a question
Tim Hunt [Thu, 30 Jan 2020 17:24:23 +0000 (17:24 +0000)]
MDL-67842 questions: Cannot remove the idnumber from a question

16 months agoMDL-46542 formslib: duration field option for which units to show
Tim Hunt [Mon, 28 Jul 2014 14:01:23 +0000 (10:01 -0400)]
MDL-46542 formslib: duration field option for which units to show

Based on the original work of Itamar Tzadok.

16 months agoMDL-67387 libraries: Upgrade PhpSpreadsheet to version 1.10.1
cescobedo [Thu, 30 Jan 2020 10:37:51 +0000 (11:37 +0100)]
MDL-67387 libraries: Upgrade PhpSpreadsheet to version 1.10.1

16 months agoweekly release 3.9dev
Eloy Lafuente (stronk7) [Thu, 30 Jan 2020 15:10:59 +0000 (16:10 +0100)]
weekly release 3.9dev

16 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 30 Jan 2020 15:10:56 +0000 (16:10 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

16 months agoMDL-67681 Cache: Store coursecattree array in a single key
Mark Johnson [Tue, 14 Jan 2020 09:58:48 +0000 (09:58 +0000)]
MDL-67681 Cache: Store coursecattree array in a single key

16 months agoMerge branch 'MDL-67353_reset' of https://github.com/stronk7/moodle
Jun Pataleta [Thu, 30 Jan 2020 04:35:56 +0000 (12:35 +0800)]
Merge branch 'MDL-67353_reset' of https://github.com/stronk7/moodle

16 months agoMerge branch 'MDL-67351-master_required_setting' of https://github.com/catalyst/moodle
Adrian Greeve [Thu, 30 Jan 2020 00:11:33 +0000 (08:11 +0800)]
Merge branch 'MDL-67351-master_required_setting' of https://github.com/catalyst/moodle

16 months agoMDL-67351 quiz: Change advanced quiz settings types to use flags.
Andrew Madden [Wed, 29 Jan 2020 23:50:59 +0000 (10:50 +1100)]
MDL-67351 quiz: Change advanced quiz settings types to use flags.

Change all 'with_advanced' setting types in quiz/settings to their
regular counterparts and apply the 'advanced' admin flag to them
instead. Settings that extend with_advanced setting types are
unchanged.

16 months agoMDL-67351 quiz: Move quiz form defaults logic out of form.
Andrew Madden [Wed, 29 Jan 2020 23:50:01 +0000 (10:50 +1100)]
MDL-67351 quiz: Move quiz form defaults logic out of form.

By including the mod_form:apply_admin_defaults() method in the quiz
moodle_form, each element does not need to set default and advanced
states individually.

16 months agoMDL-67351 admin: Create new 'required' admin flag setting.
Andrew Madden [Fri, 17 Jan 2020 04:01:35 +0000 (15:01 +1100)]
MDL-67351 admin: Create new 'required' admin flag setting.

Extend the admin flag options, that currently allow the 'advanced' and 'locked' states
of a form setting to be controlled by a plugins admin settings, to also include
the 'required' state. These options appear as a list of checkboxes next to the admin
setting.

16 months agoMDL-67353 course: move form tearDown() to reset_all_data()
Eloy Lafuente (stronk7) [Wed, 29 Jan 2020 22:43:57 +0000 (23:43 +0100)]
MDL-67353 course: move form tearDown() to reset_all_data()

We are already cleaning all sort of caches, statics, singletons
there and it's better to ensure they are always reset to avoid
myterious failures @ distance.

16 months agoMDL-67052 locks: Added a native MySQL / MariaDB lock implementation
Brendan Heywood [Wed, 29 Jan 2020 22:19:09 +0000 (09:19 +1100)]
MDL-67052 locks: Added a native MySQL / MariaDB lock implementation

16 months agoMDL-67052 locks: Fixed backwards unit tests for unstacked locks
Brendan Heywood [Wed, 29 Jan 2020 22:19:01 +0000 (09:19 +1100)]
MDL-67052 locks: Fixed backwards unit tests for unstacked locks

16 months agoMDL-64169 course: fix padding when display on one section per page
Michelle Melton [Tue, 8 Oct 2019 17:55:54 +0000 (13:55 -0400)]
MDL-64169 course: fix padding when display on one section per page

(amended to keep the $o.= consistent with surrounding code)

16 months agoMDL-67830 quiz: notice in grade details redirect script
Tim Hunt [Wed, 29 Jan 2020 18:34:39 +0000 (18:34 +0000)]
MDL-67830 quiz: notice in grade details redirect script

16 months agoMerge branch 'wip-MDL-67545-master' of https://github.com/Beedell/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jan 2020 18:28:56 +0000 (19:28 +0100)]
Merge branch 'wip-MDL-67545-master' of https://github.com/Beedell/moodle

16 months agoMerge branch 'MDL-67626_master' of git://github.com/adpe/moodle
Jun Pataleta [Wed, 29 Jan 2020 13:36:12 +0000 (21:36 +0800)]
Merge branch 'MDL-67626_master' of git://github.com/adpe/moodle

16 months agoMerge branch 'MDL-67768-master-componentdirs' of git://github.com/mudrd8mz/moodle
Adrian Greeve [Wed, 29 Jan 2020 02:01:08 +0000 (10:01 +0800)]
Merge branch 'MDL-67768-master-componentdirs' of git://github.com/mudrd8mz/moodle

16 months agoMerge branch 'MDL-67472-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Tue, 28 Jan 2020 21:56:37 +0000 (22:56 +0100)]
Merge branch 'MDL-67472-master' of git://github.com/bmbrands/moodle