Weekly Timesheet 1.3

Added by Dhanasingh Krishnapandian over 8 years ago

We are happy to announce the release of Weekly Timesheet 1.3
Here are the features included in 1.3, our primary goal is to
make it compatible with Redmine 2.2

- Plugin is made compatible with Redmine 2.2.0
- Added Unapprove button to unapprove a approved timesheet
- Appended tracker with issue in issue dropdown
- Removed project name from pdf header

Dhanasingh

Replies (56)

RE: Weekly Timesheet 1.3 - Added by Cristian Cabrera over 8 years ago

Hi

I have a new problem. When users edit or create timesheet (internal error). I have to restart the server to solve it.

The log file says this.

Completed 500 Internal Server Error in 189ms

ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
97: <% if Setting.plugin_redmine_wktime[:wktime_submission_ack].blank? >
98: <
= submit_tag l(:button_submit),:id => 'wktime_submit', :name => 'wktime_submit', :disabled => !(@row > 0)%>
99: <% else >
100: <
= submit_tag l(:button_submit),:id => 'wktime_submit', :name => 'wktime_submit',
101: :confirm => Setting.plugin_redmine_wktime[:wktime_submission_ack], :disabled => !(@row > 0)%>
102: <% end >
103: <
end %>
activesupport (3.2.9) lib/active_support/core_ext/string/output_safety.rb:133:in `concat'
activesupport (3.2.9) lib/active_support/core_ext/string/output_safety.rb:133:in `concat'
actionpack (3.2.9) lib/action_view/buffers.rb:11:in `<<'
plugins/redmine_wktime/app/views/wktime/_edit_issues.html.erb:100:in `_plugins_redmine_wktime_app_views_wktime__edit_issues_html_erb___3419786797210908538_58832740'
actionpack (3.2.9) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.9) lib/action_view/template.rb:143:in `render'
actionpack (3.2.9) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.9) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.9) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.9) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.9) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.9) lib/action_view/helpers/rendering_helper.rb:24:in `render'
plugins/redmine_wktime/app/views/wktime/edit.html.erb:173:in `block in plugins_redmine_wktime_app_views_wktime_edit_html_erb_1980347618295963088_50985320'
actionpack (3.2.9) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
actionpack (3.2.9) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
actionpack (3.2.9) lib/action_view/helpers/capture_helper.rb:40:in `capture'
actionpack (3.2.9) lib/action_view/helpers/form_tag_helper.rb:663:in `form_tag_in_block'
actionpack (3.2.9) lib/action_view/helpers/form_tag_helper.rb:70:in `form_tag'
plugins/redmine_wktime/app/views/wktime/edit.html.erb:95:in `_plugins_redmine_wktime_app_views_wktime_edit_html_erb__1980347618295963088_50985320'
actionpack (3.2.9) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.9) lib/action_view/template.rb:143:in `render'
actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/opt/bitnami/ruby/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render'
plugins/redmine_wktime/app/controllers/wktime_controller.rb:101:in `block (2 levels) in edit'
actionpack (3.2.9) lib/action_controller/metal/mime_responds.rb:196:in `call'
actionpack (3.2.9) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
plugins/redmine_wktime/app/controllers/wktime_controller.rb:85:in `edit'
actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.9) lib/active_support/callbacks.rb:480:in `_run__2244017494288951639__process_action__3975160433395915114__callbacks'
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
rack-openid (1.3.1) lib/rack/openid.rb:98:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__943649023337471280__call__855986723717234296__callbacks'
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.1) lib/rack/lock.rb:15:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.9) lib/rails/engine.rb:479:in `call'
railties (3.2.9) lib/rails/application.rb:223:in `call'
railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing'
passenger (3.9.1.beta) lib/phusion_passenger/rack/thread_handler_extension.rb:67:in `process_request'
passenger (3.9.1.beta) lib/phusion_passenger/request_handler/thread_handler.rb:126:in `accept_and_process_next_request'
passenger (3.9.1.beta) lib/phusion_passenger/request_handler/thread_handler.rb:100:in `block in main_loop'
passenger (3.9.1.beta) lib/phusion_passenger/utils/robust_interruption.rb:82:in `disable_interruptions'
passenger (3.9.1.beta) lib/phusion_passenger/request_handler/thread_handler.rb:98:in `main_loop'
passenger (3.9.1.beta) lib/phusion_passenger/request_handler.rb:432:in `block (3 levels) in start_threads'

I hope you can help me.

Cristian

RE: Weekly Timesheet 1.3 - Added by Dhanasingh Krishnapandian over 8 years ago

Christian,
Looks like the Submission Acknowledgement text has some special characters.
Could you please check and let me know ?

Dhanasingh

RE: Weekly Timesheet 1.3 - Added by Dhanasingh Krishnapandian over 8 years ago

The tags seem to be all messed up. not sure if the discussion forum is doing that or you had the badly formed tags
I have corrected the tags here.

<% if Setting.plugin_redmine_wktime[:wktime_submission_ack].blank? >
<
= submit_tag l(:button_submit),:id => 'wktime_submit', :name => 'wktime_submit', :disabled => !(@row > 0)%>
<% else >
<
= submit_tag l(:button_submit),:id => 'wktime_submit', :name => 'wktime_submit',
:confirm => Setting.plugin_redmine_wktime[:wktime_submission_ack], :disabled => !(@row > 0)%>
<% end >
<
end %>

RE: Weekly Timesheet 1.3 - Added by Cristian Cabrera about 8 years ago

Another Question...

when I try to save more than 6 rows, 5 rows only saves me messing and combining the information.

Cristian.

RE: Weekly Timesheet 1.3 - Added by Dhanasingh Krishnapandian about 8 years ago

there is no limitation on the number of rows.
If you enter time for the same combination of project/issue/activity in different rows, it will combine them.
Could you please check

Dhanasingh

RE: Weekly Timesheet 1.3 - Added by Cristian Cabrera about 8 years ago

You are right.

Same project / same issue

So, not work if i want different comments.

Thanks

1 2 3 (51-56/56)