Added notification sections.
diff --git a/NewsfeedModule.wiki b/NewsfeedModule.wiki index acf6c27..68d3e12 100644 --- a/NewsfeedModule.wiki +++ b/NewsfeedModule.wiki
@@ -91,12 +91,29 @@ The 'subscribe' path will also be the interface for any PubSub interactions, but those will only be activated on POST requests with a callback URL, otherwise the ATOM feed will be returned as normal. += Notification Integration = -= E-mail Notification Task = +The notifications module has been in need of work, and I've refactored it so that it has two new beneficial features: + + * Deploy to multiple contexts (the newsfeed widget, an ATOM feed for the user w/ pubsub support, and information-enriched private e-mails). + + * Any entity with a newsfeed can now be referenced in the notification so that that entity's newsfeed will be updated, etc. + + +== Notification TODO == + +* Refactor access handler to be able to perform reflective rights-based queries. +* Improve notifications front-end +* Licensing issues for images? +* Improve e-mail format to take better advantage of entity-tagging in notes. +* Tag multiple entities in notification. + + += E-mail Tasks = When a feed item is created, it schedules a handler to send out e-mail notification. This handler calls the sendFeedItemEmailNotifications method that fetches a list of users who are subscribed to the sender entity and e-mails them. -(This results in an OverQuota Error for more than a few people, and since it's in a task, it refreshes and starts e-mailing people again! The solution is to put the mail_dispatcher sendMessage method into a task, so all e-mails are sent via tasks and don't risk mass-spamming when a request fails.) +E-mails are now each sent via the mail_dispatcher task. Since it is very common to get OverQuotaErrors, this task API should always be used for sending e-mails. = User Subscriptions =