moodle.git
8 months agoMDL-75669 courseformat: Fix bulk action styles for BS5
Mikel Martín [Tue, 28 Jan 2025 08:47:53 +0000 (09:47 +0100)]
MDL-75669 courseformat: Fix bulk action styles for BS5

8 months agoMDL-75669 theme_boost: Fix list-group usages for BS5
Mikel Martín [Tue, 28 Jan 2025 07:53:56 +0000 (08:53 +0100)]
MDL-75669 theme_boost: Fix list-group usages for BS5

- The .list-group-item elements in BS5 require an outer .list-group container.
  Some uses in core were missing the outer group item and need fixing.

8 months agoMDL-75669 theme_boost: Fix dropdowns styles
Mikel Martín [Thu, 23 Jan 2025 15:05:44 +0000 (16:05 +0100)]
MDL-75669 theme_boost: Fix dropdowns styles

8 months agoMDL-75669 usertours: Fix tours modal styling
Mikel Martín [Thu, 23 Jan 2025 11:13:26 +0000 (12:13 +0100)]
MDL-75669 usertours: Fix tours modal styling

8 months agoMDL-75669 theme_boost: Adjust SCSS variables to BS5
Mikel Martín [Wed, 22 Jan 2025 16:21:20 +0000 (17:21 +0100)]
MDL-75669 theme_boost: Adjust SCSS variables to BS5

8 months agoMDL-75669 theme_boost: Remove unneeded RTL fixes SCSS file
Mikel Martín [Thu, 23 Jan 2025 09:58:16 +0000 (10:58 +0100)]
MDL-75669 theme_boost: Remove unneeded RTL fixes SCSS file

8 months agoMDL-75669 output: Fix subpanels for BS5
Mikel Martín [Mon, 20 Jan 2025 13:13:05 +0000 (14:13 +0100)]
MDL-75669 output: Fix subpanels for BS5

- Fix subpanels positioning using data-bs-popper static
- Fix subpanels and dialogs event listener to use Boostrap EventHandler.
  Doing that will avoid Bootstrap from stop propagating the event to the
  subpanels and dialogs listeners.

8 months agoMDL-75669 block_timeline: Fix sorting feature for BS5
Mikel Martín [Mon, 20 Jan 2025 12:01:13 +0000 (13:01 +0100)]
MDL-75669 block_timeline: Fix sorting feature for BS5

- Because of the new BS5 syntax and changes in event listeners the sorting
  filter for block timeline was now working. This commit fixes the incorrect
  behaviour.

8 months agoMDL-75669 qbank: Using boostrap attributes instead of title
Amaia Anabitarte [Fri, 17 Jan 2025 09:37:14 +0000 (10:37 +0100)]
MDL-75669 qbank: Using boostrap attributes instead of title

Bootstrap5 documents that, for tooltips and when title is used, Popper
will replace it automatically with data-bs-title when the element is rendered.
So using title makes no sense because Popper will replace it. We are using
data-bs-original-title instead.

8 months agoMDL-75669 theme_boost: Remove unneeded carousel SCSS modifications
Mikel Martín [Thu, 16 Jan 2025 15:22:00 +0000 (16:22 +0100)]
MDL-75669 theme_boost: Remove unneeded carousel SCSS modifications

8 months agoMDL-75669 course_backup: Fixing behat issue
Amaia Anabitarte [Thu, 16 Jan 2025 12:54:54 +0000 (13:54 +0100)]
MDL-75669 course_backup: Fixing behat issue

8 months agoMDL-75669 message: Fixing preferences behat
Amaia Anabitarte [Wed, 15 Jan 2025 16:23:08 +0000 (17:23 +0100)]
MDL-75669 message: Fixing preferences behat

This commit fixes "As an admin I can view and edit message preferences
for a user" behat

8 months agoMDL-75669 report_participation: Remove innecessary JS parameters
Amaia Anabitarte [Thu, 16 Jan 2025 09:31:53 +0000 (10:31 +0100)]
MDL-75669 report_participation: Remove innecessary JS parameters

The parameter are usable in course participants page because user
could add bulk notes linked to users. But that script is not used
in report/participants, so we don't need those arguments on the call.

