Eloy Lafuente (stronk7) [Sat, 11 May 2019 21:17:37 +0000 (23:17 +0200)]
Moodle release 3.4.9
Eloy Lafuente (stronk7) [Fri, 10 May 2019 18:31:09 +0000 (20:31 +0200)]
weekly release 3.4.8+
Eloy Lafuente (stronk7) [Fri, 10 May 2019 18:31:07 +0000 (20:31 +0200)]
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
Michael Hawkins [Mon, 18 Mar 2019 07:23:59 +0000 (15:23 +0800)]
MDL-61738 messageinbound: Fix quota checks & filesize for email uploads
Private files uploaded by email will now honour the file quota limit,
because the filesize is set correctly and checked against users'
remaining personal quota limit. Previously, attachment size was always
set to zero, and quota was checked against the draft area (this is
not valid for email uploads, because each file is moved out of the
draft area as it is processed, so multiple files totalling greater
than the remaining quota would still pass the check).
Dan Marsden [Wed, 1 May 2019 01:23:15 +0000 (13:23 +1200)]
MDL-64708 cohort: Return url is not used anywhere in core.
AMOS bot [Tue, 30 Apr 2019 00:12:42 +0000 (00:12 +0000)]
Automatically generated installer lang files
AMOS bot [Sat, 27 Apr 2019 00:13:00 +0000 (00:13 +0000)]
Automatically generated installer lang files
AMOS bot [Sat, 13 Apr 2019 00:13:38 +0000 (00:13 +0000)]
Automatically generated installer lang files
AMOS bot [Tue, 9 Apr 2019 00:11:40 +0000 (00:11 +0000)]
Automatically generated installer lang files
AMOS bot [Tue, 9 Apr 2019 00:11:40 +0000 (00:11 +0000)]
Automatically generated installer lang files
AMOS bot [Fri, 29 Mar 2019 00:15:44 +0000 (00:15 +0000)]
Automatically generated installer lang files
AMOS bot [Mon, 25 Mar 2019 00:09:40 +0000 (00:09 +0000)]
Automatically generated installer lang files
Sara Arjona [Fri, 8 Mar 2019 10:03:07 +0000 (11:03 +0100)]
Moodle release 3.4.8
Sara Arjona [Fri, 8 Mar 2019 10:03:06 +0000 (11:03 +0100)]
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
AMOS bot [Fri, 8 Mar 2019 00:15:41 +0000 (00:15 +0000)]
Automatically generated installer lang files
Andrew Nicols [Thu, 28 Feb 2019 00:39:20 +0000 (08:39 +0800)]
MDL-64971 access: Ensure that the capability exists when fetching
AMOS bot [Wed, 6 Mar 2019 00:09:48 +0000 (00:09 +0000)]
Automatically generated installer lang files
Jun Pataleta [Tue, 5 Mar 2019 07:52:15 +0000 (15:52 +0800)]
Merge branch 'MDL-64799_34' of https://github.com/timhunt/moodle into MOODLE_34_STABLE
Shamim Rezaie [Wed, 20 Feb 2019 03:54:53 +0000 (14:54 +1100)]
MDL-64830 core_calendar: Do cap check on event edit form
Damyon Wiese [Tue, 29 Jan 2019 01:23:36 +0000 (09:23 +0800)]
MDL-64651 comments: Do not send referrer
Use blanktarget option on all comments to prevent malicious links.
Viktor [Mon, 4 Feb 2019 08:10:25 +0000 (16:10 +0800)]
MDL-62702 core_lib: fix broken verification signature
Mark Nelson [Wed, 27 Jun 2018 07:28:42 +0000 (15:28 +0800)]
MDL-62702 core_lib: updated the 'ltiprovider' readme_moodle.txt
Brendan Cox [Thu, 28 Jun 2018 11:58:25 +0000 (19:58 +0800)]
MDL-62702 core_lib: parameters in POST override other LTI values
This fixes an exploit where you could alter the 'Content-Type' of the
request and bypass the case-sensitive check 'strstr'. For example,
setting it to 'application/x-www-FORM-urlencoded'. However, changing
this to use 'stristr' was also not an acceptable approach as you
could also bypass it by setting the value to 'multipart/form-data'.
Ryan Wyllie [Thu, 14 Feb 2019 05:10:31 +0000 (13:10 +0800)]
MDL-63786 core_my: prevent dashboard access when logged in as
Stop a "logged in as" session from accessing the user's dashboard
to prevent user JavaScript from being executed in the logged in
as session
Jun Pataleta [Tue, 5 Mar 2019 03:13:03 +0000 (11:13 +0800)]
Merge branch 'MDL-64652-34' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
Andrew Nicols [Mon, 28 Jan 2019 03:03:57 +0000 (11:03 +0800)]
MDL-64652 mod_data: Break LEFT JOINs to multiple INNER
Andrew Nicols [Mon, 28 Jan 2019 02:31:37 +0000 (10:31 +0800)]
MDL-64652 glossary: Break LEFT JOINs to multiple INNER
Andrew Nicols [Mon, 28 Jan 2019 02:27:33 +0000 (10:27 +0800)]
MDL-64652 forum: Use an inner join when fetching ratings
Andrew Nicols [Mon, 28 Jan 2019 02:27:07 +0000 (10:27 +0800)]
MDL-64652 rating: Add optional inner join option to sql
Andrew Nicols [Wed, 23 Jan 2019 06:52:16 +0000 (14:52 +0800)]
MDL-64652 mod_forum: Performance improvement for provider
There are possibly some further improvements that can be made to:
- export_discussion_data
- export_all_posts
AMOS bot [Mon, 4 Mar 2019 00:09:59 +0000 (00:09 +0000)]
Automatically generated installer lang files
AMOS bot [Fri, 1 Mar 2019 00:16:04 +0000 (00:16 +0000)]
Automatically generated installer lang files
AMOS bot [Wed, 27 Feb 2019 00:09:59 +0000 (00:09 +0000)]
Automatically generated installer lang files
Tim Hunt [Thu, 6 Dec 2018 19:27:29 +0000 (19:27 +0000)]
MDL-64799 qtype_random: orphaned random questions should be deleted
This is a back-port of MDL-63260
This fix is based on some original code written by Bo Pierce.
AMOS bot [Sat, 16 Feb 2019 00:14:36 +0000 (00:14 +0000)]
Automatically generated installer lang files
Andrew Nicols [Fri, 15 Feb 2019 00:29:19 +0000 (08:29 +0800)]
weekly release 3.4.7+
Andrew Nicols [Fri, 15 Feb 2019 00:29:17 +0000 (08:29 +0800)]
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
Jun Pataleta [Wed, 13 Feb 2019 13:00:24 +0000 (21:00 +0800)]
Merge branch 'MDL-63892-34-rework' of git://github.com/mickhawkins/moodle into MOODLE_34_STABLE
Michael Hawkins [Wed, 13 Feb 2019 08:47:46 +0000 (16:47 +0800)]
MDL-63892 mod_forum: Behat update for post order
Jun Pataleta [Wed, 13 Feb 2019 08:26:51 +0000 (16:26 +0800)]
Merge branch 'MDL-64835-34' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
Andrew Nicols [Wed, 13 Feb 2019 02:20:13 +0000 (10:20 +0800)]
Merge branch 'MDL-63892-34-rework' of git://github.com/mickhawkins/moodle into MOODLE_34_STABLE
Andrew Nicols [Tue, 12 Feb 2019 23:45:02 +0000 (07:45 +0800)]
MDL-64835 JS: Reduce cache invalidation checks
The cache invalidation check was previously occuring every time either
the `set` or `get` function was called on the cache. However, the cache
invalidation check is based on the jsrev which is static for the
lifetime of the page.
This change moved the invalidation to happen during the setup of the AMD
module such that it only happens one time per storage type (Local +
Session).
Andrew Nicols [Tue, 12 Feb 2019 23:37:03 +0000 (07:37 +0800)]
MDL-64835 JS: Stop using the jsrev in the jsrevPrefix
We only use the jsrevPrefix to determine if the cache should be
invalidated, but the prefix that we were using is based on the new
jsrev.
For example, the jsrevPrefix will be:
hash(wwwroot + '/ + config.jsrev) + '/jsrev'
Where config.jsrev is the _current_ (new) jsrev.
As a result when searching for the jsrev used to store the data which is
currently in the storage cache, no key is returned, and we instead set
an 'initial' value and the cache is not cleared
This patch changes the jsrevPrefix to be:
hash(wwwroot) + '/jsrev'
Since the wwwroot does not change, the key remains static for the
current site. As a result, when the jsrev is bumped via a Moodle cache
purge, we are able to correctly fetch the old jsrev from the cache,
determine that the jsrev has changed, and purge the cache.
AMOS bot [Wed, 13 Feb 2019 00:12:01 +0000 (00:12 +0000)]
Automatically generated installer lang files
Michael Hawkins [Mon, 21 Jan 2019 09:03:49 +0000 (17:03 +0800)]
MDL-63892 mod_forum: Updating lib unit test
Michael Hawkins [Fri, 14 Dec 2018 09:21:24 +0000 (17:21 +0800)]
MDL-63892 mod_forum: Fix last post details in forum view
Michael Hawkins [Thu, 22 Nov 2018 09:39:14 +0000 (17:39 +0800)]
MDL-63892 mod_forum: Correction to timestamp added to edit strings
Eloy Lafuente (stronk7) [Mon, 11 Feb 2019 16:06:15 +0000 (17:06 +0100)]
Merge branch 'MDL-64725-34' of git://github.com/junpataleta/moodle into MOODLE_34_STABLE
Jun Pataleta [Mon, 11 Feb 2019 08:46:21 +0000 (16:46 +0800)]
Merge branch 'MDL-64644_34' of git://github.com/markn86/moodle into MOODLE_34_STABLE
Andrew Nicols [Mon, 11 Feb 2019 08:34:30 +0000 (16:34 +0800)]
Merge branch 'MDL-64597-34' of git://github.com/junpataleta/moodle into MOODLE_34_STABLE
Mark Nelson [Wed, 23 Jan 2019 05:43:05 +0000 (13:43 +0800)]
MDL-64644 completion: fixed assertions in privacy test
Mark Nelson [Wed, 23 Jan 2019 05:42:01 +0000 (13:42 +0800)]
MDL-64644 completion: set status correctly in provider
Mark Nelson [Wed, 23 Jan 2019 05:39:29 +0000 (13:39 +0800)]
MDL-64644 completion: ensure we return array for provider
AMOS bot [Sun, 10 Feb 2019 00:10:33 +0000 (00:10 +0000)]
Automatically generated installer lang files
Jun Pataleta [Wed, 30 Jan 2019 04:02:18 +0000 (12:02 +0800)]
MDL-64725 composer: Use lowercase for package name of dev dependencies
Jun Pataleta [Fri, 1 Feb 2019 00:57:05 +0000 (08:57 +0800)]
weekly release 3.4.7+
Jun Pataleta [Fri, 1 Feb 2019 00:57:04 +0000 (08:57 +0800)]
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
Eloy Lafuente (stronk7) [Thu, 31 Jan 2019 21:47:07 +0000 (22:47 +0100)]
Merge branch 'MDL-64737-34-attoprivacysql' of git://github.com/mudrd8mz/moodle into MOODLE_34_STABLE
David Mudrák [Thu, 31 Jan 2019 11:28:52 +0000 (12:28 +0100)]
MDL-64737 editor_atto: Fix the privacy export_user_data() implementation
Multiple issues fixed:
* Fixed order of the statements to avoid access to undefined variables.
* Fixed population of the SQL query parameter to make sure they match
the placeholder in the query.
* Fixed missing table aliases in the second query to make sure the query
actually works as expected.
David Mudrák [Thu, 31 Jan 2019 10:31:57 +0000 (11:31 +0100)]
MDL-64737 privacy: Fix privacy provider testsuite file names
Only files ending with "_test.php" suffix are implicit part of a
testsuite. So these two were not actually executed.
AMOS bot [Wed, 30 Jan 2019 00:10:32 +0000 (00:10 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Tue, 29 Jan 2019 22:48:55 +0000 (23:48 +0100)]
Merge branch 'MDL-64424-34-expiredfrontpage' of git://github.com/mudrd8mz/moodle into MOODLE_34_STABLE
Jun Pataleta [Thu, 24 Jan 2019 04:50:14 +0000 (12:50 +0800)]
MDL-64597 behat: Properly import behat_util when dropping parallel sites
David Mudrák [Mon, 17 Dec 2018 20:03:58 +0000 (21:03 +0100)]
MDL-64424 privacy: Use system context purpose on the front page, too
For activities on the site's front page, use the purpose and retention
periods as defined for the system context, not for the courses.
AMOS bot [Tue, 22 Jan 2019 00:10:14 +0000 (00:10 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Sat, 12 Jan 2019 12:25:52 +0000 (13:25 +0100)]
Moodle release 3.4.7
Sara Arjona [Thu, 10 Jan 2019 16:51:42 +0000 (17:51 +0100)]
weekly release 3.4.6+
Sara Arjona [Thu, 10 Jan 2019 16:51:42 +0000 (17:51 +0100)]
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
AMOS bot [Thu, 10 Jan 2019 00:08:57 +0000 (00:08 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Tue, 8 Jan 2019 23:03:59 +0000 (00:03 +0100)]
Merge branch 'MDL-64285-34' of git://github.com/junpataleta/moodle into MOODLE_34_STABLE
Michael Hawkins [Thu, 20 Dec 2018 02:10:09 +0000 (10:10 +0800)]
MDL-64395 groups: Added XSS Risk to the manage groups capability
Michael Hawkins [Tue, 11 Dec 2018 06:27:13 +0000 (14:27 +0800)]
MDL-64372 userpix: Escape fullname string on userpix index page
Sara Arjona [Tue, 27 Nov 2018 09:40:13 +0000 (10:40 +0100)]
MDL-64222 badge: Removed backpackurl from the edit_form
Andrew Nicols [Mon, 7 Jan 2019 22:56:50 +0000 (06:56 +0800)]
Merge branch 'MDL-63276_34' of https://github.com/stronk7/moodle into MOODLE_34_STABLE
Mathew [Mon, 10 Dec 2018 03:04:10 +0000 (11:04 +0800)]
MDL-49651 mod_forum: Respect course visibility in cron
This checks the courses' current visibility and the users permissions.
If they have the permission to view the course when it is hidden they'll get messages.
We already have checks for the users enrolled & subscription status.
Eloy Lafuente (stronk7) [Sun, 30 Dec 2018 17:08:35 +0000 (18:08 +0100)]
MDL-63276 environment: PHP 7.1 and Moodle 3.2 required
Eloy Lafuente (stronk7) [Sun, 30 Dec 2018 17:05:30 +0000 (18:05 +0100)]
MDL-63276 environment: 3.7 base information
This is a direct copy of the 3.6 branch to
have changes under control easier in next commits.
AMOS bot [Wed, 19 Dec 2018 00:09:24 +0000 (00:09 +0000)]
Automatically generated installer lang files
Jun Pataleta [Fri, 30 Nov 2018 06:55:54 +0000 (14:55 +0800)]
MDL-64285 core: Fix environment check test
* Looping the environment results and skipping some items mean that
if a test gets skipped, the rest of the environment results won't be
tested. It's better to use a data provider for this in order to
individually test each environment result.
AMOS bot [Fri, 7 Dec 2018 00:09:43 +0000 (00:09 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Fri, 30 Nov 2018 17:02:05 +0000 (18:02 +0100)]
weekly release 3.4.6+
Eloy Lafuente (stronk7) [Fri, 30 Nov 2018 17:02:03 +0000 (18:02 +0100)]
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
Jun Pataleta [Fri, 30 Nov 2018 01:43:50 +0000 (09:43 +0800)]
Merge branch 'MDL-64214-34' of git://github.com/junpataleta/moodle into MOODLE_34_STABLE
Jun Pataleta [Thu, 29 Nov 2018 11:49:51 +0000 (19:49 +0800)]
MDL-64214 calendar: Populate the groups select box on page load
Simey Lameze [Thu, 29 Nov 2018 02:31:05 +0000 (10:31 +0800)]
MDL-64214 calendar: fix failing unit tests
Simey Lameze [Tue, 27 Nov 2018 01:22:06 +0000 (09:22 +0800)]
MDL-64214 core_calendar: fix event types form element handling
AMOS bot [Fri, 30 Nov 2018 00:07:50 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Thu, 29 Nov 2018 00:08:36 +0000 (00:08 +0000)]
Automatically generated installer lang files
David Monllao [Wed, 28 Nov 2018 10:23:17 +0000 (11:23 +0100)]
weekly release 3.4.6+
Eloy Lafuente (stronk7) [Tue, 27 Nov 2018 15:44:38 +0000 (16:44 +0100)]
Merge branch 'MDL-64220-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
David Monllao [Tue, 27 Nov 2018 07:10:29 +0000 (08:10 +0100)]
Merge branch 'MDL-64205-34-sarunconfirmeduser' of git://github.com/mudrd8mz/moodle into MOODLE_34_STABLE
Damyon Wiese [Tue, 27 Nov 2018 01:42:53 +0000 (09:42 +0800)]
MDL-64220 privacy: Clean path params
We need to consistently clean the path params before we use them. This
shows a difference on windows where dir separators are different.
Jun Pataleta [Tue, 27 Nov 2018 06:43:27 +0000 (14:43 +0800)]
Merge branch 'MDL-64181-34-fix' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
Andrew Nicols [Tue, 27 Nov 2018 06:31:55 +0000 (14:31 +0800)]
MDL-64181 core: Ensure that self is included in parentage
Jun Pataleta [Tue, 27 Nov 2018 03:44:46 +0000 (11:44 +0800)]
Merge branch 'MDL-64181-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
Damyon Wiese [Mon, 26 Nov 2018 02:17:35 +0000 (10:17 +0800)]
MDL-64181 javascript: Recursive template fix
This change prevents template rendering from waiting for itself, but does
allow it to wait for another async call to render.
David Mudrák [Sun, 25 Nov 2018 06:17:54 +0000 (07:17 +0100)]
MDL-64205 privacy: Delete orphaned data request records on upgrade
As a result of the bug, some requests can be orphaned - the linked user
record may not exist any more. This is a cleanup of such records.
David Mudrák [Sun, 25 Nov 2018 05:55:23 +0000 (06:55 +0100)]
MDL-64205 users: Do not delete the actual records of unconfirmed users
There is an automatic data privacy request created to get rid of all the
personal data upon the user deletion. With the actual user record
absent, the data privacy requests page throws an error. Let's do here
same as we do in `delete_incomplete_users_task` and let us not delete
the actual user record.
Eloy Lafuente (stronk7) [Fri, 23 Nov 2018 15:36:43 +0000 (16:36 +0100)]
weekly release 3.4.6+
Eloy Lafuente (stronk7) [Fri, 23 Nov 2018 15:36:41 +0000 (16:36 +0100)]
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE