moodle.git
13 months agoMDL-68454 table: Improve documentation for dynamic table
Andrew Nicols [Thu, 23 Apr 2020 01:59:54 +0000 (09:59 +0800)]
MDL-68454 table: Improve documentation for dynamic table

13 months agoMDL-68454 table: Move guessing of base URL to flexible
Andrew Nicols [Thu, 23 Apr 2020 01:31:51 +0000 (09:31 +0800)]
MDL-68454 table: Move guessing of base URL to flexible

13 months agoMDL-68454 table: Move filterset functionality to flexible_table
Andrew Nicols [Thu, 23 Apr 2020 01:24:56 +0000 (09:24 +0800)]
MDL-68454 table: Move filterset functionality to flexible_table

13 months agoMDL-68454 table: Move get_context from dynamic to flexible
Andrew Nicols [Thu, 23 Apr 2020 01:22:27 +0000 (09:22 +0800)]
MDL-68454 table: Move get_context from dynamic to flexible

13 months agoMDL-68454 table: Drop get_unique_id_from_argument fn requirement
Andrew Nicols [Thu, 23 Apr 2020 00:30:44 +0000 (08:30 +0800)]
MDL-68454 table: Drop get_unique_id_from_argument fn requirement

This was originally intended to be a way for the calling code to specify
data as part of the table construction which could then be used as
appropriate. When the filterset was created the requirement for this
function no longer existed.

Removing this to simplify the API.

13 months agoon-demand release 3.9dev+
Eloy Lafuente (stronk7) [Sat, 2 May 2020 14:37:31 +0000 (16:37 +0200)]
on-demand release 3.9dev+

13 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Sat, 2 May 2020 14:37:29 +0000 (16:37 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

13 months agoMerge branch 'MDL-68328-dlfix' of https://github.com/cengage/moodle
Eloy Lafuente (stronk7) [Fri, 1 May 2020 21:33:08 +0000 (23:33 +0200)]
Merge branch 'MDL-68328-dlfix' of https://github.com/cengage/moodle

13 months agoMDL-68328 mod_lti: resourcekey and pwd hidden not removed
Claude Vervoort [Fri, 1 May 2020 19:03:14 +0000 (15:03 -0400)]
MDL-68328 mod_lti: resourcekey and pwd hidden not removed

13 months agoMerge branch 'MDL-66135' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Fri, 1 May 2020 14:07:56 +0000 (16:07 +0200)]
Merge branch 'MDL-66135' of https://github.com/paulholden/moodle

13 months agoMDL-66135 tool_uploadcourse: case-insensitive date string comparison.
Paul Holden [Fri, 1 May 2020 08:05:07 +0000 (09:05 +0100)]
MDL-66135 tool_uploadcourse: case-insensitive date string comparison.

Account for PM/pm differences in PHP on different OS.

13 months agoMerge branch 'MDL-67798-master-fix' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 1 May 2020 07:44:26 +0000 (15:44 +0800)]
Merge branch 'MDL-67798-master-fix' of git://github.com/andrewnicols/moodle

13 months agoMDL-67798 contentbank: Sort data before comparison
Andrew Nicols [Fri, 1 May 2020 07:42:01 +0000 (15:42 +0800)]
MDL-67798 contentbank: Sort data before comparison

13 months agoMerge branch 'MDL-68492-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Fri, 1 May 2020 04:07:00 +0000 (12:07 +0800)]
Merge branch 'MDL-68492-master' of https://github.com/sammarshallou/moodle

13 months agoMDL-67798 contentbank: Whitespace fixes
Andrew Nicols [Fri, 1 May 2020 03:51:15 +0000 (11:51 +0800)]
MDL-67798 contentbank: Whitespace fixes

13 months agoMerge branch 'MDL-67798-master' of git://github.com/cescobedo/moodle
Andrew Nicols [Fri, 1 May 2020 03:43:20 +0000 (11:43 +0800)]
Merge branch 'MDL-67798-master' of git://github.com/cescobedo/moodle

13 months agoMerge branch 'master_MDL-67540' of https://github.com/golenkovm/moodle
Andrew Nicols [Fri, 1 May 2020 03:20:55 +0000 (11:20 +0800)]
Merge branch 'master_MDL-67540' of https://github.com/golenkovm/moodle

13 months agoMerge branch 'MDL-68506-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 1 May 2020 03:20:21 +0000 (11:20 +0800)]
Merge branch 'MDL-68506-master' of git://github.com/andrewnicols/moodle

