Commit graph

99213 commits

Author SHA1 Message Date
Jake Dallimore
255a910c92 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.
2020-10-05 09:19:29 +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
Mikhail Golenkov
6edd064414 MDL-69848 upgrade: Delete notifications in chunks 2020-10-05 12:11:28 +11:00
Mikhail Golenkov
33f4559da1 MDL-69818 mod_feedback: Fix item dependency during activity restoration 2020-10-04 18:25:43 +11:00
Mikhail Golenkov
0f7c2b92f6 MDL-69752 mod_data: Format module intro on Database activities page 2020-10-04 13:44:17 +11:00
Mikhail Golenkov
252e85be58 MDL-53966 lesson: Allow maximum number of attempts to be unlimited 2020-10-04 13:20:39 +11:00
AMOS bot
ca440b40d0 Automatically generated installer lang files 2020-10-03 00:08:25 +00: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
Juan Leyva
09cc128f95 MDL-69810 tool_mobile: Return support contact information via WS 2020-10-02 21:02:10 +02:00
Eloy Lafuente (stronk7)
e3da0ef75d MDL-69146 composer: bump to moodle-behat-extension 3.400.0
Generated following the instructions @:

https://docs.moodle.org/dev/Composer#How_to_prepare_and_submit_composer_changes

(using php72)

Note that here we are jumping to 3-digit branches (for all branches > 39),
exactly how we have done for moodle.git branches (310, 311, 400, 401...)
2020-10-02 15:06:58 +02:00
Sara Arjona
87afa4d759 weekly release 4.0dev 2020-10-02 13:43:12 +02:00
Nathan Nguyen
6ced7617c5 MDL-69746 tool_replace: additional skip tables 2020-10-02 14:57:18 +10:00
Víctor Déniz
5cdc620f67 Merge branch 'MDL-69087-master' of git://github.com/sarjona/moodle 2020-10-01 23:43:01 +01:00
Víctor Déniz
b39c286ea4 Merge branch 'MDL-69572-Master' of https://github.com/tuanngocnguyen/moodle 2020-10-01 23:29:22 +01:00
Eloy Lafuente (stronk7)
30fa4748f1 Merge branch 'MDL-69758-master' of https://github.com/sammarshallou/moodle into master 2020-10-01 23:44:05 +02:00
Claude Vervoort
80207a2ee1 MDL-57756 mod_lti: params change to text type 2020-10-01 17:37:29 -04:00
Sara Arjona
64fbd346ba 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).
2020-10-01 19:54:35 +02:00
Víctor Déniz
9ef727fec9 Merge branch 'MDL-69613-Master' of https://github.com/tuanngocnguyen/moodle 2020-10-01 17:44:31 +01:00
Tim Hunt
3c1416dcf3 MDL-69798 XML question export: excape special chars in idnumbers 2020-10-01 17:01:50 +01:00
Jamie Stamp
1343d84cc7 MDL-68665 assignfeedback_editpdf: Improve caching on stamps 2020-10-01 16:59:42 +01:00
Eloy Lafuente (stronk7)
a8e6ddb20a Merge branch 'MDL-69672-master' of git://github.com/aanabit/moodle into master 2020-10-01 17:49:08 +02:00
Eloy Lafuente (stronk7)
e47c357cc1 Merge branch 'MDL-69586' of https://github.com/paulholden/moodle into master 2020-10-01 17:12:24 +02: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
a8d07a8737 MDL-69050 lang: Fix few remaining places spotted during integration 2020-10-01 13:02:48 +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
Ferran Recio
757f832ffc MDL-69582 tool_customlang: fix options layout 2020-10-01 11:08:37 +02:00
Ferran Recio
55c0e80595 MDL-69582 tool_customlang: add label to textarea 2020-10-01 11:08:37 +02:00
Sara Arjona
0592e040b4 Merge branch 'MDL-67473-multipledeeplinking-squashed' of https://github.com/cengage/moodle into master 2020-10-01 10:28:03 +02:00
Jake Dallimore
0d0c8252d6 Merge branch 'MDL-69573-Master' of https://github.com/tuanngocnguyen/moodle 2020-10-01 12:19:16 +08:00
Adrian Greeve
d3374e8865 Merge branch 'MDL-54956-master' of git://github.com/jleyva/moodle 2020-10-01 11:19:09 +08:00
willob99
b8ad9a1030 MDL-69192 mod_assign: replace grading confirmation popup 2020-09-30 10:42:12 -07:00
David Matamoros
84e9360c9d MDL-69805 mod_data: Freeze comment field if comments disabled 2020-09-30 15:47:16 +02:00
Matteo Scaramuccia
06cb9117d4 MDL-68536 core: Fix notice about undefined prop 'branch' in $CFG 2020-09-30 14:38:14 +02:00
Claude Vervoort
957da4b564 MDL-67473 mod_lti: deeplinking multiple support
AMOS BEGIN
 CPY [contentitem_help,mod_lti],[contentitem_deeplinking_help,mod_lti]
AMOS END
2020-09-30 08:03:59 -04: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
Adrian Greeve
e682c64b25 Merge branch 'MDL-68562' of https://github.com/mkassaei/moodle 2020-09-30 11:10:30 +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
Víctor Déniz
8787cfe6c5 Merge branch 'MDL-67841-master' of git://github.com/jleyva/moodle 2020-09-29 18:25:25 +01: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
Amaia Anabitarte
97c0fa7286 MDL-69672 core_contentbank: is_context_allowed unit tests 2020-09-29 17:46:11 +02:00
Amaia Anabitarte
08687a5198 MDL-69672 core_contentbank: Check used context level 2020-09-29 17:46:10 +02:00
Jun Pataleta
83cf43b045 Merge branch 'MDL-69600-divertemails' of https://github.com/brendanheywood/moodle 2020-09-29 20:28:05 +08:00
Sara Arjona
76b5863917 Merge branch 'MDL-65976-master' of git://github.com/jleyva/moodle into master 2020-09-29 14:09:13 +02:00