Jake Dallimore
b402a163e3
MDL-64140 core_message: add get_unread_conversation_counts() web service
2018-11-26 10:54:18 +08:00
Damyon Wiese
35889e23b7
Merge branch 'MDL-64180_master' of git://github.com/markn86/moodle
2018-11-23 12:21:13 +08:00
Mark Nelson
7d678923b3
MDL-64180 core_message: added new WS for contact request count
2018-11-23 11:34:55 +08:00
Jun Pataleta
252f0e16ea
Merge branch 'MDL-64057-master' of https://github.com/snake/moodle
2018-11-23 11:24:58 +08:00
Jake Dallimore
28ff6ad1da
MDL-64057 core_message: add get_conversation_counts() web service
2018-11-23 11:02:20 +08:00
Andrew Nicols
90015eff82
Merge branch 'MDL-64165_master' of git://github.com/markn86/moodle
2018-11-22 15:40:41 +08:00
Mark Nelson
2be9a4aecb
MDL-64165 core_message: fixed contact requests web service structure
2018-11-22 14:51:59 +08:00
Mark Nelson
34b940f682
MDL-64165 core_message: removed unused params from WS helper method
2018-11-22 14:47:05 +08:00
Andrew Nicols
c746921e6e
Merge branch 'MDL-64018_master' of git://github.com/markn86/moodle
2018-11-22 11:03:58 +08:00
Mark Nelson
c9b0f33f78
MDL-64018 core_message: added external::get_user_contacts
...
This is to replace usages of external::data_for_messagearea_contacts
in the new UI.
2018-11-21 11:09:55 +08:00
Mark Nelson
f89055372e
MDL-64018 core_message: deprecated get_contacts web service
2018-11-21 11:09:11 +08:00
Damyon Wiese
730284fc16
Merge branch 'MDL-64054-master' of git://github.com/ryanwyllie/moodle
2018-11-21 10:07:42 +08:00
David Monllao
892356acaa
MDL-64060 message: Replace error code by language str
2018-11-19 11:18:39 +01:00
David Monllao
a6c4e6f0a6
Merge branch 'MDL-64060-master' of git://github.com/jleyva/moodle
2018-11-19 11:16:09 +01:00
Ryan Wyllie
08ae9a7362
MDL-64054 message: add all processors to message settings
...
Changed the settings page in the message drawer to display all message
notification processors (e.g. email, mobile, jabber) for the user to
configure based on which processors are enabled on the site.
2018-11-19 14:53:38 +08:00
Jake Dallimore
d2708759d8
MDL-64034 core_message: return conversationid in search_messages()
2018-11-19 10:23:15 +08:00
Juan Leyva
a28c222e63
MDL-64060 message: Use error string identifier instead full message
...
The conversationdoesntexist string does not exists but it is better to use an error string catchable by an external client.
2018-11-16 13:20:11 +01:00
Andrew Nicols
5e47224a62
MDL-63303 message: Stop WS from removing optional keys
2018-11-15 17:56:31 +08:00
Ryan Wyllie
663ccd58ed
MDL-63303 message: fix bugs in message drawer part 3
...
* Fix bug for newly created conversations being added to overview page
* Fixed bug with use enter to send preference not updating correctly
* Fix unit tests
* Fix race condition loading new messages while conversation resetting
* Fix ordering and rendering of messages with same timestamp
* Fix missing privacy info in get_conversation web service
* Fix linting errors
* Improve bulk message rendering
2018-11-15 14:43:21 +08:00
Ryan Wyllie
a111ab44af
MDL-63303 message: fix bugs in message drawer part 2
...
* Added missing icon mappings for font-awesome
* Fixed focus on dialogue button when it opens
* Fixed UI updates on user block / unblock
* Fix jQuery syntax error when sending message with quotes
* Fix message/index.php opening drawer when no conversation found
* Fix placeholders rendered for new requests
2018-11-15 14:43:21 +08:00
Ryan Wyllie
0802c38a2f
MDL-63303 message: add lastmessagedate to messagearea contact
2018-11-15 14:40:12 +08:00
Ryan Wyllie
b3bbd4a0e1
MDL-63303 message: fix get_conversations external func
2018-11-15 14:40:12 +08:00
Ryan Wyllie
569c0bae9c
MDL-63303 message: add get_conversation_between_users external func
2018-11-15 14:40:12 +08:00
Ryan Wyllie
4e3130269c
MDL-63303 message: add get_conversation to message api
2018-11-15 14:40:12 +08:00
Ryan Wyllie
886b01783b
MDL-63303 message: add fields to send_instant_message
2018-11-15 14:40:12 +08:00
Ryan Wyllie
0866b33635
MDL-63303 message: add fields to contact requests
2018-11-15 14:40:12 +08:00
Ryan Wyllie
8350978aa1
MDL-63303 message: add get_member_info external function
2018-11-15 14:40:12 +08:00
Ryan Wyllie
c61353ae41
MDL-63303 message: fix mark_all_conversation_messages_as_read ext func
2018-11-15 14:40:12 +08:00
Jun Pataleta
91194bfd9f
Merge branch 'MDL-63974-master' of https://github.com/snake/moodle
2018-11-15 11:22:16 +08:00
Jake Dallimore
41485be2c8
MDL-63974 core_message: fix logic for non-contacts in user search
...
This should depend on the messagingallusers setting and, if false,
should only return those users having a profile the searcher can see.
If true, then any user can be returned. There is no requirement to
have a conversation with the user.
2018-11-15 09:59:39 +08:00
David Monllao
50d37636b6
Merge branch 'MDL-63882-master' of git://github.com/damyon/moodle
2018-11-13 16:07:14 +01:00
Damyon Wiese
bb650761c5
MDL-63882 core_message: Use validate_parameters
...
external_api::validate_parameters() sets defaults, and does cleaning and sanitisation of the
inputs. It returns the cleaned params. We can't be re-using the arguments to this function
instead of the results, because they have not been cleaned.
2018-11-13 10:54:05 +08:00
Damyon Wiese
eac24f2b71
Merge branch 'MDL-63945_master' of git://github.com/markn86/moodle
2018-11-12 16:36:57 +08:00
Mark Nelson
d15c1e77b0
MDL-63945 core_message: fixed discrepancy between helpers
2018-11-12 15:30:30 +08:00
Damyon Wiese
b0f45a8b8f
Merge branch 'MDL-63724-master-3' of https://github.com/snake/moodle
2018-11-12 14:16:31 +08:00
Damyon Wiese
75e6661940
Merge branch 'MDL-63909_master' of git://github.com/markn86/moodle
2018-11-12 14:01:01 +08:00
Jake Dallimore
2553e9db8e
MDL-63724 core_message: add send_messages_to_conversation() web service
2018-11-12 10:09:27 +08:00
Damyon Wiese
080cc5b671
Merge branch 'MDL-63864_master' of git://github.com/markn86/moodle
2018-11-12 10:02:25 +08:00
Mark Nelson
accd64827d
MDL-63864 core_message: can now specify limit for contact requests
2018-11-09 13:28:38 +08:00
Mark Nelson
daa33803cd
MDL-63864 core_message: get_contact_requests now uses helper
2018-11-09 12:12:17 +08:00
Mark Nelson
a6049a7960
MDL-63909 core_message: deprecated web services not used in new UI
2018-11-08 18:22:00 +08:00
Mark Nelson
cef1d977c3
MDL-63850 core_message: get_conversations returns privacy and requests
2018-11-08 16:24:29 +08:00
Amaia Anabitarte
548cac7dbf
MDL-63282 core_message: New Search API function
2018-11-08 13:11:28 +08:00
Jake Dallimore
003cdcce15
MDL-63884 core_message: add imageurl support for linked conversations
...
This is an extra field specific to linked conversations, so the helper
method has been extended to encompass this alongside the subname field.
2018-11-06 16:51:44 +08:00
Jun Pataleta
d0b05c8d05
Merge branch 'MDL-63725_master' of git://github.com/markn86/moodle
2018-11-01 16:11:06 +08:00
Mark Nelson
bc667050a4
MDL-63725 core_message: do not allow access to all conversation members
2018-11-01 15:56:07 +08:00
Jun Pataleta
67d2082849
Merge branch 'MDL-63725_master' of git://github.com/markn86/moodle
2018-11-01 12:39:43 +08:00
Mark Nelson
5584c48a33
MDL-63725 core_message: added get_conversation_members web service
2018-11-01 11:18:20 +08:00
Jake Dallimore
eb35e0b176
MDL-63549 core_message: deprecate data_for_messagearea_conversations
2018-10-31 10:55:34 +08:00
Jake Dallimore
6f31927af8
MDL-63549 core_message: add get_conversations web service
2018-10-31 08:16:32 +08:00