moodle.git
4 years agoMoodle release 3.6.10 MOODLE_36_STABLE v3.6.10
Eloy Lafuente (stronk7) [Sat, 9 May 2020 18:05:30 +0000 (20:05 +0200)]
Moodle release 3.6.10

4 years agoweekly release 3.6.9+
Eloy Lafuente (stronk7) [Fri, 8 May 2020 11:29:51 +0000 (13:29 +0200)]
weekly release 3.6.9+

4 years agoMDL-68410 mod_scorm: safer status operator comparison.
Paul Holden [Tue, 14 Apr 2020 08:14:52 +0000 (09:14 +0100)]
MDL-68410 mod_scorm: safer status operator comparison.

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 6 May 2020 00:13:29 +0000 (00:13 +0000)]
Automatically generated installer lang files

4 years agoMDL-68430 filter_mathjaxloader: update default CDN to 2.7.8
Ferran Recio [Mon, 4 May 2020 15:03:24 +0000 (17:03 +0200)]
MDL-68430 filter_mathjaxloader: update default CDN to 2.7.8

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 5 May 2020 00:11:48 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 30 Apr 2020 00:12:11 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Mon, 27 Apr 2020 00:11:44 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 23 Apr 2020 00:14:51 +0000 (00:14 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 19 Apr 2020 00:13:33 +0000 (00:13 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.6.9+
Eloy Lafuente (stronk7) [Thu, 16 Apr 2020 17:34:10 +0000 (19:34 +0200)]
weekly release 3.6.9+

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 11 Apr 2020 00:12:09 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 11 Apr 2020 00:12:09 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 8 Apr 2020 00:11:27 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 8 Apr 2020 00:11:26 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoMDL-67919 dataprivacy: Fix behat error when contacting DPO
Sara Arjona [Fri, 3 Apr 2020 10:54:00 +0000 (12:54 +0200)]
MDL-67919 dataprivacy: Fix behat error when contacting DPO

4 years agoweekly release 3.6.9+
Sara Arjona [Thu, 2 Apr 2020 14:51:29 +0000 (16:51 +0200)]
weekly release 3.6.9+

4 years agoMDL-67910 behat: PendingJS improvements for deleteevent modal
Sara Arjona [Fri, 13 Mar 2020 13:31:39 +0000 (14:31 +0100)]
MDL-67910 behat: PendingJS improvements for deleteevent modal

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 29 Mar 2020 00:12:00 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 28 Mar 2020 00:11:54 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 24 Mar 2020 00:11:19 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Mon, 23 Mar 2020 00:12:26 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.6.9+
Victor Deniz Falcon [Thu, 12 Mar 2020 14:22:42 +0000 (14:22 +0000)]
weekly release 3.6.9+

4 years agoMDL-68125 core: Fixed $CFG->reverseproxyignore install regression
Brendan Heywood [Wed, 11 Mar 2020 22:33:57 +0000 (09:33 +1100)]
MDL-68125 core: Fixed $CFG->reverseproxyignore install regression

4 years agoMDL-67827 behat: Pending JS improvements for dialogues
Andrew Nicols [Fri, 6 Mar 2020 04:27:51 +0000 (12:27 +0800)]
MDL-67827 behat: Pending JS improvements for dialogues

4 years agoMDL-67827 behat: Add missing exception use
Andrew Nicols [Fri, 6 Mar 2020 04:28:56 +0000 (12:28 +0800)]
MDL-67827 behat: Add missing exception use

4 years agoAutomatically generated installer lang files
AMOS bot [Mon, 9 Mar 2020 00:12:09 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoMoodle release 3.6.9 v3.6.9
Sara Arjona [Fri, 6 Mar 2020 11:34:20 +0000 (12:34 +0100)]
Moodle release 3.6.9

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 6 Mar 2020 00:11:07 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.6.8+
Sara Arjona [Thu, 5 Mar 2020 16:31:46 +0000 (17:31 +0100)]
weekly release 3.6.8+

4 years agoMDL-67861 core: Fix getremoteaddr unit test to match new proxy setup
Michael Hawkins [Thu, 5 Mar 2020 05:31:32 +0000 (13:31 +0800)]
MDL-67861 core: Fix getremoteaddr unit test to match new proxy setup

4 years agoMDL-67861 core: Added $CFG->reverseproxyignore IP subnet list
Brendan Heywood [Wed, 5 Feb 2020 12:14:39 +0000 (23:14 +1100)]
MDL-67861 core: Added $CFG->reverseproxyignore IP subnet list

If your server is behind multiple reverse proxies that append to the
X-Forwarded-For header then you will need to specify a comma separated
list of ip addresses or subnets of the reverse proxies to be ignored
in order to find the users correct IP address.

4 years agoMDL-67861 libraries: Refactor is_ip_in_subnet_list in ip_utils
Brendan Heywood [Wed, 5 Feb 2020 11:50:20 +0000 (22:50 +1100)]
MDL-67861 libraries: Refactor is_ip_in_subnet_list in ip_utils

4 years agoMDL-67861 admin: Default $CFG->getremoteaddrconf to only use REMOTE_ADDR
Brendan Heywood [Tue, 4 Feb 2020 06:03:47 +0000 (17:03 +1100)]
MDL-67861 admin: Default $CFG->getremoteaddrconf to only use REMOTE_ADDR

4 years agoMDL-67861 core: Use last ip in X-Forwarded-For list
Brendan Heywood [Tue, 4 Feb 2020 05:56:41 +0000 (16:56 +1100)]
MDL-67861 core: Use last ip in X-Forwarded-For list

4 years agoMDL-56287 gradereport_history: Separate groups queries improved
Marina Glancy [Tue, 3 Mar 2020 17:30:06 +0000 (18:30 +0100)]
MDL-56287 gradereport_history: Separate groups queries improved

4 years agoMDL-56287 gradereport_history: Show users from groups that can be viewed
Jun Pataleta [Thu, 27 Feb 2020 08:48:32 +0000 (16:48 +0800)]
MDL-56287 gradereport_history: Show users from groups that can be viewed

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 4 Mar 2020 00:11:26 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 16 Feb 2020 00:11:25 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.6.8+
Sara Arjona [Fri, 14 Feb 2020 11:12:23 +0000 (12:12 +0100)]
weekly release 3.6.8+

4 years agoMDL-67965 behat: Get theme-specific context classes correctly
Andrew Nicols [Fri, 14 Feb 2020 01:52:23 +0000 (09:52 +0800)]
MDL-67965 behat: Get theme-specific context classes correctly

4 years agoMDL-66245 privacy: Encode each part of the data URL instead of the whole
Jun Pataleta [Mon, 10 Feb 2020 08:55:11 +0000 (16:55 +0800)]
MDL-66245 privacy: Encode each part of the data URL instead of the whole

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 8 Feb 2020 00:12:11 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.6.8+
Sara Arjona [Fri, 7 Feb 2020 08:45:06 +0000 (09:45 +0100)]
weekly release 3.6.8+

4 years agoMDL-67726 tool_phpunit: add missing input escaping
Brendan Heywood [Thu, 6 Feb 2020 18:27:40 +0000 (19:27 +0100)]
MDL-67726 tool_phpunit: add missing input escaping

4 years agoMDL-67175 mod_scorm: fixing js eslint errors
Ferran Recio [Thu, 9 Jan 2020 14:39:39 +0000 (15:39 +0100)]
MDL-67175 mod_scorm: fixing js eslint errors

4 years agoMDL-67175 mod_scorm: sync XHR requests use sendBeacon when available
Sam Hemelryk [Tue, 15 Oct 2019 04:28:25 +0000 (17:28 +1300)]
MDL-67175 mod_scorm: sync XHR requests use sendBeacon when available

Totara reference TL-22621 (original code by Sam Hemelryk)
https://github.com/moodle/moodle/commit/2add402f8183c50bc1238ef2da5ea9cd06cb1dd9

4 years agoMDL-67175 session: set SameSite=None for Chrome 78 and above
Brendan Cox [Tue, 1 Oct 2019 22:35:31 +0000 (11:35 +1300)]
MDL-67175 session: set SameSite=None for Chrome 78 and above

Totara reference TL-22311 (original code by Brendan Cox and Sam Hemelryk)
https://github.com/moodle/moodle/commit/a3f4de2b7efe66de6617a67ce7c87f2862e76ac6

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 4 Feb 2020 00:11:30 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.6.8+
Eloy Lafuente (stronk7) [Thu, 30 Jan 2020 15:11:13 +0000 (16:11 +0100)]
weekly release 3.6.8+

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 28 Jan 2020 00:11:56 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 25 Jan 2020 00:11:58 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.6.8+
Adrian Greeve [Fri, 24 Jan 2020 02:17:14 +0000 (10:17 +0800)]
weekly release 3.6.8+

4 years agoMDL-67722 mod_forum: Reduce wait time on time limit expires behat test
Michael Hawkins [Fri, 17 Jan 2020 07:44:15 +0000 (15:44 +0800)]
MDL-67722 mod_forum: Reduce wait time on time limit expires behat test

4 years agoMDL-67691 behat: inform about the_following_exist() removal
Eloy Lafuente (stronk7) [Sun, 19 Jan 2020 23:14:39 +0000 (00:14 +0100)]
MDL-67691 behat: inform about the_following_exist() removal

behat_data_generators::the_following_exist() has been removed, please use
behat_data_generators::the_following_entities_exist() instead.

See MDL-67691 for more info.

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 18 Jan 2020 00:11:03 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoMDL-67724 mod_glossary: Improve Behat test
Jun Pataleta [Fri, 17 Jan 2020 09:48:06 +0000 (17:48 +0800)]
MDL-67724 mod_glossary: Improve Behat test

Improve the "Glossary entries are not always editable" scenario by:
* No need to use the @javascript tag
* The maxediting time can be set to a lower value to
reduce the overall wait time.

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 17 Jan 2020 00:12:35 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 14 Jan 2020 00:10:38 +0000 (00:10 +0000)]
Automatically generated installer lang files

4 years agoMDL-67656 behat: Removed nested spin
Andrew Nicols [Fri, 29 Nov 2019 02:16:18 +0000 (10:16 +0800)]
MDL-67656 behat: Removed nested spin

4 years agoMDL-67656 behat: Fix usleep call in spin
Andrew Nicols [Fri, 29 Nov 2019 02:16:48 +0000 (10:16 +0800)]
MDL-67656 behat: Fix usleep call in spin

4 years agoMoodle release 3.6.8 v3.6.8
Andrew Nicols [Fri, 10 Jan 2020 05:03:34 +0000 (13:03 +0800)]
Moodle release 3.6.8

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 10 Jan 2020 00:12:29 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.6.7+
Sara Arjona [Thu, 9 Jan 2020 14:43:01 +0000 (15:43 +0100)]
weekly release 3.6.7+

4 years agoweekly release 3.6.7+
Jake Dallimore [Fri, 3 Jan 2020 03:25:14 +0000 (11:25 +0800)]
weekly release 3.6.7+

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 3 Jan 2020 00:12:25 +0000 (00:12 +0000)]
Automatically generated installer lang files

4 years agoMDL-67599 behat: fix behat tests assuming Jan 2020 is a future date
Jake Dallimore [Thu, 2 Jan 2020 02:28:14 +0000 (10:28 +0800)]
MDL-67599 behat: fix behat tests assuming Jan 2020 is a future date

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 2 Jan 2020 00:10:37 +0000 (00:10 +0000)]
Automatically generated installer lang files

