Changes between Version 14 and Version 15 of TracUnreadPlugin
- Timestamp:
- Dec 3, 2015, 3:34:30 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUnreadPlugin
v14 v15 5 5 == Description 6 6 7 This plugin tracks ticket page views and provides "last unread" link __on ticket pages__ (those that end with `/ticket/XYZ`). 8 Similar to one you've probably seen on most forums. 7 This plugin tracks ticket page views and provides "last unread" link '''on ticket pages''', ie those pages that end with `/ticket/XYZ`. This is similar to a feature you have probably seen on most forums: 9 8 10 9 [[Image(last.png, border=1)]] 11 10 12 The only difference is that this plugin is better: it does not just uses your last login time, but actually tracks time when you requested each ticket - and that's whya Trac environment upgrade is required.11 The only difference is that this plugin does not just use your last login time, but actually tracks time when you requested each ticket. This is also the reason that a Trac environment upgrade is required. 13 12 14 Of course, it does not work for anonymous users .13 Of course, it does not work for anonymous users: 15 14 16 15 [[Image(no_unread_metanav.png, border=1)]] … … 18 17 Tested on Trac 0.10 and current trunk of Trac 0.11. 19 18 20 This plugin can be used in reports and a [source:tracunreadplugin/0.11/trac7_with_unread.sql sample SQL report for PostgreSQL] is included in distribution. 21 22 Screenshot: 19 This plugin can be used in reports and a [source:tracunreadplugin/0.11/trac7_with_unread.sql sample SQL report for PostgreSQL] is included in its distribution: 23 20 24 21 [[Image(trac_unread_report.png, border=1)]] 25 22 26 But there are limitations: 27 28 First of all, you will need PostgreSQL (not tested with MySQL). SQLite lacks string functions required to extract comment number from "parent.reply" pair in the database, which invalidates the use of SQLite for this plugin. 29 30 Then, you must dump all `_description`, `description_` and `_description_` fields from your report (they are hidden in default reports). Reason: we will need this field to provide link to "unread comment". The only way to include another link to report row is generating wiki markup in `description` field. At least, I found no other way (in Trac 0.10.4). 23 Known limitations: 24 1. This plugin works with PostgreSQL: SQLite lacks string functions required to extract comment number from "parent.reply" pair in the database. Nor has it been tested with MySQL. 25 2. Also, you must dump all `_description`, `description_` and `_description_` fields from your report (they are hidden in default reports). The reason is that these fields provide the link to "unread comment". The only way to include another link to report row is generating wiki markup in `description` field. This could be improved however, and patches welcome. 31 26 32 27 == Bugs/Feature Requests … … 52 47 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 53 48 54 == Example55 56 A couple of screenshots:57 58 [[Image(last_metanav.png, border=1)]] attachment:last_metanav.png59 60 [[Image(no_unread_metanav.png, border=1)]] attachment:no_unread_metanav.png61 62 49 == Recent Changes 63 50