Coder Social home page Coder Social logo

redmine_base_deface's Introduction

Redmine base_deface plugin

Integrate with the deface gem to manage view modifications in plugins

Installation

This plugin is compatible with Redmine 2.1.0+.

Please apply general instructions for plugins here.

First download the source or clone the plugin and put it in the "plugins/" directory of your redmine instance. Note that this is crucial that the directory is named redmine_base_deface !

Then execute from redmine root directory:

$ bundle install
$ rake redmine:plugins

And finally restart your Redmine instance.

Test status

Plugin branch Redmine Version Test Status
master 5.1.2 5.1.2
master 4.2.11 4.2.11
master master master

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

This project is released under the MIT license, see LICENSE file.

redmine_base_deface's People

Contributors

jbbarth avatar maxrossello avatar nanego avatar tofi86 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

Watchers

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

redmine_base_deface's Issues

On 5.1.2 rake redmine:plugins fails (plugin still useable by others)

I installed redmine_base_deface as a requirement for redmine_better_overview, the setup has two parts the bundle install that works without issues (adding deface and other gems)

And then the rake redmine:plugins that fails with an error (similar to others in the issues)

rake redmine:plugins

rake aborted!
LoadError: cannot load such file -- listen
/var/lib/gems/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /var/lib/gems/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'
/var/lib/gems/3.0.0/gems/zeitwerk-2.6.16/lib/zeitwerk/kernel.rb:34:in require' /var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in block in require'
/var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in load_dependency' /var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in require'
/var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/evented_file_update_checker.rb:6:in <top (required)>' /var/lib/gems/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'
/var/lib/gems/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /var/lib/gems/3.0.0/gems/zeitwerk-2.6.16/lib/zeitwerk/kernel.rb:34:in require'
/var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in block in require' /var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in load_dependency'
/var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in require' /var/www/redmine/config/environments/development.rb:58:in block in <top (required)>'
/var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/railtie.rb:234:in instance_eval' /var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/railtie.rb:234:in configure'
/var/www/redmine/config/environments/development.rb:5:in <top (required)>' /var/lib/gems/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'
/var/lib/gems/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /var/lib/gems/3.0.0/gems/zeitwerk-2.6.16/lib/zeitwerk/kernel.rb:34:in require'
/var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in block in require' /var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in load_dependency'
/var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in require' /var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/engine.rb:571:in block (2 levels) in class:Engine'
/var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/engine.rb:570:in each' /var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/engine.rb:570:in block in class:Engine'
/var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in instance_exec' /var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in run'
/var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/initializable.rb:61:in block in run_initializers' /var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/initializable.rb:50:in each'
/var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/initializable.rb:50:in tsort_each_child' /var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/initializable.rb:60:in run_initializers'
/var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/application.rb:391:in initialize!' /var/www/redmine/config/environment.rb:16:in <top (required)>'
/var/lib/gems/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /var/lib/gems/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'
/var/lib/gems/3.0.0/gems/zeitwerk-2.6.16/lib/zeitwerk/kernel.rb:34:in require' /var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in block in require'
/var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in load_dependency' /var/lib/gems/3.0.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in require'
/var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/application.rb:367:in require_environment!' /var/lib/gems/3.0.0/gems/railties-6.1.7.8/lib/rails/application.rb:533:in block in run_tasks_blocks'
/var/www/redmine/lib/tasks/redmine.rake:73:in block (2 levels) in <top (required)>' /var/lib/gems/3.0.0/gems/rake-13.2.1/exe/rake:27:in <top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

It seems that redmine_better_overview doesn't need the second part so it works for me but still something is not properly installed.

Installation Error

