342 Commits

Author SHA1 Message Date
leigh-mil
2742c4951a Update stickybits directive in the base-form 2019-08-30 15:18:29 -04:00
richard-dds
11c1c37d7f Remove unnecessary macro and Vue props 2019-08-28 15:56:55 -04:00
richard-dds
67a4bb602d Require portfolio id in upload-token
It's necessary for the authz decorator
2019-08-28 15:56:55 -04:00
richard-dds
85ba61b97b Formatting 2019-08-28 15:06:20 -04:00
richard-dds
de090a319b Pass objectName into upload constructor 2019-08-28 15:06:20 -04:00
richard-dds
27e0e16707 Require auth on upload-token 2019-08-28 15:06:20 -04:00
richard-dds
7d1dfa1d0e Get presigned upload token via ajax request 2019-08-28 15:06:13 -04:00
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
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
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
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
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
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
George Drummond
d17df2aaad
Remove unused templates 2019-06-14 12:44:50 -04:00
leigh-mil
5be4efb9d9 Reimplement SaveButton disabled until input change 2019-06-14 11:11:24 -04:00
richard-dds
06ea746f38 Formatting 2019-06-13 13:33:15 -04:00
richard-dds
a6c015753a Fix wonky form validation 2019-06-13 13:27:32 -04:00
richard-dds
082ff8c735 Formatting 2019-06-12 16:10:10 -04:00
richard-dds
31d95e51bc Require defense component input before showing Save button 2019-06-12 16:10:10 -04:00
leigh-mil
1e817c6755 Update copy, add totals box, style buttons 2019-06-12 15:29:47 -04:00
richard-dds
6835f149c3 Formatting 2019-06-12 14:31:44 -04:00