moodle.git
15 months agoMDL-82168 badges: Add WS to enable/disable badges 814753e558cb09e281cbc37ea7ee28ed3b10ad41
Sara Arjona [Tue, 18 Jun 2024 14:51:20 +0000 (16:51 +0200)]
MDL-82168 badges: Add WS to enable/disable badges

15 months agoMDL-43938 badges: Bagde names are not unique anymore
Sara Arjona [Fri, 7 Jun 2024 14:42:26 +0000 (16:42 +0200)]
MDL-43938 badges: Bagde names are not unique anymore

The restriction for the badge name to be unique has been removed so,
from now on, the badge names can be duplicated, even inside a course.

15 months agoMDL-43938 badges: Fix coding style
Sara Arjona [Fri, 7 Jun 2024 14:12:34 +0000 (16:12 +0200)]
MDL-43938 badges: Fix coding style

15 months agoMDL-43938 badges: Merge newbadge.php and edit.php
Sara Arjona [Fri, 7 Jun 2024 12:29:12 +0000 (14:29 +0200)]
MDL-43938 badges: Merge newbadge.php and edit.php

The newbadge.php and edit.php pages have been merged in edit.php
to make them easier to maintain because they were quite similar
(newbadge.php was only used for creating badges and edit.php for
editing badge details and messages).

15 months agoweekly release 4.5dev
Ilya Tregubov [Fri, 5 Jul 2024 01:01:53 +0000 (09:01 +0800)]
weekly release 4.5dev

15 months agoNOBUG: Add upgrade notes
Ilya Tregubov [Fri, 5 Jul 2024 01:01:53 +0000 (09:01 +0800)]
NOBUG: Add upgrade notes

15 months agoMerge branch 'MDL-80907-take-2' of https://github.com/HuongNV13/moodle
Huong Nguyen [Thu, 4 Jul 2024 14:42:59 +0000 (21:42 +0700)]
Merge branch 'MDL-80907-take-2' of https://github.com/HuongNV13/moodle

15 months agoMDL-80907 qtype_ordering: Fix incorrect Behat column selectors
Huong Nguyen [Thu, 4 Jul 2024 14:21:01 +0000 (21:21 +0700)]
MDL-80907 qtype_ordering: Fix incorrect Behat column selectors

15 months agoMerge branch 'MDL-80907-main' of https://github.com/HuongNV13/moodle
Sara Arjona [Thu, 4 Jul 2024 09:20:06 +0000 (11:20 +0200)]
Merge branch 'MDL-80907-main' of https://github.com/HuongNV13/moodle

15 months agoMDL-80907 behat: Fix incorrect column selectors
Huong Nguyen [Thu, 4 Jul 2024 08:14:54 +0000 (15:14 +0700)]
MDL-80907 behat: Fix incorrect column selectors

15 months agoMerge branch 'MDL-79716-oracle' of https://github.com/HuongNV13/moodle
Huong Nguyen [Thu, 4 Jul 2024 08:01:47 +0000 (15:01 +0700)]
Merge branch 'MDL-79716-oracle' of https://github.com/HuongNV13/moodle

15 months agoMDL-79716 mod_assign: Fix random failures PHPUnit test
Huong Nguyen [Thu, 4 Jul 2024 07:34:13 +0000 (14:34 +0700)]
MDL-79716 mod_assign: Fix random failures PHPUnit test

 - Fix Clock API is not used correctly. We need to make sure
 not to reset the DI system halfway through a test.
 - Switched to use Message sink to speed up the test, no need
 to query the DB to verify the result anymore.
 - Used Data generator to create a submission

15 months agoMDL-78662 question: Correct upgrade notes
Andrew Nicols [Thu, 4 Jul 2024 03:39:09 +0000 (11:39 +0800)]
MDL-78662 question: Correct upgrade notes

15 months agoMerge branch 'MDL-78662-master' of https://github.com/NashTechOpenUniversity/moodle
Andrew Nicols [Thu, 4 Jul 2024 04:17:36 +0000 (12:17 +0800)]
Merge branch 'MDL-78662-master' of https://github.com/NashTechOpenUniversity/moodle