8 months agoMDL-75669 theme_boost: Fix formautocomplete inside dropdowns
Mikel Martín [Tue, 14 Jan 2025 14:53:46 +0000 (15:53 +0100)]
MDL-75669 theme_boost: Fix formautocomplete inside dropdowns

Fix problem where having a dropdown with a form autocomplete inside and
pressing Escape key will close the hole dropdown instead only the autocomplete
suggestions.

8 months agoMDL-75669 courseformat: Fix section collapse in Tree JS
Mikel Martín [Fri, 10 Jan 2025 14:00:10 +0000 (15:00 +0100)]
MDL-75669 courseformat: Fix section collapse in Tree JS

After Bootstrap 5 upgrade, when expanding/collapsing sections in course index and
move content modal using the chevrons, the Bootstrap collapse event will occur
before the courseindex logic (In BS4 if was the opposite and the BS collapse event
was triggered after). This commit fixes that specific problem.

8 months agoMDL-75669 form: Fix password unmask input
Mikel Martín [Thu, 19 Dec 2024 15:08:42 +0000 (16:08 +0100)]
MDL-75669 form: Fix password unmask input

In BS5 the combination of both ".d-none" and ".d-inline" block together
is now prioritizing "d-none". Because of that the logic has been changed
to only use ".d-none" for toggling the display.

8 months agoMDL-75669 filepicker: Fix filepicker popovers
Mikel Martín [Thu, 19 Dec 2024 14:01:25 +0000 (15:01 +0100)]
MDL-75669 filepicker: Fix filepicker popovers

8 months agoMDL-75669 mod_data: Fix inline form layout accessibility
Mikel Martín [Wed, 8 Jan 2025 13:25:40 +0000 (14:25 +0100)]
MDL-75669 mod_data: Fix inline form layout accessibility

8 months agoMDL-75669 theme_boost: Fix BS5 related JS 0c586b41c1336202286dcfcb2709cc2f75679c91
Mikel Martín [Wed, 27 Nov 2024 08:59:07 +0000 (09:59 +0100)]
MDL-75669 theme_boost: Fix BS5 related JS

- Migrate Boostrap components related JS from JQuery to vanilla JS.
- Migrate Boostrap components related Events from JQuery to vanilla JS.

8 months agoMDL-83344 lib/plist: update to the latest version (2.0.5)
Andrew Gosali [Wed, 5 Feb 2025 07:56:26 +0000 (14:56 +0700)]
MDL-83344 lib/plist: update to the latest version (2.0.5)

8 months agoMDL-84551 tiny_aiplacement: fix generateimage quality selection
Jonathon Fowler [Mon, 17 Feb 2025 01:18:14 +0000 (11:18 +1000)]
MDL-84551 tiny_aiplacement: fix generateimage quality selection

8 months agoMDL-78711 course: Final deprecation of edit_default_completion()
Daniel Ziegenberg [Mon, 10 Feb 2025 12:23:58 +0000 (13:23 +0100)]
MDL-78711 course: Final deprecation of edit_default_completion()

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
8 months agoMDL-83195 mod_assign: Individual grade release
Leon Stringer [Mon, 20 Jan 2025 17:24:33 +0000 (17:24 +0000)]
MDL-83195 mod_assign: Individual grade release

Fix pushing individual grades into the gradebook (as opposed to the
batch release of grades) when "Allow partial release of grades while
marking anonymously" is enabled.

This change reworks MDL-73626's fix for the same issue for releasing
multiple grades in a batch operation.

8 months agoMDL-75669 theme_boost: Fix BS5 related behat steps and scenarios
Mikel Martín [Tue, 3 Dec 2024 15:06:49 +0000 (16:06 +0100)]
MDL-75669 theme_boost: Fix BS5 related behat steps and scenarios

- Fix some behat steps and scenarios that are failing because of
  Bootstrap 5 syntax changes.
- Add a new $behatsite SCSS variable when behat is runinng that
  disables Bootstrap transitions and effects.

8 months agoMDL-75669 theme_boost: Fix simplesearchform BS5 related styles
Mikel Martín [Wed, 18 Dec 2024 09:45:13 +0000 (10:45 +0100)]
MDL-75669 theme_boost: Fix simplesearchform BS5 related styles

8 months agoMDL-75669 theme_boost: Fix double closing icon on BS5 buttons
Mikel Martín [Tue, 17 Dec 2024 16:35:24 +0000 (17:35 +0100)]
MDL-75669 theme_boost: Fix double closing icon on BS5 buttons

