932 Commits

Author SHA1 Message Date
Jun Pataleta
198f0d26d8
Merge branch 'MDL-83502-main' of https://github.com/ferranrecio/moodle 2024-11-18 14:36:58 +08:00
Jun Pataleta
05c7d005c1
Merge branch 'MDL-72293' of https://github.com/paulholden/moodle 2024-11-07 11:59:41 +08:00
ferran
a4cf29974f MDL-83502 course: fix chrome file dropping in course page 2024-10-21 11:32:26 +02:00
Philipp Memmel
43073fcd27 MDL-82793 core: Make modal execute JS from template
Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2024-10-15 20:34:01 +02:00
Paul Holden
ef490ad60d
MDL-72293 javascript: emit native events from sortable list module.
Removes jQuery dependency from calling code that wants to listen for
these events. Maintains backwards compatibility with existing code
that does want to listen to jQuery-style events.
2024-10-10 15:16:36 +01:00
Huong Nguyen
c58fcff09d
Merge branch 'MDL-70180-main' of https://github.com/roland04/moodle 2024-10-08 09:34:10 +07:00
meirzamoodle
3229dda3d6 MDL-83332 core: Revert the slashargument removal on MDL-62640
Removing the option causes issues on MacOS.
2024-10-02 18:36:14 +07:00
Huong Nguyen
7c3c18c4e8
Merge branch 'MDL-62640-main' of https://github.com/meirzamoodle/moodle 2024-09-26 11:06:55 +07:00
Jose
3d1102607c
MDL-82298 navigation: Add setting data-disableactive on moremenu items
This setting will avoid conflicts between checkmark and
bfcache. The removed function added as part of the MDL-77732
is no longer required as the behaviour on the menu items (including the
secondary navigation) is not altered anymore by the menuItemHelper function
(menu_navigation file).
2024-09-25 22:29:35 +08:00
meirzamoodle
4d2ad0bff7 MDL-62640 core: Adjust code for slashargument removal 2024-09-25 08:30:18 +07:00
Bas Brands
98dedc46ee MDL-70180 theme_boost: Allow form autoselect modal overflow
Co-authored-by: Mikel Martín <mikel@moodle.com>
2024-09-23 15:06:22 +02:00
Ilya Tregubov
eecc29a6bf Merge branch 'MDL-82909' of https://github.com/paulholden/moodle 2024-09-19 15:08:12 +08:00
Mihail Geshoski
a8d3d64ae2 MDL-80750 core: Define deselect action in bulk actions subclasses
The base bulk actions class supports deselecting all selected items but
lacks knowledge of the element types. To enhance flexibility and
maintain the class's generic nature, this change introduces a mechanism
that allows each subclass to explicitly define how to reset the
attributes indicating a selected state.
2024-09-18 15:48:10 +08:00
Shamim Rezaie
35cabfcc7e MDL-80750 core: Use roving tabindex to manage focus for bulk actions
Implement roving focus for toolbars.
See https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/
2024-09-18 15:48:09 +08:00
Shamim Rezaie
6bc8bf6360 MDL-80750 core: Limit bulk action buttons in sticky footer to 5 2024-09-18 15:48:09 +08:00
Shamim Rezaie
b491cc3a49 MDL-80750 core: Maintain order of actions in renderBulkActions
The order of bulk actions was not preserved when rendering the bulk
actions content due to asynchronous operations. This fix ensures that
the actions are added to the `data.actions` array in the correct order
by using a temporary array to store the promises and then processing
them sequentially.

Also improved the JSDoc for better clarity on what the function returns
and what it resolves to.
2024-09-18 15:48:09 +08:00
Paul Holden
b181f297ce
MDL-82909 javascript: replace custom loading icon with existing module. 2024-09-15 11:11:37 +01:00
Ilya Tregubov
8a80fca393 Merge branch 'MDL-82547' of https://github.com/paulholden/moodle 2024-08-28 11:20:02 +08:00
Jake Dallimore
45faf93d87
Merge branch 'MDL-82778-main' of https://github.com/andrewnicols/moodle 2024-08-20 11:07:13 +08:00
Paul Holden
4f32fbffa2
MDL-82811 output: apply appropriate icon class in inplace editable. 2024-08-16 14:26:52 +01:00
Paul Holden
18be12c59d
MDL-82547 javascript: remove legacy jQuery inplace editable events. 2024-08-16 10:15:22 +01:00
Paul Holden
3a4c0f32b2
MDL-82547 javascript: convert to native inplace editable events. 2024-08-16 10:15:22 +01:00
Andrew Nicols
d85201adcb
MDL-82778 core: Update core/fetch module to use Class 2024-08-15 22:45:47 +08:00
Andrew Nicols
68dacb79dc
Merge branch 'MDL-80593-main-alt' of https://github.com/HuongNV13/moodle 2024-08-08 10:19:14 +08:00
raortegar
01fde971ad MDL-81718 core: Improve localstorage validation 2024-08-07 04:12:45 +00:00
Jun Pataleta
318e82d7cb
Merge branch 'MDL-79568' of https://github.com/paulholden/moodle 2024-08-06 17:20:35 +08:00
Andrew Nicols
fbca10b8f3
MDL-81031 core: Add core/fetch to query new WS layer 2024-08-06 16:01:07 +08:00
Paul Holden
9e2fdb7255
MDL-79568 javascript: remove lang parameter from legacy string calls. 2024-08-05 08:33:13 +01:00
Huong Nguyen
2464802b55
MDL-80593 core: Make Modal to work with Debug Template Info mode 2024-08-01 10:17:36 +07:00
Jun Pataleta
bc5a65e444
Merge branch 'MDL-70854-main' of https://github.com/junpataleta/moodle 2024-07-23 17:59:30 +08:00
Conn Warwicker
b92886ad59
MDL-70854 core: Add stored progress bars.
- Alters existing progress_bar class to support extension
    - Adds stored_progress_bar class as child of progress_bar
    - Adds webservice to poll stored progress
    - Updates database tables
    - Bumps version
    - Adds unit/behat tests
