aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/notification.php
AgeCommit message (Collapse)Author
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
2008-06-26Closes #90: Settings: Change name marcus
http://trac.elgg.org/elgg/ticket/90 git-svn-id: https://code.elgg.org/elgg/trunk@1142 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-26Closes #89: Provide functionality for a user to set their email address in ↵marcus
user settings http://trac.elgg.org/elgg/ticket/89 git-svn-id: https://code.elgg.org/elgg/trunk@1138 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-25Closes #79: Email confirmation on registration & email change marcus
http://trac.elgg.org/elgg/ticket/79 git-svn-id: https://code.elgg.org/elgg/trunk@1137 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-25Refs #78: Email notifications on friending, comments marcus
http://trac.elgg.org/elgg/ticket/78 git-svn-id: https://code.elgg.org/elgg/trunk@1124 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-25Fixes #84: Method for retrieving preferences for a user and notifying ↵marcus
accordingly http://trac.elgg.org/elgg/ticket/84 git-svn-id: https://code.elgg.org/elgg/trunk@1120 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-24Closes #83 - API & Interface for selecting notification methodsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1110 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10register_event_handler and trigger_event have been renamed to ↵ben
register_elgg_event_handler and trigger_elgg_event respectively. git-svn-id: https://code.elgg.org/elgg/trunk@848 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-05Marcus Povey <marcus@dushka.co.uk>icewing
* More text internationalised git-svn-id: https://code.elgg.org/elgg/trunk@804 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-04Marcus Povey <marcus@dushka.co.uk>icewing
* Belts and braces git-svn-id: https://code.elgg.org/elgg/trunk@792 36083f99-b078-4883-b0ff-0f9b5a30f544