moodle.git
4 years agoMoodle release 3.8.9 MOODLE_38_STABLE v3.8.9
Eloy Lafuente (stronk7) [Sat, 8 May 2021 14:40:36 +0000 (16:40 +0200)]
Moodle release 3.8.9

4 years agoweekly release 3.8.8+
Eloy Lafuente (stronk7) [Fri, 7 May 2021 14:54:43 +0000 (16:54 +0200)]
weekly release 3.8.8+

4 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 7 May 2021 14:54:43 +0000 (16:54 +0200)]
NOBUG: Fixed SVG browser compatibility

4 years agoMerge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Eloy Lafuente (stronk7) [Fri, 7 May 2021 14:54:42 +0000 (16:54 +0200)]
Merge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_38_STABLE

4 years agoMDL-70622 mod_lti: Tighten redirect param typing
Mathew May [Thu, 22 Apr 2021 05:26:10 +0000 (13:26 +0800)]
MDL-70622 mod_lti: Tighten redirect param typing

4 years agoMDL-70622 mod_lti: Prevent xss on lti 1.3 authentication script
Adam Olley [Fri, 16 Apr 2021 04:28:28 +0000 (13:58 +0930)]
MDL-70622 mod_lti: Prevent xss on lti 1.3 authentication script

Without this, people can craft URLs that other users might use not realising
what they do - and as a XSS vulnerability, it could do any number of things the
clicking-user has access to do on the site.

Change-Id: I82adc71e8706d8929011b4b24523d5b62b8ccea1

4 years agoMerge branch 'MDL-71420_38' of https://github.com/stronk7/moodle into MOODLE_38_STABLE
Sara Arjona [Thu, 6 May 2021 15:58:55 +0000 (17:58 +0200)]
Merge branch 'MDL-71420_38' of https://github.com/stronk7/moodle into MOODLE_38_STABLE

4 years agoMerge branch 'MDL-71390-38' of git://github.com/marinaglancy/moodle into MOODLE_38_STABLE
Sara Arjona [Thu, 6 May 2021 06:05:28 +0000 (08:05 +0200)]
Merge branch 'MDL-71390-38' of git://github.com/marinaglancy/moodle into MOODLE_38_STABLE

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 6 May 2021 00:07:49 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMDL-71420 environment: Lower sodium requirement to recommended
Eloy Lafuente (stronk7) [Sat, 24 Apr 2021 19:38:54 +0000 (21:38 +0200)]
MDL-71420 environment: Lower sodium requirement to recommended

4 years agoMerge branch 'MDL-71460-38' of git://github.com/peterRd/moodle into MOODLE_38_STABLE
Víctor Déniz [Wed, 5 May 2021 09:52:21 +0000 (10:52 +0100)]
Merge branch 'MDL-71460-38' of git://github.com/peterRd/moodle into MOODLE_38_STABLE

4 years agoMDL-71460 hub: Use checkboxes instead of dropdowns
Peter Dias [Wed, 28 Apr 2021 02:04:07 +0000 (10:04 +0800)]
MDL-71460 hub: Use checkboxes instead of dropdowns

Change the yes/no dropdowns to a checkbox. Defaults to unchecked.

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 4 May 2021 00:07:50 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMDL-71359 mod_forum: empty forums shouldn't export anything.
Paul Holden [Fri, 16 Apr 2021 19:49:23 +0000 (20:49 +0100)]
MDL-71359 mod_forum: empty forums shouldn't export anything.

4 years agoMDL-71390 core: raise max_input_vars requirement for Moodle 3.11
Marina Glancy [Wed, 21 Apr 2021 09:49:57 +0000 (11:49 +0200)]
MDL-71390 core: raise max_input_vars requirement for Moodle 3.11

4 years agoMDL-71408 lib: Add required changes after lib upgrade
Sara Arjona [Wed, 28 Apr 2021 15:21:28 +0000 (17:21 +0200)]
MDL-71408 lib: Add required changes after lib upgrade

- The pull-request for fixing some minor PHP7.4 problems has been
integrated so this patch is not required

4 years agoMDL-71408 lib: Upgrade H5P core library to 1.24.02
Sara Arjona [Wed, 28 Apr 2021 15:11:40 +0000 (17:11 +0200)]
MDL-71408 lib: Upgrade H5P core library to 1.24.02

