260 Commits

Author SHA1 Message Date
Brian Barnes
18d0acf8ca MDL-48423 messages: improved accessibility of contacts list 2014-12-18 10:56:19 +13:00
Brian Barnes
e19367db13 MDL-48041 messages: Removed HTML table around user images 2014-11-07 09:56:31 +13:00
Sam Hemelryk
be8989065c Merge branch 'MDL-46391-master' of https://github.com/DmitryNefedov/moodle 2014-10-08 10:45:23 +13:00
Sam Hemelryk
127ef54082 Merge branch 'MDL-45374' of git://github.com/jleyva/moodle 2014-10-06 10:44:30 +13:00
Juan Leyva
193edf7f77 MDL-45374 messages: Created new API function message_get_messages 2014-10-03 16:37:13 +02:00
Dmitry Nefedov
b34eb03bb5 MDL-46391 messages: Display search button under contact list.
Add search button to only Message navigation -> Contacts section.
2014-09-29 17:30:54 +08:00
Mark Nelson
cbfd685a7e MDL-45818 core_message: use system context if user no longer exists 2014-08-29 16:19:35 -07:00
Mark Nelson
e6aae58d0d MDL-45594 core_message: ordered recent notifications by timecreated 2014-07-23 16:39:02 -07:00
Tim Hunt
f68b11f7ad MDL-45594 simplify message_get_recent_conversations SQL
I am pretty sure that this new SQL is logically equivalent to
the original, and it passes Mark's unit tests. However, it is
hard to be 100% sure.
2014-07-23 16:39:02 -07:00
Andrew Davis
727c69ca9e MDL-42214 core_message:prevented popup notifications of messages from blocked users 2014-07-14 09:49:47 +08:00
Rajesh Taneja
25bd63b713 MDL-45565 core_message: Fixed strangers array
Strangers get mixed with noreply user and support user,
if  noreply/support users real user.
To avoid duplication use userid as array index. Also,
avoid fetching data again for noreply and support users,
if they are real users, then data is already feteched.
2014-05-23 11:56:38 +08:00
Frederic Massart
2236a5655b MDL-45566 message: Send blocking events when user is not in contact list 2014-05-20 13:17:58 +08:00
Mark Nelson
f3d981897e MDL-43557 events: renamed event class names
1) The core 'item_tagged' class was renamed to 'tag_added'.
2) The core 'item_untagged' class was renamed to 'tag_removed'.
3) The core 'message_read' class was renamed to 'message_viewed'.
4) The mod_forum 'userreport_viewed' class was renamed to 'user_report_viewed'.
5) The report_outline 'activity_viewed' was renamed to 'activity_report_viewed'.
6) The report_outline 'outline_viewed' was renamed to 'report_viewed'.
2014-04-29 19:15:47 -07:00
Juan Leyva
5e12b369af MDL-44954 messages: Fixed save notifications with the notification flag 2014-04-07 12:19:52 +02:00
Mark Nelson
7cd6abf28a MDL-40913 core_message: removed 'view' add_to_log call 2014-03-07 15:15:44 -08:00
Mark Nelson
5b09190975 MDL-40913 core_message: created 'message_read' event 2014-03-07 15:15:43 -08:00
Mark Nelson
cd60936523 MDL-40913 core_message: replaced 'unblock contact' add_to_log call with an event 2014-03-07 15:15:43 -08:00
Mark Nelson
3f3d9521de MDL-40913 core_message: replaced 'block contact' add_to_log call with an event 2014-03-07 15:15:42 -08:00
Mark Nelson
5edf9f3bd3 MDL-40913 core_message: replaced 'remove contact' add_to_log call with an event 2014-03-07 15:15:42 -08:00
Mark Nelson
0d9bdf6185 MDL-40913 core_message: replaced 'add contact' add_to_log call with an event 2014-03-07 15:15:42 -08:00
Matteo Scaramuccia
f5482be6f8 MDL-43577 Messages Incorrect variable expansion in the message template. 2014-01-13 21:06:58 +01:00
Rajesh Taneja
be98b1863a MDL-42754 Messages: Fixed typo 2013-11-11 17:20:26 +08:00
Rajesh Taneja
9a90e7c57a MDL-42754 Messages: Show noreply user notifications
With fake noreply and support users, the notifications were not accessible by user
Support for viewing messages from noreply user has been added.

