6056 Commits

Author SHA1 Message Date
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
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
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