Time tracker is a ChiliProject plugin to ease time tracking when working on an issue. The plugin allows to start/suspend/resume/stop a timer on a per user basis.
This is a fork of the official Redmine Time Tracker plugin from delaitre.
-
Current spent time always visible
-
Timer automatic updated without reload
-
Per user time tracking
-
Using known ‘log time’ dialog
The newest version is always at GitHub.
-
Follow the ChiliProject plugin installation steps at: www.chiliproject.org/projects/chiliproject/wiki/Plugin_Install Make sure the plugin is installed to
vendor/plugins/chiliproject_time_tracker
-
Setup the database using the migrations.
rake db:migrate:plugins RAILS_ENV=production
-
Login to your ChiliProject install as an Administrator
-
Setup the ‘log time’ permissions for your roles
-
Add “Time tracking” to the enabled modules for your project
-
The link to the plugin should appear in the ‘account’ menu bar
Note: if you don’t see any stop/pause buttons after starting a time tracker, you will need to copy chiliproject_time_tracker/assets/*
to <chiliproject_root>/plugin_assets/chiliproject_time_tracker/
or to make a symbolic link <chiliproject_root>/plugin_assets/chiliproject_time_tracker
pointing to chiliproject_time_tracker/assets
To be able to use a time tracker, a user must have the ‘log time’ permission. Then, the current time tracker information are displayed in the top right menu, next to the user info.
These information are context dependant:
-
If the user does not have a running time tracker yet, a message telling so will be displayed.
-
If the user does not have a running time tracker yet but he is displaying an issue, then the ‘start’ action will be displayed.
-
If the user has a running time tracker, the current spent time is displayed (and refreshed periodically) next to the tracked issue number. The ‘pause’ or the ‘resume’ action will be displayed as well as the ‘stop’ one too. Stopping the time tracker will redirect the user to the standard time logging page with the ‘hours’ field filled with the time tracker value. This way, we rely on existing and well known behaviours.
To be noted that these actions are available in the issues list context menu too (right click in the issues list).
A ‘list’ action is displayed in the menu too. This action will redirect the user to a page listing his time tracker and other user’s ones if the ‘view others time trackers’ right is set. From this list, the user can ‘delete’ his time tracker (or the other user’s ones if the ‘delete others time trackers’ permission is set).
The plugin settings page allows to define the spent time refresh rate and the status transition to apply when a time tracker is started. For example, if a transition ‘New’ -> ‘In progress’ is added, starting a time tracker on an issue having the ‘New’ status will automatically change it to ‘In progress’.
-
Download the last official release from the ChiliProject plugin directory
-
Replace your old ChiliProject’s
vendor/plugins/chiliproject_time_tracker
folder with the one contained in the downloaded package -
Update the database using the migrations.
rake db:migrate:plugins RAILS_ENV=production
-
Restart your ChiliProject
Note: if you have done a copy of the plugin assets into <chiliproject_root>/plugin_assets/chiliproject_time_tracker
as explained in the Install paragraph above, you will need to update these too.
-
Open a shell to your ChiliProject’s
vendor/plugins/chiliproject_time_tracker
folder -
Update your git copy with
git pull
-
Update the database using the migrations.
rake db:migrate_plugins RAILS_ENV=production
-
Restart your ChiliProject