Changes between Version 12 and Version 13 of TracUnreadPlugin
- Timestamp:
- Jun 8, 2015, 1:56:02 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUnreadPlugin
v12 v13 1 1 [[PageOutline(2-5,Contents,Pullout)]] 2 = Show unread tickets =3 2 4 == Description == 3 = Show unread tickets 4 5 == Description 5 6 6 7 This plugin tracks ticket page views and provides "last unread" link __on ticket pages__ (those that end with `/ticket/XYZ`). … … 9 10 [[Image(last.png, border=1, align=center)]] 10 11 11 The only difference is that this plugin is better: it does not just 12 uses your last login time, but actually tracks time when you requested 13 each ticket - and that's why trac environment upgrade is required. 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 why a Trac environment upgrade is required. 14 13 15 14 Of course, it does not work for anonymous users. … … 17 16 [[Image(no_unread_metanav.png, border=1, align=center)]] 18 17 19 I tested it on Trac 0.10 and current trunk of 0.11.18 I tested it on Trac 0.10 and current trunk of Trac 0.11. 20 19 21 == Can I use it in reports? == 22 Yes, you can. 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. 23 21 24 [source:tracunreadplugin/0.11/trac7_with_unread.sql Sample SQL report for PostgreSQL] is included in distribution. 25 26 And here is screenshot: 22 Screenshot: 27 23 28 24 [[Image(trac_unread_report.png, border=1, align=center)]] 29 25 30 But there are limitations .26 But there are limitations: 31 27 32 First of all, you will need PostgreSQL (I'm pretty sure Mysql will work 33 too, but I just don't have trac instance with this backend). SQLite 34 lacks string functions required to extract comment number from 35 "parent.reply" pair in the database (and you want your link to go directly to unread comment, not just to a ticket, right?). 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. 36 29 37 Then, you must dump all `_description`, `description_` and 38 `_description_` fields from your report (they are hidden in default 39 reports anyway). Reason: we will need this field to provide link to 40 "unread comment". The only way to include another link to report row is 41 generating wiki markup in `description` field. At least, I found no 42 other way (in Trac 0.10.4). 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). 43 31 44 == Bugs/Feature Requests ==32 == Bugs/Feature Requests 45 33 46 34 Existing bugs and feature requests for TracUnreadPlugin are … … 48 36 49 37 If you have any issues, create a 50 [ http://trac-hacks.org/newticket?component=TracUnreadPlugin&owner=vnaumnew ticket].38 [/newticket?component=TracUnreadPlugin new ticket]. 51 39 52 == Download == 40 [[TicketQuery(component=TracUnreadPlugin&group=type,format=progress)]] 41 42 == Download 53 43 54 44 Download the zipped source from [download:tracunreadplugin here]. 55 45 56 == Source ==46 == Source 57 47 58 48 You can check out TracUnreadPlugin from [http://trac-hacks.org/svn/tracunreadplugin here] using Subversion, or [source:tracunreadplugin browse the source] with Trac. 59 49 60 == Example ==50 == Example 61 51 62 52 A couple of screenshots: … … 66 56 [[Image(no_unread_metanav.png, border=1, align=center)]] attachment:no_unread_metanav.png 67 57 68 == Recent Changes ==58 == Recent Changes 69 59 70 60 [[ChangeLog(tracunreadplugin, 3)]] 71 61 72 == Author/Contributors ==62 == Author/Contributors 73 63 74 64 '''Author:''' [wiki:vnaum] [[BR]] 75 '''Maintainer:''' [ wiki:vnaum] [[BR]]65 '''Maintainer:''' [[Maintainer]] [[BR]] 76 66 '''Contributors:'''