8 Commits

Author SHA1 Message Date
dandds
5213657b0f Additional validation and escaping for file names.
This adds additional front and backend validations for task order file
names. We are now restricting file names to a whitelist regex of
[A-Za-z0-9\-_ \.] for simplicity.

Note:
On the frontend, the filename string must have at least one character.
This is not true in the backend validation; because of the way the
entire task order form is validated, requiring input would break the
business logic currently implemented.
2020-01-15 09:17:03 -05:00
richard-dds
f05d6908ef Mock out getDownloadLink 2019-08-30 16:18:31 -04:00
richard-dds
83ca303e1f Disable attachmentInput when file is attached (with tests this time) 2019-08-30 16:13:59 -04:00
richard-dds
b26cd3ffae Allow user to download a previously uploaded pdf 2019-08-29 16:00:25 -04:00
richard-dds
6405d9b958 Make Azure account name and bucket name configurable 2019-08-05 14:58:10 -04:00
richard-dds
81a478915d Fix uploader test and refactor makeTestWrapper to accept data fn 2019-08-05 14:58:10 -04:00
tomdds
0682411954 Fix formatting 2019-07-12 12:13:22 -04:00
tomdds
38a01f7db3 Clean up and generalize jinja to vue test template rendering and testing 2019-07-12 12:05:54 -04:00