108812 Commits

Author SHA1 Message Date
Sara Arjona
57589966bc Merge branch 'MDL-77468-master' of https://github.com/rmady/moodle 2023-04-13 09:19:54 +02:00
Ilya Tregubov
dd1a41f2d8 Merge branch 'MDL-75274-weekly' of https://github.com/Chocolate-lightning/moodle 2023-04-13 13:38:14 +08:00
Mathew May
3a8eeedf6a MDL-75274 theme_boost: Aria so dropdowns with search focus better 2023-04-13 11:45:17 +08:00
Mathew May
1a1939ac29 MDL-75274 gradereport_grader: Column collapsing 2023-04-13 11:45:17 +08:00
Ilya Tregubov
e285841a9a MDL-75274 core_grades: Add % symbol to weights column
As per design it should have % symbol.
2023-04-13 11:44:38 +08:00
Ilya Tregubov
e3a4dcf056 MDL-75274 gradereport_grader: Add back advanced grading url
It was accidentally removed.
2023-04-13 10:42:04 +08:00
Ilya Tregubov
277b55199e MDL-75274 gradereport_grader: Fix sorting of grade items.
Seems that baseurl is rewritten causing toggling of ordering
not work
2023-04-13 10:42:04 +08:00
Ilya Tregubov
cfbb0ea4d5 Merge branch 'MDL-70975-adhoc-carneval' of https://github.com/catalyst/moodle 2023-04-13 09:07:58 +08:00
Sara Arjona
e450756ce1 Merge branch 'MDL-73610' of https://github.com/stronk7/moodle 2023-04-12 18:19:34 +02:00
Sara Arjona
16511af2a1 Merge branch 'MDL-77012' of https://github.com/paulholden/moodle 2023-04-12 14:09:27 +02:00
Sara Arjona
3c5e26901c Merge branch 'MDL-77374-master' of https://github.com/meirzamoodle/moodle 2023-04-12 13:14:07 +02:00
Sara Arjona
dbe725ac04 Merge branch 'MDL-77882' of https://github.com/paulholden/moodle 2023-04-12 12:21:13 +02:00
Sara Arjona
e9327f7339 Merge branch 'MDL-77348-master' of https://github.com/meirzamoodle/moodle 2023-04-12 12:19:06 +02:00
Shamim Rezaie
0175787cc0 Merge branch 'MDL-76722-fix' of https://github.com/sarjona/moodle 2023-04-12 19:50:47 +10:00
Sara Arjona
ea2e9d5920 MDL-76722 core: Fix upgrade failures with MariaDB
The 'enable' field doesn't exist, and this is causing some failures
with MariaDB (and probably with MySQL too).
2023-04-12 11:43:52 +02:00
Meirza
bb7f3bd9f5 MDL-77374 libraries: Added #[AllowDynamicProperties] attribute
To temporarily prevent the PHP 8.2 warning about Dynamic Properties' deprecation,
the #[AllowDynamicProperties] property was added. We encourage anyone to perform the upgrade
as soon as the Google library complies with PHP 8.2.
2023-04-12 16:39:43 +07:00
Ilya Tregubov
99e2c31f3a Merge branch 'MDL-77585-master' of https://github.com/jleyva/moodle 2023-04-12 17:24:22 +08:00
Shamim Rezaie
caa9fe6e42 Merge branch 'MDL-76722-master' of https://github.com/andrewnicols/moodle 2023-04-12 19:23:17 +10:00
Shamim Rezaie
e2120da616 MDL-77871 gradereport_grader: Make sure cells are full-height 2023-04-12 09:08:19 +02:00
Meirza
8cee99346b MDL-77348 mod_lesson: Added missing class properties
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-04-12 13:56:27 +07:00
Meirza
67e583783c MDL-77348 mod_lti: Added missing class properties
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.