13 months agoMerge branch 'MDL-57680' of https://github.com/timhunt/moodle
Andrew Nicols [Fri, 1 May 2020 03:00:19 +0000 (11:00 +0800)]
Merge branch 'MDL-57680' of https://github.com/timhunt/moodle

13 months agoMDL-67850 quizaccess: change SEB supported versions
Dmitrii Metelkin [Fri, 1 May 2020 01:52:52 +0000 (11:52 +1000)]
MDL-67850 quizaccess: change SEB supported versions

13 months agoMDL-67850 quizaccess: fix broken unit tests
Dmitrii Metelkin [Fri, 1 May 2020 01:51:32 +0000 (11:51 +1000)]
MDL-67850 quizaccess: fix broken unit tests

13 months agoMDL-67850 quizaccess: remove invalid white spaces
Dmitrii Metelkin [Fri, 1 May 2020 01:50:57 +0000 (11:50 +1000)]
MDL-67850 quizaccess: remove invalid white spaces

13 months agoMDL-67850 lib: remove trailing slash for plist
Dmitrii Metelkin [Fri, 1 May 2020 01:48:08 +0000 (11:48 +1000)]
MDL-67850 lib: remove trailing slash for plist

13 months agoMerge branch 'MDL-43156' of https://github.com/stronk7/moodle
Andrew Nicols [Fri, 1 May 2020 02:16:37 +0000 (10:16 +0800)]
Merge branch 'MDL-43156' of https://github.com/stronk7/moodle

13 months agoMerge branch 'MDL-66135' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Thu, 30 Apr 2020 23:51:49 +0000 (01:51 +0200)]
Merge branch 'MDL-66135' of https://github.com/paulholden/moodle

13 months agoMDL-68329 cache: Improve cache performance footer info
Bas Brands [Wed, 29 Apr 2020 15:09:51 +0000 (17:09 +0200)]
MDL-68329 cache: Improve cache performance footer info

13 months agoMDL-66135 tool_uploadcourse: support custom course fields.
Paul Holden [Tue, 1 Oct 2019 14:16:13 +0000 (15:16 +0100)]
MDL-66135 tool_uploadcourse: support custom course fields.

13 months agoMerge branch 'MDL-68328-dlfix' of https://github.com/cengage/moodle
Eloy Lafuente (stronk7) [Thu, 30 Apr 2020 22:32:00 +0000 (00:32 +0200)]
Merge branch 'MDL-68328-dlfix' of https://github.com/cengage/moodle

13 months agoMerge branch 'MDL-68427-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Thu, 30 Apr 2020 21:35:09 +0000 (23:35 +0200)]
Merge branch 'MDL-68427-master' of git://github.com/andrewnicols/moodle

13 months agoMDL-43156 core_form: fix handling of fixture form
Davo Smith [Sat, 4 Apr 2020 13:18:56 +0000 (14:18 +0100)]
MDL-43156 core_form: fix handling of fixture form

Also moving it from behat_forms to behat_navigation

13 months agoMDL-43156 formslib: newly-created repeat elements get the default values
Davo Smith [Mon, 2 Dec 2013 15:22:29 +0000 (15:22 +0000)]
MDL-43156 formslib: newly-created repeat elements get the default values

13 months agoMerge branch 'MDL-66732' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 30 Apr 2020 09:16:16 +0000 (17:16 +0800)]
Merge branch 'MDL-66732' of https://github.com/paulholden/moodle

13 months agoMerge branch 'MDL-67075-redis-session-locks' of https://github.com/brendanheywood...
Andrew Nicols [Thu, 30 Apr 2020 08:05:05 +0000 (16:05 +0800)]
Merge branch 'MDL-67075-redis-session-locks' of https://github.com/brendanheywood/moodle

13 months agoMerge branch 'MDL-68404-master' of git://github.com/lucaboesch/moodle
Jun Pataleta [Thu, 30 Apr 2020 05:33:45 +0000 (13:33 +0800)]
Merge branch 'MDL-68404-master' of git://github.com/lucaboesch/moodle

13 months agoMDL-67075 session: Added extra debugging of blocking redis session locks
Brendan Heywood [Wed, 30 Oct 2019 06:25:58 +0000 (17:25 +1100)]
MDL-67075 session: Added extra debugging of blocking redis session locks

13 months agoMerge branch 'MDL-68309-master' of https://github.com/snake/moodle
Jun Pataleta [Thu, 30 Apr 2020 01:57:50 +0000 (09:57 +0800)]
Merge branch 'MDL-68309-master' of https://github.com/snake/moodle

