Mihail Geshoski
e2a11dc2aa
MDL-65115 repository: Prevent unzipping if it will exceed allowed quota
2020-09-08 08:54:33 +02:00
Mihail Geshoski
a2a6303397
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:33 +02:00
Andrew Nicols
6c4cdd6d96
MDL-68974 admin: Unit tests for context parent/child test
2020-09-08 08:54:33 +02:00
Andrew Nicols
4bb41b4e5a
MDL-68974 admin: Unit tests for loginas
2020-09-08 08:54:33 +02:00
Andrew Nicols
a937d4d807
MDL-68974 admin: Prevent login as outside of the desired context
2020-09-08 08:54:33 +02:00
Thong Bui
2301f9bfaa
MDL-68344 filepicker: File Picker focus lost on upload
2020-09-08 08:45:09 +02:00
Eloy Lafuente (stronk7)
3452156e6e
Merge branch 'MDL-69262-310-2' of git://github.com/junpataleta/moodle into MOODLE_310_STABLE
2020-09-07 23:42:53 +02:00
Eloy Lafuente (stronk7)
6ef1780225
Merge branch 'MDL-69448-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
2020-09-07 23:26:08 +02:00
Mathew May
1bc2a3b345
MDL-63261 messaging: Final 3.6 deprecations
2020-09-07 09:09:07 +08:00
Eloy Lafuente (stronk7)
709b46dbfd
MDL-69521 core: Move all comments in code from 4.0 to 3.10
2020-09-06 17:23:58 +02:00
Paul Holden
f2b1242364
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:20:04 +01:00
Andrew Nicols
c8221dedcd
Merge branch 'MDL-69360-310' of git://github.com/NoelDeMartin/moodle into MOODLE_310_STABLE
2020-09-03 10:52:02 +08:00
Andrew Nicols
3e1c856bd9
MDL-69117 output: Correct remove_dir usage
2020-09-03 09:01:43 +08:00
Bas Brands
cce23499e6
MDL-69117 theme_boost: themedesigner source maps
2020-09-03 08:40:41 +08:00
Eloy Lafuente (stronk7)
4ca7232b1f
Merge branch 'MDL-55971-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
2020-09-03 00:51:33 +02:00
Peter Burnett
ded581156a
MDL-67306 webservices: Added webservice for Grade category creation
2020-09-03 00:21:44 +02:00
Sara Arjona
893cf77d33
Merge branch '67278-moodle-310-categories-selector' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_310_STABLE
2020-09-02 17:37:24 +02:00
Sara Arjona
e66f450c8f
Merge branch 'MDL-68680-MOODLE_310_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_310_STABLE
2020-09-02 17:16:01 +02:00
Julien Boulen
f9f41f5061
MDL-67278 course: Use autocomplete widget for course category selector
2020-09-02 16:00:20 +02:00
Noel De Martin
d8892dcca3
MDL-69360 behat: Fix js ready checks for non-moodle sites
2020-09-02 10:20:28 +02:00
Farhan Karmali
d179137f1b
MDL-67419 admin: New admin setting for lang during user creation
2020-09-02 08:54:47 +08:00
Sara Arjona
a244344e2e
Merge branch 'MDL-63387-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
2020-09-01 16:58:15 +02:00
Paul Holden
e4d86a6ec4
MDL-63387 access: add parameter to define how role names are returned.
2020-09-01 12:04:47 +01:00
Mihail Geshoski
4d6b3406c5
MDL-69525 core: Publish a single event when toggling slave checkboxes
2020-09-01 14:53:54 +08:00
Andrew Nicols
0713666486
Merge branch 'MDL-69507_310' of https://github.com/timhunt/moodle into MOODLE_310_STABLE
2020-09-01 11:15:55 +08:00
Sara Arjona
e83fad7382
Merge branch 'MDL-38350-m310' of https://github.com/sammarshallou/moodle into MOODLE_310_STABLE
2020-09-01 07:28:40 +08:00
Andrew Nicols
c7e5431086
Merge branch 'MDL-69505-310' of https://github.com/snake/moodle into MOODLE_310_STABLE
2020-09-01 07:28:27 +08:00
Jake Dallimore
fbcc91236e
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 07:57:50 +08:00
Sara Arjona
c3a4859c7d
MDL-69269 contentbank: add support to download content
2020-08-28 12:29:03 +02:00
Nathan Nguyen
d7113bee4e
MDL-68680 core_grades: check grade item before trigger delete event
2020-08-28 11:40:31 +10:00
Jun Pataleta
09646d7b53
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:30:32 +08:00
Jun Pataleta
9211552660
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:30:32 +08:00
Andrew Nicols
f51678c56a
Merge branch 'MOODLE_310_MDL-67211_v6' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
2020-08-27 12:48:33 +08:00
Adrian Greeve
dddff390da
Merge branch 'MDL-69479-310' of git://github.com/mihailges/moodle into MOODLE_310_STABLE
2020-08-27 11:40:11 +08:00
Mikhail Golenkov
ae12edc741
MDL-67211 phpunit: Do not test the order of the running adhoc tasks.
2020-08-27 13:03:49 +10:00
Mikhail Golenkov
5934444b27
MDL-69358 backup: Do not clean up records for incomplete adhoc tasks.
...
Co-authored-by: Heena Agheda <heenaagheda@catalyst-au.net>
2020-08-27 10:57:48 +08:00
Andrew Nicols
3114d04721
Merge branch 'MDL-66222-antivirus-reporting' of https://github.com/Peterburnett/moodle into MOODLE_310_STABLE
2020-08-27 09:36:33 +08:00
Adrian Greeve
e78b9f9574
Merge branch 'MDL-69419-310' of git://github.com/andrewnicols/moodle into MOODLE_310_STABLE
2020-08-27 08:08:07 +08:00
Andrew Nicols
4d03cc37b2
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:58:22 +08:00
Andrew Nicols
195e7c9cf1
Merge branch 'MOODLE_310_MDL-67211_v6' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
2020-08-26 09:41:07 +08:00
Paul Holden
1ffb6b09ee
MDL-55971 dataformat: method to write exports to file storage.
2020-08-25 17:30:51 +01:00
Mikhail Golenkov
e419e18f0d
MDL-67211 Tasks: Add cron_enabled setting.
...
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
2020-08-25 17:01:00 +10:00
Mikhail Golenkov
59a5923924
MDL-67211 Tasks: Record when a task is running.
...
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
2020-08-25 16:59:47 +10:00
Andrew Nicols
f2602288eb
MDL-69464 core_output: Whitespace fix
2020-08-25 13:22:36 +08:00
Marina Glancy
4413ca209f
MDL-69464 core_output: allow to avoid formatting in page->set_heading
2020-08-25 13:22:36 +08:00
Adrian Greeve
427f046cff
Merge branch 'MDL-68921-310' of git://github.com/vmdef/moodle into MOODLE_310_STABLE
2020-08-25 09:43:31 +08:00
Victor Deniz Falcon
e29edbe89e
MDL-68921 core_h5p: Add H5P libraries metadata settings
...
An upgrade step updates installed H5P libraries
2020-08-25 00:30:02 +01:00
Eloy Lafuente (stronk7)
fe9ecef92b
MDL-69479 upgrade: Change all 4.0 occurrences to 3.10
...
Under parallel development, when something is worth being commented
in upgrade.txt notes, it will be applied to all the development branches
using the "earliest" one to be released. So, if something changes
in 3.10 (and also is applied to master), the upgrade.txt notes will
show 3.10 in both branches.
Of course, if something only goes to one dev branch (say master), then the
master version will be used in the notes (4.0 in this case).
2020-08-24 14:08:46 +08:00
Adrian Greeve
4b327e1109
MDL-68683 competencies: Update previous bad bump update.
...
I made a mistake with the previous version bump and updated the
line below what I should have changed. This fixes it to the
intended version numbers.
2020-08-21 14:41:09 +08:00
Peter Burnett
8e0e99e4fd
MDL-66222 antivirus: Improved error email capture
2020-08-21 12:21:09 +10:00