Hello,
i want to install this Plugin but it gets an error:
** 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 =~' for #<Pathname:0x000000051b0b48> /srv/redmine/.rvm/gems/ruby-2.1.4/gems/deface-1.0.2/lib/deface/railtie.rb:50:inblock (3 levels) in class:Railtie'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/deface-1.0.2/lib/deface/railtie.rb:50:in reject!' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/deface-1.0.2/lib/deface/railtie.rb:50:inblock (2 levels) in class:Railtie'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/deface-1.0.2/lib/deface/railtie.rb:48:in each' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/deface-1.0.2/lib/deface/railtie.rb:48:inblock in class:Railtie'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:30:in instance_exec' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:30:inrun'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:55:in block in run_initializers' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:226:inblock in tsort_each'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:418:inblock (2 levels) in each_strongly_connected_component_from'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:418:in block (2 levels) in each_strongly_connected_component_from' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:418:inblock (2 levels) in each_strongly_connected_component_from'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:418:in block (2 levels) in each_strongly_connected_component_from' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:418:inblock (2 levels) in each_strongly_connected_component_from'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:418:in block (2 levels) in each_strongly_connected_component_from' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:418:inblock (2 levels) in each_strongly_connected_component_from'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:427:in each_strongly_connected_component_from' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:417:inblock in each_strongly_connected_component_from'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:in each' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:intsort_each_child'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:in call' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:ineach_strongly_connected_component_from'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:417:in block in each_strongly_connected_component_from' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:ineach'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:in tsort_each_child' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:incall'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:in each_strongly_connected_component_from' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:417:inblock in each_strongly_connected_component_from'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:in each' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:intsort_each_child'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:in call' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:ineach_strongly_connected_component_from'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:417:in block in each_strongly_connected_component_from' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:ineach'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:in tsort_each_child' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:incall'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:in each_strongly_connected_component_from' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:417:inblock in each_strongly_connected_component_from'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:in each' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:intsort_each_child'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:in call' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:ineach_strongly_connected_component_from'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:417:in block in each_strongly_connected_component_from' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:ineach'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:in tsort_each_child' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:incall'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:in each_strongly_connected_component_from' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:417:inblock in each_strongly_connected_component_from'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:in each' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:44:intsort_each_child'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:in call' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:ineach_strongly_connected_component_from'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:347:in block in each_strongly_connected_component' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:345:ineach'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:345:in call' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:345:ineach_strongly_connected_component'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:224:in tsort_each' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:205:intsort_each'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/initializable.rb:54:in run_initializers' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/application.rb:352:ininitialize!'
/srv/redmine/redmine-3.2.0/config/environment.rb:14:in <top (required)>' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:inblock in require'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in load_dependency' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:inrequire'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/application.rb:328:in require_environment!' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/railties-4.2.5/lib/rails/application.rb:457:inblock in run_tasks_blocks'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:240:in call' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:240:inblock in execute'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:235:in each' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:235:inexecute'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:179:in block in invoke_with_call_chain' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/monitor.rb:211:inmon_synchronize'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:201:inblock in invoke_prerequisites'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:199:in each' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:199:ininvoke_prerequisites'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:178:in block in invoke_with_call_chain' /srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/monitor.rb:211:inmon_synchronize'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:165:ininvoke'
/srv/redmine/redmine-3.2.0/lib/tasks/redmine.rake:52:in block (2 levels) in <top (required)>' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:240:incall'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:240:in block in execute' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:235:ineach'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:235:in execute' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:179:inblock in invoke_with_call_chain'
/srv/redmine/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:172:ininvoke_with_call_chain'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/task.rb:165:in invoke' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/application.rb:150:ininvoke_task'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/application.rb:106:in block (2 levels) in top_level' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/application.rb:106:ineach'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/application.rb:106:in block in top_level' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/application.rb:115:inrun_with_threads'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/application.rb:100:in top_level' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/application.rb:78:inblock in run'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/application.rb:176:in standard_exception_handling' /srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/lib/rake/application.rb:75:inrun'
/srv/redmine/.rvm/gems/ruby-2.1.4/gems/rake-10.4.2/bin/rake:33:in <top (required)>' /srv/redmine/.rvm/gems/ruby-2.1.4/bin/rake:23:inload'
/srv/redmine/.rvm/gems/ruby-2.1.4/bin/rake:23:in <main>' /srv/redmine/.rvm/gems/ruby-2.1.4/bin/ruby_executable_hooks:15:ineval'
/srv/redmine/.rvm/gems/ruby-2.1.4/bin/ruby_executable_hooks:15:in `

'
Tasks: TOP => redmine:plugins:migrate => environment

i have ruby 2.1, rails: 4.2 and redmine.3.2.0

please can u help me to fix this error

thanks

plexa16

install failed,You have requested: deface = 1.6.2

You have requested:
deface = 1.6.2

The bundle currently has deface locked at 1.9.0.
Try running bundle update deface

If you are updating multiple gems in your Gemfile at once,
try passing them all to bundle update

Defaces not found until redmine:plugins:migrate is executed

I successfully installed the plugin redmine_base_deface and created a second one which defines an override for the virtual path admin/plugins. It uses the deface dsl so that I have a file called override-test.html.erb.deface under app/overrides/admin/plugins inside my plugin directory.

After I start redmine using bin/rails server both plugins show up in redmine but the deface changes do not. Then I execute bin/rake redmine:plugins:migrate, nothing happens as I have a fresh redmine and only these two plugins, and my deface changes are picked up.

My guess that this hasn't anything to do with migrations in particular. But what happens during the rake task that I need to execute it and only then the defaces are executed? Is there maybe any template caching applied during startup that I need to clear beforehand?

incompatibility with additionnals plugin

Try to migrate your plugin :
For the first rake migration, I change Gemfile
gem 'deface', '>= 1.1.0' to
gem 'deface', '>= 0'
because error with gem version
Then error on log trace here :
bash-4.2# rake redmine:plugins:migrate RAILS_ENV=production --trace
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!

additionals plugin cannot be used with redmine_base_deface plugin'.
/opt/bitnami/apps/redmine/htdocs/plugins/additionals/lib/additionals.rb:74:in block in incompatible_plugins' /opt/bitnami/apps/redmine/htdocs/plugins/additionals/lib/additionals.rb:73:in each'
/opt/bitnami/apps/redmine/htdocs/plugins/additionals/lib/additionals.rb:73:in incompatible_plugins' /opt/bitnami/apps/redmine/htdocs/plugins/additionals/lib/additionals.rb:7:in setup'
/opt/bitnami/apps/redmine/htdocs/plugins/additionals/init.rb:43:in block in <top (required)>' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:446:in instance_exec'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:446:in block in make_lambda' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:192:in block in simple'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:504:in block in call' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:504:in each'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:504:in call' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:92:in run_callbacks'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:778:in _run_prepare_callbacks' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:81:in run_callbacks'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/reloader.rb:83:in prepare!' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/reloader.rb:55:in prepare!'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/application/finisher.rb:50:in block in <module:Finisher>' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:30:in instance_exec'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:30:in run' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:55:in block in run_initializers'
/opt/bitnami/ruby/lib/ruby/2.3.0/tsort.rb:228:in block in tsort_each' /opt/bitnami/ruby/lib/ruby/2.3.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component'
/opt/bitnami/ruby/lib/ruby/2.3.0/tsort.rb:431:in each_strongly_connected_component_from' /opt/bitnami/ruby/lib/ruby/2.3.0/tsort.rb:349:in block in each_strongly_connected_component'
/opt/bitnami/ruby/lib/ruby/2.3.0/tsort.rb:347:in each' /opt/bitnami/ruby/lib/ruby/2.3.0/tsort.rb:347:in call'
/opt/bitnami/ruby/lib/ruby/2.3.0/tsort.rb:347:in each_strongly_connected_component' /opt/bitnami/ruby/lib/ruby/2.3.0/tsort.rb:226:in tsort_each'
/opt/bitnami/ruby/lib/ruby/2.3.0/tsort.rb:205:in tsort_each' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:54:in run_initializers'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:352:in initialize!' /opt/bitnami/apps/redmine/htdocs/config/environment.rb:14:in <top (required)>'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:328:in require_environment!' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:457:in block in run_tasks_blocks'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:251:in block in execute' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:251:in each'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:251:in execute' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:195:in block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:188:in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:217:in block in invoke_prerequisites' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:215:in each'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:215:in invoke_prerequisites' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:194:in block in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:188:in invoke_with_call_chain'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/task.rb:181:in invoke' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/application.rb:160:in invoke_task'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/application.rb:116:in block (2 levels) in top_level' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/application.rb:116:in each'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/application.rb:116:in block in top_level' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/application.rb:125:in run_with_threads'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/application.rb:110:in top_level' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/application.rb:83:in block in run'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/application.rb:186:in standard_exception_handling' /opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/lib/rake/application.rb:80:in run'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.2.1/exe/rake:27:in <top (required)>' /opt/bitnami/ruby/bin/rake:23:in load'
/opt/bitnami/ruby/bin/rake:23:in `

