Mathew May [Wed, 12 Apr 2023 03:24:23 +0000 (11:24 +0800)]
MDL-75274 theme_boost: Aria so dropdowns with search focus better
Mathew May [Thu, 2 Feb 2023 08:31:23 +0000 (16:31 +0800)]
MDL-75274 gradereport_grader: Column collapsing
Ilya Tregubov [Wed, 5 Apr 2023 07:25:10 +0000 (15:25 +0800)]
MDL-75274 core_grades: Add % symbol to weights column
As per design it should have % symbol.
Ilya Tregubov [Wed, 5 Apr 2023 07:14:53 +0000 (15:14 +0800)]
MDL-75274 gradereport_grader: Add back advanced grading url
It was accidentally removed.
Ilya Tregubov [Wed, 5 Apr 2023 03:23:32 +0000 (11:23 +0800)]
MDL-75274 gradereport_grader: Fix sorting of grade items.
Seems that baseurl is rewritten causing toggling of ordering
not work
Ilya Tregubov [Thu, 13 Apr 2023 01:07:58 +0000 (09:07 +0800)]
Merge branch 'MDL-70975-adhoc-carneval' of https://github.com/catalyst/moodle
Sara Arjona [Wed, 12 Apr 2023 16:19:34 +0000 (18:19 +0200)]
Merge branch 'MDL-73610' of https://github.com/stronk7/moodle
Sara Arjona [Wed, 12 Apr 2023 12:09:27 +0000 (14:09 +0200)]
Merge branch 'MDL-77012' of https://github.com/paulholden/moodle
Sara Arjona [Wed, 12 Apr 2023 11:14:07 +0000 (13:14 +0200)]
Merge branch 'MDL-77374-master' of https://github.com/meirzamoodle/moodle
Sara Arjona [Wed, 12 Apr 2023 10:21:13 +0000 (12:21 +0200)]
Merge branch 'MDL-77882' of https://github.com/paulholden/moodle
Sara Arjona [Wed, 12 Apr 2023 10:19:06 +0000 (12:19 +0200)]
Merge branch 'MDL-77348-master' of https://github.com/meirzamoodle/moodle
Shamim Rezaie [Wed, 12 Apr 2023 09:50:47 +0000 (19:50 +1000)]
Merge branch 'MDL-76722-fix' of https://github.com/sarjona/moodle
Sara Arjona [Wed, 12 Apr 2023 09:43:49 +0000 (11:43 +0200)]
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).
Meirza [Wed, 12 Apr 2023 02:52:13 +0000 (09:52 +0700)]
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.
Ilya Tregubov [Wed, 12 Apr 2023 09:24:22 +0000 (17:24 +0800)]
Merge branch 'MDL-77585-master' of https://github.com/jleyva/moodle
Shamim Rezaie [Wed, 12 Apr 2023 09:23:17 +0000 (19:23 +1000)]
Merge branch 'MDL-76722-master' of https://github.com/andrewnicols/moodle
Shamim Rezaie [Tue, 11 Apr 2023 07:26:03 +0000 (17:26 +1000)]
MDL-77871 gradereport_grader: Make sure cells are full-height
Meirza [Wed, 12 Apr 2023 06:15:03 +0000 (13:15 +0700)]
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.
Meirza [Wed, 8 Feb 2023 10:44:40 +0000 (17:44 +0700)]
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().
Meirza [Wed, 8 Feb 2023 14:18:19 +0000 (21:18 +0700)]
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.
Meirza [Wed, 8 Feb 2023 07:54:35 +0000 (14:54 +0700)]
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.
Meirza [Wed, 8 Feb 2023 10:12:56 +0000 (17:12 +0700)]
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.
Paul Holden [Tue, 11 Apr 2023 21:27:06 +0000 (22:27 +0100)]
MDL-77882 gradereport_grader: don't search on custom identity field.
Currently throws SQL exceptions if site identity configuration has
such a field included.
Sara Arjona [Tue, 11 Apr 2023 10:12:43 +0000 (12:12 +0200)]
Merge branch 'MDL-77837-master' of https://github.com/andrewnicols/moodle
Sara Arjona [Tue, 11 Apr 2023 09:17:52 +0000 (11:17 +0200)]
Merge branch 'MDL-77030-master-feedback' of https://github.com/kevpercy/moodle
Sara Arjona [Tue, 11 Apr 2023 08:17:03 +0000 (10:17 +0200)]
Merge branch 'MDL-77148' of https://github.com/AnupamaSarjoshi/moodle
Sara Arjona [Tue, 11 Apr 2023 08:04:35 +0000 (10:04 +0200)]
Merge branch 'MDL-77612-master' of https://github.com/laurentdavid/moodle
Sara Arjona [Tue, 11 Apr 2023 07:13:08 +0000 (09:13 +0200)]
Merge branch 'MDL-76792-master' of https://github.com/jleyva/moodle
Kevin Percy [Tue, 28 Feb 2023 03:54:53 +0000 (11:54 +0800)]
MDL-77030 gradereport_grader: Display feedback in grader report
Laurent David [Thu, 16 Mar 2023 08:14:03 +0000 (09:14 +0100)]
MDL-77612 mod_label: Label name fix
* The @@PLUGINFILE@@ placeholder or URLs should not be displayed in the
course index for labels
Alex Morris [Tue, 28 Feb 2023 23:31:22 +0000 (12:31 +1300)]
MDL-76722 message_airnotifier: Add encrypted notifications
Alex Morris [Tue, 28 Feb 2023 22:24:57 +0000 (11:24 +1300)]
MDL-76722 user: Add new update_user_device_public_key webservice
Alex Morris [Thu, 12 Jan 2023 00:36:15 +0000 (13:36 +1300)]
MDL-76722 lib/db: Add new publickey field to user_devices table
Shamim Rezaie [Fri, 7 Apr 2023 19:02:35 +0000 (05:02 +1000)]
Merge branch 'MDL-77686' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 6 Apr 2023 08:26:57 +0000 (16:26 +0800)]
MDL-77837 cron: Move cron_setup_user to deprecatedlib
Andrew Nicols [Thu, 6 Apr 2023 08:26:38 +0000 (16:26 +0800)]
MDL-77837 core: Improve usage docs for cron::setup_user
Andrew Nicols [Tue, 4 Apr 2023 03:16:52 +0000 (11:16 +0800)]
MDL-77837 core: Improve cron upgrade.txt notes
Andrew Nicols [Tue, 4 Apr 2023 01:26:34 +0000 (09:26 +0800)]
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.
Andrew Nicols [Tue, 4 Apr 2023 01:25:04 +0000 (09:25 +0800)]
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.
Paul Holden [Mon, 3 Apr 2023 14:21:45 +0000 (15:21 +0100)]
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).
Eloy Lafuente (stronk7) [Tue, 4 Apr 2023 15:25:05 +0000 (17:25 +0200)]
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).
Anupama Sarjoshi [Mon, 13 Feb 2023 13:53:49 +0000 (13:53 +0000)]
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.
Sara Arjona [Thu, 6 Apr 2023 12:03:11 +0000 (14:03 +0200)]
on-demand release 4.2dev+
Sara Arjona [Thu, 6 Apr 2023 12:02:59 +0000 (14:02 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Thu, 6 Apr 2023 07:39:08 +0000 (15:39 +0800)]
MDL-65471 core: Sort directories before hashing
Andrew Nicols [Thu, 6 Apr 2023 03:45:59 +0000 (11:45 +0800)]
Merge branch 'MDL-65471-outageless' of https://github.com/Peterburnett/moodle
Ilya Tregubov [Thu, 6 Apr 2023 00:16:31 +0000 (08:16 +0800)]
Merge branch 'MDL-76150-patch' of https://github.com/ilyatregubov/moodle
Sara Arjona [Wed, 5 Apr 2023 15:17:29 +0000 (17:17 +0200)]
Merge branch 'MDL-73642_master' of https://github.com/tasosb/moodle
Shamim Rezaie [Wed, 5 Apr 2023 17:52:05 +0000 (03:52 +1000)]
MDL-76150 gradereport_grader: dropdowns were partly covered during behat
Paul Holden [Wed, 5 Apr 2023 11:24:24 +0000 (12:24 +0100)]
Merge branch 'MDL-77802-master' of https://github.com/ferranrecio/moodle
Ilya Tregubov [Wed, 5 Apr 2023 11:20:30 +0000 (19:20 +0800)]
Merge branch 'MDL-77130-master-v2' of https://github.com/dmitriim/moodle
Sara Arjona [Wed, 5 Apr 2023 10:49:18 +0000 (12:49 +0200)]
Merge branch 'MDL-75301_master' of https://github.com/marxjohnson/moodle
Peter Burnett [Thu, 30 Dec 2021 04:20:05 +0000 (14:20 +1000)]
MDL-65471 upgrade: framework to reduce maintenance mode
Ferran Recio [Thu, 30 Mar 2023 15:46:45 +0000 (17:46 +0200)]
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.
Shamim Rezaie [Wed, 5 Apr 2023 10:16:04 +0000 (20:16 +1000)]
Merge branch 'MDL-77555' of https://github.com/paulholden/moodle
Paul Holden [Wed, 5 Apr 2023 07:56:44 +0000 (08:56 +0100)]
Merge branch 'MDL-69551' of https://github.com/timhunt/moodle
Ilya Tregubov [Wed, 5 Apr 2023 07:45:58 +0000 (15:45 +0800)]
Merge branch 'MDL-76150-master' of https://github.com/rezaies/moodle
Shamim Rezaie [Wed, 5 Apr 2023 05:44:39 +0000 (15:44 +1000)]
MDL-76150 gradereport_grader: Display category name cell like 2 columns
Shamim Rezaie [Tue, 4 Apr 2023 15:55:19 +0000 (01:55 +1000)]
MDL-76150 gradereport_grader: Make numerical grades right-aligned
- state icons follow the alignment of their respective grade type
Shamim Rezaie [Tue, 4 Apr 2023 15:38:27 +0000 (01:38 +1000)]
MDL-76150 gradereport_grader: Split header cells to 3 visual columns
- Column width changed to 200px
Shamim Rezaie [Tue, 4 Apr 2023 13:44:00 +0000 (23:44 +1000)]
MDL-76150 gradereport_grader: status icons stick to the row's buttom
- There's 20px gap between status icons
- The row height adapt to the content
Shamim Rezaie [Tue, 4 Apr 2023 11:34:19 +0000 (21:34 +1000)]
MDL-76150 gradereport_grader: some style changes
- Table cells are top-aligned
- Cell paddings changed to 10px
- In the header row, the user detail cells don't wrap but other cells do
- Grade item names wrap when they are long
- Action menu button for the grade cells does not go to the next line
when the cell is not in the header row
- Heading cells in the footer row are right aligned
Shamim Rezaie [Tue, 4 Apr 2023 06:55:56 +0000 (16:55 +1000)]
MDL-76150 gradereport_grader: render header cells from template
Shamim Rezaie [Mon, 27 Mar 2023 10:29:54 +0000 (21:29 +1100)]
MDL-76150 gradereport_grader: Remove striped bg colours
Shamim Rezaie [Mon, 27 Mar 2023 10:22:20 +0000 (21:22 +1100)]
MDL-76150 theme_boost: fix sticky header position on narrow screens
Shamim Rezaie [Mon, 27 Mar 2023 09:05:27 +0000 (20:05 +1100)]
MDL-76150 gradereport_grader: Remove abandoned CSS definitions
Mark Johnson [Fri, 17 Mar 2023 12:34:56 +0000 (12:34 +0000)]
MDL-75301 quiz: Use "always latest" option for question previews
This will set the "alwayslatest" option when previewing a question from
the quiz according to the version setting used in the quiz slot.
Mark Johnson [Fri, 17 Mar 2023 12:33:44 +0000 (12:33 +0000)]
MDL-75301 question: Add "always latest" option to previews
Paul Holden [Tue, 7 Mar 2023 22:09:32 +0000 (22:09 +0000)]
MDL-77555 reportbuilder: improve SQL generation within filters.
Use native ANSI SQL syntax for numeric comparisons where possible,
define filter API for the case where filters must re-use the given
field SQL while ensuring uniqueness of any field parameters.
Currently only necessary in the category filter type.
Srdjan [Wed, 23 Mar 2022 06:27:34 +0000 (16:27 +1000)]
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
Srdjan [Thu, 24 Mar 2022 05:25:55 +0000 (15:25 +1000)]
MDL-70975 task: Support for running only failed ad hoc tasks
* CLI adhoc_task.php: new option --failed
Srdjan [Tue, 22 Mar 2022 04:28:44 +0000 (14:28 +1000)]
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
Srdjan [Tue, 22 Mar 2022 02:39:10 +0000 (12:39 +1000)]
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
Srdjan [Mon, 21 Mar 2022 06:27:46 +0000 (16:27 +1000)]
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
AMOS bot [Wed, 5 Apr 2023 00:07:47 +0000 (00:07 +0000)]
Automatically generated installer lang files
Paul Holden [Tue, 4 Apr 2023 16:36:51 +0000 (17:36 +0100)]
Merge branch 'MDL-77254-master' of https://github.com/sarjona/moodle
Paul Holden [Tue, 4 Apr 2023 15:46:17 +0000 (16:46 +0100)]
Merge branch 'MDL-77839-master' of https://github.com/sarjona/moodle
Sara Arjona [Mon, 20 Feb 2023 15:15:39 +0000 (16:15 +0100)]
MDL-77254 backup: Backup/restore xAPI state
Sara Arjona [Tue, 21 Feb 2023 15:46:05 +0000 (16:46 +0100)]
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).
Tim Hunt [Tue, 28 Mar 2023 16:35:21 +0000 (17:35 +0100)]
MDL-69551 quiz: start quiz password field should be a passwordunmask
This help accessibility and usability
Paul Holden [Tue, 4 Apr 2023 11:06:41 +0000 (12:06 +0100)]
Merge branch 'MDL-77712-master' of https://github.com/laurentdavid/moodle
Paul Holden [Tue, 4 Apr 2023 09:44:23 +0000 (10:44 +0100)]
MDL-74936 core: version bump to force upgrade/cache reload.
Ensure all the new context level namespaces/classes are available.
Paul Holden [Mon, 6 Mar 2023 08:35:32 +0000 (08:35 +0000)]
MDL-77012 editor_tiny: correct block formats property syntax.
Co-authored-by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
Sara Arjona [Tue, 4 Apr 2023 08:30:44 +0000 (10:30 +0200)]
MDL-77839 mod_h5pactivity: Improve behat to avoid random errors
The 'Content state is removed when an attempt is created' scenario
is failing randomly because the content for the student2 was not
always saved. Some extra steps have been added to give more time
to the player to save contents and also to check it has the
expected value.
Sara Arjona [Tue, 4 Apr 2023 08:09:25 +0000 (10:09 +0200)]
Merge branch 'MDL-77825' of https://github.com/Chocolate-lightning/moodle
Ilya Tregubov [Tue, 4 Apr 2023 04:20:52 +0000 (12:20 +0800)]
Merge branch 'MDL-69976' of https://github.com/paulholden/moodle
Andrew Nicols [Tue, 4 Apr 2023 04:05:18 +0000 (12:05 +0800)]
Merge branch 'MDL-77584-master' of https://github.com/ewallah/moodle
Andrew Nicols [Tue, 4 Apr 2023 04:03:54 +0000 (12:03 +0800)]
Merge branch 'MDL-77385-master' of https://github.com/srobotta/moodle
Andrew Nicols [Tue, 4 Apr 2023 03:24:21 +0000 (11:24 +0800)]
MDL-74936 core: Add context to apis.json
Andrew Nicols [Tue, 4 Apr 2023 03:22:49 +0000 (11:22 +0800)]
Merge branch 'MDL-74936' of https://github.com/skodak/moodle
Dmitrii Metelkin [Tue, 7 Mar 2023 02:28:02 +0000 (13:28 +1100)]
MDL-77130 cohort: add custom fields
AMOS bot [Tue, 4 Apr 2023 00:07:48 +0000 (00:07 +0000)]
Automatically generated installer lang files
Paul Holden [Mon, 3 Apr 2023 15:48:19 +0000 (16:48 +0100)]
Merge branch 'MDL-77338-master' of https://github.com/meirzamoodle/moodle
Meirza [Mon, 27 Mar 2023 02:18:52 +0000 (09:18 +0700)]
MDL-77338 backup: Added class properties that are not declared.
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.
Paul Holden [Mon, 3 Apr 2023 13:54:04 +0000 (14:54 +0100)]
Merge branch 'MDL-75906-master' of https://github.com/mickhawkins/moodle
Mathew May [Mon, 3 Apr 2023 12:11:58 +0000 (20:11 +0800)]
MDL-77825 grade_gradereport: MS SQL fix for user search
Mark Johnson [Thu, 16 Mar 2023 08:37:47 +0000 (08:37 +0000)]
MDL-75301 question: Add behat generator for updating questions
This adds "core_question > updated question" as an entity for `the
following "X" exist` and calls the existing update_question() generator
which will create a new question version with the supplied data.
Sara Arjona [Mon, 3 Apr 2023 10:41:14 +0000 (12:41 +0200)]
Merge branch 'MDL-76800-master' of https://github.com/raortegar/moodle
Paul Holden [Mon, 3 Apr 2023 09:56:13 +0000 (10:56 +0100)]
Merge branch 'MDL-77227-master' of https://github.com/aanabit/moodle
Sara Arjona [Mon, 3 Apr 2023 09:53:12 +0000 (11:53 +0200)]
Merge branch 'MDL-77807' of https://github.com/paulholden/moodle