PluginRate » History » Version 1

Eric Davis, 2009-04-24 23:52
Entered plugin information from Readme

1 1 Eric Davis
h1. Rate Plugin
2 1 Eric Davis
3 1 Eric Davis
The Rate plugin stores billable rates for Users.  It also provides an API that can be used to find the rate for a Member of a Project at a specific date.
4 1 Eric Davis
5 1 Eric Davis
h2. Features
6 1 Eric Davis
7 1 Eric Davis
* Track rates for a user based on
8 1 Eric Davis
** Date Rate came into effect and
9 1 Eric Davis
** the Project
10 1 Eric Davis
* Store historic rate amounts
11 1 Eric Davis
* Lock rates to preserve historic calculations
12 1 Eric Davis
* Rate.for API for other plugins
13 1 Eric Davis
* Integration with the Billing plugin
14 1 Eric Davis
* Integration with the Budget plugin
15 1 Eric Davis
16 1 Eric Davis
h2. Screenshots
17 1 Eric Davis
18 1 Eric Davis
19 1 Eric Davis
|=. *Question on an issue*  |
20 1 Eric Davis
|  !question_on_issue_thumb.png!:/attachments/1535/question_on_issue.png  |
21 1 Eric Davis
|=. *Issue list filters*  |
22 1 Eric Davis
| !question_issue_filters_thumb.png!:/attachments/1537/question_issue_filters.png  |
23 1 Eric Davis
|=. *Issue list filters*  |
24 1 Eric Davis
| !question_issue_column_tumb.png!:/attachments/1539/question_issue_column.png  |
25 1 Eric Davis
26 1 Eric Davis
h2. Getting the plugin
27 1 Eric Davis
28 1 Eric Davis
A copy of the plugin can be downloaded from "Little Stream Software":https://projects.littlestreamsoftware.com/projects/redmine-rate/files or from "GitHub":http://github.com/edavis10/redmine_rate/tree/master
29 1 Eric Davis
30 1 Eric Davis
h2. Installation and Setup
31 1 Eric Davis
32 1 Eric Davis
There are two sets of steps to install this plugin.  The first one should be done if you have used version 0.1.0 of the Budget Plugin or 0.2.0 of the Billing Plugin.  This is because the rate data needs to be migrated out of the Budget plugin and into this plugin.
33 1 Eric Davis
34 1 Eric Davis
h3. Option One: If you have data from a previous version of Budget or Billing
35 1 Eric Davis
36 1 Eric Davis
These installation instructions are very specific because the Rate plugin adjusts data inside the Budget plugin so several data integrity checks are needed.
37 1 Eric Davis
38 1 Eric Davis
# Backup up your data! Backup your data!
39 1 Eric Davis
# Follow the Redmine plugin installation steps a [[Plugins]]  Make sure the plugin is installed to @vendor/plugins/redmine_rate@
40 1 Eric Davis
# Make sure you are running the 0.1.0 version of the Budget plugin and 0.0.1 version of the Billing plugin
41 1 Eric Davis
# Run the pre_install_export to export your current budget and billing data to file @rake rate_plugin:pre_install_export@
42 1 Eric Davis
# Run the plugin migrations @rake db:migrate_plugins@ in order to get the new tables for Rates
43 1 Eric Davis
# Upgrade the budget plugin to 0.2.0 and the billing plugin to 0.3.0
44 1 Eric Davis
# Rerun the plugin migrations @rake db:migrate_plugins@ in order to update to Budget's 0.2.0 schema
45 1 Eric Davis
# Run the post_install_check to check your exported data (from #3 above) against the new Rate data. @rake rate_plugin:post_install_check@
46 1 Eric Davis
# If the script reports no errors, proceed.  If errors are found, please file a bug report and revert to your backups
47 1 Eric Davis
# Restart your Redmine web servers (e.g. mongrel, thin, mod_rails)
48 1 Eric Davis
# Setup the "View Rate" permission for any Role that should be allowed to see the user rates in a Project
49 1 Eric Davis
50 1 Eric Davis
h3. Option Two: If you do not have any data from Budget or Billing
51 1 Eric Davis
52 1 Eric Davis
# Follow the Redmine plugin installation steps a [[Plugins]]  Make sure the plugin is installed to @vendor/plugins/redmine_rate@
53 1 Eric Davis
# Run the plugin migrations @rake db:migrate_plugins@ in order to get the new tables for Rates
54 1 Eric Davis
# Restart your Redmine web servers (e.g. mongrel, thin, mod_rails)
55 1 Eric Davis
# Setup the "View Rate" permission for any Role that should be allowed to see the user rates in a Project
56 1 Eric Davis
57 1 Eric Davis
h2. Usage
58 1 Eric Davis
59 1 Eric Davis
h3. Enter new rate for a project
60 1 Eric Davis
61 1 Eric Davis
There are two ways to set rates for a Member of a Project.
62 1 Eric Davis
63 1 Eric Davis
# Browse to the Project Settings page
64 1 Eric Davis
# Select the Members tab
65 1 Eric Davis
# Enter the rate for the Member and click the set Rate
66 1 Eric Davis
67 1 Eric Davis
Alternatively, Rates can be set in the User Administration panel
68 1 Eric Davis
69 1 Eric Davis
# Browse to the Administration panel
70 1 Eric Davis
# Select Users
71 1 Eric Davis
# Select the specific user to add a rate for
72 1 Eric Davis
# Select the Membership tab and enter a rate for each project
73 1 Eric Davis
# Or, select the Rate History and enter a new rate in the form
74 1 Eric Davis
75 1 Eric Davis
h3. Enter default rate for a user
76 1 Eric Davis
77 1 Eric Davis
A default rate is a user's Rate that doesn't correspond to a specific project.  It can be set in the User Administration panel:
78 1 Eric Davis
79 1 Eric Davis
# Browse to the Administration panel
80 1 Eric Davis
# Select Users
81 1 Eric Davis
# Select the specific user to add a rate for
82 1 Eric Davis
# Select the Rate History and enter a new rate in the form, keep the Project field set to Default Rate.
83 1 Eric Davis
84 1 Eric Davis
h3. Lock a Rate
85 1 Eric Davis
86 1 Eric Davis
Currently this feature is only available through the Rate API.  A Rate will become locked once a valid TimeEntry is assigned to the Rate.
87 1 Eric Davis
88 1 Eric Davis
h2. Usage
89 1 Eric Davis
90 1 Eric Davis
To ask a question, just update an issue and select a Member from the question select box right below the issue notes.
91 1 Eric Davis
92 1 Eric Davis
h2. License
93 1 Eric Davis
94 1 Eric Davis
This plugin is licensed under the GNU GPL v2.  See COPYRIGHT.txt and GPL.txt for details.
95 1 Eric Davis
96 1 Eric Davis
h2. Project help
97 1 Eric Davis
98 1 Eric Davis
If you need help you can contact the maintainer at the Bug Tracker.  The bug tracker is located at  https://projects.littlestreamsoftware.com
99 1 Eric Davis
100 1 Eric Davis
h2. News