Commit Graph

2281 Commits

Author SHA1 Message Date
richard-dds
736e2aa21d Merge pull request #994 from dod-ccpo/cloud-pdf-uploads
CSP PDF uploads
2019-08-08 11:17:07 -04:00
richard-dds
0aaa3d542e Formatting 2019-08-06 17:17:38 -04:00
richard-dds
f1560d5d7f Import CSP deps in uploader implementations 2019-08-06 16:58:57 -04:00
richard-dds
86c1dfb749 Enforce PDF in TO uploader file picker 2019-08-06 16:49:19 -04:00
richard-dds
59de01031c More secure SAS permissions for Azure upload 2019-08-06 13:53:52 -04:00
dandds
326f8c3e03 Merge pull request #998 from dod-ccpo/k8s-crls
K8s crls
2019-08-06 13:31:37 -04:00
dandds
0468d5353a Fix a few bugs in CRL handling.
- Don't write a CRL to the cache if the response code is above 399. (We
  were getting HTML files as CRLs, d'oh).
- Fix a kwarg in the CRL logger (extras -> extra).
- Set Kubernetes clusters to log output as JSON.
2019-08-06 13:21:36 -04:00
leigh-mil
86b66e5685 Merge pull request #999 from dod-ccpo/ccpo-user-list
Page for CCPO users list
2019-08-06 13:18:57 -04:00
dandds
44141c002d Fix up sync-crls script and add to Dockerfile.
- Fix some python formatting and import issues
- Fix dockerfile to include sync-crls script
- Adjust sync-crls script to use paths and CLI tools available in the
  Docker container
2019-08-06 11:31:19 -04:00
dandds
b1cf89051a Add kubernetes config and scripts for syncing CRLs.
This adds a previous version of the CRL sync functionality back to the
repo, with some small adjustments. We now grab the CRLs directly from
their DISA URLs.

The CRL sync is handled by a kubernetes cronjob that sync the files to a
persistent volume that is mounted into each Flask app container.
2019-08-06 11:05:18 -04:00
richard-dds
989e28e5fb Destructure get_token() result 2019-08-06 10:41:17 -04:00
leigh-mil
9cf72e9466 Update name of permission 2019-08-06 10:38:58 -04:00
richard-dds
80831c2d85 Set uploader configs in __init__
Now missing configs cause the app to crash right at startup
2019-08-06 10:00:09 -04:00
richard-dds
b18e291511 Set Azure protocol to https
- Default allows https/http
2019-08-06 09:58:44 -04:00
richard-dds
72275421d0 More CSP-specific docstrings for get_token 2019-08-05 16:14:01 -04:00
leigh-mil
083896a689 Update template to show table of CCPO users 2019-08-05 16:11:24 -04:00
leigh-mil
90ae235cd0 Create query to get all CCPO users 2019-08-05 16:04:31 -04:00
leigh-mil
41820813ed Add in route for CCPO users page and permissions to view page 2019-08-05 15:23:17 -04:00
richard-dds
6405d9b958 Make Azure account name and bucket name configurable 2019-08-05 14:58:10 -04:00
richard-dds
3d414e1a60 Fix TO upload tests 2019-08-05 14:58:10 -04:00
richard-dds
f5c8424b46 Wire up FE uploads to TO form 2019-08-05 14:58:10 -04:00
richard-dds
8eba9a097d Add CSP file uploads 2019-08-05 14:58:10 -04:00
richard-dds
1cd35445ea Fix CLINForm.validate() 2019-08-05 14:02:06 -04:00
richard-dds
e034269a02 Don't flash when cancelling TO form with invalid data 2019-08-05 09:56:15 -04:00
richard-dds
24049c4c81 Formatting 2019-08-05 09:56:15 -04:00
richard-dds
c99e05ed86 Some styling for cancel modal 2019-08-05 09:56:15 -04:00
richard-dds
ec6494c6c3 Add another route for new TOs 2019-08-05 09:56:15 -04:00
richard-dds
0216faf1e6 Fix cancel urls 2019-08-05 09:56:15 -04:00
richard-dds
dd93dd5aea Allow user to cancel without saving 2019-08-05 09:56:15 -04:00
richard-dds
88853e352c Formatting 2019-08-05 09:55:34 -04:00
richard-dds
470df0a572 New route for cancelling TO form 2019-08-05 09:55:34 -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
richard-dds
8edfd1c355 Restrict access to edit route 2019-07-30 14:24:07 -04:00
richard-dds
581b55b2eb Formatting 2019-07-30 14:11:20 -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
74d4974437 Clean up code from old version of TO builder 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
aa25f671e3 Update message for perms decorator to reflect what user is trying to access 2019-07-18 10:31:45 -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
3401713898 Only delete and add CLINs to a TO when they are passed in the form data 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