moodle.git
6 months agoMDL-85100 question: override `visually-hidden` grouped element labels. 958e767134ce6db2dfb6f519cc1ba66b63cb72ec
Paul Holden [Thu, 3 Apr 2025 13:02:12 +0000 (14:02 +0100)]
MDL-85100 question: override `visually-hidden` grouped element labels.

Since f9abc562 switched the class from `sr-only`, the affected labels
used on the question editing form remained invisible.

6 months agoMoodle release 5.0rc1 v5.0.0-rc1
Huong Nguyen [Fri, 4 Apr 2025 15:21:55 +0000 (22:21 +0700)]
Moodle release 5.0rc1

6 months agoNOBUG: Add upgrade notes
Huong Nguyen [Fri, 4 Apr 2025 15:21:55 +0000 (22:21 +0700)]
NOBUG: Add upgrade notes

6 months agoMerge branch 'MDL-84816-main' of https://github.com/meirzamoodle/moodle
Jun Pataleta [Fri, 4 Apr 2025 04:37:11 +0000 (12:37 +0800)]
Merge branch 'MDL-84816-main' of https://github.com/meirzamoodle/moodle

6 months agoMDL-84816 message: Make sure the 'see all' link stays visible
meirzamoodle [Sun, 16 Mar 2025 17:44:43 +0000 (00:44 +0700)]
MDL-84816 message: Make sure the 'see all' link stays visible

6 months agoMerge branch 'MDL-84997-main' of https://github.com/davewoloszyn/moodle
Huong Nguyen [Fri, 4 Apr 2025 04:14:56 +0000 (11:14 +0700)]
Merge branch 'MDL-84997-main' of https://github.com/davewoloszyn/moodle

6 months agoMerge branch 'MDL-85058_main' of https://github.com/catalyst/moodle
Huong Nguyen [Fri, 4 Apr 2025 03:34:35 +0000 (10:34 +0700)]
Merge branch 'MDL-85058_main' of https://github.com/catalyst/moodle

6 months agoMerge branch 'MDL-84907-main' of https://github.com/HuongNV13/moodle
Jun Pataleta [Fri, 4 Apr 2025 03:29:00 +0000 (11:29 +0800)]
Merge branch 'MDL-84907-main' of https://github.com/HuongNV13/moodle

6 months agoMerge branch 'MDL-84900_main' of https://github.com/marxjohnson/moodle
Huong Nguyen [Fri, 4 Apr 2025 03:20:03 +0000 (10:20 +0700)]
Merge branch 'MDL-84900_main' of https://github.com/marxjohnson/moodle

6 months agoMerge branch 'MDL-84836' of https://github.com/paulholden/moodle
Shamim Rezaie [Fri, 4 Apr 2025 02:58:21 +0000 (13:58 +1100)]
Merge branch 'MDL-84836' of https://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-84914-main-enfix' of https://github.com/mudrd8mz/moodle
Jun Pataleta [Fri, 4 Apr 2025 01:47:15 +0000 (09:47 +0800)]
Merge branch 'MDL-84914-main-enfix' of https://github.com/mudrd8mz/moodle

6 months agoMerge branch 'MDL-85070-main' of https://github.com/srobotta/moodle
Huong Nguyen [Fri, 4 Apr 2025 01:35:17 +0000 (08:35 +0700)]
Merge branch 'MDL-85070-main' of https://github.com/srobotta/moodle

6 months agoMerge branch 'MDL-85009-main' of https://github.com/mihailges/moodle
Shamim Rezaie [Thu, 3 Apr 2025 22:17:39 +0000 (09:17 +1100)]
Merge branch 'MDL-85009-main' of https://github.com/mihailges/moodle

6 months agoMerge branch 'MDL-61823' of https://github.com/paulholden/moodle
Shamim Rezaie [Thu, 3 Apr 2025 22:07:23 +0000 (09:07 +1100)]
Merge branch 'MDL-61823' of https://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-84951-main' of https://github.com/laurentdavid/moodle into main
Paul Holden [Thu, 3 Apr 2025 14:59:18 +0000 (15:59 +0100)]
Merge branch 'MDL-84951-main' of https://github.com/laurentdavid/moodle into main

