5631 Commits

Author SHA1 Message Date
dandds
cf6bd7dcd0
Merge pull request #1007 from dod-ccpo/k8s-cleanup
K8s cleanup
2019-08-08 10:37:50 -04:00
dandds
6593b7eda1 Create README for Kubernetes config. 2019-08-08 09:33:09 -04:00
dandds
46cca3c40f Ignore deployment configuration files. 2019-08-08 09:01:22 -04:00
dandds
c100cc8d1f Move k8s config dir to deploy dir 2019-08-08 08:30:14 -04:00
tomdds
3558e23a5e
Merge pull request #972 from dod-ccpo/dependabot/npm_and_yarn/lodash.merge-4.6.2
Bump lodash.merge from 4.6.1 to 4.6.2
2019-08-07 11:33:09 -04:00
dependabot[bot]
4f934ee661
Bump lodash.merge from 4.6.1 to 4.6.2
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-07 13:51:09 +00: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
5a1c6b2b39 Remove azure-storage-file 2019-08-06 16:56:10 -04:00
leigh-mil
4029c2b8cb
Merge pull request #1003 from dod-ccpo/bug-fixes
More styling fixes
2019-08-06 16:56:01 -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
leigh-mil
f259024509
Merge pull request #1001 from dod-ccpo/styling-fixes
Styling fixes
2019-08-06 12:07:48 -04:00
leigh-mil
7ac8912d05
Merge pull request #1002 from dod-ccpo/csp-disclaimer
CSP disclaimer
2019-08-06 12:00:32 -04:00
leigh-mil
53943a30c3 Adjust columns widths and padding to fit large numbers 2019-08-06 11:59:23 -04:00
dandds
bd3662e8ce Add config for EFS persistent volume in AWS k8s cluster.
Chose Elastic File Storage over EBS (Elastic Block Storage) because the
latter can only be mounted into a single node.

This adds the RBAC config and deployment for managing EFS mounts within
the cluster. Largely depends on this efs-provisioner config:
https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs
The config has been hard-copied into the repo and updated for future
reference. Note that the config requires an environment variable
substitution and cannot be applied directly to the cluster.
2019-08-06 11:31:19 -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
leigh-mil
d755d96bae Update z-index of parent element to the tooltip
Source: https://foundation.zurb.com/forum/posts/50229-fixing-the-sticky-dropdown-z-index-issue
2019-08-06 11:25:42 -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
richard-dds
5329937eb9 Polyfill fetch 2019-08-06 10:39:46 -04:00
leigh-mil
9cf72e9466 Update name of permission 2019-08-06 10:38:58 -04:00
leigh-mil
5049b8262d Add alert to log in page with csp disclaimer 2019-08-06 10:33:28 -04:00
leigh-mil
8460a454cb
Merge pull request #1000 from dod-ccpo/update-ccpo-logo
Update CCPO logo
2019-08-06 10:24:58 -04:00
richard-dds
a4581e7a7c js this woes 2019-08-06 10:23:04 -04:00
leigh-mil
71e72bcbcf If there are 0 envs, do not show the toggle arrow and disable the link 2019-08-06 10:19:54 -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
leigh-mil
d7cd913881 Remove list-style-type because it was causing the li to render without any height 2019-08-06 09:55:00 -04:00
richard-dds
0bc5ccdb95
Merge pull request #988 from dod-ccpo/task-order-cancel
Save draft TO on cancel
2019-08-06 09:50:50 -04:00
richard-dds
68a1004bf1 Make Azure FE config injectable 2019-08-05 16:51:28 -04:00
leigh-mil
b0b8f644d3 Update CCPO logo 2019-08-05 16:38:10 -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
richard-dds
e5a0318310 Formatting 2019-08-05 16:04:38 -04:00
leigh-mil
90ae235cd0 Create query to get all CCPO users 2019-08-05 16:04:31 -04:00
richard-dds
0b201809a1 Configure js uploader based on CLOUD_PROVIDER environment var 2019-08-05 15:59:27 -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
94b6b320fb Provide mock implementation of uploader 2019-08-05 14:58:10 -04:00
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
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
leigh-mil
7afc24deb1
Merge pull request #997 from dod-ccpo/to-signing-bug
TO Review page bugs
2019-08-05 13:49:36 -04:00
richard-dds
e034269a02 Don't flash when cancelling TO form with invalid data 2019-08-05 09:56:15 -04:00