Mark Nelson [Fri, 23 Sep 2016 06:00:50 +0000 (14:00 +0800)]
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.
Ryan Wyllie [Wed, 28 Sep 2016 02:44:37 +0000 (02:44 +0000)]
MDL-55813 message: add online/offline help icons on preferences page
Ryan Wyllie [Wed, 28 Sep 2016 03:09:20 +0000 (03:09 +0000)]
MDL-56028 message: change forced to locked on preferences page
Mark Nelson [Tue, 20 Sep 2016 09:23:22 +0000 (17:23 +0800)]
MDL-55942 core: obey the mighty CiBoT
Mark Nelson [Thu, 22 Sep 2016 04:30:28 +0000 (12:30 +0800)]
MDL-55942 core_message: moved added functionality from message/lib.php
Mark Nelson [Wed, 21 Sep 2016 04:06:22 +0000 (12:06 +0800)]
MDL-55942 core_message: removed WS function core_user_update_user
This function was ignoring any capabilities and was only used to
update the preferences, but could be potentially used to update
any user attribute. A new WS function has been introduced to
handle user preferences with the necessary capability checks.
Mark Nelson [Tue, 20 Sep 2016 03:37:14 +0000 (11:37 +0800)]
MDL-55814 core_message: removed 'Web' notification hack
Reverts: MDL-54698 core_message: remove 'offline' checkbox
for popup processor
Mark Nelson [Tue, 20 Sep 2016 02:52:34 +0000 (10:52 +0800)]
MDL-56024 core_message: prevent WS error when messaging disabled
Mark Nelson [Mon, 12 Sep 2016 04:57:39 +0000 (12:57 +0800)]
MDL-55909 core_message: added missing WS capability checks
Ryan Wyllie [Fri, 16 Sep 2016 07:10:14 +0000 (07:10 +0000)]
MDL-55972 message: confirmation modal when deleting conversation
Ryan Wyllie [Fri, 16 Sep 2016 07:03:44 +0000 (07:03 +0000)]
MDL-55972 core: add confirmation modal
Ryan Wyllie [Thu, 15 Sep 2016 05:03:22 +0000 (05:03 +0000)]
MDL-55822 message: accessibility improvements for popovers
Ryan Wyllie [Fri, 16 Sep 2016 03:12:17 +0000 (11:12 +0800)]
MDL-55801 message: responsive styling for message app
Mark Nelson [Thu, 15 Sep 2016 05:39:25 +0000 (13:39 +0800)]
MDL-55851 core: fixed AJAX error when user not set up
Ryan Wyllie [Mon, 12 Sep 2016 03:09:16 +0000 (03:09 +0000)]
MDL-55812 message: simplify notification popover items
Mark Nelson [Tue, 13 Sep 2016 05:18:27 +0000 (13:18 +0800)]
MDL-55947 core_message: fixed order of notifications in popover
Mark Nelson [Tue, 6 Sep 2016 06:23:44 +0000 (14:23 +0800)]
MDL-55623 core_message: indicate who the message is from
Mark Nelson [Tue, 6 Sep 2016 05:56:55 +0000 (13:56 +0800)]
MDL-55623 core_message: create helper function for WS to define messages
Mark Nelson [Thu, 8 Sep 2016 05:49:21 +0000 (13:49 +0800)]
MDL-55895 core_message: do not display whole conversation on page load
Mark Nelson [Thu, 8 Sep 2016 09:02:20 +0000 (17:02 +0800)]
MDL-55870 core_message: fixed order of conversations in popover
Also made changes to message_area_contacts.js as we can not
rely on the number of conversations being displayed for the
limit in our SQL, see MDL-55908.
Mark Nelson [Mon, 5 Sep 2016 05:19:30 +0000 (13:19 +0800)]
MDL-55852 core_message: add properties to renderables
Also improved PHPDocs and performed minor code changes.
Mark Nelson [Fri, 2 Sep 2016 09:36:42 +0000 (17:36 +0800)]
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"
Mark Nelson [Thu, 1 Sep 2016 10:12:47 +0000 (18:12 +0800)]
MDL-55811 core_message: ensure contact always shown
Mark Nelson [Tue, 30 Aug 2016 04:49:17 +0000 (12:49 +0800)]
MDL-55637 core_message: display icon for blocked users
Mark Nelson [Tue, 30 Aug 2016 04:49:11 +0000 (12:49 +0800)]
MDL-55637 core_message: create helper function for WS to define contacts
Ryan Wyllie [Thu, 1 Sep 2016 04:13:27 +0000 (04:13 +0000)]
MDL-55571 message: change profile information to a list
Mark Nelson [Wed, 31 Aug 2016 03:09:48 +0000 (11:09 +0800)]
MDL-55774 core_message: ensure selectors are isolated
Mark Nelson [Mon, 29 Aug 2016 09:48:18 +0000 (17:48 +0800)]
MDL-55582 core_message: show message when there are no search results
Ryan Wyllie [Fri, 19 Aug 2016 02:51:30 +0000 (02:51 +0000)]
MDL-55595 message: fix message preferences for multiple processors
Mark Nelson [Mon, 29 Aug 2016 08:02:38 +0000 (16:02 +0800)]
MDL-55754 core_message: fixed unread message count
Mark Nelson [Fri, 19 Aug 2016 06:22:21 +0000 (14:22 +0800)]
MDL-55638 core_message: add message when there are no contacts
Mark Nelson [Fri, 19 Aug 2016 06:58:05 +0000 (14:58 +0800)]
MDL-55638 core_message: fixed contacts overflow CSS setting
Ryan Wyllie [Fri, 19 Aug 2016 07:49:48 +0000 (07:49 +0000)]
MDL-55570 message: replace online asterix with green dot
Ryan Wyllie [Fri, 19 Aug 2016 06:14:42 +0000 (06:14 +0000)]
MDL-55543 message: disabled search when deleting messages
Ryan Wyllie [Fri, 19 Aug 2016 04:52:00 +0000 (04:52 +0000)]
MDL-55624 message: disable textarea when sending message
Ryan Wyllie [Fri, 19 Aug 2016 04:37:17 +0000 (04:37 +0000)]
MDL-55542 message: update popover hover colours
Ryan Wyllie [Fri, 19 Aug 2016 04:31:09 +0000 (04:31 +0000)]
MDL-55542 message: update hover colour for message interface
Ryan Wyllie [Fri, 19 Aug 2016 04:58:38 +0000 (04:58 +0000)]
MDL-55583 message: stop page reload when enter pressed in search
Ryan Wyllie [Thu, 18 Aug 2016 07:09:30 +0000 (07:09 +0000)]
MDL-54687 message: add unread message count to conversations
Ryan Wyllie [Thu, 18 Aug 2016 05:51:42 +0000 (05:51 +0000)]
MDL-54701 message: add unread message count to messages
Ryan Wyllie [Wed, 17 Aug 2016 06:55:23 +0000 (06:55 +0000)]
MDL-54708 message: remove user profile link from notifications
Ryan Wyllie [Wed, 17 Aug 2016 06:46:44 +0000 (06:46 +0000)]
MDL-54682 message: update js to use data values in selectors
Ryan Wyllie [Wed, 17 Aug 2016 04:59:52 +0000 (04:59 +0000)]
MDL-54698 message: consolidate preference page checkbox styling
Mark Nelson [Tue, 16 Aug 2016 12:35:06 +0000 (20:35 +0800)]
MDL-54698 core_message: remove 'offline' checkbox for popup processor
Mark Nelson [Tue, 16 Aug 2016 10:21:17 +0000 (18:21 +0800)]
MDL-54698 core_message: moved 'disable/enable' notifications setting
Mark Nelson [Tue, 16 Aug 2016 09:08:22 +0000 (17:08 +0800)]
MDL-54698 core: removed 'title-case' CSS usage and rule
Ryan Wyllie [Tue, 16 Aug 2016 07:44:55 +0000 (07:44 +0000)]
MDL-54698 message: fix message preferences context blocknoncontacts
Ryan Wyllie [Tue, 16 Aug 2016 07:17:06 +0000 (07:17 +0000)]
MDL-54701 message: remove profile link from message popover
Ryan Wyllie [Tue, 16 Aug 2016 07:07:45 +0000 (07:07 +0000)]
MDL-54698 message: update preference processor display names
Ryan Wyllie [Tue, 16 Aug 2016 07:03:58 +0000 (07:03 +0000)]
MDL-54698 message: add preferences pages to breadcrumbs
Ryan Wyllie [Mon, 15 Aug 2016 07:54:38 +0000 (07:54 +0000)]
MDL-54698 message: move notifications prefs into own page
Mark Nelson [Mon, 15 Aug 2016 10:50:14 +0000 (18:50 +0800)]
MDL-55573 core_message: keep conversation and contact panels up-to-date
Mark Nelson [Mon, 15 Aug 2016 07:07:54 +0000 (15:07 +0800)]
MDL-54687 core_message: mark messages as read when viewing conversation
Also -
- Highlight a conversation when there are unread messages.
- Update the number in the message menu when conversation
containing unread messages is selected.
Damyon Wiese [Mon, 15 Aug 2016 08:21:33 +0000 (16:21 +0800)]
MDL-55569 messages: Throw an error when the message fails to send
This shows an alert to the user to let them know something went wrong.
If debugging is 0 - the alert does not contain all the debugging stuff and looks OK.
Damyon Wiese [Mon, 15 Aug 2016 07:53:06 +0000 (15:53 +0800)]
MDL-55567 messages: Use FORMAT_MOODLE as default for sending messages
This is like plain text, but it preserves new-lines and has some
other special features.
Damyon Wiese [Mon, 15 Aug 2016 07:30:25 +0000 (15:30 +0800)]
MDL-55541 messages: Always return at least a minimal record for a user
Messages allows anyone to find anyone on the site - even if they don't share any permissions
in a course. So we need to make at least their name and id discoverable.
Damyon Wiese [Mon, 15 Aug 2016 07:02:37 +0000 (15:02 +0800)]
MDL-54687 messages: Fix height bug with auto-rows textarea
Firefox reserves height for the horizontal scroll bars in a textarea. This
mucks up the height calculations for this element. Prevent it with overflow-x.
Mark Nelson [Mon, 15 Aug 2016 03:50:20 +0000 (11:50 +0800)]
MDL-54687 core_message: ensure messages wrap
Mark Nelson [Mon, 15 Aug 2016 03:37:39 +0000 (11:37 +0800)]
MDL-54687 core_message: scroll to bottom of messages on page load
Mark Nelson [Fri, 12 Aug 2016 09:35:29 +0000 (17:35 +0800)]
MDL-54687 core_message: prevent multiple sent messages
Ryan Wyllie [Fri, 12 Aug 2016 07:09:45 +0000 (07:09 +0000)]
MDL-54687 message: show most recent conversation by default
Ryan Wyllie [Fri, 12 Aug 2016 06:03:42 +0000 (06:03 +0000)]
MDL-54687 message: add enter to send message
Ryan Wyllie [Fri, 12 Aug 2016 03:36:18 +0000 (03:36 +0000)]
MDL-54687 message: adjust messages area height with response height
Mark Nelson [Fri, 12 Aug 2016 03:35:30 +0000 (11:35 +0800)]
MDL-54687 core_message: return online status for messages and profile
Mark Nelson [Thu, 11 Aug 2016 07:55:38 +0000 (15:55 +0800)]
MDL-54687 core_message: added search functionality
Mark Nelson [Thu, 11 Aug 2016 11:24:07 +0000 (19:24 +0800)]
MDL-54687 core_message: remove contact from DOM if no messages remain
Mark Nelson [Thu, 11 Aug 2016 11:08:34 +0000 (19:08 +0800)]
MDL-54687 core_message: removed unused function and data attribute
Ryan Wyllie [Thu, 11 Aug 2016 08:15:02 +0000 (08:15 +0000)]
MDL-54708 message: style notification popover actions
Mark Nelson [Thu, 11 Aug 2016 08:28:44 +0000 (16:28 +0800)]
MDL-54687 core_message: do not send message if it is empty
Mark Nelson [Thu, 11 Aug 2016 07:29:53 +0000 (15:29 +0800)]
MDL-54687 core_message: fixed lint errors
Mark Nelson [Tue, 9 Aug 2016 07:20:06 +0000 (15:20 +0800)]
MDL-54687 core_message: removed unused YUI module
Mark Nelson [Mon, 8 Aug 2016 10:01:49 +0000 (18:01 +0800)]
MDL-54687 core_message: corrected return type of webservices
Also minor tidy up of docs.
Ryan Wyllie [Tue, 9 Aug 2016 23:57:29 +0000 (23:57 +0000)]
MDL-54687 message: messaging widget styling
Mark Nelson [Mon, 8 Aug 2016 04:15:23 +0000 (12:15 +0800)]
MDL-54687 core_message: removed 'conversationsselected' variable
Ryan Wyllie [Mon, 8 Aug 2016 03:35:15 +0000 (03:35 +0000)]
MDL-54698 message: change preferences to on/off text
Ryan Wyllie [Fri, 5 Aug 2016 06:50:25 +0000 (06:50 +0000)]
MDL-54687 message: add keyboard navigation to message widget
Mark Nelson [Thu, 4 Aug 2016 03:35:29 +0000 (11:35 +0800)]
MDL-54687 core_message: changed outder div's CSS class
Mark Nelson [Thu, 4 Aug 2016 03:07:50 +0000 (11:07 +0800)]
MDL-54687 core_message: reduce amount of JS in templates
Ryan Wyllie [Tue, 2 Aug 2016 08:12:57 +0000 (08:12 +0000)]
MDL-54701 message: add message popover count and mark as read
Ryan Wyllie [Tue, 2 Aug 2016 01:12:15 +0000 (01:12 +0000)]
MDL-54708 message: add renderer for get_popup_notification
Ryan Wyllie [Mon, 1 Aug 2016 06:51:30 +0000 (06:51 +0000)]
MDL-54698 message: move general settings from preference page
Mark Nelson [Tue, 2 Aug 2016 08:58:37 +0000 (16:58 +0800)]
MDL-54687 core_message: moved renderables to 'messagearea' namespace
Mark Nelson [Wed, 27 Jul 2016 09:45:14 +0000 (17:45 +0800)]
MDL-54687 core_message: added ajax scrolling for messages
Mark Nelson [Thu, 28 Jul 2016 04:39:10 +0000 (12:39 +0800)]
MDL-54687 core: added prependNodeContents() to the AMD templates module
Mark Nelson [Thu, 21 Jul 2016 09:20:22 +0000 (17:20 +0800)]
MDL-54687 core_message: added ajax scrolling for contacts
Mark Nelson [Sun, 24 Jul 2016 09:55:55 +0000 (17:55 +0800)]
MDL-54687 core_message: added SELECTORS and EVENTS variables to tidy JS
Ryan Wyllie [Fri, 29 Jul 2016 05:17:00 +0000 (05:17 +0000)]
MDL-54698 message: add save/cancel button to processor popup
Ryan Wyllie [Fri, 29 Jul 2016 02:58:46 +0000 (02:58 +0000)]
MDL-54698 message: combine message preferences into single table
Ryan Wyllie [Fri, 29 Jul 2016 02:10:32 +0000 (02:10 +0000)]
MDL-54708 message: notification popover respects message preferences
Ryan Wyllie [Mon, 25 Jul 2016 03:17:00 +0000 (03:17 +0000)]
MDL-54698 message: make processor settings dialogue
Ryan Wyllie [Fri, 22 Jul 2016 03:02:42 +0000 (03:02 +0000)]
MDL-54698 message: change preferences to checkboxes
Ryan Wyllie [Thu, 21 Jul 2016 04:46:49 +0000 (04:46 +0000)]
MDL-54701 message: rename module imports in js
Ryan Wyllie [Thu, 21 Jul 2016 03:24:47 +0000 (03:24 +0000)]
MDL-54701 message: renamed mdl-popover to popover-region
Mark Nelson [Thu, 21 Jul 2016 06:19:09 +0000 (14:19 +0800)]
MDL-54687 core_message: prefixed 'message_area' to JS and template files
Mark Nelson [Tue, 19 Jul 2016 10:25:03 +0000 (18:25 +0800)]
MDL-54687 core_message: decreased size of messaging area
Mark Nelson [Tue, 19 Jul 2016 07:36:14 +0000 (15:36 +0800)]
MDL-54687 core_message: removed loading template
Ryan Wyllie [Tue, 19 Jul 2016 06:47:24 +0000 (06:47 +0000)]
MDL-54698 message: add context to preferences templates
Ryan Wyllie [Tue, 19 Jul 2016 05:22:48 +0000 (05:22 +0000)]
MDL-54698 message: split message preference page into renderables
Ryan Wyllie [Tue, 19 Jul 2016 02:01:08 +0000 (02:01 +0000)]
MDL-54698 message: split message preferences page js
Ryan Wyllie [Mon, 18 Jul 2016 06:58:55 +0000 (06:58 +0000)]
MDL-54701 message: added isread to data_for_messagearea_conversations