Changes between Version 4 and Version 5 of TimeTrackingPlugin


Ignore:
Timestamp:
Sep 25, 2014, 9:02:31 PM (10 years ago)
Author:
lucid
Comment:

Charts and weekplan integration etc.

Legend:

Unmodified
Added
Removed
Modified
  • TimeTrackingPlugin

    v4 v5  
    1717(There is ''no'' formal connection between tasks and tickets. Informally wiki-links to tickets can be entered in the task or log descriptions.)
    1818
    19 == Screenshots
     19Optional:
     20* Charts of burned up hours and activity per day using [http://www.chartjs.org/ Chart.js].
     21* WeekPlanPlugin integration for calendar view of log entries.
    2022
    21 The tasks and estimation panel (rows link to ''Edit Task'' mode):
     23=== Screenshots
     24
     25The tasks and estimation panel (rows link to ''Edit Task'' mode):[[BR]]
    2226[[Image(Tasks-Panel.png)]]
    2327
    24 The time logging panel (rows link to ''Edit Log Entry'' mode):
     28The time logging panel (rows link to ''Edit Log Entry'' mode):[[BR]]
    2529[[Image(Log-Panel.png)]]
    2630
    27 One of many possible reports:
     31One of many possible reports:[[BR]]
    2832[[Image(Example-Report.png)]]
     33
     34The charts macro:[[BR]]
     35[[Image(Example-Chart.png)]]
     36
     37=== Configuration
     38
     39Optionally you can change some configuration options in trac.ini to hide or rename certain fields. The defaults are:
     40{{{#!ini
     41[timetracking]
     42year = True
     43location = True
     44location.label = Location
     45category.label = Category
     46project.label = Project
     47}}}
     48
     49=== Charts
     50
     51Example: `[[TimeTrackingChart(year=2014,user=pinky|brain)]]`
     52
     53Parameters:
     54* `width`: Width of the chart. (Defaults to 1200.)
     55* `height`: Height of the chart. (Defaults to 600.)
     56* `user`: `|`-separated list of users. (Defaults to all users.)
     57* `category`: `|`-separated list of categories. (Defaults to all categories.)
     58* `project`: `|`-separated list of projects. (Defaults to all projects.)
     59* `task`: `|`-separated list of tasks. (Defaults to all tasks.)
     60* `year`: `|`-separated list of years. (Defaults to all years.)
     61* `mode`: `cumulative` or `activity`. (Defaults to cumulative.)
     62
     63=== !WeekPlan
     64
     65Enable and register the ``TimeTrackingWeekPlanEventProvider`` in trac.ini under `[weekplan]` `event_providers`, and use the WeekPlanPlugin to display log entries. Specify the plan as `log:username`.
     66
     67Example: `[[WeekPlan(plan=log:pinky|log:brain)]]`
    2968
    3069== !Bugs/Feature Requests
     
    5089A database upgrade will be required as usual (`trac-admin path-to-your-trac-environment upgrade`).
    5190
    52 Assign the new `TIME_TRACKING` permission to the appropriate Trac groups / users (e.g. in Trac's permission !admin page).
     91Assign the new `TIME_TRACKING` and `TIME_TRACKING_ADMIN` permissions to the appropriate Trac groups / users (e.g. in Trac's permission !admin page).
    5392
    5493Create reports under ''View Tickets''. You can copy from the [browser:timetrackingplugin/trunk/docs/reports.txt example reports].