Skip to content

Deploy RC 225 to Production#7308

Merged
mitchellhenke merged 18 commits intostages/prodfrom
stages/rc-2022-11-07
Nov 7, 2022
Merged

Deploy RC 225 to Production#7308
mitchellhenke merged 18 commits intostages/prodfrom
stages/rc-2022-11-07

Conversation

@mitchellhenke
Copy link
Contributor

Improvements

  • Accessibility: Improve document upload screen reader text (#7287)

Internal

  • Database: Refactor Event creation to avoid two DB writes when creating Event with disavowal (#7301)
  • Database: Create smaller user_id index on email_addresses (#7298)
  • Dependencies: Update dependencies to resolve security advisories (#7303)
  • Redis: Manage total connections to redis. (#7283)

Upcoming Features

  • Inherited Proofing: LG-7446 Create "Cancel" Links and Supporting Cancellation Code for Identity Proofing Process (4 of 4) (#7176)

matthinz and others added 18 commits November 3, 2022 09:19
* Update Spanish label for "One-time code" field

* Update language on "Enter your security code"

Update language on OTP entry screen to reflect user testing results ("one-time code" rather than "security code").

For LG-7177

[skip changelog]
**Why**:
- Adding the configuration parameters `redis_pool_size` and
  `redis_throttle_pool_size` allows us to limit, or increase,
  the number of connections to our redis instances.

changelog: Internal, Redis, Manage total connections to redis.
* security_code -> one_time_code

Update translation keys that include `security_code` in their name to now say `one_time_code` to be more consistent with new wording.

[skip changelog]

* Fix click_send_security_code helper

* click_send_security_code -> click_send_one_time_code

Lots of references to `security_code` in specs that can be updated.
* Remove unused PasswordToggle React component

[skip changelog]

* Remove unused TextInput component
* Add background jobs command to README

* Document async flag

* [skip changelog]

* Add note about Procfile

* Link to Procfile as example

* Explain that make run runs the Procfile
- Via ConnectionPool::Wrapper which may be slightly slower

[skip changelog]
Hypothesis: creating new clients as often as we does makes too many
IAM metadata requests, so this cuts down on that

* Add comment on eager vs lazy
* Make FakeConnectionPool more generic

[skip changelog]
Before: three classes that did almost the same things:
 - Pii::SessionStore
 - X509::SessionStore
 - OutOfBandSessionAccessor

After: just one class, OutOfBandSessionAccessor

* Update spots to use new interface
* Memoize session_data to save network requests
* Optionally share session accessor in id_token + userinfo presenter
* Save another allocation

[skip changelog]
…entity Proofing Process (4 of 4) (#7176)

* Add an informative comment

changelog: Upcoming Features, Inherited Proofing, LG-7446 Create "Cancel" Links and Supporting Cancellation Code for Identity Proofing Process (4 of 4)

* Refactors to allow SessionsController to handle IP

Inherited Proofing (IP) session cleanup, analytics logging and
redirect to the IP url when the user decides to "start over".

* Add a route specific to inherited proofing

Not necessary, but for consistency; we're pointing to the
existing SessionsController.

* Reinstate the "start over" cancellation button

* Add cancel link on "Retrieving your info" view

* Add devise controller helper to get spec to pass

* Remove unnecessary includes

* Refactor SessionController specs

In prep for Inherited Proofing test additions.

- Add SessionController specs for Inherited Proofing

* Remove unnecessary return

* Add comments for analytics

So that when the card gets worked on, these areas can be
identified and analytics applied.

* Add feature specs

Test cancel from all Inherited Proofing views, all cancellation scenarios:
"Start over"
"No, go back"
"Exit Login.gov"

Need to revisit cancellations from the :verify_waiting step; see
notes in the spec file.

* Patch to VAIP sessions controller changes (#7269)

* Inline mixins to make the PR diff smaller and easier to understand

* Inline shared examples that are only used once (not shared)

* Remove unused shared example

* Remove line length override and fix errors

* fix typo

* Reorganize SessionsController clean up code

* Remove skipped specs per PR feedback

* Clean up sone unnecessary/redundant mocks/vars

* Remove redundant js enable on tests

* Make regexp to check rails paths more concise

* Remove regex when checking current_path

* Remove proofing-specific tests

* Fix rubocop errors

* Move tests inline

* Tidy up session mock

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

* Update ARIA label for FileInput component

When FileInput does not have a file added to it, ensure ARIA label includes the prompt to drag + drop a file.

User testing found this was needed, as JAWS does not automatically read `aria-describedby` by default (it requires extra interaction).

changelog: Improvements, Accessibility, Improve document upload screen reader text

* Update tests

* Remove stray comments
changelog: Internal, Dependencies, Update dependencies to resolve security advisories
changelog: Internal, Database, Create smaller user_id index on email_addresses
* display only failed because there are too many to render

[skip changelog]
* "Get another code" -> "Send another code"

Update language on the resend OTP button, aiming for better consistency across screens.

[skip changelog]

* get_another_code -> send_another_code

Update translation keys to match new English phrasing
…th disavowal (#7301)

* Refactor Event creation to avoid two DB writes when creating Event with disavowal

changelog: Internal, Database, Refactor Event creation to avoid two DB writes when creating Event with disavowal

* Update app/services/user_event_creator.rb

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

* Update app/services/user_event_creator.rb

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

* Update app/services/user_event_creator.rb

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

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
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

Comment on lines -52 to +55
expires_in: Pii::SessionStore.new(identity.rails_session_id).ttl,
id_token: IdTokenBuilder.new(identity: identity, code: code).id_token,
expires_in: id_token_builder.ttl,
id_token: id_token_builder.id_token,
Copy link
Contributor

Choose a reason for hiding this comment

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

extremely hyped for this optimization

@mitchellhenke mitchellhenke merged commit c7630d7 into stages/prod Nov 7, 2022
@mitchellhenke mitchellhenke deleted the stages/rc-2022-11-07 branch November 7, 2022 20:55
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.

9 participants