-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Rails 5.1 upgrade #2798
Rails 5.1 upgrade #2798
Conversation
815291b
to
19dc939
Compare
Generated by 🚫 Danger |
bc117ce
to
5d64e50
Compare
Hi @jywarren, I am currently stuck on this error with OpenID: |
Hmm, the error leads to
Maybe a clue here: http://edgeapi.rubyonrails.org/classes/ActionController/Parameters.html I might try to look for errors with and in general it looks like it's expecting an array or a string, but getting a Parameters object, which has no |
Thanks for the hints @jywarren, I am now trying to remove this error. |
Open_id authentication is now working fine. |
awesome!
…On Wed, Jun 20, 2018 at 1:04 PM Sourav Sahoo ***@***.***> wrote:
Open_id authentication is now working fine.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2798 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ1z_IYTC_fKLOkaJEL8id8T1q_SPks5t-oCFgaJpZM4Ug4Uy>
.
|
Ooh wow! A bit easier than last one, huh? 😄 |
Yeah this was quite easy 😄 |
Shall we merge it then? :-) |
@publiclab/reviewers can someone else look through this? I'd like to merge and publish tomorrow but want to be sure. Thanks! |
Were you able to test it with the docs in https://github.com/publiclab/plots2/blob/master/doc/OPENID.md ? |
Yeah we can merge it. Yeah I tested the open id authentication as is written in this link https://github.com/publiclab/plots2/blob/master/doc/OPENID.md and it's working fine. Thank you !! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work 👍 !
THANK YOU @Souravirus and @sagarpreet-chadha !!! |
This is now live! |
'openid.trust_root', | ||
'openid.id_select', | ||
'openid.immediate', | ||
'openid.cancel_url').to_h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw i think you should put this in a before_action
, and make a method to return permitted_params
but make it private. @Souravirus
PS: sorry for late review. busy.
* Gemfile change for upgrade to rails 5.1 * Downgraded rails to 5.1.5 * Removed errors related to passing parameters * converted the ActionController::Parameters into hash in openid_controller * Added some more openid params * modified all render text to render plain * Added identation in openid_controller * Fixed codeclimate issues * Removed all deprecation warnings
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
fixes #0000
-style reference to original issue #@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays.
Thanks!