Skip to content

Deploy RC 250 to Prod#7773

Merged
aduth merged 11 commits intostages/prodfrom
stages/rc-2023-02-06
Feb 6, 2023
Merged

Deploy RC 250 to Prod#7773
aduth merged 11 commits intostages/prodfrom
stages/rc-2023-02-06

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Feb 6, 2023

Bug Fixes

  • In-person proofing: Handle unexpected API errors (#7743)
  • OpenID Connect: Include ial and aal properties in user info response value (#7721)

Internal

  • In-Person Proofing: Remove redundant ArcGIS API call (#7746, #7753)
  • Rate limiting: Update Redis rate limiting configuration (#7758)
  • Rate limiting: Refactor to make rate limiting code consistent (#7741)
  • Reporting: Include deleted users in reports on users created (#7731)

jmax-gsa and others added 11 commits February 1, 2023 10:21
* Push for CI run

[skip changelog]

* Checkpoint; about to remove ddp mock proofer

* More code removed.

* Resolve style issues

* Reformat request made context

* Get back to a passing state

* Replace inconsistent method

* Remove inconsistent return

* Make AAMVA response consistent

* Use subject, described_class, and result consistently

* Make spec code more consistent

* Restore ruby version

* Mark unsupported methods and tests

* Mark unsupported tests and methods

* Consolidate tests

* Improve style

* Restore timed_out? for resolution job

* Use AAMVA result class

* Satisfy resolution proofing job spec for now

* Restore passing state

* Use resolution result for resolution proofer

* Define default values in resolution result constructor

* Define shared lexis nexis config class

* Replace one more config reference

* Remove result assignment that examples override

* Align method call with block name

* Unify result classes

* Rename Result to DdpResult

* Improve style

* Build result like other proofers

* Remove untested methods

* Restore result spec tests and failed? result method

* Restore mock classes

* Add trailing newline

* Target RDP proofer in specs

---------

Co-authored-by: Kimball Bighorse <kbighorse@yahoo.com>
…tus (#7743)

* handle unexpected responses

test for unexpected number of days until expiration

* tests for invalid enrollment code & applicant

* changelog: Bug Fixes, In-person proofing, Handle unexpected api errors
* changelog: Internal, In-Person Proofing, Remove redundant ArcGIS API call

* Update method comment

* Update address_search_controller test spec

* Clarify code comment

* Drop vestigial

* Update app/services/arcgis_api/geocoder.rb

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

* Revert outFields change

* Update app/services/arcgis_api/geocoder.rb

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

---------

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
* Restore mock clients in verify wait step show spec

* [skip changelog]
* TypeScript-ify PhoneInput element

* [skip changelog]

* Update renamed export member
* changelog: Internal, In-Person Proofing, Remove redundant ArcGIS API call

* Update method comment

* Update address_search_controller test spec

* Clarify code comment

* Drop vestigial

* Update app/services/arcgis_api/geocoder.rb

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

* Revert outFields change

* Update app/services/arcgis_api/geocoder.rb

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

* changelog: Bug Fixes, In-Person Proofing, Restrict ArcGIS address search category

* Spread arguments so this works

---------

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
… info controller (#7748)

The verify info controller is a replacement for the verify info step. When it was being built we overlooked a feature that allowed users with barcode errors to recapture an image of their document.

This commit implements that feature for the verify info controller

[skip changelog]
* [skip changelog]

Adds ial and all to OIDC JWT response

* [skip changelog]

Clean up debugging stuffs

* changelog: additional clean up

additional cleanup
**Why**: So that throttles/short lived things live in the same instance

changelog: Internal, Rate limiting, Update redis rate limiting configuration
…#7741)

* Throttle#increment! does nothing if already throttled

Do not reset the wait time on further attempts if already throttled, add tests

* Remove Throttle#throttled_else_increment? method

* Users::TwoFactorAuthenticationController - replace throttled_else_increment?

* Idv::GpoVerifyController - replace throttled_else_increment?

Adjust the spec expected attempts by 1

* Idv::VerifyInfoController - replace throttled_else_increment?

And add feature spec to test ssn throttling
Check for correct # of attempts text in throttle warning in VerifyInfo feature test
Add click_try_again test helper

* Idv::Steps::DocAuthBaseStep - remove unused local throttled_else_increment method

* Idv::Steps::VerifyBaseStep - replace throttled_else_increment?

Adjust specs expected attempts by 1

* RequestPasswordReset - replace throttled_else_increment?

Adjust spec expected attempts by 1

* RegisterUserEmailForm - replace throttled_else_increment?

Adjust spec expected attempts by 1

* Idv::ApiDocumentVerificationForm - replace throttled_else_increment?

* Idv::ApiImageUploadForm - replace throttled_else_increment?

* Idv::Steps::SendLinkStep - replace throttled_else_increment?

Adjust spec expected attempts by 1

* Users::VerifyPersonalKeyController - replace throttled_else_increment?

Adjust spec expected attempts by 1
Increase verify_personal_key_max_attempts test config setting to 2 so that create works

* Remove analytics from Idv::SessionErrorsController#throttled

Because now spec/features/idv/doc_auth/document_capture_step_spec.rb passes without that

* Adjust feature throttling specs expected attempts by 1

Co-authored-by: Matt Hinz <matt.hinz@gsa.gov>
Co-authored-by: Eric Gade <eric.gade@gsa.gov>

changelog: Internal, refactor, make rate limiting code consistent
changelog: Internal, Reporting, Include deleted users in reports on users created
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

@aduth aduth merged commit 18fc1c7 into stages/prod Feb 6, 2023
@aduth aduth deleted the stages/rc-2023-02-06 branch February 6, 2023 19:52
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