6038 Commits

Author SHA1 Message Date
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
leigh-mil
bea9439330 Move text to translations 2019-09-26 09:53:20 -04:00
leigh-mil
05aca75679 Fix typo and add flash message for when invite can't be revoked 2019-09-26 09:53:20 -04:00
leigh-mil
663fb9f288 Use ApplicationRoles.disable() instead of Applications.remove_member() 2019-09-26 09:53:20 -04:00
leigh-mil
a9300132f8 Move modal out of the table and fix button styling 2019-09-26 09:46:24 -04:00
leigh-mil
7ad7c79897 Update seed script so app members have invites 2019-09-26 09:46:24 -04:00
leigh-mil
37fab735a4 Add modal to page for revoking an invite 2019-09-26 09:46:24 -04:00
leigh-mil
a03ff56017 Invites are revokable if they are not expired, and add success flash message 2019-09-26 09:46:24 -04:00
leigh-mil
fd691bc0c1 Refactor Applications.remove_member 2019-09-26 09:46:24 -04:00
leigh-mil
ed116ee791 Delete env roles associated with disabled app role 2019-09-26 09:46:23 -04:00
leigh-mil
5c54c043c0 Add route for applications.revoke_invite 2019-09-26 09:46:23 -04:00
dandds
dcf10e596f Delete some additional unused Vue components. 2019-09-26 05:48:14 -04:00
dandds
8d7c7a0d6e Render Vue component templates as part of test script.
Add a command to the test script to output up-to-date Vue component
templates. Most of the Vue component tests rely on HTML templates built
from Jinja.
2019-09-25 11:32:10 -04:00
dandds
e0565e5b9a Measure JS test coverage for entire js directory.
Add an additional flag to the yarn `test` script.
2019-09-25 11:32:10 -04:00
dandds
a4f0b10bbb
Merge pull request #1092 from dod-ccpo/template-cleanup
Delete unused Jinja macros and rearrange templates.
2019-09-25 11:31:07 -04:00
dandds
4f8cbc2b68 Delete unused Jinja macros and rearrange templates.
Templates and fragments that relate to specific resources (portfolios,
applications, task orders) should reside in directories named for the
relevant resource. This also matches the way the application routes are
distributed among modules named for each resource type.
2019-09-25 11:19:56 -04:00
dandds
c8a2e9ee96
Merge pull request #1093 from dod-ccpo/js-cleanup
Delete unused Vue components and remove references to them.
2019-09-25 09:51:38 -04:00
dandds
6dc1e10e77 Delete unused Vue components and remove references to them. 2019-09-25 06:14:12 -04:00
tomdds
494978fabd
Merge pull request #1077 from dod-ccpo/cloud-provision-errors
First pass at Cloud Provision Exceptions
2019-09-24 14:00:47 -04:00
graham-dds
7e340936dc
Merge pull request #1088 from dod-ccpo/make-application-creation-multistep
Make application creation multistep
2019-09-24 13:56:36 -04:00
tomdds
ff8119acd1 Integrate errors with MockCloudProvider 2019-09-24 13:54:41 -04:00
tomdds
5aa5acfb2a Remove redundant EnvironmentExistsException 2019-09-24 13:53:41 -04:00
tomdds
08f98a557f Create separate authentication and authorization exceptions 2019-09-24 13:53:41 -04:00
tomdds
34c616ce63 First pass at Cloud Provision Exceptions 2019-09-24 13:53:41 -04:00
richard-dds
d60cc58dee
Merge pull request #1083 from dod-ccpo/user-provisioning-task
Add create_user task
2019-09-24 13:50:17 -04:00
dandds
07b287e9aa
Merge pull request #1090 from dod-ccpo/clin-fields-test
Add a JS test for the clin-fields Vue component.
2019-09-24 11:04:45 -04:00
graham-dds
dbc851258f Update .secrets.baseline 2019-09-24 10:16:49 -04:00
graham-dds
a96c2b3cdd Update / create new tests for application creation 2019-09-24 10:16:49 -04:00
graham-dds
66f606d951 add permissions to new application routes 2019-09-24 10:16:49 -04:00
graham-dds
0bdbe755e3 Allow the ability to update environment names 2019-09-24 10:16:49 -04:00
graham-dds
2dd24aa286 Allow application creation without environments 2019-09-24 10:16:49 -04:00
graham-dds
8c8f0be761 Allow application creation without environments 2019-09-24 10:16:49 -04:00
graham-dds
6b74766df9 Add translation for next button in new app form 2019-09-24 10:16:48 -04:00
graham-dds
4c8bb0a35d change ulr_for arguments to new multistep form 2019-09-24 10:16:48 -04:00
graham-dds
f0593cde70 Break new application template into form steps 2019-09-24 10:16:48 -04:00
graham-dds
1a11182eef Break new-application JS component into form steps 2019-09-24 10:16:48 -04:00