Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging staging into prod #4746

Merged
merged 962 commits into from
Mar 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
962 commits
Select commit Hold shift + click to select a range
076bf42
10007: docs
Feb 21, 2024
360ab39
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 21, 2024
28dac94
10007: docs
Feb 21, 2024
8e790fc
10007: add todo cleanups
Feb 21, 2024
9fb799b
10007: docs
Feb 21, 2024
1c63ffc
10007: Remove autofill from browsers when resetting passwords
Feb 21, 2024
09755fd
10007: Move forgot-password to only be run locally as we cannot get t…
Feb 21, 2024
c09ff92
10007: Text changes to uncconfirmed modal
rachelschneiderman Feb 21, 2024
b780fe7
10007: cover more lines in unit test
TomElliottFlexion Feb 21, 2024
ec148ef
10007: Update tests and add test selector
rachelschneiderman Feb 21, 2024
fcc1fd5
10007: Fixing unit tests and adding test coverage
rachelschneiderman Feb 21, 2024
8ba7da2
10007: WIP update forgot password cypress tests for new flow.
Feb 21, 2024
c247fe7
10007: Rename unconfirmed to unverified
rachelschneiderman Feb 21, 2024
24d8901
10007: WIP Remove get forgot password code from cypress and web-api
Feb 21, 2024
fda303b
10007: Rename unconfirmed to unverified
rachelschneiderman Feb 21, 2024
3f55317
10007: Remove getForgotPasswordCode
Feb 21, 2024
42c4e07
Merge branch '10007-story-account-unconfirmed-bug' of https://github.…
rachelschneiderman Feb 21, 2024
777098d
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 21, 2024
f953645
10007: Fixing flipped boolean
rachelschneiderman Feb 21, 2024
cb9c7bb
10007: Remove todo and add context around error handling
Feb 21, 2024
67382a9
10007: update changePasswordHelper unit test
TomElliottFlexion Feb 21, 2024
a462412
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
TomElliottFlexion Feb 21, 2024
f61ff6e
10007: Rename path in sequence, check if account is unconfirmed inste…
rachelschneiderman Feb 21, 2024
e69ff33
Update cypress/cypress-smoketests/integration/admissions-clerk-grants…
rachelschneiderman Feb 21, 2024
7550160
10007: fixing unit tests
rachelschneiderman Feb 21, 2024
5a941b0
Merge branch '10007-story-account-unconfirmed-bug' of https://github.…
rachelschneiderman Feb 21, 2024
ef7590c
10007: Update forgot password code with new styles, update notificati…
Feb 21, 2024
73c1685
10007: Update task list
Feb 21, 2024
2eb3972
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 21, 2024
782d378
10007: Destructure isEmailAvailable, fix tests
Feb 21, 2024
ac910ab
Merge pull request #10269 from flexion/10007-story-account-unconfirme…
rachelschneiderman Feb 21, 2024
c7f48da
10007: suppress cypress logs on CI globally in config file
Feb 21, 2024
6c8430f
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 21, 2024
5e40b24
10007: docs
Feb 21, 2024
bf8a53f
10007: add types
Feb 21, 2024
2841e56
10007: Update associated case Worker to only accept a single docket n…
Feb 21, 2024
1a1b1bc
10007: remove return value as it is unused.
Feb 22, 2024
1e43365
updateAssociatedCaseWorker unit test
TomElliottFlexion Feb 22, 2024
12ff52b
10007: flaky cypress test due to login.
rachelschneiderman Feb 22, 2024
5470a83
10007: remove pa11y test that checks for CI element in DOM
rachelschneiderman Feb 22, 2024
b588f7d
10007: remove pa11y smoketests because we cover smoketests with cypre…
rachelschneiderman Feb 22, 2024
a8f78fd
10007: PR review tweaks, notes
TomElliottFlexion Feb 22, 2024
42e77d4
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
TomElliottFlexion Feb 22, 2024
c47425f
10007: Move integration test to cypress
rachelschneiderman Feb 22, 2024
30696b1
Merge branch 'staging' into 10007-story
rachelschneiderman Feb 23, 2024
bb23599
10007: Remove integration test that has been replaced by cypress
rachelschneiderman Feb 23, 2024
c0dac92
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Feb 23, 2024
ac55c60
10007: missing unit tests
TomElliottFlexion Feb 23, 2024
7b1fa05
Merge branch 'staging' into 10007-story
rachelschneiderman Feb 23, 2024
06a8370
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
TomElliottFlexion Feb 23, 2024
3ec0663
Merge branch 'staging' into 10007-story
rachelschneiderman Feb 23, 2024
56b41ef
10007: Remove integration test that has been replaced by cypress
rachelschneiderman Feb 23, 2024
01bf12f
10007: unit test for confirmation code persistence methods
TomElliottFlexion Feb 23, 2024
84a8285
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Feb 23, 2024
91ac036
10007: updated email cypress smoketest only runs on circle
TomElliottFlexion Feb 23, 2024
13bd70c
10007: Update logger to check all keys for anything containing Password
Feb 23, 2024
958f14f
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
rachelschneiderman Feb 26, 2024
c9845b0
10007: Add error handling for too many password attempt logins
Feb 26, 2024
0cbc3ff
10007: docs
Feb 26, 2024
2110e69
10007: add unit tests for too many failed attempts
Feb 26, 2024
c813d27
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 26, 2024
d65d1d2
10007: docs
Feb 26, 2024
beb1511
10007: fix unit test after forgot password refactoring
TomElliottFlexion Feb 26, 2024
3981aa6
10007: don't forget about forgot password
TomElliottFlexion Feb 26, 2024
1368eed
10007: Rename cypress login helper
rachelschneiderman Feb 26, 2024
9e8705c
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Feb 26, 2024
3c8b224
10007: add explicit wait for email to update
Feb 26, 2024
2aed1a3
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 26, 2024
c518f9f
10007: Rename login helper, make messages test more stable
rachelschneiderman Feb 26, 2024
7ac21a4
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Feb 26, 2024
493198c
10007: move code to authentication form
TomElliottFlexion Feb 26, 2024
9568943
10007: remove flakey pa11y test
TomElliottFlexion Feb 26, 2024
c4fb666
10007: Login with the same petitions clerk user as the one that sent …
rachelschneiderman Feb 26, 2024
355f8a8
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Feb 26, 2024
eebbd6d
10007: merge code expired and general error paths for forgot pass
Feb 26, 2024
88f0f62
10007: converge on environment variables.
Feb 26, 2024
6542cca
10007: UX feedback, minor consistency tweaks to create petitioner acc…
TomElliottFlexion Feb 26, 2024
e9f09da
10007: Adding types
Feb 26, 2024
af017c2
10007: Remove unecessary array wrap
Feb 26, 2024
5cf3334
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 26, 2024
34ce768
10007: add line break to email
TomElliottFlexion Feb 26, 2024
c7facf5
10007: update feature flag tests
Feb 27, 2024
25d2521
10007: remove unecessary arrays
Feb 27, 2024
ca03f79
10007: remove socket sequence that is unused.
Feb 27, 2024
05503eb
10007: update casing. Update log in word.
Feb 27, 2024
bdacdf1
10007: docs
Feb 27, 2024
ec36046
10007: WIP one header for each site
Feb 27, 2024
faafbfe
Merge branch 'staging' into 10007-story
rachelschneiderman Feb 27, 2024
5dd1148
10007: minor styling
Feb 27, 2024
6a054ee
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 27, 2024
155ddde
10007: docs
Feb 27, 2024
3f5ade1
10007: change type so that we do not need inbetween constants
Feb 27, 2024
6ca8eef
Merge branch 'staging' into 10007-story
rachelschneiderman Feb 28, 2024
3f6a514
10007: docs
Feb 28, 2024
11d83b2
10007: Update emails to have a pretty name. When viewed from the inbo…
Feb 28, 2024
ddbc59c
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 28, 2024
d5047c4
10007: docs
Feb 28, 2024
71ea164
10007: update default
Feb 28, 2024
bdce8b5
Merge branch 'staging' into 10007-story
rachelschneiderman Feb 28, 2024
777e078
10007: Add pa11y test for forgot password and reset password pages, a…
rachelschneiderman Feb 28, 2024
7b6e255
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Feb 28, 2024
375f5bc
10007: docs
Feb 28, 2024
e09dd10
10007: Update padding for Create Petitioner Account per UX Feedback
pixiwyn Feb 28, 2024
6285949
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
pixiwyn Feb 28, 2024
b1ca295
10007: docs
Feb 28, 2024
f35a2e9
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 28, 2024
dda20c1
10007: Update to use test selector instead of id
rachelschneiderman Feb 28, 2024
ad67ca4
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Feb 28, 2024
ed3ed9d
10007: update task list
rachelschneiderman Feb 28, 2024
d3498c8
Merge branch 'staging' into 10007-story
rachelschneiderman Feb 28, 2024
9bfb141
10007: Unify how cypress gets environment variables between node and …
Feb 28, 2024
99e4b80
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 28, 2024
00f8375
10007: Add temp password for practitioner when creating account if no…
Feb 28, 2024
c1b4e3e
10007: docs
Feb 28, 2024
74b11dd
Merge branch 'staging' into 10007-story
rachelschneiderman Feb 29, 2024
8045cc9
10007: Change environment variable name since apparently CYPRESS_ENV …
rachelschneiderman Feb 29, 2024
dbc038e
10007: remove unused cypress functions
Feb 29, 2024
aedcd37
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
Feb 29, 2024
6a76595
10007: remove public siteurl in favor of cypress environment.
Feb 29, 2024
2316288
10007: docs
Feb 29, 2024
e2113ae
devex-1257: updated webpack config for workflow-terraform lambdas
jimlerza Feb 29, 2024
605e0bb
10007: Update task list
Feb 29, 2024
16d9ea3
10007: Don't run loadtests during prod deploy of 10007 since we will …
Feb 29, 2024
96e8ca7
devex 1257: partial work typescriptifying migration lambdas (wip)
jtdevos Mar 1, 2024
7d9eb44
devex 1257: fixed AttributeValue reference (wip)
jtdevos Mar 1, 2024
55f314e
devex 1257: first pass on migration.ts done (wip)
jtdevos Mar 1, 2024
c4eaa32
devex 1257: changed migration-segments to es6 module syntax (wip)
jtdevos Mar 1, 2024
fe60ad6
devex 1257: migration-segments.js to .ts (wip)
jtdevos Mar 1, 2024
86eca74
devex 1257: partial work on typescriptifying migration-segments (wip)
jtdevos Mar 1, 2024
3157ce3
Merge branch 'staging' of github.com:ustaxcourt/ef-cms into 10007-story
Mar 4, 2024
4cc4ea4
10007: Unset token when the user logs out
pixiwyn Mar 4, 2024
106575d
Remove clear from Warning Notification on Create Petitioner Account &…
pixiwyn Mar 4, 2024
3028337
10007: Update Regex for hasNoLeadingOrTrailingSpace to allow spaces i…
pixiwyn Mar 4, 2024
a2d931b
10007: Update Forgot, Pending, and Account Verification Email Subject…
pixiwyn Mar 4, 2024
b5c1b50
devex 1258: typed handler, updated sqs delete to aws v3 api
jtdevos Mar 4, 2024
f80ef57
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
rachelschneiderman Mar 4, 2024
4732f84
10007: Allows space to function as special character + finished email…
pixiwyn Mar 4, 2024
3ff1159
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-story
pixiwyn Mar 4, 2024
12602ea
Merge branch '10007-story' of github.com:flexion/ef-cms into 10007-co…
pixiwyn Mar 4, 2024
66dbcd1
10007: WIP update header text to not show if logged in
pixiwyn Mar 4, 2024
04fc99b
devex 1258: get() is already a promise
jtdevos Mar 4, 2024
d3ac3b6
Merge branch 'devex-1257-convert-workflow-lambdas-to-typescript' into…
jtdevos Mar 4, 2024
e11e13d
10007: Don't clear auth state until processing is done to prevent cod…
rachelschneiderman Mar 4, 2024
98b9305
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Mar 4, 2024
bd9c7ef
10007: Deleted password test that is covered by cypress tests, fixed …
rachelschneiderman Mar 4, 2024
caee028
10007: Attempt to use single header for Client Application
pixiwyn Mar 4, 2024
3c8ee2b
devex 1258: rename migration-segments.test.js to .ts
jtdevos Mar 5, 2024
eb0430b
Merge pull request #10279 from flexion/10007-combine-headers
pixiwyn Mar 5, 2024
e253e39
10007: Add email to what's being logged and indexed for easier searching
rachelschneiderman Mar 5, 2024
08f83e2
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Mar 5, 2024
dde1488
devex 1258: partial work on replacing mocks; syntax cleanup
jtdevos Mar 5, 2024
c543c44
devex 1258: mocked v3 dynamo, sqs; got two tests passing
jtdevos Mar 5, 2024
331c5a2
10007: Update Verify Pending Email Error Text
pixiwyn Mar 5, 2024
c667239
10007: Add ENV=local to local client build step
pixiwyn Mar 5, 2024
e1d780a
devex 1258: go 3rd test passing (wip)
jtdevos Mar 6, 2024
e7de495
devex 1258: trying to force reject PutCommand (wip)
jtdevos Mar 6, 2024
47b8940
10007: Add expiration time explanatory text to pending email verifica…
rachelschneiderman Mar 6, 2024
afbb5fa
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Mar 6, 2024
8886e96
devex 1258: fixed mocking of migrationItems; added vscode debug profile
jtdevos Mar 6, 2024
87c4c0f
Merge branch 'devex-1257-convert-workflow-lambdas-to-typescript' into…
jimlerza Mar 6, 2024
86a38a0
devex-1258: convert migration.test to es6 style import/export
jimlerza Mar 6, 2024
aa64597
devex-1258: file extension js -> ts
jimlerza Mar 6, 2024
5050522
devex-1258: convert migration and migration-segments lambdas and rela…
jimlerza Mar 6, 2024
0af979e
devex-1258: segment value is of type number
jimlerza Mar 6, 2024
281ff73
devex-1258: fix type of ranMigrations object
jimlerza Mar 6, 2024
102b066
devex-1258: migration segments are unmarshalled, not marshalled.
jimlerza Mar 6, 2024
80fd53a
devex-1258: fixed migration-segments.test after conversion to typescript
jimlerza Mar 6, 2024
a500004
Merge branch 'staging' into devex-1258-convert-migration-lambda-to-ty…
jimlerza Mar 6, 2024
c78f3b7
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
rachelschneiderman Mar 6, 2024
86016c0
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
rachelschneiderman Mar 6, 2024
51aff9b
10007: minor formatting, remove unused function
rachelschneiderman Mar 7, 2024
6a5ec43
10007: Use uswds built in styles for text wrap in header, custom css …
rachelschneiderman Mar 7, 2024
6f61c0b
devex-1258: fix typescript errors in untouched files
jimlerza Mar 7, 2024
89746b5
Merge branch 'staging' into devex-1258-convert-migration-lambda-to-ty…
jimlerza Mar 7, 2024
6745240
Merge branch 'staging' into devex-1258-convert-migration-lambda-to-ty…
mmarcotte Mar 7, 2024
3934b87
Merge branch 'staging' into 10007-story
rachelschneiderman Mar 7, 2024
15d0203
devex-1258: use aws sdk v3 in clear-dynamodb-table.ts
jimlerza Mar 7, 2024
e8c0e9c
devex-1258: convert dynamo-export to es6 style import/export and aws …
jimlerza Mar 7, 2024
abc84a0
Merge branch 'staging' into 10007-story
rachelschneiderman Mar 7, 2024
66f3de0
devex-1258: convert dynamo-export to typescript
jimlerza Mar 7, 2024
0aec513
devex-1258: convert create-dynamo-tables to es6 style import/export a…
jimlerza Mar 7, 2024
cb37d69
devex-1258: convert create-dynamo-tables to typescript
jimlerza Mar 7, 2024
163e590
10007: Update Account Creation Email Template and resolve issue with …
rachelschneiderman Mar 7, 2024
8aba8cf
Merge branch '10007-story' of https://github.com/flexion/ef-cms into …
rachelschneiderman Mar 7, 2024
efff431
devex-1258: convert create-dynamo-tables to typescript
jimlerza Mar 7, 2024
ccf3a78
devex-1258: convert delete-elasticsearch-index to es6 style import/ex…
jimlerza Mar 7, 2024
45e7ade
devex-1258: convert delete-elasticsearch-index to typescript
jimlerza Mar 7, 2024
96d0eab
devex-1258: typescript fixes for delete-elasticsearch-index
jimlerza Mar 7, 2024
d89a87b
Merge branch 'staging' into devex-1258-convert-migration-lambda-to-ty…
jimlerza Mar 7, 2024
298f364
Merge branch 'devex-1258-convert-migration-lambda-to-typescript' of g…
jimlerza Mar 7, 2024
993b1db
10007: Fix issue with request new forgotten password not reloading pa…
rachelschneiderman Mar 7, 2024
4f9f964
10007: fixing unit test
rachelschneiderman Mar 7, 2024
92671da
devex-1258: convert reindex-dynamodb-records to es6 style import/expo…
jimlerza Mar 7, 2024
0e2590f
devex-1258: convert reindex-dynamodb-records to typescript
jimlerza Mar 7, 2024
6da5451
10007: add testid for resend forgot password code and extend cyress t…
rachelschneiderman Mar 7, 2024
acee6bd
devex-1258: convert reindex-dynamodb-records to typescript
jimlerza Mar 7, 2024
1cedaf2
devex-1258: convert delete-unused-dynamo-items to es6 style import/ex…
jimlerza Mar 7, 2024
e8738be
devex-1258: moved delete-unused-dynamo-items to run-once-scripts
jimlerza Mar 7, 2024
3cfb7f8
10007: add log for when the user clicks on verify pending email twice.
rachelschneiderman Mar 7, 2024
2fc9b5c
devex-1258: convert delete-unused-dynamo-items to typescript
jimlerza Mar 7, 2024
e92d097
devex 1258: typed queryFullCase.ts
jtdevos Mar 7, 2024
43e3e53
devex-1258: typed getUserById
jimlerza Mar 7, 2024
cad302c
devex-1258: typed getUserById
jimlerza Mar 7, 2024
29adcca
10007: WIP
rachelschneiderman Mar 7, 2024
a7ffb05
devex-1258: when performing a migration, batch the writes and deletes
jimlerza Mar 7, 2024
0d291c3
devex: convert rotate-info-indices lambda webpack config file to es6-…
jimlerza Mar 7, 2024
fd33fcb
devex: convert rotate-info-indices lambda webpack config to typescript
jimlerza Mar 7, 2024
b5f4de8
devex: convert rotate-info-indices lambda webpack config to typescript
jimlerza Mar 7, 2024
dee096b
10007: Resend temporary password if expired
Mar 7, 2024
48813f7
10007: Rethrow error in case it is not dealt with by helper function
Mar 7, 2024
7e4c553
10007: Update messaging when user attempts to log in with expired tem…
Mar 7, 2024
72b4d3d
Merge branch 'devex-fix-rotate-info-indices-config' of github.com:ust…
Mar 7, 2024
fbb66b1
Merge branch 'staging' into devex-1258-convert-migration-lambda-to-ty…
mmarcotte Mar 8, 2024
a9b3958
devex-1258: convert send-migration-segment-messages to es6-style impo…
jimlerza Mar 8, 2024
4db7027
devex-1258: rename file extension js -> ts
jimlerza Mar 8, 2024
fff498e
devex-1258: convert send-migration-segment-messages to typescript
jimlerza Mar 8, 2024
1ad8187
devex-1258: don't pass the dynamo client around when processing migra…
jimlerza Mar 8, 2024
04bf92d
devex-1258: remove lingering comment
jimlerza Mar 8, 2024
7cf37a1
10007: Loading spinner should display for interstitial page as long a…
rachelschneiderman Mar 8, 2024
9f33b7f
devex-1258: when seeding the local database, pass an app context to v…
jimlerza Mar 8, 2024
59aa274
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
rachelschneiderman Mar 8, 2024
f909610
DepUp: Update major versions
Mar 8, 2024
c7bea2d
DepUp: Update AWS CLI Versions in Dockerfile
Mar 8, 2024
e06b716
DepUp: Update AWS Provider for Terraform files
Mar 8, 2024
7740af1
DepUp: Deploy new ECR images to AWS
Mar 8, 2024
450be7b
devex-1258: fix migration lambda webpack config
jimlerza Mar 8, 2024
46ebb20
devex-1258: bail if we encounter errors populating the migration-segm…
jimlerza Mar 11, 2024
944cc70
Merge pull request #4711 from ustaxcourt/devex-1258-convert-migration…
mmarcotte Mar 11, 2024
4897095
DepUp: Decrease typing error count;
Mar 11, 2024
9022bf0
Merge branch 'staging' into john-dep-up
cruzjone-flexion Mar 11, 2024
0b5642b
Merge pull request #4719 from flexion/john-dep-up
jimlerza Mar 11, 2024
788a950
Merge branch 'staging' of https://github.com/ustaxcourt/ef-cms into 1…
rachelschneiderman Mar 11, 2024
2b4b47c
10007: Add new line at end of files per feedback
pixiwyn Mar 11, 2024
acb10d2
10007: PR comments
pixiwyn Mar 11, 2024
b75ad2c
10007: Update import to fix build
pixiwyn Mar 11, 2024
6772477
10007: remove left overs with delay and sort imports
pixiwyn Mar 11, 2024
5613090
10007: Check ttl before returning account confirmation code since Dyn…
pixiwyn Mar 11, 2024
f154be0
10007: Return error string per feedback
pixiwyn Mar 11, 2024
dbe2c5b
10007: Fixing ttl check in get account confirmation code
rachelschneiderman Mar 11, 2024
b059914
10007: PR feedback
rachelschneiderman Mar 12, 2024
898675a
10007: PR feedback
rachelschneiderman Mar 12, 2024
0751c48
Merge pull request #4447 from flexion/10007-story
jimlerza Mar 12, 2024
32486a0
10007: add temporary handling for users attempting to use the old Cog…
mmarcotte Mar 14, 2024
b7b5257
10007: allow log-in to handle query strings, too.
mmarcotte Mar 14, 2024
53ff3c7
10007: Log when user is using old login
Mar 14, 2024
6e3101b
10007: add todo for cleanup
mmarcotte Mar 14, 2024
b5d6e32
10007: Disable debug in pa11y to reduce resources.
Mar 14, 2024
192bc4c
Merge branch '10007-old-login-handling' of github.com:ustaxcourt/ef-c…
Mar 14, 2024
bf242d2
10007: reduce concurrency
Mar 14, 2024
378622e
Merge pull request #4740 from ustaxcourt/10007-old-login-handling
mmarcotte Mar 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
10007: PR feedback
rachelschneiderman committed Mar 12, 2024
commit 898675a6aa23811a49acd1f42794c62527dfe5b5
2 changes: 1 addition & 1 deletion web-api/src/persistence/cognito/getCognito.ts
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@

