Commit graph

27811 commits

Author SHA1 Message Date
Shamim Rezaie
424e61d559 MDL-69649 form: Fix labels for defaultcustom form elements 2020-09-28 23:41:29 +10:00
Juan Leyva
d2aa3e054f MDL-69283 webservice: New external setting for forcing timezone 2020-09-25 19:08:59 +02:00
Juan Leyva
94a0ee41e7 MDL-69776 files: New WS core_files_delete_draft_files 2020-09-25 10:37:16 +02:00
Paul Holden
582bb534c9 MDL-37802 repository: return error if unzipping files fails.
For instance, when a user tried to unzip a password protected zip
archive using the file manager.
2020-09-25 09:33:44 +01:00
David Mudrák
9ce768008c MDL-69050 lang: Stop using the term blacklist in mustache output engine 2020-09-24 19:41:58 +02:00
David Mudrák
cde6c9d4a8 MDL-69050 lang: Fix variable name and comment in core-notification YUI 2020-09-24 19:41:58 +02:00
David Mudrák
00b6772114 MDL-69050 lang: Rename and deprecate filetypes_util methods 2020-09-24 19:41:58 +02:00
David Mudrák
801ee23427 MDL-69050 lang: Improve the wording of the comments
Stop using the terms whitelist/blacklist when used to allow/deny things.
2020-09-24 19:41:58 +02:00
David Mudrák
f278c69c83 MDL-69050 lang: Rename the filetypesnotwhitelisted string
Rename the string identifier to filetypesnotallowed, copy all the
existing translations in AMOS and deprecate the original string to be
eventually removed.

AMOS BEGIN
 CPY [filetypesnotwhitelisted,core_form],[filetypesnotallowed,core_form]
AMOS END
2020-09-24 19:41:58 +02:00
David Mudrák
dbaeeeb0ec MDL-69050 lang: Fix variables and methods names in curl_security_helper
The code has been using terms that were found exclusive and potentially
derogatory. Fixing the terms and making the variables and methods
consistent with the related admin settings.
2020-09-24 19:41:57 +02:00
David Mudrák
d9dc9ae891 MDL-69050 lang: Fix placeholder in the err_wrongfileextension string
The name of the placeholder has been found exclusive and potentially
derogatory. Also the name of variable that was used to populate the
placeholder value. That was not the intention.
2020-09-24 19:41:57 +02:00
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