summaryrefslogtreecommitdiff
path: root/modules/notification/helpers/notification_menu.php
AgeCommit message (Collapse)Author
2009-07-28Use events to generate menus, instead of having xxx_menu helpers.Bharat Mediratta
This is the first step towards having a simple, lightweight and unified API for module interaction.
2009-07-22Modified the notification get_subscribers to ignore any users that don'tTim Almdal
have "view" access to the item the notification is being generated for. Fix for ticket: #538.
2009-07-16Non-trivial changes to the event handling code:Bharat Mediratta
1) The item_updated event no longer takes the old and new items. Instead we overload ORM to track the original data and make that available via the item. This will allow us to move event publishing down into the API methods which in turn will give us more stability since we won't require each controller to remember to do it. 2) ORM class now tracks the original values. It doesn't track the original relationships (no need for that, yet) 3) Added new events: item_deleted group_deleted user_deleted
2009-06-05Move watch notification menu from the view menu to under the Options menu.Chad Kieffer
2009-06-04Update notify/watch eyeglasses icon with bullhorn icon. Rename css/image ↵Chad Kieffer
names from watch to notify.
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-02-02Enable csrf validation on the add/remove notification controllerTim Almdal
2009-02-02code audit fixes + bug fix: don't call sendmail with an empty To list (in ↵Andy Staudacher
notifications module)
2009-02-02Change the item menu to allow the watch icon to change depending onTim Almdal
whether the item is currently being watched. Currently the icon is the same as the add icon and needs to be changed.
2009-02-02We no longer need a dialog to set or remove a watch, so remove it.Tim Almdal
2009-02-01Simplify the setting of a notifications. Notifications are not onlyTim Almdal
set on a album. The notifications are implicitly active for all child elements. It now sends emails if the email address of the subscribed user has been set. No email, no attempt to send the notification. Still to do, come up with better messages as the current ones are just place holders.
2009-01-30The start of the notification module. At this point, the icon has been ↵Tim Almdal
added to the item menu in the sidebar (both photo and album). There is a corresponding icon in themes/default/images that needs to be spruced up. You can add and remove notifications to albums and photos, but nothing happens under the covers for event handling.