I’m happy to announce I am releasing my first Redmine plugin, Redmine Timesheet. I’m releasing it under the GNU GPL v2
Purpose
This is a plugin to show timelogs across all projects in a Redmine install. I use it for:
- How long did I work today? (timelogs for today)
- How much of my time is billable work? (timelogs for specific activities)
- How much do I need to invoice for a project? (timelogs for a billable activity on a project)
Features
- Filtering of timelogs
- by Date ranges
- by Project
- by Activities
- “Run Timesheet” permission to restrict feature to specific users
Install
- Download the archive file and extract it to your
vendor/plugins
folder. You can also download directly from my Subversion server using Rails’s plungin scriptscript/plugin install svn://dev.littlestreamsoftware.com/redmine_timesheet_plugin/trunk
- Follow the Redmine plugin installation steps.
- Login to your Redmine install as an Administrator.
- Enable the “Run Timesheet” permissions for your Roles.
- Add the “Timesheet module” to the enabled modules for your project.
- The link to the plugin should appear on that project’s navigation.
Help
If you need help you can leave a comment here or enter an issue directly into my bug tracker.
Eric
Thanks for this great plugin!
Hope to see filter by user soon ;)
Summ of spent hours for each project would be nice feature ;)
I’ve translated it to russian and czech. And I can send it to you, if you wish.
Does this maybe require Rails 2.0 or something else I don’t have? I get this error after following the installation instructions:
A copy of ApplicationController has been removed from the module tree but is still active!
nice plugin. good to see you work your way. keep writing those business articles. I darw a lot of motivation from those.
Unknown: Filtering by users will be added soon. Showing the totals per project is a great idea. I would love some translations, I’ll send you an email.
Rocco: I am running it under Rails 2.0 and the latest Engines. There is a ticket for this error on the “Rails tracker”:http://dev.rubyonrails.org/ticket/6001. Basically @unloadable@ needs to be added to every plugin Controller. Do you have any other plugins loaded?
Rupak: I can’t tell you how happy that makes me feel. I’ve heard from at least 5 other people now that my articles are motivating them.
Hi
I’ve some problems with plugin installation.
I’ve installed the two plugins, i can see them in the configuration and administration. But when i try to achieve those pages, an error occurs and show me the the pages can not be found
Please could you help me ??
Max: What error are you are getting? You can email me: edavis at littlestreamsoftware dot com or reply here.
I’m getting a similar problem.
Everything installed and configured ok, but I’m getting a 404 error when trying to access the Timesheets tab.
Had a look in the log file and it’s giving a routing error.
bq. ActionController::RoutingError (No route matches “/timesheet/index/sys” with {:method=>:get}):
Bevan:
What version of Rails and Engines are you using?
Redmine version: 0.6.devel.1069
Rails version: 2.0.2
Engines version: trunk (668 I think)
Beven:
I opened a new issue for this, can you add the full backtrace from your log file to the issue?
https://projects.littlestreamsoftware.com/issues/show/549
If I had read all of the article here (http://rails-engines.org/news/2007/12/11/engines-2-0-ish/), I would have known that you need to add the following line to environment.rb, just after the require of Rails’ boot file.
bq. require File.join(File.dirname(__FILE__), ‘../vendor/plugins/engines/boot’)
Eric, can you please add a note to your instructions or those on the Redmine site??
Hi,
I installed the timesheet plugins and I got an error when I tried to configure the timesheet from administration-> information in redmine. Here is the error I got when wanted to configure Timesheet “Couldn’t find template file for ../../vendor/plugins/timesheet_plugin/app/views/settings/_settings in [“/Users/macbook/Desktop/work/redmine/app/views”]”
I use,
– Rails version 2.0.2
– Redmine 0.7.devel
– Timesheet 0.2
I installed the plugin from this source “svn://dev.littlestreamsoftware.com/redmine_timesheet_plugin/trunk”
Do I need an engine plugin? However, when I install the engine plugin for rails 2.0.2 from this source “http://svn.rails-engines.org/engines/trunk/”, I got the error too.
If you need more information, please let me know.
Please help!!!
Thanks,
Yudi
I am using Rails 2.0.2, Redmine 0.7.0. I installed timesheet plugin & configured to each project as per the documentation. But when I selected the timesheet tab from the project page, I got 404 error and the stack trace at the production logs shows as follows:
powertracker-> is the identifier for my project.
ActionController::RoutingError (No route matches “/timesheet/index/powertracker” with {:method=>:get}):
/vendor/rails/actionpack/lib/action_controller/routing.rb:1441:in `recognize_path’
/vendor/rails/actionpack/lib/action_controller/routing.rb:1424:in `recognize’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:170:in `handle_request’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch’
/vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch’
/vendor/rails/railties/lib/webrick_server.rb:78:in `service’
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service’
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run’
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread’
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start’
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread’
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start’
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each’
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start’
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start’
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start’
/vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch’
/vendor/rails/railties/lib/commands/servers/webrick.rb:66
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require’
/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in’
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require’
/vendor/rails/railties/lib/commands/server.rb:39
/script/server:3:in `require’
/script/server:3
Rendering /home/redmine/redmine-0.7.0/public/404.html (404 Not Found)
The same problem and the same log. But Redmine version is 0.7.1.
Sorry for this.Problem was that I downloaded engine as described on Redmine paged. And it was placed in vendor/plugins/rel_2.0.0/ folder not in vendor/plugins/engines.
Muthuraj Muthiah and Gleb: These issues are from not having Rails Engines installed properly. It looks like it will be included in the “next release”:http://www.redmine.org/issues/show/1114
Love the site!! The plug in was exactly what I was looking for!!
Worked great. Thanks!!
Keep up the great work!
-Desi
what happened with download file, I am getting 404 error?
Thanks,
Milla
Milla, I’ve updated the link to the download. I’ve done some reorganizing in my Redmine and must have broken the link. Thank you.
Eric
Is it possible to get timelogs for ALL the projects (not for selected project only)? If yes – please tell me where.
What I mean is dividing the report by users rather not by projects
@grep: Yes, just unselect any projects. The plugin will select all of the projects, activities, and users if none are selected.
@grep2: There is a ‘group by user’ option in the latest version.
Thanks for this nice info, it’s so useful for me.
Hi Eric,
I just downloaded the timesheet plugin and installed by
1. Copying the timesheet directory into $REDMINE/vendor/plugin
2. Ran RAILS_ENV=production rake db:migrate:plugins from the redmine root ($REDMINE)
3. Restarted redmine
Now I can see a timesheet link on the top left (next to Home and Projects) even before logging in. If I log on as administrator and go to Administration->Plugins, I can see the Timesheet plugin. If I go to Administration->Roles and permissions and choose a role, I can only see a ‘See project timesheets’ option; not a ‘Run Timesheet’ option as you have mentioned. If I go to ->Settings->Modules, the Timesheet module is not listed there. Can you please help me getting this enabled.
I have not done any Ruby at all.
Software configurations
1. Centos5.5
2. ruby 1.8.7
3. gem 1.3.6
4. Redmine 1.2.0
5. Timesheet 0.6.0
Please let me know if you need more information in this regard.
Thanks
Can you report this to the bug tracker for me so it doesn’t get lost?
https://projects.littlestreamsoftware.com
Thanks
Hi Eric,
I have brought this issue up both on the link you specified above and in the Redmine forum. There is no response of any sort. Can you please help me with this?
Thanks
Can you tell me what the issue number is so I can respond to it?