Project

General

Profile

Sending Mail Configuration plugin v0,0,1

Added by GOYELLO IT Services over 15 years ago

If anyone felt annoyed because of the constant Redmine mail notification (even if you’re not doing anything i.e. only reported an issue a long time ago) then I think we have a nice solution to your pain. We have created a simple fix for Redmine mail notification. Unfortunately, it will need to patch Redmine core files, but only to be able to place some hooks in them. We hope that after some time the patch won’t be necessary (if Redmine team adds needed hooks to the source code http://www.redmine.org/issues/3616)

The path can be downloaded form github : http://github.com/GOYELLO/Redmine_Mail_Configuration_plugin/tree/master

And how it works you can find pretty well described here: http://blog.goyello.com/2009/07/16/redmine-%E2%80%93-how-to-limit-the-amount-of-notification-emails/


Replies (2)

RE: Sending Mail Configuration plugin v0,0,1 - Added by Axel B. over 15 years ago

Hi,

first of all thanks for the plugin - it's definitely needed ... espicially to prevent email spamming during vacation periods.

But I don't like patches, because after every Update of Redmine, you have to patch the system again, which becomes really annoying if there is more than one patch to customize your Redmine. So I decided to rewrite your plugin a bit, that no core patch is necessary anymore.

I also added German language files.

Please have a look at it - you may merge into your trunk at github.

Greetings

RE: Sending Mail Configuration plugin v0,0,1 - Added by Giuseppe Mazzotta about 15 years ago

Axel B. wrote:

Please have a look at it - you may merge into your trunk at github.

Greetings

It doesn't work... :(

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- application (MissingSourceFile)
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:158:in `require'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:265:in `require_or_load'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:224:in `depend_on'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:136:in `require_dependency'
    from /home/redmine/redmine-src/vendor/plugins/redmine_mail_configurator/lib/mail_configurator_my_controller_patch.rb:1
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:158:in `require'
    from /home/redmine/redmine-src/vendor/plugins/redmine_mail_configurator/init.rb:5:in `evaluate_init_rb'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/plugin.rb:158:in `evaluate_init_rb'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/plugin.rb:154:in `evaluate_init_rb'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/plugin.rb:48:in `load'
    from /home/redmine/redmine-src/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in `load'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/plugin/loader.rb:38:in `load_plugins'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/plugin/loader.rb:37:in `each'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/plugin/loader.rb:37:in `load_plugins'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:369:in `load_plugins'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:165:in `process'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `send'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `run'
    from /home/redmine/redmine-src/config/environment.rb:20
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:156:in `require'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in `new_constants_in'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:156:in `require'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:84
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /home/redmine/redmine-src/script/server:3
    (1-2/2)