Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea for an alternative or a method for Redmine 4.0.x? #6

Open
dermitdemwolf opened this issue May 20, 2019 · 14 comments
Open

Idea for an alternative or a method for Redmine 4.0.x? #6

dermitdemwolf opened this issue May 20, 2019 · 14 comments

Comments

@dermitdemwolf
Copy link

Hi, has anybody an idea for a method to integrate Redcase into Redmine 4.0.x?
Or maybe for a free alternative?

Thx!

@SpencerBriereWEQ
Copy link

Were you able to find anything?

@dermitdemwolf
Copy link
Author

Yes, we managed it to adapt it. If the developer wants, I can upload the new version.

@possebon
Copy link

Yes, we managed it to adapt it. If the developer wants, I can upload the new version.

I need this for Redmine 4.0 too. Could you please share it? Create a new Pull Request or Fork the original repo and commit your code there.

@roykssopp
Copy link

Yes, we managed it to adapt it. If the developer wants, I can upload the new version.

Can You share the solution?

@dermitdemwolf
Copy link
Author

https://github.com/dermitdemwolf/redcase-redmine-4.0.x.git

@roykssopp
Copy link

https://github.com/dermitdemwolf/redcase-redmine-4.0.x.git

Could You provide a version of Redmine which You use? I have a problem with 4.0.7 in "uninitialized constant RedcaseController"

@dermitdemwolf
Copy link
Author

dermitdemwolf commented Jul 9, 2020 via email

@sweihub
Copy link

sweihub commented Dec 30, 2020

https://github.com/dermitdemwolf/redcase-redmine-4.0.x.git

Thanks, it works with redmine v4.1.1 with the fixes

diff --git a/app/controllers/redcase/environments_controller.rb b/app/controllers/redcase/environments_controller.rb
index 8b97c5f..11b32bc 100644
--- a/app/controllers/redcase/environments_controller.rb
+++ b/app/controllers/redcase/environments_controller.rb
@@ -16,6 +16,7 @@ class Redcase::EnvironmentsController < ApplicationController
        end

        def create
+                params.permit!
                environment = ExecutionEnvironment.new(params[:execution_environment])
                environment.project_id = @project.id
                environment.save
@@ -23,6 +24,7 @@ class Redcase::EnvironmentsController < ApplicationController
        end

        def update
+                params.permit!
                environment = ExecutionEnvironment.find(params[:id])
                environment.update_attributes params[:execution_environment]
                if params[:execution_environment][:project_id]
@@ -34,6 +36,7 @@ class Redcase::EnvironmentsController < ApplicationController
        end

        def destroy
+                params.permit!
                environment = ExecutionEnvironment.find(params[:id])
                environment.destroy
                # TODO: Properly handle the case when this fails.

Which solve the issue of ActiveModel::ForbiddenAttributesError
see: https://api.rubyonrails.org/classes/ActiveModel/ForbiddenAttributesError.html

@NicolasToussaint
Copy link

Hi,
I want to test Redcase on a fresh install of Redmine.

If @dermitdemwolf 's version works with Redmine 4+, maybe the changes could be merged here so as to advertise that the plugin is compatible with the most recent version of Redmine (today is says: Compatible with: Redmine 3.1.x, 3.0.x) ?

@Thibaut69
Copy link

I've forked the project, added the fix for environments_controller.rb and give some details in the README (Français and English) based on my experience with Redmine 4.2.0

Release :
https://github.com/Thibaut69/redcase-redmine-4.0.x/releases/tag/1.0

@ruslaan7
Copy link

Hi,
I want to install Redcase plugin on a fresh install of Redmine (5 version). Have you tried to update this plugin to that version?
Thanks.

@Thibaut69
Copy link

Thibaut69 commented Aug 11, 2022 via email

@mahesh-novotrax
Copy link

mahesh-novotrax commented Mar 14, 2023

Does anyone try installing this for Redmine 5?

@Av3ngard
Copy link

Hi,
Has anyone installed the plugin on the latest version of Redmine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

10 participants