Signed-off-by: Rajesh Taneja <rajesh@moodle.com>
2013-11-07 13:08:30 +08:00
Petr Škoda
1555e10cdf MDL-41941 clean message text 2013-11-04 11:40:13 +08:00
Petr Škoda
4048f5b39c MDL-42207 standardise message text formatting 2013-10-25 07:08:34 +02:00
Petr Škoda
e87214bda7 MDL-42078 multiple uninstall improvements and cleanup
Includes:
* update checker refactored to \core\update\ namespace
* plugininfo classes refactored to \core\plugininfo\ namespace
* plugin_manager renamed to core_plugin_manager
* redirect back to original page after plugin uninstall
* fixed assign subplugin uninstall
* move assign subplugins under the assignment in admin tree
* fixed plugininfo for all question related plugin types
* auth uninstall support
* added missing block dependencies
* added theme uninstall
* subplugin types are following the plugin on plugin overview page
* several performance improvements in plugin manager
* new warnigns when plugininfo are outdated or missing
* multiple fixes and other improvements
2013-10-07 13:10:36 +02:00
Sam Hemelryk
52dc898d16 Merge branch 'MDL-41228_master' of https://github.com/totara/openbadges 2013-10-01 13:37:44 +13:00
Rajesh Taneja
3bcf6b3cdd MDL-31560 Messages: Added support for noreply and support users
This is used by messaging system for sending/receiving message
to/from noreply or support user. message_send api will now use
core_user class to get noreply or support user and then
send/receive message depending on user state.
2013-09-13 16:13:26 +08:00
Marina Glancy
8f0137e192 MDL-41369 Pass viewing argument to more message screens 2013-09-04 17:11:30 +10:00
Yuliya Bozhko
ed23ad31c7 MDL-41228 phpunit: Reset message processors list in unit tests 2013-09-03 17:43:53 +12:00
Petr Škoda
2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Andrew Davis
2e2d197798 MDL-37164 core_message: prevent users from interacting with themself 2013-02-11 08:48:56 +08:00
Dan Poltawski
751f00a0bb Revert "MDL-37164 core_message: prevent users from interacting with themself"
Was breaking unit tests.

This reverts commit 61a73b43c13da988872aab4125a43d0ced322ae9 and 7bb19ee167c6976b4f0910aed8c3070426cd97db.
2013-02-05 14:42:20 +08:00
Andrew Davis
7bb19ee167 MDL-37164 core_message: prevent users from interacting with themself 2013-02-01 08:12:28 +08:00
Andrew Davis
d8ef2bc03c MDL-13805 core_message: altered some strings so it isnt weird when viewing a different users messages 2013-01-28 16:07:37 +13:00
Andrew Davis
447df209cf MDL-13805 core_message: fixed the admin's ability to read another users messages 2013-01-28 16:07:37 +13:00
Frederic Massart
a03330bd16 MDL-30070 message: Optimised search for users over multiple courses 2013-01-15 15:15:47 +08:00
Sam Hemelryk
18e4963a74 Merge branch 'MDL-36321_message_participants' of git://github.com/andyjdavis/moodle 2012-12-12 09:29:33 +13:00
Andrew Davis
0a5b8e9e2c MDL-36321 core_message: made the course participants list correctly show if course participants are contacts or not 2012-11-30 11:14:09 +08:00
Frederic Massart
f2bba619b3 MDL-36631 usability: Core edit for new messaging icons 2012-11-23 12:16:35 +08:00
Andrew Davis
f91528d985 MDL-26439 core_message: switched the message search over to displaying smallmessage instead of fullmessage which contains boilerplate we dont want 2012-11-19 09:32:13 +08:00
Andrew Davis
26e02d7586 MDL-34367 core_message: removed the call to $PAGE->set_popup_notification_allowed from message/lib.php 2012-10-01 11:00:48 +08:00
Sam Hemelryk
b5b82ae943 Merge branch 'MDL-30022_message_duplicate' of git://github.com/andyjdavis/moodle 2012-09-04 16:50:36 +12:00
Andrew Davis
6109f7afce MDL-30022 message: made the messaging history display code able to deal with multiple messages with the same timecreated value 2012-08-24 08:04:40 +08:00
Aparup Banerjee
9949e91a57 MDL-34991 Messaging : Fixed rendering of notifications with CRLF to go through text_to_html() in message notifications view page. 2012-08-21 15:23:56 +08:00
Sam Hemelryk
e432bf2472 Merge branch 'MDL-34471-master' of git://github.com/ankitagarwal/moodle 2012-08-08 15:05:39 +12:00
Aparup Banerjee
2efd02caa6 Merge branch 'MDL-34560_accessibility' of git://github.com/rwijaya/moodle 2012-08-07 14:45:29 +08:00
Rossiani Wijaya
6cae398f1d MDL-34560 accessibility compliance for message: Add label for input text and select tag 2012-08-04 17:07:07 +08:00
Andrew Davis
a2592fecd1 MDL-22937 mod_chat: switched chat from tables to div/span + css and made chat, comment and message formats more similar 2012-08-03 08:40:49 +08:00
Ankit Agarwal
bf0f06b1be MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method 2012-08-02 15:37:38 +08:00