stpl / systango_hrm Goto Github PK
View Code? Open in Web Editor NEWRedmine plugin that allows for leave management of users.
Redmine plugin that allows for leave management of users.
Hello!
i tried to check new version, and now in nohup.out i see this:
rake aborted!
database configuration does not specify adapter
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/connection_specification.rb:47:in resolve_hash_connection' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:in
resolve_string_connection'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/connection_specification.rb:25:in spec' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/connection_specification.rb:130:in
establish_connection'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activerecord-3.2.19/lib/active_record/railtie.rb:88:in block (2 levels) in <class:Railtie>' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activesupport-3.2.19/lib/active_support/lazy_load_hooks.rb:36:in
instance_eval'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activesupport-3.2.19/lib/active_support/lazy_load_hooks.rb:36:in execute_hook' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activesupport-3.2.19/lib/active_support/lazy_load_hooks.rb:26:in
block in on_load'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activesupport-3.2.19/lib/active_support/lazy_load_hooks.rb:25:in each' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activesupport-3.2.19/lib/active_support/lazy_load_hooks.rb:25:in
on_load'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activerecord-3.2.19/lib/active_record/railtie.rb:80:in block in <class:Railtie>' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/railties-3.2.19/lib/rails/initializable.rb:30:in
instance_exec'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/railties-3.2.19/lib/rails/initializable.rb:30:in run' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/railties-3.2.19/lib/rails/initializable.rb:55:in
block in run_initializers'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/railties-3.2.19/lib/rails/initializable.rb:54:in each' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/railties-3.2.19/lib/rails/initializable.rb:54:in
run_initializers'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/railties-3.2.19/lib/rails/application.rb:136:in initialize!' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30:in
method_missing'
/home/redmine/redmine/config/environment.rb:14:in <top (required)>' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in
require'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in block in require' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:in
load_dependency'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in require' /home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/railties-3.2.19/lib/rails/application.rb:103:in
require_environment!'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/gems/railties-3.2.19/lib/rails/application.rb:305:in block (2 levels) in initialize_tasks' /home/redmine/.rvm/gems/ruby-2.0.0-p451/bin/ruby_executable_hooks:15:in
eval'
/home/redmine/.rvm/gems/ruby-2.0.0-p451/bin/ruby_executable_hooks:15:in `
all migrations done successfully.
I create a new file "es.yml" on locales with translate app, but the app not get the new language
How is possible translate the plugin
Hello,
I get an install error on Redmine 3.0.3:
root@vmd8303:/opt/redmine/redmine-3.0.3# rake redmine:plugins NAME=systango_hrm RAILS_ENV=production --trace
** Invoke redmine:plugins (first_time)
** Execute redmine:plugins
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
NoMethodError: undefined method observers' for ActiveRecord::Base:Class /var/lib/gems/2.1.0/gems/activerecord-4.2.1/lib/active_record/dynamic_matchers.rb:26:in
method_missing'
/opt/redmine/redmine-3.0.3/plugins/systango_hrm/init.rb:13:in block in <top (required)>' /opt/redmine/redmine-3.0.3/lib/redmine/plugin.rb:75:in
instance_eval'
/opt/redmine/redmine-3.0.3/lib/redmine/plugin.rb:75:in register' /opt/redmine/redmine-3.0.3/plugins/systango_hrm/init.rb:6:in
<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in require' /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in
block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in load_dependency' /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in
require'
/opt/redmine/redmine-3.0.3/lib/redmine/plugin.rb:155:in block in load' /opt/redmine/redmine-3.0.3/lib/redmine/plugin.rb:146:in
each'
/opt/redmine/redmine-3.0.3/lib/redmine/plugin.rb:146:in load' /opt/redmine/redmine-3.0.3/config/initializers/30-redmine.rb:21:in
<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in load' /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in
block in load'
/var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in load_dependency' /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in
load'
/var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:652:in block in load_config_initializer' /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:166:in
instrument'
/var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:651:in load_config_initializer' /var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:616:in
block (2 levels) in class:Engine'
/var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in each' /var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in
block in class:Engine'
/var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in instance_exec' /var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in
run'
/var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:55:in block in run_initializers' /usr/lib/ruby/2.1.0/tsort.rb:226:in
block in tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' /usr/lib/ruby/2.1.0/tsort.rb:418:in
block (2 levels) in each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:427:in each_strongly_connected_component_from' /usr/lib/ruby/2.1.0/tsort.rb:417:in
block in each_strongly_connected_component_from'
/var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in each' /var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in
tsort_each_child'
/usr/lib/ruby/2.1.0/tsort.rb:411:in call' /usr/lib/ruby/2.1.0/tsort.rb:411:in
each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:347:in block in each_strongly_connected_component' /usr/lib/ruby/2.1.0/tsort.rb:345:in
each'
/usr/lib/ruby/2.1.0/tsort.rb:345:in call' /usr/lib/ruby/2.1.0/tsort.rb:345:in
each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:224:in tsort_each' /usr/lib/ruby/2.1.0/tsort.rb:205:in
tsort_each'
/var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:54:in run_initializers' /var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:352:in
initialize!'
/opt/redmine/redmine-3.0.3/config/environment.rb:14:in <top (required)>' /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in
require'
/var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in block in require' /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in
load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in require' /var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:328:in
require_environment!'
/var/lib/gems/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:457:in block in run_tasks_blocks' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in
call'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in block in execute' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in
each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in execute' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in
block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in
invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:201:in block in invoke_prerequisites' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in
each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in invoke_prerequisites' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:178:in
block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in
invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in invoke' /opt/redmine/redmine-3.0.3/lib/tasks/redmine.rake:52:in
block (2 levels) in <top (required)>'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in call' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in
block in execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in each' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in
execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in block in invoke_with_call_chain' /usr/lib/ruby/2.1.0/monitor.rb:211:in
mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in
invoke'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in invoke_task' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in
block (2 levels) in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in each' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in
block in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in run_with_threads' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in
top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in block in run' /var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in
standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in run' /var/lib/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in
<top (required)>'
/usr/local/bin/rake:23:in load' /usr/local/bin/rake:23:in
Are observers still in Ruby?
Hi,
Thanks for the wonderful plugin. I wish if it is having attendance management like punch in and punch out also along with this leave management, it would become an ultimate and fantastic HRM plugin.
Br
Dileep
Redmine 3.3.2
Rails 4.2.7.1
ruby 2.3.1p112
Tried:
rake redmine:plugins NAME=systango_hrm
Result:
NoMethodError: undefined method `observers' for ActiveRecord::Base:Class
/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465:
warning: key "inodot" is duplicated and overwritten on line 466
rake aborted!
NoMethodError: undefined methodobservers' for ActiveRecord::Base:Class <home>/redmine-3.3.2/plugins/systango_hrm/init.rb:13:in
block in <top (required)>'
/redmine-3.3.2/lib/redmine/plugin.rb:75:ininstance_eval' <home>/redmine-3.3.2/lib/redmine/plugin.rb:75:in
register'
/redmine-3.3.2/plugins/systango_hrm/init.rb:6:in<top (required)>' <home>/redmine-3.3.2/lib/redmine/plugin.rb:155:in
block in load'
/redmine-3.3.2/lib/redmine/plugin.rb:146:ineach' <home>/redmine-3.3.2/lib/redmine/plugin.rb:146:in
load'
/redmine-3.3.2/config/initializers/30-redmine.rb:21:in<top (required)>' <home>/redmine-3.3.2/config/environment.rb:14:in
<top (required)>'
/redmine-3.3.2/lib/tasks/redmine.rake:52:in `block (2 levels) in <top (required)>'
Hello
we're testing the HRM internally and wanted to translate them to german.
The Translation works, i can translate the buttons to "Akzeptieren" and "Ablehnen", that however breaks functionality as the value of the button determines the state set (which won't work for other values then 'Approve' and 'Unapprove')
As a workaround i changed the buttons from input type=submit to this:
<button type="submit" name="unapprove" value="Approve">Annehmen</button>
as it lets me set a different value then the caption of the button.
because not all users should use this plugin
undefined method `user_has_any_systango_hrm_permission?' for #<#Class:0x000000067343c0:0x0000000673eb18>
/var/redmine/plugins/systango_hrm/app/views/systango_hrm_employee_leaves/_hr_hook.html.erb:1:in '_plugins_systango_hrm_app_views_systango_hrm_employee_leaves__hr_hook_html_erb__2768449078225738068_61238340' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/template.rb:145:in 'block in render' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in 'instrument' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/template.rb:333:in 'instrument' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/template.rb:143:in 'render' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:339:in 'render_partial' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:310:in 'block in render' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in 'block in instrument' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in 'block in instrument' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in 'instrument' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in 'instrument' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in 'instrument' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:309:in 'render' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:47:in 'render_partial' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:21:in 'render' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/helpers/rendering_helper.rb:32:in 'render' /var/lib/gems/2.1.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in 'render_with_haml' /var/redmine/plugins/redmine_workflow_enhancements/lib/workflow_enhancements/patches/action_view_rendering.rb:53:in 'render_with_workflow_enhancements' /var/redmine/lib/redmine/hook.rb:119:in 'block (2 levels) in render_on' /var/redmine/lib/redmine/hook.rb:117:in 'map' /var/redmine/lib/redmine/hook.rb:117:in 'block in render_on' /var/redmine/lib/redmine/hook.rb:61:in 'block (2 levels) in call_hook' /var/redmine/lib/redmine/hook.rb:61:in 'each' /var/redmine/lib/redmine/hook.rb:61:in 'block in call_hook' /var/redmine/lib/redmine/hook.rb:58:in 'tap' /var/redmine/lib/redmine/hook.rb:58:in 'call_hook' /var/redmine/lib/redmine/hook.rb:167:in 'call_hook' /var/redmine/app/views/welcome/index.html.erb:14:in '_app_views_welcome_index_html_erb___1343454997934276252_54589780' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/template.rb:145:in 'block in render' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in 'instrument' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/template.rb:333:in 'instrument' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/template.rb:143:in 'render' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:54:in 'block (2 levels) in render_template' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in 'block in instrument' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in 'block in instrument' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in 'instrument' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in 'instrument' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in 'instrument' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:53:in 'block in render_template' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:61:in 'render_with_layout' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:52:in 'render_template' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:14:in 'render' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:42:in 'render_template' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:23:in 'render' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:100:in '_render_template' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/streaming.rb:217:in '_render_template' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:83:in 'render_to_body' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:32:in 'render_to_body' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/renderers.rb:37:in 'render_to_body' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/abstract_controller/rendering.rb:25:in 'render' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:16:in 'render' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:44:in 'block (2 levels) in render' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/core_ext/benchmark.rb:12:in 'block in ms' /usr/lib/ruby/2.1.0/benchmark.rb:294:in 'realtime' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/core_ext/benchmark.rb:12:in 'ms' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:44:in 'block in render' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:87:in 'cleanup_view_runtime' /var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:25:in 'cleanup_view_runtime' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:43:in 'render' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:10:in 'default_render' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:5:in 'send_action' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in 'process_action' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in 'process_action' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in 'block in process_action' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in 'block (2 levels) in compile' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in 'block (2 levels) in around' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:298:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:298:in 'block in halting_and_conditional' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in 'block in around' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in 'block (2 levels) in around' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:313:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:313:in 'block (2 levels) in halting' /var/redmine/lib/redmine/sudo_mode.rb:63:in 'sudo_mode' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:432:in 'block in make_lambda' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:312:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:312:in 'block in halting' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in 'block in around' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in '__run_callbacks__' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in '_run_process_action_callbacks' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in 'run_callbacks' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in 'process_action' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in 'process_action' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in 'block in process_action' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in 'block in instrument' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in 'instrument' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in 'instrument' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in 'process_action' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in 'process_action' /var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in 'process_action' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in 'process' /var/lib/gems/2.1.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in 'process' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in 'dispatch' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in 'dispatch' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in 'block in action' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in 'dispatch' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in 'serve' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in 'block in serve' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in 'each' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in 'serve' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in 'call' /var/lib/gems/2.1.0/gems/rack-raw-upload-1.1.1/lib/rack/raw_upload.rb:18:in 'call' /var/lib/gems/2.1.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in 'call!' /var/lib/gems/2.1.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in 'call' /var/lib/gems/2.1.0/gems/omniauth-1.2.2/lib/omniauth/builder.rb:59:in 'call' /var/lib/gems/2.1.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in 'call' /var/lib/gems/2.1.0/gems/request_store-1.0.5/lib/request_store/middleware.rb:9:in 'call' /var/lib/gems/2.1.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in 'call' /var/lib/gems/2.1.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in 'call' /var/lib/gems/2.1.0/gems/rack-1.6.4/lib/rack/head.rb:13:in 'call' /var/lib/gems/2.1.0/gems/actionpack-xml_parser-1.0.2/lib/action_dispatch/xml_params_parser.rb:16:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in 'call' /var/lib/gems/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in 'context' /var/lib/gems/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in 'call' /var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in 'call' /var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in 'block in call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in '__run_callbacks__' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in '_run_call_callbacks' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in 'run_callbacks' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in 'call' /var/lib/gems/2.1.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in 'call_app' /var/lib/gems/2.1.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in 'block in call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in 'block in tagged' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in 'tagged' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in 'tagged' /var/lib/gems/2.1.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in 'call' /var/lib/gems/2.1.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in 'call' /var/lib/gems/2.1.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in 'call' /var/lib/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in 'call' /var/lib/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/static.rb:116:in 'call' /var/lib/gems/2.1.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in 'call' /var/lib/gems/2.1.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in 'call' /var/lib/gems/2.1.0/gems/railties-4.2.4/lib/rails/application.rb:165:in 'call' /var/lib/gems/2.1.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in 'public_send' /var/lib/gems/2.1.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in 'method_missing' /var/lib/gems/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:580:in 'process_client' /var/lib/gems/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674:in 'worker_loop' /var/lib/gems/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529:in 'spawn_missing_workers' /var/lib/gems/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:140:in 'start' /var/lib/gems/2.1.0/gems/unicorn-4.9.0/bin/unicorn_rails:209:in '<top (required)>' /usr/local/bin/unicorn_rails:23:in 'load' /usr/local/bin/unicorn_rails:23:in '<main>'
when run : rake redmine:plugins NAME=systango_hrm RAILS_ENV=production --trace
error occur as following:
rake aborted! /var/www/redmine/plugins/systango_hrm/lib/tasks/rake_tasks.rake:15: syntax error, unexpected ':', expecting ')' ...pdate_attributes(leaves_taken: total_leave) rescue nil) ^ /var/www/redmine/plugins/systango_hrm/lib/tasks/rake_tasks.rake:15: syntax error, unexpected ')', expecting kEND /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load' /var/www/redmine/lib/tasks/redmine.rake:126 /var/www/redmine/lib/tasks/redmine.rake:126:in `each' /var/www/redmine/lib/tasks/redmine.rake:126 /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load' /usr/local/lib/ruby/gems/1.8/gems/railties-3.2.13/lib/rails/engine.rb:425:in `load_tasks' /usr/local/lib/ruby/gems/1.8/gems/railties-3.2.13/lib/rails/engine.rb:425:in `each' /usr/local/lib/ruby/gems/1.8/gems/railties-3.2.13/lib/rails/engine.rb:425:in `load_tasks' /usr/local/lib/ruby/gems/1.8/gems/railties-3.2.13/lib/rails/application.rb:145:in `load_tasks' /usr/local/lib/ruby/gems/1.8/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `send' /usr/local/lib/ruby/gems/1.8/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing' /var/www/redmine/Rakefile:7 /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in `load' /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in `load_rakefile' /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:589:in `raw_load_rakefile' /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:89:in `load_rakefile' /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:88:in `load_rakefile' /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:72:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:70:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-10.0.4/bin/rake:33 /usr/local/bin/rake:19:in `load' /usr/local/bin/rake:19
Hi,
Appreciate if it is updated to work on 4.1 version.
When I am trying to install your plugin it keeps on giving the error that Money Gem is not installed. I have installed the same yet, the error keeps coming
root@redmine:/home/redmine/redmine/plugins/systango_hrm# rake redmine:plugins NAME=systango_hrm RAILS_ENV=production
(in /home/redmine/redmine)
Could not find gem 'money (~> 5.1.0) ruby' in the gems available on this machine.
Run bundle install
to install missing gems.
Hi,
I have an error when click
Apply leaves here and Manage leaves
500
Oops! You've found our error page
An error occurred on the page you were trying to access, a message has been sent to Redmine administrator. If you continue to experience problems please contact your Redmine administrator for assistance.
Environment:
Redmine version 2.3.4.stable.13139
Ruby version 2.0.0-p481 (2014-05-08) [x86_64-linux]
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
contracts 1.2.0
recurring_tasks 1.3.0
redmine_admin_monitor 1.0.0
redmine_ckeditor 1.0.16
redmine_close_button 0.0.8
redmine_contacts 3.4.1
redmine_custom_css 0.1.4
redmine_daily_status 0.0.1
redmine_dashboard 2.2.2
redmine_default_assign 0.4
redmine_dmsf 1.4.9 stable
redmine_favorite_projects 1.0.1
redmine_graphs 0.1.0
redmine_importer 1.2.2
redmine_issue_checklist 2.0.5
redmine_issue_favicon 0.0.1
redmine_lightbox 0.0.1
redmine_login_audit 0.1.5
redmine_meeting_room_calendar 2.1.3
redmine_monitoring_controlling 0.1.1
redmine_my_roadmaps 0.1.13_redmine2.3
redmine_pipeline_plugin 2.0.0
redmine_questions 0.0.5
redmine_release_notes 1.3.1
redmine_smart_issues_sort 0.3.1
redmine_spent_time 2.6.5
redmine_spent_time_required 0.0.1
redmine_timesheet_plugin 0.7.0
redmine_update_reminder 1.0.1
redmine_wice_grid 0.1.0
redmine_workload 1.0.2
redmine_xls_export 0.2.1.t6
redmine_zenedit 0.0.2
systango_hrm 1.0.1
timelog_timer 2.0.0
Could it support Redmine 3.3.X? thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.