Commit Graph
100 Commits
Author SHA1 Message Date
Eric Davis f42b419bf3 [#6898] Replace SortHelper patch with a plain helper 2012-05-15 09:09:43 -07:00
Eric Davis 00453672c6 Add Gemfile for bundler 2011-07-30 19:29:08 -07:00
Eric Davis 268b1b7107 Remove Rubyforge 2011-04-28 11:18:47 -07:00
Eric Davis 25c3bf5898 Release v0.2.1 2011-04-28 11:17:06 -07:00
Eric Davis 4c3e6b6b6d [#5734] Fix the cost caching case where Time Entry attributes changed
A cost value wasn't getting recaclulated by TimeEntry#cost when the
attributes were changing. It only was recalculated when .cost changed.
2011-04-06 09:27:20 -07:00
Eric Davis b20ebe587b Tweak ObjectDaddy so it's loaded into Rate when testing 2011-04-06 09:18:54 -07:00
Eric Davis e971b13ee9 Update gemspec for release of 0.2.0 2011-03-03 16:27:15 -08:00
Eric Davis 994c7b2306 Fix url in jeweler 2011-03-03 16:26:44 -08:00
Eric Davis eaccdb34e4 Bump version to 0.2.0 2011-03-03 16:25:00 -08:00
Eric Davis 6f65166afb Update plugin register block 2011-03-03 16:24:39 -08:00
Eric Davis 4933496709 Require Redmine or ChiliProject 1.0.0 2011-03-03 16:23:33 -08:00
Eric Davis ab175831f2 Readme update 2011-03-03 16:19:55 -08:00
Eric Davis 80b05852e7 Fix tests by forcing ints from select_all 2011-03-03 16:11:34 -08:00
Eric Davis 211e0b6bdf [#4722] Store cache lockfile in RAILS_ROOT/tmp 2010-11-17 09:07:27 -08:00
Eric Davis 920c8cdda5 Merge remote branch 'SylvainLasnier/master' 2010-11-16 09:35:12 -08:00
Eric Davis 5dc6feeb81 [#4687] Add German translations from Alexander Meindl 2010-11-16 09:31:28 -08:00
Eric Davis 65919d382b Update tests for changes in latest Redmine core error pages 2010-11-16 09:30:24 -08:00
Eric Davis 4e705fd1eb [#4604] Simplify the cost caching system 2010-10-13 16:54:48 -07:00
Eric Davis 5200eacd36 [#4604] Store caching timestamps in the database as UTC 2010-10-13 12:50:20 -07:00
Eric Davis 52622a678e [#4604] Change the caching admin panel to use a split pane 2010-10-13 12:44:33 -07:00
Eric Davis f9bd3c0e53 [#4604] Force clearing any lockfiles when submitted from the web 2010-10-13 12:41:50 -07:00
Eric Davis e4f1a623f1 [#4604] Add buttons for load and clear the caches 2010-10-13 12:08:06 -07:00
Eric Davis 7824eadc94 [#4604] Add the last cache timestamps to the caching admin panel 2010-10-13 11:50:24 -07:00
Eric Davis 073dfe1177 [#4604] Add an admin panel for the rate caches 2010-10-13 11:32:32 -07:00
Eric Davis fb3b0a41ae [#4604] Add a method and rake task to clear and update all TimeEntry cost caches 2010-10-06 17:35:28 -07:00
Eric Davis 16a7a3146f [#4604] Timestamp the last caching run 2010-10-06 17:27:31 -07:00
Eric Davis 33cf4d5c5c [#4604] Add test for Rate#update_all_time_entries_with_missing_cost 2010-10-06 17:18:58 -07:00
Eric Davis 41b1a3cd54 [#4604] Move method to model 2010-10-06 17:10:37 -07:00
Eric Davis 43a8fe27dc [#4604] Add a simple rake task to update missing cost caches 2010-10-06 15:48:55 -07:00
Eric Davis c97979bd06 [#4604] Clear and recalculate the #cost on Rate#destroy 2010-10-06 13:15:17 -07:00
Eric Davis f7b03b825f [#4604] Clear and recalculate the #cost on Rate#save 2010-10-06 13:05:57 -07:00
Eric Davis d656121b20 [#4604] Clear and recalculate the TimeEntry#cost on save 2010-10-06 12:41:56 -07:00
Eric Davis dbfc6c5335 [#4604] Add basic caching for TimeEntry#cost 2010-10-06 12:12:45 -07:00
Eric Davis cec35ad3af [#3827] Don't hardcode the core tabs with alias_method_chain. 2010-07-27 06:15:14 -07:00
Eric Davis f60a5154dd [#2664] Added Russian translation from Ruslan Voloshin. 2010-07-27 06:09:46 -07:00
Eric Davis 593352e317 [#2433] Added French translation from james pic. 2010-07-27 06:07:30 -07:00
Eric Davis 3ccb88e31a [#3832] Remove unneeded extend in the UsersHelperPatch. 2010-07-27 06:03:52 -07:00
Eric Davis e541270461 [#4289] Ported the billing plugin's timesheet hooks. 2010-07-23 10:16:41 -07:00
Eric Davis 7192adb231 [#4289] Added empty hooks needed for the Timesheet. 2010-07-23 09:35:44 -07:00
Eric Davis a341be0344 Removed final RSpec code in favor of Test::Unit. 2010-07-23 09:24:55 -07:00
Eric Davis 81158be9b9 Converted RatesController test to Test::Unit. 2010-07-23 09:22:58 -07:00
Eric Davis 44963ac96b Converted Rates routing test to Test::Unit. 2010-07-23 08:18:37 -07:00
Eric Davis 5b372b2bef Converted RateUsersHelperPatch test to Test::Unit. 2010-07-23 08:14:49 -07:00
Eric Davis 0c3d83fe62 Converted RateTimeEntryPatch test to Test::Unit. 2010-07-23 08:14:22 -07:00
Eric Davis 22cbcdf847 Converted RateFor test to Test::Unit. 2010-07-23 08:05:04 -07:00
Eric Davis 3403e74941 Unused cucumber. 2010-07-23 07:58:34 -07:00
Eric Davis b3b4b92450 Converted RSpec test to Test::Unit. 2010-07-06 15:43:02 -07:00
Eric Davis 8672619f15 Get rake test hooked up. 2010-07-06 15:18:25 -07:00
Eric Davis 585f70c0b2 Added Test::Unit helper 2010-07-06 15:11:53 -07:00
Eric Davis d99d0add59 Switch Rakefile over to Test::Unit. 2010-07-06 15:11:25 -07:00
Eric Davis 119a4c1557 Added autotest config. 2010-07-06 15:11:11 -07:00
Eric Davis 8058e938ae Fixed loading in the dispatcher. 2010-03-17 14:53:49 -07:00
Eric Davis 8a70287e99 Move the init code. 2010-03-17 14:51:19 -07:00
Eric Davis 7f7b400f15 [#3180 #3266] Compatibility fix for the Groups feature. 2009-11-02 18:30:17 -08:00
Eric Davis 40a7f74aeb Adding gemspec 2009-10-13 21:03:09 -07:00
Eric Davis 23820188b4 Setup init.rb to work as a Rails GemPlugin 2009-10-13 20:47:28 -07:00
Eric Davis 31e3f2be9d Adding gitignore 2009-10-13 20:45:56 -07:00
Eric Davis 2341b99e23 Added jeweler config 2009-10-13 20:45:16 -07:00
Eric Davis ef394da702 Updated for Rails 2.3. 2009-09-07 16:35:40 -07:00
Eric Davis 5f277b9656 Merge commit 'origin/master' 2009-08-01 11:11:28 -07:00
Eric Davis 724dd470ba Removed the Redmine core template and Redmine core hooks instead. 2009-08-01 11:05:55 -07:00
Eric Davis 43c20ae820 [#2558] Fixed a SystemStackError caused by alias_method_chain 2009-08-01 11:04:39 -07:00
Eric Davis c0006e1040 [#2558] Check that @memberships is set before using it. 2009-08-01 10:04:20 -07:00
Eric Davis 391f136710 [#2560] Fixed the Project select field so the current project is selected correctly. 2009-05-26 10:45:12 -07:00
Eric Davis 0117e454a3 Small change to the Readme 2009-04-27 13:15:46 -07:00
Eric Davis 452edfeeaa Refactored core Redmine patches so the plugin can be run in development. 2009-04-21 21:44:58 -07:00
Eric Davis 5513f0064b Doc update 2009-04-21 21:38:35 -07:00
Eric Davis df0ecda7ff Added some compatibility wrappers for the stable 0.8.x version of Redmine. 2009-04-21 21:35:13 -07:00
Eric Davis 1e10952506 [#2397] Fixed sorting. Was an API change in the Redmine core. 2009-04-21 21:11:38 -07:00
Eric Davis c62d2c0a73 Fixed mocks for the latest Redmine trunk 2009-04-10 11:24:34 -07:00
Eric Davis dd3b81b32b Remove custom Rakefile, using the redmine_plugin_support gem now 2009-03-06 15:09:13 -08:00
Eric Davis eb8d3bf002 Allow an alternative REDMINE_ROOT 2009-03-06 15:08:29 -08:00
Eric Davis 79d7aaca02 Converted to Rails 2.2.x i18n 2009-02-26 10:46:33 -08:00
Eric Davis b521b487ad Rates are now copied during Project#copy. 2009-02-25 10:53:18 -08:00
Eric Davis 4666ddb10e Fixed two bugs caused by the core changes to project/subprojects. Might break compatibility with the 0.8.x branch of Redmine.
#2089
2009-02-05 17:08:26 -08:00
Eric Davis dfc175bf5a Non closed form tag caused the Add Member form to error. #2070 2009-01-27 20:10:31 -08:00
Eric Davis e5cbe751af Updated readme. #2031 2009-01-26 15:27:00 -08:00
Eric Davis 4acf180b95 After saving a new rate from Projects, the rate link was pointed to the wrong url
#2031
2009-01-26 15:07:27 -08:00
Eric Davis 7c92da0720 Removed edit_rate permission, only Administrators can edti rates. #2031 2009-01-26 15:04:33 -08:00
Eric Davis b8a2d0cee7 Wrapped edit form and link in a check for edit_rate permissions. #2031 2009-01-26 14:44:04 -08:00
Eric Davis ba0ee9b6f8 Added permissions to view a rate. #2031 2009-01-26 14:40:03 -08:00
Eric Davis 55a3a4dbce Display if the rate row is the default rate. #2031 2009-01-26 14:25:21 -08:00
Eric Davis cc4c80c461 Fixed a bug where the Calender wasn't working in the User Admin panel
The calendar select would open but not set the new Rate field.  Turned out to
be because the Membership tab had form elements with the same id.

  #2031
2009-01-26 14:19:02 -08:00
Eric Davis 0499ea9b46 Round values when comparing to prevent false positives. #1924 2009-01-26 12:21:03 -08:00
Eric Davis d6c8b542f2 Bit of documentation. #1922 2009-01-23 15:39:46 -08:00
Eric Davis b015998371 Updating README install procedure. #1922 2009-01-23 15:35:31 -08:00
Eric Davis 62a95e03e9 Added wrapper tasks to run both the budget and biling tests. #1922 2009-01-23 15:35:02 -08:00
Eric Davis 04411abe68 Added a conversation test for the Billing plugin. #1922 2009-01-23 15:34:33 -08:00
Eric Davis 2a5442622f Updated readme with specific steps to take. #1924 2009-01-23 14:36:21 -08:00
Eric Davis f3e682943f Better names for tasks 2009-01-23 14:36:03 -08:00
Eric Davis 0eb53f9cbd Added version requirements, they were actually required. #1924 2009-01-23 14:24:45 -08:00
Eric Davis 677216b8e5 Moved code into a class. #1924 2009-01-23 14:19:24 -08:00
Eric Davis 2ce6a32f39 Not needed, rake will yell about that. #1924 2009-01-23 14:12:14 -08:00
Eric Davis b550f96400 Don't need to worry about version numbers. #1924 2009-01-23 14:09:59 -08:00
Eric Davis 8ea912be4b First run at a data checking task for the Budget plugin. #1924 2009-01-23 14:09:21 -08:00
Eric Davis 6aa00eeeb9 Added a helper method to TimeEntry that will encapsulate the rate API for a TimeEntry.
* TimeEntry#cost will return the amount the TimeEntry costs based on:
** logged hours times the assigned rate amount
** logged hours times the effective project rate for the user
** logged hours times the effective default rate for the user
** 0 if the user has no rates at all

  #1924
2009-01-21 15:11:35 -08:00
Eric Davis 2d3fbf02b0 Added TODO 2009-01-21 13:34:45 -08:00
Eric Davis b6bffb2c05 Added the rest of the form for setting a rate on a project. #1923 2009-01-21 12:35:55 -08:00
Eric Davis aab2d83d48 Update the value for the emapy project so it will set the default rate. #1923 2009-01-21 12:35:33 -08:00
Eric Davis dc6acf5031 Changed the create.rjs so it will replace the td on the admin and project panel.
* td's are now id'ed like rate_project_user

  #1923
2009-01-21 12:20:17 -08:00