Commit graph

7522 commits

Author SHA1 Message Date
Mikel Martín
ce1eefb979 MDL-76457 tool_usertours: Fix tour popovers in RTL 2023-11-10 12:57:23 +01:00
Mikel Martín
76b05082d6 MDL-76457 theme_boost: Fix bootstrap popovers in RTL
- Fix the arrow placement for bootstrap popovers in RTL mode.
- Remove unneded css parser workaround for popover arrows.
  After MDL-67386 was integrated those changes were not needed anymore.
2023-11-10 12:00:06 +01:00
Mikel Martín
8bca00cd59 MDL-78334 course: Deprecate .togglecompletion SCSS styles 2023-11-09 17:36:09 +01:00
Mikel Martín
eab94ea4c8 MDL-78334 core: Add a mechanism to deprecate SCSS code 2023-11-09 13:42:18 +01:00
Dominic Chin
5853645aa5 MDL-80035 theme_boost: Fix fourth argument of single_button constructor 2023-11-09 10:03:32 +11:00
Sara Arjona
2fc405aa35
Merge branch 'MDL-79629' of https://github.com/paulholden/moodle 2023-11-08 09:57:30 +01:00
Jun Pataleta
fdb78d6431
MDL-78425 admin: Point Clear theme caches to correct URL
* Plus remove unnecessary call to require_once() in theme/index.php
2023-11-08 10:16:35 +08:00
Jun Pataleta
1ad89120ab
Merge branch 'MDL-78425-master' of https://github.com/davewoloszyn/moodle 2023-11-08 10:14:11 +08:00
David Woloszyn
103c2bb512 MDL-78425 core_theme: Theme selection now uses cards and modal 2023-11-08 11:10:41 +11:00
Sara Arjona
48c4fe03c1
Merge branch 'MDL-79646' of https://github.com/paulholden/moodle 2023-11-06 12:45:54 +01:00
Mikel Martín
136fa1ef0c MDL-77805 reportbuilder: Improve filter dropdown UI
- Modify the filters dropdown UI to have a fixed height and inner scroll.
This will improve displaying long filter dropdowns.
- Modify the filters dropdown buttons to be always displayed sticked to the bottom.
- Clean unused styles in filters dropdown
2023-11-02 18:08:05 +01:00
Paul Holden
07bf09c063
MDL-79646 reportbuilder: transition effect after drag/drop in editor. 2023-11-02 14:58:52 +00:00
Paul Holden
aa304792f9
MDL-79629 reportbuilder: enhance condition/filter selection in editor.
Enhance the select element used for each with the autocomplete module.

Co-authored-by: Mikel Martín <mikel@moodle.com>
2023-11-02 14:50:10 +00:00
Mikel Martín
2ea44fb45e
MDL-79629 core_question: Improve autocomplete categories UI 2023-11-02 14:50:10 +00:00
Mikel Martín
e9afd7f072
MDL-79629 forms: Improvements to autocomplete form element
- Preserve autocomplete input options classes to the autocomplete suggestions
- Add new styles for suggestions headings
- Add a new class selector form-autocomplete-input so input can be easily selected
  for styling.

Various improvements to make the module more re-usable elsewhere:
change event bubbling, promise argument support when enhancing.

Co-authored-by: Paul Holden <paulh@moodle.com>
2023-11-02 14:50:10 +00:00
Ilya Tregubov
884efcabd2
Merge branch 'MDL-79337_master' of https://github.com/t-schroeder/moodle 2023-11-01 13:50:33 +08:00
Tim Schroeder
b6759e1986
MDL-79337 theme: removed unnecessary setuserpref 2023-10-31 16:58:24 +01:00
Jun Pataleta
c011fc194d
Merge branch 'MDL-79200' of https://github.com/paulholden/moodle 2023-10-27 23:42:07 +08:00
Jun Pataleta
a634f92b4d
Merge branch 'MDL-77804-master' of https://github.com/roland04/moodle 2023-10-27 23:37:00 +08:00
Paul Holden
259b8f2f97
MDL-79200 theme_boost: styling for medium size icon elements. 2023-10-20 13:52:37 +01:00
Paul Holden
5b50a15a9d
MDL-79783 theme_boost: remove form-check padding inside table cells. 2023-10-19 14:09:57 +01:00
Ilya Tregubov
1a884ac0f1
Merge branch 'MDL-79160-master' of https://github.com/danghieu1407/moodle 2023-10-12 09:43:16 +08:00
chen levy
370b349aa3 MDL-78103 theme: Fixed dropdown menu size by the content 2023-10-11 11:07:32 +07:00
Mikel Martín
c5ee19b29c MDL-77804 reportbuilder: Improve horizontal filter forms UI
- Separate Inline forms styles in a different section and improve them
- Re-organize the styles and comments to improve readability and mantainability
- Make defined variables overridable
2023-10-10 15:15:13 +02:00
Ilya Tregubov
f9d75f083f
Merge branch 'MDL-79570-master' of https://github.com/ferranrecio/moodle 2023-10-06 08:40:33 +08:00
Sara Arjona
1cdb5d2d20
Merge branch 'MDL-79599-master' of https://github.com/ferranrecio/moodle 2023-10-05 19:59:45 +02:00
Ferran Recio
2e1506f42c MDL-79570 theme_boost: fix drawers z-index
Drawers are floating elements that should cover the page content but not
the top navbar or the sticky footer. This patch gives the drawer a
consistent z-index of $zindex-fixed -1 as oposed to the $zindex-fixed
used in the rest of floating elements.

