533 Commits

Author SHA1 Message Date
richard-dds
a6f925e080
Merge pull request #1030 from dod-ccpo/file-upload-fixes
File upload fixes
2019-08-19 10:36:10 -04:00
leigh-mil
666f237002 Update text input vue component so that it only shows the validation icon on mount when the form is not a form that is inset into a page 2019-08-19 10:28:20 -04:00
richard-dds
9b7186c94f Formatting 2019-08-16 13:49:50 -04:00
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
b49d926d7a Both uploader impelementations should return same response 2019-08-15 14:10:28 -04:00
richard-dds
51272922bb Update Vue test templates 2019-08-14 11:54:56 -04:00
richard-dds
330c9ef365 Correctly set and unset uploadError 2019-08-13 14:08:53 -04:00
richard-dds
b48154f738 Fix MockUploader by returning ok response 2019-08-13 10:51:49 -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
59de01031c More secure SAS permissions for Azure upload 2019-08-06 13:53:52 -04:00
richard-dds
5329937eb9 Polyfill fetch 2019-08-06 10:39:46 -04:00
richard-dds
a4581e7a7c js this woes 2019-08-06 10:23:04 -04:00
richard-dds
68a1004bf1 Make Azure FE config injectable 2019-08-05 16:51:28 -04:00
richard-dds
e5a0318310 Formatting 2019-08-05 16:04:38 -04:00
richard-dds
0b201809a1 Configure js uploader based on CLOUD_PROVIDER environment var 2019-08-05 15:59:27 -04:00
richard-dds
6405d9b958 Make Azure account name and bucket name configurable 2019-08-05 14:58:10 -04:00
richard-dds
94b6b320fb Provide mock implementation of uploader 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
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
f3de41cc06 Fix issue where error message was showing up before both dates were
filled in

- only set startDate and endDate in data if there is are initial dates
- only update popValid and showPopError if both dates are present
2019-08-02 15:19:50 -04:00
leigh-mil
2d20d27d01 Add POP as field on the form vue component so whether or not it is valid can be tracked to toggle the save button 2019-08-02 14:54:44 -04:00
leigh-mil
5a664c5a83 Default showPopError to false when there are no initial PoP dates 2019-08-02 14:20:32 -04:00
leigh-mil
e1fbac5a52 Add front end validation that enforces that PoP end is after start 2019-08-01 16:53:32 -04:00
leigh-mil
ec94c3d084
Merge pull request #976 from dod-ccpo/activate-next-buttons-to-form
Activate next buttons on TO form
2019-07-18 16:47:37 -04:00
leigh-mil
41f21ad830 Use variable to make canSave clearer 2019-07-18 14:59:56 -04:00
leigh-mil
90b057d0b2 Merge two sets of props in form mixin vue component 2019-07-18 14:57:50 -04:00
mk-dds
57894c16ca Update TO to be 13 digits 2019-07-18 13:50:48 -04:00
leigh-mil
04d6672c0c Add mounted event emitter to checkbox input and send whether or not the field is valid on field-change 2019-07-18 13:50:16 -04:00
leigh-mil
72d274c1f8 Add canSave to the form mixin to toggle whether or not the Next button is disabled 2019-07-18 13:29:41 -04:00
leigh-mil
72da5f36c3 Move common to review html into a fragment and delete unused submit confirmation macro and vue component 2019-07-18 10:31:45 -04:00
leigh-mil
5b208d9e8d Create TO builder base file and use it to simplify step templates 2019-07-18 10:31:45 -04:00
mk-dds
ba99e04767 fixes #167077646, clin 3 not added to obligated total 2019-07-16 13:57:43 -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
tomdds
5234677ad3 Set incoming props as variable names rather than values in test rendering to allow props to be properly passed to component under test 2019-07-11 17:52:54 -04:00
tomdds
fd6ad924d9 Spike that generates a checkbox template from jinja and allows us to mount and manipulate it 2019-07-11 17:36:56 -04:00
George Drummond
378a0ea2bd
Merge pull request #943 from dod-ccpo/remove-confirmation-popover
Remove confirmation-popover
2019-06-19 13:24:04 -04:00
montana
d80d8210f9 Handle NaN in obligated amount input properly
- there is some hackiness to the text input portion
2019-06-19 10:42:17 -04:00
George Drummond
9bf06ad5e2
Delete RequiredLabel 2019-06-19 09:48:46 -04:00
George Drummond
929ad8648b
Remove confirmation-popover 2019-06-18 14:32:25 -04:00
leigh-mil
1aab857a1e set value of checkbox to false when modal closes 2019-06-17 18:31:39 -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
dandds
0c58ad07fb Track CLIN type change
- emit a new event when CLIN type changes
- update totals based on new CLIN type
2019-06-17 11:26:58 -04:00
montana
23b7df2153 Keep track of children CLINS to update amount
- emit CLIN amount and type when amount changes
- totals are added correctly based on CLIN type
2019-06-17 11:26:18 -04:00
montana-mil
c775c7322c Add change handler to clin field components
- emit clin type and obligated amount
2019-06-17 11:25:03 -04:00
Montana
4074f11e25 New TotalsBox vue component
- update to_form data when CLIN amounts change
2019-06-17 10:42:30 -04:00
leigh-mil
52be812292
Merge pull request #906 from dod-ccpo/style-to-form-2
Style to form 2
2019-06-17 09:42:10 -04:00