Sara Arjona [Thu, 3 Sep 2020 15:09:12 +0000 (17:09 +0200)]
NOBUG: Fixed SVG browser compatibility
Andrew Nicols [Thu, 3 Sep 2020 03:34:47 +0000 (11:34 +0800)]
MDL-69391 behat: Grammar correction in feature
Andrew Nicols [Thu, 3 Sep 2020 03:35:04 +0000 (11:35 +0800)]
Merge branch 'MDL-69391-310' of git://github.com/junpataleta/moodle into MOODLE_310_STABLE
Jun Pataleta [Thu, 3 Sep 2020 03:02:37 +0000 (11:02 +0800)]
MDL-69391 calendar: Accessibility tests for calendar
Jun Pataleta [Thu, 3 Sep 2020 03:02:16 +0000 (11:02 +0800)]
MDL-69391 auth: Colour contrast accessibility test for login page
Jun Pataleta [Tue, 25 Aug 2020 04:18:59 +0000 (12:18 +0800)]
MDL-69391 theme: Darken course selector text colour
Use $gray-600 for a darker text colour in the course select box.
This also makes the colour consistent with the view selector which
also uses $gray-600.
Jun Pataleta [Tue, 25 Aug 2020 03:46:01 +0000 (11:46 +0800)]
MDL-69391 theme: Darken navbar-light colour
Increase the opacity for the sass variable $navbar-light-color a
little bit in order to achieve an acceptable colour contrast against
the white background.
Dmitrii Metelkin [Fri, 7 Aug 2020 00:26:46 +0000 (10:26 +1000)]
MDL-69418 backup: attach data to grade items
Andrew Nicols [Thu, 3 Sep 2020 02:52:02 +0000 (10:52 +0800)]
Merge branch 'MDL-69360-310' of git://github.com/NoelDeMartin/moodle into MOODLE_310_STABLE
Andrew Nicols [Thu, 3 Sep 2020 02:39:58 +0000 (10:39 +0800)]
Merge branch 'MDL-69246_310' of https://github.com/timhunt/moodle into MOODLE_310_STABLE
Andrew Nicols [Thu, 3 Sep 2020 02:13:49 +0000 (10:13 +0800)]
Merge branch 'MDL-55340-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE
Andrew Nicols [Thu, 3 Sep 2020 01:33:05 +0000 (09:33 +0800)]
Merge branch 'MDL-69069-310' of git://github.com/bmbrands/moodle into MOODLE_310_STABLE
Andrew Nicols [Thu, 3 Sep 2020 01:01:32 +0000 (09:01 +0800)]
MDL-69117 output: Correct remove_dir usage
Bas Brands [Tue, 23 Jun 2020 09:30:16 +0000 (11:30 +0200)]
MDL-69117 theme_boost: themedesigner source maps
Bas Brands [Wed, 2 Sep 2020 08:48:20 +0000 (10:48 +0200)]
MDL-69117 theme_boost: deprecate the autoprefixer
Eloy Lafuente (stronk7) [Wed, 2 Sep 2020 22:51:33 +0000 (00:51 +0200)]
Merge branch 'MDL-55971-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Peter Burnett [Wed, 19 Aug 2020 05:13:08 +0000 (15:13 +1000)]
MDL-67306 webservices: Added webservice for Grade category creation
Marina Glancy [Tue, 1 Sep 2020 15:11:10 +0000 (17:11 +0200)]
MDL-69608 core_form: frozen forms do not have form tag
Sara Arjona [Wed, 2 Sep 2020 15:37:24 +0000 (17:37 +0200)]
Merge branch '67278-moodle-310-categories-selector' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_310_STABLE
Sara Arjona [Wed, 2 Sep 2020 15:16:01 +0000 (17:16 +0200)]
Merge branch 'MDL-68680-MOODLE_310_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_310_STABLE
Julien Boulen [Wed, 2 Sep 2020 14:00:20 +0000 (16:00 +0200)]
MDL-67278 course: Use autocomplete widget for course category selector
Eloy Lafuente (stronk7) [Wed, 2 Sep 2020 11:14:34 +0000 (13:14 +0200)]
Merge branch 'MDL-69174-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE
Sara Arjona [Wed, 2 Sep 2020 10:09:27 +0000 (12:09 +0200)]
MDL-69174 mod_h5pactivity: component passed always
The $component = 'mod_h5pactivity' will be passed always to the H5P
player because it's required for being able to call these activities
from outside using embed code. The xAPI implementation checks whether
the information should be tracked or not.
Sara Arjona [Wed, 19 Aug 2020 06:52:36 +0000 (08:52 +0200)]
MDL-69174 h5p: add component to the embed H5P code
When the Moodle component is passed to the player, xAPI tracking
is enabled so, if the component implements required xAPI API methods
(for instance, mod_h5pactivity does), grades and responses are sent.
Adding this component to the embed code will help to add
the embed code from a mod_h5pactivity to any other place (such as label,
page or book), and being able to track the responses to the original
mod_h5pactivity.
Noel De Martin [Tue, 25 Aug 2020 07:48:20 +0000 (09:48 +0200)]
MDL-69360 behat: Fix js ready checks for non-moodle sites
Andrew Nicols [Wed, 2 Sep 2020 01:48:59 +0000 (09:48 +0800)]
Merge branch 'MDL-68892-310' of git://github.com/ferranrecio/moodle into MOODLE_310_STABLE
Dan Marsden [Thu, 2 Jul 2020 23:23:17 +0000 (11:23 +1200)]
MDL-69190 grade: fix slow query.
Farhan Karmali [Thu, 5 Mar 2020 13:20:52 +0000 (18:50 +0530)]
MDL-67419 admin: New admin setting for lang during user creation
Eloy Lafuente (stronk7) [Tue, 1 Sep 2020 22:27:36 +0000 (00:27 +0200)]
Merge branch 'wip_MDL-69491_m310' of git://github.com/gjb2048/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Tue, 1 Sep 2020 22:21:55 +0000 (00:21 +0200)]
Merge branch 'MDL-69174-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE
Sara Arjona [Tue, 1 Sep 2020 14:58:15 +0000 (16:58 +0200)]
Merge branch 'MDL-63387-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Sara Arjona [Tue, 1 Sep 2020 12:18:05 +0000 (14:18 +0200)]
Merge branch 'MDL-64525-m310' of https://github.com/NeillM/moodle into MOODLE_310_STABLE
Paul Holden [Fri, 16 Aug 2019 15:51:17 +0000 (16:51 +0100)]
MDL-63387 course: use renamed role names, update Behat tests.
Specify that we want both role names (renamed course role plus
original).
Paul Holden [Tue, 16 Jun 2020 21:38:46 +0000 (22:38 +0100)]
MDL-63387 user: show both role names on course participants page.
Paul Holden [Tue, 1 Sep 2020 10:34:40 +0000 (11:34 +0100)]
MDL-63387 enrol_cohort: show both roles names in instance config form.
Paul Holden [Fri, 16 Aug 2019 15:43:50 +0000 (16:43 +0100)]
MDL-63387 enrol_manual: show both role names in enrol users dialog.
Paul Holden [Wed, 27 Mar 2019 16:03:00 +0000 (16:03 +0000)]
MDL-63387 access: add parameter to define how role names are returned.
Sara Arjona [Tue, 1 Sep 2020 07:04:13 +0000 (09:04 +0200)]
Merge branch 'MDL-51709-310' of git://github.com/lucaboesch/moodle into MOODLE_310_STABLE
Sara Arjona [Tue, 1 Sep 2020 04:45:12 +0000 (06:45 +0200)]
Merge branch 'MDL-69394-310' of git://github.com/junpataleta/moodle into MOODLE_310_STABLE
Andrew Nicols [Tue, 1 Sep 2020 03:15:55 +0000 (11:15 +0800)]
Merge branch 'MDL-69507_310' of https://github.com/timhunt/moodle into MOODLE_310_STABLE
Andrew Nicols [Tue, 1 Sep 2020 02:59:37 +0000 (10:59 +0800)]
Merge branch 'MDL-69387-310-2' of git://github.com/junpataleta/moodle into MOODLE_310_STABLE
Sara Arjona [Mon, 31 Aug 2020 15:03:11 +0000 (17:03 +0200)]
Merge branch 'MDL-38350-m310' of https://github.com/sammarshallou/moodle into MOODLE_310_STABLE
Andrew Nicols [Mon, 31 Aug 2020 07:34:48 +0000 (15:34 +0800)]
Merge branch 'MDL-69505-310' of https://github.com/snake/moodle into MOODLE_310_STABLE
Andrew Nicols [Mon, 31 Aug 2020 05:15:03 +0000 (13:15 +0800)]
Merge branch 'MDL-69270-310' of git://github.com/ferranrecio/moodle into MOODLE_310_STABLE
Andrew Nicols [Mon, 31 Aug 2020 04:40:38 +0000 (12:40 +0800)]
MDL-69269 contentbank: Fix issues identified in integration
Andrew Nicols [Mon, 31 Aug 2020 04:41:30 +0000 (12:41 +0800)]
Merge branch 'MDL-69269-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE
Andrew Nicols [Mon, 31 Aug 2020 04:08:54 +0000 (12:08 +0800)]
Merge branch 'MDL-68569-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Andrew Nicols [Mon, 31 Aug 2020 03:31:05 +0000 (11:31 +0800)]
Merge branch 'MDL-56595-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Luca Bösch [Mon, 11 May 2020 14:01:51 +0000 (16:01 +0200)]
MDL-51709 gradebook: Name display in single view.
Bas Brands [Tue, 16 Jun 2020 14:44:47 +0000 (16:44 +0200)]
MDL-69069 theme_boost: color contrast for custom alerts
Nathan Nguyen [Mon, 10 Aug 2020 01:46:37 +0000 (11:46 +1000)]
MDL-33981 repository_equella: support internal copy
Jake Dallimore [Thu, 20 Aug 2020 01:46:08 +0000 (09:46 +0800)]
MDL-69505 core_form: fix js min/max date restriction in dateselector
This was using the yui2-calendar attribute, not the yui 3 attribute.
Ferran Recio [Thu, 13 Aug 2020 16:41:28 +0000 (18:41 +0200)]
MDL-69270 contentbank: replace content with file
Ferran Recio [Thu, 20 Aug 2020 15:16:27 +0000 (17:16 +0200)]
MDL-68892 mod_h5pactivity: add required to package
Gareth Barnard [Mon, 17 Aug 2020 18:38:11 +0000 (19:38 +0100)]
MDL-69491 themes: No 'fontsize' setting in Boost causes unit conflict.
Sara Arjona [Thu, 13 Aug 2020 12:36:26 +0000 (14:36 +0200)]
MDL-69269 contentbank: add support to download content
Sara Arjona [Wed, 19 Aug 2020 06:52:36 +0000 (08:52 +0200)]
MDL-69174 h5p: add component to the embed H5P code
When the Moodle component is passed to the player, xAPI tracking
is enabled so, if the component implements required xAPI API methods
(for instance, mod_h5pactivity does), grades and responses are sent.
Adding this component to the embed code will help to add
the embed code from a mod_h5pactivity to any other place (such as label,
page or book), and being able to track the responses to the original
mod_h5pactivity.
Marina Glancy [Fri, 12 Aug 2016 06:45:45 +0000 (14:45 +0800)]
MDL-55340 mod_feedback: export question labels
This was present in export in 3.0 but got lost during export
refactoring in 3.1
Eric Merrill [Fri, 31 Jul 2020 23:06:49 +0000 (19:06 -0400)]
MDL-69112 assign: Improve parsing of uploaded feedback names
Nathan Nguyen [Tue, 12 May 2020 06:21:56 +0000 (16:21 +1000)]
MDL-68680 core_grades: check grade item before trigger delete event
Paul Holden [Tue, 28 Apr 2020 20:13:41 +0000 (21:13 +0100)]
MDL-56595 tool_usertours: set page params when configuring tours/steps.
Tim Hunt [Thu, 9 Jul 2020 21:30:18 +0000 (22:30 +0100)]
MDL-69246 questions: allow for float issues when validating manual marks
As well as fixing the bug, I also rewrote the test to use
data providers, which should lead to more useful failure messages.
And, I moved the magic number we used as the float tolerence to
be a named constant.
Sara Arjona [Thu, 27 Aug 2020 15:36:21 +0000 (17:36 +0200)]
weekly release 3.10dev
Andrew Nicols [Thu, 27 Aug 2020 04:48:33 +0000 (12:48 +0800)]
Merge branch 'MOODLE_310_MDL-67211_v6' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
Mihail Geshoski [Mon, 24 Aug 2020 01:28:44 +0000 (09:28 +0800)]
MDL-69458 report_insights: Respect perpage value in pagination bar
Adrian Greeve [Thu, 27 Aug 2020 03:40:11 +0000 (11:40 +0800)]
Merge branch 'MDL-69479-310' of git://github.com/mihailges/moodle into MOODLE_310_STABLE
Andrew Nicols [Thu, 27 Aug 2020 03:30:53 +0000 (11:30 +0800)]
Merge branch 'MDL-69501-310-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
eWallah [Fri, 21 Aug 2020 09:43:24 +0000 (11:43 +0200)]
MDL-67413 competencies: do nothing upon activity completion
Mikhail Golenkov [Thu, 27 Aug 2020 03:02:36 +0000 (13:02 +1000)]
MDL-67211 phpunit: Do not test the order of the running adhoc tasks.
Mikhail Golenkov [Tue, 11 Aug 2020 11:01:44 +0000 (21:01 +1000)]
MDL-69358 backup: Do not clean up records for incomplete adhoc tasks.
Co-authored-by: Heena Agheda <heenaagheda@catalyst-au.net>
Andrew Nicols [Thu, 27 Aug 2020 02:23:25 +0000 (10:23 +0800)]
Merge branch 'MDL-66810-310' of git://github.com/peterRd/moodle into MOODLE_310_STABLE
Justin Hunt [Tue, 1 Oct 2019 06:40:04 +0000 (15:40 +0900)]
MDL-66810 mod_lti: Reinstate deprecated default permissions on iframe
microphone, webcam, camera, midi, encrypted-media, geolocation
Andrew Nicols [Thu, 27 Aug 2020 01:44:24 +0000 (09:44 +0800)]
MDL-66222 report_antivirus: Correct version number
Andrew Nicols [Thu, 27 Aug 2020 01:36:33 +0000 (09:36 +0800)]
Merge branch 'MDL-66222-antivirus-reporting' of https://github.com/Peterburnett/moodle into MOODLE_310_STABLE
Adrian Greeve [Thu, 27 Aug 2020 00:08:07 +0000 (08:08 +0800)]
Merge branch 'MDL-69419-310' of git://github.com/andrewnicols/moodle into MOODLE_310_STABLE
Sara Arjona [Wed, 26 Aug 2020 16:02:55 +0000 (18:02 +0200)]
Merge branch 'MDL-69389-310' of git://github.com/junpataleta/moodle into MOODLE_310_STABLE
Bas Brands [Mon, 3 Aug 2020 09:33:53 +0000 (11:33 +0200)]
MDL-69114 theme_boost: improve the color contrast for .*-info classes
Andrew Nicols [Wed, 26 Aug 2020 07:03:01 +0000 (15:03 +0800)]
Merge branch 'MOODLE_310_MDL-69307_v4' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
Mikhail Golenkov [Wed, 26 Aug 2020 04:35:21 +0000 (14:35 +1000)]
MDL-69307 restore: Add CLI script to restore a course.
Co-authored-by: Matt Porritt <mattp@catalyst-au.net>
Jun Pataleta [Tue, 11 Aug 2020 08:16:02 +0000 (16:16 +0800)]
MDL-69389 auth: Add wcag141 test for the login page accessibility test
Jun Pataleta [Mon, 10 Aug 2020 08:57:19 +0000 (16:57 +0800)]
MDL-69389 theme_classic: Make default body font colour darker
Links and normal text should have at least a colour contrast ratio
of 3:1. To achieve this, $body-color will be using the darker
shade of gray $gray-900 (#212529).
Jun Pataleta [Mon, 10 Aug 2020 08:48:22 +0000 (16:48 +0800)]
MDL-69389 theme_boost: Make default body font colour darker
Links and normal text should have at least a colour contrast ratio
of 3:1. To achieve this, $body-color will be using the darker
shade of gray $gray-900 (#212529).
Jun Pataleta [Tue, 18 Aug 2020 12:34:01 +0000 (20:34 +0800)]
MDL-69387 pix: Create PNG versions of the darkened completion icons
Thanks to Barbara Ramiro <barbara@moodle.com> for the help in
generating these PNG versions of the darkened completion icons!
Jun Pataleta [Tue, 18 Aug 2020 12:19:06 +0000 (20:19 +0800)]
MDL-69387 pix: Darken completion icons
Darkened the fills of completion icons in order to meet the required
minimum contrast ratio of 3:1.
* Changed gray fills (#999) to #949494.
* Changed blue fills (#76A1F0) to #6393ee
* Changed green fills (#9C3) to #79a128
Thanks to Barbara Ramiro <barbara@moodle.com> for the help in
updating the SVG icons!
Jun Pataleta [Fri, 14 Aug 2020 17:17:20 +0000 (01:17 +0800)]
MDL-69394 calendar: Fix event colour indicator contrast
* Darkened the link and clickable icon colours inside coloured events.
* Added borders around event colour indicators inside the month-view of
the calendar for better contrast against the white background.
Andrew Nicols [Wed, 19 Aug 2020 02:25:17 +0000 (10:25 +0800)]
MDL-69419 core: Task reset tests cannot use random test times
If a scheduled task which uses a 'R' field is picked, then the reset of
updated task times will not necessarily be correctly determined as the
randomisation is picked during reset.
This can lead to some random test failures.
Actively specifying a test which does not make use of the 'R' random
field time addresses this issue.
Andrew Nicols [Wed, 26 Aug 2020 01:41:07 +0000 (09:41 +0800)]
Merge branch 'MOODLE_310_MDL-67211_v6' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
Paul Holden [Fri, 5 Jun 2020 07:57:01 +0000 (08:57 +0100)]
MDL-55971 dataformat: method to write exports to file storage.
Paul Holden [Wed, 13 May 2020 23:14:52 +0000 (00:14 +0100)]
MDL-68569 customfield_select: get field options via instance method.
Deprecate the previous static method, which was only called from
instantiated field classes.
Mikhail Golenkov [Tue, 25 Aug 2020 06:49:20 +0000 (16:49 +1000)]
MDL-67211 Tasks: Add cron_enabled setting.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
Mikhail Golenkov [Thu, 13 Aug 2020 07:44:13 +0000 (17:44 +1000)]
MDL-67211 Tasks: Front-end to display currently running tasks.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
Mikhail Golenkov [Thu, 13 Aug 2020 08:25:50 +0000 (18:25 +1000)]
MDL-67211 Tasks: Record when a task is running.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
Andrew Nicols [Tue, 25 Aug 2020 05:21:26 +0000 (13:21 +0800)]
MDL-69464 core_output: Whitespace fix
Marina Glancy [Thu, 13 Aug 2020 10:23:33 +0000 (12:23 +0200)]
MDL-69464 core_output: allow to avoid formatting in page->set_heading
Adrian Greeve [Tue, 25 Aug 2020 01:43:31 +0000 (09:43 +0800)]
Merge branch 'MDL-68921-310' of git://github.com/vmdef/moodle into MOODLE_310_STABLE
Victor Deniz Falcon [Thu, 6 Aug 2020 11:17:12 +0000 (12:17 +0100)]
MDL-68921 core_h5p: Add H5P libraries metadata settings
An upgrade step updates installed H5P libraries
Helen Foster [Fri, 21 Aug 2020 12:12:57 +0000 (14:12 +0200)]
MDL-69501 lang: Import fixed English strings (en_fix)
Neill Magill [Fri, 9 Aug 2019 14:20:16 +0000 (15:20 +0100)]
MDL-64525 comments: Should not be able to delete frozen comments
Before this change in a frozen context a user would be able to delete
their own comments.
After this change a user will only be able to delete their own comments
if they still have the capability to post new comments or the capability
to delete comments from any user.
Neill Magill [Fri, 9 Aug 2019 15:06:53 +0000 (16:06 +0100)]
MDL-64525 comments: Tests for deleting frozen comments
Mihail Geshoski [Mon, 24 Aug 2020 06:03:52 +0000 (14:03 +0800)]
MDL-69479 core: Change 4.0 to 3.10 in theme/upgrade.txt