Changes between Version 1 and Version 2 of TracUnreadPlugin
- Timestamp:
- Apr 20, 2008, 1:34:46 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUnreadPlugin
v1 v2 3 3 == Description == 4 4 5 This plugin tracks ticket page views and provides "last unread" link. 5 This plugin tracks ticket page views and provides "last unread" link on ticket pages. 6 Similar to one you've probably seen on most forums. 7 The only difference is that this plugin is better: it does not just 8 uses your last login time, but actually tracks time when you requested 9 each ticket - and that's why trac environment upgrade is required. 6 10 11 Of course, it does not work for anonymous users. 12 13 == Can I use it in reports? == 14 Yes, you can. 15 16 [source:tracunreadplugin/0.11/trac7_with_unread.sql SQL report (for PostgreSQL)], and here is screenshot: 17 [[Image(trac_unread_report.png, border=1, align=center)]] 18 19 But there are limitations. 20 21 First of all, you will need PostgreSQL (I'm pretty sure Mysql will work 22 too, but I just don't have trac instance with this backend). SQLite 23 lacks string functions required to extract comment number from 24 "parent.reply" pair in the database. 25 26 Then, you must dump all `_description`, `description_` and 27 `_description_` fields from your report (they are hidden in default 28 reports anyway). Reason: we will need this field to provide link to 29 "unread comment". The only way to include another link to report row is 30 generating wiki markup in `description` field. At least, I found no 31 other way (in Trac 0.10.4). 7 32 8 33 == Bugs/Feature Requests == … … 24 49 == Example == 25 50 26 (here will be screenshot) 51 A couple of screenshots: 52 [[Image(last_metanav.png, border=1, align=center)]] 53 54 [[Image(no_unread_metanav.png, border=1, align=center)]] 27 55 28 56 == Recent Changes ==