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
Simey Lameze
1c0baed969
MDL-65743 lib: add XMPPHP namespace and update calls
2020-10-05 13:37:51 +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
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
Matteo Scaramuccia
06cb9117d4
MDL-68536 core: Fix notice about undefined prop 'branch' in $CFG
2020-09-30 14:38:14 +02:00
Brendan Heywood
f3844e595e
MDL-62678 core: Improve efficiency of notifications and avoid ajax call
2020-09-30 13:55:30 +10: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
Brendan Heywood
8c1c164e0a
MDL-69707 session: Avoid redis writes if the session is unchanged
2020-09-29 20:45:38 +10: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
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
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
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
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
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
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
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)
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)
6a60111199
MDL-69521 core: Move all comments in code from 4.0 to 3.10
2020-09-06 17:00:25 +02:00
Paul Holden
404eabc7b5
MDL-69448 backup: fix capability checks when unable to copy user data.
...
When a given user doesn't have the capability to "Include user data"
during course copying, freeze the form element rather than not adding
it at all.
This caused problems as the element was required before preceding with
the course copy.
2020-09-04 08:19:53 +01:00
Eloy Lafuente (stronk7)
e02e90fa52
Merge branch 'MDL-55971' of https://github.com/paulholden/moodle into master
2020-09-03 00:50:39 +02:00
Peter Burnett
309f54bf81
MDL-67306 webservices: Added webservice for Grade category creation
2020-09-03 00:20:44 +02:00
Andrew Nicols
39ae77ca65
Merge branch 'MDL-67419-master' of git://github.com/farhan6318/moodle
2020-09-02 08:54:27 +08:00
Andrew Nicols
2ccf106454
Merge branch 'master-MDL-69358' of https://github.com/golenkovm/moodle
2020-08-27 10:57:19 +08:00
Andrew Nicols
e471d82358
Merge branch 'MDL-66222-antivirus-reporting' of https://github.com/Peterburnett/moodle
2020-08-27 09:34:37 +08:00
Paul Holden
b670d3adb6
MDL-55971 dataformat: method to write exports to file storage.
2020-08-25 17:28:55 +01:00
Mikhail Golenkov
d7342dc239
MDL-67211 Tasks: Add cron_enabled setting.
...
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
2020-08-25 17:08:57 +10:00
Mikhail Golenkov
b465a541ae
MDL-67211 Tasks: Record when a task is running.
...
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
2020-08-25 17:08:03 +10:00
Peter Burnett
8e0e99e4fd
MDL-66222 antivirus: Improved error email capture
2020-08-21 12:21:09 +10:00
Nathan Nguyen
adbe92ce0a
MDL-66222 antivirus: Added antivirus failure reporting
2020-08-21 11:43:56 +10:00
Andrew Nicols
ef73bfbeac
Merge branch 'MDL-69170-adhoc-task-timestamp' of https://github.com/Peterburnett/moodle
2020-08-20 08:45:27 +08:00
Andrew Nicols
d48a0a9a5d
Merge branch 'MDL-61215-master' of git://github.com/sarjona/moodle
2020-08-20 07:14:15 +08:00
Mihail Geshoski
cf29c355ec
MDL-67943 core: Update timezone list in core_date
2020-08-17 09:06:30 +08:00
Sara Arjona
c6bd7bd0ab
MDL-61215 core_files: add new optimised_image group
...
Currently, PHP getimagesize method doesn't support SVG images.
As some features, such as badges, processs and optimise the images
before using them, a new filetype group has been created to exclude
SVG from there: optimised_image.
SVG can't be removed from web_image because then users won't be
able to add SVG images to their courses using labels, pages...
2020-08-14 17:06:23 +02:00
Mikhail Golenkov
1931f95d99
MDL-69358 backup: Do not clean up records for incomplete adhoc tasks.
...
Co-authored-by: Heena Agheda <heenaagheda@catalyst-au.net>
2020-08-12 12:05:15 +10:00
Farhan Karmali
470f94dc46
MDL-67419 admin: New admin setting for lang during user creation
2020-08-10 18:34:19 +05:30
Adrian Greeve
8a5f125ad7
Merge branch 'MDL-69311' of https://github.com/paulholden/moodle
2020-08-06 09:47:48 +08:00
Peter Burnett
e63b6b8665
MDL-69170 task: Added timecreated field to adhoc task table
2020-08-05 09:41:25 +10:00
Tom Dickman
68049ac848
MDL-65923 core grades: Add a new event for when a grade item is deleted
2020-07-30 08:18:59 +10:00
Paul Holden
c1c57e816c
MDL-69311 dataformat: correct license docblock.
...
When this class was implemented in 8844cb82
, it incorrectly set the
license to Moodle Workplace.
2020-07-22 10:44:35 +01:00
Andrew Nicols
6f5f08a846
MDL-69215 output: Correct use of icon_system::instance
2020-07-16 07:29:22 +08:00
Andrew Nicols
4a4a367251
MDL-69215 output: Correct font awesome for themes
2020-07-16 07:29:22 +08:00
Jake Dallimore
7a40781aeb
Merge branch 'MDL-56041-custom-error-pages' of https://github.com/brendanheywood/moodle
2020-07-08 09:33:46 +08:00
Andrew Nicols
145604590f
Merge branch 'MDL-69109-master-2' of git://github.com/marinaglancy/moodle
2020-07-08 08:39:32 +08:00
Brendan Heywood
43999a3f2b
MDL-56041 error: Enable custom 404 and 500 error pages
2020-07-08 09:36:21 +10:00
Mihail Geshoski
83c18a2dec
MDL-67594 core_lock: Modify postgres get_lock() to avoid recursion
2020-07-06 13:04:41 +08:00
Mihail Geshoski
566b73fbfc
MDL-67594 core_lock: Deprecate extend()
2020-07-06 13:04:33 +08:00
Mihail Geshoski
80736a93aa
MDL-67594 core_lock: Deprecate extend_lock()
2020-07-06 13:03:08 +08:00
Mihail Geshoski
4b71cdcd89
MDL-67594 core_lock: Deprecate supports_recursion()
2020-07-06 13:01:16 +08:00