Eloy Lafuente (stronk7)
269c173e81
whitespace fixes
2011-06-13 12:21:48 +02:00
Sam Hemelryk
0723dcab40
Merged branch 'MDL-26960' of git://git.luns.net.uk/moodle with changes
2011-06-13 15:06:19 +08:00
Dan Poltawski
a8134ff68b
messaging: MDL-26960 Check correct users permissions
...
When on message profile page, the incorrect capability was checked
2011-06-09 15:18:43 +01:00
Ruslan Kabalin
8e26531519
MDL-27171 messages: add processor uninstall function
...
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-06-02 09:27:05 +01:00
Ruslan Kabalin
afed8d0f17
MDL-27652 messages: introduce message_update_processors
...
This function populates default message preferences for all existing providers
when the new message processor is added.
The change also includes update of message_set_default_message_preference to
make possible using it for particular message processor update.
install_populate_default_messaging_prefs() is no longer needed and depricted.
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-06-01 12:02:37 +01:00
Ruslan Kabalin
298925d4d1
MDL-27171 messages: clean up pereferences on message provider removal
...
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-31 10:55:30 +01:00
Ruslan Kabalin
31afb0a437
MDL-27171 messages: recover message_update_providers backward compatibility
...
'return true' was removed by mistake
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-31 10:05:39 +01:00
Ruslan Kabalin
e8fc7940a8
MDL-27171 messages: $defaultpreferences is an object, use isset instead.
...
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-31 09:46:22 +01:00
Dan Poltawski
b46ca3d7ae
messaging: MDL-27171 - change variable with underscores
2011-05-31 09:07:38 +01:00
Ruslan Kabalin
ebe0c008ca
MDL-27171 messages: commenting style changes and extra comments
...
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-05-27 14:07:06 +01:00
Ruslan Kabalin
7a04c476a2
MDL-27171 messages: implement new syntax in messages.php and update processing
...
The new messaging default settings can be set in messages.php and deployed
during installation. This also ensures the removing of settings on plugin
uninstallation and contains the update script to populate current default
settings on the existing system when the new feature is introduced.
For security reason we have to avoid using library functions in upgrade
function, so we set defaults the blind way. At this point we do not expect
plugins to have individual messaging defaults presets anyway. The site
defaults are the same as were set for each user using
message_set_default_message_preferences function.
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 14:06:56 +01:00
Ruslan Kabalin
3bcbd80ebe
MDL-27642 messages: ensure message processors are removed when plugin is being uninstalled
...
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 13:49:28 +01:00
Ruslan Kabalin
2e075f41b9
MDL-27171 messages: change send_message to accomodate changes in messaging
...
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 13:49:28 +01:00
Ruslan Kabalin
76a8aef9a1
MDL-27171 messages: allow using user IDs instead of objects in message_send function
...
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 13:49:28 +01:00
Ruslan Kabalin
2af2210c4e
MDL-27652 messages: fix varaibles names in message_send function
...
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 13:49:28 +01:00
andyjdavis
3a00a167c6
message MDL-26119 fixed up the logged URL
2011-02-15 14:24:13 +08:00
Andrew Davis
bc68fc9a9b
message MDL-25297 refactored quiz to make message notifications work
2010-11-19 05:18:34 +00:00
Andrew Davis
c40cfb8cfc
message MDL-25265 message_send() now uses a success flag rather than returning false immediately if a processor fails to prevent a single bad processor preventing others from running
2010-11-18 02:19:59 +00:00
Andrew Davis
305adb1023
message MDL-25114 corrected some code doc
2010-11-09 06:47:53 +00:00
Andrew Davis
a6de5ed53a
message MDL-25114 tried to make the message provider not found error info more helpful
2010-11-09 06:12:04 +00:00
Andrew Davis
60dd7688a8
message MDL-25114 tried to provide a more helpful error message for when code sending a message supplied an unknown component or event name
2010-11-09 06:01:20 +00:00
Andrew Davis
46505ee75e
message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version
2010-11-05 08:04:40 +00:00
Andrew Davis
a46c9a2ab4
message MDL-24763 altered a debugging() call to have a unique message
2010-11-04 06:36:56 +00:00
Andrew Davis
4ffa1463ec
message MDL-24972 made sure all strings in messages are in the message recipient's language
2010-11-02 07:37:25 +00:00
Andrew Davis
388025cbeb
message MDL-24713 added code to mark messages/notifications read if messaging is disabled to prevent the new message table getting huge
2010-10-29 08:02:42 +00:00
Andrew Davis
f5b9b38cc9
message MDL-18977 altered messaging defaults generation
2010-10-28 08:25:36 +00:00
Andrew Davis
6c4e8db081
message MDL-24894 now correctly setting timeread for notifications when there are no processors selected
2010-10-28 07:12:39 +00:00
Andrew Davis
fe983847dd
message MDL-24873 changes to reduce server load and also get the forum's custom email headers passed through correctly
2010-10-27 08:47:33 +00:00
Andrew Davis
2ab19e2a97
message MDL-18977 message defaults. having another go.
2010-10-27 02:55:55 +00:00
Andrew Davis
69554090c7
message MDL-18977 made the message preference default setting code a little more sophisticated to accomodate some requests
2010-10-27 02:14:26 +00:00
Andrew Davis
14a0e7ddff
message MDL-24771 another big commit of messaging fixes
2010-10-26 08:00:29 +00:00
Andrew Davis
a813a74843
message MDL-24771 a big commit that fixes a whole bunch of small issues with messaging
2010-10-25 09:29:34 +00:00
Andrew Davis
4bc735cee9
message MDL-24548 changed message processor defaults
2010-10-15 08:03:01 +00:00
Andrew Davis
ff5b4081e1
message MDL-24548 additional messaging fixes to do with forum notifications
2010-10-08 02:49:53 +00:00
Andrew Davis
4d8b36aa95
message MDL-24548 prevent forum posts appearing as unread messages
2010-10-08 02:33:54 +00:00
Andrew Davis
5683b9e56d
message MDLSITE-1042 prevented messages being automatically marked as read if the popup processor wasnt in use
2010-10-07 03:59:50 +00:00
Petr Skoda
365a594107
MDL-24321 switching to stdClass in /lib/
2010-09-21 08:07:44 +00:00
Petr Skoda
d3674ef70b
removed bogus code + spelling fix
2010-09-18 11:27:06 +00:00
Petr Skoda
03dd057556
fixed missing global regression
2010-09-17 07:58:04 +00:00
Petr Skoda
9d97f08e99
MDL-14679 fixed multiple old style insert_record calls, we throw exceptions now from DML
2010-09-03 16:26:04 +00:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
Andrew Davis
1560760fb0
message MDL-23098 fixed the eratic behaviour of new message notifications
2010-07-06 01:52:32 +00:00
Petr Skoda
e484041b8c
MDL-20625 forbid transactions when sending messages - we can not undo emails
2009-11-07 10:30:03 +00:00
Petr Skoda
7c7d3afab5
MDL-20766 message_send() used intead of events, it will enable us to improve performance and solve db transactions issues independedntly from events, hopefully this will give us more options in future too because the events are designed specifically for communication "moodle-->external systems"
2009-11-07 10:27:57 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
skodak
17da2e6f28
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
2009-06-19 14:25:56 +00:00
samhemelryk
ce02a9bf94
lib MDL-19236 Added boilerplates and copyrights
2009-05-26 02:46:09 +00:00
lfrodrigues
1c50df9f24
MDL-16268 User-User send messages now use new messaging system.
2008-08-30 17:53:30 +00:00
lfrodrigues
818dc096d1
MDL-10107 - added missing error translation string
2008-08-02 00:13:10 +00:00
lfrodrigues
2044a2b26f
MDL-10107 - Removed old email_to_user with we still arround and added default message processor for user,
...
adminuser and on messagelib
2008-08-02 00:04:29 +00:00