6 months agoMDL-61823 question: exclude file element from grouped elements hack.
Paul Holden [Thu, 3 Apr 2025 14:31:40 +0000 (15:31 +0100)]
MDL-61823 question: exclude file element from grouped elements hack.

This removes the duplicated label, that was being matched by the
previously wide selector to make grouped element labels visible.

6 months agoMDL-61823 forms: ensure grouped elements have ID attribute. aec607881897be16f3f344cda068487afa1df8c8
Paul Holden [Wed, 5 Mar 2025 22:29:14 +0000 (22:29 +0000)]
MDL-61823 forms: ensure grouped elements have ID attribute.

This is used by the forms implementation for faux-label elements
so that when they are clicked on, the first input element of the
corresponding group is focused.

6 months agoMDL-84836 tool_mfa: replace deprecated Bootstrap styles.
Paul Holden [Thu, 13 Mar 2025 19:49:33 +0000 (19:49 +0000)]
MDL-84836 tool_mfa: replace deprecated Bootstrap styles.

Co-authored-by: David Woloszyn <david.woloszyn@moodle.com>
6 months agoMDL-84951 theme_boost: Fix deprecated Bootstrap class usages
Mikel Martín [Wed, 26 Mar 2025 15:52:21 +0000 (16:52 +0100)]
MDL-84951 theme_boost: Fix deprecated Bootstrap class usages

6 months agoMerge branch 'MDL-75971-main' of https://github.com/lameze/moodle
Jun Pataleta [Thu, 3 Apr 2025 06:36:39 +0000 (14:36 +0800)]
Merge branch 'MDL-75971-main' of https://github.com/lameze/moodle

6 months agoMDL-75971 behat: add email handling capabilities to Behat
Simey Lameze [Mon, 17 Feb 2025 02:45:45 +0000 (10:45 +0800)]
MDL-75971 behat: add email handling capabilities to Behat

6 months agoMerge branch 'MDL-84823-main' of https://github.com/meirzamoodle/moodle
Jun Pataleta [Thu, 3 Apr 2025 04:14:31 +0000 (12:14 +0800)]
Merge branch 'MDL-84823-main' of https://github.com/meirzamoodle/moodle

6 months agoMerge branch 'MDL-85023_main' of https://github.com/PhilippImhof/moodle
Huong Nguyen [Thu, 3 Apr 2025 04:07:31 +0000 (11:07 +0700)]
Merge branch 'MDL-85023_main' of https://github.com/PhilippImhof/moodle

6 months agoMDL-84823 message: String deprecation
meirzamoodle [Tue, 1 Apr 2025 23:05:41 +0000 (06:05 +0700)]
MDL-84823 message: String deprecation

6 months agoMDL-84823 message: Fix ARIA attributes in popovers and messaging drawers
meirzamoodle [Tue, 1 Apr 2025 23:05:08 +0000 (06:05 +0700)]
MDL-84823 message: Fix ARIA attributes in popovers and messaging drawers

> ARIA Expanded
A disclosure is a widget that allows content to be
collapsed (hidden) or expanded (visible). It has two elements:
1. Disclosure button, and
2. Section of content whose visibility is controlled by the button.

ARIA Expanded must be applied to the disclosure button element
or the element with role="button" rather than the content.

> ARIA label
Move the icon title and aria-label as they are not
interactive elements to the toggle element.
The title attribute is helpful for the tooltip,
and the aria-label benefits the screen reader.

6 months agoMerge branch 'MDL-61730' of https://github.com/paulholden/moodle
Shamim Rezaie [Wed, 2 Apr 2025 19:53:07 +0000 (06:53 +1100)]
Merge branch 'MDL-61730' of https://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-85000-main' of https://github.com/HuongNV13/moodle
Shamim Rezaie [Wed, 2 Apr 2025 19:12:34 +0000 (06:12 +1100)]
Merge branch 'MDL-85000-main' of https://github.com/HuongNV13/moodle

6 months agoMerge branch 'MDL-84819-main' of https://github.com/HuongNV13/moodle
Jun Pataleta [Wed, 2 Apr 2025 16:01:53 +0000 (00:01 +0800)]
Merge branch 'MDL-84819-main' of https://github.com/HuongNV13/moodle

