Commit graph

27928 commits

Author SHA1 Message Date
Jun Pataleta
9e8e1002e8 Merge branch 'MDL-69663-master' of https://github.com/sammarshallou/moodle 2020-09-17 08:43:51 +02:00
Davo Smith
6ea01b6e99 MDL-68564 outputrenderers: extend before_footer hook to allow output 2020-09-17 08:43:51 +02:00
Michael Hawkins
8eee0f5e26 MDL-69548 core: Adding the php-enum library
This is a dependency of ZipStream
2020-09-17 14:16:59 +08:00
Michael Hawkins
6d3c27fe7f MDL-69548 core: Adding the ZipStream library
This allows downloading of zip files as a stream, and will be used by
the Download course content project (MDL-69540).
2020-09-17 14:16:59 +08:00
David Mudrák
be2015a176 MDL-69698 licenses: Improve the performance of the licenses cache
The cache uses a single simple key and there is no need to hash it.
2020-09-15 10:37:06 +02:00
David Mudrák
036c583800 MDL-69698 licenses: Do not cache the localised licenses fullnames
The localisation must happen only after loading the list of licenses
from cache so that the name is displayed in the current user's preferred
language, not in the language of the user who initiated the cache
rebuild.
2020-09-15 10:37:06 +02:00
Paul Holden
2175216110 MDL-66648 user: consistent checks for linking to full profile.
The access checks for displaying a link to a users' full profile
now match the checks performed on the full profile page itself.
2020-09-14 20:22:07 +01:00
Sara Arjona
67a11150de MDL-68909 h5p: move temporary editor files to draft area 2020-09-10 13:42:16 +02:00
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
sam marshall
aa823d1c23 MDL-69663 Web services: override_webservice_execution not honoured
If two different plugin types (e.g. theme, local) implement
override_webservice_execution callbacks, then all of them except
the 'last' plugin type do not work correctly.
2020-09-10 09:48:31 +01: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
Bas Brands
609d8b380e MDL-69395 theme_boost: improve colour contrast for form input fields
- for this issue the atto styles.css was moved into theme boost so
we can use our preset variable for $gray-500
2020-09-09 09:59:08 +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