Damyon Wiese
c3e7274369
MDL-56025 messages: Reduce the height on short screens
...
On windows shorter than 670px reduce the height of the message area.
2016-11-07 14:41:21 +08:00
Simey Lameze
67c89858aa
MDL-56402 core_message: remove tabindex attr of not selected users
2016-11-01 15:49:16 +08:00
David Monllao
055cc7d037
Merge branch 'MDL-56252-master' of git://github.com/ryanwyllie/moodle
2016-10-24 10:25:32 +08:00
Mark Nelson
fcc13c6527
MDL-56380 core_message: prevent default behaviour for links
2016-10-20 16:36:59 +08:00
Ryan Wyllie
54d83992b4
MDL-56252 message: clean message text in message area
...
Remove the HTML tags from any message in the message area when updating
the last message on the contact otherwise the styling breaks and also
allows <script> tags to be added to the page.
2016-10-20 06:49:26 +00:00
Mark Nelson
c96717fcd9
MDL-54682 core_message: do not disable left panel when deleting messages
2016-10-13 19:32:12 +02:00
Dan Poltawski
412a4a6d8b
MDL-54682 message: fix eslint issues
2016-10-11 13:29:56 +01:00
Mark Nelson
d4b2c195e1
MDL-54682 core: build amd modules
2016-10-11 14:39:24 +08:00
Ryan Wyllie
f54a16fc73
MDL-56274 message: unlock tabs and search after delete all
2016-10-11 14:39:24 +08:00
Ryan Wyllie
641b36e2ab
MDL-56292 message: move notifications page into popup plugin
2016-10-11 14:39:23 +08:00
Ryan Wyllie
9f7b7b7c88
MDL-56292 message: fix style for notification popover and page
2016-10-11 14:39:23 +08:00
Ryan Wyllie
7d69958e6b
MDL-56292 message: move popover code into output plugin
2016-10-11 14:39:23 +08:00
Ryan Wyllie
5cdebf2d7e
MDL-56292 message: simplify get_popup_notifications function
2016-10-10 12:48:51 +08:00
Mark Nelson
de55cb1b53
MDL-56089 core_message: modified API so it is not tied to renderables
...
Also did some minor refactoring/tidying of the code.
2016-10-07 16:37:56 +08:00
Ryan Wyllie
a038fcf5d6
MDL-55635 message: create notifications page
2016-10-07 16:37:56 +08:00
Mark Nelson
c476de1872
MDL-55942 core_message: moved SELECTORS and EVENTS to modules
...
Also took this time to capitalise the local module names.
2016-10-07 16:37:56 +08:00
Mark Nelson
48e8bdba13
MDL-55942 core_message: renamed the term 'people' to 'user'
2016-10-07 16:37:56 +08:00
Mark Nelson
7b55aaa12e
MDL-55942 core: obey the mighty CiBoT
2016-10-07 16:26:40 +08:00
Mark Nelson
c598f278ca
MDL-55942 core_message: removed WS function core_user_update_user
...
This function was ignoring any capabilities and was only used to
update the preferences, but could be potentially used to update
any user attribute. A new WS function has been introduced to
handle user preferences with the necessary capability checks.
2016-10-07 16:26:40 +08:00
Ryan Wyllie
9d8f6f4af0
MDL-55972 message: confirmation modal when deleting conversation
2016-10-07 16:26:40 +08:00
Ryan Wyllie
eeee7bca80
MDL-55822 message: accessibility improvements for popovers
2016-10-07 16:26:40 +08:00
Ryan Wyllie
99c7f0a731
MDL-55801 message: responsive styling for message app
2016-10-07 16:26:40 +08:00
Ryan Wyllie
0b19d04836
MDL-55812 message: simplify notification popover items
2016-10-07 16:26:40 +08:00
Mark Nelson
30aac24d7a
MDL-55947 core_message: fixed order of notifications in popover
2016-10-07 16:26:40 +08:00
Mark Nelson
89a70ba1a5
MDL-55623 core_message: indicate who the message is from
2016-10-07 16:26:40 +08:00
Mark Nelson
10d38e66b1
MDL-55895 core_message: do not display whole conversation on page load
2016-10-07 16:26:40 +08:00
Mark Nelson
82073cb11d
MDL-55870 core_message: fixed order of conversations in popover
...
Also made changes to message_area_contacts.js as we can not
rely on the number of conversations being displayed for the
limit in our SQL, see MDL-55908.
2016-10-07 16:26:40 +08:00
Mark Nelson
dd0c1403a1
MDL-55637 core_message: display icon for blocked users
2016-10-07 16:26:40 +08:00
Mark Nelson
91ac67db9e
MDL-55774 core_message: ensure selectors are isolated
2016-10-07 16:26:40 +08:00
Mark Nelson
c9ead36a92
MDL-55582 core_message: show message when there are no search results
2016-10-07 16:26:40 +08:00
Ryan Wyllie
b6723f5b22
MDL-55595 message: fix message preferences for multiple processors
2016-10-07 16:26:40 +08:00
Mark Nelson
4d1b76ee36
MDL-55638 core_message: add message when there are no contacts
2016-10-07 16:26:40 +08:00
Ryan Wyllie
9d783a8d2c
MDL-55543 message: disabled search when deleting messages
2016-10-07 16:26:40 +08:00
Ryan Wyllie
59181e559c
MDL-55624 message: disable textarea when sending message
2016-10-07 16:26:40 +08:00
Ryan Wyllie
52fa054902
MDL-54708 message: remove user profile link from notifications
2016-10-07 16:26:40 +08:00
Ryan Wyllie
6af2bd0985
MDL-54682 message: update js to use data values in selectors
2016-10-07 16:26:40 +08:00
Mark Nelson
812cc6f63f
MDL-54698 core_message: moved 'disable/enable' notifications setting
2016-10-07 16:26:40 +08:00
Ryan Wyllie
c4624a76c9
MDL-54701 message: remove profile link from message popover
2016-10-07 16:26:40 +08:00
Ryan Wyllie
8c125526f1
MDL-54698 message: move notifications prefs into own page
2016-10-07 16:26:40 +08:00
Mark Nelson
bf4c393c09
MDL-55573 core_message: keep conversation and contact panels up-to-date
2016-10-07 16:26:40 +08:00
Mark Nelson
6c3b954114
MDL-54687 core_message: mark messages as read when viewing conversation
...
Also -
- Highlight a conversation when there are unread messages.
- Update the number in the message menu when conversation
containing unread messages is selected.
2016-10-07 16:26:40 +08:00
Damyon Wiese
eaabf0934a
MDL-55569 messages: Throw an error when the message fails to send
...
This shows an alert to the user to let them know something went wrong.
If debugging is 0 - the alert does not contain all the debugging stuff and looks OK.
2016-10-07 16:26:40 +08:00
Mark Nelson
dd06ca781a
MDL-54687 core_message: scroll to bottom of messages on page load
2016-10-07 16:26:40 +08:00
Mark Nelson
62e82a7df9
MDL-54687 core_message: prevent multiple sent messages
2016-10-07 16:26:40 +08:00
Ryan Wyllie
c1fec732c6
MDL-54687 message: add enter to send message
2016-10-07 16:26:40 +08:00
Ryan Wyllie
0ae7a72082
MDL-54687 message: adjust messages area height with response height
2016-10-07 16:26:40 +08:00
Mark Nelson
cd03b8d7f2
MDL-54687 core_message: added search functionality
2016-10-07 16:26:40 +08:00
Mark Nelson
d29cdf3a1f
MDL-54687 core_message: remove contact from DOM if no messages remain
2016-10-07 16:26:40 +08:00
Mark Nelson
6d3445de77
MDL-54687 core_message: removed unused function and data attribute
2016-10-07 16:26:40 +08:00
Mark Nelson
2c1b3775f0
MDL-54687 core_message: do not send message if it is empty
2016-10-07 16:26:40 +08:00