Juan Leyva
dcadc8c54c
MDL-65968 notifications: Use f1 size avatars for Push notifications
2019-09-17 16:29:02 +02:00
Juan Leyva
47138d9157
MDL-66244 message: Include group sender images in payload
...
Android 9 notifications now displays two image icons in conversations.
The group and the sender.
2019-08-28 10:33:59 +01:00
Adrian Greeve
9f236d63e6
Merge branch 'MDL-65093_master-deprecate' of git://github.com/markn86/moodle
2019-07-29 10:43:52 +08:00
Mark Nelson
66fffdbce5
MDL-65093 core_message: dont show users with cap as blocked
...
It is possible that before this patch the user blocked a
teacher from messaging them, even though this would have
no effect. It is also possible for a user to block a user,
then that user gets 'promoted' to a teacher role and the
block becoming ineffective. In these cases we dont show the
user's status as blocked.
2019-07-29 10:39:57 +08:00
Mark Nelson
90403c5d9d
MDL-65093 core_message: users can't block any user they want
...
If blocking will have no effect (ie. you are attempting to block
the admin) the 'Block' button will not be shown and instead a
message will be shown explaining why you can not block the user.
2019-07-29 10:39:57 +08:00
Mark Nelson
06d046c1ff
MDL-65093 core_message: deprecate can_post_message()
2019-07-29 10:39:57 +08:00
Ryan Wyllie
6cb33ce774
MDL-65219 message: add message/pendingcontactrequests.php page back
...
We previously had this page when contact requests were first introduced
and unfortunately we created a bunch of notifications that reference
this URL directly which now won't work because the page has been removed.
I've added it back but set it to redirect to the message/index.php page
and load the contact requests page there.
2019-07-23 11:37:55 +08:00
Eloy Lafuente (stronk7)
e867ffd689
Merge branch 'MDL-65344_master' of git://github.com/markn86/moodle
2019-06-05 21:06:15 +02:00
Ryan Wyllie
8be24909bc
MDL-65657 message: revert polling timeout back to old algorithm
2019-05-27 11:57:22 +08:00
Jake Dallimore
7918a0ea4c
MDL-65566 core_message: let get_self_conversation use lazy init too
2019-05-15 18:46:41 +08:00
Jake Dallimore
510ede5698
MDL-65566 core_message: fix bug allowing duplicate unique conversations
...
Individual and self conversations may exist once only, so we need to
enforce this in the creation method.
2019-05-15 18:46:39 +08:00
Sara Arjona
18e5f9bef8
MDL-65566 core_message: create the self-conversation when needed
...
Instead of creating all the self-conversations during the upgrading,
some code has been added to the get_conversations and to the
get_conversation_counts to create it whe it doesn't exist.
2019-05-15 18:42:46 +08:00
Jake Dallimore
a0523b826e
MDL-65313 core_favourites: component scoped deletion now requires itemid
...
This now requires itemid, which cannot be null. This is safer. The
context can still be passed in as an optional parameter.
2019-05-07 16:26:46 +08:00
Andrew Nicols
2daa199351
Merge branch 'MDL-65132-master' of git://github.com/cescobedo/moodle
2019-05-07 16:24:40 +08:00
cescobedo
d47e067184
MDL-65132 core_message: Added API to delete message for all users
2019-05-06 09:38:54 +02:00
Jake Dallimore
6421775ad2
MDL-65313 core_message: remove favourites when deleting a conversation
...
When deleting a conversation for all users (e.g. when deleting a group
which has a conversation), we need to remove any favourites.
2019-05-06 14:01:34 +08:00
Jake Dallimore
3edac09063
MDL-65169 core_message: user search respects profile visibility
...
Two modes of visibility checking are supported, depending on the value
of the 'messagingallusers' site setting (site-wide messaging):
- If site-wide messaging is enabled, a user may only be returned in
search results if the searching user can view their profile somewhere
(either the site profile or any course profile).
- If site-wide messaging is disabled, a user may only be returned in
search results if the searching user shares a course with them and can
view their course profile in the shared course.
2019-04-30 11:25:46 +08:00
Mark Nelson
57532ad680
MDL-65344 core_message: deprecate get_individual_conversations_between_users()
2019-04-30 10:35:55 +08:00
David Monllaó
b63c0b9079
Merge branch 'MDL-60680-master' of git://github.com/jleyva/moodle
2019-04-25 18:55:45 +02:00
Juan Leyva
a129ba04c4
MDL-60680 notifications: Support privacy API
2019-04-25 14:55:59 +02:00
Juan Leyva
2356454f21
MDL-60680 notifications: Include action buttons information
2019-04-25 14:55:57 +02:00
Juan Leyva
36fa0ec900
MDL-60680 notifications: Return custom data in notifications
2019-04-25 14:55:18 +02:00
Adrian Greeve
8c67db30a6
Merge branch 'MDL-64017_master' of git://github.com/markn86/moodle
2019-04-18 16:18:22 +08:00
Mark Nelson
d5d4a5aab2
MDL-64017 core_message: can specify conversation to view on index page
2019-04-18 14:28:09 +08:00
Adrian Greeve
862a9b1d60
Merge branch 'MDL-64715-master-self-starred-pr-ryan' of git://github.com/sarjona/moodle
2019-04-18 11:06:57 +08:00
Adrian Greeve
e16ab06b46
Merge branch 'MDL-64703-master' of git://github.com/bmbrands/moodle
2019-04-18 09:12:43 +08:00
Sara Arjona
734b198fd3
MDL-64715 message: add support for self conversations
...
Added new MESSAGE_CONVERSATION_TYPE_SELF type for self-conversations
and upgraded legacy self-conversations to the new type, removing
repeated members in the message_conversation_members table.
Besides, from now, a self-conversation will be created by default for
all the existing users.
All the self-conversations have been also starred and a default message
will be displayed always to explain how to use them.
2019-04-15 20:17:54 +02:00
Sara Arjona
2767426111
MDL-64715 message: avoid duplicate entries when searching messages
2019-04-15 14:29:10 +02:00
Bas Brands
7cbea16001
MDL-64703 core_message: 2 column message index page
2019-04-08 11:05:08 +02:00
cescobedo
3a5afbf5f1
MDL-65015 core_message: add trusttext cleaning to messaging
2019-04-07 10:56:53 +02:00
Mark Nelson
978f233b8b
MDL-64568 core_message: added new method to nuke conversations entirely
...
This method removes all data in the database related to a
given conversation.
2019-03-13 15:41:53 +08:00
Mark Nelson
00c5924546
MDL-64773 core_message: ensure existing APIs return muted status
2019-03-13 08:55:13 +08:00
Mark Nelson
1c36c11a18
MDL-64773 core_message: updated privacy provider
2019-03-13 08:55:13 +08:00
Mark Nelson
2687312b29
MDL-64773 core_message: added API to mute/unmute conversations
2019-03-13 08:55:13 +08:00
Mark Nelson
6408ea75ed
MDL-64333 core_message: add migration message to new UI
2019-03-06 17:26:15 +08:00
Andrew Nicols
3d122bd284
Merge branch 'MDL-63915_master' of git://github.com/markn86/moodle
2019-02-27 12:08:09 +08:00
Mark Nelson
6f9d34bd46
MDL-63915 core_message: 'message' link on profile opens drawer
2019-02-27 11:35:36 +08:00
Mark Nelson
fd998fc6f0
MDL-63915 core_message: add the UI to the message/index.php page
2019-02-27 11:35:36 +08:00
Mark Nelson
7ece4ca9da
MDL-63915 core_message: mark items that can be removed in MDL-63261
2019-02-27 11:35:36 +08:00
Mark Nelson
ee45ecc014
MDL-63915 core_message: remove use of renderable so we can nuke it
...
The other renderables in the same namespace are still used by
deprecated web services. Once we do the final deprecation of
those web services they will be removed - see MDL-63261.
2019-02-27 11:35:36 +08:00
Mark Nelson
b01d0535bc
MDL-63915 core_message: removed unused templates
...
Also removed no longer used renderer.
2019-02-27 11:35:36 +08:00
Mark Nelson
89bab5e8f0
MDL-64931 core_message: fixed PHP error when users are deleted from DB
2019-02-25 07:48:44 +08:00
Eloy Lafuente (stronk7)
bfaebeb754
Merge branch 'MDL-64791-master' of git://github.com/jleyva/moodle
2019-02-19 17:42:21 +01:00
Juan Leyva
289b79992b
MDL-64791 messages: Bring back 'messagecontactrequests' message
2019-02-07 12:06:41 +01:00
Mark Nelson
fc2664501b
MDL-64632 core_message: fixed PHP error when users are deleted from DB
2019-02-04 12:36:22 +08:00
Sara Arjona
21a43e5508
Merge branch 'MDL-63168_master' of git://github.com/markn86/moodle
2019-01-29 13:00:47 +01:00
Eloy Lafuente (stronk7)
9bc4dc79cb
Merge branch 'MDL-60913-search-tabs-master' of https://github.com/dmitriim/moodle
2019-01-23 18:55:47 +01:00
eWallah
7ef5409b1b
MDL-63168 core_message: fix failures in migrate_message_data task.
2019-01-23 12:45:40 +08:00
Dmitrii Metelkin
e9074ee381
MDL-60913 search: add search area categories
2019-01-23 10:28:43 +11:00
Eloy Lafuente (stronk7)
f7ff96c24f
Merge branch 'MDL-64412-master' of https://github.com/snake/moodle
2019-01-22 23:46:45 +01:00