Commit Graph
100 Commits
Author SHA1 Message Date
Eric Davis e25f841fe2 [#4225] Generated a hook for the timelog available criterias. 2010-07-01 13:13:08 -07:00
Eric Davis b3c625d9d9 Move init back into init.rb. 2010-07-01 12:57:23 -07:00
Eric Davis 624b80a128 Fixed a SQL error on postgres 2010-03-22 15:13:13 -07:00
Eric Davis 43862fc3b9 Fixes editing an issue's deliverable.
Broken by the Redmine core in r3308.
2010-03-17 18:45:20 -07:00
Eric Davis 94afb7a1ca Prevent a stack error in development 2010-03-15 15:49:20 -07:00
Eric Davis a53ceb2804 [#3294] Expand the new form if the project doesn't have any deliverables yet. 2009-11-11 13:16:00 -08:00
Eric Davis d552aa7f6f [#3294] Allow the query string to control if the new deliverable form is visible. 2009-11-11 13:11:21 -08:00
Eric Davis aa541f42bb Added generated gemspec 2009-10-13 21:23:08 -07:00
Eric Davis 19968fa0b8 Converted init.rb for a rails GemPlugin 2009-10-13 21:21:27 -07:00
Eric Davis c7ac326959 Added version 2009-10-13 21:13:35 -07:00
Eric Davis 46f53a9332 Added git ignores 2009-10-13 21:12:28 -07:00
Eric Davis 6692dffe0f Added jeweler tasks 2009-10-13 21:12:04 -07:00
Eric Davis a55227c9bb [#2863] Split the single deliverable template into 3 partials. 2009-08-07 10:42:03 -07:00
Eric Davis 14a6aa2c28 Added a few plugin hooks for Deliverables 2009-08-05 14:57:52 -07:00
Eric Davis 8413b26a15 [#2431] Use RedminePluginSupport for rake tasks. 2009-04-27 15:40:35 -07:00
Eric Davis f7733011df [#2431] Reformatted the CREDITS file 2009-04-27 15:35:46 -07:00
Eric Davis a45253329d [#2431] Updated the Readme and install instructions. 2009-04-27 15:34:49 -07:00
Eric Davis 085dc1deb4 Added an explicit requirement on the Rate plugin. 2009-04-27 15:31:29 -07:00
Eric Davis 425047f305 [#2431] Updated the Readme to rdoc 2009-04-27 15:27:36 -07:00
Eric Davis ffb20347ce Renamed README 2009-04-27 15:21:45 -07:00
Eric Davis ee2e2dae8e [#2431] Requiring Redmine 0.8.x now 2009-04-27 15:21:12 -07:00
Eric Davis 3b26d08f0d [#2405] Make the Total Budget in the header bold 2009-04-27 15:13:11 -07:00
Eric Davis 833c2877af [#2403] [#2404] Added a Total Budget column to the Deliverable row. 2009-04-27 15:07:30 -07:00
Eric Davis d88fce97f8 [#1498] Added the Deliverable description to the expanded row. 2009-04-27 14:22:20 -07:00
Eric Davis 931c1ef6ed [#1999] Added a link to expand/collapse all Deliverable rows to the sidebar 2009-04-27 14:13:51 -07:00
Eric Davis 2018561e6a [#1919] Moved the JavaScript for calculating the Budget to an assets file. 2009-04-27 13:57:52 -07:00
Eric Davis 83d5af4a4a [#2157] Added Lithuanian translation by Sergej Jegorov. 2009-04-27 13:44:02 -07:00
Eric Davis eb60581d1a [#1840] Added Spanish and Catalan translations from Pau Garcia i Quiles. 2009-04-27 13:33:32 -07:00
Eric Davis e218218ffb [#1840] Completed the i18n string support.
Thanks to Pau Garcia i Quiles for the patch
2009-04-27 13:31:47 -07:00
Eric Davis 7ed5c20a93 [#1959] Fixed a typo in the css class name. 2009-04-27 13:24:44 -07:00
Eric Davis 72f2f77a60 [#2040] Added Hungarian translation by Gergő Jónás. 2009-04-27 13:20:11 -07:00
Eric Davis fd891e7f51 Changed the Redmine core patches to use the Rails dispatcher.
This will let the core patches work in development mode when the classes
are reloaded.
2009-04-10 08:49:12 -07:00
Eric Davis 71ab0c6b54 [#2301] Check that the session has a sort before trying to access it. 2009-04-01 08:43:37 -07:00
Eric Davis 328cd3fc3f Removed GLoc calls, should stay 0.8 compatibile 2009-02-26 17:09:52 -08:00
Eric Davis 4205fb95a3 Updated to the Rails 2.2.x i18n format 2009-02-26 17:09:12 -08:00
Eric Davis 3f00f12107 Added a hook into Project#copy so Deliverables are copied to the new project. 2009-02-25 10:26:43 -08:00
Eric Davis 3720c486b4 Added a Deliverable#to_s so the Deliverable subject can be printed. 2009-02-18 14:44:06 -08:00
Eric Davis 5076b1c88b Use the first TimeEntry as the date_in_effect in case a user backdates time. #1924 2009-01-26 12:05:19 -08:00
Eric Davis fe11c40381 Bumping version to 0.2.0 for Rate plugin compatability 2009-01-23 14:25:06 -08:00
Eric Davis ad67e1634f Found some more calculation methods that were not tested. #1924 2009-01-21 16:27:39 -08:00
Eric Davis 049885c170 Refactored the class and added more tests on calculations. #1924 2009-01-21 16:20:18 -08:00
Eric Davis 42325fadf4 Added tests for Budget#amount_missing_on_deliverables. #1924 2009-01-21 16:06:03 -08:00
Eric Davis 559b52112d Added tests to check Budget#amount_missing_on_issues. #1924 2009-01-21 15:52:56 -08:00
Eric Davis 11b8a0a462 Added a test to cover Budget#labor_budget_left. #1924 2009-01-21 15:47:31 -08:00
Eric Davis 1706412bb8 Added test to get full coverage on HourlyDeliverable. #1924 2009-01-21 15:45:38 -08:00
Eric Davis eeec71f857 Added test to get full coverage on FixedDeliverable. #1924 2009-01-21 15:44:12 -08:00
Eric Davis 5ae939d82a One too many directories down 2009-01-21 15:40:42 -08:00
Eric Davis aed49c68da Make things simple and they are easier to understand. #1924 2009-01-21 15:29:00 -08:00
Eric Davis 075310da6b Swapped inject with a simple sum method. #1924 2009-01-21 15:26:46 -08:00
Eric Davis 3d8c1ecc5c Removed all the duplicate methods that were getting the rate for each TimeEntry
and replaced them with a simple collector that uses the new TimeEntry#cost
method (that wraps the Rate API).

  #1924
2009-01-21 15:20:21 -08:00
Eric Davis 7fa4f33748 Ported more items to the new Rate API. #1924 2009-01-21 14:46:58 -08:00
Eric Davis 045f50e0dd Fixed format of the date request to Rate.amount_for. #1924 2009-01-21 14:34:19 -08:00
Eric Davis 4f18c28bba Ported FixedDeliverable.spent to use Rate. #1924 2009-01-21 14:31:06 -08:00
Eric Davis 50a466d7af Ported HourlyDeliverable.spent to use Rate. #1924 2009-01-21 14:27:12 -08:00
Eric Davis 5510753a4b Added migration to fully remove rate from Members. #1924 2009-01-21 14:18:43 -08:00
Eric Davis c6b72683b4 Completed migration 9, creating new rates for each Member.rate
#1924
2009-01-21 14:16:39 -08:00
Eric Davis 8a08e654e0 Added the start of a new migration to use the Rate plugin
* Migration 9 will abort with a message if the Rate plugin isn't installed

  #1924
2009-01-21 14:09:34 -08:00
Eric Davis 0f7c630f9c Removed the project panel hook. #1924 2009-01-21 13:51:15 -08:00
Eric Davis 88026a1049 Renamed the settings view so it will not conflict with others. #1700 2009-01-02 21:19:31 -08:00
Eric Davis fb24bbf546 Merge branch 'master' of git@dev.littlestreamsoftware.com:budget_plugin 2009-01-02 19:22:53 -08:00
Eric Davis 18a2f1aefa Added docs to make sure the user knows what to name the plugin. #1930 2009-01-02 18:58:36 -08:00
Eric Davis 47ed9275df Merge branch 'master' of git@dev.littlestreamsoftware.com:budget_plugin 2009-01-02 18:37:20 -08:00
Eric Davis 8e31e8fb8a Added a required parameter to the sorting field. #1910 2009-01-02 18:35:28 -08:00
Eric Davis 7ef0b094de Added release tasks 2008-11-30 14:41:33 -08:00
Eric Davis b70728efca Refactored the rdoc task to include more files and use the PROJECT_NAME 2008-11-30 14:40:34 -08:00
Eric Davis 01d8159e0e Require all plugin code so rcov works and reports on everything 2008-11-30 01:59:20 -08:00
Eric Davis f7c2816e13 Allow rake tasks to use the REDMINE_ROOT environment also 2008-11-30 01:58:52 -08:00
Eric Davis 6f42cda5ca Allow the loading of a external Redmine environment
* If the REDMINE_ROOT environment variable is set, it will be used to load
  the Rails environment.  This will allow the plugin to be tested outside of
  a Redmine's vendor/plugins directory
2008-11-30 01:12:12 -08:00
Eric Davis 4897e6c228 Merge branch 'master' of git@dev.littlestreamsoftware.com:budget_plugin 2008-11-30 01:07:25 -08:00
Eric Davis e61b15b9d5 Removed the requirement of having rspec and rspec-rails plugins installed
in favor of using the gems.
2008-11-30 01:06:54 -08:00
Eric Davis 83b9458443 Fixed a typo in the down migration. Reported by Roman Tataurov. #1839 2008-11-26 09:54:32 -08:00
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 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