4 years agoMDL-70720 Quiz: Improve capability checks when fetching users' best grades
Huong Nguyen [Thu, 22 Apr 2021 04:01:09 +0000 (11:01 +0700)]
MDL-70720 Quiz: Improve capability checks when fetching users' best grades

4 years agoMDL-69028 repository: Put a rate limit on draft file uploads
Shamim Rezaie [Thu, 10 Sep 2020 01:57:34 +0000 (11:57 +1000)]
MDL-69028 repository: Put a rate limit on draft file uploads

4 years agoMDL-71130 quiz_grading: escape user idnumber on display.
Paul Holden [Tue, 16 Mar 2021 20:55:12 +0000 (20:55 +0000)]
MDL-71130 quiz_grading: escape user idnumber on display.

4 years agoMDL-70804 mnet: Use proper DML method to get records from the table
David Mudrák [Tue, 9 Feb 2021 14:29:11 +0000 (15:29 +0100)]
MDL-70804 mnet: Use proper DML method to get records from the table

This improves the code and avoids the risk of SQL injection through the
malicious XML-RPC request from the MNet peer.

4 years agoweekly release 3.8.8+
Víctor Déniz [Fri, 30 Apr 2021 11:54:22 +0000 (12:54 +0100)]
weekly release 3.8.8+

4 years agoMDL-70763 core: export preferences for correct user.
Paul Holden [Mon, 1 Feb 2021 20:26:18 +0000 (20:26 +0000)]
MDL-70763 core: export preferences for correct user.

Ensure we are using the ID of the given user rather than falling
back to that of the current user during privacy export.

4 years agoMDL-70763 quiz_overview: export preferences for correct user.
Paul Holden [Thu, 14 Jan 2021 22:36:53 +0000 (22:36 +0000)]
MDL-70763 quiz_overview: export preferences for correct user.

4 years agoMDL-70763 gradereport_grader: export preferences for correct user.
Paul Holden [Thu, 14 Jan 2021 22:26:21 +0000 (22:26 +0000)]
MDL-70763 gradereport_grader: export preferences for correct user.

4 years agoweekly release 3.8.8+
Sara Arjona [Tue, 20 Apr 2021 13:51:22 +0000 (15:51 +0200)]
weekly release 3.8.8+

4 years agoMerge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Sara Arjona [Tue, 20 Apr 2021 13:51:21 +0000 (15:51 +0200)]
Merge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_38_STABLE

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 20 Apr 2021 00:07:44 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMerge branch 'MDL-69256-38' of git://github.com/andrewnicols/moodle into MOODLE_38_STABLE
Eloy Lafuente (stronk7) [Mon, 19 Apr 2021 22:06:04 +0000 (00:06 +0200)]
Merge branch 'MDL-69256-38' of git://github.com/andrewnicols/moodle into MOODLE_38_STABLE

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 18 Apr 2021 00:07:41 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 15 Apr 2021 00:07:55 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 14 Apr 2021 00:07:49 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 9 Apr 2021 00:07:50 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 6 Apr 2021 00:07:58 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 4 Apr 2021 00:07:56 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 2 Apr 2021 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 1 Apr 2021 00:07:45 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Mon, 29 Mar 2021 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 28 Mar 2021 00:07:40 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 25 Mar 2021 00:07:48 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.8.8+
Víctor Déniz [Wed, 24 Mar 2021 14:20:54 +0000 (14:20 +0000)]
weekly release 3.8.8+

4 years agoMerge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Víctor Déniz [Wed, 24 Mar 2021 14:20:52 +0000 (14:20 +0000)]
Merge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_38_STABLE

4 years agoMDL-69256 tests: Fix random slow test failures in completion cron
Andrew Nicols [Tue, 23 Mar 2021 00:03:36 +0000 (08:03 +0800)]
MDL-69256 tests: Fix random slow test failures in completion cron

4 years agoMDL-71139 trademark: Improve the trademark messaging
Chris Brown [Thu, 18 Mar 2021 09:31:56 +0000 (10:31 +0100)]
MDL-71139 trademark: Improve the trademark messaging

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 18 Mar 2021 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 13 Mar 2021 00:07:43 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.8.8+
Sara Arjona [Thu, 11 Mar 2021 16:18:58 +0000 (17:18 +0100)]
weekly release 3.8.8+

4 years agoMerge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Sara Arjona [Thu, 11 Mar 2021 16:18:57 +0000 (17:18 +0100)]
Merge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_38_STABLE