2024-07-23 17:58:53 +08:00
Daniel Ziegenberg
c3df4078e8
MDL-77167 javascript: Remove deprecation layer for YUI Events
The deprecation layer was introduced with MDL-70990.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-07-19 17:51:45 +02:00
Ilya Tregubov
201140e7dd Merge branch 'MDL-82167-main' of https://github.com/ferranrecio/moodle 2024-06-26 10:19:34 +08:00
Sara Arjona
8c3ef8d4cc
Merge branch 'MDL-81665' of https://github.com/paulholden/moodle 2024-06-19 17:08:43 +02:00
Sara Arjona
414c640655
Merge branch 'MDL-81659' of https://github.com/paulholden/moodle 2024-06-19 16:00:48 +02:00
ferranrecio
fc8dfda112 MDL-82167 core: fix reactive debug panel 2024-06-11 16:15:02 +02:00
Pedro Jordao
0fc14f9177 MDL-69514 Core: Close popover when modal is closed
Currently in Firefox, if we opened a popover that was inside a modal
and closed the modal by pressing the ESC key, the popover remained on
the screen. With this change, we will ensure that popovers are closed
when the modal is closed.
2024-06-10 10:48:08 -03:00
Paul Holden
d457009418
MDL-81659 libraries: upgrade to version 1.9.1 of loglevel. 2024-06-04 11:17:36 +01:00
Paul Holden
e08afd3cc6
MDL-81665 libraries: upgrade to version 15.1.2 of emoji-data. 2024-06-04 10:52:12 +01:00
Amaia Anabitarte
6a190959d4 MDL-77661 mod_data: Use danger button for reset templates modals 2024-04-23 13:17:52 +02:00
Jun Pataleta
e69f1b21dc
MDL-81556 core: Fix parameter ordering for prefetchString() 2024-04-16 17:05:23 +08:00
Huong Nguyen
fd38ce1210 MDL-78096 Javascript: core/dropzone improvement
core/dropzone now accepts custom label to display in the Dropzone
2024-04-04 15:31:08 +07:00
Jun Pataleta
281fecbd54
Merge branch 'MDL-78885-main' of https://github.com/rezaies/moodle 2024-03-25 23:37:57 +08:00
Huong Nguyen
c53fc0e0c9
Merge branch 'MDL-79829-main' of https://github.com/laurentdavid/moodle 2024-03-25 09:22:20 +07:00
Mathew May
68bf0f5b77 MDL-78885 comboboxsearch: Points from review 2024-03-22 05:50:06 +11:00
Shamim Rezaie
2ac9dc9108 MDL-78885 comboboxsearch: Deprecate trigger 2024-03-22 05:49:52 +11:00
Shamim Rezaie
1c377fc61e MDL-78885 comboboxsearch: Show x button when user search is not empty 2024-03-22 04:24:23 +11:00
Shamim Rezaie
50eeafeb7d MDL-78885 comboboxsearch: Improve user search and keyboard handling
- Prevent rerendering of the menu when it's already open to preserve the
  selected/highlighted option.
- Allow ArrowUp and ArrowDown to trigger the user search dropdown for
  improved keyboard navigation.

This commit ensures that the menu is not re-rendered when it's already
open, preserving the selected option to enhance the user experience.
Additionally, ArrowUp and ArrowDown keys now trigger the dropdown,
improving keyboard navigation and user interactions.
2024-03-22 04:24:20 +11:00
Shamim Rezaie
8e2555dc48 MDL-78885 comboboxsearch: Switch event listener from 'click' to 'change'
Move from listening to 'click' to listening to 'change'
2024-03-22 04:23:55 +11:00
Shamim Rezaie
bff7c88878 MDL-78885 comboboxsearch: .dropdown() calls should be on toggle element
Introduced the toggle property.
2024-03-22 04:23:26 +11:00