Skip to content

Deploy stages/rc-2017-09-04-patch-1 to prod#1658

Merged
zachmargolis merged 95 commits intostages/prodfrom
stages/rc-2017-09-04-patch-1
Sep 5, 2017
Merged

Deploy stages/rc-2017-09-04-patch-1 to prod#1658
zachmargolis merged 95 commits intostages/prodfrom
stages/rc-2017-09-04-patch-1

Conversation

@zachmargolis
Copy link
Contributor

@zachmargolis zachmargolis commented Sep 5, 2017

RC 38

monfresh and others added 30 commits August 4, 2017 15:53
**Why**: It's a best practice to define the host for assets and URLs,
just like we do for mailers.
**Why**:
To provide a smooth experience when trying to log out. The spec
states that:
> Previously issued ID Token passed to the logout endpoint
> as a hint about the End-User's current authenticated session
> with the Client.
which we can interpret as "allows expired tokens" as well.
**Why**: Consistent code is happy code.
Update OIDC Logout to work with expired id_tokens
**Why**: We want to be able to test that code to limit the number of idv
attempts works for both the OIDC and SAML flows.

Note that the specs that require Javascript are included in a new
feature spec file, since the code to send a request from a SP does not
work with JS enabled.
Move tests for max idv attempts to shared example
monfresh and others added 25 commits August 15, 2017 15:51
**Why**: To pick up the Rails 5 deprecation fix for the use of
`render nothing: true`.
Fix leftover deprecation warnings in spec
Update saml_idp from 0.4.1-18f to 0.4.2-18f
**Why**: So that users can't use an expired mail OTP to verify an
identity.
Add validation error when mail OTP is expired
**Why**: The spec appeared to have intermittent failures when clicking
the "Try a different phone" link. It looks like the spec was checking
the current path before the page had finished loading. This commit
changes the spec so it looks for the phone input before checking the
current path. The phone input line will wait for the phone input to
appear meaning the page will have to have loaded and the current_path
value will be correct.
**Why**: Provide feedback (usually for developers)
**Why**: The gem hasn't been maintained in over a year, and
we were only using a small portion of it (limiting session concurrency),
which I've extracted into an initializer.

The gem was preventing us from upgrading to Rails 5.1 due to the
use of a deprecated method in part of the code we weren't even using.
Add an error page for bad SAML requests
Remove dependency on devise_security_extension
**Why**: To pick up a change that allows the IdP app to be updated to
Rails 5.1
**Why**: To have the latest and greatest

**How**:
- Per the Rails docs, we have to create ApplicationRecord in models,
then make all of our models inherit from it.
- Per the Rails docs, we have to create ApplicationJob in jobs,
then make all of our jobs inherit from it.
- Rename `email_changed?` to `will_save_change_to_email?` and
`email_was` to `email_in_database` since the ActiveModel::Dirty API has
changed.
- Remove redundant CORS OPTIONS test
Update redis session store and Rails to latest versions
**Why**: To fix rendering in browsers
Import stylesheets from style-guide
**Why**: To stop using before_action method in controllers
**Why**: Error in production due to "request.protocol" being nil,
using the asset_url helper in the view should provide access to the request
@zachmargolis zachmargolis self-assigned this Sep 5, 2017
@zachmargolis zachmargolis merged commit fe5b4da into stages/prod Sep 5, 2017
@mitchellhenke mitchellhenke deleted the stages/rc-2017-09-04-patch-1 branch December 28, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants