User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:issue:4428

This is an old revision of the document!


Time Tracking

Introduction

This is currently a work in progress. It will be updated as and when I get time or the checked in code's functionally changes.

Configuration Options

Currently the configuration options only exists in config_defaults_inc.php.

g_time_tracking_enabled

Turns Time Tracking features on or off

g_time_tracking_hours

When single numbers are entered decide if they are hours or minutes. This option will disappear in the next release as all numbers entered will be minutes.

g_time_tracking_with_billing

Adds calculation links to workout how much time has been spent between a particular time frame. Currently it will allow you to enter a cost/hour and will work out some billing information. This will become more extensive in the future. Currently it is more of a proof of concept.

g_time_tracking_stopwatch

Instead of a text field turning this option on places a stopwatch on the page with “Start/Stop” and “Reset” buttons next to it. You must have g_use_javascript switched on for this to take effect. A bit gimickie, but who cares.

Database

The time tracking information is attached to a bugnote. Currently it is using a MySQL TIME column in the database to hold the time component. The current schema does not contain any reference to this as it is still exprimental. To add the column:

ALTER TABLE bugnote_table ADD COLUMN time_tracking TIME DEFAULT 0;

This will be changing to an integer for better database mirgration.

mantisbt/issue/4428.1166553001.txt.gz · Last modified: 2008/10/29 04:36 (external edit)