Commit Graph

54 Commits

Author SHA1 Message Date
Mathew May ee94aded30 MDL-63261 messaging: Final 3.6 deprecations 2020-09-07 09:10:46 +08:00
Mark Nelson 7ece4ca9da MDL-63915 core_message: mark items that can be removed in MDL-63261 2019-02-27 11:35:36 +08:00
Mark Nelson ee45ecc014 MDL-63915 core_message: remove use of renderable so we can nuke it
The other renderables in the same namespace are still used by
deprecated web services. Once we do the final deprecation of
those web services they will be removed - see MDL-63261.
2019-02-27 11:35:36 +08:00
Mark Nelson b01d0535bc MDL-63915 core_message: removed unused templates
Also removed no longer used renderer.
2019-02-27 11:35:36 +08:00
Jake Dallimore d2708759d8 MDL-64034 core_message: return conversationid in search_messages() 2018-11-19 10:23:15 +08:00
Ryan Wyllie 0802c38a2f MDL-63303 message: add lastmessagedate to messagearea contact 2018-11-15 14:40:12 +08:00
Mark Nelson c886e2c94d MDL-63211 core_message: deprecated api::is_user_blocked 2018-10-03 11:58:39 +08:00
David Monllao ff8b71ef7b Merge branch 'MDL-56871_master' of git://github.com/markn86/moodle 2016-11-24 09:53:45 +08:00
Mark Nelson cb8057531f MDL-56871 core_message: fix inconsistent online status between panels 2016-11-23 16:32:46 +08:00
Ankit Agarwal 7597ab0b99 MDL-56656 messages: Proper multilang formating in messaging pages 2016-11-22 14:51:12 +05:30
Andrew Nicols d10ca75b8c Merge branch 'MDL-56407-master-2' of git://github.com/junpataleta/moodle 2016-11-22 09:06:09 +08:00
Jun Pataleta 26dca05d02 MDL-56407 message: Indicate user is blocked in message area 2016-11-17 09:11:37 +08:00
Adrian Greeve 8151761378 MDL-56603 messaging: Add a new message link to popup.
Added a link to create a new message from the message
popup menu.
2016-11-16 14:51:17 +08:00
Mark Nelson ffd7798c96 MDL-56139 core: changes after peer review
- No longer use the Fibonacci sequence for delaying the timeout.
  It is too aggressive.
- The backoff_timer AMD module now expects the callback AND the
  backoff function to be passed to the constructor.
- Added ability to specify polling frequency in config.php.
- Added helper function to return the cache key.
- Reworded the parameters for clarity.
2016-11-16 10:22:52 +08:00
Ryan Wyllie fb1469d84f MDL-56139 message: ajax poll for new messages in message area 2016-11-16 10:22:33 +08: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
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
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 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
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