Ankit Agarwal
20ab51fdbc
MDL-56409 messages: Save one db query per page load
2016-11-08 12:50:30 +05:30
Adrian Greeve
f324957724
MDL-56138 messaging: Limit course search to enrolled courses.
2016-10-31 10:52:05 +08:00
Andrew Nicols
ebc746dcc2
MDL-56090 message: Make key in union unique
...
This also fixes the unit test to use the correct indices.
2016-10-26 15:43:56 +08:00
David Monllao
055cc7d037
Merge branch 'MDL-56252-master' of git://github.com/ryanwyllie/moodle
2016-10-24 10:25:32 +08:00
Mark Nelson
1f64514def
MDL-56090 core_message: added API unit tests
2016-10-21 16:22:03 +08:00
Ryan Wyllie
54d83992b4
MDL-56252 message: clean message text in message area
...
Remove the HTML tags from any message in the message area when updating
the last message on the contact otherwise the styling breaks and also
allows <script> tags to be added to the page.
2016-10-20 06:49:26 +00:00
Ryan Wyllie
f5a174f451
MDL-56411 message: dont render message area without other user
...
Stop the message area header and footer from being rendered if there is
no other user being messaged, otherwise notices are generated and the
messages fail to send.
2016-10-18 02:00:09 +00:00
Ryan Wyllie
703ab16475
MDL-56411 message: new message to user renders message area
...
When messaging a user for the first time from the message button on
their profile page the message area should still be rendered.
2016-10-14 07:13:58 +00:00
Ryan Wyllie
7d69958e6b
MDL-56292 message: move popover code into output plugin
2016-10-11 14:39:23 +08:00
Ryan Wyllie
5cdebf2d7e
MDL-56292 message: simplify get_popup_notifications function
2016-10-10 12:48:51 +08:00
Ryan Wyllie
dff7c82ecb
MDL-56292 message: fix sql query in mark_all_read_for_user
2016-10-10 12:48:51 +08:00
Mark Nelson
de55cb1b53
MDL-56089 core_message: modified API so it is not tied to renderables
...
Also did some minor refactoring/tidying of the code.
2016-10-07 16:37:56 +08:00
Mark Nelson
48e8bdba13
MDL-55942 core_message: renamed the term 'people' to 'user'
2016-10-07 16:37:56 +08:00
Mark Nelson
5b0769db68
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.
2016-10-07 16:35:25 +08:00
Ryan Wyllie
7b477f5982
MDL-55813 message: add online/offline help icons on preferences page
2016-10-07 16:26:40 +08:00
Mark Nelson
7b55aaa12e
MDL-55942 core: obey the mighty CiBoT
2016-10-07 16:26:40 +08:00
Mark Nelson
79f6c36c12
MDL-55942 core_message: moved added functionality from message/lib.php
2016-10-07 16:26:40 +08:00
Mark Nelson
ebf4e53209
MDL-55814 core_message: removed 'Web' notification hack
...
Reverts: MDL-54698 core_message: remove 'offline' checkbox
for popup processor
2016-10-07 16:26:40 +08:00
Ryan Wyllie
99c7f0a731
MDL-55801 message: responsive styling for message app
2016-10-07 16:26:40 +08:00
Ryan Wyllie
0b19d04836
MDL-55812 message: simplify notification popover items
2016-10-07 16:26:40 +08:00
Mark Nelson
89a70ba1a5
MDL-55623 core_message: indicate who the message is from
2016-10-07 16:26:40 +08:00
Mark Nelson
0dc4a56683
MDL-55852 core_message: add properties to renderables
...
Also improved PHPDocs and performed minor code changes.
2016-10-07 16:26:40 +08:00
Mark Nelson
5bf0ff278a
MDL-55811 core_message: ensure contact always shown
2016-10-07 16:26:40 +08:00
Mark Nelson
dd0c1403a1
MDL-55637 core_message: display icon for blocked users
2016-10-07 16:26:40 +08:00
Mark Nelson
4d1b76ee36
MDL-55638 core_message: add message when there are no contacts
2016-10-07 16:26:40 +08:00
Ryan Wyllie
c33b7d8913
MDL-54701 message: add unread message count to messages
2016-10-07 16:26:40 +08:00
Mark Nelson
065ff1b0f2
MDL-54698 core_message: remove 'offline' checkbox for popup processor
2016-10-07 16:26:40 +08:00
Ryan Wyllie
8c125526f1
MDL-54698 message: move notifications prefs into own page
2016-10-07 16:26:40 +08:00
Mark Nelson
6c3b954114
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.
2016-10-07 16:26:40 +08:00
Damyon Wiese
edac7c8003
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.
2016-10-07 16:26:40 +08:00
Ryan Wyllie
8c250260e6
MDL-54687 message: show most recent conversation by default
2016-10-07 16:26:40 +08:00
Mark Nelson
bf58081d59
MDL-54687 core_message: return online status for messages and profile
2016-10-07 16:26:40 +08:00
Mark Nelson
cd03b8d7f2
MDL-54687 core_message: added search functionality
2016-10-07 16:26:40 +08:00
Mark Nelson
6d3445de77
MDL-54687 core_message: removed unused function and data attribute
2016-10-07 16:26:40 +08:00
Mark Nelson
49aaadc3fb
MDL-54687 core_message: corrected return type of webservices
...
Also minor tidy up of docs.
2016-10-07 16:26:40 +08:00
Mark Nelson
ef735275de
MDL-54687 core_message: removed 'conversationsselected' variable
2016-10-07 16:26:40 +08:00
Ryan Wyllie
efa079072c
MDL-54698 message: change preferences to on/off text
2016-10-07 16:26:40 +08:00
Ryan Wyllie
24a76780f6
MDL-54708 message: add renderer for get_popup_notification
2016-10-07 16:26:40 +08:00
Ryan Wyllie
34eb5fcb60
MDL-54698 message: move general settings from preference page
2016-10-07 16:26:40 +08:00
Mark Nelson
1e5f751ffc
MDL-54687 core_message: moved renderables to 'messagearea' namespace
2016-10-07 16:26:40 +08:00
Mark Nelson
8ec78c48fa
MDL-54687 core_message: added ajax scrolling for messages
2016-10-07 16:26:40 +08:00
Ryan Wyllie
b6cd1c1151
MDL-54698 message: combine message preferences into single table
2016-10-07 16:26:40 +08:00
Ryan Wyllie
643b015db2
MDL-54698 message: make processor settings dialogue
2016-10-07 16:26:40 +08:00
Ryan Wyllie
e9cce46cf0
MDL-54698 message: change preferences to checkboxes
2016-10-07 16:26:40 +08:00
Ryan Wyllie
5ee31614c7
MDL-54698 message: split message preference page into renderables
2016-10-07 16:26:40 +08:00
Ryan Wyllie
eda6bc19e6
MDL-54701 message: added isread to data_for_messagearea_conversations
2016-10-07 16:26:40 +08:00
Mark Nelson
dec0cd9998
MDL-54687 core_message: added ability to delete conversations
2016-10-07 16:20:51 +08:00
Mark Nelson
3090f52f9d
MDL-54687 core_message: added ability to delete messages
2016-10-07 16:20:51 +08:00
Mark Nelson
c6e97f5428
MDL-54687 core_message: added ability to view a contact's profile
...
Also added functionality to the profile page -
- View user's profile.
- Send the user a message.
- Block the user.
- Remove the user as a contact.
2016-10-07 16:20:51 +08:00
Mark Nelson
c060cd4904
MDL-54687 core_message: added ability to send messages
2016-10-07 16:20:51 +08:00