15 months agoMerge branch 'MDL-80907' of https://github.com/marinaglancy/moodle
Huong Nguyen [Thu, 4 Jul 2024 04:12:50 +0000 (11:12 +0700)]
Merge branch 'MDL-80907' of https://github.com/marinaglancy/moodle

15 months agoMerge branch 'MDL-82364-main' of https://github.com/HuongNV13/moodle
Jun Pataleta [Thu, 4 Jul 2024 03:40:30 +0000 (11:40 +0800)]
Merge branch 'MDL-82364-main' of https://github.com/HuongNV13/moodle

15 months agoMDL-82364 mod_quiz: Fix random failures PHPUnit test
Huong Nguyen [Wed, 3 Jul 2024 07:47:10 +0000 (14:47 +0700)]
MDL-82364 mod_quiz: Fix random failures PHPUnit test

 - Fix Clock API is not used correctly. We need to make sure
 not to reset the DI system halfway through a test.
 - Switched to use Message sink to speed up the test, no need
 to query the DB to verify the result anymore.

15 months agoMerge branch 'MDL-63670-main' of https://github.com/andrewnicols/moodle
Ilya Tregubov [Thu, 4 Jul 2024 02:57:15 +0000 (10:57 +0800)]
Merge branch 'MDL-63670-main' of https://github.com/andrewnicols/moodle

15 months agoMerge branch 'MDL-82315' of https://github.com/paulholden/moodle
Ilya Tregubov [Thu, 4 Jul 2024 02:37:29 +0000 (10:37 +0800)]
Merge branch 'MDL-82315' of https://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-82024' of https://github.com/paulholden/moodle
Ilya Tregubov [Thu, 4 Jul 2024 01:50:22 +0000 (09:50 +0800)]
Merge branch 'MDL-82024' of https://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-82100-master' of https://github.com/danghieu1407/moodle
Sara Arjona [Wed, 3 Jul 2024 15:14:09 +0000 (17:14 +0200)]
Merge branch 'MDL-82100-master' of https://github.com/danghieu1407/moodle

15 months agoMerge branch 'MDL-81771-main' of https://github.com/aanabit/moodle
Sara Arjona [Wed, 3 Jul 2024 13:52:24 +0000 (15:52 +0200)]
Merge branch 'MDL-81771-main' of https://github.com/aanabit/moodle

15 months agoMDL-81771 report_outline: Add subsections to course Activity report
Amaia Anabitarte [Wed, 19 Jun 2024 11:57:07 +0000 (13:57 +0200)]
MDL-81771 report_outline: Add subsections to course Activity report

15 months agoMDL-81771 core_report: Add Report as subsystem
Amaia Anabitarte [Wed, 19 Jun 2024 11:56:24 +0000 (13:56 +0200)]
MDL-81771 core_report: Add Report as subsystem

15 months agoMerge branch 'MDL-82264-main' of https://github.com/junpataleta/moodle
Sara Arjona [Wed, 3 Jul 2024 11:16:57 +0000 (13:16 +0200)]
Merge branch 'MDL-82264-main' of https://github.com/junpataleta/moodle

15 months agoMerge branch 'MDL-52046-main' of https://github.com/davewoloszyn/moodle
Jun Pataleta [Wed, 3 Jul 2024 10:48:25 +0000 (18:48 +0800)]
Merge branch 'MDL-52046-main' of https://github.com/davewoloszyn/moodle

15 months agoMerge branch 'MDL-80748-main' of https://github.com/rezaies/moodle
Jun Pataleta [Wed, 3 Jul 2024 09:13:21 +0000 (17:13 +0800)]
Merge branch 'MDL-80748-main' of https://github.com/rezaies/moodle

15 months agoMerge branch 'MDL-81671' of https://github.com/paulholden/moodle
Jun Pataleta [Wed, 3 Jul 2024 08:11:12 +0000 (16:11 +0800)]
Merge branch 'MDL-81671' of https://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-74251-main' of https://github.com/lucaboesch/moodle
Sara Arjona [Wed, 3 Jul 2024 07:35:56 +0000 (09:35 +0200)]
Merge branch 'MDL-74251-main' of https://github.com/lucaboesch/moodle