'
Tasks: TOP => redmine:plugins:migrate => environment
bash-4.2# exit
exit

config Redmine :Environment:
Redmine version 3.4.3.stable
Ruby version 2.3.5-p376 (2017-09-14) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.9.7
Git 2.14.1
Filesystem
Redmine plugins:
additionals 2.0.11
clipboard_image_paste 1.12
computed_custom_field 1.0.6
disable_activity 0.0.1
event_notifications 2.4.1
redmine_banner 0.1.2
redmine_ckeditor 1.1.5
redmine_custom_css 0.1.7
redmine_custom_reports 0.1.5
redmine_default_custom_query 1.3.0
redmine_drafts 0.2.0
redmine_email_notification_content_filter 0.0.2
redmine_issue_templates 0.1.8
redmine_knowledgebase 3.3.1
redmine_landing_page 0.1.1
redmine_logs 0.1.1
redmine_privacy_terms 1.0.0
redmine_tkgmap 0.1
redmine_workflow_enhancements 0.5.0

a error from your plugin or with additionals plugins ?
The goal is to use redmine_datetime_custom_field plugin

Regards,

RMPlus Custom_menu plugin conflict

hello,
I decided to try rm plus custom menu plugin. There is some conflict and top of site is damaged,
in error log there is:

^[[1;32mDeface: [ERROR]^[[0m The original source for 'add-maintenance-message-to-bodytop' has changed, this override should be reviewed to ensure it's still valid.
^[[1;32mDeface: [ERROR]^[[0m The original source for 'add-sudo-toggle-to-layout' has changed, this override should be reviewed to ensure it's still valid.

Error seems to come from base deface plugin (I'm using redmine_sudo too).

Both plugins works when only one is present.

Project overview shows wrong issue count

Hi,
I installed the plugin and it works pretty well.

While using it, I noticed that the project overview only shows issue count for main issues (issues created in the project). Issues from other projects are not taken in account.

Do you plan to fix this up ?
Thanks

Support for Redmine 5.x

Hello,
I'm trying to use this plugin with Redmine 5.x but I'm getting this error (using master)

Am I making something wrong?

Thank you!

/usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/callbacks.rb:25:in `on_file_autoloaded': expected file /usr/src/redmine/plugins/redmine_base_deface/lib/applicator_patch.rb to define constant ApplicatorPatch, but didn't (Zeitwerk::NameError)
      raise Zeitwerk::NameError.new("expected file #{file} to define constant #{cpath}, but didn't", cref.last)
      ^^^^^
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:28:in `require'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:95:in `const_get'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:95:in `cget'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:237:in `block (2 levels) in eager_load'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:26:in `block in ls'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:18:in `each_child'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:18:in `ls'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:232:in `block in eager_load'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:217:in `synchronize'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:217:in `eager_load'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:317:in `each'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:317:in `eager_load_all'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/application/finisher.rb:133:in `block in <module:Finisher>'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/initializable.rb:32:in `instance_exec'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/initializable.rb:32:in `run'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/initializable.rb:61:in `block in run_initializers'
     from /usr/local/lib/ruby/3.1.0/tsort.rb:228:in `block in tsort_each'
     from /usr/local/lib/ruby/3.1.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
     from /usr/local/lib/ruby/3.1.0/tsort.rb:431:in `each_strongly_connected_component_from'
     from /usr/local/lib/ruby/3.1.0/tsort.rb:349:in `block in each_strongly_connected_component'
     from /usr/local/lib/ruby/3.1.0/tsort.rb:347:in `each'
     from /usr/local/lib/ruby/3.1.0/tsort.rb:347:in `call'
     from /usr/local/lib/ruby/3.1.0/tsort.rb:347:in `each_strongly_connected_component'
     from /usr/local/lib/ruby/3.1.0/tsort.rb:226:in `tsort_each'
     from /usr/local/lib/ruby/3.1.0/tsort.rb:205:in `tsort_each'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/initializable.rb:60:in `run_initializers'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/application.rb:391:in `initialize!'
     from /usr/src/redmine/config/environment.rb:16:in `<top (required)>'
     from /usr/local/bundle/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
     from /usr/local/bundle/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
     from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
     from /usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require'
     from /usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency'
     from /usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require'
     from config.ru:3:in `block in <main>'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:312:in `block in start'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:379:in `handle_profiling'
     from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:311:in `start'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/commands/server/server_command.rb:39:in `start'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/commands/server/server_command.rb:144:in `block in perform'
     from <internal:kernel>:90:in `tap'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/commands/server/server_command.rb:135:in `perform'
     from /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
     from /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
     from /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/command/base.rb:69:in `perform'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/command.rb:48:in `invoke'
     from /usr/local/bundle/gems/railties-6.1.4.7/lib/rails/commands.rb:18:in `<top (required)>'
     from bin/rails:4:in `require'
     from bin/rails:4:in `<main>'
redmine exited with code 1

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.