Ryan Wyllie
7b8d852929
MDL-65896 core: more IE11 fixes for emoji picker
2019-10-24 10:41:52 +08:00
Ryan Wyllie
628b4ca262
MDL-65896 core: fix emoji picker IE11 support
2019-10-23 15:25:27 +08:00
Jun Pataleta
b6fcec009e
Merge branch 'MDL-65896-master' of https://github.com/ryanwyllie/moodle
2019-10-23 11:13:27 +08:00
Ryan Wyllie
e0d798477a
MDL-65896 core: add emoji data to thirdpartylibs
2019-10-23 10:59:59 +08:00
Ryan Wyllie
75962db917
MDL-65896 core: create emoji auto complete
2019-10-23 10:59:59 +08:00
Ryan Wyllie
db65ba4564
MDL-65896 core: create emoji picker
2019-10-23 10:59:58 +08:00
Ryan Wyllie
a81651afa1
MDL-65896 javascript: add throttle and debounce util functions
2019-10-17 13:51:05 +08:00
Paul Holden
9cbeaec26f
MDL-63125 forms: allow item removal from single-select autocomplete.
2019-10-14 17:07:59 +01:00
Jun Pataleta
fa278f052b
Merge branch 'MDL-66725-master' of https://github.com/snake/moodle
2019-10-09 10:31:18 +08:00
Adrian Greeve
8fec1626d0
Merge branch 'MDL-66477-master' of git://github.com/junpataleta/moodle
2019-10-02 16:15:13 +08:00
Jake Dallimore
9a820e0af9
MDL-66725 core: fix language in str.js
...
When ommitted from the get_string() or get_strings() calls, it should be
inferring from the page language.
2019-10-01 13:53:59 +08:00
Tim Schroeder
f8f04b773d
MDL-66542 lib: Fix quote escaping in JS quote helper
2019-09-30 10:09:07 +02:00
Ryan Wyllie
b17bb71e88
MDL-66477 javascript: add toggle functionality to drawer
2019-09-27 15:46:15 +08:00
Ryan Wyllie
6d9c93560b
MDL-66477 core: remove snakeCase block regions from drawer.mustache
2019-09-27 15:46:15 +08:00
Jun Pataleta
a2517225dc
MDL-66477 core: Create a generic drawer template
2019-09-27 15:38:54 +08:00
Eloy Lafuente (stronk7)
164597248c
Merge branch 'MDL-66293-master' of git://github.com/rezaies/moodle
2019-09-16 20:34:23 +02:00
Shamim Rezaie
74051d3b4b
MDL-66293 javascript: set maximum paging bar size to 10
2019-09-12 14:23:56 +10:00
Shamim Rezaie
ffa329986c
MDL-66293 javascript: Added support to set bar size for paging bars
2019-09-12 14:23:56 +10:00
Andrew Nicols
05abf2cf2f
MDL-65493 core: Add pendingJS around pubsub.publish
2019-09-06 08:40:56 +08:00
Jake Dallimore
2796356278
Merge branch 'MDL-66367_master' of git://github.com/markn86/moodle
2019-09-05 09:26:28 +08:00
Mark Nelson
af8a70756f
MDL-66367 core: don't cache templates if templaterev is invalid
2019-09-04 12:54:02 +02:00
Mark Nelson
9e5edc7f68
MDL-66367 core: use templaterev as the cache key when getting templates
2019-09-04 12:54:02 +02:00
Ryan Wyllie
3fb0cbd4bb
MDL-62284 javascript: prevent nested JS mustache handler calls
...
Prevent the JS mustache helper from being executed from within
the render call of another mustache helper because it can allow
users to inject JS into the page.
2019-09-04 11:22:51 +08:00
Andrew Nicols
6654ac1151
MDL-66312 js: Autocomplete promises were inside out
...
The pending promise should nott be resolved until the changes are
complete.
Previously the resolution of the pendingPromise was triggering the other
changes.
2019-08-16 11:40:16 +08:00
Jun Pataleta
30c8bf169e
Merge branch 'MDL-50346-master' of git://github.com/andrewnicols/moodle
2019-08-07 17:11:31 +08:00
Andrew Nicols
0261d1effa
MDL-50346 core: Allow sub-directories in template names
2019-08-07 11:44:49 +08:00
Sara Arjona
ab1fa2dbac
Merge branch 'MDL-63198-master' of git://github.com/rezaies/moodle
2019-08-07 11:07:50 +08:00
Shamim Rezaie
e75bf41538
MDL-63198 forms: click on scrollbar should not close the suggestions box
2019-08-05 13:13:45 +10:00
Eloy Lafuente (stronk7)
22c95e393a
Merge branch 'MDL-65766-master' of git://github.com/mihailges/moodle
2019-07-31 18:38:39 +02:00
Mihail Geshoski
3d980e5be7
MDL-65766 libraries: Upgrade WebRTC to 6.4.0
2019-07-29 09:05:01 +08:00
Tom Dickman
c0add7c713
MDL-64860 block_myoverview: added additional pagination options
...
Added additional pagination options based on the amount of courses the user is enrolled in.
This will allow the user to display all courses on one page if they wish, and scale based on their total
courses up to pages of 96 courses, now defaults to `All` if they have less than 12 courses and hides the
dropdown menu as there is only one choice.
2019-07-29 09:12:07 +10:00
Andrew Nicols
de2976e548
MDL-62497 js: Pass strings through get_string
2019-07-21 15:06:25 +08:00
Ryan Wyllie
6466e89946
MDL-62497 javascript: rewrite core/str using ES6 syntax
2019-07-19 14:12:49 +08:00
Ryan Wyllie
78610b53c7
MDL-62497 javascript: fix truncate.js
...
There was some code in the charLengthAt function which was requiring
that the "this" context not be null however it was unnecessary
because it never uses "this" and for some reason it was being set to
null after the ES6 transpiling.
2019-07-19 14:12:49 +08:00
Ryan Wyllie
195ea4480b
MDL-62497 javascript: build AMD modules with new transpiler
2019-07-19 14:12:49 +08:00
Andrew Nicols
e2142cec0c
Merge branch 'MDL-65757-master' of git://github.com/lameze/moodle
2019-07-18 09:20:38 +08:00
Andrew Nicols
3e35647f3f
Merge branch 'MDL-65751-master' of git://github.com/mihailges/moodle
2019-07-17 15:22:27 +08:00
Andrew Nicols
d744d8fd2c
Merge branch 'MDL-65758' of git://github.com/Chocolate-lightning/moodle
2019-07-17 15:20:15 +08:00
Mihail Geshoski
a6c735031a
MDL-65751 lib: Replace deprecated jQuery functions
2019-07-17 09:59:44 +08:00
Andrew Nicols
c8898e74a1
Merge branch 'MDL-65794_master' of git://github.com/markn86/moodle
2019-07-16 14:26:55 +08:00
Mark Nelson
e81107fa25
MDL-65794 core: use themerev as the cache key when getting font icons
2019-07-16 14:23:34 +08:00
Mark Nelson
76669f0f51
MDL-65794 core: use langrev as the cache key when getting strings
2019-07-16 14:23:34 +08:00
Mark Nelson
3f7360f07d
MDL-65794 core: use themerev as the cache key when getting templates
2019-07-16 14:23:34 +08:00
Mark Nelson
6a1ad7c677
MDL-65794 core: allow ajax calls to specify a cache key
...
This allows for better caching capabilities on servers. If a
cache key is passed and the web service call does not require
the user to be logged in we will attempt to use GET for the
request. This allows for things like proxy caching on URLs.
The cache key must be changed if we do not want to retrieve
what has been cached and want to perform the request again.
2019-07-16 14:23:34 +08:00
Andrew Nicols
ce4e052209
Merge branch 'MDL-60013-master' of git://github.com/junpataleta/moodle
2019-07-16 14:21:18 +08:00
Jun Pataleta
c5681f7ff1
MDL-60013 amd: Final removal of core/modal_confirm
2019-07-15 13:37:01 +08:00
Jun Pataleta
05b25140d0
MDL-65928 core: Use 'starts with' for non-exact toggle group matching
...
* Use the 'starts with' selector when matching toggle groups by name in
non-exact mode to avoid potential conflicts with other toggle groups.
* Note down the required data attributes for JS in the template
documentations.
* Add a note of this output component in upgrade.txt.
* Add doc blocks for the core/checkbox-toggleall attributes and methods.
2019-07-12 16:33:29 +08:00
Jun Pataleta
5943fc3f95
MDL-65928 core: Render master element as button too
2019-07-12 14:36:35 +08:00
Jun Pataleta
0a3d306358
MDL-65928 core_amd: Let checkboxes belong to multiple toggle groups
2019-07-12 14:36:35 +08:00
Jun Pataleta
686ab8cc74
MDL-65928 core_amd: Add support for action elements
...
Enable/disable action elements that are associated with the toggle
group.
2019-07-12 14:36:35 +08:00