#4744 closed enhancement (fixed)
WatchlistPlugin should have email notifications
Reported by: | Jeff Hammel | Owned by: | Martin Scharrer |
---|---|---|---|
Priority: | normal | Component: | WatchlistPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The WatchlistPlugin has a more sensible structure for watched changes than tWikiNotificationPlugin (which only works for the wiki), AnnouncerPlugin (which works based on path instead of individual resources), or the CC field (which conflates ticket attributes with event listeners).
However, the WatchlistPlugin does not do email or other notification. This is a big drawback.
Email notification should be implemented. I am willing to assist if requested.
Attachments (0)
Change History (9)
comment:1 Changed 16 years ago by
comment:2 Changed 15 years ago by
+1 for this, this would allow to workaround the limitations of Trac ticket's CC field.
comment:3 Changed 15 years ago by
Workaround:
I downloaded and modified the source of AnnouncerPlugin to rename its "Watch This"/"Unwatch This" links to "Email Changes" and "Don't Email Changes".
- SVN Checkout AnnouncerPlugin
mkdir modified_announcer cd modified_announcer svn co http://trac-hacks.org/svn/announcerplugin/0.11/
- Modify this file to rename the AnnouncerPlugin links:
0.11/announcerplugin/subscribers/watchers.py (lines 147 and 149)
- Modify this file to update the version number:
0.11/setup.py
- install using easy install
easy_install .
Hope this helps!
comment:4 Changed 15 years ago by
(The workaround described above will enable you to use both AnnouncerPlugin and WatchlistPlugin without confusing your users. AnnouncerPlugin emails you changes, and WatchlistPlugin adds your changes to a watchlist page. It doesn't change the functionality of either plugin.)
comment:5 Changed 15 years ago by
@agross: thanks a lot for the tip, the AnnouncerPlugin does exactly what I was looking for!
Cheers, Maxence
comment:7 Changed 15 years ago by
Status: | new → assigned |
---|
comment:8 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I now added a notification column into the watchlist which allows the user to enable/disable the AnnouncerPlugin notifications for a watched wiki or ticket. This needs of course the AnnouncerPlugin installed. The modifications mentioned in comment:3 to change the context navigation bar labels of the AnnouncerPlugin are still recommended. Otherwise there are Watch
and Watch this
entries in the bar.
Use revision [6834] or later.
comment:9 Changed 15 years ago by
See #5682 for further integration of the WatchlistPlugin and AnnouncerPlugin.
Very nice idea. So far I know Trac provides some change listener methods which can be used to trigger the notification, but I don't have much experience with them. I also have to check how to send emails using Trac.
I don't have any time for that at the moment. Maybe in a couple of weeks ... But feel free to make some outline how to program it.