27618 Commits

Author SHA1 Message Date
Sara Arjona
6d4e245b7c MDL-68909 h5p: upgrade step to remove files in editor filearea
As temporary editor files have been moved from core_h5p/editor to
user/draft, they can be removed (to clean unused DB entries).
2020-09-10 13:41:45 +02:00
Sara Arjona
de1b21a3bf Merge branch 'MDL-69466-master' of https://github.com/JBThong/moodle into master 2020-09-09 11:39:05 +02:00
Thong Bui
f5cb4b9b5e MDL-69466 Autocomplete widget: Improve keyboard accessibility 2020-09-09 13:47:19 +07:00
Sara Arjona
7c99f40d61 Merge branch 'MDL-69521' of https://github.com/stronk7/moodle into master 2020-09-09 08:08:06 +02:00
Eloy Lafuente (stronk7)
19070b2e01 MDL-69521 core: Move all comments in code from 4.4 to 4.2 2020-09-08 18:59:47 +02:00
Eloy Lafuente (stronk7)
432b9a9075 MDL-69521 core: Move all comments in code from 4.3 to 4.1 2020-09-08 18:59:46 +02:00
Eloy Lafuente (stronk7)
2b766e57b6 MDL-69521 core: Move all comments in code from 4.2 to 4.0 2020-09-08 18:59:46 +02:00
Eloy Lafuente (stronk7)
74ee34fd87 MDL-69521 core: Move all comments in code from 4.1 to 3.11 2020-09-08 18:59:30 +02:00
Sara Arjona
3a66b4771f Merge branch 'MDL-69525-master-1' of git://github.com/mihailges/moodle into master 2020-09-08 14:21:37 +02:00
Andrew Nicols
5c91f31d2e MDL-68974 blocks: Check permission before generating content 2020-09-08 08:54:26 +02:00
Mihail Geshoski
cb72d845f5 MDL-65115 repository: Prevent unzipping if it will exceed allowed quota 2020-09-08 08:54:26 +02:00
Mihail Geshoski
09a55f952e MDL-65115 core_files: Add get_total_content_size() in stored_file class
New function get_total_content_size() is introduced in the stored_file
class. The puprose of this function is to calculate and return the
total size (in bytes) of the content of an archive file.
2020-09-08 08:54:26 +02:00
Andrew Nicols
303119ad5b MDL-68974 admin: Unit tests for context parent/child test 2020-09-08 08:54:26 +02:00
Andrew Nicols
c8283518ad MDL-68974 admin: Unit tests for loginas 2020-09-08 08:54:26 +02:00
Andrew Nicols
81bb3a65b1 MDL-68974 admin: Prevent login as outside of the desired context 2020-09-08 08:54:26 +02:00
Sara Arjona
bb0eafb014 Merge branch 'MDL-68344-master' of https://github.com/JBThong/moodle into master 2020-09-08 08:44:46 +02:00
Eloy Lafuente (stronk7)
afb05bf276 Merge branch 'MDL-69262-master-2' of git://github.com/junpataleta/moodle into master 2020-09-07 23:42:45 +02:00
Eloy Lafuente (stronk7)
dfc09fc300 Merge branch 'MDL-69448' of https://github.com/paulholden/moodle into master 2020-09-07 23:25:49 +02:00
Mathew May
ee94aded30 MDL-63261 messaging: Final 3.6 deprecations 2020-09-07 09:10:46 +08:00
Eloy Lafuente (stronk7)
6a60111199 MDL-69521 core: Move all comments in code from 4.0 to 3.10 2020-09-06 17:00:25 +02:00
Paul Holden
404eabc7b5 MDL-69448 backup: fix capability checks when unable to copy user data.
When a given user doesn't have the capability to "Include user data"
during course copying, freeze the form element rather than not adding
it at all.

This caused problems as the element was required before preceding with
the course copy.
2020-09-04 08:19:53 +01:00
Thong Bui
fb75fd0396 MDL-68344 filepicker: File Picker focus lost on upload 2020-09-04 09:30:59 +07:00
Andrew Nicols
a4d1e0f597 Merge branch 'MDL-69360-master' of git://github.com/NoelDeMartin/moodle 2020-09-03 10:44:31 +08:00
Andrew Nicols
2f7792a0da MDL-69117 output: Correct remove_dir usage 2020-09-03 09:01:32 +08:00
Andrew Nicols
695a7f2ddf Merge branch 'MDL-69117-master-2' of git://github.com/bmbrands/moodle 2020-09-03 08:38:54 +08:00
Eloy Lafuente (stronk7)
e02e90fa52 Merge branch 'MDL-55971' of https://github.com/paulholden/moodle into master 2020-09-03 00:50:39 +02:00
Peter Burnett
309f54bf81 MDL-67306 webservices: Added webservice for Grade category creation 2020-09-03 00:20:44 +02:00
Sara Arjona
cf4841cfdb Merge branch '67278-master-categories-selector' of https://github.com/DSI-Universite-Rennes2/moodle into master 2020-09-02 17:37:15 +02:00
Sara Arjona
52cccf7e77 Merge branch 'MDL-68680-Master' of https://github.com/tuanngocnguyen/moodle into master 2020-09-02 17:15:53 +02:00
Julien Boulen
93d7220587 MDL-67278 course: Use autocomplete widget for course category selector 2020-09-02 15:30:34 +02:00
Bas Brands
a158714284 MDL-69117 theme_boost: themedesigner source maps 2020-09-02 12:14:13 +02:00
Noel De Martin
7440ed4ebc MDL-69360 behat: Fix js ready checks for non-moodle sites 2020-09-02 10:19:51 +02:00
Andrew Nicols
39ae77ca65 Merge branch 'MDL-67419-master' of git://github.com/farhan6318/moodle 2020-09-02 08:54:27 +08:00
Sara Arjona
c9bd1a6652 Merge branch 'MDL-63387-2' of https://github.com/paulholden/moodle into master 2020-09-01 16:58:00 +02:00
Paul Holden
a9165e69b4 MDL-63387 access: add parameter to define how role names are returned. 2020-09-01 12:05:15 +01:00
Mihail Geshoski
775dea63e9 MDL-69525 core: Publish a single event when toggling slave checkboxes 2020-09-01 14:42:15 +08:00
Andrew Nicols
7df5b8ed1c Merge branch 'MDL-69507' of https://github.com/timhunt/moodle 2020-09-01 11:11:07 +08:00
Sara Arjona
124a368a11 Merge branch 'MDL-38350-master' of https://github.com/sammarshallou/moodle into master 2020-09-01 07:26:42 +08:00
Andrew Nicols
1b0bd27ae1 Merge branch 'MDL-69505-master' of https://github.com/snake/moodle 2020-09-01 07:26:02 +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
Sara Arjona
66455e02d8 MDL-69269 contentbank: add support to download content 2020-08-28 12:28:13 +02:00
Nathan Nguyen
293760a4b5 MDL-68680 core_grades: check grade item before trigger delete event 2020-08-28 08:58:20 +10: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
Adrian Greeve
134cdddfc4 Merge branch 'MDL-69479-master' of git://github.com/mihailges/moodle 2020-08-27 11:41:10 +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
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