Changes between Version 7 and Version 8 of S3/Notifications
- Timestamp:
- 09/05/13 10:49:46 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/Notifications
v7 v8 2 2 [[TOC]] 3 3 4 The S3Notificationsframework is used to send automatic update notifications to subscribers.4 The {{{S3Notifications}}} framework is used to send automatic update notifications to subscribers. 5 5 6 6 == Subscriptions == 7 7 8 Person Entities (e.g. users) can subscribe to get notified when new records get created or records get updated in a resource. Subscriptions can be filtered (using saved filters) to limit notifications to records matching certain filter criteria. 8 Users can subscribe to get notified when new records get created or records get updated in a resource. 9 10 Subscriptions can be filtered (using saved filters) to limit notifications to records matching certain filter criteria. 9 11 10 12 === Data Model === … … 77 79 78 80 ||'''Setting'''||'''Explanation'''|| 79 || settings.msg.notify_renderer||Pre-renderer function, render(resource, data, meta_data, format=None)||80 || settings.msg.notify_subject||Template for the subject line of notification emails||81 || settings.msg.notify_email_format||Preferred email format (can be overridden per subscription) - "html" or "text"||81 ||'''settings.msg.notify_renderer'''||Pre-renderer function, render(resource, data, meta_data, format=None)|| 82 ||'''settings.msg.notify_subject'''||Template for the subject line of notification emails|| 83 ||'''settings.msg.notify_email_format'''||Preferred email format (can be overridden per subscription) - "html" or "text"|| 82 84 83 85 ==== Per Resource ==== 84 86 87 - ''with s3db.configure()'' 88 85 89 ||'''Setting'''||'''Explanation'''|| 86 || notify_fields||Fields to extract for notification emails (like list_fields)||87 || notify_renderer||Pre-renderer function, see settings.msg.notify_renderer||88 || notify_template||Prefix for the message template(s)||90 ||'''notify_fields'''||Fields to extract for notification emails (like list_fields)|| 91 ||'''notify_renderer'''||Pre-renderer function, see settings.msg.notify_renderer|| 92 ||'''notify_template'''||Prefix for the message template(s)|| 89 93 90 94 ----