15 months agoMerge branch 'MDL-31192_colored-box-with-pre-tag-function-generates-a-warning' of...
Jun Pataleta [Wed, 3 Jul 2024 07:12:56 +0000 (15:12 +0800)]
Merge branch 'MDL-31192_colored-box-with-pre-tag-function-generates-a-warning' of https://github.com/ziegenberg/moodle

15 months agoMDL-82100 Quiz\report: Show customised question numbers
Hieu Nguyen Dang [Wed, 3 Jul 2024 06:47:27 +0000 (13:47 +0700)]
MDL-82100 Quiz\report: Show customised question numbers

15 months agoMerge branch 'MDL-82363-main' of https://github.com/HuongNV13/moodle
Sara Arjona [Wed, 3 Jul 2024 06:23:36 +0000 (08:23 +0200)]
Merge branch 'MDL-82363-main' of https://github.com/HuongNV13/moodle

15 months agoMDL-79716 mod_assign: Use $DB->record_exists_select()
Jun Pataleta [Wed, 3 Jul 2024 05:46:40 +0000 (13:46 +0800)]
MDL-79716 mod_assign: Use $DB->record_exists_select()

15 months agoMerge branch 'MDL-79716-main' of https://github.com/davewoloszyn/moodle
Jun Pataleta [Wed, 3 Jul 2024 05:44:07 +0000 (13:44 +0800)]
Merge branch 'MDL-79716-main' of https://github.com/davewoloszyn/moodle

15 months agoMDL-79716 mod_assign: Send notifications for approaching due dates
David Woloszyn [Wed, 3 Jul 2024 05:36:50 +0000 (15:36 +1000)]
MDL-79716 mod_assign: Send notifications for approaching due dates

15 months agoMerge branch 'NOBUG-increase-expected-filesize' of https://github.com/lameze/moodle
Jun Pataleta [Wed, 3 Jul 2024 05:32:28 +0000 (13:32 +0800)]
Merge branch 'NOBUG-increase-expected-filesize' of https://github.com/lameze/moodle

15 months agoMDL-82363 Calendar: Responsiveness improvement for calendar block
Huong Nguyen [Wed, 3 Jul 2024 02:44:48 +0000 (09:44 +0700)]
MDL-82363 Calendar: Responsiveness improvement for calendar block

Hide the month name if the screen is too small

15 months agoMerge branch 'MDL-81725-main' of https://github.com/laurentdavid/moodle
Shamim Rezaie [Wed, 3 Jul 2024 03:45:45 +0000 (13:45 +1000)]
Merge branch 'MDL-81725-main' of https://github.com/laurentdavid/moodle

15 months agoNOBUG: Increase file size to avoid random failures
lameze [Wed, 3 Jul 2024 03:33:22 +0000 (11:33 +0800)]
NOBUG: Increase file size to avoid random failures

15 months agoMerge branch 'MDL-82329' of https://github.com/paulholden/moodle
Shamim Rezaie [Tue, 2 Jul 2024 18:06:19 +0000 (04:06 +1000)]
Merge branch 'MDL-82329' of https://github.com/paulholden/moodle

15 months agoMDL-81725 core_courseformat: Fix refreshCompletion on subsections
Laurent David [Tue, 2 Jul 2024 12:22:33 +0000 (14:22 +0200)]
MDL-81725 core_courseformat: Fix refreshCompletion on subsections

* If completion information on subsection is not present the
refreshCompletion action is raising an exception

15 months agoMDL-81725 core_courseformat: Prevent drag and drop handling subsections
Laurent David [Wed, 12 Jun 2024 07:11:58 +0000 (09:11 +0200)]
MDL-81725 core_courseformat: Prevent drag and drop handling subsections

* Subsection are "modules" and should not be handled as "sections" in the
drag and drop process. Preventing delegated section from being dragged in
the dndsectionitems module fixes the drag and drop issues with subsections
in course index.

15 months agoMerge branch 'MDL-82345-main' of https://github.com/lameze/moodle
Sara Arjona [Tue, 2 Jul 2024 10:08:30 +0000 (12:08 +0200)]
Merge branch 'MDL-82345-main' of https://github.com/lameze/moodle

