Trac Announcer System Proposal
Notice: This proposal is superseded by the AdvancedNotification proposal.
The Context
This is a proposal to replace the Trac Notification System with the AnnouncerPlugin.
Requirements
Trac Notification API compatibility
This will be needed to not instantly break 30+ Trac plugins using TracNotification system right now (see: plugin listing for details). So after analyzing the current implementation of Trac Notification Api we have to decide on witch classes have to be added to Announcer code to fully replace TracNotification.
i18n requirements
One of the shortcomings of the current e-mail notification system is that there's only one e-mail prepared which is then sent to every receiver. It should be possible to customize the mail according to each user's preferences (e.g. #2625) and a nice customization would be to translate the notification mail to each recipient's preferred language (#8903).
I'd be particularly interested to see how the Formatter / Distributor concepts of the Announcer would deal with that requirement.
Subscription logic
The current system is at the same time too complex with many .ini settings, and too inflexible. Not to mention the bugs ;-)
Some kind of drastic change seems in order. For example, see the suggestion of a Subscribe ticket (notify me when the ticket is changed checkbox / link (ticket:4056#comment:19).
Announcer System
Sequence Diagrams
User Edits Ticket
Event is Dispatched to the Mail Distributor
Mail Distributor Formats and Sends Email
Proposed Announcer Preferences
Consider Notification Tickets
Discussion
If Announcer would substitute TracNotification, following tickets would be
Summary
based on 57 results from 04-Aug-2010, ordered by priority
ticket no. | milestone | aims/notes/references | effect of migration |
---|---|---|---|
high | |||
unscheduled |
|
ref: alternative/refinement of #4056 | |
0.13 |
ref: fits nicely with #3914 |
| |
normal | |||
unscheduled |
|
ref: IRepositoryChangeListener available as notification trigger (since inclusion of mutirepos branch) | |
next-major-0.1X |
|
ref: new notification system discussion at Trac-Dev | |
next-major-0.1X |
|
| |
next-major-0.1X |
hint: inconsitency, since removal from cc-field triggers notification to removed address/user |
| |
next-major-0.1X |
|
hint: links to references on good HTML email design standards, discussion on Trac-Users, hint on Announcer and more |
Summary of worth-to-be-propagated requests
- extend user pref: enhance filter/subscription - #4056
See also: TracNotification, TracDev/Proposals, TracNotification API documentation, Developer reference page for AnnouncerPlugin, related tickets: No results, and Trac Notifications mail on Trac-dev
Attachments (6)
- layer1-umlsd.png (22.2 KB ) - added by 13 years ago.
- layer2-umlsd.png (25.9 KB ) - added by 13 years ago.
- layer3-umlsd.png (59.1 KB ) - added by 13 years ago.
- pgf-umlsd.sty (7.8 KB ) - added by 13 years ago.
- announcer.tex (2.9 KB ) - added by 13 years ago.
- prefs0.png (41.2 KB ) - added by 13 years ago.
Download all attachments as: .zip