Project

General

Profile

Weekly Timesheet Plugin (wk-time) 1.0

Added by Dhanasingh Krishnapandian over 11 years ago

We are happy to announce the release of version 1.0 of Weekly Timesheet Plugin (wk-time)
Following are the features of Release 1.0
- The timesheet can be filtered by projects and then by users.
- code for summing hours of same entry has been removed.
- Timesheet can be exported into PDF with signature sections
- Project hierarchy is shown in project dropdown
- Custom Fields can be modified from the timesheet
- The plugin can be configured
- comma is allowed as decimal separator on hours entry
- Users without Edit Permissions cannot edit / delete entries
- Italian translations are included

Thanks to Sanjay jain, Quang Tuan, Damian Rafferty, Rachid B, Steve Stefanovich, Krzysztof Rosiński for their feedback and feature requests.


Replies (79)

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Rachid B over 11 years ago

Hi,
thanks a lot for your release!
Is there a way to get it working with redmine 1.4?

regards
rachid

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

There are some differences between redmine 1.4 and 2.0, things like routing etc. If those things are taken care of, it should work with 1.4

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Anonymous over 11 years ago

Dhanasingh Krishnapandian wrote:

We are happy to announce the release of version 1.0 of Weekly Timesheet Plugin (wk-time)
Following are the features of Release 1.0

We just upgraded to v1.0 (from v0.0.6) in our test instance and we noticed the comments dialog is gone - replaced by a small comments icon which pops up a bubble if clicked.

We'd like to restore the comments field because we use it a lot in our time entry & hiding it slows down the time entry.

Is there anyway to have v1+ and restore the comments field to being beside the activity pulldown?

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

J.P,
yeah, starting from version 0.7, we have removed the comments text box and moved it into a dialog box.
May be we can have this as a plugin configuration, something like "Use One Comments Field per row" as a checkbox.
it it is checked, we will show the comments as one textfield, otherwise it will be in the dialog box. Let me know what you think.

We can put this in next release 1.1

Dhanasingh

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Jai prakash over 11 years ago

hi Dhanasingh Krishnapandian

I have been trying out this plug-in (v1.0).
I see that there is an entry "all users" for Members dropdown box, but i dont see a similar entry like "all projects" in
Project dropdown box.
My req: is to get a report for a single member across all projects.
( eg: Sam may be working for Project A and Project B in a given period,so if I select Sam and Project as "allprojects"
it should display all the activity of Sam across across all the projects.) . Is there any way I can get a similar report
using this plug-in.

Jaiprakash

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

Jaiprakash,
Actually the project drop down is used to just limit the users in the user drop down.
Once you select a user, it will list hours from all his projects.

When you Select Project A or Project B from the dropdown, you will see Sam in the User drop down.
Once you select Sam and hit Apply, you will Sam hours from both the projects.

Let me know if you have further questions.

Dhanasingh

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Jai prakash over 11 years ago

hello DK,

Thanks for replying.This is exactly what i needed.
The pdf export is not working.
It is showing Internal error

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

my redmine is 2.0.3 running in fedora 15.

Jaiprakash

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Quang Tuan over 11 years ago

hi Dhanasingh Krishnapandian

Thanks a lot for your release.
I have installed but my request [Custom Fields can be modified from the timesheet] is not done.
Step to play this requirement is below:
1. Go to Administrator -> Custom fields . Click [Spent time] tab then add new [Process] field with type as List and required fields.
2. Go to [Weekly time] then click [New Wk-time] link to add new timesheet.
There is no [Process] field displayed.
i want [Process] field is displayed after [Activities] fields.
Please check if you clear my suggesion.

Thanks alot.

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

Jaiprakash,
The pdf has a logo image inside it.
To display the logo, you will need rmagick gem installed.
If you install rmagick gem, the pdf should work fine.

Or if you are not that particular about the logo, go to the
plugin configuration page and empty the report logo field, then pdf
should work fine without rmagick installation.

Let me know if these steps doesn't work for you.

thanks

Dhanasingh

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

Quang,
The custom fields will show up on the pop-up window.
So click on the custom field icon next to the time entry (hours) textbox,
you will see a pop-up window displaying the comment and the custom fields.

Displaying the custom field on the timesheet table will take up space, thats why
I had put them on the pop-up window.

Please let me know if you have other questions.

thanks

Dhanasingh

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Jai prakash over 11 years ago

Thanks Dk
I removed the entry from logo field,now its working.
great plug-in.

Jaiprakash

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

Jaiprakash, glad you are able to get the pdf working.

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Quang Tuan over 11 years ago

Hi Dhanasingh Krishnapandian,

i already saw the comment and the cutomer fields.
thanks you alot.

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Quang Tuan over 11 years ago

Dhanasingh Krishnapandian wrote:

Jaiprakash,
Actually the project drop down is used to just limit the users in the user drop down.
Once you select a user, it will list hours from all his projects.

When you Select Project A or Project B from the dropdown, you will see Sam in the User drop down.
Once you select Sam and hit Apply, you will Sam hours from both the projects.

Let me know if you have further questions.

Dhanasingh

i think Jaiprakash's req just like Redmine's Timesheet report function
Redmine Timelog Report
if you select [Member] in [Add] combo then continue to select [Project] in [Add] combo, you will have Timesheet report as you want.
i wish this timesheet report is intergrated with this plugin. in that case it is easy to view timesheet of all projects, all members with different views.

thanks.
QuangTuan

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Jai prakash over 11 years ago

hello DK,

Noticed that the edit function is too slow. The page is appearing only after waiting for nearly a minute.
Tried "mysql slow query log" to get a picture of the issue but with no luck.

