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
Andrew Nicols
b46a72c1aa
MDL-76583 core_external: external_single_structure coding style fixes
2023-01-19 07:33:46 +08:00
Andrew Nicols
135fae604c
MDL-76583 core_external: external_multiple_structure coding style fixes
2023-01-19 07:33:46 +08:00
Andrew Nicols
8e336beac3
MDL-76583 core_external: external_function_params coding style fixes
2023-01-19 07:33:46 +08:00
Andrew Nicols
59c9577912
MDL-76583 core_external: external_warnings coding style fixes
2023-01-19 07:33:46 +08:00
Andrew Nicols
6325775551
MDL-76583 core_external: external_api unit tests coding style fixes
2023-01-19 07:33:46 +08:00
Andrew Nicols
ca7305f0c6
MDL-76583 core_external: external_description coding style fixes
2023-01-19 07:33:46 +08:00
Andrew Nicols
8bc2011d3d
MDL-76583 core_external: external settings coding style fixes
2023-01-19 07:33:46 +08:00
Andrew Nicols
c978cd8cc3
MDL-76583 core_external: core_external\external_api coding style fixes
2023-01-19 07:33:38 +08:00
Andrew Nicols
fa676b4776
MDL-76583 core_external: Implement Privacy API for core_external
...
AMOS BEGIN
MOV [privacy:metadata:serviceusers,core_webservice],[privacy:metadata:serviceusers,core_external]
MOV [privacy:metadata:serviceusers:iprestriction,core_webservice],[privacy:metadata:serviceusers:iprestriction,core_external]
MOV [privacy:metadata:serviceusers:timecreated,core_webservice],[privacy:metadata:serviceusers:timecreated,core_external]
MOV [privacy:metadata:serviceusers:userid,core_webservice],[privacy:metadata:serviceusers:userid,core_external]
MOV [privacy:metadata:serviceusers:validuntil,core_webservice],[privacy:metadata:serviceusers:validuntil,core_external]
MOV [privacy:metadata:tokens,core_webservice],[privacy:metadata:tokens,core_external]
MOV [privacy:metadata:tokens:creatorid,core_webservice],[privacy:metadata:tokens:creatorid,core_external]
MOV [privacy:metadata:tokens:iprestriction,core_webservice],[privacy:metadata:tokens:iprestriction,core_external]
MOV [privacy:metadata:tokens:lastaccess,core_webservice],[privacy:metadata:tokens:lastaccess,core_external]
MOV [privacy:metadata:tokens:privatetoken,core_webservice],[privacy:metadata:tokens:privatetoken,core_external]
MOV [privacy:metadata:tokens:timecreated,core_webservice],[privacy:metadata:tokens:timecreated,core_external]
MOV [privacy:metadata:tokens:token,core_webservice],[privacy:metadata:tokens:token,core_external]
MOV [privacy:metadata:tokens:tokentype,core_webservice],[privacy:metadata:tokens:tokentype,core_external]
MOV [privacy:metadata:tokens:userid,core_webservice],[privacy:metadata:tokens:userid,core_external]
MOV [privacy:metadata:tokens:validuntil,core_webservice],[privacy:metadata:tokens:validuntil,core_external]
MOV [privacy:request:notexportedsecurity,core_webservice],[privacy:request:notexportedsecurity,core_external]
AMOS END
2023-01-19 07:33:35 +08:00
Andrew Nicols
0392551bcb
MDL-76583 core_external: Migrate service management to util
2023-01-19 07:33:35 +08:00
Andrew Nicols
caddb452f0
MDL-76583 core_external: Migrate string formatting functions to util
2023-01-19 07:33:35 +08:00
Andrew Nicols
7f5fb6a592
MDL-76583 core_external: Migrate token functions class
2023-01-19 07:33:35 +08:00
Andrew Nicols
7d079e82e1
MDL-76583 core_external: Move util test and update
2023-01-19 07:33:35 +08:00
Andrew Nicols
453738e3fd
MDL-76583 core_external: Move files test and update
2023-01-19 07:33:35 +08:00
Andrew Nicols
3f8fdc8e33
MDL-76583 core_external: Move settings test and update
2023-01-19 07:33:35 +08:00
Andrew Nicols
ecbb31b160
MDL-76583 core_external: Migrate external_settings class
2023-01-19 07:33:35 +08:00
Andrew Nicols
e460e2e43f
MDL-76583 core_external: Migrate external_format_value class
2023-01-19 07:33:35 +08:00
Andrew Nicols
780ba1333b
MDL-76583 core_external: Migrate external_warnings class
2023-01-19 07:33:35 +08:00
Andrew Nicols
c42831cec6
MDL-76583 core_external: Migrate external_files class
2023-01-19 07:33:35 +08:00
Andrew Nicols
ebbf342127
MDL-76583 core_external: Migrate external_util class
2023-01-19 07:33:35 +08:00
Andrew Nicols
fff2c7420f
MDL-76583 core_external: Migrate restricted_context_exception class
2023-01-19 07:33:35 +08:00
Andrew Nicols
698f06edeb
MDL-76583 core_external: Migrate external_function_parameters class
2023-01-19 07:33:35 +08:00
Andrew Nicols
279ae4d5b3
MDL-76583 core_external: Migrate external_multiple_structure class
2023-01-19 07:33:35 +08:00
Andrew Nicols
967bed2954
MDL-76583 core_external: Migrate external_single_structure class
2023-01-19 07:33:34 +08:00
Andrew Nicols
61d59eaa11
MDL-76583 core_external: Migrate external_value class
2023-01-19 07:33:34 +08:00
Andrew Nicols
6f185f1873
MDL-76583 core_external: Migrate external_description class
2023-01-19 07:33:34 +08:00
Andrew Nicols
cdd51a663b
MDL-76583 core_external: Move external_api unit tests
2023-01-19 07:33:34 +08:00
Andrew Nicols
56bcaf409f
MDL-76583 core_external: Migrate external_api to core_external\external_api
2023-01-19 07:33:18 +08:00
Andrew Nicols
4a2793002c
MDL-76583 core_external: Add new core_external subsystem
2023-01-17 10:59:15 +08:00
Jun Pataleta
e0d857f39f
Merge branch 'MDL-76649' of https://github.com/timhunt/moodle
2023-01-12 12:06:35 +08:00
Jun Pataleta
f23d02a0ca
Merge branch 'MDL-76474-master-2' of https://github.com/HuongNV13/moodle
2023-01-12 11:55:29 +08:00
Huong Nguyen
6dd6248e41
MDL-76474 tiny_h5p: Prevent H5P Formatter placeholder to be assessed
2023-01-12 10:51:03 +07:00
Huong Nguyen
d21b6d194a
MDL-76474 tiny_accessibilitychecker: Prevent placeholders to be assessed
2023-01-12 10:51:03 +07:00
Huong Nguyen
c4c85a8f1c
MDL-76474 editor_tiny: Implement placeholder selector list
...
We created a list of placeholder selectors in placeholderSelectors option.
The purpose of this list is to indicate the contents that are only shown
in the editor and not to the users, by that way, we can decide to apply or
not to apply rules, styles, etc... to these contents
2023-01-12 10:51:02 +07:00
Paul Holden
2dfc273752
MDL-76862 user: ensure user can only update own preferred start page.
2023-01-12 11:35:10 +08:00
Jun Pataleta
5166c729b4
MDL-76739 behat: Replace occurrences of "surname" in Behat tests
...
Replace occurrences of "surname" in Behat tests with "last name"
2023-01-12 09:53:41 +08:00
Andrew Nicols
6f1c9d3b53
Merge branch 'MDL-76614' of https://github.com/timhunt/moodle
2023-01-11 10:32:42 +08:00
Andrew Nicols
9e21e8a807
Merge branch 'MDL-76356' of https://github.com/stronk7/moodle
2023-01-11 10:26:20 +08:00
Paul Holden
6bd76e2a4d
Merge branch 'MDL-76803-master' of https://github.com/junpataleta/moodle
2023-01-10 16:24:09 +00: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
Jun Pataleta
2924075480
MDL-76803 lang: Update usages of reworded email display options
2023-01-10 16:01:18 +08:00
Tim Hunt
192f993906
MDL-76649 quiz statistics task: output more useful trace info
...
At the moment, quiz_statistics\task\recalculate gives no useful
information about what it is doing, which makes it hard to investigate
if the task fails. This commit makes it more usefully verbose.
Also, following this change, one instance of this task will not
run for more than one hour at a time.
As part of this commit, I have added a new helper mtrace_exception.
to consistently log exceptions in scheduled tasks. It is sad to
add a new function to moodlelib.php, but that seemed the logical place.
Looking at other tasks, this method is badly needed. Many are just
logging the ->getMessage() which is normaly insufficient for proper
debugging. However, swiching all existing tasks to use the new function
will need to wait for a future MDL.
2023-01-09 13:26:41 +00:00
Jun Pataleta
6bbe2ebf06
Merge branch 'MDL-76785' of https://github.com/paulholden/moodle
2023-01-09 19:38:36 +08:00
Jun Pataleta
db2ee34986
Merge branch 'MDL-76506' of https://github.com/jrchamp/moodle
2023-01-09 19:34:07 +08:00