Commit graph

28190 commits

Author SHA1 Message Date
Víctor Déniz
c064f06ea1 Merge branch 'MDL-62678-core-fetch-notifications' of https://github.com/brendanheywood/moodle 2020-10-06 22:59:24 +01:00
Eloy Lafuente (stronk7)
202a4cc6b8 Merge branch 'MDL-69746-Master' of https://github.com/tuanngocnguyen/moodle into master 2020-10-06 23:53:14 +02:00
Eloy Lafuente (stronk7)
9427ae82ce Merge branch 'MDL-69772-master-allcountrycodes' of git://github.com/mudrd8mz/moodle into master 2020-10-06 00:03:54 +02:00
Sara Arjona
134c45e9ee Merge branch 'MDL-69355-master-filebuffer' of git://github.com/mudrd8mz/moodle into master 2020-10-05 18:33:34 +02:00
Simey Lameze
ac7ceac97e MDL-65743 lib: update moodle library docs 2020-10-05 13:38:31 +08:00
Simey Lameze
1c0baed969 MDL-65743 lib: add XMPPHP namespace and update calls 2020-10-05 13:37:51 +08:00
Simey Lameze
2a0b0df8d3 MDL-65743 lib: upgrade XMPPHP library to v2.2 2020-10-05 13:34:41 +08:00
Jake Dallimore
f5046a5a1d MDL-59510 core: report oauth2_refresh_token table in core provider 2020-10-05 09:19:29 +08:00
Jake Dallimore
0132037427 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:19:29 +08:00
Jake Dallimore
6502c13b4f MDL-59510 core_oauth2: add oauth2_refresh_token table 2020-10-05 09:19:28 +08:00
Tim Hunt
3a048549de MDL-69740 Behat init: more progress info at the end of the install 2020-10-02 23:15:50 +01:00
Nathan Nguyen
6ced7617c5 MDL-69746 tool_replace: additional skip tables 2020-10-02 14:57:18 +10:00
Sara Arjona
f2e84d4da3 Merge branch 'MDL-69638' of https://github.com/stronk7/moodle into master 2020-10-01 15:01:47 +02:00
Sara Arjona
32f5dbbb80 Merge branch 'MDL-69050-master-allowlist' of git://github.com/mudrd8mz/moodle into master 2020-10-01 14:51:11 +02:00
David Mudrák
659e5282a4 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:39:46 +02:00
Sara Arjona
6bb0262ed8 Merge branch 'MDL-68098-master' of git://github.com/dpalou/moodle into master 2020-10-01 12:56:16 +02:00
Jake Dallimore
0d0c8252d6 Merge branch 'MDL-69573-Master' of https://github.com/tuanngocnguyen/moodle 2020-10-01 12:19:16 +08:00
Matteo Scaramuccia
06cb9117d4 MDL-68536 core: Fix notice about undefined prop 'branch' in $CFG 2020-09-30 14:38:14 +02:00
Nathan Nguyen
10db3a0b0a MDL-69573 core_course: Make MAX_COURSES_IN_CATEGORY configurable 2020-09-30 16:02:39 +10:00
Adrian Greeve
87e858e0df Merge branch 'MDL-37802' of https://github.com/paulholden/moodle 2020-09-30 13:52:26 +08:00
Brendan Heywood
f3844e595e MDL-62678 core: Improve efficiency of notifications and avoid ajax call 2020-09-30 13:55:30 +10:00
Jake Dallimore
9d5e79dbac Merge branch 'MDL-68845-master' of git://github.com/jleyva/moodle 2020-09-30 11:45:06 +08:00
Eloy Lafuente (stronk7)
3cb767f04c MDL-69638 install: update the list of stale files for 3.10 2020-09-29 22:37:52 +02:00
Sara Arjona
0cd27ec8f7 Merge branch 'MDL-69342_profile_picture_deletion' of https://github.com/vtos/moodle into master 2020-09-29 19:00:54 +02:00
Jun Pataleta
83cf43b045 Merge branch 'MDL-69600-divertemails' of https://github.com/brendanheywood/moodle 2020-09-29 20:28:05 +08:00
Juan Leyva
417e5b9f84 MDL-65976 completion: New course completion message provider 2020-09-29 13:40:32 +02:00
Brendan Heywood
8c1c164e0a MDL-69707 session: Avoid redis writes if the session is unchanged 2020-09-29 20:45:38 +10:00
Brendan Heywood
0983a1c3d1 MDL-69600 core: Expose divertallemails config in UI 2020-09-29 20:29:32 +10:00
Juan Leyva
b4d2fc163d MDL-68845 calendar: New WS get_calendar_export_token 2020-09-29 10:52:13 +02:00
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