Time Management Patch v1

Project:ProjectPier
Version:0.8.0.2
Component:Code
Category:task
Priority:normal
Assigned:mikegioia
Status:patch - code needs review
Description

Full featured time management patch for Project Pier. I've developed this outside the SVN so it disregards updates to the application core that exist beyond version 0.8.0.

Patch extends previous time reporting functionality and adds administration views (unbilled, billed, by user, and by project) and the ability for admins to mark time as billed and unbilled.

I'd appreciate if anyone could review the code, I've tested it and it works fine locally. (N.B. Please remove .patch extension).

AttachmentSize
Time_Reporting_Patch_v1.zip_.patch85.84 KB

Forgot to mention in the post, that the code above requires the dropdowns patch to fix that top navigation. I've included both the .patch file and a .zip file (its a .zip.patch so rename it to .zip).

You should be able to just run this, but if theres any problems re-copy the Time Management files back over once you apply the dropdowns patch.

And once again, you should back everything up first.

Mike

AttachmentSize
patched_files.zip_.patch8.89 KB
pp_dropdowns.patch10.87 KB
Version:» 0.8.0.2

The already have drop downs and when I install this they go away and then if I do the dropdown patch it either removes my current drop downs (if before patch) or does nothing (after patch).

I've uploaded the files from the zip (Time_Reporting_Patch_v1.zip_.patch) (already had the drop down patch) but I don't know where the time reporting feature should now appear.

I can't find it anywhere. Where should I be looking or have I done something wrong?

Hey mikegioia,
Please can you provide a clean patch against the trunk (ideally without requiring the user to have the dropdown patch installed)?

I'm trying to install this, and the first thing I've noticed is that you've changed quite a few language files, which means that a lot of the new items that have been added have been deleted.

The patch worked perfectly for me, except there was a missing 'gif' (projecttimes.gif). Otherwise everything worked fine. All I did was use the patched files from the zip in the initial post. I did not have to run any other patch.

The only other patch I've run on my project was the dropdown patch to install the "marine" theme.

Thank's a lot, this is working great.

Suggestions for future versions:

+ Total the time for each project at the bottom of the list.

Not sure if this patch is related to the other time management patches being discussed here http://www.projectpier.org/node/259 ?

But for either, I have a possible future idea which you may or may not like :)

I notice that there is an Adobe Air application called Klok (http://klok.mcgraphix.com/klok/index.htm) which is a desktop time management app, and allows you to track time in 'real time' as you work on it. Maybe it would be worth contacting the Dev to see if he would be willing to produce a version which is skinned as a project pier app, and also if all the information/time it collects can be exported to PP at its simplest level maybe using an XML file. Of course you could also get it to download all your projects too, but maybe just as simple start the user could manually add projects and then have it export the time on a regular basis. PP would just look at the xml file and update the time used where the project names match.

Just a thought :)
Paul

I was actually thinking about this exact thing the other day!
I doubt that the dev would be willing to re-skin his application for pp(though I might be wrong), but he might be willing to create an 'export raw data' feature which could be useful.

I'd wait until this patch is added to the codebase before worrying about whether we can import data into it.