6 months agoMerge branch 'MDL-83692-main' of https://github.com/raortegar/moodle
Jun Pataleta [Wed, 2 Apr 2025 15:28:42 +0000 (23:28 +0800)]
Merge branch 'MDL-83692-main' of https://github.com/raortegar/moodle

6 months agoMerge branch 'MDL-72050-main' of https://github.com/sh-csg/moodle
Shamim Rezaie [Wed, 2 Apr 2025 13:37:28 +0000 (00:37 +1100)]
Merge branch 'MDL-72050-main' of https://github.com/sh-csg/moodle

6 months agoMerge branch 'MDL-84961' of https://github.com/odeialba/moodle
Shamim Rezaie [Wed, 2 Apr 2025 09:53:56 +0000 (20:53 +1100)]
Merge branch 'MDL-84961' of https://github.com/odeialba/moodle

6 months agoMDL-84961 core: Avoid loading the hidden table under the chart
Odei Alba [Fri, 21 Mar 2025 16:50:35 +0000 (17:50 +0100)]
MDL-84961 core: Avoid loading the hidden table under the chart

Remove the table from under the chart when it is disabled, instead of just hiding it.

6 months agoMerge branch 'MDL-80629-main' of https://github.com/andrewnicols/moodle
Shamim Rezaie [Wed, 2 Apr 2025 09:01:23 +0000 (20:01 +1100)]
Merge branch 'MDL-80629-main' of https://github.com/andrewnicols/moodle

6 months agoMerge branch 'mdl-84979_main' of https://github.com/james-cnz/moodle
Jun Pataleta [Wed, 2 Apr 2025 08:21:33 +0000 (16:21 +0800)]
Merge branch 'mdl-84979_main' of https://github.com/james-cnz/moodle

6 months agoMerge branch 'MDL-80813' of https://github.com/marinaglancy/moodle into main
Paul Holden [Wed, 2 Apr 2025 08:03:21 +0000 (09:03 +0100)]
Merge branch 'MDL-80813' of https://github.com/marinaglancy/moodle into main

6 months agoMDL-61730 gradeimport_xml: set type on form iprestriction field.
Paul Holden [Wed, 2 Apr 2025 07:50:31 +0000 (08:50 +0100)]
MDL-61730 gradeimport_xml: set type on form iprestriction field.

6 months agoMerge branch 'MDL-85046-main' of https://github.com/mihailges/moodle
Huong Nguyen [Wed, 2 Apr 2025 07:27:31 +0000 (14:27 +0700)]
Merge branch 'MDL-85046-main' of https://github.com/mihailges/moodle

6 months agoMerge branch 'MDL-84980-main' of https://github.com/sarjona/moodle
Huong Nguyen [Wed, 2 Apr 2025 07:24:59 +0000 (14:24 +0700)]
Merge branch 'MDL-84980-main' of https://github.com/sarjona/moodle

6 months agoMDL-85070 qbank: Dialogue question move into category with comma
Stephan Robotta [Mon, 31 Mar 2025 14:09:38 +0000 (16:09 +0200)]
MDL-85070 qbank: Dialogue question move into category with comma

6 months agoMerge branch 'MDL-84756-main' of https://github.com/roland04/moodle
Huong Nguyen [Wed, 2 Apr 2025 06:23:37 +0000 (13:23 +0700)]
Merge branch 'MDL-84756-main' of https://github.com/roland04/moodle

6 months agoMerge branch 'MDL-85025-main' of https://github.com/roland04/moodle
Huong Nguyen [Wed, 2 Apr 2025 06:20:34 +0000 (13:20 +0700)]
Merge branch 'MDL-85025-main' of https://github.com/roland04/moodle

6 months agoMerge branch 'MDL-85078-main' of https://github.com/roland04/moodle
Huong Nguyen [Wed, 2 Apr 2025 06:15:11 +0000 (13:15 +0700)]
Merge branch 'MDL-85078-main' of https://github.com/roland04/moodle

6 months agoMDL-84819 aiprovider_openai: Enable multiple types support for model
Huong Nguyen [Wed, 2 Apr 2025 02:50:46 +0000 (09:50 +0700)]
MDL-84819 aiprovider_openai: Enable multiple types support for model

6 months agoMDL-84819 aiprovider_openai: Fix default model for generate_image
David Woloszyn [Thu, 20 Mar 2025 00:19:17 +0000 (11:19 +1100)]
MDL-84819 aiprovider_openai: Fix default model for generate_image

