5522 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
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
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
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
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
6ad3e41b70
Merge pull request #978 from dod-ccpo/css-refactor
Css Refactor
2019-07-30 11:59:06 -04:00
mk-dds
5f99ceee5f CSS refactor
accordion_table.scss refactor

audit_log.scss refactor

budget_chart.scss refactor

delete checklist.scss

dod_login_notice.scss refactor

empty_state.scss refactor

footer.scss refactor

forms.scss refactor

global_navigation.scss refactor

delete member_edit.scss

modal.scss refactor

refactor portfolio_layout

delete search_bar.scss

selector.scss refactor

sticky_cta.scss refactor

refactor topbar.scss

refactor accordions.scss

refactor action_group.scss

refactor block_list.scss

refactor card.scss

refactor icon css

refactor inputs.scss

refactor labels.scss

refactor panel.scss

sidename.scss

tables.scss

refactor uploader.scss

application list and edit refactor

home.scss refactor

login.scss styles

reports.scss refactor

task_order.scss refactor
2019-07-30 11:10:29 -04:00
leigh-mil
2dbff2ff7a
Merge pull request #987 from dod-ccpo/check-clin-complete
Check to make sure clins complete
2019-07-30 10:14:11 -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
c5ec2c296f
Merge pull request #985 from dod-ccpo/to-form-step-3-styling
TO form step 3 styling
2019-07-29 14:32:34 -04:00
leigh-mil
ae3711c5d1
Merge pull request #986 from dod-ccpo/perms-app-settings-view
Only user with edit app perms can see edit app form
2019-07-29 10:49:44 -04:00
leigh-mil
24d76f9fab Fix input width in FF and IE, fix placement of error validation icon 2019-07-26 15:17:37 -04:00
leigh-mil
78fa4ed8ec Clean up css 2019-07-26 14:51:30 -04:00
leigh-mil
291e82aef1 Formatting 2019-07-26 11:22:04 -04:00
leigh-mil
f1f344388a Fix validation icon and spacing 2019-07-26 11:20:58 -04:00
leigh-mil
f50beae754 Align TO number to the right 2019-07-26 11:20:58 -04:00
leigh-mil
94ee8521f9 Make CLIN option list bold 2019-07-26 11:20:10 -04:00
leigh-mil
ea6c8b77bc Update copy 2019-07-26 11:20:10 -04:00
leigh-mil
e8dede201b Reorder elements on the page, fix input widths, move validation icon for inputs 2019-07-26 11:20:10 -04:00