Tim Almdal
0408a0096a
Undo r20234
2009-03-03 06:29:16 +00:00
Tim Almdal
1c6384f823
Removed the === false and === true checks
2009-03-03 06:18:18 +00:00
Bharat Mediratta
9f77ca61f8
Indentation fix.
2009-02-10 03:22:42 +00:00
Tim Almdal
0f9c5feb89
Use the ORM method delete_all to remove selected records from the
...
database instead of calling the Database::query with raw sql.
2009-02-08 17:32:37 +00:00
Tim Almdal
704fd72623
Delete subscriptions when a user is deleted
2009-02-04 17:25:30 +00:00
Tim Almdal
ef58ac91e8
Notifications now send emails when a comment is published. It won't
...
send the email if the comment status is not published. This gives the
administrator to moderate the comments prior to being published.
2009-02-02 15:41:47 +00:00
Tim Almdal
69a7e238a4
As we stagger towards completing the notification module.
...
Item changes and Item additions email notifications with this change.
Still to come is item deleted, comment added and comment updated.
2009-02-02 03:09:17 +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