Commit Graph

192 Commits

Author SHA1 Message Date
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
Mark Nelson
2be15a66c4 MDL-54687 core_message: fixed lint errors 2016-10-07 16:26:40 +08:00
Ryan Wyllie
4d0fa50125 MDL-54687 message: messaging widget styling 2016-10-07 16:26:40 +08:00
Ryan Wyllie
fbdcd49993 MDL-54687 message: add keyboard navigation to message widget 2016-10-07 16:26:40 +08:00
Mark Nelson
ed6a141d5d MDL-54687 core_message: reduce amount of JS in templates 2016-10-07 16:26:40 +08:00
Ryan Wyllie
8c55bd6c34 MDL-54701 message: add message popover count and mark as read 2016-10-07 16:26:40 +08:00
Ryan Wyllie
34eb5fcb60 MDL-54698 message: move general settings from preference page 2016-10-07 16:26:40 +08:00
Mark Nelson
8ec78c48fa MDL-54687 core_message: added ajax scrolling for messages 2016-10-07 16:26:40 +08:00
Mark Nelson
9661810ea6 MDL-54687 core_message: added ajax scrolling for contacts 2016-10-07 16:26:40 +08:00
Mark Nelson
2a4bbaa3ff MDL-54687 core_message: added SELECTORS and EVENTS variables to tidy JS 2016-10-07 16:26:40 +08:00
Ryan Wyllie
a4a804b8f9 MDL-54698 message: add save/cancel button to processor popup 2016-10-07 16:26:40 +08:00
Ryan Wyllie
ada7695d7c MDL-54708 message: notification popover respects message preferences 2016-10-07 16:26:40 +08:00
Ryan Wyllie
643b015db2 MDL-54698 message: make processor settings dialogue 2016-10-07 16:26:40 +08:00
Ryan Wyllie
e9cce46cf0 MDL-54698 message: change preferences to checkboxes 2016-10-07 16:26:40 +08:00
Ryan Wyllie
195a683b27 MDL-54701 message: rename module imports in js 2016-10-07 16:26:40 +08:00
Ryan Wyllie
d4555a3d03 MDL-54701 message: renamed mdl-popover to popover-region 2016-10-07 16:26:40 +08:00
Mark Nelson
6b2657d981 MDL-54687 core_message: prefixed 'message_area' to JS and template files 2016-10-07 16:26:40 +08:00
Mark Nelson
b8a6beec40 MDL-54687 core_message: removed loading template 2016-10-07 16:26:40 +08:00
Ryan Wyllie
39986f5044 MDL-54698 message: split message preferences page js 2016-10-07 16:26:40 +08:00
Ryan Wyllie
c826fa230a MDL-54701 message: add user profile links to popovers
Make the user name link to the user's profile page for the message and
notification popovers.
2016-10-07 16:26:40 +08:00
Ryan Wyllie
9e8a29c95d MDL-54708 message: fix js module naming 2016-10-07 16:26:40 +08:00
Ryan Wyllie
406243381c MDL-54701 message: add message notification popover 2016-10-07 16:26:40 +08:00
Ryan Wyllie
c5dd16a111 MDL-54708 message: add ability to block popup notifications 2016-10-07 16:26:40 +08:00
Ryan Wyllie
a0eabdd3c8 MDL-54698 message: make preferences page ajax save 2016-10-07 16:26:40 +08:00
Ryan Wyllie
a0e358a64a MDL-54708 message: add notification popover to nav bar 2016-10-07 16:26:40 +08:00
Ryan Wyllie
12d8c7b222 MDL-54700 message: added toggle contact button to user profile 2016-10-07 16:20:51 +08:00
Mark Nelson
dec0cd9998 MDL-54687 core_message: added ability to delete conversations 2016-10-07 16:20:51 +08:00
Mark Nelson
16245a40b9 MDL-54687 core_message: added menu bar 2016-10-07 16:20:51 +08:00
Mark Nelson
e237d2bd39 MDL-54687 core_message: refactored JS
- Created smaller AMD modules to handle specific tasks.
- Used JS events to notify AMD modules when an action has happened.
- Used data-* selectors, rather than CSS selectors (and removed
  any unused CSS selectors).
- Minor changes to behaviour when sending and deleting messages.
- Added JSDocs.
- General improvements to JS.
2016-10-07 16:20:51 +08:00
Mark Nelson
3090f52f9d MDL-54687 core_message: added ability to delete messages 2016-10-07 16:20:51 +08:00
Mark Nelson
c6e97f5428 MDL-54687 core_message: added ability to view a contact's profile
Also added functionality to the profile page -

- View user's profile.
- Send the user a message.
- Block the user.
- Remove the user as a contact.
2016-10-07 16:20:51 +08:00
Mark Nelson
c060cd4904 MDL-54687 core_message: added ability to send messages 2016-10-07 16:20:51 +08:00
Mark Nelson
3cd13828ff MDL-54687 core_message: added ability to view messages 2016-10-07 16:20:51 +08:00
Mark Nelson
9aa012b5a1 MDL-54687 core_message: added ability to toggle between tabs 2016-10-07 16:20:51 +08:00