|Version 17 (modified by martin_s, 5 years ago) (diff)|
Watchlist for Wikis and Tickets
This plug-in adds a watchlist for wikis and tickets. Every logged-in user can watch any wikis and ticket and later unwatch it. The watchlist is provided under [/projectname]/watchlist which is added to the main navigation bar as soon the user watches something.
To insert a watchlist style table into wikis use the ListOfWikiPagesMacro.
A special ticket report which only shows watched tickets is also provided.
Install the python package as normal and update your Trac database using:
trac-admin /path/to/trac/environment upgrade
If you have any issues, create a new ticket.
Download the zipped source from here.
Browse any wiki or ticket and click Watch in the context navigation bar. To unwatch a wiki or ticket browse to it and click Unwatch in the context navigation bar or click the corresponding Unwatch link in the watchlist.
In order to see the watchlist click on the Watchlist button on the main navigation bar. This button will only be displayed for logged in users. The watchlist will be displayed under the location /watchlist. Therefore it can be linked to from a wiki page using [/watchlist].
A ticket report can be added to list all watched tickets of the current user. This is not done automatically at the moment. However, the needed SQL code for a manual installation can be taken from the this file.
Using it together with the AnnouncerPlugin
If the AnnouncerPlugin is used to receive change notifications the watchlist allows the user to easily change the notification setting of watched wikis and tickets. If this feature is enabled an extra column appears in the watchlist which informs the user about the current setting (On/Off) and allow him/her to change it.
To enable this feature install the AnnouncerPlugin and write the following into your Trac configuration file (conf/trac.ini):
[watchlist] notifications = true
This feature implements enhancement request #4744.
To enable notifications by default for all entries in the watchlist (see #6052) also add:
# still in [watchlist] notify_by_default = true
-  by jun66j5 on 2015-02-07 19:16:12
1.0.1: fixed a KeyError being raised when translations unavailable (closes #12176)
-  by jun66j5 on 2014-12-27 15:18:40
1.0.1: fixed an AttributeError when Trac has unavailable translations and Babel is installed (refs #10054)
-  by rjollos on 2014-12-15 00:31:34
1.0.1: Fixed handling of timezone offset. Fixes #10424.
Patch by Jun Omae.