4 years agoMDL-67593 core_iplookup: update lang string describing download process
Jake Dallimore [Tue, 31 Dec 2019 07:31:11 +0000 (15:31 +0800)]
MDL-67593 core_iplookup: update lang string describing download process

Let users know they need to register on maxmind before granted download
access.

4 years agoMDL-67593 core_iplookup: use MaxMind test database in unit tests
Jake Dallimore [Tue, 31 Dec 2019 06:38:50 +0000 (14:38 +0800)]
MDL-67593 core_iplookup: use MaxMind test database in unit tests

Instead of downloading a live database (now not available publicly)
use a local test database.

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 21 Dec 2019 00:11:13 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoMDL-63996 core/tags: Pending JS for all tag code
Andrew Nicols [Mon, 16 Dec 2019 02:00:28 +0000 (10:00 +0800)]
MDL-63996 core/tags: Pending JS for all tag code

4 years agoMDL-63996 behat: Fix multi-tag autocomplete usage
Andrew Nicols [Mon, 16 Dec 2019 01:58:53 +0000 (09:58 +0800)]
MDL-63996 behat: Fix multi-tag autocomplete usage

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 14 Dec 2019 00:11:08 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoMDL-67469 tool_dataprivacy: Put back missing test code
Jun Pataleta [Fri, 6 Dec 2019 08:08:20 +0000 (16:08 +0800)]
MDL-67469 tool_dataprivacy: Put back missing test code

This patch simply brings back the missing test code for
\tool_dataprivacy_api_testcase::test_approve_data_request_non_dpo_user()

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 13 Dec 2019 00:11:25 +0000 (00:11 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 11 Dec 2019 13:50:23 +0000 (13:50 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 6 Dec 2019 00:09:57 +0000 (00:09 +0000)]
Automatically generated installer lang files

4 years agoMDL-65809 environment: mbstring extension required
Sara Arjona [Thu, 5 Dec 2019 08:50:53 +0000 (09:50 +0100)]
MDL-65809 environment: mbstring extension required

4 years agoMDL-65809 environment: PHP 7.2 required
Sara Arjona [Thu, 5 Dec 2019 08:49:02 +0000 (09:49 +0100)]
MDL-65809 environment: PHP 7.2 required

4 years agoMDL-65809 environment: postgres requirement up to 9.5
Sara Arjona [Thu, 5 Dec 2019 08:47:26 +0000 (09:47 +0100)]
MDL-65809 environment: postgres requirement up to 9.5

4 years agoMDL-65809 environment: mariadb requirement up to 10.2
Sara Arjona [Thu, 5 Dec 2019 08:46:21 +0000 (09:46 +0100)]
MDL-65809 environment: mariadb requirement up to 10.2

4 years agoMDL-65809 environment: 3.5 (LTS) required
Sara Arjona [Thu, 5 Dec 2019 08:43:56 +0000 (09:43 +0100)]
MDL-65809 environment: 3.5 (LTS) required

4 years agoMDL-65809 environment: 3.9 base information
Sara Arjona [Thu, 5 Dec 2019 08:41:46 +0000 (09:41 +0100)]
MDL-65809 environment: 3.9 base information

This is a direct copy of the 3.8 branch to have changes
under control easier in next commits.

5 years agoweekly release 3.6.7+
Eloy Lafuente (stronk7) [Thu, 21 Nov 2019 23:17:05 +0000 (00:17 +0100)]
weekly release 3.6.7+

5 years agoMDL-48024 quiz: return void is only php >= 71
Eloy Lafuente (stronk7) [Thu, 21 Nov 2019 11:31:43 +0000 (12:31 +0100)]
MDL-48024 quiz: return void is only php >= 71

this branch supports php 70, so taking rid of it

5 years agoMDL-48024 behat: allow plugins to have data generators
Tim Hunt [Thu, 25 Apr 2019 19:57:44 +0000 (20:57 +0100)]
MDL-48024 behat: allow plugins to have data generators

This extends the step
Given the following "users" exist:
to also support things like
Given the following "mod_quiz > user overrides" exist:

Instructions are on the behat_data_generators and
behat_generator_base classes.

5 years agoMoodle release 3.6.7 v3.6.7
Eloy Lafuente (stronk7) [Sat, 9 Nov 2019 10:57:42 +0000 (11:57 +0100)]
Moodle release 3.6.7

5 years agoweekly release 3.6.6+
Sara Arjona [Fri, 8 Nov 2019 14:39:41 +0000 (15:39 +0100)]
weekly release 3.6.6+

5 years agoMDL-66683 core: Revert MDL-66181 because created regressions
cescobedo [Thu, 7 Nov 2019 09:17:28 +0000 (10:17 +0100)]
MDL-66683 core: Revert MDL-66181 because created regressions

This reverts commit ed080a580ffd0eea70ad3eaa9214234cf2463034.
This issue reverts the behaviour modified in MDL-66181, as that change
negatively impacted course-creation workflows. As this appears to be
the intended functionality, the Security team has agreed to revert
this change.

5 years agoMDL-66257 tool_cohortroles: unit test for users in multiple cohorts
Jake Dallimore [Thu, 7 Nov 2019 03:48:50 +0000 (11:48 +0800)]
MDL-66257 tool_cohortroles: unit test for users in multiple cohorts

5 years agoMDL-66257 tool_cohortroles: Unassign the role on removal cohortroles.
cescobedo [Wed, 6 Nov 2019 12:37:09 +0000 (13:37 +0100)]
MDL-66257 tool_cohortroles: Unassign the role on removal cohortroles.

5 years agoMDL-67169 phpunit: fix clear flaw in unit test provider
Eloy Lafuente (stronk7) [Wed, 6 Nov 2019 22:58:30 +0000 (23:58 +0100)]
MDL-67169 phpunit: fix clear flaw in unit test provider

Basically the provider is ignoring the CRLF to LF normalization
results and loading the original file again.

This doesn't have any impact normally, because all moodle
files are LF ones and people using other systems have their
git configurations set to work that way (not modify or force LF).

But there may be checkouts out there (for example travis) where
the git configuration by defult is to convert to the OS, causing
windows runs to fail badly there. See the issue for more info
and links.

5 years agoMDL-67084 core_form: duration element should export arrays
Marina Glancy [Mon, 4 Nov 2019 13:37:46 +0000 (14:37 +0100)]
MDL-67084 core_form: duration element should export arrays

5 years agoMDL-66598 auth_oauth2: OAuth2 upgrade step
Jun Pataleta [Tue, 5 Nov 2019 08:12:26 +0000 (16:12 +0800)]
MDL-66598 auth_oauth2: OAuth2 upgrade step

This basically does two things:
1. Updates all non-Facebook/Google/Microsoft issuers and sets their
'requireconfirmation' field to 1 so that future OAuth2 logins on these
issuers will always have an email confirmation sent to them.
2. Deletes the linked logins of users with non-Facebook/Google/Microsoft
OAuth2 issuers.

5 years agoMDL-66598 auth_oauth2: Add warning messages in confirm emails
Jun Pataleta [Tue, 5 Nov 2019 06:25:22 +0000 (14:25 +0800)]
MDL-66598 auth_oauth2: Add warning messages in confirm emails

5 years agoMDL-66598 tool_oauth2: Make account confirmation required by default
Jun Pataleta [Wed, 30 Oct 2019 09:00:36 +0000 (17:00 +0800)]
MDL-66598 tool_oauth2: Make account confirmation required by default

* Only Facebook, Google, and Microsoft issuers can optionally offer to
require account confirmation via email. We will require email
confirmation for the rest of the issuers.

5 years agoMDL-66161 output: Escaping fatal error message and URL strings
Michael Hawkins [Tue, 29 Oct 2019 08:29:46 +0000 (16:29 +0800)]
MDL-66161 output: Escaping fatal error message and URL strings

5 years agoMDL-66377 user: Only allow active users to retrieve files via tokenpluginfile.php
Juan Leyva [Fri, 16 Aug 2019 13:01:38 +0000 (14:01 +0100)]
MDL-66377 user: Only allow active users to retrieve files via tokenpluginfile.php

5 years agoMDL-66228 mod_lesson: ensure return URL parameters are always local.
Paul Holden [Wed, 24 Jul 2019 10:46:31 +0000 (11:46 +0100)]
MDL-66228 mod_lesson: ensure return URL parameters are always local.