Commit graph

117139 commits

Author SHA1 Message Date
Sara Arjona
4feb5e5b74
Merge branch 'MDL-75669-main' of https://github.com/roland04/moodle 2025-02-18 11:23:32 +01:00
Mikel Martín
30dd9da869 MDL-75669 theme_boost: Fix chrome behat failures after BS5 upgrade 2025-02-18 10:37:06 +01:00
Marina Glancy
9f9d043e1e
MDL-83942 tag: allow to make default collection not searchable 2025-02-18 07:23:42 +01:00
Sara Arjona
8c9a72a749
Merge branch 'MDL-75669-main' of https://github.com/roland04/moodle 2025-02-17 16:50:26 +01:00
Michael Aherne
1a357e810a MDL-84547 questionbank: Rename import_form.php to enable autoloading. 2025-02-17 11:55:39 +00:00
Conn Warwicker
56cb9f0c54
MDL-84341 qbank_history: Fix version ordering
Previously the version ordering was done on timecreated which
wasn't always correct. This now uses the version number instead.

Also set the default sorting on the history page to be version.
2025-02-17 11:47:21 +00:00
Juan Leyva
450b95c425 MDL-84554 tool_mobile: Remove partitioned cookies support 2025-02-17 11:30:37 +01:00
DangHieu1407
013a3085b0 MDL-80682 core_question: Question version information should be clearer 2025-02-17 15:04:38 +07:00
Mikel Martín
607f921c6b MDL-75669 courseformat: Fix bulk action styles for BS5 2025-02-17 08:13:48 +01:00
Mikel Martín
ba30b66e19 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.
2025-02-17 08:13:48 +01:00
Mikel Martín
66c8eb19e1 MDL-75669 theme_boost: Fix dropdowns styles 2025-02-17 08:13:48 +01:00
Mikel Martín
8caa092250 MDL-75669 usertours: Fix tours modal styling 2025-02-17 08:13:48 +01:00
Mikel Martín
2d1e648e89 MDL-75669 theme_boost: Adjust SCSS variables to BS5 2025-02-17 08:13:48 +01:00
Mikel Martín
ac18405516 MDL-75669 theme_boost: Remove unneeded RTL fixes SCSS file 2025-02-17 08:13:48 +01:00
Mikel Martín
413b9219bf 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.
2025-02-17 08:13:48 +01:00
Mikel Martín
8a8c8ab275 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.
2025-02-17 08:13:48 +01:00
Amaia Anabitarte
3f1fca28fc 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.
2025-02-17 08:13:48 +01:00
Mikel Martín
709273df45 MDL-75669 theme_boost: Remove unneeded carousel SCSS modifications 2025-02-17 08:13:48 +01:00
Amaia Anabitarte
e29e633e16 MDL-75669 course_backup: Fixing behat issue 2025-02-17 08:13:48 +01:00
Amaia Anabitarte
e04dc9dea6 MDL-75669 message: Fixing preferences behat
This commit fixes "As an admin I can view and edit message preferences
for a user" behat
2025-02-17 08:13:48 +01:00
Amaia Anabitarte
5245fd57a0 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.
2025-02-17 08:13:47 +01:00
Mikel Martín
4746042423 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.
2025-02-17 08:13:47 +01:00
Mikel Martín
ad37483f47 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.
2025-02-17 08:13:46 +01:00
Mikel Martín
4a7e3b27a7 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.
2025-02-17 08:13:13 +01:00
Mikel Martín
d4ce8ecec8 MDL-75669 filepicker: Fix filepicker popovers 2025-02-17 08:13:13 +01:00
Mikel Martín
bb10eaefab MDL-75669 mod_data: Fix inline form layout accessibility 2025-02-17 08:13:13 +01:00
Mikel Martín
0c586b41c1 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.
2025-02-17 08:13:11 +01:00
Daniel Ziegenberg
d7ded40e49
MDL-78711 course: Final deprecation of edit_default_completion()
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-02-15 11:56:02 +01:00
Mikel Martín
f6e31a3d41 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.
2025-02-14 10:58:36 +01:00
Mikel Martín
dd0f589e5e MDL-75669 theme_boost: Fix simplesearchform BS5 related styles 2025-02-14 10:58:36 +01:00
Mikel Martín
8f2b26dd26 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.
2025-02-14 10:58:36 +01:00
Mikel Martín
691e6c6042 MDL-75669 theme_boost: Refactor btn-block class removed in BS5 2025-02-14 10:58:36 +01:00
Mikel Martín
2a74ae6d9d 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).
2025-02-14 10:58:36 +01:00
Mikel Martín
3b8c9fd410 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.
2025-02-14 10:58:36 +01:00
Mikel Martín
9b5facb0d7 MDL-75669 theme_boost: Remove .navbar-light for BS5 2025-02-14 10:58:36 +01:00
Mikel Martín
04975cd2b2 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.
2025-02-14 10:58:36 +01:00
Mikel Martín
5416483611 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>
2025-02-14 09:10:33 +01:00
Mikel Martín
2aa19cb088 MDL-75669 theme_boost: Refactor dropdowns positioning classes
- Replace .dropdown-menu-[left|right] with .dropdown-menu-[start|end].
2025-02-14 09:10:33 +01:00
Mikel Martín
59bc788992 MDL-75669 theme_boost: Upgrade Boostrap to v5.3
- Follow upgrade steps
- Fix some SCSS to avoid CSS compilation errors.
2025-02-14 09:10:32 +01:00
Mikel Martín
2c9e46e4f7 MDL-75669 theme_boost: Remove BS5 bridge 2025-02-14 09:10:32 +01:00
David Woloszyn
c5fb5fcb5f MDL-84125 tiny_premium: Add premium accessibility checker plugin 2025-02-14 13:16:33 +11:00
Jun Pataleta
77a7d81290
weekly release 5.0dev 2025-02-14 09:53:24 +08:00
Jun Pataleta
7e3d9ef895
NOBUG: Add upgrade notes 2025-02-14 09:53:24 +08:00
Jun Pataleta
75b3fd36af
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install 2025-02-14 09:53:10 +08:00
ferran
61ec2a5c68 MDL-84208 course: update default completion form template 2025-02-13 17:05:50 +01:00
ferran
cfa13aa912 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.
2025-02-13 17:05:50 +01:00
Paul Holden
e38045d10e
MDL-84528 tag: define missing language string for related tags area. 2025-02-13 15:02:51 +00:00
Pedro Jordao
03ee5f8c2c 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.
2025-02-13 02:22:22 -03:00
Huong Nguyen
c8f0232170 Merge branch 'MDL-83579' of https://github.com/paulholden/moodle 2025-02-13 11:11:19 +07:00
Jun Pataleta
abcc187d30
Merge branch 'MDL-84245' of https://github.com/ssj365/moodle 2025-02-13 11:57:16 +08:00