-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refractor/tomato to sofia #947
Conversation
@@ -12,7 +12,7 @@ class AmberOauth2 < OmniAuth::Strategies::OAuth2 | |||
|
|||
def authorize_params | |||
params = super | |||
params[:scope] = 'public tomato' | |||
params[:scope] = 'public tomato sofia' |
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.
is it necessary to keep tomato here? just asking, I genuinely don't know
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.
make sure to test this thoroughly on staging
for the future we could look into different credentials files so that the server credentails are never present on somebodys laptop, this is a new feature in rails 6
I agree this would be nice, but it's not on the top of the list of things we should fix. But you can add it as an issue. Also make sure to mention in the issue that this probably means we should take extra care that we have a backup of these credentials somewhere.
remove tomato paramater
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## staging #947 +/- ##
==========================================
Coverage ? 52.37%
==========================================
Files ? 55
Lines ? 1178
Branches ? 0
==========================================
Hits ? 617
Misses ? 561
Partials ? 0 ☔ View full report in Codecov by Sentry. |
* chore(deps): update dependency paranoia to v3 (#931) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Edited the env file (#944) * edited the env file * changed company name to UTF-8 * chore(deps): update dependency puma to '~> 6.4.0' [security] (#935) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/delete-package-versions action to v5 (#906) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency rails to v7.0.8.1 [security] (#918) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update docker/build-push-action action to v6 (#928) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update docker/login-action action to v3 (#886) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(tests): add code coverage reporting (#891) * feat(tests): add code coverage reporting * fix: correct coverage path * refactor: use simplecov-lcov * fix: indentation in Gemfile.lock * fix: remove test filters * feat(README): add badge * refactor: try tokenless report uploading * chore: update codecov-action * chore: update codecov-action * fix(cd): pass CODECOV_TOKEN To ci * Revert "chore(deps): update docker/login-action action to v3 (#886)" (#951) This reverts commit d546681. due to CI failure * chore(deps): update codecov/codecov-action action to v5 (#950) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency puma to v6.4.3 [security] (#948) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/upload-artifact action to v4 (#949) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Refractor/tomato to sofia (#947) * Intial commit * updated apliction.rb * Fixed mistake in credentials * Made it so the file is backwards compatiable * Fixed a typo * Update amber_oauth2.rb remove tomato paramater * Remove development title lux ad mosam (#946) * intial commit * Fix typo * update tomato to sofia * updated with suggestion --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: lodewiges <[email protected]> Co-authored-by: Guido de Jong <[email protected]>
manual command on the server are needed but not required
Replace tomato with sofia so the files would be clearer
Removed mailgun credentials for credentials.enc
Also updated the link with sofia in credentials.enc dude to recent db:replant on staging
for the future we could look into different credentials files so that the server credentails are never present on somebodys laptop, this is a new feature in rails 6
https://www.rubyinrails.com/2019/04/04/rails-6-supports-multi-environment-credentials/
fixes #942
Please check the credentials file locally