13 months agoMerge branch 'MDL-67850-seb-integration-3' of https://github.com/catalyst/moodle
Jake Dallimore [Thu, 30 Apr 2020 01:13:14 +0000 (09:13 +0800)]
Merge branch 'MDL-67850-seb-integration-3' of https://github.com/catalyst/moodle

13 months agoAutomatically generated installer lang files
AMOS bot [Thu, 30 Apr 2020 00:11:50 +0000 (00:11 +0000)]
Automatically generated installer lang files

13 months agoMerge branch 'MDL-68434-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 29 Apr 2020 20:52:40 +0000 (22:52 +0200)]
Merge branch 'MDL-68434-master-enfix' of git://github.com/mudrd8mz/moodle

13 months agoMDL-68434 lang: Use the updated terminology in the tests
David Mudrák [Tue, 28 Apr 2020 12:20:51 +0000 (14:20 +0200)]
MDL-68434 lang: Use the updated terminology in the tests

13 months agoMerge branch 'MDL-68442-master' of git://github.com/andrewnicols/moodle
Adrian Greeve [Wed, 29 Apr 2020 05:52:17 +0000 (13:52 +0800)]
Merge branch 'MDL-68442-master' of git://github.com/andrewnicols/moodle

13 months agoMDL-67850 quizaccess: remove the old quizaccess_safebrowser
Dmitrii Metelkin [Thu, 27 Feb 2020 01:04:37 +0000 (12:04 +1100)]
MDL-67850 quizaccess: remove the old quizaccess_safebrowser

Co-authored-by: Nicholas Hoobin <nicholashoobin@catalyst-au.net>
Co-authored-by: Andrew Madden <andrewmadden@catalyst-au.net>
13 months agoMDL-67850 quizaccess: add Safe Exam Browser access rule plugin
Andrew Madden [Thu, 27 Feb 2020 01:01:54 +0000 (12:01 +1100)]
MDL-67850 quizaccess: add Safe Exam Browser access rule plugin

Co-authored-by: Nicholas Hoobin <nicholashoobin@catalyst-au.net>
Co-authored-by: Dmitrii Metelkin <dmitriim@catalyst-au.net>
13 months agoMDL-67850 lib: add new plist library
Andrew Madden [Thu, 27 Feb 2020 00:55:31 +0000 (11:55 +1100)]
MDL-67850 lib: add new plist library

Co-authored-by: Nicholas Hoobin <nicholashoobin@catalyst-au.net>
Co-authored-by: Dmitrii Metelkin <dmitriim@catalyst-au.net>
13 months agoMerge branch 'MDL-68433-adhoc-task-lookahead' of https://github.com/brendanheywood...
Andrew Nicols [Wed, 29 Apr 2020 00:22:27 +0000 (08:22 +0800)]
Merge branch 'MDL-68433-adhoc-task-lookahead' of https://github.com/brendanheywood/moodle

13 months agoMerge branch 'MDL-68378-master' of git://github.com/rezaies/moodle
Andrew Nicols [Wed, 29 Apr 2020 00:19:09 +0000 (08:19 +0800)]
Merge branch 'MDL-68378-master' of git://github.com/rezaies/moodle

13 months agoMerge branch 'MDL-64417' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 28 Apr 2020 21:55:22 +0000 (23:55 +0200)]
Merge branch 'MDL-64417' of https://github.com/paulholden/moodle

13 months agoMerge branch 'MDL-68329-cache-info' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Tue, 28 Apr 2020 21:34:41 +0000 (23:34 +0200)]
Merge branch 'MDL-68329-cache-info' of https://github.com/brendanheywood/moodle

13 months agoMerge branch 'MDL-67915-master' of git://github.com/lameze/moodle
Jun Pataleta [Tue, 28 Apr 2020 15:11:38 +0000 (23:11 +0800)]
Merge branch 'MDL-67915-master' of git://github.com/lameze/moodle

13 months agoMDL-68328 mod_lti: use hidden form when deeplink options disabled
Claude Vervoort [Wed, 15 Apr 2020 14:34:22 +0000 (10:34 -0400)]
MDL-68328 mod_lti: use hidden form when deeplink options disabled

13 months agoMDL-68404 gradingform_rubric: Style "Add level" button.
Luca Bösch [Sun, 12 Apr 2020 16:42:03 +0000 (18:42 +0200)]
MDL-68404 gradingform_rubric: Style "Add level" button.

