moodle.git
5 years agoMoodle release 3.2.9 MOODLE_32_STABLE v3.2.9
Eloy Lafuente (stronk7) [Wed, 16 May 2018 16:42:08 +0000 (18:42 +0200)]
Moodle release 3.2.9

5 years agoMDL-62469 qtype_calculated: check remaining placeholders, see MDL-62275
Marina Glancy [Wed, 16 May 2018 07:25:11 +0000 (15:25 +0800)]
MDL-62469 qtype_calculated: check remaining placeholders, see MDL-62275

5 years agoweekly release 3.2.8+
David Monllao [Tue, 15 May 2018 07:42:25 +0000 (09:42 +0200)]
weekly release 3.2.8+

5 years agoAutomatically generated installer lang files
AMOS bot [Tue, 15 May 2018 00:06:53 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Sun, 13 May 2018 00:07:11 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 years agoMDL-62275 qtype_calculatedmulti: Fix typo
Eloy Lafuente (stronk7) [Fri, 11 May 2018 19:16:41 +0000 (21:16 +0200)]
MDL-62275 qtype_calculatedmulti: Fix typo

5 years agoMDL-62275 qtype_calc*: improve validation of formulae
Tim Hunt [Mon, 30 Apr 2018 18:45:47 +0000 (19:45 +0100)]
MDL-62275 qtype_calc*: improve validation of formulae

Many thanks to Marina Glancy for helping with this.

5 years agoMDL-62206 blocks: do not add fixed form elements as hidden
Marina Glancy [Wed, 9 May 2018 10:38:24 +0000 (18:38 +0800)]
MDL-62206 blocks: do not add fixed form elements as hidden

5 years agoMDL-62210 mod_assign: limit file lookup to the target assign
Adam Olley [Tue, 8 May 2018 09:01:53 +0000 (17:01 +0800)]
MDL-62210 mod_assign: limit file lookup to the target assign

5 years agoMDL-62210 mod_assign: improved validation in portfolio caller class
Brendan Cox [Tue, 8 May 2018 08:50:49 +0000 (16:50 +0800)]
MDL-62210 mod_assign: improved validation in portfolio caller class

5 years agoMDL-62232 mod_forum: PHPUnit 5.5 needs expectException()
Jun Pataleta [Wed, 9 May 2018 08:56:47 +0000 (16:56 +0800)]
MDL-62232 mod_forum: PHPUnit 5.5 needs expectException()

5 years agoMDL-62232 mod_forum: Additional tests for portfolio file export
Brendan Cox [Thu, 26 Apr 2018 23:46:13 +0000 (11:46 +1200)]
MDL-62232 mod_forum: Additional tests for portfolio file export

5 years agoMDL-62232 mod_forum: Limit portfolio to files belonging to the post
Adam Olley [Mon, 30 Apr 2018 03:27:24 +0000 (12:57 +0930)]
MDL-62232 mod_forum: Limit portfolio to files belonging to the post

5 years agoMDL-62233 portfolio: check caller parent class
Marina Glancy [Mon, 7 May 2018 04:53:40 +0000 (12:53 +0800)]
MDL-62233 portfolio: check caller parent class

5 years agoMDL-61996 core: when loggedin always check user is complete
Marina Glancy [Mon, 16 Apr 2018 07:29:03 +0000 (15:29 +0800)]
MDL-61996 core: when loggedin always check user is complete

5 years agoweekly release 3.2.8+
Jun Pataleta [Wed, 9 May 2018 04:01:04 +0000 (12:01 +0800)]
weekly release 3.2.8+

5 years agoAutomatically generated installer lang files
AMOS bot [Thu, 3 May 2018 00:06:55 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoMDL-62280 xhprof: Support tideways_xhprof
Andrew Nicols [Tue, 1 May 2018 01:30:46 +0000 (09:30 +0800)]
MDL-62280 xhprof: Support tideways_xhprof

5 years agoAutomatically generated installer lang files
AMOS bot [Tue, 1 May 2018 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Mon, 30 Apr 2018 00:06:54 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Mon, 16 Apr 2018 00:07:41 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Wed, 11 Apr 2018 00:07:45 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Sat, 31 Mar 2018 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 years agoweekly release 3.2.8+
Jun Pataleta [Thu, 29 Mar 2018 04:55:51 +0000 (12:55 +0800)]
weekly release 3.2.8+

5 years agoMDL-61770 iplookup: Check types rather than values
Andrew Nicols [Wed, 28 Mar 2018 01:05:23 +0000 (09:05 +0800)]
MDL-61770 iplookup: Check types rather than values

5 years agoAutomatically generated installer lang files
AMOS bot [Sun, 25 Mar 2018 00:06:47 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Wed, 21 Mar 2018 00:06:34 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Tue, 20 Mar 2018 00:06:34 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Tue, 20 Mar 2018 00:06:33 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoMoodle release 3.2.8 v3.2.8
Eloy Lafuente (stronk7) [Sat, 17 Mar 2018 00:18:24 +0000 (01:18 +0100)]
Moodle release 3.2.8

5 years agoMDL-61600 recaptcha: Create a script to display recaptcha
Dani Palou [Tue, 6 Mar 2018 15:05:55 +0000 (16:05 +0100)]
MDL-61600 recaptcha: Create a script to display recaptcha

5 years agoMDL-61392 enrol_paypal: Improve IPN input parameters checking
David Mudrák [Thu, 15 Feb 2018 11:50:46 +0000 (12:50 +0100)]
MDL-61392 enrol_paypal: Improve IPN input parameters checking

5 years agoMDL-61392 enrol_paypal: Improve the IPN notifications handling
David Mudrák [Thu, 15 Feb 2018 09:28:31 +0000 (10:28 +0100)]
MDL-61392 enrol_paypal: Improve the IPN notifications handling

* Notify administrators once incoming IPN request is verified by PayPal.
* Fix the HTTP status as expected by the IPN protocol.

5 years agoMDL-48501 auth/email: update external class to use reCAPTCHA v2
Jeff Webster [Tue, 6 Mar 2018 00:25:35 +0000 (19:25 -0500)]
MDL-48501 auth/email: update external class to use reCAPTCHA v2

5 years agoMDL-48501 mod_feedback: update feedback to use reCAPTCHA v2
Jeff Webster [Sun, 4 Mar 2018 06:25:30 +0000 (01:25 -0500)]
MDL-48501 mod_feedback: update feedback to use reCAPTCHA v2

5 years agoMDL-48501 login: update signup_form to use reCAPTCHA v2
Jeff Webster [Sun, 4 Mar 2018 06:25:30 +0000 (01:25 -0500)]
MDL-48501 login: update signup_form to use reCAPTCHA v2

5 years agoMDL-48501 form/recaptcha: update to use reCAPTCHA v2
Jeff Webster [Sun, 4 Mar 2018 06:25:30 +0000 (01:25 -0500)]
MDL-48501 form/recaptcha: update to use reCAPTCHA v2

5 years agoMDL-48501 recaptchalib_v2: add new lib to support reCAPTCHA v2
Jeff Webster [Sun, 4 Mar 2018 06:25:29 +0000 (01:25 -0500)]
MDL-48501 recaptchalib_v2: add new lib to support reCAPTCHA v2

5 years agoAutomatically generated installer lang files
AMOS bot [Wed, 7 Mar 2018 00:06:50 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoMDL-48501 lang: update reCAPTCHA language strings
Jeff Webster [Sun, 4 Mar 2018 06:25:21 +0000 (01:25 -0500)]
MDL-48501 lang: update reCAPTCHA language strings

5 years agoAutomatically generated installer lang files
AMOS bot [Mon, 19 Feb 2018 00:06:46 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Sat, 17 Feb 2018 00:06:49 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoweekly release 3.2.7+
David Monllao [Thu, 8 Feb 2018 16:40:24 +0000 (17:40 +0100)]
weekly release 3.2.7+

5 years agoMDL-61269 composer: better license GPL-3.0-or-later
Eloy Lafuente (stronk7) [Sun, 4 Feb 2018 18:38:32 +0000 (19:38 +0100)]
MDL-61269 composer: better license GPL-3.0-or-later

Source: https://spdx.org/licenses/

5 years agoweekly release 3.2.7+
David Monllao [Thu, 1 Feb 2018 13:26:50 +0000 (14:26 +0100)]
weekly release 3.2.7+

5 years agoAutomatically generated installer lang files
AMOS bot [Thu, 1 Feb 2018 00:07:09 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 years agoMDL-61242 repository_equella: Fix missing class repository
David Mudrák [Wed, 31 Jan 2018 22:05:22 +0000 (23:05 +0100)]
MDL-61242 repository_equella: Fix missing class repository

The call to the class 'repository' introduced in the commit d05c2ac7cc78
didn't fully work and threw: "Exception - Class 'repository' not found".
This fixes the missing library inclusion.

5 years agoAutomatically generated installer lang files
AMOS bot [Wed, 31 Jan 2018 00:06:55 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Tue, 30 Jan 2018 00:06:55 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoweekly release 3.2.7+
Andrew Nicols [Mon, 29 Jan 2018 03:01:19 +0000 (11:01 +0800)]
weekly release 3.2.7+

5 years agoMDL-61269 behat-extension: bump to fix some caps & defaults
Eloy Lafuente (stronk7) [Wed, 24 Jan 2018 23:39:06 +0000 (00:39 +0100)]
MDL-61269 behat-extension: bump to fix some caps & defaults

5 years agoMDL-61242 repository_equella: Add source key when sending the source.
Adrian Greeve [Sat, 20 Jan 2018 02:56:18 +0000 (10:56 +0800)]
MDL-61242 repository_equella: Add source key when sending the source.

A thank you to Nelson Cheng for find this issue and suggesting a patch.

5 years agoAutomatically generated installer lang files
AMOS bot [Fri, 19 Jan 2018 00:07:22 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Wed, 17 Jan 2018 00:06:48 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoMDL-61221 badges: Ignore site availabilty for behat
Andrew Nicols [Tue, 16 Jan 2018 05:21:47 +0000 (13:21 +0800)]
MDL-61221 badges: Ignore site availabilty for behat

Behat sites should not be available publically, and the check against
the backpack API for site availablity can time out in some situations.

We should be testing as though the site _is_ available, as this is the
standard expectation.

5 years agoMDL-61204 user: Fix random failure in behat
Andrew Nicols [Fri, 12 Jan 2018 01:34:20 +0000 (09:34 +0800)]
MDL-61204 user: Fix random failure in behat

We need to get into the habit of not using usernames like 'student1'
and 'student10' as our matches are non-strict, and the tests become
dependent upon DB sort order.

This change adds a character after the varying value to act as a
delimter for all of these tests.

5 years agoAutomatically generated installer lang files
AMOS bot [Tue, 16 Jan 2018 00:07:01 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 years agoMoodle release 3.2.7 v3.2.7
Eloy Lafuente (stronk7) [Fri, 12 Jan 2018 19:35:36 +0000 (20:35 +0100)]
Moodle release 3.2.7

5 years agoMDL-61143 core_files: Don't append dot when checking domain names or IP addresses.
Cameron Ball [Wed, 10 Jan 2018 06:57:29 +0000 (14:57 +0800)]
MDL-61143 core_files: Don't append dot when checking domain names or IP addresses.

Previously we appended a dot at the end of IP addresses and domain names in the
cURL security helper, but it causes issues with Google OAuth so this patch removes it.

5 years agoMDL-61131 repositories: Added a key to verify incoming urls.
Adrian Greeve [Mon, 8 Jan 2018 00:36:47 +0000 (08:36 +0800)]
MDL-61131 repositories: Added a key to verify incoming urls.

5 years agoMDL-61143 core_files: Update unit tests for curl_security_helper
Cameron Ball [Wed, 3 Jan 2018 08:10:37 +0000 (16:10 +0800)]
MDL-61143 core_files: Update unit tests for curl_security_helper

Previously some of the unit tests were passing "by accident" becuase
we had the security helper letting through domains where the DNS lookup
failed. That behaviour has changed and now such domains are blocked.

Additionally tests for domains with multiple A records and weird Unicode
stuff have been added.

This patch also mocks the DNS resolution in the test, rather than actually
resolving the domain.

5 years agoMDL-61143 core_files: Block hosts that cannot be determined to be an IP address of...
Cameron Ball [Wed, 3 Jan 2018 08:09:49 +0000 (16:09 +0800)]
MDL-61143 core_files: Block hosts that cannot be determined to be an IP address of domain name

Freaky deaky Unicode/octal/hex domains can be resolved by cURL but are technically not valid.

This patch causes anything that Moodle does not consider to be a valid domain or IP to be blocked
by the cURL security helper.

5 years agoMDL-61143 core_files: Check all A records when testing blocked IPs
Cameron Ball [Tue, 2 Jan 2018 06:42:09 +0000 (14:42 +0800)]
MDL-61143 core_files: Check all A records when testing blocked IPs

5 years agoMDL-60908 mod_quiz: Return question state only when configured
Juan Leyva [Thu, 7 Dec 2017 18:07:27 +0000 (19:07 +0100)]
MDL-60908 mod_quiz: Return question state only when configured

The question state should be returned following the quiz review options
settings.

5 years agoMDL-60235 core_calendar: clean event name field
Simey Lameze [Tue, 12 Dec 2017 04:26:06 +0000 (12:26 +0800)]
MDL-60235 core_calendar: clean event name field

5 years agoMDL-61169 iplookup: Change to github.com IP
Andrew Nicols [Mon, 8 Jan 2018 09:13:06 +0000 (17:13 +0800)]
MDL-61169 iplookup: Change to github.com IP

5 years agoAutomatically generated installer lang files
AMOS bot [Thu, 4 Jan 2018 00:07:24 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Wed, 3 Jan 2018 00:06:45 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Mon, 18 Dec 2017 00:06:39 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Thu, 14 Dec 2017 00:06:31 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoAutomatically generated installer lang files
AMOS bot [Fri, 8 Dec 2017 00:10:14 +0000 (00:10 +0000)]
Automatically generated installer lang files

5 years agoweekly release 3.2.6+
Jun Pataleta [Thu, 7 Dec 2017 20:10:00 +0000 (09:10 +1300)]
weekly release 3.2.6+

5 years agoMDL-59159 environment: 3.1 (LTS) required
Eloy Lafuente (stronk7) [Sun, 3 Dec 2017 23:27:53 +0000 (00:27 +0100)]
MDL-59159 environment: 3.1 (LTS) required

5 years agoMDL-59159 environment: 3.5 base information
Eloy Lafuente (stronk7) [Sun, 3 Dec 2017 23:23:28 +0000 (00:23 +0100)]
MDL-59159 environment: 3.5 base information

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

5 years agoweekly release 3.2.6+
David Monllao [Thu, 23 Nov 2017 12:35:13 +0000 (13:35 +0100)]
weekly release 3.2.6+

5 years agoMDL-60436 blocks: Unit test for dashboard block positioning
Neill Magill [Tue, 14 Nov 2017 11:46:22 +0000 (11:46 +0000)]
MDL-60436 blocks: Unit test for dashboard block positioning

5 years agoMDL-60436 blocks: Improve performance of block loading
Neill Magill [Wed, 11 Oct 2017 13:37:53 +0000 (14:37 +0100)]
MDL-60436 blocks: Improve performance of block loading

5 years agoMoodle release 3.2.6 v3.2.6
Eloy Lafuente (stronk7) [Sat, 11 Nov 2017 18:29:31 +0000 (19:29 +0100)]
Moodle release 3.2.6

5 years agoAutomatically generated installer lang files
AMOS bot [Sat, 11 Nov 2017 00:05:56 +0000 (00:05 +0000)]
Automatically generated installer lang files

5 years agoweekly release 3.2.5+
David Monllao [Fri, 10 Nov 2017 14:15:20 +0000 (15:15 +0100)]
weekly release 3.2.5+

5 years agoMDL-60771 mod_scorm: typecast score to integer
Simey Lameze [Fri, 10 Nov 2017 04:00:17 +0000 (12:00 +0800)]
MDL-60771 mod_scorm: typecast score to integer

5 years agoMDL-52838 workshop: Each criterion > 0 levels
Damyon Wiese [Fri, 10 Nov 2017 02:20:00 +0000 (10:20 +0800)]
MDL-52838 workshop: Each criterion > 0 levels

Add validation to the edit assessment form so each criterion in a rubric requires at least one level.

5 years agoMDL-60749 scorm: Remove   from files when downloading
Sara Arjona [Thu, 9 Nov 2017 09:14:54 +0000 (10:14 +0100)]
MDL-60749 scorm: Remove   from files when downloading

5 years agoMDL-60550 user: Add more restrictions in keyword searches
Sara Arjona [Mon, 30 Oct 2017 07:36:12 +0000 (08:36 +0100)]
MDL-60550 user: Add more restrictions in keyword searches

Original patch provided by Tim Schroeder.

5 years agoMDL-60615 imscc: string to array fix
Damyon Wiese [Tue, 7 Nov 2017 07:49:01 +0000 (15:49 +0800)]
MDL-60615 imscc: string to array fix

Sloppy typing in the imscc converter is causing errors on php7.1

Variable is initialised as a string and then used as an array.

5 years agoMDL-60752 lti: Compare text in types_config properly
Andrew Nicols [Thu, 9 Nov 2017 04:53:07 +0000 (12:53 +0800)]
MDL-60752 lti: Compare text in types_config properly

5 years agoAutomatically generated installer lang files
AMOS bot [Thu, 9 Nov 2017 00:05:20 +0000 (00:05 +0000)]
Automatically generated installer lang files

5 years agoMDL-60733 oauth: Remove outdated comment
David Monllao [Wed, 8 Nov 2017 11:04:31 +0000 (12:04 +0100)]
MDL-60733 oauth: Remove outdated comment

5 years agoweekly release 3.2.5+
David Monllao [Wed, 8 Nov 2017 08:47:23 +0000 (09:47 +0100)]
weekly release 3.2.5+

5 years agoMDL-60733 core: B/C for google_oauth
Damyon Wiese [Wed, 8 Nov 2017 07:14:22 +0000 (15:14 +0800)]
MDL-60733 core: B/C for google_oauth

The google_oauth class extends oauth2client which was modified to send "Accept" headers.

The "Accept" headers break picasa and could break any other plugin that was using google_oauth.

5 years agoAutomatically generated installer lang files
AMOS bot [Wed, 8 Nov 2017 00:05:21 +0000 (00:05 +0000)]
Automatically generated installer lang files

5 years agoMDL-60717 lang: Merge English strings from the en_fix language pack
Helen Foster [Tue, 7 Nov 2017 20:58:20 +0000 (21:58 +0100)]
MDL-60717 lang: Merge English strings from the en_fix language pack

Significant string changes:

- needbcmath,auth_ldap - 'grace logins' changed to 'expired password
  checking'

5 years agoMDL-60720 core_search: Indexing halts on failed get_document
sam marshall [Tue, 7 Nov 2017 12:14:06 +0000 (12:14 +0000)]
MDL-60720 core_search: Indexing halts on failed get_document

The recordsets used for search indexing sometimes return results
which are invalid (e.g. cannot be found in database). When this
happens, the result in the iterator for the recordset will be
false. Due to a bug, the iterator used to stop when it encountered
a false value, which prevented indexing from getting past the
problematic record.

In addition, the iterator that skips future data resulted in the
current() function of its parent indicator being called twice per
entry, which meant that search indexing called get_document()
twice as many times.

5 years agoMDL-58699 mod_quiz: Require javascript for popup
Damyon Wiese [Tue, 7 Nov 2017 04:48:21 +0000 (12:48 +0800)]
MDL-58699 mod_quiz: Require javascript for popup

If any of the access rules require the attempt to open in a new window, assume we
require javascript to attempt the quiz. This makes it harder to bypass the javascript
pseudo security restrictions.

5 years agoMDL-57772 chat: BEEP is back baby!
Damyon Wiese [Mon, 6 Nov 2017 07:08:55 +0000 (15:08 +0800)]
MDL-57772 chat: BEEP is back baby!

5 years agoMDL-60671 core_search: Cron output should use mtrace
sam marshall [Mon, 6 Nov 2017 11:55:29 +0000 (11:55 +0000)]
MDL-60671 core_search: Cron output should use mtrace

The mtrace function is preferable for plain text logging/progress
output because it can be redirected if necessary. By convention it
is normally used in cron and can be used in CLI tasks if required.

This change makes the text_progress_trace class use mtrace instead
of echo and then flush. (Default behaviour of mtrace is to do
exactly that, but it can be redirected too.)

Before this change, if anybody is relying on mtrace behaviour to
redirect logs of cron output, this will fail for some parts of the
search cron output (and some other places like auth plugins).

5 years agoMDL-59858 amd: Focus on the element that actually triggers the modal
Jun Pataleta [Tue, 3 Oct 2017 05:58:46 +0000 (13:58 +0800)]
MDL-59858 amd: Focus on the element that actually triggers the modal

5 years agoAutomatically generated installer lang files
AMOS bot [Sun, 5 Nov 2017 00:06:23 +0000 (00:06 +0000)]
Automatically generated installer lang files

5 years agoMDL-60437 blocks: HTML block title multilang
Luca Bösch [Fri, 13 Oct 2017 14:14:33 +0000 (16:14 +0200)]
MDL-60437 blocks: HTML block title multilang

5 years agoweekly release 3.2.5+
David Monllao [Fri, 3 Nov 2017 09:25:12 +0000 (10:25 +0100)]
weekly release 3.2.5+