Andrew Nicols
e76b1bcd5e
MDL-76362 qtype_numerical: Fix bug in phpdoc
2023-01-23 09:15:54 +08:00
Andrew Nicols
771b49c9ac
MDL-76362 qtype_calculated*: Address issues with null strings
2023-01-23 09:15:54 +08:00
Andrew Nicols
b7710dbaf4
MDL-76362 qtype: Update formatting of qtype_calculated* upgradelib
2023-01-23 09:15:54 +08:00
Andrew Nicols
b4103db72e
MDL-76362 qtype_numerical: Support empty units for apply_units
2023-01-23 09:15:54 +08:00
Andrew Nicols
913430f144
MDL-76362 qtype_numeric: Refactor answer tests
2023-01-23 09:15:54 +08:00
Andrew Nicols
32b45433bb
MDL-76362 question: Add test for number(null)
2023-01-23 09:15:54 +08:00
Andrew Nicols
5c2d98efcd
MDL-76362 question: Refactor question number unit tests
2023-01-23 09:15:54 +08:00
Andrew Nicols
ef09257dc1
MDL-76362 core: Use empty default string when getting prefs
...
The json_decode function does not accept a null, which is the
traditional default for get_user_preferences. By passing a default of
am empty string we avoid issues in PHP 8.1.
2023-01-23 09:15:54 +08: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
Marina Glancy
491ed7b200
MDL-76362 mustache: Override parent method to avoid PHP notices
...
Parent method checks baseDir that is null in this case. This shows notices under PHP 8.1
2023-01-23 09:15:54 +08:00
Paul Holden
5414b82e6e
MDL-76977 phpunit: ensure unique data provider keys in mustache test.
2023-01-20 17:19:16 +00:00
Sara Arjona
7c56b6900e
Merge branch 'MDL-76942-master-2' of https://github.com/junpataleta/moodle
2023-01-20 16:20:09 +01:00
Sara Arjona
3c649386da
Merge branch 'MDL-76139-master' of https://github.com/kevpercy/moodle
2023-01-20 16:11:54 +01:00
Jun Pataleta
b60cb734b7
MDL-76942 course: Adjust activity chooser Behat tests
...
* Try to use the button name instead of CSS selectors whenever possible.
2023-01-20 21:27:39 +08:00
Jun Pataleta
544656431a
MDL-76942 core: Revert change to insertresourceoractivitybefore
...
Revert the lang string "Add an activity or resource before [xx]" back to
its original form of "Insert an activity or resource before [xx]" in
order to avoid conflicts with the "Add an activity or resource" button
especially when running Behat tests.
2023-01-20 21:27:39 +08:00
Andrew Nicols
5b2e04f301
MDL-75945 core: Update uses of ImagePolygon
...
A new signature was introduced to ImagePolygon functions from PHP 8.0
with the previous signature deprecated in 8.1.
For PHP versions 8.0 and later we should use the new signature. Once PHP
8.0 is the required minimum version, the legacy version should be
removed.
2023-01-20 18:41:26 +07:00
Paul Holden
1b52486cce
MDL-76973 user: correct testcase reference to external_api class.
2023-01-20 11:30:02 +00:00
Paul Holden
ab670ab286
MDL-76933 badges: create user-focused datasource for custom reporting.
...
This report source differs from the original badges source (5274ee5a
)
by making `user` the primary table of the report, allowing for reports
on all users regardless of whether they have been awarded badges.
2023-01-20 10:20:01 +00:00
Paul Holden
75ab52d902
MDL-76878 user: amend permission callbacks for preference definitions.
...
Ensure those preferences that are used for storing state can always be
updated via web service requests for the current user.
2023-01-20 10:05:21 +00:00
Jun Pataleta
a479c1854b
MDL-76968 mod_quiz: Use proper external_api reference
2023-01-20 17:06:17 +08:00
Luca Bösch
a4eee48b49
MDL-76967 questions: Questions last used line height
2023-01-20 09:56:55 +01:00
Kevin Percy
567214a500
MDL-76139 gradebook_grader: Move group selector to tertiary navigation
2023-01-20 13:08:59 +08:00
Jaydn Cunningham
6ad6b28a34
MDL-76370 curl: suppress CONNECT header when using HTTP proxy
2023-01-20 14:26:30 +10:30
Meirza
ec805cd575
MDL-76562 editor_tiny: Added functions to remove button/menu/submenu.
...
Added a few functions to remove the toolbar button, menubar and sub-menu items.
One of the implementations is to remove the justify alignment in the toolbar and
the sub-menu items to aid the accessibility aspect of the TinyMCE editor.
2023-01-20 09:57:52 +07:00
Ilya Tregubov
df502b3e4c
weekly release 4.2dev
2023-01-20 09:41:37 +08:00
sam marshall
100e38fe38
MDL-76956 core_grades: Regrade progress bar should be more granular
...
This change makes the regrade progress bar send frequent updates to
the web browser, even when processing within the same grade item, to
avoid timeout problems when there are a large number of users.
2023-01-19 16:43:51 +00:00
Jun Pataleta
4e8aee01fe
Merge branch 'MDL-76725' of https://github.com/paulholden/moodle
2023-01-19 12:05:12 +08:00
Jun Pataleta
317af68140
Merge branch 'MDL-76537' of https://github.com/stronk7/moodle
2023-01-19 11:24:04 +08:00
Jun Pataleta
6538b400df
Merge branch 'MDL-76583-master-withoutrename' of https://github.com/andrewnicols/moodle
2023-01-19 11:18:43 +08:00
Ilya Tregubov
42a2b973ce
Merge branch 'MDL-76870-master' of https://github.com/lameze/moodle
2023-01-19 11:14:46 +08:00
Ilya Tregubov
89b722402e
Merge branch 'MDL-76766-master' of https://github.com/aanabit/moodle
2023-01-19 11:03:40 +08:00
Andrew Nicols
fcbad1f68a
MDL-76583 external: Add unit test for deprecated test helper
2023-01-19 11:02:31 +08:00
Ilya Tregubov
385721f022
Merge branch 'MDL-74756-master' of https://github.com/sh-csg/moodle
2023-01-19 10:29:35 +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
46eb8da969
Merge branch 'MDL-69643' of https://github.com/paulholden/moodle
2023-01-19 09:05:46 +08:00
Andrew Nicols
853f07d4c0
Merge branch 'MDL-69127' of https://github.com/paulholden/moodle
2023-01-19 09:01:39 +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
1dbc7b303e
MDL-76583 core_external: Update util_test coding style
2023-01-19 07:34:09 +08:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Andrew Nicols
3e1920966c
MDL-76583 core_external: Note deprecations and renames
2023-01-19 07:34:00 +08:00
Andrew Nicols
188dfcbf8c
MDL-76583 core_external: External API Test coding style fixes
2023-01-19 07:33:47 +08:00
Andrew Nicols
c435f5d95b
MDL-76583 core_external: Update service management functions
2023-01-19 07:33:47 +08:00
Andrew Nicols
47814221e5
MDL-76583 core_external: Update util string formatting functions
2023-01-19 07:33:47 +08:00
Andrew Nicols
d5d4ff8986
MDL-76583 core_external: Update token functions
2023-01-19 07:33:47 +08:00
Andrew Nicols
7a4f57cbfa
MDL-76583 core_external: util class coding style fixes
2023-01-19 07:33:47 +08:00
Andrew Nicols
93d0f2f2c1
MDL-76583 core_external: external_files coding style fixes
2023-01-19 07:33:47 +08:00
Andrew Nicols
be1c3877c5
MDL-76583 core_external: external_value coding style fixes
2023-01-19 07:33:47 +08:00
Andrew Nicols
1125fa94f6
MDL-76583 core_external: external_format_value coding style fixes
2023-01-19 07:33:46 +08:00