1079 Commits

Author SHA1 Message Date
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
George Drummond
cad43af455
Portfolio archiving 2019-06-11 11:30:37 -04:00
dandds
0e89a55c07 Display and overwrite task order uploads correctly.
- Populate the POSTed form with additional data from the existing TO
  model. This way the pdf attachment has to be explicitly overwritten.
- Adjust the frontend so that if there is an existing PDF, it only sends
  a file input back if the user removes the existing PDF.
2019-06-11 09:58:32 -04:00
Montana
33248daa6b Add route tests 2019-06-11 09:31:08 -04:00
dandds
49332c5d6e Only raise FileLength validation error on files 2019-06-10 19:26:44 -04:00
richard-dds
30ef2a67ef Fix bug in application member deletion 2019-06-10 16:43:47 -04:00
richard-dds
ee46fb2320 Formatting 2019-06-10 15:34:01 -04:00
richard-dds
40b599d1d0 Fix rebase conflicts 2019-06-10 15:33:30 -04:00
richard-dds
48d4b466b1 Formatting 2019-06-10 15:16:26 -04:00
richard-dds
c4d02bb026 Remove unused imports 2019-06-10 15:16:26 -04:00
richard-dds
6eb64d4aae Add test for TaskOrders.sort 2019-06-10 15:16:26 -04:00
richard-dds
e84e61bbad Update seed script with TOs of various statuses 2019-06-10 15:15:39 -04:00
richard-dds
fd159a2d80 Remove start_time assertion 2019-06-10 15:15:39 -04:00
richard-dds
0f4d17a94a Implemen TaskOrder.is_completed 2019-06-10 15:15:39 -04:00
richard-dds
8ecf112c48 Implement new CLIN-based TO statuses 2019-06-10 15:15:08 -04:00
richard-dds
7b8ccbf145 Implement TO start_date and end_date 2019-06-10 15:15:08 -04:00
richard-dds
898f63a2f5 Fix CLINFactory 2019-06-10 15:15:08 -04:00
leigh-mil
46cd8f3762 Fix tests and formatting 2019-06-10 12:36:57 -04:00
leigh-mil
36200e01ad Create CLINs when creating a TO 2019-06-10 12:29:54 -04:00
leigh-mil
633e1b6a37 Update TO Form to include CLINs and LOAs 2019-06-10 12:29:54 -04:00