- With BS5 now closing icon ("X") on modals, alerts, ... is being displayed twice.
  This commit Fixes that incorrect behaviour.

8 months agoMDL-75669 theme_boost: Refactor btn-block class removed in BS5
Mikel Martín [Tue, 17 Dec 2024 14:15:40 +0000 (15:15 +0100)]
MDL-75669 theme_boost: Refactor btn-block class removed in BS5

8 months agoMDL-75669 theme_boost: Refactor "media-breakpoint-down" mixin to BS5
Mikel Martín [Tue, 17 Dec 2024 09:44:15 +0000 (10:44 +0100)]
MDL-75669 theme_boost: Refactor "media-breakpoint-down" mixin to BS5

- media-breakpoint-down() uses the breakpoint itself instead of the next breakpoint (e.g., media-breakpoint-down(lg)
instead of media-breakpoint-down(md) targets viewports smaller than lg).

8 months agoMDL-75669 theme_boost: Fix incorrect .row BS5 class usages
Mikel Martín [Wed, 18 Dec 2024 13:08:48 +0000 (14:08 +0100)]
MDL-75669 theme_boost: Fix incorrect .row BS5 class usages

In BS5 all .row classes are intended to contain elements with any .col class
There were some cases where the .row class was being used only for display flex
purposes, so they where replaced.

8 months agoMDL-75669 theme_boost: Remove .navbar-light for BS5
Mikel Martín [Fri, 20 Dec 2024 11:50:27 +0000 (12:50 +0100)]
MDL-75669 theme_boost: Remove .navbar-light for BS5

8 months agoMDL-75669 theme_boost: Refactor custom form elements to BS5
Mikel Martín [Mon, 16 Dec 2024 15:44:08 +0000 (16:44 +0100)]
MDL-75669 theme_boost: Refactor custom form elements to BS5

- .custom-check is now .form-check.
- .custom-check.custom-switch is now .form-check.form-switch.
- .custom-select is now .form-select.
- .custom-file and .form-file have been replaced by custom styles on top of .form-control.
- .custom-range is now .form-range.
- Dropped .input-group-append and .input-group-prepend. You can now just add buttons
  and .input-group-text as direct children of the input groups.

8 months agoMDL-83026 badges: Added full name of the course to badge exporters
Albert Gasset [Fri, 7 Feb 2025 08:06:10 +0000 (09:06 +0100)]
MDL-83026 badges: Added full name of the course to badge exporters

8 months agoMDL-75669 theme_boost: Refactor BS5 data attributes
Mikel Martín [Fri, 29 Nov 2024 12:20:48 +0000 (13:20 +0100)]
MDL-75669 theme_boost: Refactor BS5 data attributes

Data attributes for all Bootstrap5 JavaScript plugins are now namespaced
to help distinguish Bootstrap functionality from third parties and your own code.
For example, data-bs-toggle instead of data-toggle.
This commit refactor all old Bootstrap data-attributes to the new syntax.

Co-authored-by: Daniel Ziegenberg <daniel@ziegenberg.at>
8 months agoMDL-75669 theme_boost: Refactor dropdowns positioning classes
Mikel Martín [Fri, 29 Nov 2024 11:30:43 +0000 (12:30 +0100)]
MDL-75669 theme_boost: Refactor dropdowns positioning classes

- Replace .dropdown-menu-[left|right] with .dropdown-menu-[start|end].

8 months agoMDL-75669 theme_boost: Upgrade Boostrap to v5.3
Mikel Martín [Mon, 25 Nov 2024 13:42:40 +0000 (14:42 +0100)]
MDL-75669 theme_boost: Upgrade Boostrap to v5.3

- Follow upgrade steps
- Fix some SCSS to avoid CSS compilation errors.

8 months agoMDL-75669 theme_boost: Remove BS5 bridge
Mikel Martín [Mon, 25 Nov 2024 13:50:51 +0000 (14:50 +0100)]
MDL-75669 theme_boost: Remove BS5 bridge

8 months agoMDL-84125 tiny_premium: Add premium accessibility checker plugin
David Woloszyn [Fri, 14 Feb 2025 02:16:33 +0000 (13:16 +1100)]
MDL-84125 tiny_premium: Add premium accessibility checker plugin

