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
Bas Brands
c516fc1105
MDL-65596 core_message: dropdown menu blocked by contact request message
2019-05-14 13:17:40 +02:00
Eloy Lafuente (stronk7)
c9a1a6341c
MDL-65571 versions: bump all versions and requires near release
...
version = 2019052000 release version
requires= 2019051100 current beta (week6roll2) version
2019-05-12 23:46:34 +02:00
Mark Nelson
2904a7f851
MDL-65365 core_message: prevent users from viewing all conversations
2019-05-08 17:54:44 +02:00
Amaia Anabitarte
e4987f0f58
MDL-64993 core_message: fix unit test for non-ordered queries
2019-05-07 17:54:43 +02:00
Andrew Nicols
b43785fe48
Merge branch 'MDL-64993-master-fix' of github.com:sarjona/moodle
2019-05-07 16:26:47 +08:00
Sara Arjona
3c7dcefd9f
MDL-64993 core_message: fix behat test failing with Oracle
2019-05-07 16:26:47 +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
Jun Pataleta
14b132750b
Merge branch 'MDL-65313-master' of https://github.com/snake/moodle
2019-05-07 16:24:37 +08:00
cescobedo
37a653cff9
MDL-65132 core_message: Update message drawer to delete message for all
...
Update JS message drawer to allow delete message for all showing a new
checkbox in the confirm dialogue.
2019-05-06 09:48:26 +02:00
cescobedo
e3e1938789
MDL-65132 core_message: Added WS to delete message for all users
...
Also, added WS new return parameter candeletemessagesforallusers in get_conversation
and send_instant_message and added API support. This will be used to check
if the user can delete all messages in the conversation.
2019-05-06 09:39:34 +02: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
Amaia Anabitarte
c8d51ae41a
MDL-64993 core_message: Behat test for self conversation
2019-05-06 00:47:52 +02:00
Amaia Anabitarte
86463d5056
MDL-64993 core_message: Adding self-conversations to behat tests
2019-05-06 00:47:52 +02:00
Amaia Anabitarte
888a467a78
MDL-64993 core_message: Adding self-conversations to unit tests
2019-05-06 00:47:52 +02:00
Jun Pataleta
6178721aa6
Merge branch 'MDL-65418-master' of https://github.com/ryanwyllie/moodle
2019-05-03 11:43:14 +08:00
Adrian Greeve
958983fd7e
Merge branch 'MDL-65458_master' of git://github.com/markn86/moodle
2019-05-03 11:17:39 +08:00
Jake Dallimore
41ec00830e
Merge branch 'MDL-65134-master' of git://github.com/peterRd/moodle
2019-05-03 10:05:26 +08:00
Mark Nelson
950246a7ae
MDL-65458 message_email: fix failing unit test
2019-05-03 10:01:11 +08:00
Bas Brands
b9849c6fac
MDL-65458 message_email: improve design of group message digests
2019-05-03 10:01:03 +08:00
Sara Arjona
4d86fce09f
Merge branch 'MDL-65169-master' of https://github.com/snake/moodle
2019-05-02 15:29:02 +02:00
Ryan Wyllie
9be6dc2de6
MDL-65134 core_message: Introduce event specific function
...
Introduced an event specific formatting function.
Additional catch on render fn calls
2019-05-01 19:46:52 +08:00
Jake Dallimore
cee7444332
Merge branch 'MDL-65426_master' of git://github.com/markn86/moodle
2019-05-01 15:38:44 +08:00
Mark Nelson
7280b38dd2
MDL-65426 message_email: clean up messages that have already been read
2019-05-01 15:17:48 +08:00
Ryan Wyllie
f2b65126bc
MDL-65418 message: remove use of IE11 incompatible function in JS
2019-05-01 13:21:49 +08:00
Eloy Lafuente (stronk7)
09ab093dce
Merge branch 'MDL-65397-master-enfix' of git://github.com/mudrd8mz/moodle
2019-05-01 01:42:55 +02: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
Helen Foster
f1264719f4
MDL-65397 lang: Import fixed English strings (en_fix)
...
Significant string changes:
* direct:view,gradeimport_direct - wording corrected from 'CSV' to
'spreadsheet'
* limitanswers_help,mod_choice - additional wording added explaining how
the setting works with groups
* pluginname,customfield_text - 'Text field' plugin renamed to
'Short text'
2019-04-29 11:46:26 +02:00
Mark Nelson
5221be53da
MDL-65257 message_email: apply filters to course and group names
2019-04-29 15:20:29 +08:00
Mark Nelson
aa0792484e
MDL-65257 message_email: add images to digest
2019-04-29 15:01:30 +08:00
Jake Dallimore
31d3c76602
MDL-65169 core_message: add behat step allowing searching for a string
...
New step: 'I search for "xx" in messaging'.
2019-04-29 13:45:52 +08:00
Jake Dallimore
ca264ee670
MDL-64676 core_message: fix legacy behat step which failed on firefox
...
Old step was looking for a link, which didn't exist. Now, we use image.
2019-04-26 15:22:43 +08:00
David Monllaó
b63c0b9079
Merge branch 'MDL-60680-master' of git://github.com/jleyva/moodle
2019-04-25 18:55:45 +02:00
David Monllaó
2fbc2e4589
Merge branch 'MDL-64673-master' of git://github.com/aanabit/moodle
2019-04-25 18:40:49 +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
David Monllaó
76023e44d0
Merge branch 'MDL-64672-master' of git://github.com/aanabit/moodle
2019-04-24 20:06:13 +02:00
David Monllaó
c7f11fab18
Merge branch 'MDL-64665-master' of git://github.com/cescobedo/moodle
2019-04-24 20:00:03 +02:00
cescobedo
9a497f8bbc
MDL-64665 core_message: Behat tests for manage preferences
2019-04-24 18:33:12 +02:00
cescobedo
5d0119772b
MDL-64665 core_message: New step to open settings preferences
2019-04-24 18:33:12 +02:00
David Monllaó
3c48793849
Merge branch 'MDL-64985-master' of git://github.com/sarjona/moodle
2019-04-24 18:13:21 +02:00
David Monllaó
c3f1ee9517
Merge branch 'MDL-64666-master' of git://github.com/aanabit/moodle
2019-04-24 18:07:22 +02:00
Amaia Anabitarte
536c19ddd2
MDL-64673 core_message: Starring conversations behat test
2019-04-24 17:59:56 +02:00
Sara Arjona
d03f037431
MDL-64985 message: display aria label to the mute icon
2019-04-24 17:53:50 +02:00
Sara Arjona
43825b428a
MDL-64985 message: display aria label in user profile link
...
Remove the aria-hidden label to display the label/text in
the user profile link.
2019-04-24 17:53:32 +02:00