Jun Pataleta [Sat, 7 May 2022 11:34:45 +0000 (19:34 +0800)]
Moodle release 3.10.11
Eloy Lafuente (stronk7) [Fri, 6 May 2022 13:58:40 +0000 (15:58 +0200)]
weekly release 3.10.10+
Eloy Lafuente (stronk7) [Fri, 6 May 2022 13:58:38 +0000 (15:58 +0200)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Víctor Déniz [Thu, 5 May 2022 12:26:26 +0000 (13:26 +0100)]
Merge branch 'MDL-74612-310' of https://github.com/paulholden/moodle into MOODLE_310_STABLE
Jake Dallimore [Tue, 26 Apr 2022 08:52:20 +0000 (16:52 +0800)]
MDL-73736 core_auth: Fix concurrency issue in login_attempt_failed()
This patch wraps the login_failed_count logic in a resource lock and
forces a user preferences cache reload. Each thread must wait for the
lock and must fetch the current count before incrementing it. This
ensures that login_failed_count is correct across threads and that the
lockout threshold is correctly honoured.
Co-Authored-By: Sujith Haridasan <sujith@moodle.com>
Michael Hawkins [Thu, 31 Mar 2022 10:17:31 +0000 (18:17 +0800)]
MDL-74333 badges: Check profile criteria valid when reviewing
Ferran Recio [Thu, 21 Apr 2022 11:43:34 +0000 (13:43 +0200)]
MDL-71623 core_search: fix user document visibility
Paul Holden [Fri, 29 Apr 2022 15:09:35 +0000 (16:09 +0100)]
MDL-74612 cohort: use data generator for populating cohort members.
AMOS bot [Sat, 23 Apr 2022 00:07:30 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Tue, 12 Apr 2022 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files
Amaia Anabitarte [Thu, 24 Mar 2022 16:40:10 +0000 (17:40 +0100)]
MDL-74318 core_user: Description field as hidden on profile
Paul Holden [Tue, 15 Mar 2022 00:10:25 +0000 (00:10 +0000)]
MDL-74204 mod_assign: escape identity fields in allocate marker form.
Ilya Tregubov [Fri, 8 Apr 2022 10:39:55 +0000 (16:39 +0600)]
weekly release 3.10.10+
Ilya Tregubov [Fri, 8 Apr 2022 10:39:55 +0000 (16:39 +0600)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
AMOS bot [Thu, 7 Apr 2022 00:07:28 +0000 (00:07 +0000)]
Automatically generated installer lang files
Víctor Déniz [Wed, 6 Apr 2022 21:56:50 +0000 (22:56 +0100)]
Merge branch 'MDL-74189-310' of https://github.com/mihailges/moodle into MOODLE_310_STABLE
Mihail Geshoski [Mon, 21 Mar 2022 15:07:19 +0000 (23:07 +0800)]
MDL-74189 tool_moodlenet: Add upgrade step to remove irrelevant data
Upgrade step to identify all existing cases where users have linked
their MoodleNet profile on the site and remove the related data from
the database. Due to some recent changes on the MoodleNet platform,
this data is now irrelevant and can no longer be used to authenticate
on the MoodleNet platform.
Mihail Geshoski [Mon, 21 Mar 2022 14:49:01 +0000 (22:49 +0800)]
MDL-74189 tool_moodlenet: Update language strings
Updates the existing language strings in order to provide more accurate
instructions on how users can link existing their MoodleNet profile on
the site.
AMOS bot [Wed, 6 Apr 2022 00:07:26 +0000 (00:07 +0000)]
Automatically generated installer lang files
Sara Arjona [Tue, 5 Apr 2022 11:24:51 +0000 (13:24 +0200)]
weekly release 3.10.10+
Sara Arjona [Tue, 5 Apr 2022 11:24:51 +0000 (13:24 +0200)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Jun Pataleta [Mon, 4 Apr 2022 05:56:14 +0000 (13:56 +0800)]
Merge branch 'MDL-70014_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
Jun Pataleta [Mon, 4 Apr 2022 05:05:36 +0000 (13:05 +0800)]
Merge branch 'MDL-74096-310' of https://github.com/ilyatregubov/moodle into MOODLE_310_STABLE
Ilya Tregubov [Mon, 4 Apr 2022 03:17:49 +0000 (09:17 +0600)]
MDL-74096 mlbackend_python: Update mlbackend version.
AMOS bot [Mon, 4 Apr 2022 00:07:25 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Wed, 30 Mar 2022 17:12:13 +0000 (19:12 +0200)]
MDL-70014 tool_customlang: Workaround to make behat happier
This is a BEHAT_RUNNING only hack, so it doesn't affect normal
operations at all. What it achieves is to reduce the number of
strings loaded when customising a lang pack from current 31K ones
to the just needed ones for Behat testing purposes.
That way we avoid the random failures that are happening more and
more (while the "en" lang pack grows) and also save some precious
minutes in every behat run.
Also, unrelated, a couple of tiny changes:
- Modified constant (that was really outdated) to current number
of lang strings (so the progress bar behaves better).
- Remove an elseif occurrence because it was hurting my eyes.
Sara Arjona [Fri, 1 Apr 2022 14:40:50 +0000 (16:40 +0200)]
weekly release 3.10.10+
Sara Arjona [Fri, 1 Apr 2022 14:40:49 +0000 (16:40 +0200)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Andrew Nicols [Thu, 31 Mar 2022 14:34:05 +0000 (22:34 +0800)]
Merge branch 'MDL-72446_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Thu, 31 Mar 2022 08:21:13 +0000 (10:21 +0200)]
MDL-72446 behat: Ensure that the day reset happens on enabled element
Before this change we were setting the month day to 1 unconditionally
and that was working ok for enabled by default elements.
But in a number or cases we were doing that against disabled elements
so the day reset was not happening. Now we wait for the element to
be enabled and only then proceed with the day reset.
Backed with tests using disabled form elements, so we have now
both enabled and disabled fields covered.
AMOS bot [Thu, 31 Mar 2022 00:07:28 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Sat, 26 Mar 2022 00:07:24 +0000 (00:07 +0000)]
Automatically generated installer lang files
Víctor Déniz [Fri, 25 Mar 2022 15:00:31 +0000 (15:00 +0000)]
weekly release 3.10.10+
Víctor Déniz [Fri, 25 Mar 2022 15:00:30 +0000 (15:00 +0000)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
AMOS bot [Wed, 23 Mar 2022 00:07:22 +0000 (00:07 +0000)]
Automatically generated installer lang files
Sara Arjona [Tue, 22 Mar 2022 16:05:22 +0000 (17:05 +0100)]
MDL-74184 behat: Unrelated, remove the @skip_interim tag
This commit is UNRELATED to the MDL-74184, but we need the
@skip_interim tag removed to a couple of scenarios that were
causing lots of noise and failures @ci infrastructure.
MDL-74265 was created to deal with this issue but these jobs
are now passing, and nothing has been changed...
So we are using MDL-74184 (this extra commit) to remove that
tag (sorry for the noise).
AMOS bot [Tue, 22 Mar 2022 00:07:25 +0000 (00:07 +0000)]
Automatically generated installer lang files
Sara Arjona [Fri, 18 Mar 2022 15:28:20 +0000 (16:28 +0100)]
weekly release 3.10.10+
Sara Arjona [Fri, 18 Mar 2022 12:27:04 +0000 (13:27 +0100)]
MDL-74116 behat: Unrelated, add the @skip_interim tag
This commit is UNRELATED to the MDL-74116, but we need the
@skip_interim tag added to a couple of scenarios that are
causing lots of noise and failures @CI infrastructure.
MDL-74265 has been created to deal with this issue.
So we are using MDL-74116 (this extra commit) to add that tag
(sorry for the noise).
Eloy Lafuente (stronk7) [Wed, 16 Mar 2022 21:19:36 +0000 (22:19 +0100)]
Merge branch 'MDL-74116-310' of https://github.com/andrewnicols/moodle into MOODLE_310_STABLE
Andrew Nicols [Tue, 8 Mar 2022 05:56:45 +0000 (13:56 +0800)]
MDL-74116 behat: Fix browser instantiation for Selenium 4
Sara Arjona [Tue, 15 Mar 2022 11:19:26 +0000 (12:19 +0100)]
Merge branch 'MDL-74130_310' of https://github.com/timhunt/moodle into MOODLE_310_STABLE
Jun Pataleta [Sat, 12 Mar 2022 04:39:19 +0000 (12:39 +0800)]
Moodle release 3.10.10
Jun Pataleta [Sat, 12 Mar 2022 04:39:18 +0000 (12:39 +0800)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
AMOS bot [Sat, 12 Mar 2022 00:07:25 +0000 (00:07 +0000)]
Automatically generated installer lang files
Ilya Tregubov [Fri, 11 Mar 2022 10:19:52 +0000 (16:19 +0600)]
weekly release 3.10.9+
Tim Hunt [Tue, 8 Mar 2022 17:03:57 +0000 (17:03 +0000)]
MDL-74130 question behat: Update tests to use the new navigation steps
Tim Hunt [Tue, 8 Mar 2022 16:08:41 +0000 (16:08 +0000)]
MDL-74130 question behat: support I am on ... page or key qbank pages
Jake Dallimore [Thu, 10 Mar 2022 07:35:04 +0000 (15:35 +0800)]
Merge branch 'MDL-73899-310' of https://github.com/andrewnicols/moodle into MOODLE_310_STABLE
Amaia Anabitarte [Mon, 7 Mar 2022 12:57:00 +0000 (13:57 +0100)]
MDL-74075 core_badges: Check accepted criterias
Michael Hawkins [Tue, 8 Mar 2022 04:11:23 +0000 (12:11 +0800)]
MDL-74074 badges: Ensure profile criteria exists before completion check
Paul Holden [Thu, 13 Jan 2022 23:00:57 +0000 (23:00 +0000)]
MDL-72972 tool_uploaduser: observe capability to delete users.
cescobedo [Fri, 11 Feb 2022 11:42:10 +0000 (12:42 +0100)]
MDL-71722 h5plib_v124: Add required changes after lib upgrade
cescobedo [Fri, 11 Feb 2022 11:40:46 +0000 (12:40 +0100)]
MDL-71722 h5plib_v124: Upgrade ckeditor to 4.17.1
Ilya Tregubov [Mon, 10 Jan 2022 12:39:46 +0000 (14:39 +0200)]
MDL-71703 lib: update phpmailer to 6.5.3
Eloy Lafuente (stronk7) [Tue, 8 Mar 2022 09:02:01 +0000 (10:02 +0100)]
weekly release 3.10.9+
Eloy Lafuente (stronk7) [Tue, 8 Mar 2022 09:02:00 +0000 (10:02 +0100)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Fri, 4 Mar 2022 11:20:28 +0000 (12:20 +0100)]
Merge branch 'MDL-74042-310' of https://github.com/jleyva/moodle into MOODLE_310_STABLE
Juan Leyva [Tue, 1 Mar 2022 11:16:53 +0000 (12:16 +0100)]
MDL-74042 vimeo: Support security hash for restricted videos
AMOS bot [Tue, 1 Mar 2022 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Sat, 26 Feb 2022 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files
Ilya Tregubov [Fri, 25 Feb 2022 17:23:43 +0000 (19:23 +0200)]
weekly release 3.10.9+
Ilya Tregubov [Fri, 25 Feb 2022 17:23:43 +0000 (19:23 +0200)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Jun Pataleta [Thu, 24 Feb 2022 08:56:13 +0000 (16:56 +0800)]
Merge branch 'MDL-73915-310-terser' of https://github.com/andrewnicols/moodle into MOODLE_310_STABLE
AMOS bot [Thu, 24 Feb 2022 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files
Andrew Nicols [Wed, 16 Feb 2022 03:26:29 +0000 (11:26 +0800)]
MDL-73899 behat: Fix coding style issues to change third-party status
This commit removes the moodle-behat-extension from the list of
third-party libraries.
In order to do this properly, all pending coding-style issues are fixed.
In addition the following niceties have also been included:
* convert long form array() syntax to short form
* alphabetically sort class imports (use)
* remove unused class imports
* correct documentation
* Normalise whitespace in concat operators
* Remove unnecessary file docblocks
Sara Arjona [Tue, 22 Feb 2022 10:12:54 +0000 (11:12 +0100)]
weekly release 3.10.9+
Sara Arjona [Tue, 22 Feb 2022 10:12:53 +0000 (11:12 +0100)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Andrew Nicols [Fri, 18 Feb 2022 00:57:51 +0000 (08:57 +0800)]
MDL-73915 js: Switch amd minification to terser
Unfortunately the babel minify-mangle plugin seems to be abandoned and
in certain circumstances can be very buggy. The only safe options are to
disable it, or to switch to a different minification library.
Not minifying our javascript is not ideal, so this commit updates the
javascript tasks to use a rollup, combined with babel, and terser.
Babel still converts code from ES/UMD/AMD to AMD modules with the
relevant browser support, whilst terser minifies the code.
The rollup bundler handles tracking and creation of sourcemaps, and
supports better parallelisation of the tasks.
Since the upgrade to Node LTS/Gallium requires an upgrade to @babel/core
and eslint, which change the built files anyway, this seems like the
ideal time to make this change.
Andrew Nicols [Fri, 18 Feb 2022 00:52:45 +0000 (08:52 +0800)]
MDL-73915 js: Upgrade babel and eslint
Sara Arjona [Mon, 21 Feb 2022 14:35:27 +0000 (15:35 +0100)]
Merge branch 'MDL-73883-310' of https://github.com/andrewnicols/moodle into MOODLE_310_STABLE
AMOS bot [Mon, 21 Feb 2022 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files
Sara Arjona [Fri, 18 Feb 2022 14:03:43 +0000 (15:03 +0100)]
weekly release 3.10.9+
Sara Arjona [Fri, 18 Feb 2022 14:03:42 +0000 (15:03 +0100)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Andrew Nicols [Fri, 18 Feb 2022 00:29:59 +0000 (08:29 +0800)]
MDL-73915 js: Upgrade packages
Andrew Nicols [Fri, 18 Feb 2022 00:07:49 +0000 (08:07 +0800)]
MDL-73915 js: Switch to nodejs lts/gallium
Andrew Nicols [Thu, 17 Feb 2022 11:32:34 +0000 (19:32 +0800)]
MDL-73915 js: Upgrade node-sass
AMOS bot [Thu, 17 Feb 2022 00:07:28 +0000 (00:07 +0000)]
Automatically generated installer lang files
Sara Arjona [Wed, 16 Feb 2022 10:50:24 +0000 (11:50 +0100)]
Merge branch 'MDL-72762_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
Andrew Nicols [Tue, 15 Feb 2022 06:56:59 +0000 (14:56 +0800)]
MDL-73883 behat: Display actual step during testing
Because of the way in which we check for exceptions, we always show the
following string during behat pretty output:
behat_hooks::i_look_for_exceptions()
We can easily modify this to only show this value when the
i_look_for_exceptions() test itself fails, but otherwise to show the
actual step that is run.
AMOS bot [Thu, 10 Feb 2022 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Wed, 9 Feb 2022 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Mon, 7 Feb 2022 14:48:42 +0000 (15:48 +0100)]
MDL-72762 backup: Accept empty and whitespace-only UI labels.
This was causing problems when sections or activity names where
set to be empty or whitespace-only, with the PARAM_CLEANHTML
leading to exception.
Now they are supported and handled like (0xc2a0) to
allow the process to continue.
Added a few extra tests to confirm the behaviour.
Sara Arjona [Fri, 4 Feb 2022 17:18:32 +0000 (18:18 +0100)]
weekly release 3.10.9+
Sara Arjona [Fri, 4 Feb 2022 17:18:31 +0000 (18:18 +0100)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Jun Pataleta [Thu, 3 Feb 2022 03:14:44 +0000 (11:14 +0800)]
Merge branch 'MDL-73711_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Sat, 29 Jan 2022 15:16:12 +0000 (16:16 +0100)]
MDL-73711 behat: Bump to Behat 3.10.x
Generated with php72, following the instructions at:
https://docs.moodle.org/dev/Composer
Note this also comes with a minor PHPUnit bump to 8.5.23.
AMOS bot [Sat, 29 Jan 2022 00:07:26 +0000 (00:07 +0000)]
Automatically generated installer lang files
Ilya Tregubov [Fri, 28 Jan 2022 18:17:01 +0000 (20:17 +0200)]
weekly release 3.10.9+
Ilya Tregubov [Fri, 28 Jan 2022 18:17:01 +0000 (20:17 +0200)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Sara Arjona [Thu, 27 Jan 2022 16:06:13 +0000 (17:06 +0100)]
Merge branch 'MDL-73588_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Thu, 27 Jan 2022 15:12:53 +0000 (16:12 +0100)]
MDL-73588 phpunit: Fix assertion to PHPUnit 8.5 one
This issue was backported from 311_STABLE that uses
PHPUnit 9.5, were the regexp assertion was renamed.
This just moves it back to the 8.5 one for 39 and 310 stables.
Frode Petterson [Sun, 16 Jan 2022 22:28:25 +0000 (23:28 +0100)]
MDL-73588 curl: Fix expected CURLOPT_FILE behavior
After
cbf9dfb the CURLOPT_FILE no longer behaves as expected. All
redirect responses are appended to the same stream resource. This fix
reverts back to the old behavior by setting the stream pointer back to
the beginning for each subsequent redirect.
AMOS bot [Wed, 26 Jan 2022 00:07:33 +0000 (00:07 +0000)]
Automatically generated installer lang files
Sara Arjona [Fri, 21 Jan 2022 14:00:52 +0000 (15:00 +0100)]
weekly release 3.10.9+
Sara Arjona [Fri, 21 Jan 2022 14:00:51 +0000 (15:00 +0100)]
Merge branch 'install_310_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_310_STABLE
Jun Pataleta [Fri, 21 Jan 2022 03:18:28 +0000 (11:18 +0800)]
Merge branch 'MDL-73021-310' of git://github.com/andelacruz/moodle into MOODLE_310_STABLE
AMOS bot [Fri, 21 Jan 2022 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Wed, 19 Jan 2022 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Sat, 15 Jan 2022 11:14:14 +0000 (12:14 +0100)]
Moodle release 3.10.9