13 months agoMerge branch 'MDL66035_master' of https://github.com/jwalits/moodle
Andrew Nicols [Tue, 28 Apr 2020 12:04:34 +0000 (20:04 +0800)]
Merge branch 'MDL66035_master' of https://github.com/jwalits/moodle

13 months agoMDL-68434 lang: Import fixed English strings (en_fix)
Helen Foster [Tue, 28 Apr 2020 12:01:20 +0000 (14:01 +0200)]
MDL-68434 lang: Import fixed English strings (en_fix)

Significant string changes:

* pluginnamesummary,qtype_ddimageortext and
  pluginnamesummary,qtype_ddmarker - Note about the question type not
  being accessible to visually impaired users

* addresourceoractivity,core - Removing 'resource' as the new activity
  chooser doesn't have resource types separated

13 months agoMerge branch 'MDL-68445' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 28 Apr 2020 10:29:20 +0000 (18:29 +0800)]
Merge branch 'MDL-68445' of https://github.com/stronk7/moodle

13 months agoon-demand release 3.9dev+
Eloy Lafuente (stronk7) [Tue, 28 Apr 2020 09:15:48 +0000 (11:15 +0200)]
on-demand release 3.9dev+

13 months agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Tue, 28 Apr 2020 09:15:46 +0000 (11:15 +0200)]
NOBUG: Fixed SVG browser compatibility

13 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Tue, 28 Apr 2020 09:15:44 +0000 (11:15 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

13 months agoMerge branch 'MDL-68525-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Tue, 28 Apr 2020 04:43:33 +0000 (12:43 +0800)]
Merge branch 'MDL-68525-master' of git://github.com/andrewnicols/moodle

13 months agoMerge branch 'MDL-66259' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 28 Apr 2020 01:51:12 +0000 (09:51 +0800)]
Merge branch 'MDL-66259' of https://github.com/stronk7/moodle

13 months agoMerge branch 'MDL-67316' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 28 Apr 2020 01:39:04 +0000 (09:39 +0800)]
Merge branch 'MDL-67316' of https://github.com/stronk7/moodle

13 months agoMerge branch 'MDL-68047' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 28 Apr 2020 01:11:21 +0000 (09:11 +0800)]
Merge branch 'MDL-68047' of https://github.com/stronk7/moodle

13 months agoMerge branch 'MDL-68342-xsendfile-file' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Mon, 27 Apr 2020 22:27:59 +0000 (00:27 +0200)]
Merge branch 'MDL-68342-xsendfile-file' of https://github.com/brendanheywood/moodle

13 months agoMDL-68525 behat: chrome/switches caps not allowed in Chrome > 81
Eloy Lafuente (stronk7) [Sun, 26 Apr 2020 16:17:13 +0000 (18:17 +0200)]
MDL-68525 behat: chrome/switches caps not allowed in Chrome > 81

Now we need to use extra_capabilities/chromeOptions/args instead

The former was deprecated long ago, it seems that Chrome 81 has
stopped accepting it. The later seems to be working at very least
since Chrome 76 (haven't gone further back).

13 months agoMDL-68442 user: Add notifications on unenrol/update
Andrew Nicols [Sun, 19 Apr 2020 04:21:48 +0000 (12:21 +0800)]
MDL-68442 user: Add notifications on unenrol/update

13 months agoMDL-68442 user: Rewrite participant status to work with dynamic tables
Andrew Nicols [Fri, 17 Apr 2020 08:28:07 +0000 (16:28 +0800)]
MDL-68442 user: Rewrite participant status to work with dynamic tables

13 months agoMDL-68442 user: Rewrite enrolment actions as ES6
Andrew Nicols [Fri, 17 Apr 2020 05:40:18 +0000 (13:40 +0800)]
MDL-68442 user: Rewrite enrolment actions as ES6

13 months agoMDL-68329 cache: Improve cache performance footer info
Brendan Heywood [Tue, 7 Apr 2020 13:02:06 +0000 (23:02 +1000)]
MDL-68329 cache: Improve cache performance footer info

13 months agoMerge branch 'MDL-68383-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Mon, 27 Apr 2020 21:40:14 +0000 (23:40 +0200)]
Merge branch 'MDL-68383-master' of git://github.com/bmbrands/moodle

13 months agoMerge branch 'MDL-68477-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Mon, 27 Apr 2020 21:30:09 +0000 (23:30 +0200)]
Merge branch 'MDL-68477-master' of git://github.com/lameze/moodle

13 months agoMerge branch 'master' of https://github.com/DrCuriosity/moodle
Eloy Lafuente (stronk7) [Mon, 27 Apr 2020 21:08:26 +0000 (23:08 +0200)]
Merge branch 'master' of https://github.com/DrCuriosity/moodle

13 months agoMerge branch 'MDL-67797-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Mon, 27 Apr 2020 21:00:59 +0000 (23:00 +0200)]
Merge branch 'MDL-67797-master' of git://github.com/sarjona/moodle

13 months agoMerge branch 'MDL-68393-master-availableupdateui' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 27 Apr 2020 15:39:39 +0000 (17:39 +0200)]
Merge branch 'MDL-68393-master-availableupdateui' of git://github.com/mudrd8mz/moodle

