moodle.git
6 days agoweekly release 3.11.13+ MOODLE_311_STABLE
Sara Arjona [Fri, 24 Mar 2023 12:59:41 +0000 (13:59 +0100)]
weekly release 3.11.13+

8 days agoMDL-77691 behat: Add step to navigate to profile page directly
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>
9 days agoweekly release 3.11.13+
Ilya Tregubov [Wed, 22 Mar 2023 01:37:18 +0000 (09:37 +0800)]
weekly release 3.11.13+

10 days agoMDL-77669 dml: Added extrainfo in the DB options config.
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.

11 days agoAutomatically generated installer lang files
AMOS bot [Mon, 20 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files

12 days agoAutomatically generated installer lang files
AMOS bot [Sun, 19 Mar 2023 00:07:29 +0000 (00:07 +0000)]
Automatically generated installer lang files

13 days agoAutomatically generated installer lang files
AMOS bot [Sat, 18 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files

13 days agoweekly release 3.11.13+
Sara Arjona [Fri, 17 Mar 2023 16:58:44 +0000 (17:58 +0100)]
weekly release 3.11.13+

2 weeks agoAutomatically generated installer lang files
AMOS bot [Fri, 17 Mar 2023 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoAutomatically generated installer lang files
AMOS bot [Wed, 15 Mar 2023 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoweekly release 3.11.13+
Eloy Lafuente (stronk7) [Tue, 14 Mar 2023 15:07:49 +0000 (16:07 +0100)]
weekly release 3.11.13+

2 weeks agoAutomatically generated installer lang files
AMOS bot [Tue, 14 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoMDL-77611 tool_uploaduser: fix phpunit assumptions about profile fields
Tim Hunt [Mon, 13 Mar 2023 13:31:33 +0000 (13:31 +0000)]
MDL-77611 tool_uploaduser: fix phpunit assumptions about profile fields

2 weeks agoMDL-77574 myoverview: wait until next button exists before clicking
Simey Lameze [Thu, 9 Mar 2023 02:29:21 +0000 (10:29 +0800)]
MDL-77574 myoverview: wait until next button exists before clicking

2 weeks agoAutomatically generated installer lang files
AMOS bot [Sun, 12 Mar 2023 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoMDL-76680 core: disable $USER->ignoresesskey on next page
Petr Skoda [Sun, 5 Mar 2023 10:12:31 +0000 (11:12 +0100)]
MDL-76680 core: disable $USER->ignoresesskey on next page

2 weeks agoMoodle release 3.11.13 v3.11.13
Jun Pataleta [Sat, 11 Mar 2023 05:10:27 +0000 (13:10 +0800)]
Moodle release 3.11.13

2 weeks agoweekly release 3.11.12+
Jun Pataleta [Fri, 10 Mar 2023 14:10:03 +0000 (22:10 +0800)]
weekly release 3.11.12+

3 weeks agoMDL-77429 course: Change course date to previous day
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.

3 weeks agoMDL-77463 Behat: Coverage for assign submission notification to teacher
Angelia Dela Cruz [Tue, 7 Mar 2023 02:46:51 +0000 (10:46 +0800)]
MDL-77463 Behat: Coverage for assign submission notification to teacher

3 weeks agoMDL-77429 Behat: Add coverage for changing course format as 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

3 weeks agoMDL-77559 js: Rebuild all JS with Node 16
Andrew Nicols [Thu, 9 Mar 2023 00:17:40 +0000 (08:17 +0800)]
MDL-77559 js: Rebuild all JS with Node 16

3 weeks agoMDL-77559 js: Revert "MDL-75012 core: Bump NodeJS version requirements"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Bump standard dependencies"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Remove grunt-contrib-uglify"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Bump stylelint and components"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Update browserslist"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Bump node-sass"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Audit fix"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Use our own jsdoc wrapper"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Bump shifter to new version"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Put shifter on a diet"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Remove unused babel-preset-minify dependency"
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.

3 weeks agoMDL-77559 js: Revert "MDL-75012 js: Bump Babel dependencies"
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.

3 weeks agoAutomatically generated installer lang files
AMOS bot [Thu, 9 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 weeks agoMDL-77414 Behat: Coverage for "Require all group members submit" setting
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

3 weeks agoMDL-77524 filter_algebra: fix error message
Petr Skoda [Sun, 5 Mar 2023 11:20:25 +0000 (12:20 +0100)]
MDL-77524 filter_algebra: fix error message

3 weeks agoMDL-75517 report_participation: filter report by viewable roles only.
Paul Holden [Wed, 7 Sep 2022 17:26:31 +0000 (18:26 +0100)]
MDL-75517 report_participation: filter report by viewable roles only.

3 weeks agoMDL-77204 mod_wiki: Clean filename in Moodle1 backup
Michael Hawkins [Thu, 2 Mar 2023 04:38:43 +0000 (12:38 +0800)]
MDL-77204 mod_wiki: Clean filename in Moodle1 backup

3 weeks agoMDL-77046 availability: validate profile field in condition.
Paul Holden [Fri, 3 Feb 2023 00:20:40 +0000 (00:20 +0000)]
MDL-77046 availability: validate profile field in condition.

3 weeks agoMDL-76809 gradereport_history: pre-filter report userids filter.
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.

3 weeks agoAutomatically generated installer lang files
AMOS bot [Wed, 8 Mar 2023 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 weeks agoMDL-76645 filter_data: fix link title attribute
Petr Skoda [Sun, 5 Mar 2023 10:59:00 +0000 (11:59 +0100)]
MDL-76645 filter_data: fix link title attribute

3 weeks agoMDL-75659 core: Don't render component argument twice in mustache pix helper
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

3 weeks agoMDL-77446 Behat: Add coverage for changing uploaded file details
Angelia Dela Cruz [Wed, 1 Mar 2023 09:35:20 +0000 (17:35 +0800)]
MDL-77446 Behat: Add coverage for changing uploaded file details

3 weeks agoAutomatically generated installer lang files
AMOS bot [Tue, 7 Mar 2023 00:07:34 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 weeks agoweekly release 3.11.12+
Jake Dallimore [Fri, 3 Mar 2023 03:08:47 +0000 (11:08 +0800)]
weekly release 3.11.12+

4 weeks agoMDL-77458 core: Add supported php version info to phpcs config
Andrew Nicols [Thu, 2 Mar 2023 07:00:26 +0000 (15:00 +0800)]
MDL-77458 core: Add supported php version info to phpcs config

4 weeks agoMDL-77428 Behat: Add coverage for forum post word count
Angelia Dela Cruz [Tue, 28 Feb 2023 03:21:25 +0000 (11:21 +0800)]
MDL-77428 Behat: Add coverage for forum post word count

4 weeks agoMDL-75012 js: Full build of all grunt things
Andrew Nicols [Tue, 28 Feb 2023 03:01:10 +0000 (11:01 +0800)]
MDL-75012 js: Full build of all grunt things

4 weeks agoMDL-75012 js: Bump Babel dependencies 0a95429dcec8ae3c8033d5e8b056272354d756dd
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.

4 weeks agoMDL-75012 js: Remove unused babel-preset-minify dependency 35ef8a9e404fc277f5651b1b1b1ebc1ba2a179d4
Andrew Nicols [Tue, 28 Feb 2023 02:24:04 +0000 (10:24 +0800)]
MDL-75012 js: Remove unused babel-preset-minify dependency

4 weeks agoMDL-77461 behat: Use get_course_id instead of DB fetch
Andrew Nicols [Thu, 2 Mar 2023 03:05:54 +0000 (11:05 +0800)]
MDL-77461 behat: Use get_course_id instead of DB fetch

4 weeks agoAutomatically generated installer lang files
AMOS bot [Thu, 2 Mar 2023 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 weeks agoAutomatically generated installer lang files
AMOS bot [Wed, 1 Mar 2023 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 weeks agoMDL-77413 Behat: Minor changes to optimise the existing tests
Angelia Dela Cruz [Tue, 28 Feb 2023 09:12:48 +0000 (17:12 +0800)]
MDL-77413 Behat: Minor changes to optimise the existing tests

4 weeks agoMDL-77413 Behat: Add coverage to verify groups can have a picture
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

4 weeks agoMDL-75012 js: Put shifter on a diet 8d6e0dc416f471eaa7be59e34dd023c8f0472a78
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.

4 weeks agoMDL-75012 js: Bump shifter to new version 0ebccd5bb4fe2e8c6f6be3943637b79139de8873
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.

4 weeks agoMDL-75012 js: Use our own jsdoc wrapper a22e2aa0d71c2f8b0c05a55c023800f6884506ae
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.

4 weeks agoMDL-75012 js: Audit fix dfea25b3d79e54d0ed8f68a819243bf2f45f901b
Andrew Nicols [Fri, 3 Feb 2023 13:42:56 +0000 (21:42 +0800)]
MDL-75012 js: Audit fix

4 weeks agoMDL-75012 js: Bump node-sass 173b61bf69dd56d8d24f74c29038a6cf847267f7
Andrew Nicols [Fri, 3 Feb 2023 13:28:41 +0000 (21:28 +0800)]
MDL-75012 js: Bump node-sass

4 weeks agoMDL-75012 js: Update browserslist c920bb6db536e9de9ac9babe44be44bbcc8be91f
Andrew Nicols [Fri, 3 Feb 2023 06:11:49 +0000 (14:11 +0800)]
MDL-75012 js: Update browserslist

4 weeks agoMDL-75012 js: Bump stylelint and components 9899fc0a0f8686241fa7294553aafb1e8786fa13
Andrew Nicols [Fri, 3 Feb 2023 03:24:18 +0000 (11:24 +0800)]
MDL-75012 js: Bump stylelint and components

4 weeks agoMDL-75012 js: Remove grunt-contrib-uglify d01eba812bfea3f9e9d22c86bf2b7586eb7e2a40
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.

4 weeks agoMDL-75012 js: Bump standard dependencies 811526b0a6959943ecc2e54cba46ed90ebee30ff
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

4 weeks agoMDL-75012 core: Bump NodeJS version requirements fb8fa7465510030996fc828191dd76657a1d2471
Andrew Nicols [Fri, 4 Nov 2022 04:35:37 +0000 (12:35 +0800)]
MDL-75012 core: Bump NodeJS version requirements

4 weeks agoMDL-72727 mod_forum: prevent default favourite toggle click event.
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.

4 weeks agoMDL-77417 behat: behat_error_handler meets deprecation error types
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.

4 weeks agoMDL-77097 store_mongodb: keep compatibility with PHP 7.4
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().

5 weeks agoweekly release 3.11.12+
Jun Pataleta [Fri, 24 Feb 2023 07:43:36 +0000 (15:43 +0800)]
weekly release 3.11.12+

5 weeks agoMDL-77376 Licensing: Update trademark.txt
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

5 weeks agoMDL-76843 questions behat: enhancements requried to test this issue
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().

5 weeks agoMDL-77271 behat: verify user licence preference is remembered
Simey Lameze [Tue, 21 Feb 2023 04:19:40 +0000 (12:19 +0800)]
MDL-77271 behat: verify user licence preference is remembered

5 weeks agoAutomatically generated installer lang files
AMOS bot [Tue, 21 Feb 2023 00:07:30 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 weeks agoweekly release 3.11.12+
Ilya Tregubov [Fri, 17 Feb 2023 01:12:33 +0000 (09:12 +0800)]
weekly release 3.11.12+

6 weeks agoAutomatically generated installer lang files
AMOS bot [Fri, 17 Feb 2023 00:07:43 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 weeks agoAutomatically generated installer lang files
AMOS bot [Wed, 15 Feb 2023 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 weeks agoMDL-77189 behat: basic coverage for wikimedia repository
Simey Lameze [Thu, 9 Feb 2023 05:43:01 +0000 (13:43 +0800)]
MDL-77189 behat: basic coverage for wikimedia repository

6 weeks agoweekly release 3.11.12+
Paul Holden [Fri, 10 Feb 2023 13:47:41 +0000 (13:47 +0000)]
weekly release 3.11.12+

7 weeks agoMDL-75230 behat: Lesson Behat tests optimised
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.

7 weeks agoMDL-77123 message_airnotifier: Don't test configured providers
Cameron Ball [Thu, 2 Feb 2023 06:10:01 +0000 (14:10 +0800)]
MDL-77123 message_airnotifier: Don't test configured providers

7 weeks agoMDL-76499 behat: Resource Behat tests optimised
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>
7 weeks agoMDL-77078 Behat: Coverage for assignment submission statement
Angelia Dela Cruz [Thu, 2 Feb 2023 06:31:56 +0000 (14:31 +0800)]
MDL-77078 Behat: Coverage for assignment submission statement

7 weeks agoMDL-74905 ci: travis and gha, some adjustments
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.

7 weeks agoMDL-74905 environment: Apply agreed changes:
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.

7 weeks agoMDL-74905 environment: 4.2 base information
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).

8 weeks agoweekly release 3.11.12+
Jun Pataleta [Fri, 3 Feb 2023 07:43:46 +0000 (15:43 +0800)]
weekly release 3.11.12+

8 weeks agoMDL-75830 behat: Book behat tests optimised
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.

8 weeks agoMDL-75912 behat: Wiki Behat tests optimised
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

8 weeks agoMDL-75912 behat: Wiki Behat tests now use generators
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.

8 weeks agoMDL-76658 Behat: Coverage for course cohort enrolment groups
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>
8 weeks agoMDL-76587 behat: make grading page wider to avoid 'out of bounds' fail
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.

2 months agoMDL-76675 date: Only test all TZ names with PHPUNIT_LONGTEST enabled
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.

2 months agoMDL-77040 core: assert types of returned Geoplugin data, not values.
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.

2 months agoMDL-76662 tool_log: correct supported reports test assertions.
Paul Holden [Tue, 13 Dec 2022 10:14:45 +0000 (10:14 +0000)]
MDL-76662 tool_log: correct supported reports test assertions.

2 months agoweekly release 3.11.12+
Sara Arjona [Thu, 26 Jan 2023 08:59:22 +0000 (09:59 +0100)]
weekly release 3.11.12+

2 months agoMDL-77036 core_iplookup: update test_ipv4 test expectations
Simey Lameze [Wed, 25 Jan 2023 07:11:52 +0000 (15:11 +0800)]
MDL-77036 core_iplookup: update test_ipv4 test expectations

2 months agoMDL-76655 behat: Coverage for workshop grading strategies
Angelia Dela Cruz [Mon, 16 Jan 2023 09:42:47 +0000 (17:42 +0800)]
MDL-76655 behat: Coverage for workshop grading strategies

2 months agoMDL-76977 phpunit: ensure unique data provider keys in mustache test.
Paul Holden [Fri, 20 Jan 2023 17:19:16 +0000 (17:19 +0000)]
MDL-76977 phpunit: ensure unique data provider keys in mustache test.