Adrian Greeve [Wed, 7 Oct 2020 01:58:52 +0000 (09:58 +0800)]
Merge branch 'MDL-59510-310' of https://github.com/snake/moodle into MOODLE_310_STABLE
Víctor Déniz [Tue, 6 Oct 2020 21:58:45 +0000 (22:58 +0100)]
Merge branch 'MDL-62678-core-fetch-notifications-MOODLE_310_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Tue, 6 Oct 2020 21:53:22 +0000 (23:53 +0200)]
Merge branch 'MDL-69746-MOODLE_310_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Tue, 6 Oct 2020 08:21:14 +0000 (10:21 +0200)]
on-demand release 3.10dev+
Eloy Lafuente (stronk7) [Mon, 5 Oct 2020 22:04:05 +0000 (00:04 +0200)]
Merge branch 'MDL-69772-310-allcountrycodes' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Mon, 5 Oct 2020 21:12:25 +0000 (23:12 +0200)]
Merge branch 'MDL-65074-310' of https://github.com/hitteshahuja/moodle into MOODLE_310_STABLE
Víctor Déniz [Mon, 5 Oct 2020 18:21:12 +0000 (19:21 +0100)]
Merge branch 'MDL-69625-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Sara Arjona [Mon, 5 Oct 2020 16:33:45 +0000 (18:33 +0200)]
Merge branch 'MDL-69355-310-filebuffer' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
Jun Pataleta [Mon, 5 Oct 2020 15:12:57 +0000 (23:12 +0800)]
Merge branch 'MDL-69704-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE
Paul Holden [Mon, 14 Sep 2020 23:33:07 +0000 (00:33 +0100)]
MDL-69625 course: return raw custom field value in external method.
For clients that wish to consume the original value of the custom
field (e.g. timestamps for date fields), rather than the formatted
version, add a new "valueraw" property to the returned data.
Eloy Lafuente (stronk7) [Mon, 5 Oct 2020 08:54:56 +0000 (10:54 +0200)]
Merge branch 'MOODLE_310-MDL-69752' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
Jun Pataleta [Mon, 5 Oct 2020 05:24:04 +0000 (13:24 +0800)]
Merge branch 'MOODLE_310_MDL-53966' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
Jake Dallimore [Fri, 18 Sep 2020 09:24:40 +0000 (17:24 +0800)]
MDL-59510 core_oauth2: autorefresh google drive, nextcloud and onedrive
Request additional offline access, allowing the repository to sign in
automatically each time, including across different user sessions, until
either the refresh token is invalidated or the user logs out of the
repository.
Jake Dallimore [Tue, 22 Sep 2020 03:18:17 +0000 (11:18 +0800)]
MDL-59510 core: report oauth2_refresh_token table in core provider
Jake Dallimore [Wed, 16 Sep 2020 07:11:42 +0000 (15:11 +0800)]
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.
Jake Dallimore [Wed, 16 Sep 2020 02:50:48 +0000 (10:50 +0800)]
MDL-59510 core_oauth2: add oauth2_refresh_token table
Mikhail Golenkov [Sun, 4 Oct 2020 02:44:17 +0000 (13:44 +1100)]
MDL-69752 mod_data: Format module intro on Database activities page
Mikhail Golenkov [Sun, 4 Oct 2020 02:18:45 +0000 (13:18 +1100)]
MDL-53966 lesson: Allow maximum number of attempts to be unlimited
Sara Arjona [Fri, 2 Oct 2020 11:44:05 +0000 (13:44 +0200)]
on-demand release 3.10dev+
Nathan Nguyen [Fri, 2 Oct 2020 03:10:51 +0000 (13:10 +1000)]
MDL-69746 tool_replace: additional skip tables
Víctor Déniz [Thu, 1 Oct 2020 22:42:20 +0000 (23:42 +0100)]
Merge branch 'MDL-69087-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE
Nathan Nguyen [Tue, 13 Nov 2018 23:09:56 +0000 (10:09 +1100)]
MDL-69572 mod_book : add bookid index to book_chapters
Eloy Lafuente (stronk7) [Thu, 1 Oct 2020 21:44:15 +0000 (23:44 +0200)]
Merge branch 'MDL-69758-m310' of https://github.com/sammarshallou/moodle into MOODLE_310_STABLE
Sara Arjona [Thu, 1 Oct 2020 16:48:25 +0000 (18:48 +0200)]
MDL-69704 course: catch exception when calling get_course_content_items
When plugins are removed from disk, an exception is thrown when
calling component_callback_exists.
This exception should be catched here in order to load properly
the activity chooser (otherwise, the exception will be displayed
and no activity will appear).
Víctor Déniz [Thu, 1 Oct 2020 16:39:51 +0000 (17:39 +0100)]
Merge branch 'MDL-69613-MOODLE_310_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Thu, 1 Oct 2020 15:49:15 +0000 (17:49 +0200)]
Merge branch 'MDL-69672-310' of git://github.com/aanabit/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Thu, 1 Oct 2020 15:12:43 +0000 (17:12 +0200)]
Merge branch 'MDL-69586-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Sara Arjona [Thu, 1 Oct 2020 13:01:56 +0000 (15:01 +0200)]
Merge branch 'MDL-69638_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
Sara Arjona [Thu, 1 Oct 2020 12:51:12 +0000 (14:51 +0200)]
Merge branch 'MDL-69050-310-allowlist' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
David Mudrák [Thu, 24 Sep 2020 12:57:41 +0000 (14:57 +0200)]
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.
Sara Arjona [Thu, 1 Oct 2020 09:13:05 +0000 (11:13 +0200)]
MDL-69050 lang: Fix few remaining places spotted during integration
Sara Arjona [Thu, 1 Oct 2020 10:56:23 +0000 (12:56 +0200)]
Merge branch 'MDL-68098-310' of git://github.com/dpalou/moodle into MOODLE_310_STABLE
Sara Arjona [Thu, 1 Oct 2020 08:28:12 +0000 (10:28 +0200)]
Merge branch 'MDL-67473-multipledeeplinking-squashed-310' of https://github.com/cengage/moodle into MOODLE_310_STABLE
Jake Dallimore [Thu, 1 Oct 2020 04:20:29 +0000 (12:20 +0800)]
Merge branch 'MDL-69573-MOODLE_310_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_310_STABLE
Adrian Greeve [Thu, 1 Oct 2020 03:17:44 +0000 (11:17 +0800)]
Merge branch 'MDL-54956-310' of git://github.com/jleyva/moodle into MOODLE_310_STABLE
Claude Vervoort [Fri, 6 Dec 2019 18:47:54 +0000 (13:47 -0500)]
MDL-67473 mod_lti: deeplinking multiple support
AMOS BEGIN
CPY [contentitem_help,mod_lti],[contentitem_deeplinking_help,mod_lti]
AMOS END
Nathan Nguyen [Mon, 31 Aug 2020 04:59:59 +0000 (14:59 +1000)]
MDL-69573 core_course: Make MAX_COURSES_IN_CATEGORY configurable
Adrian Greeve [Wed, 30 Sep 2020 05:51:31 +0000 (13:51 +0800)]
Merge branch 'MDL-37802-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Brendan Heywood [Wed, 27 May 2020 04:15:39 +0000 (14:15 +1000)]
MDL-62678 core: Improve efficiency of notifications and avoid ajax call
Jake Dallimore [Wed, 30 Sep 2020 03:45:43 +0000 (11:45 +0800)]
Merge branch 'MDL-68845-310' of git://github.com/jleyva/moodle into MOODLE_310_STABLE
Adrian Greeve [Wed, 30 Sep 2020 03:12:34 +0000 (11:12 +0800)]
Merge branch 'MDL-68562_310' of https://github.com/mkassaei/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Sun, 13 Sep 2020 09:29:17 +0000 (11:29 +0200)]
MDL-69638 install: update the list of stale files for 3.10
Víctor Déniz [Tue, 29 Sep 2020 17:31:58 +0000 (18:31 +0100)]
Merge branch 'MDL-67841-310' of git://github.com/jleyva/moodle into MOODLE_310_STABLE
Sara Arjona [Tue, 29 Sep 2020 17:01:05 +0000 (19:01 +0200)]
Merge branch 'MDL-69342-310_profile_picture_deletion' of https://github.com/vtos/moodle into MOODLE_310_STABLE
Amaia Anabitarte [Mon, 21 Sep 2020 10:35:16 +0000 (12:35 +0200)]
MDL-69672 core_contentbank: is_context_allowed unit tests
Amaia Anabitarte [Wed, 16 Sep 2020 15:10:39 +0000 (17:10 +0200)]
MDL-69672 core_contentbank: Check used context level
Jun Pataleta [Tue, 29 Sep 2020 12:27:36 +0000 (20:27 +0800)]
Merge branch 'MDL-69600-divertemails-MOODLE_310_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_310_STABLE
Sara Arjona [Tue, 29 Sep 2020 12:09:26 +0000 (14:09 +0200)]
Merge branch 'MDL-65976-310' of git://github.com/jleyva/moodle into MOODLE_310_STABLE
Juan Leyva [Thu, 17 Sep 2020 15:57:13 +0000 (17:57 +0200)]
MDL-65976 completion: New course completion message provider
Brendan Heywood [Thu, 3 Sep 2020 01:10:48 +0000 (11:10 +1000)]
MDL-69600 core: Expose divertallemails config in UI
Jun Pataleta [Tue, 29 Sep 2020 10:07:18 +0000 (18:07 +0800)]
Merge branch 'MDL-41492-310' of https://github.com/peterburnett/moodle into MOODLE_310_STABLE
Juan Leyva [Wed, 16 Sep 2020 16:42:42 +0000 (18:42 +0200)]
MDL-68845 calendar: New WS get_calendar_export_token
Juan Leyva [Wed, 16 Sep 2020 16:41:47 +0000 (18:41 +0200)]
MDL-68845 calendar: Move duplicated code to function
Eloy Lafuente (stronk7) [Tue, 29 Sep 2020 08:48:59 +0000 (10:48 +0200)]
on-demand release 3.10dev+
Jun Pataleta [Tue, 29 Sep 2020 05:53:53 +0000 (13:53 +0800)]
Merge branch 'MDL-69283-310' of git://github.com/jleyva/moodle into MOODLE_310_STABLE
Juan Leyva [Tue, 15 Sep 2020 16:45:49 +0000 (18:45 +0200)]
MDL-67841 tool_mobile: Inform about last access with the app
Víctor Déniz [Mon, 28 Sep 2020 19:34:01 +0000 (20:34 +0100)]
Merge branch 'MDL-69644-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Sara Arjona [Mon, 28 Sep 2020 11:03:21 +0000 (13:03 +0200)]
Merge branch 'MDL-69695-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Sara Arjona [Mon, 28 Sep 2020 09:41:01 +0000 (11:41 +0200)]
Merge branch 'MDL-68935-310' of git://github.com/jleyva/moodle into MOODLE_310_STABLE
Peter Burnett [Mon, 6 Apr 2020 04:15:34 +0000 (14:15 +1000)]
MDL-41492 cache: Added ability for alternate cache config
Nathan Nguyen [Wed, 23 Sep 2020 02:41:40 +0000 (12:41 +1000)]
MDL-69613 gradereport: confirm message if override none is selected
Juan Leyva [Mon, 27 Jul 2020 17:15:13 +0000 (19:15 +0200)]
MDL-69283 webservice: New external setting for forcing timezone
Hittesh Ahuja [Fri, 25 Sep 2020 09:50:50 +0000 (10:50 +0100)]
MDL-65074 mod_quiz: Quiz navigation buttons shouldnt use btn-secondary
Removing .btn-secondary as plain.scss and default.scss in bootstrap hide the button from view.
Paul Holden [Mon, 14 Sep 2020 22:08:22 +0000 (23:08 +0100)]
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.
Paul Holden [Thu, 27 Aug 2020 12:02:10 +0000 (13:02 +0100)]
MDL-69586 tool_usertours: use specified user in privacy prefs export.
Mahmoud Kassaei [Wed, 16 Sep 2020 12:51:13 +0000 (13:51 +0100)]
MDL-68562 Qtype_essay: Adding file-size limit to the attachment files
Sara Arjona [Fri, 4 Sep 2020 16:53:32 +0000 (18:53 +0200)]
MDL-69087 core_h5p: add renderer to let personalize styles
Existing mod_hvp pluging has a renderer to let Moodle instances
alter styles, Javascript, semantics (fields in the editor) and
content: https://github.com/h5p/moodle-mod_hvp/blob/stable/renderer.php
The approach for core_h5p is exactly the same, to let people
to reuse their existing code.
David Mudrák [Wed, 16 Sep 2020 11:17:04 +0000 (13:17 +0200)]
MDL-69050 lang: Stop using the term blacklist in mustache output engine
David Mudrák [Wed, 16 Sep 2020 10:00:21 +0000 (12:00 +0200)]
MDL-69050 lang: Fix the variable name in the admin/cli/svgtool.php
David Mudrák [Wed, 16 Sep 2020 09:37:40 +0000 (11:37 +0200)]
MDL-69050 lang: Fix variable name and comment in core-notification YUI
David Mudrák [Wed, 16 Sep 2020 08:27:45 +0000 (10:27 +0200)]
MDL-69050 lang: Rename and deprecate filetypes_util methods
David Mudrák [Wed, 16 Sep 2020 06:45:46 +0000 (08:45 +0200)]
MDL-69050 lang: Improve the wording of the comments
Stop using the terms whitelist/blacklist when used to allow/deny things.
David Mudrák [Wed, 16 Sep 2020 06:43:52 +0000 (08:43 +0200)]
MDL-69050 lang: Fix the variable name in the Essay question type
David Mudrák [Wed, 16 Sep 2020 06:37:08 +0000 (08:37 +0200)]
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
David Mudrák [Wed, 16 Sep 2020 06:23:51 +0000 (08:23 +0200)]
MDL-69050 lang: Fix the variable name in the TeX filter library
David Mudrák [Wed, 16 Sep 2020 06:11:55 +0000 (08:11 +0200)]
MDL-69050 lang: Rename the whitelist variable in the Workshop locallib
David Mudrák [Wed, 16 Sep 2020 04:17:14 +0000 (06:17 +0200)]
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.
David Mudrák [Wed, 16 Sep 2020 03:53:24 +0000 (05:53 +0200)]
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.
David Mudrák [Thu, 24 Sep 2020 12:19:28 +0000 (14:19 +0200)]
MDL-69772 admin: Fix legacy coding style on Location settings admin page
No actual change here. Just polishing the coding style and adding
fulltree check.
David Mudrák [Thu, 24 Sep 2020 11:41:59 +0000 (13:41 +0200)]
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.
Víctor Déniz [Thu, 24 Sep 2020 15:27:15 +0000 (16:27 +0100)]
weekly release 3.10dev
Eloy Lafuente (stronk7) [Thu, 24 Sep 2020 14:50:39 +0000 (16:50 +0200)]
Merge branch 'MDL-69698-310-licensecache' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Thu, 24 Sep 2020 14:39:26 +0000 (16:39 +0200)]
Merge branch 'MDL-69718-display-size-MOODLE_310_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_310_STABLE
Paul Holden [Tue, 8 Sep 2020 10:21:06 +0000 (11:21 +0100)]
MDL-69644 tool_dataprivacy: fix focus outline of contact DPO link.
The link class attribute is a leftover from
7258bf0b, which was mostly
removed in
3b2f691f. It no longer serves a purpose and interferes with
the element focus outline.
Vitaly [Tue, 15 Sep 2020 18:46:47 +0000 (21:46 +0300)]
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.
Bas Brands [Tue, 8 Sep 2020 12:09:22 +0000 (14:09 +0200)]
MDL-66587 mod_quiz: visible quiz timer
Bas Brands [Wed, 9 Sep 2020 10:04:31 +0000 (12:04 +0200)]
MDL-69454 core_search: consistent backup search
Bas Brands [Mon, 31 Aug 2020 14:30:50 +0000 (16:30 +0200)]
MDL-69454 core_search: consistent cohort search
Bas Brands [Mon, 31 Aug 2020 14:19:18 +0000 (16:19 +0200)]
MDL-69454 core_search: consistent content bank search
Bas Brands [Mon, 31 Aug 2020 14:16:32 +0000 (16:16 +0200)]
MDL-69454 core_search: consistent activity chooser search
Bas Brands [Mon, 31 Aug 2020 13:55:51 +0000 (15:55 +0200)]
MDL-69454 core_search: consistent template library search
Bas Brands [Mon, 31 Aug 2020 13:40:48 +0000 (15:40 +0200)]
MDL-69454 core_search: consistent capability search
Bas Brands [Mon, 31 Aug 2020 12:44:21 +0000 (14:44 +0200)]
MDL-69454 core_search: consistent tag search
Bas Brands [Mon, 31 Aug 2020 12:35:21 +0000 (14:35 +0200)]
MDL-69454 core_search: message search
Bas Brands [Mon, 31 Aug 2020 12:20:10 +0000 (14:20 +0200)]
MDL-69454 core_search: consistent mod searches
Bas Brands [Mon, 31 Aug 2020 11:39:20 +0000 (13:39 +0200)]
MDL-69454 core_search: consistent block searches
Bas Brands [Mon, 31 Aug 2020 10:11:14 +0000 (12:11 +0200)]
MDL-69454 core_search: consistent course management search
Bas Brands [Mon, 31 Aug 2020 10:00:21 +0000 (12:00 +0200)]
MDL-69454 core_search: consistent frontpage course search
Bas Brands [Mon, 31 Aug 2020 09:06:08 +0000 (09:06 +0000)]
MDL-69454 core_search: consistent admin search
Bas Brands [Mon, 31 Aug 2020 08:11:30 +0000 (08:11 +0000)]
MDL-69454 core_search: consistent navbar search