moodle.git
15 months agoMoodle release 3.5.18 MOODLE_35_STABLE v3.5.18
Eloy Lafuente (stronk7) [Sat, 8 May 2021 14:40:32 +0000 (16:40 +0200)]
Moodle release 3.5.18

15 months agoweekly release 3.5.17+
Eloy Lafuente (stronk7) [Fri, 7 May 2021 14:54:38 +0000 (16:54 +0200)]
weekly release 3.5.17+

15 months agoAutomatically generated installer lang files
AMOS bot [Thu, 6 May 2021 00:07:39 +0000 (00:07 +0000)]
Automatically generated installer lang files

15 months 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

15 months 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.

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

15 months 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

15 months 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

15 months 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

15 months 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.

15 months 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.

15 months agoweekly release 3.5.17+
Víctor Déniz [Fri, 30 Apr 2021 11:54:18 +0000 (12:54 +0100)]
weekly release 3.5.17+

15 months 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.

15 months 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.

15 months 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.

15 months agoAutomatically generated installer lang files
AMOS bot [Tue, 20 Apr 2021 00:07:35 +0000 (00:07 +0000)]
Automatically generated installer lang files

15 months agoAutomatically generated installer lang files
AMOS bot [Sun, 18 Apr 2021 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

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

15 months agoAutomatically generated installer lang files
AMOS bot [Wed, 14 Apr 2021 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files

16 months agoAutomatically generated installer lang files
AMOS bot [Fri, 9 Apr 2021 00:07:39 +0000 (00:07 +0000)]
Automatically generated installer lang files

16 months agoAutomatically generated installer lang files
AMOS bot [Tue, 6 Apr 2021 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files

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

16 months agoAutomatically generated installer lang files
AMOS bot [Fri, 2 Apr 2021 00:07:33 +0000 (00:07 +0000)]
Automatically generated installer lang files

16 months agoAutomatically generated installer lang files
AMOS bot [Thu, 1 Apr 2021 00:07:35 +0000 (00:07 +0000)]
Automatically generated installer lang files

16 months agoAutomatically generated installer lang files
AMOS bot [Mon, 29 Mar 2021 00:07:33 +0000 (00:07 +0000)]
Automatically generated installer lang files

16 months agoAutomatically generated installer lang files
AMOS bot [Sun, 28 Mar 2021 00:07:30 +0000 (00:07 +0000)]
Automatically generated installer lang files

16 months agoAutomatically generated installer lang files
AMOS bot [Thu, 25 Mar 2021 00:07:37 +0000 (00:07 +0000)]
Automatically generated installer lang files

16 months agoweekly release 3.5.17+
Víctor Déniz [Wed, 24 Mar 2021 14:20:48 +0000 (14:20 +0000)]
weekly release 3.5.17+

16 months 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

16 months agoAutomatically generated installer lang files
AMOS bot [Thu, 18 Mar 2021 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoAutomatically generated installer lang files
AMOS bot [Sat, 13 Mar 2021 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoweekly release 3.5.17+
Sara Arjona [Thu, 11 Mar 2021 16:18:54 +0000 (17:18 +0100)]
weekly release 3.5.17+

17 months agoAutomatically generated installer lang files
AMOS bot [Wed, 10 Mar 2021 00:07:27 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months 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

17 months agoAutomatically generated installer lang files
AMOS bot [Sun, 7 Mar 2021 00:07:28 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoMoodle release 3.5.17 v3.5.17
Eloy Lafuente (stronk7) [Sat, 6 Mar 2021 17:03:45 +0000 (18:03 +0100)]
Moodle release 3.5.17

17 months agoAutomatically generated installer lang files
AMOS bot [Sat, 6 Mar 2021 00:07:29 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoweekly release 3.5.16+
Sara Arjona [Fri, 5 Mar 2021 15:01:44 +0000 (16:01 +0100)]
weekly release 3.5.16+

17 months agoMDL-69680 tool_dataprivacy: Adjust expected size of downloaded data
Jun Pataleta [Thu, 4 Mar 2021 04:33:20 +0000 (12:33 +0800)]
MDL-69680 tool_dataprivacy: Adjust expected size of downloaded data

Adjusting due to the upgrade for jQuery to 3.5.1

17 months agoMDL-69680 lib: Replace deprecated jQuery functions
Ilya Tregubov [Fri, 19 Feb 2021 15:51:57 +0000 (17:51 +0200)]
MDL-69680 lib: Replace deprecated jQuery functions

17 months agoMDL-69680 lib: Update jQuery version in Moodle files
Ilya Tregubov [Fri, 19 Feb 2021 15:38:04 +0000 (17:38 +0200)]
MDL-69680 lib: Update jQuery version in Moodle files

17 months agoMDL-69680 lib: Upgrade jQuery lib to 3.5.1
Ilya Tregubov [Fri, 19 Feb 2021 15:35:33 +0000 (17:35 +0200)]
MDL-69680 lib: Upgrade jQuery lib to 3.5.1

17 months 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.

17 months 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.

17 months 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

17 months 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.

17 months agoMDL-65552 user: escape extra/email user fields.
Paul Holden [Mon, 7 Oct 2019 16:33:48 +0000 (17:33 +0100)]
MDL-65552 user: escape extra/email user fields.

This commit has been backported from the changes in MDL-66762.

17 months agoAutomatically generated installer lang files
AMOS bot [Wed, 3 Mar 2021 00:07:28 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months 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.

17 months 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>
17 months 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

17 months 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

17 months agoAutomatically generated installer lang files
AMOS bot [Tue, 2 Mar 2021 00:07:26 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoAutomatically generated installer lang files
AMOS bot [Mon, 1 Mar 2021 00:07:29 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoAutomatically generated installer lang files
AMOS bot [Sun, 28 Feb 2021 00:07:26 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoAutomatically generated installer lang files
AMOS bot [Sat, 27 Feb 2021 00:07:33 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoAutomatically generated installer lang files
AMOS bot [Thu, 25 Feb 2021 00:07:30 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoAutomatically generated installer lang files
AMOS bot [Mon, 22 Feb 2021 00:07:29 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months agoAutomatically generated installer lang files
AMOS bot [Fri, 19 Feb 2021 00:07:41 +0000 (00:07 +0000)]
Automatically generated installer lang files

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

17 months agoAutomatically generated installer lang files
AMOS bot [Tue, 16 Feb 2021 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

17 months 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

17 months agoAutomatically generated installer lang files
AMOS bot [Sat, 13 Feb 2021 00:07:40 +0000 (00:07 +0000)]
Automatically generated installer lang files

18 months agoAutomatically generated installer lang files
AMOS bot [Thu, 11 Feb 2021 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

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

18 months agoAutomatically generated installer lang files
AMOS bot [Mon, 1 Feb 2021 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files

18 months agoAutomatically generated installer lang files
AMOS bot [Sun, 31 Jan 2021 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

18 months agoAutomatically generated installer lang files
AMOS bot [Wed, 27 Jan 2021 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files

18 months agoAutomatically generated installer lang files
AMOS bot [Sat, 23 Jan 2021 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files

18 months agoAutomatically generated installer lang files
AMOS bot [Sun, 17 Jan 2021 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files

18 months agoMoodle release 3.5.16 v3.5.16
Eloy Lafuente (stronk7) [Sat, 16 Jan 2021 15:58:14 +0000 (16:58 +0100)]
Moodle release 3.5.16

18 months agoweekly release 3.5.15+
Sara Arjona [Fri, 15 Jan 2021 07:25:54 +0000 (08:25 +0100)]
weekly release 3.5.15+

18 months agoAutomatically generated installer lang files
AMOS bot [Thu, 14 Jan 2021 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files

18 months 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.

18 months 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.

18 months 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.

18 months 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.

18 months agoAutomatically generated installer lang files
AMOS bot [Wed, 13 Jan 2021 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

18 months agoAutomatically generated installer lang files
AMOS bot [Tue, 12 Jan 2021 00:07:41 +0000 (00:07 +0000)]
Automatically generated installer lang files

19 months agoAutomatically generated installer lang files
AMOS bot [Mon, 11 Jan 2021 00:08:46 +0000 (00:08 +0000)]
Automatically generated installer lang files

19 months agoAutomatically generated installer lang files
AMOS bot [Sat, 9 Jan 2021 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files

19 months agoMDL-69911 core: Clean content passed through TeX filter
Michael Hawkins [Tue, 1 Dec 2020 10:59:03 +0000 (18:59 +0800)]
MDL-69911 core: Clean content passed through TeX filter

19 months agoMDL-67782 message: fix messages max length
Ferran Recio [Fri, 20 Nov 2020 16:13:50 +0000 (17:13 +0100)]
MDL-67782 message: fix messages max length

19 months agoweekly release 3.5.15+
Jun Pataleta [Fri, 8 Jan 2021 04:15:02 +0000 (12:15 +0800)]
weekly release 3.5.15+

19 months agoAutomatically generated installer lang files
AMOS bot [Fri, 8 Jan 2021 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files

19 months agoMDL-70584 core_iplookup: increase tolerance in test
Marina Glancy [Thu, 7 Jan 2021 13:12:59 +0000 (14:12 +0100)]
MDL-70584 core_iplookup: increase tolerance in test

19 months agoAutomatically generated installer lang files
AMOS bot [Sun, 27 Dec 2020 00:07:33 +0000 (00:07 +0000)]
Automatically generated installer lang files

19 months agoAutomatically generated installer lang files
AMOS bot [Thu, 24 Dec 2020 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files

19 months agoweekly release 3.5.15+
Eloy Lafuente (stronk7) [Wed, 23 Dec 2020 19:24:38 +0000 (20:24 +0100)]
weekly release 3.5.15+

19 months agoAutomatically generated installer lang files
AMOS bot [Tue, 22 Dec 2020 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

19 months agoweekly release 3.5.15+
Sara Arjona [Thu, 17 Dec 2020 14:52:57 +0000 (15:52 +0100)]
weekly release 3.5.15+

19 months agoMDL-69107 behat: Update field normalisation
Andrew Nicols [Wed, 16 Dec 2020 15:11:24 +0000 (23:11 +0800)]
MDL-69107 behat: Update field normalisation

19 months agoMDL-69107 user: Fix autocomplete usages
Andrew Nicols [Mon, 22 Jun 2020 04:21:47 +0000 (12:21 +0800)]
MDL-69107 user: Fix autocomplete usages

19 months agoMDL-69107 form_autocomplete: Rewrite item selection
Andrew Nicols [Mon, 15 Jun 2020 01:44:39 +0000 (09:44 +0800)]
MDL-69107 form_autocomplete: Rewrite item selection

The form_autocomplete is essentially a custom element. Unfortunately the
`setValue()` function in Mink has undesired actions so it is necessary
to write our own handling for it.

The standard Mink `setValue()` function focuses the element, sets a
value, and then blurs the element. In the case of the autocomplete this
can cause the autocomplete suggestions list to be closed in some
situations. Instead of using the setValue we click, and type the value,
but do not immediately blur.

19 months agoAutomatically generated installer lang files
AMOS bot [Tue, 15 Dec 2020 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

19 months agoAutomatically generated installer lang files
AMOS bot [Sun, 13 Dec 2020 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

20 months agoAutomatically generated installer lang files
AMOS bot [Sat, 12 Dec 2020 00:07:40 +0000 (00:07 +0000)]
Automatically generated installer lang files

20 months agoAutomatically generated installer lang files
AMOS bot [Fri, 11 Dec 2020 00:07:40 +0000 (00:07 +0000)]
Automatically generated installer lang files

20 months agoweekly release 3.5.15+
Víctor Déniz [Thu, 10 Dec 2020 21:10:14 +0000 (21:10 +0000)]
weekly release 3.5.15+

20 months agoAutomatically generated installer lang files
AMOS bot [Tue, 8 Dec 2020 00:07:30 +0000 (00:07 +0000)]
Automatically generated installer lang files