Commit Graph

133 Commits

Author SHA1 Message Date
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. 0.1.0 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
Eric Davis
05501f3eb6 Ported the basics for the Rate form from the Budget plugin. #1923 2009-01-21 12:15:44 -08:00
Eric Davis
256627d2a3 Ported the table header from the Budget plugin hook. #1923 2009-01-21 11:23:15 -08:00
Eric Davis
82e480b77b Minor bug when a user doesn't have any rates yet 2009-01-20 17:11:27 -08:00
Eric Davis
363e8c0c5a Converted the Membership rate form to an Ajax remote form.
* Changed the form_for to be a remote_form_for
* Changed the url to use the js format
* Added RJS to add the Saved rate to the rate cell
* Added id to the table cell so the rate cell can be replaced on success
* Added an Error RJS to flash an error message

  #1921
2009-01-20 16:37:23 -08:00
Eric Davis
7930144e8c Require amount to be a number. 2009-01-20 16:35:00 -08:00
Eric Davis
0806bf13df Added a standard form for adding a new rate based on the membership row. #1921 2009-01-20 15:58:55 -08:00