Skip to content

Deploy RC 232 to Prod#7404

Closed
jmdembe wants to merge 10 commits intostages/prodfrom
stages/rc-2022-11-29
Closed

Deploy RC 232 to Prod#7404
jmdembe wants to merge 10 commits intostages/prodfrom
stages/rc-2022-11-29

Conversation

@jmdembe
Copy link
Contributor

@jmdembe jmdembe commented Nov 29, 2022

Bug Fixes

  • Email: Validate email domains are ASCII to better align with AWS Simple Email Service (SES) support (#7380)

Internal

  • Logging: Include OTP adapter when logging the OTP send event (#7391)
  • Updates: Updating to Acuant SDK 11.7.1 (#7378)
  • Refactoring: Remove proofing::base, Proofing::Result (#7349)

gsa-manish and others added 10 commits November 22, 2022 10:40
* Test ddp proofer in resolution proofing job spec

* Stop inheriting from LexisNexis::Proofer

* LG-7688-dont-use-proofing-base

changelog: Improvements, Refactoring, Remove proofing::base, Proofing::Result

Co-authored-by: Kimball Bighorse <kbighorse@yahoo.com>
…l Service (SES) support (#7380)

* Validate email domains are ASCII to better align with AWS Simple Email Service (SES) support

changelog: Bug Fixes, Email, Validate email domains are ASCII to better align with AWS Simple Email Service (SES) support

* Update app/validators/form_email_validator.rb

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

* rescue email parsing exception

* add domain validation to AddUserEmailForm

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
* Updating to Acuant SDK 11.7.1

* Add changelog

changelog: Internal, Updates, Updating to Acuant SDK 11.7.1

* Removing unused 11.5.0 Acuant SDK files

changelog: Internal,SDK Upgrade, removing unused Acuant SDK 11.5.0 files

* Update spec/javascripts/packages/document-capture/components/acuant-sdk-spec.js

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>

* Fixing test assumption about window scope

-- What
In the 11.7.0 update, the Acuant SDK was available in the global
scope, but not on the window object -- and we tested for this specific
case since it broke many previous assumptions.

With the 11.7.1 this inconsistency has been fixed (and is even noted
in the release notes here:
https://github.com/Acuant/JavascriptWebSDKV11/releases/tag/11.7.1)

changelog: Internal, SDK Upgrade, Upgrading Acuant SDK to 11.7.1

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
… Page (#7284)

* Implement try again logic for Inherited Proofing

changelog: Upcoming Features, Inherited Proofing, LG-7450 Implement "Try Again" Button Functionality on the First Error Page

Refactor code to enqueue user PII job to mixin

- To keep things DRY as this will be used in the verify_wait
step when the user clicks the "Retry" button on the
IP Warning UI.

Refactor to use UserPiiJobInitiator mixin

Add translations for request/response errors

- Related to inherited proofing service provider requests and responses;
this, so that we can 1) record the error and 2) display something to
the user. Errors displayed to the user are "safe" errors, revealing
no information that could be used by those having ill intentions.

Refactor VA form and service classes

- To handle network errors encountered during the request to
the service provider and decrypting response data returned
from the service provider request.

Allow va mock proofer to return meaningful error

- So that we can identify the error in the va Form class as such
and notify our Flow that an error has indeed occured. The error
added to the mock proofer is a network-related error, not a
va api related (returned in a response) error.

Enable flow step to hook into "try again" logic

- Which exists in the base class.

Enable flow step to hook into "try again" logic

DRY VerifyBaseStep for Inherited Proofing usage

Set up throttling for Inherited Proofing

Change the path the "Try again" button uses

- To point to the :verify_wait flow step so the user can try again.

Automated tests

Refactor inherited_proofing_cancel_spec.rb

- To use InheritedProofingWithServiceProviderHelper.

* Address PR feedback

- Remove unnecessary call to super in FormBase class.
- Remove #extra method in FormBase.
- Rename add_service_error_if method to add_service_error and add
conditional callback if: :service_error?
- Fix spec to check actual :service_error hasn key value instead of
converting the hash to a string and checking that.

* Add missing failure method to BaseFlow

- This seemed a better option than making BaseFlow an abstract class raising
NoMethodError, since it looks like the logic would be the same anyhow.

* Create step action to retry user pii retrieval

* Address latest PR feedback
* Include OTP adapter when logging the OTP send event

changelog: Internal, Logging, Include OTP adapter when logging the OTP send event

* Fix typo

* Update app/controllers/idv/otp_delivery_method_controller.rb

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

* add specs

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
* Add content_type to DataUrlImage

* First pass at wiring doc upload into attempts API

changelog: Improvements, IRS Attempts API, Add document escrow fields to IRS attempts API

* Additional tests

* WIP

* Update form test to roundtrip documents

Write documents to encrypted storage and read them back

* Use front_image & back_image lets for tests

* Update ImageUploadsController spec

* Test Attempts API includes images on  validation failure

* Update app/forms/idv/api_image_upload_form.rb

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

* Update app/services/encrypted_document_storage/local_storage.rb

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

* Update *_image -> *_image_uuid

Clarify that these args hold UUIDs identifying the front/back images

* Use let() for regexes in tests

avoid polluting global namespace

* Add doc escrow parameter descriptions

* Minimize unnecessary verbosity

* Lint issues

* Reduce number of document escrow fields

50% off!

* add "filename" to fields

try and make it clearer what these things are

* Remove empty test

whoops

* Update app/services/encrypted_document_storage/document_writer.rb

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

* Update spec from `should` to `is_expected.to`

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
* Base GPO expiration on original request date

Rather than basing on the date we FTP the .csv file out, base the expiry on the time of the original request's creation.

For LG-8063

changelog: Bug Fixes, GPO, Address issue where expiration date on GPO letters was not printed correctly.

* Switch to Time.zone.parse
@jmdembe
Copy link
Contributor Author

jmdembe commented Nov 29, 2022

Closing as we are deploying on Mondays and Thursdays.

@jmdembe jmdembe closed this Nov 29, 2022
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.

7 participants