I am trying to figure out what is wrong.

I am running redmine v2.0.3 with fedora 15 and mysql v5.5.23

my gem list

  • LOCAL GEMS ***

actionmailer (3.2.6)
actionpack (3.2.6)
activemodel (3.2.6)
activerecord (3.2.6)
activeresource (3.2.6)
activesupport (3.2.6)
arel (3.0.2)
Ascii85 (1.0.1)
builder (3.0.0)
bundler (1.1.5)
coderay (1.0.7)
daemon_controller (1.0.0)
dispatcher (0.0.1)
erubis (2.7.0)
fastercsv (1.5.5, 1.5.3)
fastthread (1.0.7)
hike (1.2.1)
holidays (1.0.4, 1.0.3)
i18n (0.6.0, 0.4.2)
icalendar (1.1.6)
journey (1.0.4)
json (1.7.5)
mail (2.4.4)
metaclass (0.0.1)
mime-types (1.19)
mocha (0.12.3)
multi_json (1.3.6)
mysql (2.8.1)
net-ldap (0.3.1)
nokogiri (1.5.0)
open-uri-cached (0.0.4)
passenger (3.0.15, 3.0.11)
pdf-reader (0.10.1)
polyglot (0.3.3)
prawn (0.12.0)
prototype-rails (3.2.1)
rack (1.4.1, 1.1.1)
rack-cache (1.2)
rack-openid (1.3.1)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.6)
railties (3.2.6)
rake (0.9.2.2, 0.8.7)
rdoc (3.12)
ruby-openid (2.1.8)
sprockets (2.1.3)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.10)
ttfunk (1.0.3)
tzinfo (0.3.33)

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

ok,
are you seeing slowness in other features of redmine or just with wk-time plugin ?
Try to run the redmine report like Quang had responded in his previous email and see how it behaves.

Do you see this slowness every
time you open up the time sheet or occasionally ?

how many rows do you see when your timesheet opens up (after a minute) ?
Do you have any custom fields? and how many ?
how many projects and issues do you have ?

Dhanasingh

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Jai prakash over 11 years ago

hi,

are you seeing slowness in other features of redmine or just with wk-time plugin ?

Just wk-time plugin.

Try to run the redmine report like Quang had responded in his previous email and see how it behaves.

Tried it. The report is coming fine no lag.

Do you see this slowness every time you open up the time sheet or occasionally ?

Every time I try to use the edit function.

how many rows do you see when your timesheet opens up (after a minute) ?

This varies for each user and projects.Once the time sheet appear then i think its is reporting correctly.

how many projects and issues do you have ?

20 projects with out counting subprojects

Do you have any custom fields? and how many ?

72 custom fields

jaiprakash

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

ok, how many custom fields do you have on the spent time entity ?
because thats what get displayed on the timesheet.

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Jai prakash over 11 years ago

ok, how many custom fields do you have on the spent time entity ?
because thats what get displayed on the timesheet.

None.All my custom fields are in issues entity.

Also FYKI, In the redmine time sheet i am able to edit entries with out any performance lag.

Jaiprakash

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Quang Tuan over 11 years ago

hi Dhanasingh Krishnapandian

Now all issues of selected projects will be filled into Issues combobox.
i think only issues of selected projects which are assigned to login member are filled into Issues combo box.

Do you think so?

Regards
Quang Tuấn

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

Jaiprakash,
good to know the performance issue went away.
Can you tell us how you got rid of the performance issue ?

Dhanasingh

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

Quang,
I think most people want to see all issues in the drop down, irrespective of the issue assignment.
We can make this a plugin configuration if you like.
Have a configuration called "Allow Time Entry for Assigned Issues only" as a checkbox.
If this checkbox is checked in the configuration, then we will make this restriction.
Let me know if this would work for you.

Dhanasingh.

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Dhanasingh Krishnapandian over 11 years ago

Also I am thinking of making another plugin configuration called "Allow Time Entry for Blank Issue" as a checkbox.

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Jai prakash over 11 years ago

hello,

sorry for replying late.
Well, the performance issue is still there. On basic analysis it is seen that performance lags only when loading issues of a particular project. This project has quiet a lot issues around 15000 of them.When i load smaller projects the plug-in is working fine.

RE: Weekly Timesheet Plugin (wk-time) 1.0 - Added by Steve Stefanovich over 11 years ago

Dhanasingh Krishnapandian wrote:

There are some differences between redmine 1.4 and 2.0, things like routing etc. If those things are taken care of, it should work with 1.4

Can you release 1.x compatible version of the plugin? Or at least point us to how to fix routing. Stack trace is below.

(We're still on 1.3).

Cheers,
Steve

C:/worktracker/apps/redmine/vendor/plugins/redmine_wktime/config/routes.rb:1: undefined method `get' for main:Object (NoMethodError)
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:173:in `load_without_new_constant_marking'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:173:in `load'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:287:in `load_routes!'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:287:in `each'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:287:in `load_routes!'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:267:in `reload!'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:537:in `initialize_routing'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:188:in `process'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:113:in `send'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:113:in `run'
    from C:/worktracker/apps/redmine/config/environment.rb:24
    from C:/worktracker/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
    from C:/worktracker/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/rails.rb:147:in `rails'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:113:in `cloaker_'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:149:in `call'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:149:in `listener'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:99:in `cloaker_'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:50:in `call'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:50:in `initialize'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:84:in `new'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:84:in `run'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/command.rb:212:in `run'
    from C:/worktracker/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281
    from C:/worktracker/ruby/bin/mongrel_rails:19:in `load'
    from C:/worktracker/ruby/bin/mongrel_rails:19
(1-25/79)