13 months agoMerge branch 'MDL-67701-master' of git://github.com/ferranrecio/moodle
Eloy Lafuente (stronk7) [Mon, 27 Apr 2020 15:36:49 +0000 (17:36 +0200)]
Merge branch 'MDL-67701-master' of git://github.com/ferranrecio/moodle

13 months agoMerge branch 'MDL-68515-master-report_status_standard' of git://github.com/mudrd8mz...
Eloy Lafuente (stronk7) [Mon, 27 Apr 2020 15:33:15 +0000 (17:33 +0200)]
Merge branch 'MDL-68515-master-report_status_standard' of git://github.com/mudrd8mz/moodle

13 months agoMerge branch 'MDL-65967-master' of https://github.com/danielneis/moodle
Eloy Lafuente (stronk7) [Mon, 27 Apr 2020 15:31:20 +0000 (17:31 +0200)]
Merge branch 'MDL-65967-master' of https://github.com/danielneis/moodle

13 months agoMDL-68342 files: Add a faster xsendfile method to avoid db lookups
Brendan Heywood [Thu, 16 Apr 2020 06:31:07 +0000 (16:31 +1000)]
MDL-68342 files: Add a faster xsendfile method to avoid db lookups

13 months agoAutomatically generated installer lang files
AMOS bot [Mon, 27 Apr 2020 00:11:23 +0000 (00:11 +0000)]
Automatically generated installer lang files

13 months agoMDL-66035 message: Restore missing message preferences files
Jwalit Shah [Fri, 27 Mar 2020 01:27:17 +0000 (12:27 +1100)]
MDL-66035 message: Restore missing message preferences files

13 months agoMDL-57680 form autocomplete: extend Behat tests
Tim Hunt [Sun, 26 Apr 2020 13:20:30 +0000 (14:20 +0100)]
MDL-57680 form autocomplete: extend Behat tests

13 months agoMDL-57680 form autocomplete: fix triggering change event
Tim Hunt [Sun, 26 Apr 2020 12:02:12 +0000 (13:02 +0100)]
MDL-57680 form autocomplete: fix triggering change event

13 months agoMDL-57680 form autocomplete: let singleselects be cleared.
Tim Hunt [Sat, 25 Apr 2020 13:39:27 +0000 (14:39 +0100)]
MDL-57680 form autocomplete: let singleselects be cleared.

This was already working after ajax had refreshed the choices, it was just
broken on first page load.

13 months agoMDL-67540 quiz: Start transaction before selecting existing slots.
Mikhail Golenkov [Sun, 26 Apr 2020 00:54:14 +0000 (10:54 +1000)]
MDL-67540 quiz: Start transaction before selecting existing slots.

Co-authored-by: Conn <conn@cmrwarwicker.com>
13 months agoMDL-65967 tool_recyclebin: add recycle bin link to category edit menu
Thiagolivramento [Mon, 16 Mar 2020 16:42:59 +0000 (13:42 -0300)]
MDL-65967 tool_recyclebin: add recycle bin link to category edit menu

13 months agoMerge branch 'MDL-68514-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Fri, 24 Apr 2020 17:23:16 +0000 (19:23 +0200)]
Merge branch 'MDL-68514-master' of git://github.com/sarjona/moodle

13 months agoMDL-68515 admin: Mark the system status report as a standard plugin
David Mudrák [Fri, 24 Apr 2020 15:13:16 +0000 (17:13 +0200)]
MDL-68515 admin: Mark the system status report as a standard plugin

13 months agoMDL-68514 contentbank: fix behat issues with classic
Sara Arjona [Fri, 24 Apr 2020 13:07:52 +0000 (15:07 +0200)]
MDL-68514 contentbank: fix behat issues with classic

13 months agoMDL-67798 core_contentbank: Add privacy provider
cescobedo [Thu, 16 Apr 2020 22:01:09 +0000 (00:01 +0200)]
MDL-67798 core_contentbank: Add privacy provider

