80685 Commits

Author SHA1 Message Date
Mark Nelson
49aaadc3fb MDL-54687 core_message: corrected return type of webservices
Also minor tidy up of docs.
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
Mark Nelson
ef735275de MDL-54687 core_message: removed 'conversationsselected' variable 2016-10-07 16:26:40 +08:00
Ryan Wyllie
efa079072c MDL-54698 message: change preferences to on/off text 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
065fd12021 MDL-54687 core_message: changed outder div's CSS class 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
24a76780f6 MDL-54708 message: add renderer for get_popup_notification 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
1e5f751ffc MDL-54687 core_message: moved renderables to 'messagearea' namespace 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
90525930e5 MDL-54687 core: added prependNodeContents() to the AMD templates module 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
b6cd1c1151 MDL-54698 message: combine message preferences into single table 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
00d80c7e4a MDL-54687 core_message: decreased size of messaging area 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
e48a092a40 MDL-54698 message: add context to preferences templates 2016-10-07 16:26:40 +08:00
Ryan Wyllie
5ee31614c7 MDL-54698 message: split message preference page into renderables 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
eda6bc19e6 MDL-54701 message: added isread to data_for_messagearea_conversations 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
540fec1e86 MDL-54701 message: allow relativeUrl to take params 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
607454d6f3 MDL-54708 message: change popover processor to nav bar notification 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
3274d5ca66 MDL-54708 message: add backend APIs for notifications popover 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
f7775c9a0c MDL-54687 core: added appendNodeContents() to the AMD templates module 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
34c2f34762 MDL-54687 core_message: added userid parameter for altering contacts 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
Mark Nelson
879e2bef23 MDL-54687 core_message: created page for new messaging interface
This commit introduces the templates, renderer and initial API
that will be used for further development.
2016-10-07 16:20:51 +08:00