4 years agoMerge branch 'MDL-70726-3.8' of https://github.com/NashTechOpenUniversity/moodle...
Eloy Lafuente (stronk7) [Wed, 10 Mar 2021 23:12:31 +0000 (00:12 +0100)]
Merge branch 'MDL-70726-3.8' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_38_STABLE

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 10 Mar 2021 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMDL-70726 behat: Fixing existing fail tests
Amaia Anabitarte [Fri, 5 Feb 2021 16:36:24 +0000 (17:36 +0100)]
MDL-70726 behat: Fixing existing fail tests

Some of the current behat tests were wrong but not failing because of the bug in 'should not exist' step.
Once the bug is fixed, we must fix also wrong behats.

4 years agoMDL-70726 behat: should_not_exist function does not work correctly
Thong Bui [Mon, 1 Feb 2021 04:21:02 +0000 (11:21 +0700)]
MDL-70726 behat: should_not_exist function does not work correctly

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 7 Mar 2021 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMoodle release 3.8.8 v3.8.8
Eloy Lafuente (stronk7) [Sat, 6 Mar 2021 17:03:50 +0000 (18:03 +0100)]
Moodle release 3.8.8

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 6 Mar 2021 00:07:41 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoweekly release 3.8.7+
Sara Arjona [Fri, 5 Mar 2021 15:01:47 +0000 (16:01 +0100)]
weekly release 3.8.7+

4 years agoMerge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Sara Arjona [Fri, 5 Mar 2021 15:01:46 +0000 (16:01 +0100)]
Merge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_38_STABLE

4 years agoMDL-69680 lib: Fix behat test backup_and_restore.feature
Ilya Tregubov [Thu, 4 Mar 2021 10:45:06 +0000 (12:45 +0200)]
MDL-69680 lib: Fix behat test backup_and_restore.feature

4 years agoMDL-69680 lib: Replace deprecated jQuery functions
Ilya Tregubov [Tue, 16 Feb 2021 07:31:41 +0000 (09:31 +0200)]
MDL-69680 lib: Replace deprecated jQuery functions

4 years agoMDL-69680 lib: Update jQuery version in Moodle files
Ilya Tregubov [Fri, 12 Feb 2021 07:39:18 +0000 (09:39 +0200)]
MDL-69680 lib: Update jQuery version in Moodle files

4 years agoMDL-69680 lib: Upgrade jQuery lib to 3.5.1
Ilya Tregubov [Fri, 12 Feb 2021 07:29:08 +0000 (09:29 +0200)]
MDL-69680 lib: Upgrade jQuery lib to 3.5.1

4 years agoMDL-70767 feedback: Prevent xss in feedback answer text.
Ilya Tregubov [Tue, 2 Mar 2021 13:59:43 +0000 (15:59 +0200)]
MDL-70767 feedback: Prevent xss in feedback answer text.

4 years agoMDL-65552 block_activity_results: correct Behat tests for idnumbers.
Paul Holden [Wed, 3 Mar 2021 13:36:11 +0000 (13:36 +0000)]
MDL-65552 block_activity_results: correct Behat tests for idnumbers.

Teachers can see user idnumber fields only when they are configured
identity fields. Students cannot.

4 years agoMDL-65552 user: escape idnumber and email in table_sql
Marina Glancy [Mon, 1 Mar 2021 18:14:35 +0000 (19:14 +0100)]
MDL-65552 user: escape idnumber and email in table_sql

4 years agoMDL-65552 user: escape idnumber field on output.
Paul Holden [Mon, 1 Mar 2021 14:20:02 +0000 (14:20 +0000)]
MDL-65552 user: escape idnumber field on output.

This commit also corrects parameter definition of the field to
match core_user.

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 3 Mar 2021 00:07:37 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMDL-70822 enrol: respect capability to view other users profile.
Paul Holden [Mon, 8 Feb 2021 08:23:12 +0000 (08:23 +0000)]
MDL-70822 enrol: respect capability to view other users profile.

When retrieving courses of another user via web services, we should
respect the capability to view that users profile in a given course.

4 years agoMDL-70668 auth: Fix secret validation during user confirmation
Sander Wind [Tue, 19 Jan 2021 08:05:41 +0000 (16:05 +0800)]
MDL-70668 auth: Fix secret validation during user confirmation

