aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/notification.php
AgeCommit message (Collapse)Author
2010-02-17Fixes #1488: Removed use of deprecated functions in core. brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10do not register notification rest api calls by default since no other apis ↵cash
exposed not directly related to the api git-svn-id: http://code.elgg.org/elgg/trunk@3650 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-07Fixes #790: Removing unneeded @s.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3513 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-27Fixes #1148: Correctly comparing strings to get OS.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3414 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-30Closes #889: Decoding html entities from messages before stripping tagsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3180 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-11Provide a From email address workaround for those with windows servers. See ↵marcus
issue http://bugs.php.net/bug.php?id=28038 git-svn-id: https://code.elgg.org/elgg/trunk@3155 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-09Banned users no longer get notificationsben
git-svn-id: https://code.elgg.org/elgg/trunk@3134 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-04Private items never trigger notificationsben
git-svn-id: https://code.elgg.org/elgg/trunk@3086 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-04Changed notification to use has_access_to_entity to move all access control ↵kevinjardine
checks to a single mechanism git-svn-id: https://code.elgg.org/elgg/trunk@3070 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-26Small access tweak for sending notifications.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2962 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-24Notifications with nonexistent handlers no longer throw an exception; they ↵ben
now write to the error log. Refs #754 git-svn-id: https://code.elgg.org/elgg/trunk@2931 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-24Fixed error in notification procedureben
git-svn-id: https://code.elgg.org/elgg/trunk@2928 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-20Notification messages can be suppressed programmatically.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2868 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-10Further changes to the notification mechanism.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2706 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-09A single notification is now sent out on forum topic creation.ben
This also contains an update to $entity->countAnnotations, which no longer requires you to specify the annotation type. git-svn-id: https://code.elgg.org/elgg/trunk@2699 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-09Notification fix: you no longer get notifications on your own content.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2698 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-09Extra security for object notifications.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2687 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-05Belts and braces with notificationsben
git-svn-id: https://code.elgg.org/elgg/trunk@2656 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-04Access improvements on granular notificationsben
git-svn-id: https://code.elgg.org/elgg/trunk@2649 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-28notify_user now traps exceptions and logs them.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2625 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-27Change to notification object registration function.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2624 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-26Added object notifications plugin hook override.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2617 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-22A further change to ensure notification messages don't get changed for every ↵ben
method if one method needs to make a change. git-svn-id: https://code.elgg.org/elgg/trunk@2600 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-22Slight change to notifications.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2599 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-22Added more granular notification hookben
git-svn-id: https://code.elgg.org/elgg/trunk@2598 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-22Granular notification: a startben
git-svn-id: https://code.elgg.org/elgg/trunk@2596 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-12-31Closes #579: Allows configurable option $CONFIG->broken_mta = true. If set, ↵marcus
this uses "\n" instead of "\r\n" in email headers. git-svn-id: https://code.elgg.org/elgg/trunk@2524 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-12-05Closes #597: GUID must now be non-zero for messages to be sentmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2509 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-14* Introducing get_loggedin_user() and get_loggedin_userid()marcus
* ACLs now using get_loggedin_user* * Some logic cleaned up * Some "Undefined..." messages cleaned up git-svn-id: https://code.elgg.org/elgg/trunk@2459 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-31Closes #446: marcus
* Errant \r\n and \r chars coverted to \n. * newlines stripped from subject headers. * Lines starting with From are changed to >From git-svn-id: https://code.elgg.org/elgg/trunk@2375 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-31Closes #488: This is indeed a typo... well spotted :)marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2370 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-06git-svn-id: https://code.elgg.org/elgg/trunk@2196 ↵marcus
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-29Set the notification settingsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2146 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-29Notifications get notification stuff in API form.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2145 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-29Closes #369: For entities which are not users the ->email field is used, ↵marcus
failing that it tries to work out an address from ->url and lastly from $CONFIG->site_guid. Closes #382: Fix applied as suggested. git-svn-id: https://code.elgg.org/elgg/trunk@2143 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-14Fixes #245: Tags now stripped from email messages. marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1922 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-11Downgraded UTF support in the email notification function to optionalben
git-svn-id: https://code.elgg.org/elgg/trunk@1836 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Adjusted contributors file.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1806 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Closes #221: Body and subject now internationalised.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1802 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-09Removed toggle since it broke the handler prototypemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1359 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-08Introducing notifications on generic comments.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1336 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-07Option to hide sender.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1316 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-04Unnecessary sanitise string causing issues on some subjectsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1285 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Fixes #100 - User not having any notification method no longer a hard error.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1162 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-26Unified user settings formben
git-svn-id: https://code.elgg.org/elgg/trunk@1149 36083f99-b078-4883-b0ff-0f9b5a30f544