1098 Commits

Author SHA1 Message Date
richard-dds
81a478915d Fix uploader test and refactor makeTestWrapper to accept data fn 2019-08-05 14:58:10 -04:00
richard-dds
3d414e1a60 Fix TO upload tests 2019-08-05 14:58:10 -04:00
leigh-mil
25ab64f748 Add validation to form for enforcing chronological order of PoP start and end dates 2019-08-01 14:45:50 -04:00
leigh-mil
c9451e0f93 Update tests to use proper route
Pass portfolio and creator to TOFactory so user has perms to edit TO
2019-07-30 15:26:07 -04:00
richard-dds
43ed257f10 Future proof edit route 2019-07-30 14:07:04 -04:00
richard-dds
136b97b23f Use new edit route 2019-07-30 14:06:40 -04:00
richard-dds
ce6b526da1 Add task order /edit route 2019-07-30 13:54:47 -04:00
leigh-mil
299804ade2 Check to make sure clins complete as part of checking if TO is complete 2019-07-29 15:50:50 -04:00
leigh-mil
b3515bb14d Reorder tests so that tests for each step are grouped together 2019-07-18 13:33:37 -04:00
leigh-mil
e3dfd18c7f Raise error if TO review or signature page are accessed when the TO is incomplete 2019-07-18 13:33:37 -04:00
leigh-mil
dc3f9a8c1c Update route to include form so it is clear what step refers to
Move submit route into the same file and the other form steps
2019-07-18 10:31:45 -04:00
leigh-mil
4826e8002b Rename route functions to be clearer 2019-07-18 10:31:45 -04:00
leigh-mil
e3c6b08d34 Remove old task order edit and update routes 2019-07-18 10:31:45 -04:00
leigh-mil
b9e14f8719 Add route and template for signature confirmation 2019-07-18 10:31:45 -04:00
leigh-mil
68e0d261f6 Add review route and template 2019-07-18 10:31:45 -04:00
leigh-mil
b2db53096f Rename routes 2019-07-18 10:31:45 -04:00
leigh-mil
7ebe84a9cb Add step 3 route and template 2019-07-18 10:31:45 -04:00
leigh-mil
6ab3e24883 Add second step 2019-07-18 10:31:45 -04:00
leigh-mil
45390835ed Add routes for first step of TO builder 2019-07-18 10:31:45 -04:00
tomdds
b9bfe64c39 Fixed file formatting 2019-07-15 14:00:43 -04:00
tomdds
506d53f862 Migrate Jinja to Vue Template Rendering to pytest 2019-07-15 11:05:42 -04:00
dandds
bd8a469e93 Fix tests that were broken by a fixture CRL expiring.
Adjust the broken tests to use our dynamic fixtures for PKI files. Some
tests still rely on these fixtures, but this is a minimal patch to get
the test suite passing again. Eventually all tests should use the pytest
fixtures.
2019-07-10 11:11:49 -04:00
leigh-mil
2ea0efb60a Update test 2019-06-20 14:38:55 -04:00
leigh-mil
a0f6d98d28 Remove more unnecesary tests 2019-06-20 14:28:56 -04:00
leigh-mil
f76d67dddb update comment 2019-06-20 14:28:56 -04:00
leigh-mil
c1383e1ec7 Delete unneeded tests 2019-06-20 14:28:56 -04:00
dandds
0fbc2ea270 Redirect user to TO edit page when they save incomplete state. 2019-06-19 12:10:48 -04:00
dandds
c60baf0709
Merge pull request #944 from dod-ccpo/app-settings-bug
Some environments might not have associated users.
2019-06-19 11:25:11 -04:00
dandds
94d8680361 Do not return deactivated portfolios in Portfolios.for_user 2019-06-19 10:39:42 -04:00
dandds
3c5df7b1aa Some environments might not have associated users.
There was a bug in the application settings route that threw an error if
an environment role and its associated application role did not have an
associated user. Updated to check for the user name on the application role.
2019-06-19 10:12:01 -04:00
George Drummond
d672f5792c
Save as draft 2019-06-18 14:11:55 -04:00
dandds
c4d8067f45 Fixes a bug where the CLIN type was not displaying correctly for saved
TOs.

The enum for the CLIN type needs to be coerced in the form data so that
the `jedi_clin_field` data is the value of the enum option. Perviously
the `jedi_clin_field` was being populated with a stringified
representation of the enum, like `JEDICLINType.JEDI_CLIN_1`.
2019-06-18 11:33:41 -04:00
George Drummond
05ed1c6d68
Remove unused validation 2019-06-17 13:33:47 -04:00
George Drummond
9f274a7d1c
Script to find unused translations 2019-06-14 09:59:07 -04:00
George Drummond
4d7ad667b7
Remove Portfolios.can_revoke_access_for 2019-06-13 15:49:36 -04:00
George Drummond
490907257b
Remove Portfolios.revoke_access 2019-06-13 15:48:39 -04:00
dandds
febc6f7890 Remove unused form code 2019-06-13 09:10:52 -04:00
leigh-mil
0bafa51bb9
Merge pull request #894 from dod-ccpo/style-to-form
Style to form
2019-06-12 15:59:22 -04:00
George Drummond
32022b054c
Merge pull request #895 from dod-ccpo/seeds-changes
More realistic seeds
2019-06-12 15:43:34 -04:00
leigh-mil
4e46827335 Remove nesting from route when not needed 2019-06-12 15:30:25 -04:00
dandds
717e996685 Remove unused utilities 2019-06-12 14:54:01 -04:00
dandds
30b93d1c50 Remove unused TO code. 2019-06-12 14:27:36 -04:00
George Drummond
14b3e3f933
LazyFunction in CLINFactory 2019-06-12 14:10:12 -04:00
dandds
bea2e02253 Remove unused EDA client code 2019-06-12 13:42:55 -04:00
George Drummond
9edf816765
More realistic seeds 2019-06-12 11:41:40 -04:00
George Drummond
e554845407
Merge pull request #887 from dod-ccpo/to-review
TO Review Page
2019-06-12 11:28:15 -04:00
dandds
b63da3ad54
Merge pull request #886 from dod-ccpo/upload-fixes
Upload fixes
2019-06-12 11:21:40 -04:00
George Drummond
0f0a559dfa
TO Review Page 2019-06-12 09:43:00 -04:00
dandds
06f4aeb74d
Merge pull request #880 from dod-ccpo/to-review-modal
TO Review Submit Modal
2019-06-11 13:10:17 -04:00
Montana
8446a79a9a Sign TO in post route 2019-06-11 12:06:11 -04:00