237 Commits

Author SHA1 Message Date
Mark Nelson
cb8057531f MDL-56871 core_message: fix inconsistent online status between panels 2016-11-23 16:32:46 +08:00
Mark Nelson
afa68a8174 MDL-57069 core_message: prevent past messages being loaded 2016-11-23 14:26:14 +08:00
David Monllao
8fb1b3bb68 Merge branch 'MDL-56391_master' of git://github.com/markn86/moodle 2016-11-23 09:49:03 +08:00
Dan Poltawski
73430100ff Merge branch 'MDL-57042-master' of git://github.com/damyon/moodle 2016-11-22 18:00:45 +00:00
Mark Nelson
9c6c29932a MDL-56391 core_message: addressed confusing links on the profile page
1) Use the string 'Send message' rather than 'View messages'.
2) Removed the 'View messages' string as it is no longer used
   and was introduced in the new messaging UI.
3) Removed the 'View profile' link and made the user's profile
   picture a link to their profile instead, this was only
   recently plausible because of MDL-57036.
2016-11-22 14:35:19 +08:00
Andrew Nicols
d10ca75b8c Merge branch 'MDL-56407-master-2' of git://github.com/junpataleta/moodle 2016-11-22 09:06:09 +08:00
Damyon Wiese
9741087ffd MDL-57042 messaging: When selecting a user, go to send message
This is the whole point of this UI - make it the default action after
searching and selecting a user. You can still get to their profile by
clicking their name in the header of the messaging pane.
2016-11-21 12:22:30 +08:00
Jun Pataleta
26dca05d02 MDL-56407 message: Indicate user is blocked in message area 2016-11-17 09:11:37 +08:00
Adrian Greeve
8151761378 MDL-56603 messaging: Add a new message link to popup.
Added a link to create a new message from the message
popup menu.
2016-11-16 14:51:17 +08:00
Mark Nelson
ffd7798c96 MDL-56139 core: changes after peer review
- No longer use the Fibonacci sequence for delaying the timeout.
  It is too aggressive.
- The backoff_timer AMD module now expects the callback AND the
  backoff function to be passed to the constructor.
- Added ability to specify polling frequency in config.php.
- Added helper function to return the cache key.
- Reworded the parameters for clarity.
2016-11-16 10:22:52 +08:00
Simey Lameze
b445f4b342 MDL-56696 message: link user full name to contact options 2016-11-07 14:35:13 +08:00
Simey Lameze
4a7fdb4abb MDL-56427 message: style fixes for notification and message preferences 2016-10-27 15:27:11 +08:00
Dan Poltawski
f07cb88c57 MDL-56448 mustache: fix json errors in example context 2016-10-26 12:35:45 +01:00
Ryan Wyllie
f5a174f451 MDL-56411 message: dont render message area without other user
Stop the message area header and footer from being rendered if there is
no other user being messaged, otherwise notices are generated and the
messages fail to send.
2016-10-18 02:00:09 +00:00
Ryan Wyllie
6b5d0e976a MDL-56087 message: change conversations to messages 2016-10-11 14:39:24 +08:00
Ryan Wyllie
963ba88970 MDL-56234 message: fix messaging UI in theme boost 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
14617a566b MDL-56292 message: mustache template docs 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
df9986c87f MDL-56292 message: split up preferences templates 2016-10-10 12:48:52 +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
48e8bdba13 MDL-55942 core_message: renamed the term 'people' to 'user' 2016-10-07 16:37:56 +08:00
Ryan Wyllie
7b477f5982 MDL-55813 message: add online/offline help icons on preferences page 2016-10-07 16:26:40 +08:00
Mark Nelson
ebf4e53209 MDL-55814 core_message: removed 'Web' notification hack
Reverts: MDL-54698 core_message: remove 'offline' checkbox
for popup processor
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
89a70ba1a5 MDL-55623 core_message: indicate who the message is from 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
Ryan Wyllie
443dbb82b3 MDL-55571 message: change profile information to a list 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
09c3c73201 MDL-55570 message: replace online asterix with green dot 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
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
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
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