Andrew Nicols
1cddc8edcb
Merge branch 'MDL-74755-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-09 11:44:27 +08:00
Paul Holden
130f5c1dd6
Merge branch 'MDL-76542-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-02-08 14:22:11 +00:00
Jun Pataleta
6cb71e3e8b
Merge branch 'MDL-74905_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-02-08 17:19:27 +08:00
Simey Lameze
d17117ab02
MDL-76542 behat: add step to go to user edit page directly
2023-02-08 12:24:27 +08:00
Paul Holden
cd0d9b910e
MDL-74755 block_accessreview: stricter checking of enabled config.
2023-02-06 09:31:39 +00:00
Andrew Nicols
a41a3281de
Merge branch 'MDL-76662-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-04 21:38:10 +08:00
Eloy Lafuente (stronk7)
ec9f3e8976
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.
2023-02-03 19:48:05 +01:00
Eloy Lafuente (stronk7)
e8e1faad78
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).
2023-02-03 19:48:05 +01:00
Andrew Nicols
662d2e1f0f
Merge branch 'MDL-75912-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-02-02 09:49:25 +08:00
Angelia Dela Cruz
725af41225
MDL-75912 behat: Wiki Behat tests optimised
...
Behat cleanup and optimisation
2023-02-01 11:11:03 +08:00
Angelia Dela Cruz
5a6481006d
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.
2023-02-01 11:03:20 +08:00
Simey Lameze
d350fcc040
MDL-77079 behat: use different step to validate presets table data
2023-02-01 09:03:50 +08:00
Paul Holden
64293da947
MDL-76662 tool_log: correct supported reports test assertions.
2023-01-26 13:09:13 +00:00
Marina Glancy
2dd7290ccb
MDL-76362 various: Avoid passing nulls to functions that don't allow nulls
...
PHP 8.1 is more strict on the parameter type. Functions such as trim(), strlen(), str_replace(), etc
show notice when null is passed as an argument
2023-01-23 09:16:06 +08:00
Andrew Nicols
dd1efc4312
Merge branch 'MDL-76841-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-19 08:55:09 +08:00
Andrew Nicols
3309157233
Merge branch 'MDL-70070-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-19 08:50:37 +08:00
Jake Dallimore
17659466cc
Merge branch 'MDL-66221-401' of https://github.com/raortegar/moodle into MOODLE_401_STABLE
2023-01-17 11:28:53 +08:00
Paul Holden
a74c5f0073
MDL-76841 tool_mobile: improve potential config issues test.
...
Avoid certificate checking of the default test site (`example.com`),
and update the assertion so we get clearer failures in the future.
2023-01-16 08:30:43 +00:00
Paul Holden
70a5e38b2c
MDL-70070 phpunit: correct data provider method names.
...
They should not be prefixed `test_` because that's how actual
test methods containing assertions are identified by PHPUnit.
2023-01-16 08:28:31 +00:00
raortegar
c812f450bb
MDL-66221 tool_recyclebin: Fix recycle bin with activity settings
...
If backup_auto_activities setting from Automated backup is disabled
the activities will not be stored for the recycle bin
2023-01-13 11:31:33 +01:00
Jun Pataleta
28ccae3b7a
Merge branch 'MDL-76739-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-01-12 10:17:37 +08:00
David Mudrák
acd82d3a86
MDL-76739 lang: Use the fixed strings in the tests, too
2023-01-10 21:15:06 +01:00
Helen Foster
152bbd76c5
MDL-76739 lang: Import fixed English strings (en_fix)
2023-01-10 21:13:14 +01:00
Marina Glancy
ff5fc3820a
MDL-76356 various: avoid implicit conversion to int
...
PHP before version 8.1 automatically converted to int if the function
parameter (or array key) is expected to be int. PHP 8.1 shows notice in
this case
2023-01-10 15:25:57 +01:00
Marina Glancy
66dcb1683b
MDL-76356 various: avoid implicit conversion to arrays
...
PHP before version 8.1 automatically converted stdClass or 'false' to arrays if
function parameter expects array (for example, "reset").
PHP 8.1 shows notices in these situations
2023-01-10 15:03:40 +01:00
Jun Pataleta
9c4b8bf7e8
Merge branch 'MDL-74822-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-01-04 17:29:21 +08:00
Huong Nguyen
c6a1770682
MDL-74822 usertours: Fix accessibility issues with user tours
...
Including in this commit:
- Prevent the tour to be displayed if the CSS is disabled by the browser
- Removed redundant tabindex=0 attribute on the target
- Created extra code to re-calculate the suitable position of the tour
- Fixed tour issue in 200% and 400% zoom
- Fixed tour highlight is not correct in 200% and 400%
2023-01-03 10:35:24 +07:00
Sara Arjona
b7b2097f50
Merge branch 'MDL-76760-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-02 12:27:40 +01:00
Ilya Tregubov
5271bd9237
MDL-76399 behat: switch to appropriate Behat step for selects.
2022-12-29 14:53:16 +07:00
Paul Holden
d2f55155a8
MDL-76760 tool_behat: defer library loading until service execution.
...
Ensures that API documentation can be generated without requiring
the presence of the `vendor/` directory.
2022-12-28 10:39:48 +00:00
Sara Arjona
f4f0207693
Merge branch 'MDL-76679-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-27 16:55:25 +01:00
Andrew Nicols
86f9ffc274
MDL-75105 tool_behat: Correct version number
2022-12-22 12:27:51 +07:00
Andrew Nicols
a439461f03
MDL-75105 tool_behat: Coding style fixes
2022-12-22 12:27:51 +07:00
Mark Johnson
0c448af668
MDL-75105 tool_behat: List available data generators
...
This will find all data generators that can be used in behat via the
'the following "something" exist:' step, and display them in a select
list on the step definitions page.
When a generator is selected, it will fetch the required fields for that
generator and display them on the page.
2022-12-21 08:38:28 +00:00
Paul Holden
06383b0b8a
MDL-76679 admin: correct password config field template.
...
The template changes were missed as part of 0795b579, update them
to match so that they continue to work with the unmask JS module.
2022-12-14 19:12:05 +00:00
Paul Holden
a33d1c8903
Merge branch 'MDL-76666_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2022-12-14 13:22:03 +00:00
Eloy Lafuente (stronk7)
c5213c103b
MDL-76666 local_langimport: Better handling of long locales
...
Under some linux versions, and depending of the configured
locale categories, it's possible to get a current locally
which length > 255 when calling to setlocale(LC_ALL, 0).
Later, if that long locale is tried to be restored, there
is a "setlocale(): Specified locale name is too long" warning
error.
When that happens we need to split the long locale into
individual chunks and set all the (six) locale categories
supported one by one.
Covered with tests, note that, in practice, this only
happens with linux because it supports 12 locale categories
@ OS level. Both BSD (6) and Windows (5) hardly can reach the limit.
No matter of that, the tests have been designed to ensure that
they pass on all OSs, just the new code only will be executed
on linux.
2022-12-14 12:25:17 +01:00
Jackson D'souza
de182b9a22
MDL-75571 tool_componentlibrary: Custom activity icon
2022-12-09 15:56:07 +00:00
Jun Pataleta
7a1e9ad82c
Merge branch 'MDL-76556-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2022-12-08 10:07:47 +08:00
Andrew Nicols
bd40bc0341
Merge branch 'MDL-76491-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-08 08:10:44 +08:00
Andrew Nicols
3a544f384b
Merge branch 'MDL-76116-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2022-12-08 06:17:10 +08:00
Jun Pataleta
e0f34d5049
Merge branch 'MDL-73017-M401_add-environment-check-for-versions-not-supporting-php-8-1' of https://github.com/ziegenberg/moodle into MOODLE_401_STABLE
2022-12-07 13:47:12 +08:00
Meirza
09e171c522
MDL-76116 mnet: styling the delete key confirmation window properly
2022-12-07 11:26:26 +07:00
Daniel Ziegenberg
bbd49c9533
MDL-73017 env: Moodle 3.9.x, 3.11.x and 4.0.x do not support PHP 8.1
...
This commit adds an additional environment check for the unsupported
PHP 8.1 version to Moodle 3.9.x, 3.11.x and 4.0.x.
It also updates the lang string for unsupported PHP version.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2022-12-05 11:29:09 +01:00
Andrew Nicols
ed29852851
MDL-76556 tool_log: Set the store property correctly
2022-12-03 11:48:26 +08:00
Paul Holden
68dc955abe
MDL-76491 javascript: add missing core/notification
imports.
2022-12-02 10:06:21 +00:00
Dani Palou
8b153fb67d
MDL-75788 behat: Use profile field generators in existing tests
2022-12-02 14:58:28 +08:00
Jun Pataleta
d9cd25c2fb
MDL-76497 upgrade: add the 4.1.0 separation line to all upgrade scripts
2022-12-01 08:59:07 +03:00
Sara Arjona
960bc4e3c5
Merge branch 'MDL-76226-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-01 08:59:07 +03:00
Ilya Tregubov
5c96f74a06
Merge branch 'MDL-74853-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2022-12-01 08:59:06 +03:00