15 months agoMDL-81725 core_courseformat: Display subsections in the course index
Laurent David [Thu, 23 May 2024 09:36:40 +0000 (11:36 +0200)]
MDL-81725 core_courseformat: Display subsections in the course index

* Add subsection into section entry in course index
* Adjust padding

15 months agoMDL-81725 course: Get delegated section from cm_info
ferranrecio [Fri, 28 Jun 2024 10:31:39 +0000 (12:31 +0200)]
MDL-81725 course: Get delegated section from cm_info

15 months agoMDL-82345 behat: change window size to large to avoid failures
lameze [Tue, 2 Jul 2024 00:56:17 +0000 (08:56 +0800)]
MDL-82345 behat: change window size to large to avoid failures

15 months agoMDL-80797 core: Use `stoppable_trait`
Huong Nguyen [Tue, 2 Jul 2024 08:10:23 +0000 (15:10 +0700)]
MDL-80797 core: Use `stoppable_trait`

15 months agoMerge branch 'MDL-80797' of https://github.com/sumaiyamannan/moodle
Huong Nguyen [Tue, 2 Jul 2024 08:08:42 +0000 (15:08 +0700)]
Merge branch 'MDL-80797' of https://github.com/sumaiyamannan/moodle

15 months agoMerge branch 'main_MDL-82141' of https://github.com/mattporritt/moodle
Ilya Tregubov [Tue, 2 Jul 2024 05:19:55 +0000 (13:19 +0800)]
Merge branch 'main_MDL-82141' of https://github.com/mattporritt/moodle

15 months agoMerge branch 'MDL-80123' of https://github.com/dravek/moodle
Ilya Tregubov [Tue, 2 Jul 2024 02:20:01 +0000 (10:20 +0800)]
Merge branch 'MDL-80123' of https://github.com/dravek/moodle

15 months agoMDL-81647 core: Code style fix.
Ilya Tregubov [Tue, 2 Jul 2024 02:15:18 +0000 (10:15 +0800)]
MDL-81647 core: Code style fix.

15 months agoMerge branch 'MDL-81647-main' of https://github.com/andrewnicols/moodle
Ilya Tregubov [Tue, 2 Jul 2024 01:26:13 +0000 (09:26 +0800)]
Merge branch 'MDL-81647-main' of https://github.com/andrewnicols/moodle

15 months agoMerge branch 'MDL-75022_final-deprecation-of-core_backup-copy' of https://github...
Sara Arjona [Mon, 1 Jul 2024 14:47:20 +0000 (16:47 +0200)]
Merge branch 'MDL-75022_final-deprecation-of-core_backup-copy' of https://github.com/ziegenberg/moodle

15 months agoMerge branch 'MDL-74843_final-deprecation-of-core_task_manager-ensure_adhoc_task_qos...
Sara Arjona [Mon, 1 Jul 2024 14:29:09 +0000 (16:29 +0200)]
Merge branch 'MDL-74843_final-deprecation-of-core_task_manager-ensure_adhoc_task_qos' of https://github.com/ziegenberg/moodle

15 months agoMerge branch 'MDL-81959-main' of https://github.com/lucaboesch/moodle
Sara Arjona [Mon, 1 Jul 2024 14:15:38 +0000 (16:15 +0200)]
Merge branch 'MDL-81959-main' of https://github.com/lucaboesch/moodle

15 months agoMerge branch 'MDL-80643_upgrade-http-client' of https://github.com/ziegenberg/moodle
Sara Arjona [Mon, 1 Jul 2024 11:36:28 +0000 (13:36 +0200)]
Merge branch 'MDL-80643_upgrade-http-client' of https://github.com/ziegenberg/moodle

15 months agoMerge branch 'MDL-80642_upgrade-http-message' of https://github.com/ziegenberg/moodle
Sara Arjona [Mon, 1 Jul 2024 11:23:04 +0000 (13:23 +0200)]
Merge branch 'MDL-80642_upgrade-http-message' of https://github.com/ziegenberg/moodle

