Brendan Heywood
93a60507fc
MDL-69779 core: Improved the X-Redirect-By header when debugging is on
2020-10-11 09:50:21 +11:00
Paul Holden
604f19afd6
MDL-69825 admin: externalpage class using a callback for access check.
...
Co-Authored-By: Marina Glancy <marina@moodle.com>
2020-10-09 15:09:05 +01:00
David Mudrák
bda1473afa
MDL-69906 admin: Display Setup search engine as link only if it is valid
...
We use auto-generated admin section name here so we need to check that
the target section actually exists.
2020-10-09 14:16:29 +02:00
Jun Pataleta
b5fe033b18
Merge branch 'MDL-69740_310' of https://github.com/timhunt/moodle into MOODLE_310_STABLE
2020-10-09 11:56:44 +08:00
Paul Holden
31efbf2e0e
MDL-69897 repository: add heading to delete file modal.
2020-10-08 20:29:48 +01:00
Andrew Nicols
c562848596
MDL-69192 mod_assign: Stop clicking OK on non-existent modal
2020-10-08 08:04:43 +08:00
Eloy Lafuente (stronk7)
74efdb135d
Merge branch 'MDL-69760-MOODLE_310_STABLE' of https://github.com/inkjet2000/moodle into MOODLE_310_STABLE
2020-10-08 00:25:14 +02:00
Justin Merrill
52a84caaaa
MDL-69760 core: add mdl_event index for assign adhoc tasks
2020-10-07 09:18:24 -04:00
Adrian Greeve
fd532533dd
Merge branch 'MDL-59510-310' of https://github.com/snake/moodle into MOODLE_310_STABLE
2020-10-07 09:58:52 +08:00
Víctor Déniz
d6806beb3e
Merge branch 'MDL-62678-core-fetch-notifications-MOODLE_310_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_310_STABLE
2020-10-06 22:58:45 +01:00
Eloy Lafuente (stronk7)
9ab387d707
Merge branch 'MDL-69746-MOODLE_310_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_310_STABLE
2020-10-06 23:53:22 +02:00
Eloy Lafuente (stronk7)
38bcf316ee
Merge branch 'MDL-69772-310-allcountrycodes' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
2020-10-06 00:04:05 +02:00
Sara Arjona
ef3720efbd
Merge branch 'MDL-69355-310-filebuffer' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
2020-10-05 18:33:45 +02:00
Jake Dallimore
eb6b828b81
MDL-59510 core: report oauth2_refresh_token table in core provider
2020-10-05 09:17:14 +08:00
Jake Dallimore
8b09853319
MDL-59510 core_oauth2: add autorefresh mode to oauth2\client
...
Changes:
- The client can now be instantiated with the new mode enabled.
- A user refresh token will be stored if returned as part of the
authorization_code grant but only if the user is authenticated and only
if the mode is enabled.
- If the mode permits it, attempt to exchange a stored refresh token for
a new access token during login checks, allowing access to continue
across sessions without the need to re-grant consent every time.
- Purge all refresh tokens for a given user, issuer and scope on client
log out. This makes sure logout persists across logins.
2020-10-05 09:17:14 +08:00
Jake Dallimore
fe1031244b
MDL-59510 core_oauth2: add oauth2_refresh_token table
2020-10-05 09:17:14 +08:00
Tim Hunt
477fb6c9d6
MDL-69740 Behat init: more progress info at the end of the install
2020-10-02 23:16:23 +01:00
Nathan Nguyen
18871c74e2
MDL-69746 tool_replace: additional skip tables
2020-10-02 15:00:18 +10:00
Sara Arjona
d5e30e0108
Merge branch 'MDL-69638_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
2020-10-01 15:01:56 +02:00
Sara Arjona
7db1a61a72
Merge branch 'MDL-69050-310-allowlist' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
2020-10-01 14:51:12 +02:00
David Mudrák
d335530a28
MDL-69772 admin: Better validation for the allcountrycodes setting
...
The patch introduces a new admin_setting fiela type that can be used for
specifying comma separated list of countries. The field has inbuilt
validation so that only valid country codes can be inserted.
2020-10-01 13:38:48 +02:00
Sara Arjona
e2a73965ca
Merge branch 'MDL-68098-310' of git://github.com/dpalou/moodle into MOODLE_310_STABLE
2020-10-01 12:56:23 +02:00
Jake Dallimore
b235c3a5a7
Merge branch 'MDL-69573-MOODLE_310_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_310_STABLE
2020-10-01 12:20:29 +08:00
Matteo Scaramuccia
6658d9fba1
MDL-68536 core: Fix notice about undefined prop 'branch' in $CFG
2020-09-30 14:43:42 +02:00
Nathan Nguyen
85f136094b
MDL-69573 core_course: Make MAX_COURSES_IN_CATEGORY configurable
2020-09-30 16:04:55 +10:00
Adrian Greeve
1c55d84794
Merge branch 'MDL-37802-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
2020-09-30 13:51:31 +08:00
Brendan Heywood
3ac504fd3d
MDL-62678 core: Improve efficiency of notifications and avoid ajax call
2020-09-30 13:56:29 +10:00
Jake Dallimore
1f25df48b1
Merge branch 'MDL-68845-310' of git://github.com/jleyva/moodle into MOODLE_310_STABLE
2020-09-30 11:45:43 +08:00
Eloy Lafuente (stronk7)
0e8d14f4e9
MDL-69638 install: update the list of stale files for 3.10
2020-09-29 22:37:56 +02:00
Sara Arjona
4ea44f96e5
Merge branch 'MDL-69342-310_profile_picture_deletion' of https://github.com/vtos/moodle into MOODLE_310_STABLE
2020-09-29 19:01:05 +02:00
Jun Pataleta
3b03a3da47
Merge branch 'MDL-69600-divertemails-MOODLE_310_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_310_STABLE
2020-09-29 20:27:36 +08:00
Juan Leyva
b294665c21
MDL-65976 completion: New course completion message provider
2020-09-29 13:41:49 +02:00
Brendan Heywood
2b50abffa2
MDL-69707 session: Avoid redis writes if the session is unchanged
2020-09-29 20:46:25 +10:00
Brendan Heywood
acb848cdce
MDL-69600 core: Expose divertallemails config in UI
2020-09-29 20:30:09 +10:00
Juan Leyva
cc16de4ccc
MDL-68845 calendar: New WS get_calendar_export_token
2020-09-29 10:56:29 +02:00
Shamim Rezaie
adac2a9e55
MDL-69649 form: Fix labels for defaultcustom form elements
2020-09-28 23:43:01 +10:00
Juan Leyva
9b64c178dd
MDL-69283 webservice: New external setting for forcing timezone
2020-09-25 19:09:50 +02:00
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