Mathew May
ee94aded30
MDL-63261 messaging: Final 3.6 deprecations
2020-09-07 09:10:46 +08:00
Adrian Greeve
b713aa80b4
Merge branch 'MDL-68423-master' of git://github.com/ferranrecio/moodle
2020-08-13 11:02:04 +08:00
Ferran Recio
1d8cbfb81b
MDL-68423 message: avoid self-xss when send a message
2020-07-20 19:48:17 +02:00
Andrew Nicols
7cc18dc2ad
MDL-68390 js: Update to use Aria mod
2020-07-15 14:40:49 +08:00
Andrew Nicols
c225a42c19
Merge branch 'MDL-67700-master' of git://github.com/ferranrecio/moodle
2020-05-22 10:51:31 +08:00
Ferran Recio
778846987a
MDL-67700 message: prevent async loading conversation message mix
2020-05-21 18:02:42 +02:00
Bas Brands
92bc86e429
MDL-68299 theme_boost: theme updates for accessible zoom
...
The Moodle UI should be functional in a viewport of 320px by 256px to
meet WCAG 1.4.10
this patch contains improvements to:
-prevent horizontal scrolling
-better wrapping of page header
-message drawer funtional on tiny screens
-remove indenting on courses
-prevent elements overlapping on quiz editing
-better navigation tabs
-fix colour picker
-quiz editing
2020-05-19 10:13:20 +02:00
Ferran Recio
99374e7e14
MDL-67700 message: correcting conversation timer reset
2020-05-19 08:38:26 +02: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
Andrew Nicols
7be118e265
Merge branch 'MDL-67881-master' of git://github.com/bmbrands/moodle
2020-05-05 11:17:33 +08:00
Jwalit Shah
d743aaf262
MDL-66035 message: Restore missing message preferences files
2020-04-27 09:48:41 +10:00
Bas Brands
45decc81c4
MDL-67881 core_message: fix tab order for message drawer
2020-04-20 11:37:34 +02:00
Andrew Nicols
56bcfae31f
MDL-66607 message: Add pendingJS checks
2020-03-11 16:23:16 +08:00
Andrew Nicols
efeaa51edc
MDL-66607 message: Resolve race conditions in message deletion process
...
This commit makes several changes:
1) Explicitly stop polling for messages when a conversation is deleted;
2) Check for deleted conversations when displaying new messages;
3) Do not add a new empty conversation; and
4) Introduce pendingJS checks to ensure that Behat waits for messags to finish rendering.
2020-03-11 16:23:16 +08:00
Jun Pataleta
fb31e3da0b
MDL-67862 message: Render dialogue header only when necessary
2020-02-10 13:08:31 +08:00
Jake Dallimore
4e80934653
MDL-67637 core_message: only preview lastmessage text if safe to do so
...
If any html/script tags are found in the text() value, don't display it.
2020-01-08 12:31:09 +01: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
4060fcc662
MDL-65896 admin: add admin setting to show emoji picker
...
Added an admin setting to show/hide the emoji picker in messaging
because some versions of MySQL don't have full unicode support so
emojis won't save in the dabase.
If we detect that the site is running an unsupported version of MySQL
then the setting can not be enabled. Instead the admin will see a
message explaining that they will need to upgrade their database
before they can enable the emoji picker.
2019-10-23 10:59:59 +08:00
Ryan Wyllie
9f536ec696
MDL-65896 message: add emoji auto complete to message app
2019-10-23 10:59:59 +08:00
Ryan Wyllie
8f80d18766
MDL-65896 message: add emoji picker to message app
2019-10-23 10:59:58 +08:00
Jake Dallimore
3f7382aa73
MDL-66912 core_message: improve media matching js for content previews
...
Rather than matching 'src' string, use a dummy node and check for a src
attribute.
2019-10-15 14:37:51 +08:00
Jun Pataleta
c2e4e6d588
Merge branch 'MDL-66226-master-2' of https://github.com/snake/moodle
2019-10-15 11:56:05 +08:00
Michael Hawkins
fb599f32d6
MDL-66076 message: Add copy of template plus JS comment fix
2019-10-11 11:09:50 +08:00
Shamim Rezaie
8ffe06b9aa
MDL-66298 javascript: Introduced new core AMD for sending bulk messages
...
Part of MDL-66076.
2019-10-11 11:09:50 +08:00
Ryan Wyllie
7754fa54d6
MDL-66226 core_message: convert formatMessagePreview to async function
...
Uses the nicer syntax of sync/await, removing some of the promises
clutter.
2019-10-04 16:50:30 +08:00
Jake Dallimore
c11baac4b4
MDL-66226 core_message: wrap promise chains in pending for behat
...
Fixes random failures by forcing behat to wait for the pane to render.
2019-10-04 14:37:25 +08:00
Jake Dallimore
545e8988c3
MDL-66226 core_message: don't display html as text in overview section
...
Instead of displaying the source code, as text, display a content
indicator which tells the user what sort of content the message might
contain.
2019-10-04 14:34:19 +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
8aca1807ae
MDL-66477 message: Use the generic drawer for the message drawer
2019-09-27 15:38:54 +08:00
Andrew Nicols
11970d0a7f
MDL-65493 message: JS fixes for random behat fails
2019-09-06 08:40:56 +08:00
Adrian Greeve
9f236d63e6
Merge branch 'MDL-65093_master-deprecate' of git://github.com/markn86/moodle
2019-07-29 10:43:52 +08:00
Mark Nelson
386634bab3
MDL-65093 core_message: show 'OK' dialogue
2019-07-29 10:39:57 +08:00
Mark Nelson
90403c5d9d
MDL-65093 core_message: users can't block any user they want
...
If blocking will have no effect (ie. you are attempting to block
the admin) the 'Block' button will not be shown and instead a
message will be shown explaining why you can not block the user.
2019-07-29 10:39:57 +08:00
Jake Dallimore
1f16f4115d
Merge branch 'MDL-65219-master' of https://github.com/ryanwyllie/moodle
2019-07-26 15:20:10 +08:00
Ryan Wyllie
6cb33ce774
MDL-65219 message: add message/pendingcontactrequests.php page back
...
We previously had this page when contact requests were first introduced
and unfortunately we created a bunch of notifications that reference
this URL directly which now won't work because the page has been removed.
I've added it back but set it to redirect to the message/index.php page
and load the contact requests page there.
2019-07-23 11:37:55 +08:00
Ryan Wyllie
195ea4480b
MDL-62497 javascript: build AMD modules with new transpiler
2019-07-19 14:12:49 +08:00
Ryan Wyllie
18cb44460b
MDL-64002 message: add error handling for failed messages
...
Add inline error messages when messages fail to send. Also add
support for deleting messages that failed to send.
2019-07-09 13:49:24 +08:00
Ryan Wyllie
485ebc9b67
MDL-64002 message: buffer send messages in UI for slow connections
2019-07-05 10:10:08 +08:00
Mark Nelson
a9fd9c7909
MDL-65101 core_message: 'canmessage' should trump 'requirescontract'
2019-06-28 14:58:24 +08:00
Jake Dallimore
3d9ffc97c6
Merge branch 'MDL-65657-master' of https://github.com/ryanwyllie/moodle
2019-05-27 13:22:45 +08:00
Ryan Wyllie
8be24909bc
MDL-65657 message: revert polling timeout back to old algorithm
2019-05-27 11:57:22 +08:00
Ryan Wyllie
2d2dfb6ed9
MDL-65060 core_message: add render buffer to conversations
...
Change the conversation logic to render using a buffer so that we can
immediately save state. The render patches are based on the state so
the UI will always reach eventual consistency with the state since the
patches are processed in order.
2019-05-22 18:59:58 +02:00
cescobedo
37a653cff9
MDL-65132 core_message: Update message drawer to delete message for all
...
Update JS message drawer to allow delete message for all showing a new
checkbox in the confirm dialogue.
2019-05-06 09:48:26 +02:00
Jun Pataleta
6178721aa6
Merge branch 'MDL-65418-master' of https://github.com/ryanwyllie/moodle
2019-05-03 11:43:14 +08:00
Ryan Wyllie
9be6dc2de6
MDL-65134 core_message: Introduce event specific function
...
Introduced an event specific formatting function.
Additional catch on render fn calls
2019-05-01 19:46:52 +08:00
Ryan Wyllie
f2b65126bc
MDL-65418 message: remove use of IE11 incompatible function in JS
2019-05-01 13:21:49 +08:00
Peter
d4b1eee6ee
MDL-65134 core_message: Rerender the message with the updated last msg
...
* When a new last message we need to reorder the messages within the
message list. Call render for this.
* Standardize the cached items
* Delete cached entries on clear
2019-04-24 17:46:16 +08:00
Eloy Lafuente (stronk7)
b780451d9f
Merge branch 'MDL-65254-master' of git://github.com/cescobedo/moodle
2019-04-23 13:42:08 +02:00
Adrian Greeve
8c67db30a6
Merge branch 'MDL-64017_master' of git://github.com/markn86/moodle
2019-04-18 16:18:22 +08:00