Commit Graph

162 Commits

Author SHA1 Message Date
Eric Davis 36d9ab3ed8 Removed the monkey patching with Issue.find. It was required but is no
longer needed and keep breaking search.
2008-10-24 22:18:20 -07:00
Eric Davis 52e80b4f56 Wrapped Deliverable.budget getter so it will return 0 if the budget is nil. #1708 2008-10-15 09:43:22 -07:00
Eric Davis 71060831fc Removed console logging statement. #1703 2008-10-13 11:19:22 -07:00
Eric Davis edc43f237c Added Rake task to zip up the plugin for release. #1431 0.1.0 2008-09-10 10:54:24 -07:00
Eric Davis c5858e7900 Added directions on how to get the plugin 2008-09-10 10:43:29 -07:00
Eric Davis 391e91819e Changed the install steps since Redmine trunk has the plugin hook API now 2008-09-09 18:53:27 -07:00
Eric Davis 66d96ca1bf Updated documentation 2008-09-09 18:47:20 -07:00
Eric Davis 802df93318 Ported plugin hooks to the final Redmine Plugin hook API. #1431 2008-09-09 18:39:11 -07:00
Eric Davis 52873f5b9b Added information about appling the Plugin Hook API patch. #1431 2008-07-23 22:00:50 -07:00
Eric Davis 6cfa45c1fa Added link to tracker 2008-07-23 21:59:21 -07:00
Eric Davis cd73eddc9d Changed README extension to markdown 2008-07-23 21:56:19 -07:00
Eric Davis dd05e5299e Removed empty Readme 2008-07-23 21:26:20 -07:00
Eric Davis 3deb9ab28c spec:htmldoc will now write to the doc directory. Updated the upload task to push up specs 2008-07-23 12:04:50 -07:00
Eric Davis 4a49b1e45a Fixed spec:rcov to exclude gems, Redmine, and specs from the rcov report. 2008-07-23 11:53:04 -07:00
Eric Davis c8f2f84455 Added a task to upload docs to the project server 2008-07-23 11:14:21 -07:00
Eric Davis 8037833f13 Deliverable.spent_by_members will now sum the amount of money spent. #1447 2008-07-16 09:13:17 -07:00
Eric Davis 2dd140efa5 Wrapped Budget.budget, .labor_budget, and .spent with checks for nil values in the deliverables.
#1444
2008-07-16 09:03:07 -07:00
Eric Davis f21b9007eb Changed verbage. #1439 2008-07-10 17:56:45 -07:00
Eric Davis 495c5f6ac8 Added some better details on the deliverables based on if they are hourly or fixed. #1439 2008-07-10 17:54:50 -07:00
Eric Davis 1b8d4c6d52 Moved methods from HourlyDeliverable to Deliverable. #1439 2008-07-10 17:44:29 -07:00
Eric Davis 7dd531d0ee Added the cost of logged time to Fixed Deliverables's spent method. #1439 2008-07-10 17:43:22 -07:00
Eric Davis c90e7337f5 FixedDeliverable.spent will now return the fixed cost. #1439 2008-07-10 17:36:14 -07:00
Eric Davis abc4dd84c6 Hiding the hours used unless they are greater than 0. #1440 2008-07-10 17:32:05 -07:00
Eric Davis c6a23d0046 Sorting deliverables by subject in select fields. #1430 2008-07-10 17:29:05 -07:00
Eric Davis ac2ba0ec41 Added missing protocol to the Member rate form 2008-06-30 16:38:37 -07:00
Eric Davis 869113c1eb Added protocal to the Member rate form 2008-06-30 16:32:39 -07:00
Eric Davis bdf003d8e9 Handle non-array includes in the issue finder. 2008-06-30 16:10:31 -07:00
Eric Davis 6c638ffb83 Refactored Deliverable.progress so it doesn't depend on the custom issue status
for done ratio patch.  The plugin will test for the presence of the setting and
if it's true in order to control the logic.

  #1390
