Paul Holden
c766043420
MDL-74755 block_accessreview: stricter checking of enabled config.
2023-02-06 09:31:31 +00:00
Andrew Nicols
6414935cca
Merge branch 'MDL-76662' of https://github.com/paulholden/moodle
2023-02-04 21:37:23 +08:00
Eloy Lafuente (stronk7)
c66dc59131
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:02 +01:00
Eloy Lafuente (stronk7)
6667366b54
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:02 +01:00
David Woloszyn
23318ebb5e
MDL-76755 admin: Blocked hosts defaults improved
2023-02-02 15:16:17 +11:00
Andrew Nicols
929e5b4552
Merge branch 'MDL-75912-master' of https://github.com/andelacruz/moodle
2023-02-02 09:49:05 +08:00
Angelia Dela Cruz
854a357add
MDL-75912 behat: Wiki Behat tests optimised
...
Behat cleanup and optimisation
2023-02-01 11:01:47 +08:00
Angelia Dela Cruz
77cb8e55e4
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:00:57 +08:00
Simey Lameze
af00222947
MDL-77079 behat: use different step to validate presets table data
2023-02-01 09:01:56 +08:00
Paul Holden
ebb277ecf5
MDL-76662 tool_log: correct supported reports test assertions.
2023-01-26 13:09:21 +00:00
Jun Pataleta
8c3cb3d17e
Merge branch 'MDL-77027-master' of https://github.com/andrewnicols/moodle
2023-01-25 15:33:52 +08:00
Andrew Nicols
6a5512c999
MDL-77007 admin: Remove deprecated auth_config.php usage
...
This was deprecated in Moodle 3.3 and should now be removed.
2023-01-25 14:13:59 +08:00
Andrew Nicols
a72168741c
MDL-77027 webservice: Add missing class requires
2023-01-25 11:14:59 +08:00
Sara Arjona
ae53d04144
Merge branch 'MDL-75337-master' of https://github.com/laurentdavid/moodle
2023-01-24 16:07:35 +01:00
Andrew Nicols
b1f844750b
MDL-77009 tool_monitor: Replace YUI dropdown with ESM version
2023-01-24 16:22:07 +08:00
Laurent David
fc72a1d7b1
MDL-75337 core: Single button - core changes
...
* Change all core calls toward single_button to use single_button::BUTTON_PRIMARY
when needed
2023-01-24 06:01:35 +01:00
Laurent David
377c962f11
MDL-75337 core: Single button - API changes
...
* Update component library for new features of single_button and modal
* Update core_notification javascript
2023-01-23 13:45:21 +01:00
Marina Glancy
b0a83aa7bd
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:15:54 +08:00
Jun Pataleta
fad05d7929
Merge branch 'MDL-76583-master-withoutrename' of https://github.com/andrewnicols/moodle
2023-01-19 09:44:48 +08:00
Andrew Nicols
5abb018103
Merge branch 'MDL-69126' of https://github.com/paulholden/moodle
2023-01-19 08:58:01 +08:00
Andrew Nicols
b56a9b9004
Merge branch 'MDL-76841' of https://github.com/paulholden/moodle
2023-01-19 08:54:07 +08:00
Andrew Nicols
3731f4e263
Merge branch 'MDL-70070' of https://github.com/paulholden/moodle
2023-01-19 08:47:51 +08:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Andrew Nicols
caddb452f0
MDL-76583 core_external: Migrate string formatting functions to util
2023-01-19 07:33:35 +08:00
Jake Dallimore
9681ec4693
Merge branch 'MDL-66221-master' of https://github.com/raortegar/moodle
2023-01-17 11:28:40 +08:00
Sara Arjona
d62f6ae036
Merge branch 'MDL-61789-master' of https://github.com/meirzamoodle/moodle
2023-01-16 17:08:38 +01:00
Paul Holden
fd8d11b704
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:49 +00:00
Paul Holden
af8da7c737
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:37 +00:00
Jun Pataleta
dd0580d809
Merge branch 'MDL-76377-master' of https://github.com/aanabit/moodle
2023-01-16 09:40:07 +08:00
raortegar
afb4a9effd
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:30:54 +01:00
Amaia Anabitarte
bb3a7fcda5
MDL-76377 block_myoverview: Improve zero state
2023-01-12 15:55:57 +01:00
David Mudrák
50ba9dc72c
MDL-76739 lang: Use the fixed strings in the tests, too
2023-01-12 09:17:27 +08:00
Helen Foster
975a127325
MDL-76739 lang: Import fixed English strings (en_fix)
2023-01-12 09:17:27 +08:00
Andrew Nicols
6f1c9d3b53
Merge branch 'MDL-76614' of https://github.com/timhunt/moodle
2023-01-11 10:32:42 +08:00
Marina Glancy
b1c97381b4
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:27:11 +01:00
Marina Glancy
594a8c5ab7
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 12:16:52 +01:00
Meirza
b79231361b
MDL-61789 auth_oauth2: Update profile fields based on data mapping.
...
After the user creation, the system must call an update function to update profile_fields_*.
We also provided two functions into user/profile/lib.php to get available from other areas.
We added PHP unit testing for new public functions and
the Behat tests for custom profile fields with locked and unlocked statuses.
Co-authored-by: Matt Porritt <matt.porritt@moodle.com>
2023-01-07 20:59:26 +07:00
Tim Hunt
a9f8547599
MDL-76614 quiz: rename quiz => mod_quiz\quiz_settings
2023-01-06 14:35:54 +00:00
Tim Hunt
5682c8c70e
MDL-76614 quiz: move class quiz_attempt => mod_quiz\quiz_attempt
...
I thought about renaming the class to just plain attempt, but I
acutally think quiz_attempt makes it clearer what this is. Also
not changing the name massively reduces the pain for everyone
updating their code (including me right now!)
2023-01-06 14:35:51 +00:00
Matt Porritt
6793891887
MDL-61789 auth_oauth2: Allow admin to choose profile fields for mapping
...
Update oauth2 to allow mapping of provider attributes against
user profile fields. Fields can also be locked to prevent
user changes.
Co-Authored-By: Michael Milette <michael.milette@tngconsulting.ca>
2023-01-06 13:27:11 +07:00
Paul Holden
2c57184251
MDL-69126 lang: final removal of deprecated 310 strings.
2023-01-05 14:38:37 +00:00
Jun Pataleta
401fc00245
Merge branch 'MDL-74822-master' of https://github.com/HuongNV13/moodle
2023-01-04 17:29:26 +08:00
Paul Holden
63a43391ad
Merge branch 'MDL-58615-master' of https://github.com/andrewnicols/moodle
2023-01-03 09:20:22 +00:00
Andrew Nicols
1ac2eb53fb
MDL-58615 core: Remove the useexternalyui setting
...
I have opted not to go through any deprecation process for this as there
is not really much we can do about it anyway. There is no loss of
functionality - just a change of where things are served from.
The Yahoo! CDN was only used for http connections as it did not
officially support SSL, and it is not guaranteed to continue existing in
the future since YUI has been deprecated for a number of years now.
2023-01-03 11:43:01 +08:00
Huong Nguyen
ef8420e5a3
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:34:48 +07:00
Sara Arjona
6821897849
Merge branch 'MDL-76760' of https://github.com/paulholden/moodle
2023-01-02 12:27:34 +01:00
Ilya Tregubov
e3d5313d55
MDL-76399 behat: switch to appropriate Behat step for selects.
2022-12-29 14:57:31 +07:00
Paul Holden
3982341f7a
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:08:10 +00:00
Sara Arjona
407f0604ba
Merge branch 'MDL-76679' of https://github.com/paulholden/moodle
2022-12-27 16:55:17 +01:00
Sara Arjona
0b733266b0
Merge branch 'MDL-72775-master' of https://github.com/QihuiChan/moodle
2022-12-27 16:12:50 +01:00