Mark Nelson
c57fadcc64
MDL-62808 core_message: fixed 'useridto' being incorrectly set to 0
2018-07-09 12:00:06 +08:00
Mark Nelson
883ce42127
MDL-36941 core: convert existing api to use new table structure
...
Also deprecated the following functions -
1. message_move_userfrom_unread2read - It is not necessary
for us to mark a message as read on user deletion.
2. message_get_blocked_users - Horrible logic used to
determine if a user is blocked via reference on some
randomly chosen 'isblocked' variable.
3. message_get_contacts - The same as above. This can be
done in a much nicer way.
4. message_mark_message_read - We want two functions to do
this to avoid confusing messages and notifications.
5. message_can_delete_message - This assumed the variable
$message contained the 'useridto' property, which
was present in the old table structure. We do not want
future usages where a query is done on the new table
and is simply passed as this won't contain this property.
6. message_delete_message - Same as above.
2018-03-23 12:30:27 +08:00
Marina Glancy
6e65554ea1
MDL-58010 user: allow to update only whitelisted user preferences
2017-03-10 18:04:47 +00:00
Mark Nelson
29c3b0b4d2
MDL-58014 core_message: fixed unread message count
2017-02-20 13:29:13 +08:00
Ryan Wyllie
b1e6f1a8fb
MDL-57370 message: deprecate message_get_recent_conversations
2017-02-07 01:40:47 +00:00
Mark Nelson
af5765b3fb
MDL-56139 core_message: removed unused constants
2016-11-16 10:22:52 +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
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