8 months agoweekly release 5.0dev
Jun Pataleta [Fri, 14 Feb 2025 01:53:24 +0000 (09:53 +0800)]
weekly release 5.0dev

8 months agoNOBUG: Add upgrade notes
Jun Pataleta [Fri, 14 Feb 2025 01:53:24 +0000 (09:53 +0800)]
NOBUG: Add upgrade notes

8 months agoMerge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 14 Feb 2025 01:53:10 +0000 (09:53 +0800)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install

8 months agoMDL-84208 course: update default completion form template
ferran [Tue, 14 Jan 2025 14:35:39 +0000 (15:35 +0100)]
MDL-84208 course: update default completion form template

8 months agoMDL-84208 core: optional heading level to select menu template
ferran [Fri, 17 Jan 2025 12:09:49 +0000 (13:09 +0100)]
MDL-84208 core: optional heading level to select menu template

In manu ocasions, the select menu template is used for the tertiary
navigation. However, in many scenarios this tertiary navigation acts as
a heading level. With this patch the template data can specify the
desired heading level to guarantee accessibility.

8 months agoMDL-84528 tag: define missing language string for related tags area.
Paul Holden [Thu, 13 Feb 2025 15:02:51 +0000 (15:02 +0000)]
MDL-84528 tag: define missing language string for related tags area.

8 months agoMDL-80351 libraries: ChartJS axis options being ignored
Pedro Jordao [Thu, 13 Feb 2025 05:22:11 +0000 (02:22 -0300)]
MDL-80351 libraries: ChartJS axis options being ignored

When chartJs was updated to version 3.8.0, chart axis were now accessed
as a object property instead of an array element. This solution aims to
update the way we set the axis properties, aiming to display the labels
and other properties.

8 months agoMerge branch 'MDL-83579' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 13 Feb 2025 04:11:19 +0000 (11:11 +0700)]
Merge branch 'MDL-83579' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-84245' of https://github.com/ssj365/moodle
Jun Pataleta [Thu, 13 Feb 2025 03:57:16 +0000 (11:57 +0800)]
Merge branch 'MDL-84245' of https://github.com/ssj365/moodle

8 months agoMerge branch 'mdl-83306_main' of https://github.com/james-cnz/moodle
Jun Pataleta [Thu, 13 Feb 2025 03:54:52 +0000 (11:54 +0800)]
Merge branch 'mdl-83306_main' of https://github.com/james-cnz/moodle

8 months agoMerge branch 'MDL-84147' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 13 Feb 2025 03:53:11 +0000 (10:53 +0700)]
Merge branch 'MDL-84147' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-84102-main' of https://github.com/andelacruz/moodle
Jun Pataleta [Thu, 13 Feb 2025 03:48:51 +0000 (11:48 +0800)]
Merge branch 'MDL-84102-main' of https://github.com/andelacruz/moodle

8 months agoMerge branch 'MDL-83542-main' of https://github.com/laurentdavid/moodle
Jun Pataleta [Thu, 13 Feb 2025 03:47:38 +0000 (11:47 +0800)]
Merge branch 'MDL-83542-main' of https://github.com/laurentdavid/moodle

8 months agoMerge branch 'MDL-83645' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 13 Feb 2025 03:42:29 +0000 (10:42 +0700)]
Merge branch 'MDL-83645' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-69142' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 13 Feb 2025 03:33:19 +0000 (10:33 +0700)]
Merge branch 'MDL-69142' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-79265-master' of https://github.com/NashTechOpenUniversity/moodle
Huong Nguyen [Thu, 13 Feb 2025 02:15:20 +0000 (09:15 +0700)]
Merge branch 'MDL-79265-master' of https://github.com/NashTechOpenUniversity/moodle

8 months agoMDL-83479 backup: Added upgrade notes.
Jason Den Dulk [Thu, 13 Feb 2025 01:36:20 +0000 (12:36 +1100)]
MDL-83479 backup: Added upgrade notes.

Also some small tweaks to address comments.

8 months agoMDL-83479 backup: Add hooks to restore process.
Jason Den Dulk [Sun, 15 Dec 2024 22:38:39 +0000 (09:38 +1100)]
MDL-83479 backup: Add hooks to restore process.