Co-authored-by: Michael Hawkins <michaelh@moodle.com>
4 years agoMDL-59293 block_onlineusers: Update behat tests
Peter Dias [Thu, 25 Feb 2021 02:06:10 +0000 (10:06 +0800)]
MDL-59293 block_onlineusers: Update behat tests

4 years agoMDL-59293 block_onlineusers: Check whether current user can view online users
Peter Dias [Fri, 28 Aug 2020 04:53:26 +0000 (12:53 +0800)]
MDL-59293 block_onlineusers: Check whether current user can view online users

- Removed block from site admin.
- Blocked guest from viewuserlist cap

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 2 Mar 2021 00:07:35 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMerge branch 'MDL-68735_38' of https://github.com/stronk7/moodle into MOODLE_38_STABLE
Sara Arjona [Mon, 1 Mar 2021 15:17:59 +0000 (16:17 +0100)]
Merge branch 'MDL-68735_38' of https://github.com/stronk7/moodle into MOODLE_38_STABLE

4 years agoAutomatically generated installer lang files
AMOS bot [Mon, 1 Mar 2021 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 28 Feb 2021 00:07:35 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 27 Feb 2021 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 25 Feb 2021 00:07:39 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Mon, 22 Feb 2021 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 19 Feb 2021 00:07:51 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 17 Feb 2021 00:07:45 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 16 Feb 2021 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMDL-68735 env: Moodle 3.8.x, 3.9.x and 3.10.x do not support PHP 8.0
Eloy Lafuente (stronk7) [Sat, 13 Feb 2021 11:50:10 +0000 (12:50 +0100)]
MDL-68735 env: Moodle 3.8.x, 3.9.x and 3.10.x do not support PHP 8.0

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 13 Feb 2021 00:07:50 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 11 Feb 2021 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 6 Feb 2021 00:07:43 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 4 Feb 2021 00:07:48 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Mon, 1 Feb 2021 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 31 Jan 2021 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 27 Jan 2021 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 23 Jan 2021 00:07:43 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sun, 17 Jan 2021 00:07:45 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMoodle release 3.8.7 v3.8.7
Eloy Lafuente (stronk7) [Sat, 16 Jan 2021 15:58:20 +0000 (16:58 +0100)]
Moodle release 3.8.7

4 years agoweekly release 3.8.6+
Sara Arjona [Fri, 15 Jan 2021 07:25:58 +0000 (08:25 +0100)]
weekly release 3.8.6+

4 years agoMerge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Sara Arjona [Fri, 15 Jan 2021 07:25:56 +0000 (08:25 +0100)]
Merge branch 'install_38_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_38_STABLE

4 years agoMerge branch 'MDL-69308_38' of https://github.com/stronk7/moodle into MOODLE_38_STABLE
Sara Arjona [Thu, 14 Jan 2021 11:04:29 +0000 (12:04 +0100)]
Merge branch 'MDL-69308_38' of https://github.com/stronk7/moodle into MOODLE_38_STABLE

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 14 Jan 2021 00:07:41 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 years agoMDL-69308 environment: Apply agreed changes
Eloy Lafuente (stronk7) [Sun, 10 Jan 2021 22:38:34 +0000 (23:38 +0100)]
MDL-69308 environment: Apply agreed changes

- PHP 7.3 required.
- Moodle 3.6 required.
- SQL*Server 2017 (aka, 14.0) required.
- Sodium PHP extension required.

4 years agoMDL-69308 environment: 3.11 base information
Eloy Lafuente (stronk7) [Sun, 10 Jan 2021 22:32:04 +0000 (23:32 +0100)]
MDL-69308 environment: 3.11 base information

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

4 years agoMDL-68486 auth_shibboleth: Reset convert_data if it uses dataroot file
Mihail Geshoski [Fri, 27 Nov 2020 01:54:37 +0000 (09:54 +0800)]
MDL-68486 auth_shibboleth: Reset convert_data if it uses dataroot file

Upgrade step that resets the 'Data modification API' (convert_data)
setting to its default value if this setting is currently configured
to use a file located within the $CFG->dataroot directory.

4 years agoMDL-68486 auth_shibboleth: Prevent using dataroot files in convert_data
Mihail Geshoski [Fri, 27 Nov 2020 01:44:43 +0000 (09:44 +0800)]
MDL-68486 auth_shibboleth: Prevent using dataroot files in convert_data

Prevents configuring the 'Data modification API' (convert_data) setting
to use files located within the $CFG->dataroot directory as it exposes
the site to security risks.

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 13 Jan 2021 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files