15 months agoMerge branch 'MDL-80645_upgrade-symfony-deprecation-contracts' of https://github...
Sara Arjona [Mon, 1 Jul 2024 10:55:31 +0000 (12:55 +0200)]
Merge branch 'MDL-80645_upgrade-symfony-deprecation-contracts' of https://github.com/ziegenberg/moodle

15 months agoMerge branch 'MDL-80191-main-v06' of https://github.com/ferranrecio/moodle
Sara Arjona [Mon, 1 Jul 2024 10:26:46 +0000 (12:26 +0200)]
Merge branch 'MDL-80191-main-v06' of https://github.com/ferranrecio/moodle

15 months agoMerge branch 'MDL-63753' of https://github.com/larsbonczek/moodle
Sara Arjona [Mon, 1 Jul 2024 10:18:50 +0000 (12:18 +0200)]
Merge branch 'MDL-63753' of https://github.com/larsbonczek/moodle

15 months agoMDL-82264 admin: Move $CFG->allcountrycodes outside "IP address lookup"
Jun Pataleta [Fri, 21 Jun 2024 05:50:51 +0000 (13:50 +0800)]
MDL-82264 admin: Move $CFG->allcountrycodes outside "IP address lookup"

15 months agoMDL-80191 backup: add subsections to restore form
ferranrecio [Thu, 30 May 2024 14:17:26 +0000 (16:17 +0200)]
MDL-80191 backup: add subsections to restore form

This commit adds two new levels to the restore course structure form:
subsection (a delegated section that belongs to a course module) and
subactivity (a course module in a subsection).

Restore form can only use information from the backup file. To allow
activities to know if they are inside a subsection, the backup now
incorporates an "insubsection" attribute. This attribute is used only
for the form display but not for the restore logic.

15 months agoMDL-80191 backup: add subsections to backup form
ferranrecio [Thu, 30 May 2024 13:51:18 +0000 (15:51 +0200)]
MDL-80191 backup: add subsections to backup form

The patch adds two new levels to the backup form structure: subsection
(a delegated section which parent is a course module) and subactivity
(an activity inside a subsection). Those new elements are displayed as a
inner section below the parent activitiy.

For now the UI is the same as a regular section but future issues will
define how the UX should be. The new two levels have their own classes
to represents settings and have extra dependencies.

15 months agoMerge branch 'MDL-81885-main' of https://github.com/ferranrecio/moodle
Sara Arjona [Mon, 1 Jul 2024 08:42:32 +0000 (10:42 +0200)]
Merge branch 'MDL-81885-main' of https://github.com/ferranrecio/moodle

15 months agoMerge branch 'MDL-82331' of https://github.com/paulholden/moodle
Huong Nguyen [Mon, 1 Jul 2024 07:46:06 +0000 (14:46 +0700)]
Merge branch 'MDL-82331' of https://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-82114' of https://github.com/paulholden/moodle
Huong Nguyen [Mon, 1 Jul 2024 07:42:38 +0000 (14:42 +0700)]
Merge branch 'MDL-82114' of https://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-79758' of https://github.com/timhunt/moodle
Huong Nguyen [Mon, 1 Jul 2024 07:24:56 +0000 (14:24 +0700)]
Merge branch 'MDL-79758' of https://github.com/timhunt/moodle

15 months agoMerge branch 'MDL-79971-main' of https://github.com/aanabit/moodle
Huong Nguyen [Mon, 1 Jul 2024 07:16:26 +0000 (14:16 +0700)]
Merge branch 'MDL-79971-main' of https://github.com/aanabit/moodle

15 months agoMerge branch 'MDL-79796' of https://github.com/AnupamaSarjoshi/moodle
Huong Nguyen [Mon, 1 Jul 2024 07:09:09 +0000 (14:09 +0700)]
Merge branch 'MDL-79796' of https://github.com/AnupamaSarjoshi/moodle

15 months agoMerge branch 'MDL-73091-main' of https://github.com/laurentdavid/moodle
Huong Nguyen [Mon, 1 Jul 2024 07:05:02 +0000 (14:05 +0700)]
Merge branch 'MDL-73091-main' of https://github.com/laurentdavid/moodle