- Place hooks inside backup/util/ui/classes/hooks, to be consistent with
other autoloaded classes.

8 months agoMDL-83479 backup: Add hooks to restore process.
Jason Den Dulk [Sun, 3 Nov 2024 22:46:21 +0000 (09:46 +1100)]
MDL-83479 backup: Add hooks to restore process.

- A hook to enable plugins to add extra settings to the restore task.
  This would be placed inside restore_root_task::define_settings()
- A hook to enable plugins to add extra fields to the copy course form. This would be done inside the copy_form class.
- An adjustment to add the restore plan settings to the course restored event data.
  This would be done inside restore_plan::execute().
- A hook to enable extra work inside the asynchronous copy task. To be placed inside asynchronous_copy_task::execute().

8 months agoMDL-84356 enrol: add course link placeholder to welcome message.
Paul Holden [Wed, 12 Feb 2025 17:16:33 +0000 (17:16 +0000)]
MDL-84356 enrol: add course link placeholder to welcome message.

8 months agoMDL-65233 course: remove usergetmidnight from reset time shift
Simmo Saan [Sat, 8 Feb 2025 09:44:41 +0000 (11:44 +0200)]
MDL-65233 course: remove usergetmidnight from reset time shift

8 months agoMDL-65233 course: add reset time shift test with non-midnight hour
Simmo Saan [Sat, 8 Feb 2025 09:43:11 +0000 (11:43 +0200)]
MDL-65233 course: add reset time shift test with non-midnight hour

8 months agoMDL-82937 lesson: removal of mod/lesson/tabs.php and string deprecations
Andrew Gosali [Thu, 28 Nov 2024 02:57:52 +0000 (09:57 +0700)]
MDL-82937 lesson: removal of mod/lesson/tabs.php and string deprecations

8 months agoMDL-84102 message: Behat for setting default notification preferences
Angelia Dela Cruz [Tue, 4 Feb 2025 02:51:44 +0000 (10:51 +0800)]
MDL-84102 message: Behat for setting default notification preferences

8 months agoMerge branch 'MDL-83452-addbodyclass' of https://github.com/leonstr/moodle
Huong Nguyen [Wed, 12 Feb 2025 04:29:41 +0000 (11:29 +0700)]
Merge branch 'MDL-83452-addbodyclass' of https://github.com/leonstr/moodle

8 months agoMDL-84171 libraries: upgrade to version 3.1.2 of ZipStream.
Paul Holden [Tue, 11 Feb 2025 09:55:13 +0000 (09:55 +0000)]
MDL-84171 libraries: upgrade to version 3.1.2 of ZipStream.

8 months agoMerge branch 'MOODLE_main_MDL-82601' of https://github.com/danielneis/moodle
Huong Nguyen [Tue, 11 Feb 2025 04:46:17 +0000 (11:46 +0700)]
Merge branch 'MOODLE_main_MDL-82601' of https://github.com/danielneis/moodle

8 months agoMerge branch 'MDL-82440-main' of https://github.com/praxisdigital/moodle
Huong Nguyen [Tue, 11 Feb 2025 04:39:02 +0000 (11:39 +0700)]
Merge branch 'MDL-82440-main' of https://github.com/praxisdigital/moodle

8 months agoMerge branch 'MDL-84414-main' of https://github.com/andelacruz/moodle
Huong Nguyen [Tue, 11 Feb 2025 04:17:15 +0000 (11:17 +0700)]
Merge branch 'MDL-84414-main' of https://github.com/andelacruz/moodle

8 months agoMerge branch 'MDL-70610-main' of https://github.com/kevpercy/moodle
Huong Nguyen [Tue, 11 Feb 2025 04:12:58 +0000 (11:12 +0700)]
Merge branch 'MDL-70610-main' of https://github.com/kevpercy/moodle

8 months agoMDL-84414 gradingform_guide: Behat test to set marking guide as ready
Angelia Dela Cruz [Tue, 4 Feb 2025 07:26:08 +0000 (15:26 +0800)]
MDL-84414 gradingform_guide: Behat test to set marking guide as ready

8 months agoMDL-84300 core: Support nested templates in routed API
Andrew Nicols [Fri, 24 Jan 2025 01:48:21 +0000 (09:48 +0800)]
MDL-84300 core: Support nested templates in routed API

