Sara Arjona
2e20e08aa9
Merge branch 'MDL-76986-master' of https://github.com/davewoloszyn/moodle
2023-04-13 17:31:58 +02:00
Sara Arjona
bdc106e840
Merge branch 'MDL-76859-master' of https://github.com/sarjona/moodle
2023-04-13 16:24:20 +02:00
Sara Arjona
9ce4fb65fd
Merge branch 'MDL-77164-master' of https://github.com/marinaglancy/moodle
2023-04-13 14:00:18 +02:00
Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
Marina Glancy
4d765cd699
MDL-77164 privacy: typehint test content writer
2023-04-13 09:43:15 +01:00
Marina Glancy
fcf887919b
MDL-77164 lib/pear: correct phpdocs
2023-04-13 09:43:15 +01:00
Marina Glancy
9ffbcce0ac
MDL-77164 various: fix mustache template name
2023-04-13 09:43:15 +01:00
Marina Glancy
04f8fdd021
MDL-77164 various: fix javascript AMD module name
2023-04-13 09:43:15 +01:00
Sara Arjona
57589966bc
Merge branch 'MDL-77468-master' of https://github.com/rmady/moodle
2023-04-13 09:19:54 +02:00
David Woloszyn
41e5260a3b
MDL-76986 editor_tiny: Convert language code format for getting strings
2023-04-13 16:01:44 +10:00
Mathew May
1a1939ac29
MDL-75274 gradereport_grader: Column collapsing
2023-04-13 11:45:17 +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
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
Petr Skoda
43b56a90d9
MDL-76859 h5p: Fix behat failures
...
- Only resize if the H5P EmbedCommunicator is defined (otherwise, it was causing a
JS error)
- An unnecessary image has been removed from the greeting-card.h5p fixture package.
That way, the text will always be displayed (even if the iframe is still not
resized). Instead of replacing the original greeting-card-887.h5p file, I've
renamed it to greeting-card.h5p, to remove these ugly and unnecessary numbers
at the end of the file name).
2023-04-12 12:26:23 +02: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
Shamim Rezaie
caa9fe6e42
Merge branch 'MDL-76722-master' of https://github.com/andrewnicols/moodle
2023-04-12 19:23:17 +10:00
Juan Leyva
c0560689fc
MDL-77468 user: Fix invalid check for group belonging
2023-04-11 09:29:58 -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
Kevin Percy
b976b3bed0
MDL-77030 gradereport_grader: Display feedback in grader report
2023-04-11 13:16:06 +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
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
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
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
Paul Holden
dcc32979ec
Merge branch 'MDL-77802-master' of https://github.com/ferranrecio/moodle
2023-04-06 08:36:22 +02:00
Ilya Tregubov
ac7f9b45a3
Merge branch 'MDL-77130-master-v2' of https://github.com/dmitriim/moodle
2023-04-06 08:35:17 +02:00
Peter Burnett
027c770eab
MDL-65471 upgrade: framework to reduce maintenance mode
2023-04-06 11:38:26 +10:00
Ferran Recio
625f9646a7
MDL-77802 core_xapi: create core_xapi_get_states webservice
...
The xAPI get states webservice is needed for mobile APPs to check if any
new state has been stored from another device.
2023-04-05 12:59:06 +02:00
Srdjan
85323070e7
MDL-70975 task: adhoctasks.php - queued ad hoc tasks report
...
Similar to scheduled tasks report
core\task\manager::adhoc_task_from_record() now raises moodle_exception
2023-04-05 11:29:46 +10:00
Srdjan
6d9aaa8412
MDL-70975 task: Support for running only failed ad hoc tasks
...
* CLI adhoc_task.php: new option --failed
2023-04-05 11:05:23 +10:00
Srdjan
fa61fce08d
MDL-70975 task: Support for limiting the number of adhoc tasks to run
...
* CLI adhoc_task.php: new option --taskslimit
* CLI adhoc_task.php: --execute option is implied when other options are given
* core\task\manager::get_next_adhoc_task(): new param $number
for limiting number of tasks to run
2023-04-05 11:05:18 +10:00
Srdjan
3491ea1650
MDL-70975 task: Support for running adhoc tasks filtered by class
...
* CLI adhoc_task.php: new option --classname
* core\task\manager::get_next_adhoc_task(): new param $classname
for filtering tasks
2023-04-05 11:00:46 +10:00
Srdjan
9405b5aa6d
MDL-70975 task: Support for running adhoc tasks by id
...
* CLI adhoc_task.php: new option --id
* cron::run_adhoc_task($taskid) for running tasks by id
* core\task\manager::get_adhoc_task($taskid) for retreival/locking
2023-04-05 10:55:18 +10:00
Paul Holden
1f6722e696
Merge branch 'MDL-77254-master' of https://github.com/sarjona/moodle
2023-04-04 17:36:51 +01:00
Sara Arjona
c8628576e3
MDL-77254 h5p: Add support to restored states
...
The restored states should be treated differently, to avoid resetting
them by default the first time users access them.
In that case, the first time users access to content with restored
xAPI states, they should be displayed (instead of resetting them).
2023-04-04 17:23:43 +02:00
Paul Holden
c51b7e2c44
MDL-77012 editor_tiny: correct block formats property syntax.
...
Co-authored-by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
2023-04-04 09:53:13 +01:00
Ilya Tregubov
90fa3f3390
Merge branch 'MDL-69976' of https://github.com/paulholden/moodle
2023-04-04 12:20:52 +08:00
Andrew Nicols
b0d5ad536b
MDL-74936 core: Add context to apis.json
2023-04-04 11:24:21 +08:00
Andrew Nicols
a262ba5d6e
Merge branch 'MDL-74936' of https://github.com/skodak/moodle
2023-04-04 11:22:49 +08:00
Dmitrii Metelkin
c11d4284be
MDL-77130 cohort: add custom fields
2023-04-04 13:01:40 +10:00