-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adds migration and column for doc_type_label
and fixes virus scanning logic
#424
Merged
Conversation
This file contains 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
bseeger
changed the title
add migration and column for doc type label
WIP - don't merge yet - add migration and column for doc type label
Oct 25, 2023
bseeger
force-pushed
the
add-type-to-user-file
branch
from
October 30, 2023 14:15
dfd6219
to
6001dfa
Compare
bseeger
changed the title
WIP - don't merge yet - add migration and column for doc type label
Adds migration and column for Oct 30, 2023
doc_type_label
and fixes virus scanning logic
spokenbird
reviewed
Oct 30, 2023
spokenbird
reviewed
Oct 30, 2023
src/main/resources/db/migration/V2023.10.25.08.53.44__create_doc_type_label_for_user_files.sql
Show resolved
Hide resolved
spokenbird
reviewed
Oct 30, 2023
bseeger
force-pushed
the
add-type-to-user-file
branch
from
November 1, 2023 18:02
04460b4
to
010b2e1
Compare
cy-by
reviewed
Nov 1, 2023
One last comment and there's a conflict in |
Fixes an issue with virus scanning if using the noop scanner (would always say the files was scanned) Co-Authored-By: Lauren Kemperman; [email protected]
wouldn't run. This now makes sure there is a default value.
Co-Authored-By: Lauren Kemperman; [email protected]
Fixes a typo in the readme and adds a section about the dynamic fields. Co-Authored-By: Lauren Kemperman; [email protected]
Since the test db doesn't appear to be working correctly, this code is commented out until we figure out why the DB migrations aren't working well in test.
bseeger
force-pushed
the
add-type-to-user-file
branch
from
November 2, 2023 14:01
1aef6f9
to
4a2bc04
Compare
cy-by
approved these changes
Nov 2, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments addressed, approved.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
doc_type_label
touser_files
table.form-flow.uploads.default-doc-type-label
so one can set the default document type if they want.@DynamicField
annotation and separates annotations from their validators (slight package reorg)true
when scanning was turned off. The NoOpVirusScanner is used when the virus scanning is disabled, so it was marking the record inaccurately. We revamped the logic around this and made the check a little clearer.You can test this ticket out by using this branch in the LA Doc Uploader.