Eloy Lafuente (stronk7)
036b1beb49
Merge branch 'MDL-68677-master' of git://github.com/andrewnicols/moodle
2020-05-15 01:58:41 +02:00
Sara Arjona
ccc7a30b3e
Merge branch 'MDL-68200-master-take2' of git://github.com/rezaies/moodle
2020-05-14 13:10:01 +02:00
Andrew Nicols
84d8b45fdf
MDL-68677 core: Enable prefetching when cachejs is disabled
...
With the templaterev issue resolved we should enable the prefetch module
when cachejs is enabled to avoid a different experience when cachejs is
enabled vs. disabled.
Previously there was little point in doing this due to a range of other
bugs (string normalisation, and misuse of templaterev).
With these issues resolved we should enabel the caching.
2020-05-14 14:10:55 +08:00
Andrew Nicols
b9dec51ab4
MDL-68677 core: Correct usage of templaterev for caching templates
...
The M.cfg.templaterev variable should only be used to present persistent
caching, not caching of content within the same page load.
Preventing caching of same-page content makes it difficult to develop
for real user experiences as content is slow to load and does not give a
realistic and consistent loading experience.
This change affects the loading of partials specifically which notably
includes the loading spinner. Without this patch the loading icon is
often not seen at all because it does not load in a timely fashion and
the content being loaded is loaded first.
2020-05-14 14:10:55 +08:00
Jun Pataleta
2a202f3b97
Merge branch 'MDL-68529' of https://github.com/Chocolate-lightning/moodle
2020-05-14 12:51:35 +08:00
Mathew May
f2d033a2bb
MDL-68529 course: Refactor chooser to include loading
2020-05-12 16:59:54 +08:00
Jun Pataleta
e21252b309
MDL-68200 core: Support fixday/hour for core/user_date's get() method
2020-05-12 10:59:02 +10:00
Shamim Rezaie
127f69d3fe
MDL-68200 core: Add calendartype param to user_date.loadDatesFromServer
2020-05-12 10:59:02 +10:00
Andrew Nicols
f879cc518e
MDL-66109 js: Build changes for NodeJS upgrade
...
This change includes a build to fix all minified file changes in Moodle
as a result of upgrades to our build process.
2020-05-11 10:55:54 +08:00
Andrew Nicols
9b7e6e9c6c
MDL-66109 js: Built file changes from new Node version
2020-05-11 10:53:35 +08:00
Jun Pataleta
6a71bccfea
Merge branch 'MDL-68524-master' of git://github.com/andrewnicols/moodle
2020-05-05 10:50:09 +08:00
Andrew Nicols
a427a48c10
MDL-68524 core: Prefetch modal registry templates
2020-05-05 10:16:10 +08:00
Andrew Nicols
983baf4e34
MDL-68524 js: Add prefetch module
2020-05-05 10:16:10 +08:00
Andrew Nicols
67774a9567
MDL-68409 js: Convert cancel modals to ES6
2020-05-04 15:08:11 +08:00
Andrew Nicols
9050f3f17e
MDL-68409 js: Convert alert and confirmation dialogues to use modal
2020-05-04 15:08:10 +08:00
Andrew Nicols
e8df743b3b
MDL-68409 js: Convert core/notification to ES6
2020-05-04 15:07:49 +08:00
Andrew Nicols
b810c84f2b
MDL-68409 js: Add Alert modal
2020-05-04 15:07:49 +08:00
Andrew Nicols
fc3d7d693a
MDL-68409 js: Fix eslint failure in modal
2020-05-04 15:07:48 +08:00
Andrew Nicols
92810f7af9
MDL-68409 js: Add setButtonText modal helper
2020-05-04 15:07:48 +08:00
Andrew Nicols
fa6101ba27
MDL-68409 js: Add helper to register close event on save/cancel
2020-05-04 15:07:48 +08:00
Andrew Nicols
8d186121ab
Merge branch 'MDL-57680' of https://github.com/timhunt/moodle
2020-05-01 11:00:19 +08:00
Andrew Nicols
cb8ad9c76e
Merge branch 'MDL-68378-master' of git://github.com/rezaies/moodle
2020-04-29 08:19:09 +08:00
Tim Hunt
be612e5f68
MDL-57680 form autocomplete: fix triggering change event
2020-04-26 13:23:42 +01:00
Tim Hunt
588b86fd49
MDL-57680 form autocomplete: let singleselects be cleared.
...
This was already working after ajax had refreshed the choices, it was just
broken on first page load.
2020-04-26 13:23:42 +01:00
David Thompson
5bc86614a2
MDL-68477 libraries: support for Chart.js legend options.
2020-04-23 09:23:21 +08:00
Shamim Rezaie
505cc918b7
MDL-68378 lib: Added accessibleChange custom event
2020-04-22 04:16:44 +10:00
David Thompson
ab0d409991
MDL-68386 libraries: Enhancement for Area Charts support with chart.js.
2020-04-17 09:12:41 +12:00
Adrian Greeve
50dbf7e9c8
Merge branch 'MDL-68196-master' of git://github.com/rezaies/moodle
2020-04-16 10:55:11 +08:00
Shamim Rezaie
517e568e5a
MDL-68196 core: not expand autocomplete elements too soon on IE
2020-04-16 12:25:37 +10:00
Jun Pataleta
9183c0c91a
MDL-67663 core: Do not use aria-hidden="false" on drawer
...
From https://www.w3.org/TR/wai-aria-1.1/#aria-hidden :
* "aria-hidden="false" is known to work inconsistently in browsers"
2020-04-09 17:50:09 +08:00
Andrew Nicols
604887ce8f
MDL-67827 behat: Pending JS improvements for dialogues
2020-03-06 12:59:38 +08:00
Mathew May
e6a5298394
MDL-67264 lib modal: Add deffered promises to content promises
2020-02-13 09:15:41 +08:00
David Mudrák
7630b42232
MDL-67447 form: Fix the duplicate autocomplete selection node
...
When the autocomplete selection is updated, the content of the selection
wrapper is replaced with the new list of selected items. We must replace
only the content of the selection wrapper and not to nest it into
itself.
2020-01-25 05:39:01 +01:00
Andrew Nicols
1bb7d46966
Merge branch 'MDL-67378-master' of git://github.com/rezaies/moodle
2020-01-08 11:11:45 +08:00
Andrew Nicols
bc47535677
Merge branch 'MDL-67376-master' of git://github.com/rezaies/moodle
2020-01-08 10:40:25 +08:00
Jun Pataleta
53384db822
Merge branch 'MDL-63996-master' of git://github.com/andrewnicols/moodle
2019-12-31 15:19:24 +08:00
Eloy Lafuente (stronk7)
077fa38a32
Merge branch 'MDL-67381-master' of git://github.com/rezaies/moodle
2019-12-18 16:19:57 +01:00
Andrew Nicols
0bc0fa8795
MDL-63996 core/tags: Pending JS for all tag code
2019-12-18 12:02:40 +08:00
Shamim Rezaie
c1c74c7562
MDL-67378 libraries: Add Moodle modifications for Mustache
2019-12-16 18:54:06 +11:00
Shamim Rezaie
ce05b89997
MDL-67378 libraries: Upgrade mustache.js to 3.1.0
2019-12-16 18:52:14 +11:00
Shamim Rezaie
4bee39d31c
MDL-67376 libraries: Upgrade loglevel.js to version 1.6.6
2019-12-11 21:28:52 +11:00
Shamim Rezaie
4fa17ba99b
MDL-67381 lib: Upgrade to 7.3.0
2019-12-09 20:28:25 +11:00
Frédéric Massart
ef1a9a2135
MDL-67434 javascript: Use static get_string after recycling promise
2019-12-09 10:04:18 +08:00
Andrew Nicols
04e67878f9
MDL-67285 core: YUI dialogues must use focuslock
...
YUI Dialogues were using an older method for locking focus to modals,
but this way conflicts with the way in which we lock focus for AMD
modules.
As a result, when an AMD dialogue launches a YUI dialogue the focus is
not correctly locked and it is not possible to focus on anything in the
YUI dialogue.
This includes a minor changes to the focuslock AMD module to ensure that
it is possible to loop the focus in both directions. Many of our older
YUI dialogues are themselves focusable. As a result we need to include
the lock region in the calculation when calculating the possible
descendants.
If we do not do so then the reverse looping does not work.
2019-11-19 07:40:36 +08:00
Andrew Nicols
c50bc1bf7c
MDL-67207 core: Use focus lock manager in modals
2019-11-13 14:30:54 +08:00
Andrew Nicols
dcdcc12cb2
MDL-67207 core: Add new ARIA focus locker
...
This is based on code and examples provided in the ARIA specification
https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html
2019-11-13 14:30:32 +08:00
Jun Pataleta
2e809ec27c
Merge branch 'MDL-66893-master-3' of https://github.com/ryanwyllie/moodle
2019-11-08 11:59:44 +08:00
Ryan Wyllie
035bd996cb
MDL-66893 mod_forum: show expand conversation in nested view
2019-11-07 14:53:37 +08:00
Andrew Nicols
b655690b04
MDL-67074 forum: Add a new toast region when in full screen mode
2019-11-05 12:10:51 +08:00
Andrew Nicols
224ea04e68
MDL-66828 core: Add toast-style notifications
...
Part of MDL-66074
2019-10-30 10:23:41 +08:00