Commit Graph

6 Commits

Author SHA1 Message Date
Tim Almdal
9e01c80ef4 Enable csrf validation on the add/remove notification controller 2009-02-02 13:28:42 +00:00
Andy Staudacher
60d3d6e704 code audit fixes + bug fix: don't call sendmail with an empty To list (in notifications module) 2009-02-02 07:32:45 +00:00
Tim Almdal
01d00dfd86 Change the item menu to allow the watch icon to change depending on
whether the item is currently being watched.  Currently the icon is
the same as the add icon and needs to be changed.
2009-02-02 03:55:33 +00:00
Tim Almdal
0eb593711b We no longer need a dialog to set or remove a watch, so remove it. 2009-02-02 03:21:29 +00:00
Tim Almdal
6f35829173 Simplify the setting of a notifications. Notifications are not only
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-02-01 03:58:31 +00:00
Tim Almdal
38cf6ca403 The start of the notification module. At this point, the icon has been 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. 2009-01-30 20:52:25 +00:00