13 Commits

Author SHA1 Message Date
richard-dds
db73a12e95 Limit size of uploaded files 2019-08-16 13:30:03 -04:00
richard-dds
7f477ec034 Fix "request entity too large" when uploading TO PDF
Do this by setting disabled="true" on the file input element after
selecting the file, and re-enabling it if the file is removed. This
prevents the file from actually being sent to the server, since we're
not using it there anyway.
2019-08-15 14:47:19 -04:00
richard-dds
330c9ef365 Correctly set and unset uploadError 2019-08-13 14:08:53 -04:00
richard-dds
3ecb2cf84f Update copy for file upload failure 2019-08-13 10:51:09 -04:00
richard-dds
8d7c4672b0 Display file upload errors in form 2019-08-13 10:51:09 -04:00
richard-dds
f5c8424b46 Wire up FE uploads to TO form 2019-08-05 14:58:10 -04:00
richard-dds
8eba9a097d Add CSP file uploads 2019-08-05 14:58:10 -04:00
leigh-mil
56bc9dd4e5 update components to emit valid on field-change and use in TO form 2019-06-17 12:45:55 -04:00
leigh-mil
5be4efb9d9 Reimplement SaveButton disabled until input change 2019-06-14 11:11:24 -04:00
dandds
0e89a55c07 Display and overwrite task order uploads correctly.
- Populate the POSTed form with additional data from the existing TO
  model. This way the pdf attachment has to be explicitly overwritten.
- Adjust the frontend so that if there is an existing PDF, it only sends
  a file input back if the user removes the existing PDF.
2019-06-11 09:58:32 -04:00
dandds
159360692f Improve task order upload validation handling.
- Display validation errors.
- Rerender validated form data correctly.
- Clear error state correctly.
2019-06-06 13:57:07 -04:00
dandds
fb430e76e9 Basic frontend uploader component 2019-06-06 13:57:07 -04:00
Montana
eaa5c93922 Create upload macro 2019-02-07 13:21:31 -05:00