Changes between Version 1 and Version 2 of TracUnreadPlugin


Ignore:
Timestamp:
Apr 20, 2008, 1:34:46 PM (16 years ago)
Author:
Vladislav Naumov
Comment:

detailed description added

Legend:

Unmodified
Added
Removed
Modified
  • TracUnreadPlugin

    v1 v2  
    33== Description ==
    44
    5 This plugin tracks ticket page views and provides "last unread" link.
     5This plugin tracks ticket page views and provides "last unread" link on ticket pages.
     6Similar to one you've probably seen on most forums.
     7The only difference is that this plugin is better: it does not just
     8uses your last login time, but actually tracks time when you requested
     9each ticket - and that's why trac environment upgrade is required.
    610
     11Of course, it does not work for anonymous users.
     12
     13== Can I use it in reports? ==
     14Yes, 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
     19But there are limitations.
     20
     21First of all, you will need PostgreSQL (I'm pretty sure Mysql will work
     22too, but I just don't have trac instance with this backend). SQLite
     23lacks string functions required to extract comment number from
     24"parent.reply" pair in the database.
     25
     26Then, you must dump all `_description`, `description_` and
     27`_description_` fields from your report (they are hidden in default
     28reports 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
     30generating wiki markup in `description` field. At least, I found no
     31other way (in Trac 0.10.4).
    732
    833== Bugs/Feature Requests ==
     
    2449== Example ==
    2550
    26 (here will be screenshot)
     51A couple of screenshots:
     52[[Image(last_metanav.png, border=1, align=center)]]
     53
     54[[Image(no_unread_metanav.png, border=1, align=center)]]
    2755
    2856== Recent Changes ==