Skip to content

Deploy RC 218 to Prod#7151

Merged
mdiarra3 merged 11 commits intostages/prodfrom
stages/rc-2022-10-17
Oct 17, 2022
Merged

Deploy RC 218 to Prod#7151
mdiarra3 merged 11 commits intostages/prodfrom
stages/rc-2022-10-17

Conversation

@mdiarra3
Copy link
Contributor

@mdiarra3 mdiarra3 commented Oct 17, 2022

Improvements

  • In-Person Proofing: Updates translations in french and spanish (7683 Update translations #7139) (#7139)
  • Service Provider Authentication: Update SAML Authentication Flow (#6894)
  • Upcoming Features: LG-7446 Create Inherited Proofing Cancellation Links and Process (#7124, #7144)

Internal

  • Analytics: Remove unused analytics events (#7142)
  • Analytics: Remove unused feature support in frontend logger (#7143)
  • Automated Testing: Improve reliability of feature specs (#7145)
  • Build Tooling: Remove redundant JavaScript optimization step (#7136)
  • Email: Ensure all UserMailer emails have matching User and EmailAddress parameters and plaintext emails are not used as parameters (#7106)
  • Identity Verification: Track the agency requesting identity verification. (#7125)

Upcoming Features

  • Logging: Stop writing extra registration_logs timestamps (#7131)

gangelo and others added 11 commits October 13, 2022 10:26
…entity Proofing Process (1 of n) (#7124)

* Create concern to render 404 if

The IdentityConfig.store.inherited_proofing_enabled returns false in
preparation for use in the Inherited Proofing (IP) cancellations controller
that needs to be created. Eventually, this code may get thrown away
once IP goes live; however, this makes for less lines of code that
need to be removed once/if it does.

changelog: Improvements, Upcoming Features, LG-7446 Create Inherited Proofing Cancellation Links and Process

* Add skeleton InheritedProofingCancellationsController

Specs to be added in subsequent PR when controller actions
are fleshed out.

* Add InheritedProofingCancellationsController views and i18n

* Add routes for InheritedProofingCancellationsController actions

* Satisfy Brakeman violations

Specifically, the "Render path contains parameter value" violation.

This commit whitelists the flow steps expected and raises an error
if params[:step] is not found in the whitelist.

Confidence: Weak
Category: Dynamic Render Path
Check: Render
Message: Render path contains parameter value
Code: render(action => ButtonComponent.new(:action =>
  (lambda do  button_to(idv_inherited_proofing_cancel_path(:step => params[:step]),
  { **tag_options }, &block)  end), :method => :put, :big => true, :wide => true,
  :outline => true).with_content(t("inherited_proofing.cancel.actions.keep_going")), {})
File: app/views/idv/inherited_proofing_cancellations/new.html.erb
Line: 23

Confidence: Weak
Category: Dynamic Render Path
Check: Render
Message: Render path contains parameter value
Code: render(action => SpinnerButtonComponent.new(:action =>
  (lambda do  button_to(idv_inherited_proofing_cancel_path(:step => params[:step],
  :location => "cancel"), { **tag_options }, &block)  end), :method => :delete,
  :big => true, :wide => true, :outline => true,
  :form => ({ :data => ({ :form_steps_wait => "" }) }))
  .with_content(CancellationsPresenter.new(:sp_name =>
  decorated_session.sp_name, :url_options => url_options).exit_action_text), {})
File: app/views/idv/inherited_proofing_cancellations/new.html.erb
Line: 44
changelog: Internal, Analytics, Remove unused analytics events
changelog: Internal, Build Tooling, Remove redundant JavaScript optimization step
changelog: Internal, Analytics, Remove unused feature support in frontend logger

Last usages removed in #7110
#7106)

* Ensure all UserMailer emails have matching User and EmailAddress parameters and plaintext emails are not used as parameters

changelog: Internal, Email, Ensure all UserMailer emails have matching User and EmailAddress parameters and plaintext emails are not used as parameters

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>

* fix mailer previews

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
- Make registration_logs.submitted_at nullable, stop writing it
- Ignore other columns

changelog: Internal, Logging, Stop writing extra registration_logs timestamps
…#6894)

* Update SAML SP request flow to POST internally instead of GET

* Add route for internal SAML auth POST requests

* changelog: Improvements, Service Provider Authentication, Update SAML Authentication Flow

* Add feature flag for SAML internal POST update, tests for the flag
**Why**: Clicking "Continue" from the "prepare" step will wait for a client-side logging event before continuing to the "State ID" step, which often cannot complete before the 0.5 second tolerance allowed by default in local development environments.

changelog: Internal, Automated Testing, Improve reliability of feature specs
…7125)

* LG-7702: record the issuer of the SP requesting idv in the profile.

changelog: Internal, Identity Verification, Track the agency requesting identity verification.

* record the initiating sp as an association
* use the issuer as the foreign key
…entity Proofing Process (2 of n) (#7144)

* Segregate Inherited Proofing routes

changelog: Improvements, Upcoming Features, LG-7446 Create Inherited Proofing Cancellation Links and Process

* Rename concern to avoid whitelist in naming

- Flow step whitelist should be compared as strings
so this was changed as well.
- ...not Symbols, because they will be compared against
params[:step] which will be a String value.
- Remove unnecessary code

* Add InheritedProofingCancellationsController specs
Copy link
Contributor

@jmdembe jmdembe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mdiarra3 mdiarra3 merged commit 34a2644 into stages/prod Oct 17, 2022
@mdiarra3 mdiarra3 deleted the stages/rc-2022-10-17 branch October 17, 2022 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants