91352 Commits

Author SHA1 Message Date
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
1d3535f95c MDL-63303 message: fix bugs in message drawer
* Fix navigation from view_contact to view_conversation on an action
  such as blocking
* Fix default open message section on overview page depending on which
  section has conversations
* Fix message/index.php for users who haven't yet started a
  conversation
2018-11-15 14:43:21 +08:00
Ryan Wyllie
8c8939c1ae MDL-63303 message: add enter to send user preference 2018-11-15 14:43:21 +08:00
Ryan Wyllie
f074d6f086 MDL-63303 message: remove behat tests for messaging 2018-11-15 14:43:21 +08:00
Ryan Wyllie
142b042c5c MDL-63303 message: message/index.php open conversation in message drawer 2018-11-15 14:43:21 +08:00
Ryan Wyllie
17d982d751 MDL-63303 message: message/edit.php opens setttings in message drawer 2018-11-15 14:43:21 +08:00
Ryan Wyllie
1e3453b7c7 MDL-63303 message: change nav popover to toggle message drawer 2018-11-15 14:43:21 +08:00
Ryan Wyllie
6f96c06374 MDL-63303 theme_bootstrapbase: add message drawer 2018-11-15 14:43:21 +08:00
Ryan Wyllie
5005d8cfb4 MDL-63303 message: add message drawer (boost only) 2018-11-15 14:43:21 +08:00
Ryan Wyllie
3ea46c8e31 MDL-63303 message: add functions to message_repository.js 2018-11-15 14:40:12 +08:00
Ryan Wyllie
0802c38a2f MDL-63303 message: add lastmessagedate to messagearea contact 2018-11-15 14:40:12 +08:00
Ryan Wyllie
ecb4755c91 MDL-63303 message: add count_contacts api function 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
6399c7ef14 MDL-63303 message: add count_conversations to 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
38004e777f MDL-63303 message: fix get_member_info iscontact check 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
Ryan Wyllie
32b4212e50 MDL-63303 message: fix get_conversation_messages 2018-11-15 14:40:12 +08:00
Ryan Wyllie
9e189a914d MDL-63303 core_favourites: add get and count functions 2018-11-15 14:40:11 +08:00
Ryan Wyllie
c2fc2c25ad MDL-63303 theme_bootstrapbase: add bs4 compat classes 2018-11-15 14:40:11 +08:00
Ryan Wyllie
a69193fa70 MDL-63303 theme_boost: add switch styling for checkbox 2018-11-15 14:40:11 +08:00
Ryan Wyllie
7b91dcf264 MDL-63303 core: add new icons for messaging 2018-11-15 14:40:11 +08:00
Ryan Wyllie
456e6d8145 MDL-63303 core: allow subsystems to add nav bar and top of body content 2018-11-15 14:40:11 +08:00
Ryan Wyllie
c912cd7324 MDL-63303 core: add debug info to exceptions 2018-11-15 14:40:11 +08:00
Ryan Wyllie
9d199fd2e7 MDL-63303 javascript: fix bug in auto_rows.js allowing it to shrink 2018-11-15 14:40:11 +08:00
Jun Pataleta
91194bfd9f Merge branch 'MDL-63974-master' of https://github.com/snake/moodle 2018-11-15 11:22:16 +08:00
Damyon Wiese
02c4de86ea Merge branch 'MDL-63283-master-2' of https://github.com/snake/moodle 2018-11-15 10:43:03 +08:00
Jake Dallimore
267b4f03e7 MDL-63283 core_message: skip processors in non-individual conversations
Disable the processor for messages being sent to conversation types
other than individual.
2018-11-15 10:37:33 +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
Jake Dallimore
9acb8b3574 MDL-63974 core_message: restore legacy behaviour for search_users() 2018-11-15 09:58:02 +08:00
Jun Pataleta
4aa05a81fd Merge branch 'MDL-53566-master-fix' of git://github.com/andrewnicols/moodle 2018-11-15 09:49:56 +08:00
Andrew Nicols
46b9a5c49c MDL-53566 core: Make context freeze test compat with clean 2018-11-15 07:39:23 +08:00
Eloy Lafuente (stronk7)
0d8c3b7a0e Merge branch 'MDL-63653-master' of https://github.com/lucaboesch/moodle 2018-11-14 16:22:44 +01:00
Eloy Lafuente (stronk7)
79c4c80f2b Merge branch 'MDL-63842-master' of git://github.com/andrewnicols/moodle 2018-11-14 16:03:16 +01:00
David Monllao
f2d83f50e1 Merge branch 'MDL-61990' of https://github.com/timhunt/moodle 2018-11-14 12:09:34 +01:00
David Monllao
03d9f4cda4 Merge branch 'MDL-63991-master' of git://github.com/crazyserver/moodle 2018-11-14 11:57:57 +01:00
David Monllao
e15203d011 Merge branch 'MDL-63488-master' of git://github.com/peterRd/moodle 2018-11-14 11:22:06 +01:00
Damyon Wiese
54869cdeac Merge branch 'MDL-64005-master' of git://github.com/abgreeve/moodle 2018-11-14 16:00:14 +08:00
Damyon Wiese
89ffc1ee0e Merge branch 'MDL-53566-master' of git://github.com/andrewnicols/moodle 2018-11-14 15:04:01 +08:00
Jun Pataleta
0a0f70c1ec Merge branch 'MDL-63926-master' of git://github.com/mickhawkins/moodle 2018-11-14 14:23:06 +08:00
Andrew Nicols
9d76566ffc MDL-53566 core: Rename locking to freezing in UI 2018-11-14 12:37:56 +08:00
Damyon Wiese
8043762c80 Merge branch 'MDL-63868-master' of git://github.com/abgreeve/moodle 2018-11-14 12:11:12 +08:00
Michael Hawkins
af6df0fab6 MDL-63926 block_recentlyaccesseditems: Add privacy provider unit tests 2018-11-14 11:14:57 +08:00
Michael Hawkins
8adf5d94b2 MDL-63926 block_recentlyaccesseditems: Support user removal by context
Also fixed the provider interface type. This is self contained, so is
not a subsystem provider. It was also already set up as a plugin
provider, just not defined as such.
2018-11-14 11:14:57 +08:00
Damyon Wiese
462fc2abcd Merge branch 'MDL-63901-master' of git://github.com/sarjona/moodle 2018-11-14 11:14:18 +08:00
Michael Hawkins
13bd038912 MDL-63926 block_recentlyaccesseditems: Improved get_contexts_for_userid
Updated the provider::get_contexts_for_userid method, to prevent false
positives. Previously, the user context would always be returned, now
the method checks data exists for the block first.
2018-11-14 11:13:00 +08:00