6 months agoMerge branch 'MDL-84884' of https://github.com/paulholden/moodle
Jun Pataleta [Wed, 2 Apr 2025 02:04:26 +0000 (10:04 +0800)]
Merge branch 'MDL-84884' of https://github.com/paulholden/moodle

6 months agoMDL-84914 lang: Use fixed strings in tests, too
David Mudrák [Mon, 31 Mar 2025 19:04:54 +0000 (21:04 +0200)]
MDL-84914 lang: Use fixed strings in tests, too

6 months agoMDL-83692 factor_sms: MFA update default values when fields are unset
raortegar [Tue, 1 Apr 2025 18:56:53 +0000 (20:56 +0200)]
MDL-83692 factor_sms: MFA update default values when fields are unset

6 months agoMDL-83692 factor_sms: MFA set default values when gateway list is empty
raortegar [Tue, 11 Mar 2025 13:16:50 +0000 (14:16 +0100)]
MDL-83692 factor_sms: MFA set default values when gateway list is empty

6 months agoMDL-83692 factor_sms: add notification for SMS gateway restriction
David Woloszyn [Tue, 11 Mar 2025 04:57:24 +0000 (15:57 +1100)]
MDL-83692 factor_sms: add notification for SMS gateway restriction

6 months agoMerge branch 'MDL-85027-main' of https://github.com/HuongNV13/moodle
Sara Arjona [Tue, 1 Apr 2025 15:14:54 +0000 (17:14 +0200)]
Merge branch 'MDL-85027-main' of https://github.com/HuongNV13/moodle

6 months agoMerge branch 'MDL-84131-main' of https://github.com/laurentdavid/moodle
Sara Arjona [Tue, 1 Apr 2025 15:09:20 +0000 (17:09 +0200)]
Merge branch 'MDL-84131-main' of https://github.com/laurentdavid/moodle

6 months agoMoodle release 5.0beta v5.0.0-beta
Sara Arjona [Tue, 1 Apr 2025 14:35:07 +0000 (16:35 +0200)]
Moodle release 5.0beta

6 months agoNOBUG: Add upgrade notes
Sara Arjona [Tue, 1 Apr 2025 14:35:07 +0000 (16:35 +0200)]
NOBUG: Add upgrade notes

6 months agoMDL-84900 questions: Limit list of shared question banks
Mark Johnson [Thu, 27 Mar 2025 14:08:48 +0000 (14:08 +0000)]
MDL-84900 questions: Limit list of shared question banks

The "Switch question bank" modal was attempting to load every question
bank in the system the user has access to. For a highly privileged user,
this could mean loading the coursemodinfo cache for every course in the
system, resulting in memory exhaustion.

This change updates the API for getting shared question banks so it can
be searched by name and limited to a number of results. There is a new
external service that uses this functionality, and a Javascript data
provider for calling the service. The autocomplete in the "Switch
question bank" modal will now use this data provider for the "Other
question bank" autocomplete, rather than loading all banks up front.

6 months agoMDL-84900 questions: Allow get_formatted_bank to force filter context
Mark Johnson [Wed, 19 Mar 2025 10:49:20 +0000 (10:49 +0000)]
MDL-84900 questions: Allow get_formatted_bank to force filter context

6 months agoMerge branch 'MDL-80091-integration-main' of https://github.com/mihailges/moodle
Sara Arjona [Tue, 1 Apr 2025 09:33:48 +0000 (11:33 +0200)]
Merge branch 'MDL-80091-integration-main' of https://github.com/mihailges/moodle

6 months agoMDL-80091 mod_assign: Fix failing behat test
Mihail Geshoski [Tue, 1 Apr 2025 09:10:14 +0000 (17:10 +0800)]
MDL-80091 mod_assign: Fix failing behat test

6 months agoMDL-85078 mod_forum: Fix tertiary navigation styles layout
Mikel Martín [Tue, 1 Apr 2025 06:52:19 +0000 (08:52 +0200)]
MDL-85078 mod_forum: Fix tertiary navigation styles layout

6 months agoMDL-85058 core_grades: fix double format_float
Nathan Nguyen [Tue, 1 Apr 2025 05:16:47 +0000 (16:16 +1100)]
MDL-85058 core_grades: fix double format_float

6 months agoMerge branch 'MDL-84419-main' of https://github.com/clransom/moodle
Huong Nguyen [Tue, 1 Apr 2025 04:06:52 +0000 (11:06 +0700)]
Merge branch 'MDL-84419-main' of https://github.com/clransom/moodle

6 months agoMerge branch 'MDL-75292-main' of https://github.com/mihailges/moodle
Huong Nguyen [Tue, 1 Apr 2025 03:54:15 +0000 (10:54 +0700)]
Merge branch 'MDL-75292-main' of https://github.com/mihailges/moodle

6 months agoMerge branch 'MDL-83856-main' of https://github.com/andrewgos/moodle
Huong Nguyen [Tue, 1 Apr 2025 03:47:36 +0000 (10:47 +0700)]
Merge branch 'MDL-83856-main' of https://github.com/andrewgos/moodle

6 months agoMerge branch 'MDL-80091-main' of https://github.com/andrewgos/moodle
Huong Nguyen [Tue, 1 Apr 2025 03:40:11 +0000 (10:40 +0700)]
Merge branch 'MDL-80091-main' of https://github.com/andrewgos/moodle

6 months agoMDL-80944 mod_quiz: Revert parameters removal
Huong Nguyen [Tue, 1 Apr 2025 03:18:03 +0000 (10:18 +0700)]
MDL-80944 mod_quiz: Revert parameters removal

6 months agoMerge branch 'MDL-80944_final-removal-of-quiz_delete_override-and-quiz_delete_all_ove...
Huong Nguyen [Tue, 1 Apr 2025 03:15:41 +0000 (10:15 +0700)]
Merge branch 'MDL-80944_final-removal-of-quiz_delete_override-and-quiz_delete_all_overrides' of https://github.com/ziegenberg/moodle

6 months agoMerge branch 'MDL-84917-main' of https://github.com/roland04/moodle
Huong Nguyen [Tue, 1 Apr 2025 03:07:48 +0000 (10:07 +0700)]
Merge branch 'MDL-84917-main' of https://github.com/roland04/moodle

6 months agoMDL-83479 backup: Format upgrade notes
Huong Nguyen [Tue, 1 Apr 2025 02:53:44 +0000 (09:53 +0700)]
MDL-83479 backup: Format upgrade notes

6 months agoMerge branch 'mdl-83479-restore-hooks' of https://github.com/jaypha/moodle
Huong Nguyen [Tue, 1 Apr 2025 02:51:51 +0000 (09:51 +0700)]
Merge branch 'mdl-83479-restore-hooks' of https://github.com/jaypha/moodle

6 months agoMDL-84914 lang: Import fixed English strings (en_fix)
Helen Foster [Mon, 31 Mar 2025 18:38:29 +0000 (20:38 +0200)]
MDL-84914 lang: Import fixed English strings (en_fix)

6 months agoMerge branch 'MDL-84673_properly-deprecate-print_graded_users_selector' of https...
Paul Holden [Mon, 31 Mar 2025 17:06:17 +0000 (18:06 +0100)]
Merge branch 'MDL-84673_properly-deprecate-print_graded_users_selector' of https://github.com/ziegenberg/moodle into main

6 months agoMDL-81437 files: fix SQL LIKE comparison, improve test coding style.
Paul Holden [Mon, 31 Mar 2025 16:58:24 +0000 (17:58 +0100)]
MDL-81437 files: fix SQL LIKE comparison, improve test coding style.

6 months agoMerge branch 'MDL-81437_allow-webp-file-extension-by-default' of https://github.com...
Paul Holden [Mon, 31 Mar 2025 16:46:09 +0000 (17:46 +0100)]
Merge branch 'MDL-81437_allow-webp-file-extension-by-default' of https://github.com/ziegenberg/moodle into main

6 months agoMDL-84673 core_grades: Deprecate print_graded_users_selector()
Daniel Ziegenberg [Wed, 12 Feb 2025 20:41:43 +0000 (21:41 +0100)]
MDL-84673 core_grades: Deprecate print_graded_users_selector()

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
6 months agoMDL-85046 theme_boost: Fix the spacing in the select_menu component
Mihail Geshoski [Fri, 28 Mar 2025 04:56:39 +0000 (12:56 +0800)]
MDL-85046 theme_boost: Fix the spacing in the select_menu component

