Commit graph

302 commits

Author SHA1 Message Date
Ankit Agarwal
20ab51fdbc MDL-56409 messages: Save one db query per page load 2016-11-08 12:50:30 +05:30
Amanda Doughty
cc350fd9c8 MDL-47162 core_message: Add course id to message eventdata 2016-10-27 18:11:27 +02:00
Ryan Wyllie
0d602fdd37 MDL-56292 message: fix message_get_recent_conversations
Renamed the $user param to a more common pattern and removed the
readtable flags from the SQL, which are no longer required.
2016-10-10 12:48:52 +08:00
Mark Nelson
5b0769db68 MDL-54744 core_message: deprecated functions in message/lib.php
Also -

1) Made note of the deprecation as well as the functions and
   files that were removed earlier in upgrade.txt.
2) Added new functions to api.php to replace the deprecated ones
   that were being used in unit tests.
3) Removed files that are no longer being used.
2016-10-07 16:35:25 +08:00
Mark Nelson
7b55aaa12e MDL-55942 core: obey the mighty CiBoT 2016-10-07 16:26:40 +08:00
Mark Nelson
79f6c36c12 MDL-55942 core_message: moved added functionality from message/lib.php 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
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
d7d7ca2ea1 MDL-55754 core_message: fixed unread message count 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
8c55bd6c34 MDL-54701 message: add message popover count and mark as read 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
eda6bc19e6 MDL-54701 message: added isread to data_for_messagearea_conversations 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
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
34c2f34762 MDL-54687 core_message: added userid parameter for altering contacts 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
Mark Nelson
f3c0e69232 MDL-54687 core_message: removed 'message_print_*' functions 2016-10-07 16:20:51 +08:00
Cameron Ball
64e8311939 MDL-37138 message: Use blanktarget option for message text 2016-05-30 13:18:01 +08:00
dg711
c55494fef7 MDL-53207 message: display stock pic for msg from\to unreal user 2016-03-19 23:36:41 +05:30
Dan Poltawski
c116a115d9 Merge branch 'MDL-52928-master' of git://github.com/andrewnicols/moodle 2016-03-01 11:34:04 +08:00
dg711
88e1d0ed26 MDL-52892 message: users' pic overrides others
While listing the messages , the logged in users' profile pic used to
override over other users' pics .
2016-02-19 00:58:44 +05:30
Andrew Nicols
a0bc890ec5 MDL-52928 message: Correct contact fetching in recent conversations 2016-02-09 13:38:59 +08:00
Juan Leyva
ea21d6370f MDL-52570 message: Do not return deleted messages in WS 2016-01-07 12:10:32 +01:00
Mark Nielsen
e61a9638f1 MDL-52060 phpunit: Improve get_message_processors reset 2015-12-22 13:40:39 +08:00
Ryan Wyllie
cd0c9ac87d MDL-50426 message: optional permission check on message
Changed the messaging API to allow you to provide a parameter
that will cause the code to check if the sender of the message
has the correct permissions before the message is sent.

The ajax messaging (message button on profile page) has been
updated to perform these permission checks. This brings it
inline with the existing private message page.
2015-11-05 08:20:39 +00:00
Ben Kelada
42c0b0473c MDL-51673 messages: remove strict type check of int vs string 2015-10-16 12:33:18 -05:00
Mark Nelson
b5e617e245 MDL-51312 core: added message_deleted event 2015-09-24 15:13:42 -07:00
Mark Nelson
36d29c089c MDL-29801 core_message: added ability to delete messages
Thanks goes to Jetha for providing the HTML and CSS.
2015-09-02 01:31:17 -07:00
Marina Glancy
40e501284c MDL-50880 message: correctly compare with empty string
Thanks to David Herney Bernal for providing a fix
2015-08-19 16:01:42 +08:00
Andrew Nicols
1d1e95164d Merge branch 'MDL-50113-master' of git://github.com/jethac/moodle 2015-08-04 10:15:05 +08:00
Juan Leyva
013937907f MDL-42626 messages: Hide deleted users in contact/blocked list 2015-07-30 23:05:51 +02:00
Jetha Chan
3d16b203ad MDL-50113 message: improve display of long names 2015-07-29 11:31:09 +09:00
Frederic Massart
d9b5f9bb6c MDL-49960 message: Prevent coding error when getting recent convos 2015-04-23 12:08:33 +08:00
David Monllao
bdc83277a3 MDL-49371 core_message: Unused method deprecation 2015-03-04 09:36:22 +08:00
Brian Barnes
35fe9b8aa4 MDL-48060 messaging: Removed table from contact list 2015-03-02 09:04:04 +13:00
Andrew Nicols
3d9c8578f7 MDL-48108 message: Use sql_concat instead of sql_concat_join 2015-02-25 14:35:17 +08:00
Andrew Nicols
b5e9faa67e MDL-48108 message: Rewrite recent conversations 2015-02-24 09:38:50 +08:00
Frederic Massart
cf4a17cb9b MDL-48933 core_message: New dialog to send a message to a user 2015-02-02 11:03:38 +08:00
Brian Barnes
18d0acf8ca MDL-48423 messages: improved accessibility of contacts list 2014-12-18 10:56:19 +13:00
Brian Barnes
e19367db13 MDL-48041 messages: Removed HTML table around user images 2014-11-07 09:56:31 +13:00
Sam Hemelryk
be8989065c Merge branch 'MDL-46391-master' of https://github.com/DmitryNefedov/moodle 2014-10-08 10:45:23 +13:00
Sam Hemelryk
127ef54082 Merge branch 'MDL-45374' of git://github.com/jleyva/moodle 2014-10-06 10:44:30 +13:00
Juan Leyva
193edf7f77 MDL-45374 messages: Created new API function message_get_messages 2014-10-03 16:37:13 +02:00
Dmitry Nefedov
b34eb03bb5 MDL-46391 messages: Display search button under contact list.
Add search button to only Message navigation -> Contacts section.
2014-09-29 17:30:54 +08:00
Mark Nelson
cbfd685a7e MDL-45818 core_message: use system context if user no longer exists 2014-08-29 16:19:35 -07:00
Mark Nelson
e6aae58d0d MDL-45594 core_message: ordered recent notifications by timecreated 2014-07-23 16:39:02 -07:00