8 months agoMDL-84300 router: Path params should be aware of unlimited captures
Andrew Nicols [Thu, 23 Jan 2025 03:41:58 +0000 (11:41 +0800)]
MDL-84300 router: Path params should be aware of unlimited captures

Where a path contains an unlimited parameter, designated by `{name:.*}`
or `{name:.*?}` it may be empty and therefore cannot be required.

8 months agoAutomatically generated installer lang files
AMOS bot [Tue, 11 Feb 2025 00:09:28 +0000 (00:09 +0000)]
Automatically generated installer lang files

8 months agoMDL-78489 core_courseformat: Final deprecation of availability_info
Amaia Anabitarte [Mon, 10 Feb 2025 16:09:03 +0000 (17:09 +0100)]
MDL-78489 core_courseformat: Final deprecation of availability_info

8 months agoMDL-77107 gradereport_grader: final removal of deprecated Behat helper.
Paul Holden [Mon, 10 Feb 2025 15:48:50 +0000 (15:48 +0000)]
MDL-77107 gradereport_grader: final removal of deprecated Behat helper.

8 months agoMDL-80156 theme_boost: Remove SCSS deprecated in 4.4
Daniel Ziegenberg [Mon, 10 Feb 2025 14:45:17 +0000 (15:45 +0100)]
MDL-80156 theme_boost: Remove SCSS deprecated in 4.4

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
8 months agoMDL-69142 tool_cohortroles: fix table ordering by role name.
Paul Holden [Mon, 16 Dec 2024 20:30:15 +0000 (20:30 +0000)]
MDL-69142 tool_cohortroles: fix table ordering by role name.

8 months agoMDL-81759 backup: Change import page layout
Brandon [Mon, 6 May 2024 17:35:24 +0000 (12:35 -0500)]
MDL-81759 backup: Change import page layout

8 months agoMerge branch 'MDL-67462-main' of https://github.com/albertgasset/moodle
Sara Arjona [Mon, 10 Feb 2025 08:38:35 +0000 (09:38 +0100)]
Merge branch 'MDL-67462-main' of https://github.com/albertgasset/moodle

8 months agoMDL-84483 core_files: Always fire after_file_created hook
Jarad Barker [Mon, 10 Feb 2025 06:54:39 +0000 (17:54 +1100)]
MDL-84483 core_files: Always fire after_file_created hook

8 months agoMDL-84245 mod_bigbluebuttonbn: Add manual grades
Shamiso.Jaravaza [Mon, 10 Feb 2025 03:03:49 +0000 (20:03 -0700)]
MDL-84245 mod_bigbluebuttonbn: Add manual grades

* Added grade API functions to implement grades
* Created phpunit test to ensure grades are removed on reset

8 months agoMDL-84002 mod_assign: consistently style attempt expand/collapse icon.
Paul Holden [Mon, 13 Jan 2025 07:59:22 +0000 (07:59 +0000)]
MDL-84002 mod_assign: consistently style attempt expand/collapse icon.

8 months agoMDL-84401 libraries: upgrade to version 5.22.8 of ADOdb.
Paul Holden [Wed, 5 Feb 2025 22:48:42 +0000 (22:48 +0000)]
MDL-84401 libraries: upgrade to version 5.22.8 of ADOdb.

8 months agoMDL-84476 theme: btn.btn-icon round background.
Luca Bösch [Sat, 8 Feb 2025 14:51:11 +0000 (15:51 +0100)]
MDL-84476 theme: btn.btn-icon round background.

8 months agoMDL-83872 core: creating button and text_align properties
ferran [Thu, 16 Jan 2025 14:30:59 +0000 (15:30 +0100)]
MDL-83872 core: creating button and text_align properties

This issue creates a couple of enum to style buttons and text
alignments. Enums can be used by output classes to limit the
types of values accepted by using strict types.

9 months agoMDL-83440 assign: let sub-plugins validate the assign settings form
Tim Hunt [Fri, 11 Oct 2024 11:05:10 +0000 (12:05 +0100)]
MDL-83440 assign: let sub-plugins validate the assign settings form

9 months agoMDL-83542 core_completion: Add hooks for cm completion
Laurent David [Mon, 11 Nov 2024 10:31:33 +0000 (11:31 +0100)]
MDL-83542 core_completion: Add hooks for cm completion

