6123 Commits

Author SHA1 Message Date
leigh-mil
c24c9f3c2b
Merge pull request #1100 from dod-ccpo/clin-errors-part-2
Fix PoP error bug
2019-10-02 11:40:39 -04:00
leigh-mil
3a6db436d6
Merge pull request #1097 from dod-ccpo/404-page
Styling error page
2019-10-02 11:02:51 -04:00
leigh-mil
738d73dc03 Add in a default error sub heading 2019-10-02 10:55:15 -04:00
leigh-mil
7db38ede59 Remove extra kwargs and put the text in the template since all error pages will show the same text in MVP 2019-10-02 10:45:22 -04:00
leigh-mil
b990a59dc9 Clean up stylesheet 2019-10-02 10:45:22 -04:00
leigh-mil
1435734969 Add monkeypatch to mock handle_error() 2019-10-02 10:45:22 -04:00
leigh-mil
6013d93182 Styling error page 2019-10-02 10:44:54 -04:00
graham-dds
3aa5895c93
Merge pull request #1098 from dod-ccpo/add-members-to-app-provisioning-flow
Add members to app provisioning flow
2019-10-01 16:39:07 -04:00
graham-dds
d4b5e484ee rearrange templates to follow new dir structure 2019-10-01 16:09:51 -04:00
graham-dds
94ccda9d84 update .secrets.baseline 2019-10-01 15:56:18 -04:00
graham-dds
d4bc051eb4 Use correct flash for step 2 2019-10-01 15:56:18 -04:00
graham-dds
337c98f8cd Add / update tests
- add tests for step3 of new application
2019-10-01 15:56:18 -04:00
graham-dds
00547a9b34 Update translations for app creation buttons 2019-10-01 15:56:18 -04:00
graham-dds
02a4f92840 Clean up templates
- Make sure heading includes app name
- Remove "back to applications" link
- Add "submit" link button to step 3
2019-10-01 15:56:18 -04:00
graham-dds
8df0bfedde Add app to render_args of render_template helper 2019-10-01 15:56:18 -04:00
graham-dds
98b950dfa3 don't use render template helper function for envs 2019-10-01 15:56:18 -04:00
graham-dds
dfcdee3910 Add step 3 POST route for app member creation 2019-10-01 15:56:14 -04:00
leigh-mil
d2c9a3e215 Pass optional kwarg in the macro so the optional label is not rendered 2019-10-01 14:40:29 -04:00
leigh-mil
a5d34f9bb2 Check against the contract dates instead of the current maxStart and minEnd values to calculate the new maxStart and minEnds 2019-10-01 12:51:51 -04:00
graham-dds
e0e6c0569c Add "action" param to members macro 2019-10-01 09:16:36 -04:00
graham-dds
0ed782f4e8 Move app member creation business logic from route 2019-10-01 09:16:36 -04:00
graham-dds
4aa0afdb67 New env role logic in filter_env_roles_form_data 2019-09-30 15:41:00 -04:00
graham-dds
fb58bc1ba1 Add GET route for step 3 2019-09-30 15:41:00 -04:00
graham-dds
e80585b3b2 Move member editing template to macro 2019-09-30 15:41:00 -04:00
leigh-mil
b7677018c2
Merge pull request #1095 from dod-ccpo/clin-errors
PoP Date Range
2019-09-30 11:12:54 -04:00
leigh-mil
0c54b61579 Remove watch from date selector component 2019-09-26 16:27:10 -04:00
leigh-mil
2f3863b84d Remove emitters for individual value changes 2019-09-26 16:27:10 -04:00
leigh-mil
1912a9127f Add computed properties for Date object for dates used in functions 2019-09-26 16:27:10 -04:00
leigh-mil
a8635e8c8b Add explanation about maxStartDate and minEndDate,
Refactor calc max and min functions
2019-09-26 16:27:10 -04:00
leigh-mil
f840bbb941 Use let instead of var 2019-09-26 16:22:16 -04:00
leigh-mil
92243965ec parse contract dates into datetime objects 2019-09-26 16:22:16 -04:00
leigh-mil
df5f4b9d3e Get rid of unnecessary data in pop date range 2019-09-26 16:22:15 -04:00
leigh-mil
c03820e53a Emit event on input from date selector so parent element can respond 2019-09-26 16:22:15 -04:00
leigh-mil
ad86dc33fc Show validation icon only if the date is complete 2019-09-26 16:22:15 -04:00
leigh-mil
e41aeaee25 Fix end date in alert 2019-09-26 16:22:15 -04:00
leigh-mil
789e6662a2 Add tests for pop date range vue component 2019-09-26 16:22:15 -04:00
leigh-mil
5e1ce65662 Move html out of clin fields macro and fix initial values in pop date range when there is no form data 2019-09-26 16:22:15 -04:00
leigh-mil
eef15f311f Remove logic for validating PoP date range out of clin-fields vue component 2019-09-26 16:22:02 -04:00
leigh-mil
53cef32af5 Use date-selector component to display errors related to date fields 2019-09-26 16:22:02 -04:00
leigh-mil
e26edcd1bb Add tests for updated functionality in date-selector and formatting 2019-09-26 16:22:02 -04:00
leigh-mil
32583feb99 Validate year based on min and max dates and only show the validation icons when the date has been completely filled in 2019-09-26 16:22:02 -04:00
leigh-mil
843501c00a Fix bug where name attribute of start date fields was not properly assigned
Fix bug in pop_date_range were startValid and endValid were not being properly updated
2019-09-26 16:22:02 -04:00
leigh-mil
d52abeb0a9 Only update the min and max values for other field when the field that was updated is valid -- This prevents both fields from becoming invalid when the dates are not in chronological order. 2019-09-26 16:22:02 -04:00
leigh-mil
d42cd1ff4f Dynamically update the max and min values for start and end date based on the date in the other field and contract dates 2019-09-26 16:22:02 -04:00
leigh-mil
0e641a9064 Create vue component to manage date range logic 2019-09-26 16:21:27 -04:00
dandds
ae57baf455
Merge pull request #1094 from dod-ccpo/test-changes
updates to script/test and JS coverage
2019-09-26 15:44:14 -04:00
dandds
ee222c64d9
Merge pull request #1096 from dod-ccpo/more-js-deletions
Delete some additional unused Vue components.
2019-09-26 15:14:13 -04:00
dandds
6c22d5a524 Apply section heads to test output for clarity.
This also removes a test setup command that added an uploads directory.
It's no longer necessary.
2019-09-26 13:23:17 -04:00
leigh-mil
7d0db1c185
Merge pull request #1084 from dod-ccpo/revoke-app-invite
Revoke app invite
2019-09-26 13:16:47 -04:00
leigh-mil
c9f654664c Update test to check that env role was deleted and that the status changed on the app role 2019-09-26 10:46:29 -04:00