2008-06-30 15:57:42 -07:00
Eric Davis 430f3de418 Fixed broken spec due to floats 2008-06-30 15:41:53 -07:00
Eric Davis a5d88b67a8 HourlyDeliverable profit was being counted twice because HourlyDeliverable.profit would return the actual profit or the profit percent already. #1389 2008-06-30 15:32:00 -07:00
Eric Davis 5e36cf455e Catch nil cost_per_hour and total_hours on the HourlyDeliverable.profit. #1387 2008-06-26 16:39:20 -07:00
Eric Davis 47339e024b Hide missing amounts if they are 0. #1383 #1384 2008-06-26 16:23:30 -07:00
Eric Davis 5d3946366d Fixed the 'No Deliverable' query. #1383 #1384 2008-06-26 16:16:45 -07:00
Eric Davis 20899e64c0 Added links to the issues and deliverables for missing budget amounts. #1383 #1384 2008-06-26 16:11:38 -07:00
Eric Davis a1167e67d1 Adding Budget Missing calculations. #1383 #1384 2008-06-26 15:58:26 -07:00
Eric Davis 6c34f7b35f Added Budget.labor_budget and Budget.labor_budget_spent. #1382 2008-06-26 15:33:53 -07:00
Eric Davis 3b5c46dfab Updated labels. #1377 #1378 #1379 #1380 2008-06-26 15:25:05 -07:00
Eric Davis 5c0ccc549b Updated CSS to remove cell borders on the alternative CSS. #1374 2008-06-26 15:21:43 -07:00
Eric Davis d06af8384f Removed space before paren 2008-06-23 16:17:19 -07:00
Eric Davis e9da38fd2d Hide the labor budget from users without permission 2008-06-23 16:12:04 -07:00
Eric Davis 28d23109f2 Updated Deliverable filter to have the All and None options. #1360 2008-06-23 15:59:39 -07:00
Eric Davis e5822befb0 Added the ability to pass a default value into the field_with_budget_observer_and_totals so the system defaults will appear correctly. #1351 2008-06-20 11:54:44 -07:00
Eric Davis 3dea68522e Added custom fields to track number or % values. #1348 2008-06-19 17:23:39 -07:00
Eric Davis ab67d20fcf Don't use hooks if the project doesn't have the module enabled. #1300 2008-06-19 16:52:21 -07:00
Eric Davis 8295b737a1 Potential fix by calling the update every 5 seconds. Brute force but works.
When the FireFox "suggest history" dropbox is used, neither the blur nor change event is fired.  I have one solution that covers many of the common cases but fails on some others:

* Works - type, down arrow to suggest history, tab
* Works - type, down arrow to suggest history, enter, tab
* Works - type, click
* Works - type, tab
* Fails - down arrow to suggest history, enter, tab
* Fails - down arrow to suggest history, arrow right, tab

I have another solution which is to have a timer update the budget every 5 seconds.  This will make sure that even if the blur/change events are not fired, the values will be updated soon.  It's brute force but works (in FF so far, still need to test cross-browser).  I'm not seeing any performance impact, even with debugging on.

  #1350
2008-06-19 16:33:15 -07:00
Eric Davis b776098c7d Changed profit to take into account the overhead along with the total labor cost
when profit is a %

* Fixed Models
* Fixed JS Calculator
* Cleaned up specs to access attributes directly

  #1349
2008-06-19 15:29:02 -07:00
Eric Davis 5431df3d8d Check for special case with the Issue.find to not conflict with Search, #1347 2008-06-19 14:59:40 -07:00
Eric Davis 63ba3fafc7 Progress and Score should be 0 by default. #1305 2008-06-12 16:31:15 -07:00
Eric Davis 42efb03925 Converted all details into tables. #1274 2008-06-12 16:25:19 -07:00
Eric Davis 9989b6971b Adding dollar signs or % to amounts
* Added number_or_percent helper to return the correct string
* Deliverable.labor_budget will now return 0.0 if it's nil

  #1274
2008-06-12 16:05:02 -07:00