80685 Commits

Author SHA1 Message Date
Mark Nelson
658d0b2fd7 MDL-55770 core_message: remove the send message pop-up
Revert "MDL-48933 core_message: New dialog to send a message to a user"
Revert "MDL-48933 core_message: Behat tests to cover messenger dialogs"
2016-10-07 16:26:40 +08:00
Mark Nelson
5bf0ff278a MDL-55811 core_message: ensure contact always shown 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
a3e3a3a179 MDL-55637 core_message: create helper function for WS to define contacts 2016-10-07 16:26:40 +08:00
Ryan Wyllie
443dbb82b3 MDL-55571 message: change profile information to a list 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
d7d7ca2ea1 MDL-55754 core_message: fixed unread message count 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
Mark Nelson
ab95d755b4 MDL-55638 core_message: fixed contacts overflow CSS setting 2016-10-07 16:26:40 +08:00
Ryan Wyllie
09c3c73201 MDL-55570 message: replace online asterix with green dot 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
07adfdacd1 MDL-55542 message: update popover hover colours 2016-10-07 16:26:40 +08:00
Ryan Wyllie
b1e3f76150 MDL-55542 message: update hover colour for message interface 2016-10-07 16:26:40 +08:00
Ryan Wyllie
3a2b3bd97e MDL-55583 message: stop page reload when enter pressed in search 2016-10-07 16:26:40 +08:00
Ryan Wyllie
61868b7956 MDL-54687 message: add unread message count to conversations 2016-10-07 16:26:40 +08:00
Ryan Wyllie
c33b7d8913 MDL-54701 message: add unread message count to messages 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
Ryan Wyllie
b7e68d1059 MDL-54698 message: consolidate preference page checkbox styling 2016-10-07 16:26:40 +08:00
Mark Nelson
065ff1b0f2 MDL-54698 core_message: remove 'offline' checkbox for popup processor 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
Mark Nelson
e0c67b89cb MDL-54698 core: removed 'title-case' CSS usage and rule 2016-10-07 16:26:40 +08:00
Ryan Wyllie
7e12045152 MDL-54698 message: fix message preferences context blocknoncontacts 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
fe8664b1ef MDL-54698 message: update preference processor display names 2016-10-07 16:26:40 +08:00
Ryan Wyllie
14501b1c13 MDL-54698 message: add preferences pages to breadcrumbs 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
Damyon Wiese
14968ca9ac MDL-55567 messages: Use FORMAT_MOODLE as default for sending messages
This is like plain text, but it preserves new-lines and has some
other special features.
2016-10-07 16:26:40 +08:00
Damyon Wiese
edac7c8003 MDL-55541 messages: Always return at least a minimal record for a user
Messages allows anyone to find anyone on the site - even if they don't share any permissions
in a course. So we need to make at least their name and id discoverable.
2016-10-07 16:26:40 +08:00
Damyon Wiese
4131cf1d6f MDL-54687 messages: Fix height bug with auto-rows textarea
Firefox reserves height for the horizontal scroll bars in a textarea. This
mucks up the height calculations for this element. Prevent it with overflow-x.
2016-10-07 16:26:40 +08:00
Mark Nelson
358e66f913 MDL-54687 core_message: ensure messages wrap 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
8c250260e6 MDL-54687 message: show most recent conversation by default 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
bf58081d59 MDL-54687 core_message: return online status for messages and profile 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
Ryan Wyllie
358717d59e MDL-54708 message: style notification popover actions 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
Mark Nelson
2be15a66c4 MDL-54687 core_message: fixed lint errors 2016-10-07 16:26:40 +08:00
Mark Nelson
d9fad93dc5 MDL-54687 core_message: removed unused YUI module 2016-10-07 16:26:40 +08:00