From: David N. <dav...@bi...> - 2005-03-13 17:42:13
|
Dev, I have altered a copy of Mantis 0.19.2 in order to add a Time Tracker. Attached are the source code changes. I would like to re-open bug 5231 and add the source code files. (http://bugs.mantisbt.org/view.php?id=5231) =-------------------------------------- | Basics of how it works: It adds a time_taken field to each bugnote entry. All places where you update the bugnote entry you can update the time_taken. Searches have been added to various pages (specifically View and (new) Billing) which collate and sum the time_taken's to produce a username/(sum time_taken)/bug table. I would like to try and get this facility into the next release. I don't minding adding it in myself, but I will need developer privs. My username is 'davidnewcomb'. I have followed the code formatting standard specified. =-------------------------------------- |Noteable pages that have changed: 1) 'View bug' page: 'Add Note' section Addition of new time taken field as part of the Add Note. 2) 'View bug' page: 'Notes' section All bugnotes containing a time_taken display the time taken in square brackets. 3) 'View bug' page: New 'Bugnote Statistics' section Allows you to search for bugnotes within a time period and produces a table of users with sums of the times taken (for this bug). 4) New 'Billing' page: Finds all bugnotes, within a specified project or ALL_PROJECTS within a date range and produces a summary of user's time spent on particular bugs. A cost per hour can be added to the form to produce a billing break-down. 5) Sorry only lang/string_english.txt has been altered. =-------------------------------------- | Installation instructions: 1) Unzip/Untar a clean copy of mantis-0.19.2 2) Change to the mantis-0.19.2 directory 3) Unzip/Untar mantis-0.19.2-time_taken.tgz 4) The file z_time_taken.sql contains the one-liner sql update to make all this work. =-------------------------------------- Any chance of getting this into the next release? Regards, David --------------------------------------- Managing Director BigSoft Limited Reading, UK http://www.bigsoft.co.uk/ |