-
Notifications
You must be signed in to change notification settings - Fork 167
Add document escrow fields to Attempts API (LG-8057) #7381
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4201810
Add content_type to DataUrlImage
matthinz 3470427
First pass at wiring doc upload into attempts API
matthinz 183f4bd
Additional tests
matthinz b5652f9
WIP
matthinz da30bf5
Update form test to roundtrip documents
matthinz c7135cf
Use front_image & back_image lets for tests
matthinz 38a7f69
Update ImageUploadsController spec
matthinz 14d77cd
Test Attempts API includes images on validation failure
matthinz 4c40136
Update app/forms/idv/api_image_upload_form.rb
matthinz 081a01a
Update app/services/encrypted_document_storage/local_storage.rb
matthinz 0a544bd
Update *_image -> *_image_uuid
matthinz c339a47
Use let() for regexes in tests
matthinz fedb7d9
Add doc escrow parameter descriptions
matthinz 2ae1ff0
Minimize unnecessary verbosity
matthinz dd759dc
Lint issues
matthinz 4ac2cd4
Reduce number of document escrow fields
matthinz 26c9565
add "filename" to fields
matthinz f5f7831
Remove empty test
matthinz def1d5e
Update app/services/encrypted_document_storage/document_writer.rb
matthinz dfc4c5a
Update spec from `should` to `is_expected.to`
matthinz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
app/services/encrypted_document_storage/write_document_result.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,8 @@ | ||
| module EncryptedDocumentStorage | ||
| WriteDocumentResult = Struct.new( | ||
| :front_uuid, | ||
| :back_uuid, | ||
| :front_encryption_key, | ||
| :back_encryption_key, | ||
| :front_filename, | ||
| :back_filename, | ||
| :encryption_key, | ||
| keyword_init: true, | ||
| ) | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.