98922 Commits

Author SHA1 Message Date
Andrew Nicols
2eef2b2982 Merge branch 'MDL-33981-Master' of https://github.com/tuanngocnguyen/moodle 2020-08-31 10:39:29 +08:00
Jake Dallimore
9ccf833ec1 MDL-69505 core_form: fix js min/max date restriction in dateselector
This was using the yui2-calendar attribute, not the yui 3 attribute.
2020-08-31 08:03:33 +08:00
Ferran Recio
bcea21d894 MDL-68892 mod_h5pactivity: add required to package 2020-08-28 17:44:38 +02:00
Gareth Barnard
68e5f006e9
MDL-69491 themes: No 'fontsize' setting in Boost causes unit conflict. 2020-08-28 14:12:08 +01:00
Sara Arjona
66455e02d8 MDL-69269 contentbank: add support to download content 2020-08-28 12:28:13 +02:00
Sara Arjona
f5b4ac4d2e 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.
2020-08-28 12:25:51 +02:00
Marina Glancy
5889858cc5 MDL-55340 mod_feedback: export question labels
This was present in export in 3.0 but got lost during export
refactoring in 3.1
2020-08-28 12:24:28 +02:00
Andrew Nicols
3d7fd2f42f Merge branch 'MDL-69112-master' of git://github.com/merrill-oakland/moodle 2020-08-28 13:25:27 +08:00
Dmitrii Metelkin
f52114addb MDL-69418 backup: attach data to grade items 2020-08-28 09:36:12 +10:00
Nathan Nguyen
293760a4b5 MDL-68680 core_grades: check grade item before trigger delete event 2020-08-28 08:58:20 +10:00
Paul Holden
0514b5749c MDL-56595 tool_usertours: set page params when configuring tours/steps. 2020-08-27 23:08:27 +01:00
Tim Hunt
de3d216c5a 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.
2020-08-27 17:37:31 +01:00
Sara Arjona
38abfb6a01 weekly release 4.0dev 2020-08-27 17:36:17 +02:00
Sara Arjona
b8507a3c41 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install into master 2020-08-27 17:36:14 +02:00
Jun Pataleta
6d0a5559ee MDL-69262 core: Use core/action_menu_link in core/action_menu_trigger
* Introduce the "actionmenulinkclasses" block in the action_menu_link
template so other templates importing it can have the option to override
its classes.
* Have the action menu trigger template use the action menu link
template to reduce code duplication.
2020-08-27 13:29:40 +08:00
Jun Pataleta
7ef7aaecac MDL-69262 core: Make instance count variable as a static class variable
With the static function variable $instance, calls to
\action_menu_link::export_for_template() from its subclasses are stored
in different variables. This causes duplicate IDs when different
implementations of action menu links are rendered on the action menu
trigger/link template. (e.g. action_menu_link and
action_menu_link_secondary both rendered on the same page).
To make the incrementing uniform for the action_menu_link class and its
implementations, the $instance variable is moved out of the
export_to_template() method and is now made to a static class variable.
2020-08-27 13:24:42 +08:00
Andrew Nicols
517ac3f3bb Merge branch 'master-MDL-67211_v6' of https://github.com/golenkovm/moodle 2020-08-27 12:47:59 +08:00
Andrew Nicols
2830f39bc2 Merge branch 'MDL-69458-master' of git://github.com/mihailges/moodle 2020-08-27 12:42:31 +08:00
Adrian Greeve
134cdddfc4 Merge branch 'MDL-69479-master' of git://github.com/mihailges/moodle 2020-08-27 11:41:10 +08:00
Andrew Nicols
4ac58f8810 Merge branch 'MDL-69501-master-enfix' of git://github.com/mudrd8mz/moodle 2020-08-27 11:30:32 +08:00
eWallah
d051b3fc19 MDL-67413 competencies: do nothing upon activity completion 2020-08-27 11:11:51 +08:00
Mikhail Golenkov
674f126d0b MDL-67211 phpunit: Do not test the order of the running adhoc tasks. 2020-08-27 13:02:36 +10:00
Andrew Nicols
2ccf106454 Merge branch 'master-MDL-69358' of https://github.com/golenkovm/moodle 2020-08-27 10:57:19 +08:00
Andrew Nicols
fbf3ca0705 Merge branch 'MDL-66810-master' of git://github.com/peterRd/moodle 2020-08-27 10:21:30 +08:00
Justin Hunt
107a0c9874 MDL-66810 mod_lti: Reinstate deprecated default permissions on iframe
microphone, webcam, camera, midi, encrypted-media, geolocation
2020-08-27 09:43:26 +08:00
Andrew Nicols
08afc79a1f MDL-66222 report_antivirus: Correct version number 2020-08-27 09:43:12 +08:00
Andrew Nicols
e471d82358 Merge branch 'MDL-66222-antivirus-reporting' of https://github.com/Peterburnett/moodle 2020-08-27 09:34:37 +08:00
Adrian Greeve
80326f90c4 Merge branch 'MDL-69419-master' of git://github.com/andrewnicols/moodle 2020-08-27 08:08:51 +08:00
AMOS bot
6c54a4c8b5 Automatically generated installer lang files 2020-08-27 00:07:02 +00:00
Sara Arjona
6d898a7cfa Merge branch 'MDL-69389-master' of git://github.com/junpataleta/moodle into master 2020-08-26 18:02:50 +02:00
Sara Arjona
97c980c319 Merge branch 'MDL-69114-master' of git://github.com/bmbrands/moodle into master 2020-08-26 16:26:52 +02:00
Ferran Recio
c5a8469abb MDL-69270 contentbank: replace content with file 2020-08-26 12:36:27 +02:00
Andrew Nicols
068de8fb79 Merge branch 'master-MDL-69307_v4' of https://github.com/golenkovm/moodle 2020-08-26 14:48:36 +08:00
Mikhail Golenkov
39b65190e2 MDL-69307 restore: Add CLI script to restore a course.
Co-authored-by: Matt Porritt <mattp@catalyst-au.net>
2020-08-26 14:35:21 +10:00
Jun Pataleta
cc7dd09630 MDL-69389 auth: Add wcag141 test for the login page accessibility test 2020-08-26 11:04:57 +08:00
Jun Pataleta
8fcc063acd 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).
2020-08-26 11:04:57 +08:00
Jun Pataleta
b01c8490b6 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).
2020-08-26 11:04:57 +08:00
Jun Pataleta
bb6df88c3c 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!
2020-08-26 11:02:35 +08:00
Jun Pataleta
5f46b735fe 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!
2020-08-26 11:02:35 +08:00
Jun Pataleta
2a43ce5702 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.
2020-08-26 10:59:35 +08:00
Andrew Nicols
72616bfd46 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.
2020-08-26 09:57:47 +08:00
Andrew Nicols
23517d9034 Merge branch 'master-MDL-67211_v6' of https://github.com/golenkovm/moodle 2020-08-26 09:37:16 +08:00
AMOS bot
c01ccb3c26 Automatically generated installer lang files 2020-08-26 00:07:22 +00:00
Paul Holden
b670d3adb6 MDL-55971 dataformat: method to write exports to file storage. 2020-08-25 17:28:55 +01:00
Paul Holden
5f59a478bd MDL-68569 customfield_select: get field options via instance method.
Deprecate the previous static method, which was only called from
instantiated field classes.
2020-08-25 14:51:51 +01:00
Mikhail Golenkov
d7342dc239 MDL-67211 Tasks: Add cron_enabled setting.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
2020-08-25 17:08:57 +10:00
Mikhail Golenkov
45875f6f7b MDL-67211 Tasks: Front-end to display currently running tasks.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
2020-08-25 17:08:47 +10:00
Mikhail Golenkov
b465a541ae MDL-67211 Tasks: Record when a task is running.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
2020-08-25 17:08:03 +10:00
Andrew Nicols
20c84b6cc2 MDL-69464 core_output: Whitespace fix 2020-08-25 13:21:26 +08:00
Andrew Nicols
55f863e012 Merge branch 'MDL-69464' of https://github.com/marinaglancy/moodle 2020-08-25 12:39:48 +08:00