15 months agoMDL-80748 behat: Workaround for elements covered by the sticky header
Shamim Rezaie [Wed, 26 Jun 2024 06:28:50 +0000 (16:28 +1000)]
MDL-80748 behat: Workaround for elements covered by the sticky header

15 months agoMDL-80748 mod_assign: grading table now has a sticky header
Shamim Rezaie [Wed, 12 Jun 2024 12:40:21 +0000 (22:40 +1000)]
MDL-80748 mod_assign: grading table now has a sticky header

`position: sticky` doesn't work in responsive tables because responsive
tables have scrollbars, making them the nearest ancestor with a
scrolling mechanism for the sticky header. As a result, the table can no
longer be responsive. This change is actually desired and was intended
for MDL-81860. Since we implemented it here, we can close the other
issue.

15 months agoMDL-80748 core: flexible_table can be optionally responsive
Shamim Rezaie [Wed, 12 Jun 2024 09:38:01 +0000 (19:38 +1000)]
MDL-80748 core: flexible_table can be optionally responsive

15 months agoMDL-80748 core: organizes the properties of the flexible_table class
Shamim Rezaie [Wed, 12 Jun 2024 10:41:36 +0000 (20:41 +1000)]
MDL-80748 core: organizes the properties of the flexible_table class

Public properties are now defined first, followed by protected
properties and finally private properties. Previously, they were
scattered.

15 months agoMDL-82331 reportbuilder: date filtering down to the nearest minute.
Paul Holden [Fri, 28 Jun 2024 09:36:48 +0000 (10:36 +0100)]
MDL-82331 reportbuilder: date filtering down to the nearest minute.

15 months agoMDL-79971 completion: Don't assume a completed activity is viewed
Amaia Anabitarte [Thu, 6 Jun 2024 17:03:36 +0000 (19:03 +0200)]
MDL-79971 completion: Don't assume a completed activity is viewed

15 months agoMDL-82329 course: consistent section permalink on view/section pages.
Paul Holden [Thu, 27 Jun 2024 14:13:01 +0000 (15:13 +0100)]
MDL-82329 course: consistent section permalink on view/section pages.

15 months agoMDL-82114 files: report entity filters for file component/area.
Paul Holden [Thu, 6 Jun 2024 09:40:07 +0000 (10:40 +0100)]
MDL-82114 files: report entity filters for file component/area.

15 months agoMDL-80123 admin: Convert admin preset report to Report Builder
David Carrillo [Wed, 15 Nov 2023 17:19:37 +0000 (18:19 +0100)]
MDL-80123 admin: Convert admin preset report to Report Builder

- Admin presets list has been converted to use Report builder
- Added ability to filter by name in the report
- Added confirmation modal when deleting presets
- Added inplace editable to rename custom presets

15 months agoMDL-82315 backup: account for null course section sequence value.
Paul Holden [Thu, 27 Jun 2024 22:33:05 +0000 (23:33 +0100)]
MDL-82315 backup: account for null course section sequence value.

15 months agoMDL-74251 core: Remove old icon helper classes
Adrian Perez [Wed, 22 May 2024 14:41:17 +0000 (16:41 +0200)]
MDL-74251 core: Remove old icon helper classes

15 months agoweekly release 4.5dev
Sara Arjona [Thu, 27 Jun 2024 14:36:42 +0000 (16:36 +0200)]
weekly release 4.5dev

15 months agoNOBUG: Add upgrade notes
Sara Arjona [Thu, 27 Jun 2024 14:36:42 +0000 (16:36 +0200)]
NOBUG: Add upgrade notes

