Code Monkey home page Code Monkey logo

redmine_wktime's People

Contributors

amutha1997 avatar arulbaskar avatar arun-tak avatar box789 avatar cdhana17 avatar cscsxx avatar dhanasingh avatar dhineshrajasekar avatar divyabharathi-shanmugam avatar firemartz avatar jeyapriya-velkumar avatar jpsaman avatar karthickmadhiazhagan avatar mohanraj1996 avatar prosenkiewicz avatar rdkdhinesh avatar rubarajr avatar salmanmp avatar shanmugga avatar suganya-thulasiraman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redmine_wktime's Issues

Permission for seeing expenses

Hello, let me start by saying this is a fantastic plugin!!

I don't find a way to limit wk_expense_entries/reportdetail to see only the user's own expense declarations, so only a certain group of managers can oversee all declared expenses. Similar to 'edit time logs' and 'edit own time logs'.
Am I doing something wrong, or is this feature currently not available?

Kind regards,

Jürgen

Under IE doesn't save corrient hours

Hi
Under IE the plugin save in the table 'wktime' field 'hours' 0 hours when I save my new Timesheet.
In the log:
Current user: dima21m (id=4)
Rendered plugins/redmine_wktime/app/views/wktime/_wktime_cf_in_row.erb (0.1ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_issues2.html.erb (15.3ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (2.3ms)
Rendered plugins/redmine_wktime/app/views/wktime/_row_template.html.erb (17.9ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_header.html.erb (1.1ms)
Rendered plugins/redmine_wktime/app/views/wktime/_wktime_cf_in_row_header.html.erb (0.1ms)
Rendered plugins/redmine_wktime/app/views/wktime/_issue_header.html.erb (1.1ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.1ms)
Rendered plugins/redmine_wktime/app/views/wktime/_wktime_cf_in_row.erb (0.1ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_issues2.html.erb (12.1ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.4ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.2ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (1.5ms)
Rendered plugins/redmine_wktime/app/views/wktime/_wktime_cf_in_row.erb (0.1ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_issues2.html.erb (11.5ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.2ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.2ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (1.8ms)
Rendered plugins/redmine_wktime/app/views/wktime/_wktime_cf_in_row.erb (0.0ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_issues2.html.erb (11.7ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.0ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.2ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.4ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.2ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (1.4ms)
Rendered plugins/redmine_wktime/app/views/wktime/_wktime_cf_in_row.erb (0.1ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_issues2.html.erb (10.3ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.7ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (0.2ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_hours.html.erb (1.3ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_issues.html.erb (73.2ms)
Rendered plugins/redmine_wktime/app/views/wktime/_edit_footer.html.erb (2.6ms)
Rendered plugins/redmine_wktime/app/views/wktime/edit.html.erb within layouts/base (98.8ms)
Completed 200 OK in 372ms (Views: 113.5ms | ActiveRecord: 78.4ms)
Started POST "/redmine/wktime/update" for 10.0.27.47 at 2015-07-23 12:42:40 +0300
Processing by WktimeController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lWzZPzdCOzit97qda6Akuqg08CgNAG0ND1NBOL/b0w3rnChX/YXf/7Driui3zd0tlW5RU9Dd8iR9SFEQg1u51Q==", "tab"=>"wktime", "back_url"=>"http://redmine-rti.rt.ru:8081/redmine/wktime/index?tab=wktime", "getissues_url"=>"/redmine/wktime/getissues", "getactivities_url"=>"/redmine/wktime/getactivities", "deleterow_url"=>"/redmine/wktime/deleterow", "user_id"=>"13", "startday"=>"2015-07-27", "time_entry"=>[{"project_id"=>"15", "issue_id"=>"190", "activity_id"=>"99", "comments"=>""}, {"project_id"=>"24", "issue_id"=>"186", "activity_id"=>"99", "comments"=>""}, {"project_id"=>"77", "issue_id"=>"471", "activity_id"=>"99", "comments"=>""}, {"project_id"=>"77", "issue_id"=>"472", "activity_id"=>"99", "comments"=>""}], "hours1"=>["5", "", "", "", "", "", ""], "ids1"=>["", "", "", "", "", "", ""], "disabled1"=>["false", "false", "false", "false", "false", "false", "false"], "hours2"=>["", "6", "", "", "", "", ""], "ids2"=>["", "", "", "", "", "", ""], "disabled2"=>["false", "false", "false", "false", "false", "false", "false"], "hours3"=>["", "", "4", "", "4", "", ""], "ids3"=>["", "", "", "", "", "", ""], "disabled3"=>["false", "false", "false", "false", "false", "false", "false"], "hours4"=>["", "", "", "6", "", "", ""], "ids4"=>["", "", "", "", "", "", ""], "disabled4"=>["false", "false", "false", "false", "false", "false", "false"], "total"=>"0.00", "unit"=>"", "wktime_save"=>"Сохранить"}
Current user: dima21m (id=4)

Error on RM 3.1.1 with MS SQL 2014 database

I’m on MS SQL server 2014 in combination with redmine 3.1.1

Selecting the plugin button “Time & Expense” from the browser in redmine results in:

….

ActiveRecord::StatementInvalid (TinyTds::Error: 'date' is not a recognized built-in function name.: EXEC sp_executesql N'select count() as id from (select tmp3.user_id, tmp3.spent_on, tmp3.hours, tmp3.status, tmp3.status_updater, tmp3.created_on from (select tmp1.id as user_id, tmp1.created_on, tmp1.selected_date as spent_on, case when tmp2.hours is null then 0 else tmp2.hours end as hours, case when tmp2.status is null then ''e'' else tmp2.status end as status, tmp2.status_updater from (select u.id, u.created_on, v.selected_date from (select DateAdd(d, t4.i_7_10000 + t3.i_7_1000 + t2.i_7_100 + t1.i_7_10 + t0.i_7,''2015-11-01'') selected_date from (select 0 i union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) t0, (select 0 i union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) t1, (select 0 i union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) t2, (select 0 i union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) t3, (select 0 i union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) t4) v, (select u.id, u.created_on from users u) u WHERE v.selected_date between ''2015-11-01'' and ''2015-12-05'' ) tmp1 left join (select v1.user_id, v1.startday as spent_on, v1.hours, case when w.status is null then ''n'' else w.status end as status , un.firstname + '' '' + un.lastname as status_updater from (select ROW_NUMBER() OVER (ORDER BY DateAdd(d, (((((DATEPART(dw,t.spent_on)-1)%7)-1)+(8-0)) % 7)-1,t.spent_on) desc, user_id) AS rownum,DateAdd(d, (((((DATEPART(dw,t.spent_on)-1)%7)-1)+(8-0)) % 7)-1,t.spent_on) as startday, t.user_id, sum(t.hours) as hours ,max(t.id) as id from time_entries t, users u where u.id = t.user_id and u.id in (9) and t.spent_on between ''2015-11-01'' and ''2015-12-05'' group by DateAdd(d, (((((DATEPART(dw,t.spent_on)-1)%7)-1)+(8-0)) % 7)-1,t.spent_on), user_id ) as v1 left outer join wktimes w on v1.startday = w.begin_date and v1.user_id = w.user_id left outer join users un on un.id = w.statusupdater_id) tmp2 on tmp1.id = tmp2.user_id and tmp1.selected_date = tmp2.spent_on where tmp1.id in (9) ) tmp3 left outer join (select min( DateAdd(d, (((((DATEPART(dw,t.spent_on)-1)%7)-1)+(8-0)) % 7)-1,t.spent_on) ) as min_spent_on, t.user_id as usrid from time_entries t, users u where u.id = t.user_id and u.id in (9) group by t.user_id ) vw on vw.usrid = tmp3.user_id WHERE ((tmp3.spent_on between case when vw.min_spent_on is null then DateAdd(d, (((((DATEPART(dw,date(tmp3.created_on))-1)%7)-1)+(8-0)) % 7)-1,date(tmp3.created_on)) else vw.min_spent_on end and ''2015-11-07'') OR ((tmp3.spent_on < case when vw.min_spent_on is null then DateAdd(d, (((((DATEPART(dw,date(tmp3.created_on))-1)%7)-1)+(8-0)) % 7)_-1,date(tmp3.created_on)) else vw.min_spent_on end and tmp3.status <> ''e'') OR (tmp3.spent_on > ''2015-11-07'' and tmp3.status <> ''e''))) order by tmp3.spent_on desc, tmp3.user_id ) as v2'):
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

….

Error when installing plugin

rake redmine:plugins:migrate RAILS_ENV=production
NameError: uninitialized constant CustomFieldsHelper::CUSTOM_FIELDS_TABS

Redmine version: 2.2.2.stable
Ruby version: 1.8.7 (i386-linux)
Rails version: 3.2.11

The email notification is not sent

Hello,
after installing and configured the " Send email for non submission ", we could see in Logs:
==========Scheduler Started==========
Scheduler failed: uninitialized constant WktimeHelper::WkMailer

We then tested the rejected mail notification (sendRejectionEmail) that was not sent as well.

Nevertheless, the Redmine is sending successfully update notification.
It seems there is a misconfiguration on the plugin.
May you help please?
Thank you,
Greg

Blank issues are not displayed anymore on our projects

Hello,
we defined a process to log the time on projects or on issues.
Unfortunatelly, for any reason, some projects are not providing the blank issue proposal once the project is chosen.
non_blank

May you please help us to recover the blank issue?

I add that the option is ticked in the plugin configuration.
Thank you,
Wall

Custom field not included in .csv export

Hello,

I've added a custom field on the weekly timesheet level, but its not included in the .csv export.

How can I get this field as well in the .csv ?

Thanks,
C.

Undefined method `each_with_index' for nil:NilClass

We are randomly getting an Undefined method 'each_with_index' for nil:NilClass error when trying to post work times:

Started POST "/wktime/update" for 172.16.68.60 at 2016-09-29 12:13:36 +0000
Processing by WktimeController#update as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"lP8UNXcs3DdiLaWxG7T0GrJT8qeSRhghHZRBe0t7lzUm4pvdCzlc1l8KW0axTwOO+qz4A4SdTKh4Bu8DDJSpyg==", "tab"=>"wktime", "back_url"=>"http://XXXX/wktime/index", "getissues_url"=>"/wktime/getissues", "getactivities_url"=>"/wktime/getactivities", "deleterow_url"=>"/wktime/deleterow", "user_id"=>"8", "startday"=>"2016-09-26", "select_issues_tracker"=>["0"], "time_entry"=>[{"project_id"=>"36", "issue_id"=>"", "activity_id"=>"9", "comments"=>""}, {"project_id"=>"1", "issue_id"=>"", "activity_id"=>"9", "comments"=>""}], "hours-2"=>["", "", "", "", "", "", ""], "ids-2"=>["", "", "", "", "", "", ""], "disabled-2"=>["false", "false", "false", "false", "false", "false", "false"], "hours1"=>[".5", "", "", "", "", "", ""], "ids1"=>["", "", "", "", "", "", ""], "disabled1"=>["false", "false", "false", "false", "false", "false", "false"], "total"=>"0", "unit"=>"", "hidden_clock_in_out"=>"", "wktime_save_continue"=>"Save and continue"}
  Current user: XXXX (id=8)
Completed 500 Internal Server Error in 77ms (ActiveRecord: 20.3ms)

NoMethodError (undefined method `each_with_index' for nil:NilClass):
  plugins/redmine_wktime/app/controllers/wktime_controller.rb:1149:in `block in gatherEntries'
  plugins/redmine_wktime/app/controllers/wktime_controller.rb:1134:in `each'
  plugins/redmine_wktime/app/controllers/wktime_controller.rb:1134:in `each_with_index'
  plugins/redmine_wktime/app/controllers/wktime_controller.rb:1134:in `gatherEntries'
  plugins/redmine_wktime/app/controllers/wktime_controller.rb:153:in `update'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Could you write me what's wrong with my code

Hi
Could you write me what's wrong with my code? I need to display on timesheet page after issue table some extra information, but redmine display me only "Internal error" message. For example I type code for issues description (table id="shtab" class="list time-entries") and put it at the end of "_edit_issues.html.erb" code:

<table id="shtab" class="list time-entries">
<tbody>
<tr class="time-entry <%= cycle("odd", "even") %>">
    <td class="issue" align="left"><%=h entry.issue.description %></td>
</tr>
</tbody>
</table>

checkViewPermission undefined on upgrading

I was running redmine 2.3.2 with wktime (v1.2 I think, according to init.rb). This was not using bitnami.

I upgraded to bitnami redmine 2.6.10-2, and used got clone to get the updated plugin. This is on Ubuntu 14.04.

Now I get the error below only when wktime is present.

Started GET "/redmine/" for 192.168.0.104 at 2016-05-09 10:39:41 +0100
Processing by WelcomeController#index as HTML
Current user: jeremy (id=3)
Rendered news/_news.html.erb (7.0ms)
Rendered welcome/index.html.erb within layouts/base (47.5ms)
Completed 500 Internal Server Error in 121.4ms

ActionView::Template::Error (undefined method checkViewPermission' for #<Object:0x007fc31d1949b0>): 23: <div id="top-menu"> 24: <div id="account"> 25: <%= render_menu :account_menu -%> 26: </div> 27: <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current. logged? %> 28: <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%> 29: </div> lib/redmine/menu_manager.rb:199:incall'
lib/redmine/menu_manager.rb:199:in allowed_node?' lib/redmine/menu_manager.rb:166:inblock in menu_items_for'
lib/redmine/menu_manager.rb:165:in each' lib/redmine/menu_manager.rb:165:inmenu_items_for'
lib/redmine/menu_manager.rb:90:in render_menu' app/views/layouts/base.html.erb:26:in_app_views_layouts_base_html_erb__2319392326662076436_70238146978620'

v1.9: err 500 undefined method `join' for "all":String

Environment:
Redmine version 3.1.0.stable
Ruby version 2.2.1-p85 (2015-02-26) [x86_64-linux]
Rails version 4.2.4
Environment development
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
redmine_admin_monitor 1.0.0
redmine_agile 1.3.8
redmine_custom_workflows 0.1.3
redmine_draw_erd 0.1.0
redmine_evm 1.0.0
redmine_graphs 0.0.1
redmine_importer 1.2.2
redmine_leaves_holidays 0.1
redmine_local_avatars 0.2.0
redmine_logs 0.0.5
redmine_subtasks_inherited_fields 0.0.3
redmine_timesheet_importer 0.1
redmine_wktime 1.9
redmine_workload_capacity 0.0.1
spectator 0.0.1

Message: undefined method `join' for "all":String

Params:
controller: wktime
action: index

Backtrace:
/usr/share/redmine/plugins/redmine_wktime/app/controllers/wktime_controller.rb:1404:in getWhereCond' /usr/share/redmine/plugins/redmine_wktime/app/controllers/wktime_controller.rb:1381:infindBySql'
/usr/share/redmine/plugins/redmine_wktime/app/controllers/wktime_controller.rb:98:in index' /usr/local/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:insend_action'
/usr/local/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in process_action' /usr/local/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:inprocess_action'
/usr/local/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in block in process_action' /usr/local/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:incall'

Is wk_time 1.7 compatible with Redmine 3.0.1?

I have upgraded my Redmine to version 3.0.1 , I have installed wk_time 1.7 but when I login by my account I meet an 500 Internal Server Error. Although I haved run all needed command ( rake ,bundle ,...) and my redmine run fine after I remove this plugin out of my plugins directory. So Is wk_time compatible with redmine 3.0.1?
This is my production.log

Processing by WelcomeController#index as HTML
  Current user: hpduy17 (id=41)
  Rendered welcome/index.html.erb within layouts/base (7.9ms)
Completed 200 OK in 52ms (Views: 23.5ms | ActiveRecord: 8.5ms)
Processing by WelcomeController#index as HTML
  Current user: hpduy17 (id=41)
  Rendered welcome/index.html.erb within layouts/base (201.7ms)
Completed 500 Internal Server Error in 729ms

ActiveRecord::RecordNotFound (Couldn't find all Projects with 'id': (all, {:conditions=>"((projects.status <> 9 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='time_tracking')) AND (projects.id IN (14,5,16)))"}) (found 0 results, but was looking for 2)):
  app/models/project.rb:296:in `find'
  lib/redmine/menu_manager.rb:446:in `call'
  lib/redmine/menu_manager.rb:446:in `allowed?'
  lib/redmine/menu_manager.rb:164:in `block in menu_items_for'
  lib/redmine/menu_manager.rb:163:in `each'
  lib/redmine/menu_manager.rb:163:in `menu_items_for'
  lib/redmine/menu_manager.rb:90:in `render_menu'

"wktime/getstatus" loading over HTTP on site served over HTTPS

Hi Dhanasingh,

We are using version 1.5 of your plug-in with Redmine 2.4.4-stable. We are using Apache with mod_passenger as our application server, and are only serving Redmine over HTTPS. With Chrome 38, we started to see a "Loading..." AJAX spinner when viewing any Redmine issue. When we opened up the Chrome developer tools, we found that we had one warning and one error, and it appears that the getStatus method of your plug-in is running over HTTP instead of HTTPS.

  • The page at 'https://[URL]/issues/8236' was loaded over HTTPS, but ran insecure content from 'http://[URL]/wktime/getStatus?startDate=2014-10-30': this content should also be loaded over HTTPS.
    8236:1
  • XMLHttpRequest cannot load http://[URL]/wktime/getStatus?startDate=2014-10-30. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://[URL]' is therefore not allowed access. The response had HTTP status code 404.

Is there somewhere in your plug-in code that we can change to force the use of HTTPS, or is this possibly a configuration error with our Apache setup?

Thanks in advance!

Sending reminder emails to blocked users

*_Synopsis :
When using the "Send email for non submission" function, Redmine blocked users are receiving emails whereas they do not have access to Redmine any more.
*_Solution :
In file wktime_helper.rb, line 612, change the line :
" inner join users u on m.user_id = u.id" +
by
" inner join users u on m.user_id = u.id and u.status = #{User::STATUS_ACTIVE}" +
Thank you for taking this request into account
Best regards
Jean-Hervé

Worktime header

Hi,

We are using your Redmine Plugin "Time & Expenses" with Redmine 3.01. We configured the "worktime header", but we are really wondering, if it is not stored/loaded?

If we enter a value, next time we open the sheet, the value is gone. Is there any functionality behind the fields, or they are just for fun?

Thanks.
Marc

Timesheet submission reminder mail is sent to all users (or so it seems)

Hello, users who don't have the right to log spent time are sent a reminder mail to submit their timesheets.
Environment:
Redmine version 3.2.0.stable
Ruby version 2.1.4-p265 (2014-10-27) [x86_64-linux]
Rails version 4.2.5
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
redmine_wktime 2.1.1

no time-sheets listed in view

Just upgraded from redmine 2.6 to 3.2:

Tried both the current dev and master version of wktime.

No time sheets are listed in the Time & Attendance view (There should be dozens). If a new time sheet is made, when it's being edited you can move to previous time sheets from that view. but upon save of new time sheet it does not show up in the view.

image

If Date range of "all time" is selected an internal error is generated, if the default project is selected (1st project in list) . But if I select a different project it does not do this. Here is the production log from that event.

Started GET "/redmine/wktime/index?utf8=%E2%9C%93&tab=wktime&searchlist=wktime&filter_type=1&project_id=48&user_id=3&status%5B%5D=e&status%5B%5D=n&status%5B%5D=r&status%5B%5D=s&status%5B%5D=a&period_type=1&period=all" for 192.168.50.180 at 2016-04-30 11:01:01 -0500
Processing by WktimeController#index as HTML
Parameters: {"utf8"=>"✓", "tab"=>"wktime", "searchlist"=>"wktime", "filter_type"=>"1", "project_id"=>"48", "user_id"=>"3", "status"=>["e", "n", "r", "s", "a"], "period_type"=>"1", "period"=>"all"}
Current user: hglenn (id=3)
Completed 500 Internal Server Error in 42ms (ActiveRecord: 32.0ms)

NoMethodError (undefined method startday' for #<TimeEntry id: nil>): plugins/redmine_wktime/app/controllers/wktime_controller.rb:1822:ingetAllTimeRange'
plugins/redmine_wktime/app/controllers/wktime_controller.rb:74:in index' lib/redmine/sudo_mode.rb:63:insudo_mode'
plugins/redmine_dmsf/lib/redmine_dmsf/webdav/no_parse.rb:33:in `call'

Thanks in advance for any help the can be offered!

Expense logo configuration

Hello, it would be nice to add to the manual that a custom logo to be used for expense export to pdf needs to be stored in $(REDMINEROOT)/public/plugin_assets/redmine_wktime/images .
It would be nicer still to make line 203 (wktime_helper.rb) use values configured through the plugin's settings, so that a custom logo doesn't appear to be stretched if not having the same aspect ratio as the default logo:
pdf.Image(Redmine::Plugin.public_directory + "/redmine_wktime/images/" + logo, page_width-50, 10,40,25)
If you desire so, I could make an attempt of changing the code myself, but at present I don't master ruby, so it might not be very wise.
Thanks!
(version 2.1.1)

Blocked loading mixed active content in Issue view/edit

My Redmine is running over HTTPS and when I go to Issue details or edit page, It seems an Ajax call is failing. This apparently results in the Ajax 'Loading..." box continuously showing in Chrome. Firefox complains but the Loading box vanishes. They show the following error messages:

Firefox

Blocked loading mixed active content "http://redmine.bluecoppertech.com/wktime/getStatus?startDate=2014-11-21"[Learn More]

Google Chrome

Mixed Content: loaded over HTTPS, but requested an insecure XMLHttpRequest end... points to the URL http://redmine.bluecoppertech.com/wktime/getStatus?startDate=2014-11-21

A bit digging reveals that the URL being generated was using HTTP, not HTTPS. I just added ":only_path=>true" in the url_for call and it went away. However, I'm not a Ruby developer so I do not know the side-effects or if this is the way to fix it. I'm submitting the following for your review.

index a7968c7..51db147 100644
--- a/init.rb
+++ b/init.rb
@@ -123,7 +123,7 @@ class WktimeHook < Redmine::Hook::ViewListener
                wktime_helper = Object.new.extend(WktimeHelper)
                host_with_subdir = wktime_helper.getHostAndDir(req)
                "<div id='divError'><font color='red'>#{l(:label_warning_wktime_time_entry)}</font>
-                       <input type='hidden' id='getstatus_url' value='#{url_for(:controller => 'wktime', :action => 'getStatus',:host => host_with_subdir)}'>
+                       <input type='hidden' id='getstatus_url' value='#{url_for(:controller => 'wktime', :action => 'getStatus',:host => host_with_subdir, :only_path=>true)}'>
                </div>"
        end

Redmine Information

Environment:
Redmine version 2.5.3.stable.13623
Ruby version 1.9.3-p484 (2013-11-22) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
issuefy 0.2.0
progressive_projects_list 1.0.0
redmine_banner 0.1.0
redmine_checklists 3.0.1
redmine_ckeditor 1.0.16
redmine_dashboard 2.2.4
redmine_login_audit 0.1.5
redmine_maintenance_mode 1.1.0
redmine_spent_time_column 2.0.1
redmine_tags 2.0.1-dev
redmine_wktime 1.7
sidebar_hide 0.0.7

Redmine crashed on Postgres request

Redmine crashed on Postgres request

Logs below:

Started GET "/" for 95.211.89.207 at 2015-05-14 03:45:36 -0400
Processing by WelcomeController#index as HTML
Current user: supportex.net (id=57)
Rendered news/_news.html.erb (7.7ms)
Rendered welcome/index.html.erb within layouts/base (17.0ms)
PG::UndefinedTable: ERROR: missing FROM-clause entry for table "time_entries"
LINE 1: SELECT "projects".* FROM "projects" WHERE ((time_entries.ord...
^
: SELECT "projects".* FROM "projects" WHERE ((time_entries.order_id IN ('')) OR (time_entries.user_id = 57 AND time_entries.
order_id IN ('')) OR ((projects.status <> 9 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='
time_tracking')) AND (projects.id IN (12,27,50,2,26,28,55) OR projects.id IN (12,27,54,85) OR projects.id IN (12,39) OR proj
ects.id IN (44,47))))
Completed 500 Internal Server Error in 80ms (ActiveRecord: 22.3ms)

ActionView::Template::Error (PG::UndefinedTable: ERROR: missing FROM-clause entry for table "time_entries"
LINE 1: SELECT "projects".* FROM "projects" WHERE ((time_entries.ord...
^
: SELECT "projects".* FROM "projects" WHERE ((time_entries.order_id IN ('')) OR (time_entries.user_id = 57 AND time_entries.
order_id IN ('')) OR ((projects.status <> 9 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='
time_tracking')) AND (projects.id IN (12,27,50,2,26,28,55) OR projects.id IN (12,27,54,85) OR projects.id IN (12,39) OR proj
ects.id IN (44,47))))):
22:


23:

24: <%= render_menu :account_menu -%>
25:

26: <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :
id => 'loggedas') if User.current.logged? %>
27: <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
28:

lib/redmine/menu_manager.rb:446:in call' lib/redmine/menu_manager.rb:446:inallowed?'
lib/redmine/menu_manager.rb:164:in block in menu_items_for' lib/redmine/menu_manager.rb:163:ineach'
lib/redmine/menu_manager.rb:163:in menu_items_for' lib/redmine/menu_manager.rb:90:inrender_menu'
app/views/layouts/base.html.erb:25:in `_app_views_layouts_base_html_erb___1517620741803361580_43006300'

Does Time & Expense 1.9 work with the latest redmine 3.1.0

I installed the plugin on the 3.1.0 version, however, my server is not opening now.
Below are the logs:

Started GET "/" for 127.4.161.1 at 2015-09-08 12:58:09 -0400
Processing by WelcomeController#index as HTML
Current user: xxxxxx
Rendered welcome/index.html.erb within layouts/base (5.8ms)
Completed 500 Internal Server Error in 22ms (ActiveRecord: 2.7ms)

ActionView::Template::Error (uninitialized constant WktimeHelper):
22:


23:

24: <%= render_menu :account_menu -%>
25:

26: <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
27: <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
28:

lib/redmine/menu_manager.rb:446:in call' lib/redmine/menu_manager.rb:446:inallowed?'
lib/redmine/menu_manager.rb:164:in block in menu_items_for' lib/redmine/menu_manager.rb:163:ineach'
lib/redmine/menu_manager.rb:163:in menu_items_for' lib/redmine/menu_manager.rb:90:inrender_menu'
app/views/layouts/base.html.erb:25:in _app_views_layouts_base_html_erb__1004986979072748978_32673980' lib/redmine/sudo_mode.rb:63:insudo_mode'

Please advise/suggest.

Migrate needed after upgrade?

Hello, according to https://www.redmine.org/plugins/wk-time you need to migrate when installing the plugin, but it is not clear to me whether a migrate is also needed when upgrading. When issuing the migrate command, the following error is displayed:

rake redmine:plugins:migrate NAME=redmine_wktime RAILS_ENV=production
Migrating redmine_wktime (Time & Attendance)...
== 1 CreateWktimes: migrating =================================================
-- create_table(:wktimes)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Table 'wktimes' already exists: CREATE TABLE `wktimes` (`id` int(11) auto_increment PRIMARY KEY, `user_id` int(11) NOT NULL, `begin_date` date NOT NULL, `hours` float NOT NULL, `status` varchar(2) DEFAULT 'n' NOT NULL, `submitted_on` date, `statusupdate_on` date, `submitter_id` int(11), `statusupdater_id` int(11), `notes` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB

Cannot access to Setting page

Hi all,

I just installed WKtime plugin on Redmine 3.1.1, the setting page is not accessible, it end with the following error, note that Attendance/Timesheet works fine :

Rendered plugins/redmine_wktime/app/views/settings/_settings.html.erb (628.7ms)
Rendered settings/plugin.html.erb within layouts/admin (631.1ms)
Completed 500 Internal Server Error in 642ms (ActiveRecord: 3.9ms)

ActionView::Template::Error (uninitialized constant WktimeHelper::Import):
269:


270: <%= l(:setting_date_format) %>
271: <% wktime_helper = Object.new.extend(WktimeHelper) %>
272: <%= select_tag 'settings[wktime_field_datetime]', options_for_select(wktime_helper.date_format_options, :selected => @settings['wktime_field_datetime'].blank? ? 0 : @settings['wktime_field_datetime'] ) %>
273:


274:
275:
app/views/common/_tabs.html.erb:22:in block in _app_views_common__tabs_html_erb___4086189306586709232_69890579812760' app/views/common/_tabs.html.erb:21:ineach'
app/views/common/_tabs.html.erb:21:in _app_views_common__tabs_html_erb___4086189306586709232_69890579812760' app/helpers/application_helper.rb:322:inrender_tabs'
app/views/settings/plugin.html.erb:6:in block in _app_views_settings_plugin_html_erb__4599062197108022927_69890579632800' app/views/settings/plugin.html.erb:4:in_app_views_settings_plugin_html_erb__4599062197108022927_69890579632800'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Decimals are not taken into account when registering expenses

Hello, on my installation, expense values of e.g. 84.75€ are registered as 84.00€ after submit.
Environment:
Redmine version 3.2.0.stable
Ruby version 2.1.4-p265 (2014-10-27) [x86_64-linux]
Rails version 4.2.5
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
redmine_wktime 2.1.1

error

i install the plugin but when ill try use have this:

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.

Back

redmine_wktime 1.8 on redmine 3.0.1

i install i can access to configuration but whe i try to work with the plugin still having this:

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.

Back

error log:

Started GET "/users" for 127.0.0.1 at 2015-06-01 17:24:42 +0000
Processing by UsersController#index as HTML
Current user: admin (id=1)
Rendered users/index.html.erb within layouts/admin (29.1ms)
Rendered admin/_menu.html.erb (8.2ms)
Rendered layouts/base.html.erb (30.1ms)
Completed 200 OK in 204ms (Views: 57.6ms | ActiveRecord: 47.3ms)
Started GET "/wktime/index" for 127.0.0.1 at 2015-06-01 17:32:42 +0000
Processing by WktimeController#index as HTML
Current user: admin (id=1)
PG::InvalidColumnReference: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
LINE 1: ... (users.type='User' AND users.status=1) ORDER BY users.firs...
^
: SELECT DISTINCT "members".* FROM "members" INNER JOIN "users" ON "users"."id" = "members"."user_id" INNER JOIN "member_roles" ON "member_roles"."member_id" = "members"."id" INNER JOIN "roles" ON "roles"."id" = "member_roles"."role_id" WHERE "members"."project_id" = $1 AND (users.type='User' AND users.status=1) ORDER BY users.firstname ASC,users.lastname ASC
Completed 500 Internal Server Error in 34ms

ActiveRecord::StatementInvalid (PG::InvalidColumnReference: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
LINE 1: ... (users.type='User' AND users.status=1) ORDER BY users.firs...
^
: SELECT DISTINCT "members".* FROM "members" INNER JOIN "users" ON "users"."id" = "members"."user_id" INNER JOIN "member_roles" ON "member_roles"."member_id" = "members"."id" INNER JOIN "roles" ON "roles"."id" = "member_roles"."role_id" WHERE "members"."project_id" = $1 AND (users.type='User' AND users.status=1) ORDER BY users.firstname ASC,users.lastname ASC):
vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:637:in prepare' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:637:inprepare_statement'
vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:596:in exec_cache' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:585:inexecute_and_clear'
vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in exec_query' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:336:inselect'
vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in select_all' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:68:inblock in select_all'
vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:83:in cache_sql' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:68:inselect_all'
vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/querying.rb:39:in find_by_sql' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/relation.rb:638:inexec_queries'
vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/association_relation.rb:19:in exec_queries' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/relation.rb:514:inload'
vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/relation.rb:243:in to_a' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/relation/delegation.rb:46:incollect'
plugins/redmine_wktime/app/controllers/wktime_controller.rb:1071:in setgroups' plugins/redmine_wktime/app/controllers/wktime_controller.rb:26:inindex'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/implicit_render.rb:4:in send_action' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/abstract_controller/base.rb:198:inprocess_action'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/rendering.rb:10:in process_action' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/abstract_controller/callbacks.rb:20:inblock in process_action'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:117:in call' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:117:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:151:in block in halting_and_conditional' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:151:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:151:in block in halting_and_conditional' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:151:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:151:in block in halting_and_conditional' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:151:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:151:in block in halting_and_conditional' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:in block in halting' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:in block in halting' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:in block in halting' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:in block in halting' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:in block in halting' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:in block in halting' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:in block in halting' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:234:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:234:in block in halting' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:in block in halting' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:incall'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in _run_callbacks' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in_run_process_action_callbacks'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in run_callbacks' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/abstract_controller/callbacks.rb:19:inprocess_action'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/rescue.rb:29:in process_action' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/instrumentation.rb:31:inblock in process_action'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in block in instrument' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:ininstrument'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in instrument' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/instrumentation.rb:30:inprocess_action'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/params_wrapper.rb:250:in process_action' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/abstract_controller/base.rb:137:in process' vendor/bundle/ruby/2.1.0/gems/actionview-4.2.0/lib/action_view/rendering.rb:30:inprocess'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal.rb:195:in dispatch' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/rack_delegation.rb:13:indispatch'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal.rb:236:in block in action' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:73:incall'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:73:in dispatch' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:42:inserve'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb:43:in block in serve' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb:30:ineach'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb:30:in serve' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:802:incall'
vendor/bundle/ruby/2.1.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in call' vendor/bundle/ruby/2.1.0/gems/request_store-1.0.5/lib/request_store/middleware.rb:9:incall'
vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/etag.rb:24:in call' vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/conditionalget.rb:25:incall'
vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/head.rb:13:in call' vendor/bundle/ruby/2.1.0/gems/actionpack-xml_parser-1.0.1/lib/action_dispatch/xml_params_parser.rb:16:incall'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/params_parser.rb:27:in call' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/flash.rb:260:incall'
vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:225:in context' vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:220:incall'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/cookies.rb:560:in call' vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/query_cache.rb:36:incall'
vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in call' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb:29:inblock in call'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:88:in call' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:88:in_run_callbacks'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in _run_call_callbacks' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:inrun_callbacks'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb:27:in call' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/remote_ip.rb:78:incall'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:17:in call' vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/show_exceptions.rb:30:incall'
vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:38:in call_app' vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:20:inblock in call'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in block in tagged' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:intagged'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in tagged' vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:20:incall'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/request_id.rb:21:in call' vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/methodoverride.rb:22:incall'
vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/runtime.rb:18:in call' vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:28:incall'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/static.rb:113:in call' vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/sendfile.rb:113:incall'
vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:518:in call' vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/application.rb:164:incall'
vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/railtie.rb:194:in public_send' vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/railtie.rb:194:inmethod_missing'
vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in process_client' vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:inworker_loop'
vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in spawn_missing_workers' vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:instart'
vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn_rails:209:in <top (required)>' vendor/bundle/ruby/2.1.0/bin/unicorn_rails:23:inload'
vendor/bundle/ruby/2.1.0/bin/unicorn_rails:23:in `

'

No Issues listed

We're trying to use the plugin v1.8.1 with Redmine 3.0.3 on Postgresql.

We have a project with some issues open:
current_issues

But no issues are shown in the list:
issue list empty

Any ideas how to resolve?

Use Detail Time Entry Popup not showing

Hello, it seems the detail entry popup doesn't work anymore even if configured to show up in redmine/settings/plugin/redmine_wktime.

Environment:
Redmine version 3.2.0.stable
Ruby version 2.1.4-p265 (2014-10-27) [x86_64-linux]
Rails version 4.2.5
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
redmine_wktime 2.1.1

Edit Attendance Time

Hey there dhanasingh,

we really love your plugin!

Is there a way to edit the attendance time directly in the Time -> Week Overview? We do not want to use the stopwatch to track time, instead we want to directly write start & end time. There is even this small pop-up showing all logged times, but unfortunatelly, these fields are also not editable.

Are we missing something?

I install 1.9 release and get error

Hi
I install 1.9 release and get error:

NoMethodError (undefined method join' for "all":String): plugins/redmine_wktime/app/controllers/wktime_controller.rb:1404:ingetWhereCond'
plugins/redmine_wktime/app/controllers/wktime_controller.rb:1381:in findBySql' plugins/redmine_wktime/app/controllers/wktime_controller.rb:98:inindex'
actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (4.2.1) lib/abstract_controller/base.rb:198:inprocess_action'
actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:inblock in process_action'
activesupport (4.2.1) lib/active_support/callbacks.rb:117:in call' activesupport (4.2.1) lib/active_support/callbacks.rb:117:incall'
activesupport (4.2.1) lib/active_support/callbacks.rb:555:in block (2 levels) in compile' activesupport (4.2.1) lib/active_support/callbacks.rb:505:incall'
activesupport (4.2.1) lib/active_support/callbacks.rb:505:in call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in_run_callbacks'
activesupport (4.2.1) lib/active_support/callbacks.rb:776:in _run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:inprocess_action'
actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:inblock in instrument'
activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:ininstrument'
actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:inprocess_action'
activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:inprocess'
actionview (4.2.1) lib/action_view/rendering.rb:30:in process' actionpack (4.2.1) lib/action_controller/metal.rb:196:indispatch'
actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:inblock in action'
actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:indispatch'
actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:inblock in serve'
actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:inserve'
actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in call' rack-openid (1.4.2) lib/rack/openid.rb:98:incall'
request_store (1.0.5) lib/request_store/middleware.rb:9:in call' rack (1.6.0) lib/rack/etag.rb:24:incall'
rack (1.6.0) lib/rack/conditionalget.rb:25:in call' rack (1.6.0) lib/rack/head.rb:13:incall'
actionpack-xml_parser (1.0.1) lib/action_dispatch/xml_params_parser.rb:16:in call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:incall'
actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:incontext'
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:incall'
activerecord (4.2.1) lib/active_record/query_cache.rb:36:in call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:incall'
actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:incall'
activesupport (4.2.1) lib/active_support/callbacks.rb:88:in _run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in_run_call_callbacks'
activesupport (4.2.1) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:incall'
actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in call' railties (4.2.1) lib/rails/rack/logger.rb:38:incall_app'
railties (4.2.1) lib/rails/rack/logger.rb:20:in block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:inblock in tagged'
activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:intagged'
railties (4.2.1) lib/rails/rack/logger.rb:20:in call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:incall'
rack (1.6.0) lib/rack/methodoverride.rb:22:in call' rack (1.6.0) lib/rack/runtime.rb:18:incall'
activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:incall'
rack (1.6.0) lib/rack/sendfile.rb:113:in call' railties (4.2.1) lib/rails/engine.rb:518:incall'
railties (4.2.1) lib/rails/application.rb:164:in call' railties (4.2.1) lib/rails/railtie.rb:194:inpublic_send'
railties (4.2.1) lib/rails/railtie.rb:194:in method_missing' rack (1.6.0) lib/rack/urlmap.rb:66:inblock in call'
rack (1.6.0) lib/rack/urlmap.rb:50:in each' rack (1.6.0) lib/rack/urlmap.rb:50:incall'
thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:82:in block in pre_process' thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:80:incatch'
thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:80:in pre_process' thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:55:inprocess'
thin-1.6.1-x86 (mingw32) lib/thin/connection.rb:41:in receive_data' eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:inrun_machine'
eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:in run' thin-1.6.1-x86 (mingw32) lib/thin/backends/base.rb:73:instart'
thin-1.6.1-x86 (mingw32) lib/thin/server.rb:162:in start' thin-1.6.1-x86 (mingw32) lib/thin/controllers/controller.rb:87:instart'
thin-1.6.1-x86 (mingw32) lib/thin/runner.rb:200:in run_command' thin-1.6.1-x86 (mingw32) lib/thin/runner.rb:156:inrun!'
thin-1.6.1-x86 (mingw32) bin/thin:6:in <top (required)>' bin/thin:16:inload'
bin/thin:16:in `

'

Issue cannot be blank in all cases

I'm having a problem when I choose 'Add row' in the timesheet, I don't have the possibility to have a blank issue:

selection_129

The same happens if I switch between projects, so, if I choose another project, I then cannot choose empty for issue :'(

Attendance Time - Start Time

Hey @dhanasingh

sry for opening the fourth issue in this short time - we are currently testing everything, because we really would like to use your plugin in production!

So we are now tracking time by adding the time directly in the overview. The problem is, that as soon as we have more than one timespan on one day, the start time of my attendance only shows the start-time of the last timespan.

Example:
i'm working today from 8:00 - 12:00 and then from 13:00 - 17:00. This means, there are two timespans now. The total time is correct - 8 hours in total - but the start time now shows 13:00, the start-time of the latest tracked timespan!

uninitialized constant WktimeHelper

Hi, i cant install pluggin, this its my detail issue from production.log

ActionView::Template::Error (uninitialized constant WktimeHelper):
22:


23:

24: <%= render_menu :account_menu -%>
25:

26: <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
27: <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
28:

lib/redmine/menu_manager.rb:199:in call' lib/redmine/menu_manager.rb:199:inallowed_node?'
lib/redmine/menu_manager.rb:166:in block in menu_items_for' lib/redmine/menu_manager.rb:165:ineach'
lib/redmine/menu_manager.rb:165:in menu_items_for' lib/redmine/menu_manager.rb:90:inrender_menu'
app/views/layouts/base.html.erb:25:in `_app_views_layouts_base_html_erb___1139484040708537044_51438460'

Thanks

Error: uninitialized constant WkreportController during migration wktimes

Hello,
When attempting to migrate the plugin wktime v2.3 of redmine v2.3.6 to v3.3, we get the following error:

rake aborted!
NameError: uninitialized constant WkreportController
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_wktime-2.3/init.rb:264:in `<top (required)>'
/opt/bitnami/apps/redmine/htdocs/lib/redmine/plugin.rb:155:in `block in load'
/opt/bitnami/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in `each'
/opt/bitnami/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in `load'
/opt/bitnami/apps/redmine/htdocs/config/initializers/30-redmine.rb:21:in `<top (required)>'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:652:in `block in load_config_initializer'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in `instrument'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:651:in `load_config_initializer'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in `each'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in `block in <class:Engine>'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in `each'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in `tsort_each_child'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:411:in `call'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:345:in `each'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:345:in `call'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/opt/bitnami/ruby/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!'
/opt/bitnami/apps/redmine/htdocs/config/environment.rb:14:in `<top (required)>'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/application.rb:328:in `require_environment!'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.6/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:248:in `call'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:248:in `block in execute'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:243:in `each'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:243:in `execute'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:187:in `block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:180:in `invoke_with_call_chain'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:209:in `block in invoke_prerequisites'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:207:in `each'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:207:in `invoke_prerequisites'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:186:in `block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:180:in `invoke_with_call_chain'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/task.rb:173:in `invoke'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/application.rb:152:in `invoke_task'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/application.rb:108:in `block (2 levels) in top_level'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/application.rb:108:in `each'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/application.rb:108:in `block in top_level'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/application.rb:117:in `run_with_threads'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/application.rb:102:in `top_level'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/application.rb:80:in `block in run'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/application.rb:178:in `standard_exception_handling'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/lib/rake/application.rb:77:in `run'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin/rake:23:in `load'
/opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin/rake:23:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment

Thanks

wkstatus.js:98 Uncaught TypeError is causing "Loading..." not dismissed

In case time tracking module is not enabled for the redmine project and you simply view the issue then "Loading..." does not disappear. Please see attached screenshot. In browser console you can see error
wkstatus.js:98 Uncaught TypeError: Cannot set property 'disabled' of null
Additional Note: This behavior can be also achieved when you disable Time tracking activities for the role

Environment

  • Lets have project X
  • Redmine 3.3.0
  • Chrome Version 51.0.2704.106 m or IE 11.494.10586.0
  • redmine_wktime 2.2.1

Steps to reproduce:

  1. Go to Project Setting of project X-->Modules and disable here time tracking module
  2. Go to project X and click Issues
  3. Choose one issue
  4. You should see "Loading..."

Screens:

Console Error:
console
Issue view with Loading...:
loading
How to disable time tracking:
timetracking disabled

LoadError: cannot load such file -- rufus/scheduler

Hello, i have a problem to restore database redmine bitnami 3.2.0.1.
During database migration I have error:

DL is deprecated, please use Fiddle
rake aborted!+
LoadError: cannot load such file -- rufus/scheduler+
C:/Bitnami/redmine-3.2.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/act
ivesupport-4.2.5/lib/active_support/dependencies.rb:274:in require' C:/Bitnami/redmine-3.2.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/act ivesupport-4.2.5/lib/active_support/dependencies.rb:274:inblock in require'
C:/Bitnami/redmine-3.2.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/act
ivesupport-4.2.5/lib/active_support/dependencies.rb:240:in load_dependency' C:/Bitnami/redmine-3.2.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/act ivesupport-4.2.5/lib/active_support/dependencies.rb:274:inrequire'
C:/Bitnami/redmine-3.2.0-1/apps/redmine/htdocs/plugins/redmine_wktime/init.rb:20
6:in `block in <top (required)>'

Can any body help me?

Need a better responsive design or add horizontal overflow

Right now, if your screen is too small for the timesheet, the right side gets cut off. It would be nice if the table was responsive. A quick fix would be: overflow-x: auto; applied to the table. This way the user could horizontally scroll if needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.