Juan Leyva
39c8e99e67
MDL-69776 files: New WS core_files_delete_draft_files
2020-09-25 10:38:25 +02:00
Paul Holden
833ab0ea9f
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:54 +01:00
David Mudrák
972340b678
MDL-69050 lang: Stop using the term blacklist in mustache output engine
2020-09-24 19:39:36 +02:00
David Mudrák
b18b714165
MDL-69050 lang: Fix variable name and comment in core-notification YUI
2020-09-24 19:33:36 +02:00
David Mudrák
781545d34d
MDL-69050 lang: Rename and deprecate filetypes_util methods
2020-09-24 19:33:32 +02:00
David Mudrák
19fe7f27a8
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:32:40 +02:00
David Mudrák
fd18dc14ff
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:32:40 +02:00
David Mudrák
9ef6492e5d
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:32:39 +02:00
David Mudrák
41ad54e182
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:32:39 +02:00
David Mudrák
56adf1f3d8
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:29 +02:00
Eloy Lafuente (stronk7)
a0f377cf2b
Merge branch 'MDL-69698-310-licensecache' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
2020-09-24 16:50:39 +02:00
Eloy Lafuente (stronk7)
7905d70497
Merge branch 'MDL-69718-display-size-MOODLE_310_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_310_STABLE
2020-09-24 16:39:26 +02:00
Vitaly
7f177d440c
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-24 10:29:31 +03:00
Bas Brands
486aa319c2
MDL-69454 core_search: consistent backup search
2020-09-23 17:36:15 +02:00
Bas Brands
a88f50d1b2
MDL-69454 core_search: consistent template library search
2020-09-23 17:36:15 +02:00
Bas Brands
e9435e8f6d
MDL-69454 core_search: consistent mod searches
2020-09-23 17:36:14 +02:00
Bas Brands
a5cd815635
MDL-69454 core_search: consistent admin search
2020-09-23 17:36:14 +02:00
Bas Brands
1fdb4fda4a
MDL-69454 core_search: consistent navbar search
2020-09-23 17:36:14 +02:00
Dani Palou
f9f289f69d
MDL-68098 tests: Reset FILTERLIB_PRIVATE after tests
2020-09-23 12:09:08 +02:00
Dani Palou
e16b858ff9
MDL-68098 ws: Add unit tests to test mathjax in WS
2020-09-23 12:08:52 +02:00
Dani Palou
f4bdb898c7
MDL-68098 ws: Fix WebServices broken by filters HTML
2020-09-23 12:08:40 +02:00
Eloy Lafuente (stronk7)
6d73afb2bf
Merge branch 'MDL-66934-coursehistory-310' of https://github.com/cengage/moodle into MOODLE_310_STABLE
2020-09-22 14:40:12 +02:00
Eloy Lafuente (stronk7)
82a1e8fae7
Merge branch 'MDL-66648-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
2020-09-21 23:36:22 +02:00
Brendan Heywood
c36d5093e3
MDL-69718 core: Added support for TB and PT to display_size
2020-09-21 12:55:44 +10:00
Claude Vervoort
fae57261e7
MDL-66934 mod_lti: support context history param
2020-09-18 14:06:58 -04:00
Sara Arjona
fb5e3957be
Merge branch 'MDL-69548-310' of git://github.com/mickhawkins/moodle into MOODLE_310_STABLE
2020-09-18 09:41:10 +02:00
Michael Hawkins
54524f1ff0
MDL-69548 core: Adding the http-message library
...
This is a dependency of ZipStream
2020-09-18 10:03:22 +08:00
Michael Hawkins
bbfbe8e260
MDL-69548 core: Adding the php-enum library
...
This is a dependency of ZipStream
2020-09-18 10:03:22 +08:00
Michael Hawkins
cfe02e4d3e
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-18 10:03:22 +08:00
David Mudrák
321de29e93
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:28 +02:00
Eloy Lafuente (stronk7)
7254648363
Merge branch 'MDL-68909-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE
...
Bump version to 2020091000.02 (01 was already current)
2020-09-17 09:17:20 +02:00
Eloy Lafuente (stronk7)
cb82c4d901
Merge branch 'MDL-69395-310' of git://github.com/bmbrands/moodle into MOODLE_310_STABLE
2020-09-17 09:16:52 +02:00
Jun Pataleta
29e56fef72
Merge branch 'MDL-69663-m310' of https://github.com/sammarshallou/moodle into MOODLE_310_STABLE
2020-09-17 09:16:52 +02:00
Sara Arjona
7805d0bb44
MDL-68909 h5p: move temporary editor files to draft area
2020-09-17 09:16:51 +02:00
Sara Arjona
6fcc509ed1
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-17 09:16:49 +02:00
David Mudrák
fbae45d7c9
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:35:34 +02:00
David Mudrák
a398a60092
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:35:34 +02:00
Paul Holden
1aa7c68c6f
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:05 +01:00
Davo Smith
23efc7337a
MDL-68564 outputrenderers: extend before_footer hook to allow output
2020-09-14 11:00:36 +01:00
sam marshall
c94b6b2ab7
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:50:50 +01:00
Bas Brands
3d08cd2272
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 13:41:32 +02:00
Sara Arjona
83a5ed90ce
Merge branch 'MDL-69466-3.10' of https://github.com/JBThong/moodle into MOODLE_310_STABLE
2020-09-09 11:39:16 +02:00
Thong Bui
fcbca18c7b
MDL-69466 Autocomplete widget: Improve keyboard accessibility
2020-09-09 13:44:23 +07:00
Sara Arjona
c83543095a
Merge branch 'MDL-69521_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
2020-09-09 08:08:29 +02:00
Eloy Lafuente (stronk7)
84bcfbb0d5
MDL-69521 core: Move all comments in code from 4.4 to 4.2
2020-09-08 19:01:42 +02:00
Eloy Lafuente (stronk7)
e419e7acba
MDL-69521 core: Move all comments in code from 4.3 to 4.1
2020-09-08 19:01:41 +02:00
Eloy Lafuente (stronk7)
309aad5a82
MDL-69521 core: Move all comments in code from 4.2 to 4.0
2020-09-08 19:01:41 +02:00
Eloy Lafuente (stronk7)
8452418666
MDL-69521 core: Move all comments in code from 4.1 to 3.11
2020-09-08 19:01:36 +02:00
Sara Arjona
bd0de2d965
Merge branch 'MDL-69525-310-1' of git://github.com/mihailges/moodle into MOODLE_310_STABLE
2020-09-08 14:21:46 +02:00
Andrew Nicols
7d990ee185
MDL-68974 blocks: Check permission before generating content
2020-09-08 08:54:33 +02:00