2011-11-16 13:01:55 +08:00
|
|
|
This files describes API changes in /message/ messaging system,
|
|
|
|
information provided here is intended especially for developers.
|
|
|
|
|
2016-09-23 14:00:50 +08:00
|
|
|
=== 3.2 ===
|
|
|
|
|
|
|
|
* Removed all message_print_* functions as well as the files search.html, search_advanced.html and
|
|
|
|
send_form.php due to messaging UI rehaul.
|
|
|
|
* Deprecated the following functions as they are no longer used.
|
|
|
|
- message_get_course_contexts
|
|
|
|
- message_remove_url_params
|
|
|
|
- message_count_messages
|
|
|
|
- message_count_blocked_users
|
|
|
|
- message_contact_link
|
|
|
|
- message_get_recent_notifications
|
|
|
|
- message_history_link
|
|
|
|
- message_search
|
|
|
|
- message_shorten_message
|
|
|
|
- message_get_fragment
|
|
|
|
- message_get_history
|
|
|
|
- message_get_contact_add_remove_link
|
|
|
|
- message_get_contact_block_link
|
|
|
|
- message_mark_messages_read
|
|
|
|
- message_page_type_list
|
|
|
|
- message_can_post_message
|
|
|
|
- message_is_user_non_contact_blocked
|
|
|
|
- message_is_user_blocked
|
|
|
|
|
2015-11-20 13:55:27 -08:00
|
|
|
=== 3.1 ===
|
|
|
|
* get_message_processors accepts an addition parameter for testing, which will just reset processor and exit.
|
2016-01-13 15:21:17 +00:00
|
|
|
* Deprecated method message_current_user_is_involved() has been removed.
|
2015-11-20 13:55:27 -08:00
|
|
|
|
2015-04-22 09:53:35 +05:30
|
|
|
=== 2.9 ===
|
|
|
|
* Renderer method \core_message_renderer::manage_messagingoptions now accepts a user id parameter as well.
|
|
|
|
|
2013-08-30 14:28:17 +08:00
|
|
|
=== 2.6 ===
|
|
|
|
* Message processor extending message_output, should return true in can_send_to_any_users()
|
|
|
|
if it supports message sending to internal (noreply/support) users.
|
2013-09-26 10:34:27 +12:00
|
|
|
* Message API has been changed to allow attachments. Message processors that can support
|
|
|
|
attachments can now use additional parameter as a part of $eventdata. To send attachments,
|
|
|
|
$eventdata should contain properties called "attachment" (must be stored_file) and
|
|
|
|
"attachname" (string). Currently, email message processor is the only one to support
|
|
|
|
attachments.
|
2013-08-30 14:28:17 +08:00
|
|
|
|
2011-11-16 13:01:55 +08:00
|
|
|
=== 2.2 ===
|
|
|
|
|
|
|
|
required changes:
|
|
|
|
* lib/messagelib.php message_send($eventdata)
|
|
|
|
$eventdata->userto should contain a property called "emailstop", $eventdata->userto->emailstop
|
|
|
|
If it is absent it will be retrieved from the user table causing an additional database query
|