Adds padding on the .dropdown-item element to fix the lack of spacing
between the 'active' indicator and the item in the select_menu component.
Also converts some of the hard-coded padding to use existing spacer
definitions.

6 months agoMDL-81437 core_files: Adding webp to the standard included MIME types
Daniel Ziegenberg [Fri, 14 Mar 2025 14:05:45 +0000 (15:05 +0100)]
MDL-81437 core_files: Adding webp to the standard included MIME types

Co-authored-by: Luca Bösch <luca.boesch@bfh.ch>
6 months agoMDL-81437 core_files: Add ad-hoc task to upgrade mimetypes on update
Daniel Ziegenberg [Fri, 14 Mar 2025 14:14:10 +0000 (15:14 +0100)]
MDL-81437 core_files: Add ad-hoc task to upgrade mimetypes on update

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
6 months agoMDL-75292 mod_assign: Modify the 'Graded' filter query
Mihail Geshoski [Wed, 19 Mar 2025 03:47:50 +0000 (11:47 +0800)]
MDL-75292 mod_assign: Modify the 'Graded' filter query

Modifies the query used to filter graded students by removing the
condition that requires a submission to be marked as submitted. This
change allows the query to return students who have not submitted
their work but have still been graded, a scenario supported in the
assignment module.

6 months agoMDL-75292 assign: Add "Graded" filter to assignment submission table
Kacper Rokicki [Fri, 22 Jul 2022 15:37:54 +0000 (17:37 +0200)]
MDL-75292 assign: Add "Graded" filter to assignment submission table

6 months agoMDL-84917 tool_usertours: Fix button icon colours
Mikel Martín [Wed, 26 Mar 2025 08:41:24 +0000 (09:41 +0100)]
MDL-84917 tool_usertours: Fix button icon colours

6 months agoMDL-84131 core_analytics: Remove indicator for chat and suvey
Laurent David [Mon, 10 Feb 2025 11:38:26 +0000 (12:38 +0100)]
MDL-84131 core_analytics: Remove indicator for chat and suvey

* When chat and survey are actually not installed, remove them
from the course_dropout target indicator.

6 months agoMerge branch 'MDL-85029-main' of https://github.com/meirzamoodle/moodle
Jun Pataleta [Mon, 31 Mar 2025 06:19:28 +0000 (14:19 +0800)]
Merge branch 'MDL-85029-main' of https://github.com/meirzamoodle/moodle

6 months agoMDL-80629 env: Moodle 4.4.x and 4.5.x do not support PHP 8.4
Andrew Nicols [Thu, 13 Mar 2025 02:54:01 +0000 (10:54 +0800)]
MDL-80629 env: Moodle 4.4.x and 4.5.x do not support PHP 8.4

6 months agoMerge branch 'MDL-76801-main' of https://github.com/andrewgos/moodle
Andrew Nicols [Mon, 31 Mar 2025 01:27:47 +0000 (09:27 +0800)]
Merge branch 'MDL-76801-main' of https://github.com/andrewgos/moodle

7 months agoMerge branch 'MDL-68806_main' of https://github.com/marxjohnson/moodle
Shamim Rezaie [Sat, 29 Mar 2025 12:22:33 +0000 (23:22 +1100)]
Merge branch 'MDL-68806_main' of https://github.com/marxjohnson/moodle

7 months agoMDL-85023 quiz: allow WebRTC with SEB on Mac
Philipp Imhof [Wed, 26 Mar 2025 17:01:08 +0000 (18:01 +0100)]
MDL-85023 quiz: allow WebRTC with SEB on Mac

7 months agoon-demand release 5.0dev+
Sara Arjona [Fri, 28 Mar 2025 11:49:17 +0000 (12:49 +0100)]
on-demand release 5.0dev+

7 months agoNOBUG: Add upgrade notes
Sara Arjona [Fri, 28 Mar 2025 11:49:17 +0000 (12:49 +0100)]
NOBUG: Add upgrade notes

7 months agoMerge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Fri, 28 Mar 2025 11:49:08 +0000 (12:49 +0100)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install

