Huong Nguyen [Fri, 6 May 2022 05:21:39 +0000 (12:21 +0700)]
MDL-72029 Lesson: Prevent arbitrary file read when importing lesson questions in blackboard format
Huong Nguyen [Fri, 6 May 2022 04:30:15 +0000 (11:30 +0700)]
MDL-72029 lib: Prevent path traversal for clean_param with PARAM_SAFEPATH
Laurent David [Mon, 16 May 2022 05:35:21 +0000 (07:35 +0200)]
MDL-74473 core_analytics: Upgrade ML Backend to 3.0.5
Jake Dallimore [Thu, 12 May 2022 03:36:33 +0000 (11:36 +0800)]
MDL-72299 mod_lti: fix html escaping when reposting cross site posts
Andrew Nicols [Wed, 6 Jul 2022 03:15:51 +0000 (11:15 +0800)]
Merge branch 'MDL-73305_master' of https://github.com/tasosb/moodle
Andrew Nicols [Wed, 6 Jul 2022 03:02:15 +0000 (11:02 +0800)]
Merge branch 'MDL-74408' of https://github.com/paulholden/moodle
Andrew Nicols [Wed, 6 Jul 2022 02:58:03 +0000 (10:58 +0800)]
Merge branch 'MDL-74972-master' of https://github.com/marinaglancy/moodle
Jun Pataleta [Wed, 6 Jul 2022 02:57:14 +0000 (10:57 +0800)]
Merge branch 'MDL-74596-master' of https://github.com/marinaglancy/moodle
Jun Pataleta [Wed, 6 Jul 2022 02:53:01 +0000 (10:53 +0800)]
Merge branch 'MDL-74813-master' of https://github.com/mihailges/moodle
Mihail Geshoski [Wed, 6 Jul 2022 02:17:04 +0000 (10:17 +0800)]
MDL-74813 filepicker: Replace the dnd gif animation with a static icon
Jun Pataleta [Tue, 5 Jul 2022 14:14:00 +0000 (22:14 +0800)]
Merge branch 'MDL-74821-master' of https://github.com/junpataleta/moodle
Laurent David [Tue, 14 Jun 2022 06:53:56 +0000 (08:53 +0200)]
MDL-74821 mod_feedback: Fix HTML validator error
* Remove align attribute on table elements
* Fix dangling tr/td on multichoice rated
* Remove colspan as it is not used
Jun Pataleta [Tue, 5 Jul 2022 13:15:37 +0000 (21:15 +0800)]
Merge branch 'MDL-74505-master' of https://github.com/JBThong/moodle
Marina Glancy [Tue, 31 May 2022 13:54:04 +0000 (15:54 +0200)]
MDL-74596 core_admin: option to hide search input on admin pages
Jake Dallimore [Tue, 5 Jul 2022 06:52:04 +0000 (14:52 +0800)]
Merge branch 'MDL-74815-master' of https://github.com/junpataleta/moodle
Thong Bui [Mon, 6 Jun 2022 08:24:37 +0000 (15:24 +0700)]
MDL-74505 Question bank: Improve behat steps
Thong Bui [Mon, 6 Jun 2022 08:02:13 +0000 (15:02 +0700)]
MDL-74505 Question bank: Update validation editing question form.
Jake Dallimore [Tue, 5 Jul 2022 04:00:43 +0000 (12:00 +0800)]
Merge branch 'master_mdl-73498' of https://github.com/daniil-berg/moodle
Jun Pataleta [Mon, 4 Jul 2022 15:17:20 +0000 (23:17 +0800)]
Merge branch 'MDL-74516' of https://github.com/stronk7/moodle
Jun Pataleta [Mon, 4 Jul 2022 14:18:39 +0000 (22:18 +0800)]
Merge branch 'MDL-75008-master-enfix' of https://github.com/mudrd8mz/moodle
Jun Pataleta [Mon, 4 Jul 2022 03:36:02 +0000 (11:36 +0800)]
MDL-74815 pix: Convert PNG version of darkened SVG icons
* Conversion was done using rsvg-convert from librsvg
Jun Pataleta [Mon, 4 Jul 2022 03:09:50 +0000 (11:09 +0800)]
MDL-74815 pix: Darken colour of grey icons
* Change the fill colour of grey icons from #999 to #888.
Eloy Lafuente (stronk7) [Sun, 26 Jun 2022 22:27:59 +0000 (00:27 +0200)]
MDL-74516 workshop: Better handling of floats for gradepass fields
This re-applies the same fix that was used for the central mod form
to the workshop activity. This is needed because the completion
support for this module is custom (there are 2 grade items), hence
the validations are also custom.
For more information, read the previous commit and MDL-74516
Unfortunately, because of a related bug with assessment completion
(see MDL-69690) we cannot provide automated testing for this
activity. Manual instructions will be provided instead.
Eloy Lafuente (stronk7) [Tue, 21 Jun 2022 17:28:29 +0000 (19:28 +0200)]
MDL-74516 activities: Better handling of floats for gradepass fields
Current code was relying on grade_floatval() that is not a validation
function. Instead, the gradepass field must be defined as proper float
and then perform the needed validations using unformat_float().
Note that the float element form has some particularities, see
MDL-73994 for more information and that makes us to have to check
for some values (null, zero) manually. Once that form element type
gets its behaviour fixed, the code will need to be revisited, hence
we have annotated it as comments for easier finding it in the future
(the same changes already were applied to other gradebook forms).
Also, remove an unreachable line of code (comparing with empty string)
within the grade_floatval() function because it's not possible anymore
to pass any string to it, as far as it's "?float" typed.
Covered as many cases with quiz completion as have been able to imagine.
Víctor Déniz [Fri, 1 Jul 2022 10:28:36 +0000 (11:28 +0100)]
weekly release 4.1dev
Andrew Nicols [Fri, 1 Jul 2022 03:57:22 +0000 (11:57 +0800)]
Merge branch 'MDL-74841-master-fix' of https://github.com/andelacruz/moodle
Angelia Dela Cruz [Fri, 1 Jul 2022 02:40:38 +0000 (10:40 +0800)]
MDL-74841 behat: Label behat generators use UI
Replace steps that manually add Label instances via the UI and use
Behat generators. This improves the speed of Behat test runs. Fix
for failing test.
David Mudrák [Thu, 30 Jun 2022 18:32:01 +0000 (20:32 +0200)]
MDL-75008 lang: Use the fixed strings in Behat scenario files
Helen Foster [Thu, 30 Jun 2022 17:19:22 +0000 (19:19 +0200)]
MDL-75008 lang: Import fixed English strings (en_fix)
Shamim Rezaie [Thu, 30 Jun 2022 03:34:17 +0000 (13:34 +1000)]
Merge branch 'MDL-74812-master' of https://github.com/junpataleta/moodle
Jun Pataleta [Thu, 30 Jun 2022 03:30:30 +0000 (11:30 +0800)]
Merge branch 'MDL-75048-master' of https://github.com/jleyva/moodle
Shamim Rezaie [Thu, 30 Jun 2022 03:27:28 +0000 (13:27 +1000)]
Merge branch 'MDL-75072-master' of https://github.com/junpataleta/moodle
Shamim Rezaie [Thu, 30 Jun 2022 03:20:02 +0000 (13:20 +1000)]
Merge branch 'MDL-75055-master' of https://github.com/junpataleta/moodle
Andrew Nicols [Thu, 30 Jun 2022 03:12:45 +0000 (11:12 +0800)]
Merge branch 'MDL-75084-master' of https://github.com/NoelDeMartin/moodle
Andrew Nicols [Thu, 30 Jun 2022 03:02:41 +0000 (11:02 +0800)]
Merge branch 'MDL-74613-master' of https://github.com/NoelDeMartin/moodle
Andrew Nicols [Thu, 30 Jun 2022 02:58:12 +0000 (10:58 +0800)]
Merge branch 'MDL-74220-master' of https://github.com/NoelDeMartin/moodle
Andrew Nicols [Thu, 30 Jun 2022 02:51:22 +0000 (10:51 +0800)]
Merge branch 'MDL-74744-master' of https://github.com/andelacruz/moodle
Andrew Nicols [Thu, 30 Jun 2022 02:47:34 +0000 (10:47 +0800)]
Merge branch 'MDL-74522-master' of https://github.com/devlionco/moodle
Andrew Nicols [Thu, 30 Jun 2022 02:43:34 +0000 (10:43 +0800)]
Merge branch 'MDL-74841-master' of https://github.com/andelacruz/moodle
Andrew Nicols [Thu, 30 Jun 2022 02:38:55 +0000 (10:38 +0800)]
Merge branch 'MDL-72292-master' of https://github.com/lameze/moodle
Andrew Nicols [Thu, 30 Jun 2022 01:49:32 +0000 (09:49 +0800)]
MDL-74379 core: Update date_format_string to use x-os functions
Andrew Nicols [Thu, 30 Jun 2022 02:34:58 +0000 (10:34 +0800)]
Merge branch 'MDL-74379_master' of https://github.com/aya-saad1/moodle
Andrew Nicols [Thu, 30 Jun 2022 02:01:46 +0000 (10:01 +0800)]
Merge branch 'MDL-74287' of https://github.com/paulholden/moodle
Víctor Déniz [Wed, 29 Jun 2022 22:54:55 +0000 (23:54 +0100)]
Merge branch 'MDL-63594_final-deprecation-of-cron_run_single_task-function' of https://github.com/ziegenberg/moodle
Víctor Déniz [Wed, 29 Jun 2022 18:03:00 +0000 (19:03 +0100)]
Merge branch 'MDL-72885-master-2' of https://github.com/junpataleta/moodle
Jun Pataleta [Wed, 29 Jun 2022 15:20:33 +0000 (23:20 +0800)]
Merge branch 'MDL74387_master' of https://github.com/Amrita1991/moodle
Jun Pataleta [Thu, 23 Jun 2022 06:43:50 +0000 (14:43 +0800)]
MDL-75055 templates: Apply the .alert-dismissible class
- Apply the .alert-dismissible class for notification alerts with
close button to fix its positioning. As an added bonus, the
.alert-dismissible class also enlarges the clickable area of the
close button which is great for accessibility.
- Improve example context for the notification alerts templates.
Jun Pataleta [Thu, 23 Jun 2022 06:32:36 +0000 (14:32 +0800)]
MDL-75055 theme_boost: Darken close button colour in notification alerts
This is in order for the close button to have a good contrast against
the alert background and meet the minimum Level AA contrast ratio of 3:1
Ilya Tregubov [Wed, 29 Jun 2022 12:16:59 +0000 (16:16 +0400)]
Merge branch 'MDL-74548-master' of https://github.com/cameron1729/moodle
Jun Pataleta [Wed, 29 Jun 2022 10:07:00 +0000 (18:07 +0800)]
Merge branch 'MDL-74632-master' of https://github.com/HuongNV13/moodle
Jun Pataleta [Wed, 29 Jun 2022 09:46:52 +0000 (17:46 +0800)]
Merge branch 'MDL-74886-master' of https://github.com/lameze/moodle
Anastasios Bithas [Tue, 7 Dec 2021 18:31:40 +0000 (20:31 +0200)]
MDL-73305 mod_folder: Download Folder in a mlang formated folder
Jake Dallimore [Wed, 29 Jun 2022 08:44:23 +0000 (16:44 +0800)]
Merge branch 'MDL-74674-master' of https://github.com/alfonso-salces/moodle
Alfonso Salces [Tue, 12 Apr 2022 10:26:59 +0000 (12:26 +0200)]
MDL-74674 core: create notification generators
Víctor Déniz [Wed, 29 Jun 2022 08:30:03 +0000 (09:30 +0100)]
Merge branch 'MDL-74742-master' of https://github.com/junpataleta/moodle
Noel De Martin [Tue, 28 Jun 2022 16:01:55 +0000 (18:01 +0200)]
MDL-75084 payment: Fix typo
Noel De Martin [Tue, 28 Jun 2022 16:01:33 +0000 (18:01 +0200)]
MDL-75084 blog: Implement behat generators
Jake Dallimore [Wed, 29 Jun 2022 05:40:29 +0000 (13:40 +0800)]
Merge branch 'MDL-74864-master' of https://github.com/dpalou/moodle
Jun Pataleta [Wed, 29 Jun 2022 04:58:47 +0000 (12:58 +0800)]
Merge branch 'MDL-74967-master' of https://github.com/lameze/moodle
Cameron Ball [Wed, 11 May 2022 07:50:25 +0000 (15:50 +0800)]
MDL-74548 backup: Deprecate get/set copy from base controller
Cameron Ball [Wed, 11 May 2022 07:21:04 +0000 (15:21 +0800)]
MDL-74548 backup: Deprecate core_backup\copy\copy
Cameron Ball [Thu, 12 May 2022 01:53:53 +0000 (09:53 +0800)]
MDL-74548 backup: Unit tests for course copy refactor
Cameron Ball [Wed, 11 May 2022 07:10:14 +0000 (15:10 +0800)]
MDL-74548 backup: Refactor course copies
This patch modifies the way copy data is shared in order to mitigate potential race conditions
and ensure that the serialised controller stored in the DB is always in a valid state.
The restore controller is now considered the "source of truth" for all information about the
copy operation. Backup controllers can no longer contain information about course copies.
As copy creation is not atomic, it is still possible for copy controllers to become orphaned or
exist in an invalid state. To mitigate this the backup cleanup task has been modified to call
a new helper method copy_helper::cleanup_orphaned_copy_controllers.
Summary of changes in this patch:
- Copy data must now be passed through the restore controller's constructor
- base_controller::get_copy has been deprecated in favour of restore_controller::get_copy
- base_controller::set_copy has been deprecated without replacement
- core_backup\copy\copy has been deprecated, use copy_helper.class.php's copy_helper instead
- backup_cleanup_task will now clean up orphaned controllers from copy operations that went awry
Thanks to Peter Burnett for assiting with testing this patch.
Simey Lameze [Tue, 14 Jun 2022 03:47:30 +0000 (11:47 +0800)]
MDL-74967 core: deprecate groupmember hack from USER object
Jun Pataleta [Tue, 28 Jun 2022 15:51:17 +0000 (23:51 +0800)]
Merge branch 'MDL-74701-master' of https://github.com/HuongNV13/moodle
Jun Pataleta [Tue, 28 Jun 2022 15:33:04 +0000 (23:33 +0800)]
Merge branch 'MDL-74906-master' of https://github.com/snake/moodle
Jun Pataleta [Tue, 28 Jun 2022 14:24:59 +0000 (22:24 +0800)]
Merge branch 'MDL-29717-master' of https://github.com/marinaglancy/moodle
Shamim Rezaie [Tue, 28 Jun 2022 06:08:30 +0000 (16:08 +1000)]
Merge branch 'MDL-73121' of https://github.com/paulholden/moodle
Dani Palou [Fri, 27 May 2022 10:06:05 +0000 (12:06 +0200)]
MDL-74864 forum: Allow specifying group in discussions generator
Jun Pataleta [Tue, 28 Jun 2022 03:24:11 +0000 (11:24 +0800)]
Merge branch 'MDL-68867-master' of https://github.com/lameze/moodle
Jun Pataleta [Tue, 28 Jun 2022 03:07:48 +0000 (11:07 +0800)]
Merge branch 'MDL-74929-master' of https://github.com/bmbrands/moodle
Jun Pataleta [Tue, 28 Jun 2022 02:44:47 +0000 (10:44 +0800)]
Merge branch 'MDL-74781_master' of https://github.com/aya-saad1/moodle
Jun Pataleta [Mon, 27 Jun 2022 14:41:01 +0000 (22:41 +0800)]
Merge branch 'MDL-69905-master' of https://github.com/lameze/moodle
Jun Pataleta [Mon, 27 Jun 2022 09:48:59 +0000 (17:48 +0800)]
MDL-75072 mod_forum: Drop usecoursefullname forum setting
Jun Pataleta [Mon, 27 Jun 2022 09:37:44 +0000 (17:37 +0800)]
MDL-75072 mod_forum: Revert the patch for MDL-74623
This reverts commit
bd6fdd70d680ceec020bed28c43ad05c111c0f9d.
Ilya Tregubov [Mon, 27 Jun 2022 04:30:18 +0000 (08:30 +0400)]
Merge branch 'MDL-74691-master' of https://github.com/snake/moodle
Aya Saad [Sun, 29 May 2022 08:43:55 +0000 (10:43 +0200)]
MDL-74781 search: Fix heading repetition in global search page
Aya Saad [Sun, 29 May 2022 10:04:48 +0000 (12:04 +0200)]
MDL-74379 language: injecting am/pm in date string
patching the date_format_string() function in moodlelib to add am/pm for languages that don't suuport it.
Jun Pataleta [Fri, 24 Jun 2022 03:59:02 +0000 (11:59 +0800)]
weekly release 4.1dev
Jun Pataleta [Fri, 24 Jun 2022 03:58:59 +0000 (11:58 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Yan Kudriavtsev [Thu, 25 Nov 2021 20:17:32 +0000 (22:17 +0200)]
MDL-69905 block: order of activities in the block Recent Activity
The order of actions in the "Recent Actions" block has been changed to
descending
Jun Pataleta [Thu, 23 Jun 2022 03:55:30 +0000 (11:55 +0800)]
Merge branch 'MDL-74623_master_v2' of https://github.com/TomoTsuyuki/moodle
Jun Pataleta [Thu, 23 Jun 2022 01:53:44 +0000 (09:53 +0800)]
Merge branch 'MDL-69939' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 23 Jun 2022 01:51:50 +0000 (09:51 +0800)]
Merge branch 'MDL-74713' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 23 Jun 2022 01:50:41 +0000 (09:50 +0800)]
Merge branch 'MDL-73156-master' of https://github.com/michael-milette/moodle
Jun Pataleta [Thu, 23 Jun 2022 01:48:47 +0000 (09:48 +0800)]
Merge branch 'MDL-74785' of https://github.com/danmarsden/moodle
Juan Leyva [Wed, 22 Jun 2022 15:28:19 +0000 (17:28 +0200)]
MDL-75048 mod_quiz: Use new way to check if subcats are included
Jun Pataleta [Wed, 22 Jun 2022 15:16:16 +0000 (23:16 +0800)]
Merge branch 'MDL-72948' of https://github.com/NeillM/moodle
Neill Magill [Thu, 28 Oct 2021 14:58:43 +0000 (15:58 +0100)]
MDL-72948 messaging: Minimise fields used in query
Most of the fields in the query are not needed and are discarded
soon after visibility checks are made.
Shamim Rezaie [Wed, 22 Jun 2022 04:54:01 +0000 (14:54 +1000)]
Merge branch 'master-MDL-71468-v4' of https://github.com/golenkovm/moodle
Simey Lameze [Tue, 14 Jun 2022 02:51:30 +0000 (10:51 +0800)]
MDL-68867 calendar: remove dependency on USER->groupmember hack
Víctor Déniz [Tue, 21 Jun 2022 18:23:06 +0000 (19:23 +0100)]
Merge branch 'MDL-72486-unproxied-logging' of https://github.com/brendanheywood/moodle
Jun Pataleta [Tue, 21 Jun 2022 15:50:51 +0000 (23:50 +0800)]
Merge branch 'MDL-73212' of https://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Fri, 10 Jun 2022 13:15:37 +0000 (15:15 +0200)]
MDL-73212 gha: Allow parameters to be passed via secret
We are disabling the -v (verbose) option, used by default. Still,
now we support a secret (that can be added to everyone's repository)
to accept any PHPUnit's command line options and run the tests with
them.
Some examples:
phpunit_options = -v (to keep the verbose option enabled)
phpunit_options = --testdox (to print information about every test...)
... (basically anything supported by the CLI).
Also, we are raising here the environment from Ubuntu 18.04 to 20.04
(self tested by GHA, heh)
Jun Pataleta [Tue, 21 Jun 2022 04:24:42 +0000 (12:24 +0800)]
MDL-74812 gradingform_rubric: Add radiogroup role properly
Do not add the radiogroup role to the rubric criterion when the rubric
table is being displayed on edit or preview modes.
Jun Pataleta [Tue, 21 Jun 2022 02:12:33 +0000 (10:12 +0800)]
Merge branch 'MDL-74630-master' of https://github.com/aanabit/moodle
Tomo Tsuyuki [Fri, 27 May 2022 02:35:54 +0000 (12:35 +1000)]
MDL-74623 mod_forum: Add course full name option for notification
AMOS bot [Tue, 21 Jun 2022 00:09:45 +0000 (00:09 +0000)]
Automatically generated installer lang files
Jun Pataleta [Mon, 20 Jun 2022 10:46:54 +0000 (18:46 +0800)]
MDL-74812 gradingform_rubric: Fix text overlap in rubric levels
Jun Pataleta [Mon, 20 Jun 2022 10:10:14 +0000 (18:10 +0800)]
MDL-74812 gradingform_rubric: Do not use deprecated width attribute
Use inline CSS style to define level width instead.