* Add hooks for events that lead to session_cache_reset

9 months agoMDL-83542 core: Add hooks for user switching
Laurent David [Mon, 11 Nov 2024 10:31:12 +0000 (11:31 +0100)]
MDL-83542 core: Add hooks for user switching

* Add hooks for events that lead to session_cache_reset

9 months agoMDL-83542 core_course: Add hook for course content update
Laurent David [Mon, 11 Nov 2024 10:30:22 +0000 (11:30 +0100)]
MDL-83542 core_course: Add hook for course content update

* Add hooks for course events that lead to session_cache_reset

9 months agoMDL-84419 core_task: Scheduled task timing is wrong when DST begins
Katie Ransom [Tue, 4 Feb 2025 09:45:44 +0000 (09:45 +0000)]
MDL-84419 core_task: Scheduled task timing is wrong when DST begins

This was only an issue for tasks set to run in the hour when the clocks
change for daylight saving time. E.g. if a task is set to run at 1am
every day in the Europe/London timezone, then the day the clocks go
forward gets skipped because 1am doesn't exist on that day.

9 months agoMDL-67462 badges: Improve tests of external functions
Albert Gasset [Fri, 7 Feb 2025 08:02:25 +0000 (09:02 +0100)]
MDL-67462 badges: Improve tests of external functions

Now units tests covering external functions `core_badges_get_badge`,
`core_badges_get_user_badges` and `core_badges_get_user_badge_by_hash`
check all badge fields,  including cases where the user has no
permission to view all details.

9 months agoMDL-67462 badges: Fix badge alignments returned in external functions
Albert Gasset [Fri, 7 Feb 2025 08:02:25 +0000 (09:02 +0100)]
MDL-67462 badges: Fix badge alignments returned in external functions

9 months agoMDL-84457 ai: add provider form rate limit field validation.
Paul Holden [Thu, 6 Feb 2025 22:47:16 +0000 (22:47 +0000)]
MDL-84457 ai: add provider form rate limit field validation.

9 months agoMDL-84453 ai: simpler API for retrieving single provider record.
Paul Holden [Thu, 6 Feb 2025 21:28:27 +0000 (21:28 +0000)]
MDL-84453 ai: simpler API for retrieving single provider record.

9 months agoMDL-84017 ai: help icons to describe the usage report token columns.
Paul Holden [Wed, 29 Jan 2025 13:17:42 +0000 (13:17 +0000)]
MDL-84017 ai: help icons to describe the usage report token columns.

9 months agoweekly release 5.0dev
Sara Arjona [Thu, 6 Feb 2025 15:21:38 +0000 (16:21 +0100)]
weekly release 5.0dev

9 months agoNOBUG: Add upgrade notes
Sara Arjona [Thu, 6 Feb 2025 15:21:38 +0000 (16:21 +0100)]
NOBUG: Add upgrade notes

9 months agoMerge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Thu, 6 Feb 2025 15:21:29 +0000 (16:21 +0100)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install

9 months agoMDL-83404 core: Bump Guzzle and related libraries
Andrew Nicols [Wed, 2 Oct 2024 03:01:52 +0000 (11:01 +0800)]
MDL-83404 core: Bump Guzzle and related libraries

GuzzleHttp/Guzzle   to 7.9.2
GuzzleHttp/Promises to 2.0.4
GuzzleHttp/PSR7     to 2.7.0.
kevinrob/guzzle-cache-middleware to 6.0.0

9 months agoMerge branch 'MDL-83794-main' of https://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 6 Feb 2025 09:09:48 +0000 (17:09 +0800)]
Merge branch 'MDL-83794-main' of https://github.com/andrewnicols/moodle

9 months agoMDL-79265 question bank: fix which questions are listed with hidden
Hieu Nguyen Dang [Wed, 3 Jul 2024 08:05:31 +0000 (15:05 +0700)]
MDL-79265 question bank: fix which questions are listed with hidden

This fixes the bug where if the latest version of the question is hidden,
the question disappears, even if older versions exist that are still visible.

9 months agoMDL-83794 editor_tiny: Fix typo in style name
Andrew Nicols [Thu, 6 Feb 2025 05:49:00 +0000 (13:49 +0800)]
MDL-83794 editor_tiny: Fix typo in style name