15 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Thu, 27 Jun 2024 14:34:52 +0000 (16:34 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

15 months agoMDL-79758 qbank: add filter in pagination links
Stephan Robotta [Wed, 15 May 2024 12:55:22 +0000 (14:55 +0200)]
MDL-79758 qbank: add filter in pagination links

Contains some minor tweaks by Tim Hunt <T.J.Hunt@open.ac.uk>.

15 months agoMDL-80191 backup: delegate section backup and restore
ferranrecio [Thu, 30 May 2024 13:13:31 +0000 (15:13 +0200)]
MDL-80191 backup: delegate section backup and restore

This commit adds all the logic to allow delegate sections backup and
restore. The backup and restore process is quite complex and it is not
designed to have task hierarchy. To solve the subsection problem, the
backup/restore planners do not include delegated sections at a course
level, but they are included when the activity with delegated section is
processed.

To allow restoing, the activity is responsible to store the
component/itemid mapping in the backup_structure_dbops. This way, when
the delegated section is restored (delegated sections are always
processed right after the parent activity) it can use the itemid
mapping.

15 months agoMDL-80191 backup: prepare UI for subsections
ferranrecio [Thu, 30 May 2024 11:05:10 +0000 (13:05 +0200)]
MDL-80191 backup: prepare UI for subsections

Backup and restore settings needs to be refactored before introducing
subsections. With the current code adding two new hierachy levels
(subsections and activities in subsections) will require many
unnecessary lines of code because most of the structure is hard-coded.

With this patch when backup/restore present the course structure uses a
stack to control how mani divs are opened, instead of relying on adhoc
class attributes per each div.

About the tasks for sections and activities, the class has been
refactored. This way when subsections are introduced it will require
less lines of code and the final patch will be more comprehensible.

15 months agoMerge branch 'MDL-82068' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 27 Jun 2024 04:19:38 +0000 (11:19 +0700)]
Merge branch 'MDL-82068' of https://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-81960-main' of https://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 27 Jun 2024 04:16:18 +0000 (12:16 +0800)]
Merge branch 'MDL-81960-main' of https://github.com/andrewnicols/moodle

15 months agoMerge branch 'MDL-62958' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 27 Jun 2024 04:04:39 +0000 (11:04 +0700)]
Merge branch 'MDL-62958' of https://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-82251' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 27 Jun 2024 03:55:53 +0000 (10:55 +0700)]
Merge branch 'MDL-82251' of https://github.com/paulholden/moodle

15 months agoMDL-81960 core: Move progress_trace tests out of weblib
Andrew Nicols [Tue, 11 Jun 2024 04:44:49 +0000 (12:44 +0800)]
MDL-81960 core: Move progress_trace tests out of weblib

15 months agoMDL-81960 core: Update namespace of progress_trace classes
Andrew Nicols [Tue, 11 Jun 2024 04:44:38 +0000 (12:44 +0800)]
MDL-81960 core: Update namespace of progress_trace classes

15 months agoMDL-81960 core: Coding style update for progress_trace
Andrew Nicols [Tue, 11 Jun 2024 04:21:36 +0000 (12:21 +0800)]
MDL-81960 core: Coding style update for progress_trace

15 months agoMDL-81960 core: Move progress_trace classes to legacy autoloader
Andrew Nicols [Tue, 11 Jun 2024 04:10:43 +0000 (12:10 +0800)]
MDL-81960 core: Move progress_trace classes to legacy autoloader

15 months agoMDL-81960 core: Move moodle_url tests to correct location
Andrew Nicols [Mon, 10 Jun 2024 03:56:02 +0000 (11:56 +0800)]
MDL-81960 core: Move moodle_url tests to correct location

15 months agoMDL-81960 core: Coding style fixes
Andrew Nicols [Mon, 10 Jun 2024 02:16:24 +0000 (10:16 +0800)]
MDL-81960 core: Coding style fixes

15 months agoMerge branch 'MDL-82008-main' of https://github.com/lucaboesch/moodle
Huong Nguyen [Thu, 27 Jun 2024 03:26:00 +0000 (10:26 +0700)]
Merge branch 'MDL-82008-main' of https://github.com/lucaboesch/moodle

15 months agoMDL-63670 core_message: Coding style updates for unit tests
Andrew Nicols [Wed, 26 Jun 2024 01:34:47 +0000 (09:34 +0800)]
MDL-63670 core_message: Coding style updates for unit tests

15 months agoMerge branch 'MDL-79809-main' of https://github.com/HuongNV13/moodle
Jun Pataleta [Thu, 27 Jun 2024 03:01:44 +0000 (11:01 +0800)]
Merge branch 'MDL-79809-main' of https://github.com/HuongNV13/moodle