7 months agoMDL-68806 quiz: Separate global and per-quiz default settings
Mark Johnson [Fri, 14 Mar 2025 09:19:07 +0000 (09:19 +0000)]
MDL-68806 quiz: Separate global and per-quiz default settings

7 months agoMDL-68806 quiz: Backwards compatibility for mod_quiz_get_user_attempts
Mark Johnson [Mon, 12 Aug 2024 10:28:18 +0000 (11:28 +0100)]
MDL-68806 quiz: Backwards compatibility for mod_quiz_get_user_attempts

7 months agoMDL-68806 backup: Fix faulty question attempt step restore test
Mark Johnson [Wed, 21 Feb 2024 09:23:21 +0000 (09:23 +0000)]
MDL-68806 backup: Fix faulty question attempt step restore test

Previously, the test was passing by fluke because all question attempt
steps had the same timecreated date. However, the $originaliterator only
contained the first step of the question, not all 3 attempts that were
being backed up and restored. This means we were comparing the
timecreated of the first backed-up step with the timecreated on the
third restored step. As of MDL-68806, the first step's timecreated is
question_attempt_step::TIMECREATED_ON_FIRST_RENDER, which shows up this
error.

This change gets the question_usage_by_activity object back from the
attempt object which contains all the attempt steps, rather than using
the one created in the test, which doesn't.

7 months agoMDL-68806 question: Set first attempt step timecreated
Mark Johnson [Fri, 16 Feb 2024 14:36:47 +0000 (14:36 +0000)]
MDL-68806 question: Set first attempt step timecreated

Previously, the timecreated for the first step of any question attempt
was set to the current time when the quiz attempt was created. With quiz
attempts being pre-created, this means the question attempts looking
like they were started before the quiz attempt. It also limits the
ability to analyse when a student actually started each question.

This change adds a new class constant,
question_attempt_step::TIMECREATED_ON_FIRST_RENDER. Passing this to the
question_attempt_step constructor will cause the timecreated to be set
to the time when the question attempt is first rendered, rather than
when the step is created.

7 months agoMDL-68806 quiz: Update questions in pre-created attempts when started
Mark Johnson [Thu, 15 Feb 2024 13:49:51 +0000 (13:49 +0000)]
MDL-68806 quiz: Update questions in pre-created attempts when started

In case questions used in pre-created attempts were edited after
pre-creation, we check when the attempt is started and create
new question attempts if needed. There is still an opportunity to
improve performance further by finding a way to do this efficiently
when a new question version is created.

7 months agoMDL-68806 quiz: Display new attempt states on the attempts report
Mark Johnson [Tue, 13 Feb 2024 11:50:45 +0000 (11:50 +0000)]
MDL-68806 quiz: Display new attempt states on the attempts report

7 months agoMDL-68806 quiz: Add task to pre-create quiz attempts.
Mark Johnson [Thu, 8 Feb 2024 09:04:28 +0000 (09:04 +0000)]
MDL-68806 quiz: Add task to pre-create quiz attempts.

7 months agoMDL-68806 quiz: Add new "Not started" and "Submitted" states
Mark Johnson [Mon, 5 Feb 2024 16:28:01 +0000 (16:28 +0000)]
MDL-68806 quiz: Add new "Not started" and "Submitted" states

7 months agoMDL-85048 core: define mapping for new America/Coyhaique zone.
Paul Holden [Fri, 28 Mar 2025 08:58:19 +0000 (08:58 +0000)]
MDL-85048 core: define mapping for new America/Coyhaique zone.

Follows same process as other timezone additions in d5ec3594.

7 months agoMerge branch 'MDL-85048-main' of https://github.com/lameze/moodle
Huong Nguyen [Fri, 28 Mar 2025 08:00:13 +0000 (15:00 +0700)]
Merge branch 'MDL-85048-main' of https://github.com/lameze/moodle

7 months agoMDL-85048 phpunit: add america/coyhaique timezone
Simey Lameze [Fri, 28 Mar 2025 06:21:03 +0000 (14:21 +0800)]
MDL-85048 phpunit: add america/coyhaique timezone

7 months agoMerge branch 'MDL-84998_main' of https://github.com/catalyst/moodle
Huong Nguyen [Fri, 28 Mar 2025 02:53:46 +0000 (09:53 +0700)]
Merge branch 'MDL-84998_main' of https://github.com/catalyst/moodle