13 months agoMDL-68445 behat: Bump to 3.6.x
Eloy Lafuente (stronk7) [Thu, 16 Apr 2020 22:02:20 +0000 (00:02 +0200)]
MDL-68445 behat: Bump to 3.6.x

composer.lock generated with PHP 7.2, following:

https://docs.moodle.org/dev/Composer#How_to_prepare_and_submit_composer_changes

Also, ensure Symfony/Process > 4.0 compatibility
(needed for parallel runs)

13 months agoMDL-67316 ldap: Pass correct hex chars to hexdec()
Eloy Lafuente (stronk7) [Wed, 20 Nov 2019 16:45:32 +0000 (17:45 +0100)]
MDL-67316 ldap: Pass correct hex chars to hexdec()

Before php74 they were silently discarded, now they
show a deprecation message.

13 months agoMDL-67316 typo3: Pass correct hex chars to hexdec()
Eloy Lafuente (stronk7) [Wed, 20 Nov 2019 14:17:40 +0000 (15:17 +0100)]
MDL-67316 typo3: Pass correct hex chars to hexdec()

Typo3 was relaying on the feature of base converter
functions silently removing invalid chars so, for example:

'U+00A0' => '00A0' => 160

Since php74, the existence of those invalid chars do produce
a deprecation warning, no matter the outcome continues being the same.

So, here, we are just converting that invalud 'U+' by '0x'

13 months agoMDL-66259 qtypes: Add missing comment on get_random_guess_score
Tim Hunt [Sun, 5 Apr 2020 12:27:17 +0000 (13:27 +0100)]
MDL-66259 qtypes: Add missing comment on get_random_guess_score

A bit off-topic for this issue number, but I noticed it while
working on this, and though it was not worth creating a
separate MDL for.

13 months agoMDL-66259 qtype_numerical: remove no-longer relevant todo I noticed
Tim Hunt [Sun, 5 Apr 2020 12:23:29 +0000 (13:23 +0100)]
MDL-66259 qtype_numerical: remove no-longer relevant todo I noticed

13 months agoMDL-66259 qtypes: get_question_options() always call parent::
Eloy Lafuente (stronk7) [Tue, 19 Nov 2019 18:08:20 +0000 (19:08 +0100)]
MDL-66259 qtypes: get_question_options() always call parent::

To get the question->options initialised, children must
call parent::get_question_options() always. Also, it is
just general good practice. Subclasses are meant to be
adaptations of the base class, not something completely
different.

Note, there are some changes in the data structure
produced (see changes in the tests) but these changes
are not wrong.

13 months agoMDL-66259 quiz responses: fix unrealistic test setup
Tim Hunt [Sun, 29 Mar 2020 20:22:48 +0000 (21:22 +0100)]
MDL-66259 quiz responses: fix unrealistic test setup

13 months agoMDL-66259 qtype: add tests to all remaining involved qtypes
Eloy Lafuente (stronk7) [Sat, 4 Apr 2020 23:43:41 +0000 (01:43 +0200)]
MDL-66259 qtype: add tests to all remaining involved qtypes

That way we get the load_question_data() method covered
and all the main data, options, hints checked.

13 months agoMDL-66259 qtype_truefalse: unit test of loading questions from the DB
Tim Hunt [Sun, 29 Mar 2020 20:28:48 +0000 (21:28 +0100)]
MDL-66259 qtype_truefalse: unit test of loading questions from the DB

This is about to be changes, so we need a test first to catch regressions.

13 months agoMDL-68492 Behat: Use faster direct link steps in lib/tests/behat
sam marshall [Wed, 22 Apr 2020 16:24:22 +0000 (17:24 +0100)]
MDL-68492 Behat: Use faster direct link steps in lib/tests/behat

13 months agoMDL-68492 Behat: Direct URL links for courses, activities
sam marshall [Wed, 22 Apr 2020 15:49:40 +0000 (16:49 +0100)]
MDL-68492 Behat: Direct URL links for courses, activities

13 months agoMDL-67915 core_table: add support for hide and show of columns
Simey Lameze [Fri, 17 Apr 2020 00:33:40 +0000 (08:33 +0800)]
MDL-67915 core_table: add support for hide and show of columns

13 months agoMDL-66135 customfield: allow calling code to set form category headings.
Paul Holden [Mon, 6 Apr 2020 12:30:58 +0000 (13:30 +0100)]
MDL-66135 customfield: allow calling code to set form category headings.