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
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
3c56f96fa2
Not using previous_button_link for step 1
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
59545aaf0e
Add TO cancel modal
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
12dc805465
Use dollar formatting
2019-08-02 16:19:42 -04:00
leigh-mil
e333f32aea
Merge pull request #995 from dod-ccpo/pop-dates-bug
...
PoP start date must be before end
2019-08-02 16:10:17 -04:00
dandds
82b8a420c8
Merge pull request #996 from dod-ccpo/moar-k8s
...
SSL/TLS and Authentication for Kubernetes Clusters
2019-08-02 15:58:10 -04:00
leigh-mil
4e71b6dcef
Do not show edit TO button if user does not have perms or if TO is expired
2019-08-02 15:50:24 -04:00
leigh-mil
46a7702f4f
Add containing div around to review fragment
2019-08-02 15:44:09 -04:00
leigh-mil
5adb2d016e
Fix route in TO sign button to direct to the form review page and remove modal call
2019-08-02 15:39:08 -04:00
dandds
27a0569a7e
HTTP -> HTTPS upgrade redirects for the staging sites.
...
There may be a cleaner way to configure this with Kubernetes. For now,
we expose port 80 on the load balancers and let NGINX redirect that
traffic to the HTTPS version of the site.
2019-08-02 15:30:37 -04:00
leigh-mil
f3de41cc06
Fix issue where error message was showing up before both dates were
...
filled in
- only set startDate and endDate in data if there is are initial dates
- only update popValid and showPopError if both dates are present
2019-08-02 15:19:50 -04:00
dandds
e5c360452c
Add SSL/TLS config for staging sites.
...
This presumes the existence of TLS kubernetes secrets available in both
clusters. It adds NGINX config for SSL termination and the necessary k8s
config to write the certificate and private key to the NGINX container.
2019-08-02 15:01:56 -04:00
dandds
1577312fb8
Add htpwasswd for basic auth on login-dev.
...
Add the k8s secret and volume mount for the htpasswd file.
2019-08-02 15:01:56 -04:00
leigh-mil
2d20d27d01
Add POP as field on the form vue component so whether or not it is valid can be tracked to toggle the save button
2019-08-02 14:54:44 -04:00
leigh-mil
5a664c5a83
Default showPopError to false when there are no initial PoP dates
2019-08-02 14:20:32 -04:00
leigh-mil
e1fbac5a52
Add front end validation that enforces that PoP end is after start
2019-08-01 16:53:32 -04:00
leigh-mil
6280fc3c08
Merge pull request #992 from dod-ccpo/hide-csp-links
...
Only show CSP link if user has access to the env
2019-08-01 14:54:27 -04:00
leigh-mil
277d41e003
Merge pull request #993 from dod-ccpo/perms-bug-fixes
...
Permissions bug fixes
2019-08-01 14:53:37 -04:00
leigh-mil
71dd0c9945
Merge pull request #991 from dod-ccpo/app-edit-perms
...
Show app settings and team links for users with app role only
2019-08-01 14:53:18 -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
dandds
df7dbbb603
Merge pull request #977 from dod-ccpo/k8s-reconfig
...
K8s reconfig
2019-08-01 13:55:32 -04:00
leigh-mil
fd9f2bdb43
Remove link from feature that will not be implemented
2019-08-01 12:53:22 -04:00
leigh-mil
c37edef3fa
Remove TO edit and sign buttons if user does not have edit TO perms
2019-08-01 12:01:35 -04:00
leigh-mil
4d4cacb767
Add check so that funding header icon is only shown if user has at least view perms for portfolio funding
2019-08-01 11:54:51 -04:00
leigh-mil
c67491fa4c
Show csp link if current user is one of the env's users
2019-08-01 11:24:14 -04:00
leigh-mil
6dc5c14964
Use correct perms to show edit env form and remove unnecessary perms check to show links for app settings and team
2019-08-01 10:37:24 -04:00
leigh-mil
0493078b33
Merge pull request #989 from dod-ccpo/resume-to-draft
...
Resume TO draft from save
2019-07-31 13:28:42 -04:00
dandds
f3e032fc03
Finalize CD config and add k8s job for migrations.
...
Add CircleCI config for both CSPs to:
- build the Docker image and push it to the registry
- run a short-lived k8s job to apply migrations and see data
- update the images for the Flask pods and rq worker pods
2019-07-31 11:58:43 -04:00
dandds
4c70d59c5d
Add k8s networking.
...
- bind static azure IPs
- Add load balancers for both CSPs
2019-07-31 11:58:08 -04:00
dandds
d056191b01
Working config for CD.
...
This adds the AWS and Azure CircleCI orbs for updating container images
in a cluster. It installs the clients for both CSPs, configures kubectl
with a programmatic user's auth information, and executes a `kubectl set
image` command to reset the cluster image to the one that was just
pushed to the container registry.
2019-07-31 11:58:08 -04:00
dandds
52829a1236
Add additional k8s config for AWS and Azure.
...
- remove unused k8s environment config
- experimental config for azure and aws
- use nginx for proxy and add rq worker pod
2019-07-31 11:57:24 -04:00
richard-dds
23e1d15eda
Merge pull request #990 from dod-ccpo/unpin-werkzeug
...
Unpin werkzeug dep
2019-07-31 10:41:33 -04:00
richard-dds
d32ce93271
Unpin werkzeug dep
2019-07-31 10:35:05 -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
8edfd1c355
Restrict access to edit route
2019-07-30 14:24:07 -04:00