While working on this issue, even though it's not related to the deprecation issue,
I added 'use core_external\external_api' to avoid the 'Undefined type external_api' warning at
mod_lti_testcase::generate_tool_proxy().
2023-04-12 13:56:21 +07:00
Meirza
52f512e5cf MDL-77348 mod_scorm: Added missing class properties
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-04-12 13:05:35 +07:00
Meirza
1f78fb2562 MDL-77348 mod_data: Added missing class properties
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-04-12 13:05:28 +07:00
Meirza
a96114571e MDL-77348 mod_glossary: Added missing class properties
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-04-12 10:04:24 +07:00
Paul Holden
9efd335f4a
MDL-77882 gradereport_grader: don't search on custom identity field.
Currently throws SQL exceptions if site identity configuration has
such a field included.
2023-04-11 22:54:39 +01:00
Juan Leyva
c0560689fc MDL-77468 user: Fix invalid check for group belonging 2023-04-11 09:29:58 -03:00
Juan Leyva
e464d2c8a1 MDL-77468 user: Make user profile visibility consistent web and ws 2023-04-11 09:24:40 -03:00
Sara Arjona
255d5a3c5a Merge branch 'MDL-77837-master' of https://github.com/andrewnicols/moodle 2023-04-11 12:12:43 +02:00
Sara Arjona
7d750e2a46 Merge branch 'MDL-77030-master-feedback' of https://github.com/kevpercy/moodle 2023-04-11 11:17:52 +02:00
Sara Arjona
dbabe07db8 Merge branch 'MDL-77148' of https://github.com/AnupamaSarjoshi/moodle 2023-04-11 10:17:03 +02:00
Sara Arjona
b4feecf2f5 Merge branch 'MDL-77612-master' of https://github.com/laurentdavid/moodle 2023-04-11 10:04:35 +02:00
Sara Arjona
cdeec59377 Merge branch 'MDL-76792-master' of https://github.com/jleyva/moodle 2023-04-11 09:13:08 +02:00
Kevin Percy
b976b3bed0 MDL-77030 gradereport_grader: Display feedback in grader report 2023-04-11 13:16:06 +08:00
Laurent David
9f1f4de23b MDL-77612 mod_label: Label name fix
* The @@PLUGINFILE@@ placeholder or URLs should not be displayed in the
course index for labels
2023-04-11 05:24:07 +02:00
Alex Morris
38160a6f94 MDL-76722 message_airnotifier: Add encrypted notifications 2023-04-11 08:58:27 +08:00
Alex Morris
9bc236d48d MDL-76722 user: Add new update_user_device_public_key webservice 2023-04-11 08:58:27 +08:00
Alex Morris
7c843b380b MDL-76722 lib/db: Add new publickey field to user_devices table 2023-04-11 08:58:26 +08:00
Shamim Rezaie
d580daaf48 Merge branch 'MDL-77686' of https://github.com/paulholden/moodle 2023-04-08 05:02:35 +10:00
Andrew Nicols
115d6a8b9d MDL-77837 cron: Move cron_setup_user to deprecatedlib 2023-04-06 23:19:01 +08:00
Andrew Nicols
25f1ec59d9 MDL-77837 core: Improve usage docs for cron::setup_user 2023-04-06 23:19:01 +08:00
Andrew Nicols
2dde341898 MDL-77837 core: Improve cron upgrade.txt notes 2023-04-06 23:19:01 +08:00
Andrew Nicols
5319ba9c15 MDL-77837 phpunit: Ensure that the cron user setter is used
When running an adhoc task in a unit test we should use the cron variant
of the set user method to mimic the behaviour of a real cron run.
2023-04-06 23:19:01 +08:00
Andrew Nicols
12b0f796b9 MDL-77837 cron: Ensure user is set when running tasks
We should be proactive in ensuring that the environment is clean when
running a task. We already ensure that we have a clean renderer and
other parts of the output chain, but we were not setting a clean user.

This change adds a call to setup the cron user before each task is
actually executed.
2023-04-06 23:19:01 +08:00
Paul Holden
fa921f87f2
MDL-77686 logstore_legacy: final plugin uninstallation step.
This supersedes the partial uninstallation from 61cd980f, ensuring
we also now clear up any remaining data (e.g. scheduled tasks).
2023-04-06 14:46:31 +01:00
Eloy Lafuente (stronk7)
5d9eae8042 MDL-73610 nodejs: Small updates to required packages
The main goal of this issue is to avoid scanners (Dependabot
and friends), reporting about security issues with the current
xmldom 0.6.0 package.

Note that this doesn't affect prod at all, because it's a dev
dependency, hardly exploitable. So it's not a security fix, just
a security_benefit, if something.

So here, we are updating from xmldom 0.6.0 to @xmldom/xmldom 0.8.7
(note that the package was renamed in 0.7.0, so it's the very same)

Also, when proceeding with the changes, it was detected that we
are incorrectly declaring @babel/eslint-parser as a normal dependency
instead of a development one, so we are also fixing that little detail.

The commands executed to get the changes above applied have been:

- nvm use
- npm install @xmldom/xmldom@^0.8.7 --save-dev
- npm uninstall xmldom
- npm install @babel/eslint-parser@^7.17.0 --save-dev

(we haven't run a complete re-install because we only want to modify
the minimum possible at this stage).
2023-04-06 14:59:33 +02:00
Anupama Sarjoshi
e6a3295fba MDL-77148 core: Fix to export params for templates in correct format
When questions are filtered by tags in the question bank, the qtagids
params are passed in the array format. Though moodle_url handles this,
single_button::export_for_template cannot. Hence changes done in
weblib.php to provide params for export_for_template in the
suitable format.
Thanks Huong. I have added the Behat test you provided in the patch.
2023-04-06 13:22:01 +01:00
Sara Arjona
bd2de8edf6 on-demand release 4.2dev+ 2023-04-06 14:03:11 +02:00
Sara Arjona
78116a0ceb Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2023-04-06 14:02:59 +02:00
Andrew Nicols
31f82832b6 MDL-65471 core: Sort directories before hashing 2023-04-06 15:41:00 +08:00
Andrew Nicols
eb1b172397 Merge branch 'MDL-65471-outageless' of https://github.com/Peterburnett/moodle 2023-04-06 08:36:25 +02:00