export function getLocalCognito() {
// KNOWN BUGS:
// - users is a FORCE_CHANGE_PASSWORD state will get a new password challenge when authenticating even if the wrong password is entered
// - users in a FORCE_CHANGE_PASSWORD state will get a new password challenge when authenticating even if the wrong password is entered
// - respondToAuthChallenge does not associate tokens returned in authenticationResult on the user; cannot refresh app _immediately_ after changing password

if (!cognitoClientCache) {
@@ -39,7 +39,7 @@
) => Promise<AdminCreateUserCommandOutput> =
cognitoClientCache.adminCreateUser;

cognitoClientCache.adminCreateUser = async function (

Check warning on line 42 in web-api/src/persistence/cognito/getCognito.ts

GitHub Actions / Lint

Async function has no 'await' expression
args: AdminCreateUserCommandInput,
): Promise<AdminCreateUserCommandOutput> {
if (args.MessageAction === MessageActionType.RESEND) {

Unchanged files with check annotations Beta

import React from 'react';
import classNames from 'classnames';
export const CoverSheet = ({

Check warning on line 6 in shared/src/business/utilities/pdfGenerator/documentTemplates/CoverSheet.tsx

GitHub Actions / Lint

Arrow function has a complexity of 21. Maximum allowed is 20
caseCaptionExtension,
caseTitle,
certificateOfService,
request.on('data', chunk => {
requestBody += chunk.toString();
});
request.on('end', async () => {

Check warning on line 113 in web-api/src/app-local.ts

GitHub Actions / Lint

Async arrow function has no 'await' expression
const split = request.url!.split('/');
const connectionId = split[split.length - 1];
if (connections[connectionId]) {
import { ServerApplicationContext } from '@web-api/applicationContext';
// Not every user has a custom:userId. If not then their userId is the sub
// If they have a custom:userId then their userId is custom:userid

Check warning on line 9 in web-api/src/gateways/user/getUserByEmail.ts

GitHub Actions / Lint

You have a misspelled word: userid on Comment
// Hosted environment
// Only attributes you ask for will be given back
export const workerLocal: WorkerHandler = async (
applicationContext: ServerApplicationContext,
{ message }: { message: WorkerMessage },
): Promise<void> => {

Check warning on line 14 in web-api/src/gateways/worker/workerLocal.ts

GitHub Actions / Lint

Async arrow function has no 'await' expression
// Simulate what happens on a deployed environment when a message is sent to SQS.
const appContext = createApplicationContext(message.user);
setTimeout(
export const renewIdTokenLambda = event =>
genericHandler(
event,
async ({ applicationContext }) => {

Check warning on line 8 in web-api/src/lambdas/auth/renewIdTokenLambda.ts

GitHub Actions / Lint

Async arrow function has no 'await' expression
if (!event.headers.cookie) {
throw new UnauthorizedError('refreshToken is required');
}
async function main() {
await updateUsersWithMissingAttribute(
// 'local_2pHzece7',

Check warning on line 66 in web-api/storage/scripts/cognitoUserIdMigration.ts

GitHub Actions / Lint

You have a misspelled word: Hzece7' on Comment
applicationContext.environment.userPoolId,
);
}
<tbody>
{caseStatusHistoryHelper.formattedCaseStatusHistory.map(
(history, idx) => (
<tr key={idx}>

Check warning on line 36 in web-client/src/views/CaseDetail/CaseStatusHistory.tsx

GitHub Actions / Lint

Do not use Array index in keys
<td className="date-changed">
{history.formattedDateChanged}
</td>
<ul className="ustc-unstyled-consolidated-case-list">
{externalConsolidatedCaseGroupHelper.formattedConsolidatedCaseList.map(
(item, index) => (
<li className="margin-bottom-2" key={index}>

Check warning on line 63 in web-client/src/views/FileDocument/ExternalConsolidatedCaseGroupFilingCard.tsx

GitHub Actions / Lint

Do not use Array index in keys
{item}
</li>
),
<ul className="ustc-unstyled-consolidated-case-list padding-left-0">
{externalConsolidatedCaseGroupHelper.formattedConsolidatedCaseList.map(
(item, index) => (
<li className="margin-bottom-2" key={index}>

Check warning on line 30 in web-client/src/views/FileDocument/ExternalConsolidatedGroupCards.tsx

GitHub Actions / Lint

Do not use Array index in keys
{item}
</li>
),