However, in mobile the drawers acts a standard web drawer, covering the
full page content, event the other floating elements. This is why in
mobile the z-index should be higher than $zindex-fixed.
2023-10-05 18:03:33 +02:00
Sara Arjona
1bb937140f
Merge branch 'MDL-79600-master' of https://github.com/roland04/moodle 2023-10-05 14:05:22 +02:00
Ferran Recio
28c7558884 MDL-79599 theme_boost: fix drawers in RTL 2023-10-05 13:44:38 +02:00
Mikel Martín
7e3c732d17 MDL-79600 course: Fix courseindex collapseall icon in RTL
- Add new fa-angles-{left|right|down|up} icons to the icon system
- Fix course index collapseall icon in RTL
2023-10-05 11:29:50 +02:00
danghieu1407
5174e4e36d MDL-79160 Question: Answer field overflows parent width with large size 2023-10-05 10:57:51 +07:00
Sara Arjona
9877a06246
Merge branch 'MDL-79551-master-rc' of https://github.com/junpataleta/moodle 2023-10-04 12:28:14 +02:00
Jun Pataleta
d5d7835a0a
MDL-79551 versions: Make CiBoT happy
* Use array short syntax for $plugin->dependencies
* Add trailing comma for multi-line $plugin->dependencies array
2023-10-04 14:04:29 +08:00
Jun Pataleta
94bc2cd38b
MDL-79551 versions: bump all versions and requires near release 2023-10-04 13:57:17 +08:00
David Woloszyn
7679452caf MDL-77846 core: Make endpoint revision number checks stricter
In some places we prevented cache poisoning, in others we did not. We
also did not place any restriction on the minimum value for a revision.

This change introduces a new set of functions for configonly endpoints
which validates the revision numbers passed in. If the revision is
either too old, or too new, it is rejected and the file content is not
cached. The content is still served, but caching headers are not sent,
and any local storage caching is prevented.

The current time is used as the maximum version, with 60 seconds added
to allow for any clock skew between cluster nodes. Previously some
locations used one hour, but there should never be such a large clock
skew on a correctly configured system.

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2023-10-04 01:24:19 +00:00
Ilya Tregubov
c80e366051
Merge branch 'MDL-79458-master' of https://github.com/ferranrecio/moodle 2023-10-02 13:30:07 +08:00
Sara Arjona
d5bf67a67a
Merge branch 'MDL-79499-master' of https://github.com/mihailges/moodle 2023-09-28 16:05:25 +02:00
Ilya Tregubov
4f6240f630
Merge branch 'MDL-79502-master' of https://github.com/roland04/moodle 2023-09-28 16:45:07 +08:00
Huong Nguyen
f61b060182
Merge branch 'MDL-78813-master' of https://github.com/mihailges/moodle 2023-09-28 12:01:25 +07:00
Mihail Geshoski
8b9efc3135 MDL-78813 gradereport_grader: Make the average row sticky again
After MDL-75762 the overall average row in the grader report
was no longer properly pinned and hidden behind the sticky footer.
This change ensures that the overall average row is pinned again
at the top of the sticky footer when vertically scrolling. Also,
leveragning on the new sticky footer 'toggled' event it is making
sure that the row is properly pinned on narrower screens where the
sticky footer appears and disappears dynamically when scrolling.
2023-09-27 10:02:03 +02:00
Ilya Tregubov
386f29a46d
Merge branch 'MDL-77708-master' of https://github.com/sarjona/moodle 2023-09-27 09:07:10 +08:00
Mikel Martín
fbc7a8f5f3 MDL-79502 courseformat: Fix completion button colour contrast 2023-09-26 16:51:06 +02:00
Mihail Geshoski
abfff66a86 MDL-79499 gradereport_grader: Pin properly the user name column
After modifying the 'overflow-y' css attribute of the #page element
in MDL-75762, the user name column is no longer properly pinned.
The existing 'top' css attribute on the column cells does not work
well with the newly assigned overlow on the #page element and
causes the columns to be partially cut off by the page when
scrolling horizontally. Re-adjusting the 'top' css attribute to '0'
solves this problem.
2023-09-26 15:27:11 +02:00
Ferran Recio
0184a477d5 MDL-79458 output: fix action menu subpanel behats 2023-09-26 13:22:51 +02:00
Sara Arjona
cc9430929d
MDL-77708 docs: Update references from docs.moodle.org/dev 2023-09-26 10:30:19 +02:00
Huong Nguyen
440bf51af2
Merge branch 'MDL-79444-master' of https://github.com/meirzamoodle/moodle 2023-09-25 15:24:47 +07:00
Shamim Rezaie
9e9dab8045 Merge branch 'MDL-79348-master' of https://github.com/roland04/moodle 2023-09-25 17:39:41 +10:00
Mark Johnson
0ac2936c11
MDL-74054 questions: Fix question bank header widths
Chrome ignores min-width on table headers with table-layout:fixed,
meaning that question bank headers could be resized so that the controls
were overlapping, and could be too narrow by default.

This removes min-width: min-content in the headers and instead uses
Javascript to calculate a constrain a min width based on the content of
the headers.
2023-09-22 22:52:36 +08:00
Mihail Geshoski
6a4cf000b3 MDL-77035 grades: Fix checkbox spacing to satisfy accessibility criteria 2023-09-22 11:29:53 +02:00
Mikel Martín
5a5c6ff179 MDL-79348 courseformat: Fix focus indicator of edit restrictions link 2023-09-22 08:34:24 +02:00