Sara Arjona [Fri, 24 Mar 2023 12:59:41 +0000 (13:59 +0100)]
weekly release 3.11.13+
Mikel Martín [Mon, 20 Mar 2023 12:54:47 +0000 (13:54 +0100)]
MDL-77691 behat: Add step to navigate to profile page directly
Co-authored-by: Simey Lameze <simey@moodle.com>
Ilya Tregubov [Wed, 22 Mar 2023 01:37:18 +0000 (09:37 +0800)]
weekly release 3.11.13+
Meirza [Fri, 16 Dec 2022 13:52:11 +0000 (20:52 +0700)]
MDL-77669 dml: Added extrainfo in the DB options config.
extrainfo is an extra information for the DB driver, e.g. SQL Server,
has additional configuration according to its environment,
which the administrator can specify to alter and override any connection options.
Co-authored-by: LukeCarrier <luke@carrier.im>
This is a backport of MDL-64153.
AMOS bot [Mon, 20 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Sun, 19 Mar 2023 00:07:29 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Sat, 18 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files
Sara Arjona [Fri, 17 Mar 2023 16:58:44 +0000 (17:58 +0100)]
weekly release 3.11.13+
AMOS bot [Fri, 17 Mar 2023 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Wed, 15 Mar 2023 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Tue, 14 Mar 2023 15:07:49 +0000 (16:07 +0100)]
weekly release 3.11.13+
AMOS bot [Tue, 14 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files
Tim Hunt [Mon, 13 Mar 2023 13:31:33 +0000 (13:31 +0000)]
MDL-77611 tool_uploaduser: fix phpunit assumptions about profile fields
Simey Lameze [Thu, 9 Mar 2023 02:29:21 +0000 (10:29 +0800)]
MDL-77574 myoverview: wait until next button exists before clicking
AMOS bot [Sun, 12 Mar 2023 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files
Petr Skoda [Sun, 5 Mar 2023 10:12:31 +0000 (11:12 +0100)]
MDL-76680 core: disable $USER->ignoresesskey on next page
Jun Pataleta [Sat, 11 Mar 2023 05:10:27 +0000 (13:10 +0800)]
Moodle release 3.11.13
Jun Pataleta [Fri, 10 Mar 2023 14:10:03 +0000 (22:10 +0800)]
weekly release 3.11.12+
Andrew Nicols [Fri, 10 Mar 2023 06:11:21 +0000 (14:11 +0800)]
MDL-77429 course: Change course date to previous day
When a test runs just after midnight, and the user time zone is not the
same as the server timezone, and the course is created using a generator
(which runs in server time zone) but the UI presented in the user
timezone, the course start time is still in the future.
We need to create the course a day earlier to ensure that the "This
week" indicator is in the correct day.
Angelia Dela Cruz [Tue, 7 Mar 2023 02:46:51 +0000 (10:46 +0800)]
MDL-77463 Behat: Coverage for assign submission notification to teacher
Angelia Dela Cruz [Tue, 28 Feb 2023 08:54:04 +0000 (16:54 +0800)]
MDL-77429 Behat: Add coverage for changing course format as teacher
Andrew Nicols [Thu, 9 Mar 2023 00:17:40 +0000 (08:17 +0800)]
MDL-77559 js: Rebuild all JS with Node 16
Andrew Nicols [Thu, 9 Mar 2023 00:11:12 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 core: Bump NodeJS version requirements"
This reverts commit
fb8fa7465510030996fc828191dd76657a1d2471.
Andrew Nicols [Thu, 9 Mar 2023 00:11:07 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump standard dependencies"
This reverts commit
811526b0a6959943ecc2e54cba46ed90ebee30ff.
Andrew Nicols [Thu, 9 Mar 2023 00:11:05 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Remove grunt-contrib-uglify"
This reverts commit
d01eba812bfea3f9e9d22c86bf2b7586eb7e2a40.
Andrew Nicols [Thu, 9 Mar 2023 00:11:00 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump stylelint and components"
This reverts commit
9899fc0a0f8686241fa7294553aafb1e8786fa13.
Andrew Nicols [Thu, 9 Mar 2023 00:10:59 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Update browserslist"
This reverts commit
c920bb6db536e9de9ac9babe44be44bbcc8be91f.
Andrew Nicols [Thu, 9 Mar 2023 00:10:51 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump node-sass"
This reverts commit
173b61bf69dd56d8d24f74c29038a6cf847267f7.
Andrew Nicols [Thu, 9 Mar 2023 00:10:48 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Audit fix"
This reverts commit
dfea25b3d79e54d0ed8f68a819243bf2f45f901b.
Andrew Nicols [Thu, 9 Mar 2023 00:10:44 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Use our own jsdoc wrapper"
This reverts commit
a22e2aa0d71c2f8b0c05a55c023800f6884506ae.
Andrew Nicols [Thu, 9 Mar 2023 00:10:41 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump shifter to new version"
This reverts commit
0ebccd5bb4fe2e8c6f6be3943637b79139de8873.
Andrew Nicols [Thu, 9 Mar 2023 00:10:38 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Put shifter on a diet"
This reverts commit
8d6e0dc416f471eaa7be59e34dd023c8f0472a78.
Andrew Nicols [Thu, 9 Mar 2023 00:10:23 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Remove unused babel-preset-minify dependency"
This reverts commit
35ef8a9e404fc277f5651b1b1b1ebc1ba2a179d4.
Andrew Nicols [Thu, 9 Mar 2023 00:09:54 +0000 (08:09 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump Babel dependencies"
This reverts commit
0a95429dcec8ae3c8033d5e8b056272354d756dd.
AMOS bot [Thu, 9 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files
Angelia Dela Cruz [Mon, 27 Feb 2023 09:29:47 +0000 (17:29 +0800)]
MDL-77414 Behat: Coverage for "Require all group members submit" setting
Petr Skoda [Sun, 5 Mar 2023 11:20:25 +0000 (12:20 +0100)]
MDL-77524 filter_algebra: fix error message
Paul Holden [Wed, 7 Sep 2022 17:26:31 +0000 (18:26 +0100)]
MDL-75517 report_participation: filter report by viewable roles only.
Michael Hawkins [Thu, 2 Mar 2023 04:38:43 +0000 (12:38 +0800)]
MDL-77204 mod_wiki: Clean filename in Moodle1 backup
Paul Holden [Fri, 3 Feb 2023 00:20:40 +0000 (00:20 +0000)]
MDL-77046 availability: validate profile field in condition.
Paul Holden [Mon, 9 Jan 2023 19:16:55 +0000 (19:16 +0000)]
MDL-76809 gradereport_history: pre-filter report userids filter.
Ensure current user is able to access each of the provided userids.
AMOS bot [Wed, 8 Mar 2023 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files
Petr Skoda [Sun, 5 Mar 2023 10:59:00 +0000 (11:59 +0100)]
MDL-76645 filter_data: fix link title attribute
Lars Bonczek [Tue, 6 Sep 2022 13:55:11 +0000 (15:55 +0200)]
MDL-75659 core: Don't render component argument twice in mustache pix helper
Angelia Dela Cruz [Wed, 1 Mar 2023 09:35:20 +0000 (17:35 +0800)]
MDL-77446 Behat: Add coverage for changing uploaded file details
AMOS bot [Tue, 7 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files
Jake Dallimore [Fri, 3 Mar 2023 03:08:47 +0000 (11:08 +0800)]
weekly release 3.11.12+
Andrew Nicols [Thu, 2 Mar 2023 07:00:26 +0000 (15:00 +0800)]
MDL-77458 core: Add supported php version info to phpcs config
Angelia Dela Cruz [Tue, 28 Feb 2023 03:21:25 +0000 (11:21 +0800)]
MDL-77428 Behat: Add coverage for forum post word count
Andrew Nicols [Tue, 28 Feb 2023 03:01:10 +0000 (11:01 +0800)]
MDL-75012 js: Full build of all grunt things
Andrew Nicols [Tue, 28 Feb 2023 02:17:15 +0000 (10:17 +0800)]
MDL-75012 js: Bump Babel dependencies
Please note that whilst some dependencies have higher versions
available, these are not compatible at this time.
Andrew Nicols [Tue, 28 Feb 2023 02:24:04 +0000 (10:24 +0800)]
MDL-75012 js: Remove unused babel-preset-minify dependency
Andrew Nicols [Thu, 2 Mar 2023 03:05:54 +0000 (11:05 +0800)]
MDL-77461 behat: Use get_course_id instead of DB fetch
AMOS bot [Thu, 2 Mar 2023 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Wed, 1 Mar 2023 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files
Angelia Dela Cruz [Tue, 28 Feb 2023 09:12:48 +0000 (17:12 +0800)]
MDL-77413 Behat: Minor changes to optimise the existing tests
Angelia Dela Cruz [Mon, 27 Feb 2023 05:46:21 +0000 (13:46 +0800)]
MDL-77413 Behat: Add coverage to verify groups can have a picture
Andrew Nicols [Wed, 22 Feb 2023 07:17:36 +0000 (15:17 +0800)]
MDL-75012 js: Put shifter on a diet
This commit switches to a new custom version of Shifter which sees it
put on a massive diet.
Many of the standard Shifter features are totally unused by Moodle, but
they add dependency spaghetti. Some of those dependencies will start to
cause us issues as they have not been updated for a very long time, are
no longer maintained, and are no longer compatible with anything
resembling a recent version of NodeJS.
Andrew Nicols [Tue, 7 Feb 2023 04:12:23 +0000 (12:12 +0800)]
MDL-75012 js: Bump shifter to new version
This resolves an issue identified in 77083 which identified that GitHub
hashes shouldn't be treated as repeatable.
Whilst GitHub have reverted this change, it's still worth making this
change.
Andrew Nicols [Fri, 3 Feb 2023 14:48:04 +0000 (22:48 +0800)]
MDL-75012 js: Use our own jsdoc wrapper
grunt-jsdoc is abandoned and only works with an older version of jsdoc.
This is a very simple wrapper around jsdoc itself.
Andrew Nicols [Fri, 3 Feb 2023 13:42:56 +0000 (21:42 +0800)]
MDL-75012 js: Audit fix
Andrew Nicols [Fri, 3 Feb 2023 13:28:41 +0000 (21:28 +0800)]
MDL-75012 js: Bump node-sass
Andrew Nicols [Fri, 3 Feb 2023 06:11:49 +0000 (14:11 +0800)]
MDL-75012 js: Update browserslist
Andrew Nicols [Fri, 3 Feb 2023 03:24:18 +0000 (11:24 +0800)]
MDL-75012 js: Bump stylelint and components
Andrew Nicols [Fri, 3 Feb 2023 02:54:57 +0000 (10:54 +0800)]
MDL-75012 js: Remove grunt-contrib-uglify
We stopped using this when we updated our processes to support ESMs in
MDL-62497. Removal of the dependency was missed at the time.
Andrew Nicols [Fri, 3 Feb 2023 02:19:19 +0000 (10:19 +0800)]
MDL-75012 js: Bump standard dependencies
This change bumps dependencies which have no impact upon the build
process
Andrew Nicols [Fri, 4 Nov 2022 04:35:37 +0000 (12:35 +0800)]
MDL-75012 core: Bump NodeJS version requirements
Paul Holden [Mon, 27 Feb 2023 17:21:46 +0000 (17:21 +0000)]
MDL-72727 mod_forum: prevent default favourite toggle click event.
Allow the repository call to the web service method to complete before
re-directing, otherwise the call may not complete and/or races against
the page reload causing random Behat errors.
Eloy Lafuente (stronk7) [Mon, 27 Feb 2023 08:33:08 +0000 (09:33 +0100)]
MDL-77417 behat: behat_error_handler meets deprecation error types
Right now, any E_DEPRECATED, E_USER_DEPRECATED error type leads
to exception in behat runs, because the behat error handled is
not aware of them. See MDL-38041 for the initial implementation.
We don't want that to happen and they must behave like other "low"
error types (notices, warnings...), that will be reported in logs
or output, but won't trigger any exception, so the test can continue.
This commit just adds those 2 "new" error types to the handler,
providing the very same behaviour for them than the rest.
Eloy Lafuente (stronk7) [Mon, 13 Feb 2023 12:52:25 +0000 (13:52 +0100)]
MDL-77097 store_mongodb: keep compatibility with PHP 7.4
Replaced 4 occurrences of get_debug_type() by gettype() to keep PHP 7.4 compatibility. Note this
has not been applied to 4.2dev and up because, there, it's safe to use get_debug_type().
Jun Pataleta [Fri, 24 Feb 2023 07:43:36 +0000 (15:43 +0800)]
weekly release 3.11.12+
Matt Porritt [Thu, 23 Feb 2023 03:49:36 +0000 (14:49 +1100)]
MDL-77376 Licensing: Update trademark.txt
Update Trademark policy in TRADEMARK.txt to
be in line with advice from the Moodle HQ
legal team
Tim Hunt [Wed, 22 Feb 2023 11:32:07 +0000 (11:32 +0000)]
MDL-76843 questions behat: enhancements requried to test this issue
* New steps to set up certian sorts of broken test data.
* Fix qtype_essay_question::un_summarise_response().
Simey Lameze [Tue, 21 Feb 2023 04:19:40 +0000 (12:19 +0800)]
MDL-77271 behat: verify user licence preference is remembered
AMOS bot [Tue, 21 Feb 2023 00:07:30 +0000 (00:07 +0000)]
Automatically generated installer lang files
Ilya Tregubov [Fri, 17 Feb 2023 01:12:33 +0000 (09:12 +0800)]
weekly release 3.11.12+
AMOS bot [Fri, 17 Feb 2023 00:07:43 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Wed, 15 Feb 2023 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files
Simey Lameze [Thu, 9 Feb 2023 05:43:01 +0000 (13:43 +0800)]
MDL-77189 behat: basic coverage for wikimedia repository
Paul Holden [Fri, 10 Feb 2023 13:47:41 +0000 (13:47 +0000)]
weekly release 3.11.12+
Angelia Dela Cruz [Mon, 8 Aug 2022 07:41:42 +0000 (15:41 +0800)]
MDL-75230 behat: Lesson Behat tests optimised
Replace steps that manually add Lesson instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
Cameron Ball [Thu, 2 Feb 2023 06:10:01 +0000 (14:10 +0800)]
MDL-77123 message_airnotifier: Don't test configured providers
Angelia Dela Cruz [Tue, 29 Nov 2022 00:56:09 +0000 (08:56 +0800)]
MDL-76499 behat: Resource Behat tests optimised
Replace steps that manually add resource instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
Co-authored-by: David Woloszyn <david.woloszyn@moodle.com>
Angelia Dela Cruz [Thu, 2 Feb 2023 06:31:56 +0000 (14:31 +0800)]
MDL-77078 Behat: Coverage for assignment submission statement
Eloy Lafuente (stronk7) [Tue, 10 Jan 2023 17:49:45 +0000 (18:49 +0100)]
MDL-74905 ci: travis and gha, some adjustments
Apply for some of the improvements made for 4.2:
- Use our own moodlehq/mysql-action
- Define the tmpfs size and ensure that binlogs are disabled.
Eloy Lafuente (stronk7) [Mon, 2 Jan 2023 16:00:43 +0000 (17:00 +0100)]
MDL-74905 environment: Apply agreed changes:
- PHP 8.0 required.
- Moodle 3.11.8 required (first minor supporting PHP 8.0 officially).
- MySQL 8.0 required.
- MariaDB 10.6.7 required.
- PostgreSQL 13 required.
- php-sodium extension required.
- 64-bit PHP required.
Eloy Lafuente (stronk7) [Mon, 2 Jan 2023 14:44:10 +0000 (15:44 +0100)]
MDL-74905 environment: 4.2 base information
This is a direct copy of the 4.1 information, to
have all the real changes under control in next commit(s).
Jun Pataleta [Fri, 3 Feb 2023 07:43:46 +0000 (15:43 +0800)]
weekly release 3.11.12+
Angelia Dela Cruz [Tue, 27 Sep 2022 01:59:14 +0000 (09:59 +0800)]
MDL-75830 behat: Book behat tests optimised
Replace steps that manually add Book instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
Additionally, performed Behat cleanup and optimisation to affected
files.
Angelia Dela Cruz [Fri, 7 Oct 2022 05:12:21 +0000 (13:12 +0800)]
MDL-75912 behat: Wiki Behat tests optimised
Behat cleanup and optimisation
Angelia Dela Cruz [Fri, 7 Oct 2022 02:34:24 +0000 (10:34 +0800)]
MDL-75912 behat: Wiki Behat tests now use generators
Replace steps that manually add Wiki instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
Angelia Dela Cruz [Thu, 26 Jan 2023 09:48:27 +0000 (17:48 +0800)]
MDL-76658 Behat: Coverage for course cohort enrolment groups
Co-authored-by: Simey Lameze <simey@moodle.com>
Simey Lameze [Mon, 23 Jan 2023 08:18:34 +0000 (16:18 +0800)]
MDL-76587 behat: make grading page wider to avoid 'out of bounds' fail
This is because on classic theme the navigation block pushes the content
to the right and once behat changes the grades the 'Save changes' button
is no longer visible.
Eloy Lafuente (stronk7) [Wed, 25 Jan 2023 11:24:07 +0000 (12:24 +0100)]
MDL-76675 date: Only test all TZ names with PHPUNIT_LONGTEST enabled
It happens often that some timezone is renamed, split, added to the
IANAs list of timezones (that, for PHP is kept updated by the
php-timezonedb PECL extension).
When the information coming from the extension changes, all the
PHPUnit jobs in the world start failing (that's when CIs update
their PHP images, when devs update their packages, ...).
So, what we are doing here is to move that test that check for
every single string existing to be run only when PHPUNIT_LONGTEST
is enabled. That way only places running all tests will run that
one. And every other run just will skip it.
This corresponds to point 1 & 2 of the issue, lower impact in general
and, still be able to enable the tests to run.
Paul Holden [Wed, 25 Jan 2023 13:39:54 +0000 (13:39 +0000)]
MDL-77040 core: assert types of returned Geoplugin data, not values.
The results we get from these tests are beyond our control, and are
unreliable for use in testing.
See also previous change
215cd2d8 in similar tests.
Paul Holden [Tue, 13 Dec 2022 10:14:45 +0000 (10:14 +0000)]
MDL-76662 tool_log: correct supported reports test assertions.
Sara Arjona [Thu, 26 Jan 2023 08:59:22 +0000 (09:59 +0100)]
weekly release 3.11.12+
Simey Lameze [Wed, 25 Jan 2023 07:11:52 +0000 (15:11 +0800)]
MDL-77036 core_iplookup: update test_ipv4 test expectations
Angelia Dela Cruz [Mon, 16 Jan 2023 09:42:47 +0000 (17:42 +0800)]
MDL-76655 behat: Coverage for workshop grading strategies
Paul Holden [Fri, 20 Jan 2023 17:19:16 +0000 (17:19 +0000)]
MDL-76977 phpunit: ensure unique data provider keys in mustache test.