27750 Commits

Author SHA1 Message Date
David Mudrák
7bd57c30a1 MDL-69772 lang: Ignore misconfigured allcountrycodes filter
If the allcountrycodes filter contains only invalid values, ignore the
whole filter setting and make get_list_of_countries() return the full
list of all known countries, rather than empty list.
2020-09-24 18:14:43 +02:00
Eloy Lafuente (stronk7)
98aadb040f Merge branch 'MDL-69698-master-licensecache' of git://github.com/mudrd8mz/moodle into master 2020-09-24 16:50:30 +02:00
Eloy Lafuente (stronk7)
b583ce1826 Merge branch 'MDL-69718-display-size' of https://github.com/brendanheywood/moodle into master 2020-09-24 16:39:16 +02:00
Eloy Lafuente (stronk7)
c43dac4e36 Merge branch 'MDL-69454-master' of git://github.com/bmbrands/moodle into master 2020-09-23 17:10:35 +02:00
Dani Palou
703af2f91b MDL-68098 tests: Reset FILTERLIB_PRIVATE after tests 2020-09-23 11:18:41 +02:00
Dani Palou
25bc7a3d6b MDL-68098 ws: Add unit tests to test mathjax in WS 2020-09-23 11:18:41 +02:00
Eloy Lafuente (stronk7)
89c6402ba0 Merge branch 'MDL-66934-coursehistory' of https://github.com/cengage/moodle into master 2020-09-22 14:38:42 +02:00
Dani Palou
8c84eeeeac MDL-68098 ws: Fix WebServices broken by filters HTML 2020-09-22 09:43:03 +02:00
Eloy Lafuente (stronk7)
57ec55328a Merge branch 'MDL-66648' of https://github.com/paulholden/moodle into master 2020-09-21 23:36:14 +02:00
Vitaly
3a4af1eb4c MDL-69342 core_user: fixed user picture updating
When editing a user and checking the 'Delete picture' checkbox to delete
the old picture and uploading a new one at a time, the new one didn't appear
in the user profile. This happened due to the 'if/else' statement
in the 'core_user::update_picture()' method which allowed either to delete
the old picture or to upload a new one.
The fix removes the 'else' part of the 'if/else' statement to force
checking for a new uploaded picture no matter if a user checked
the 'Delete picture' checkbox or not.
2020-09-21 23:15:23 +03:00
Bas Brands
eb9935c909 MDL-69454 core_search: consistent backup search 2020-09-21 13:41:05 +02:00
Bas Brands
661d6d7dd3 MDL-69454 core_search: consistent template library search 2020-09-21 11:54:52 +02:00
Bas Brands
4c71e1d0d0 MDL-69454 core_search: consistent mod searches 2020-09-21 11:54:51 +02:00
Bas Brands
ebfee99d90 MDL-69454 core_search: consistent admin search 2020-09-21 10:15:11 +02:00
Bas Brands
1a2a52d121 MDL-69454 core_search: consistent navbar search 2020-09-21 10:15:11 +02:00
Brendan Heywood
6e935cc29c MDL-69718 core: Added support for TB and PT to display_size 2020-09-21 11:02:16 +10:00
Claude Vervoort
5b8c646e68 MDL-66934 mod_lti: support context history param 2020-09-18 14:11:34 -04:00
Sara Arjona
1752b44d4a Merge branch 'MDL-69548-master' of git://github.com/mickhawkins/moodle into master 2020-09-18 09:40:35 +02:00
Michael Hawkins
5dc3df0e0c MDL-69548 core: Adding the http-message library
This is a dependency of ZipStream
2020-09-18 10:01:09 +08:00
David Mudrák
af30f18a19 MDL-69355 file: Do not attempt to set headers after output started
It was found out that in certain situations there may be some content
in to output handlers buffers. Let's allow that to happen given that:

* default handler's buffer is not sent as a part of the file and an
  error is reported into the server log.
* other handlers' buffer is sent with the assumption that it is required
  for the correct serving of the file.
2020-09-17 17:37:43 +02:00
Eloy Lafuente (stronk7)
e390babcf9 Merge branch 'MDL-68909-master' of git://github.com/sarjona/moodle into master 2020-09-17 08:43:51 +02:00
Eloy Lafuente (stronk7)
6e6a1785df Merge branch 'MDL-69395-master' of git://github.com/bmbrands/moodle into master 2020-09-17 08:43:51 +02:00
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