redmine_email_fetcher icon indicating copy to clipboard operation
redmine_email_fetcher copied to clipboard

Redmine 4.0+ compatible

Open ghost opened this issue 5 years ago • 4 comments

Hello ! there were some compatibility issues with redmine 3.4.x but some research can help to resolve (like modifying the Gemfile, with "rails-observer") But now this is more complicated because of attr_accessible is deprecated with Rails 5 so it build but it finished with 500 error when restarting the service.

for attr_accessible trouble, I've srap it in the model and create a def: def permitted_params params.require(:user).permit( :configuration_type, :host, :port, :ssl, :username, :password, :folder, :move_on_failure, :move_on_success, :dele$ end

Just after unloadable in the email_configurations_controler.rb, it work for me, hope it'll help...

ghost avatar May 22 '20 13:05 ghost

Hi @Reivax851 ,

I just read your issue for redmine 4.0. Did you push the modified plugin somewhere (pull request, fork, separated repository) ? Do you know if the patch works with redmine 4.1? (4.0+ is 4.0.x or 4.x ?)

kouinkouin avatar Feb 28 '21 19:02 kouinkouin

I just found the repo https://github.com/octoquad/redmine_email_fetcher, which support redmine 4.0 (and 4.1) :-) .

kouinkouin avatar Feb 28 '21 21:02 kouinkouin

Hello, sorry for late, no I've not push this modification. Thanks for the link !

ghost avatar Apr 13 '21 06:04 ghost

I just found the repo https://github.com/octoquad/redmine_email_fetcher, which support redmine 4.0 (and 4.1) :-) .

For those this is not working for any reasons (for me it failed bc of rubocop gem, then I gave up), mine seems to work: https://github.com/semirke/redmine_email_fetcher

semirke avatar Dec 13 '23 23:12 semirke