graham-dds
9de90d796d
Rename audit log feature flag config variable
2019-10-21 11:36:53 -04:00
graham-dds
c27e0e618e
apply feature flag to /activity-history route
2019-10-21 11:36:53 -04:00
graham-dds
a1c672d89f
Conditionally skip tests related to audit log
2019-10-21 11:36:53 -04:00
graham-dds
1ac9243749
edit create_audit_event method of AuditableMixin
...
- create dictonary of log data and log it. Only create insance of
AuditEvent if AUDIT_LOG_FEATURE_TOGGLE is set to True
2019-10-21 11:36:40 -04:00
graham-dds
2720240903
Conditionally render logs on AUDIT_LOG_FEATURE_TOGGLE
2019-10-21 10:32:58 -04:00
graham-dds
8e0ce0519d
Add AUDIT_LOG_FEATURE_TOGGLE to flask app settings
...
- set in ini config
2019-10-21 10:32:58 -04:00
dandds
9c89664a64
Merge pull request #1121 from dod-ccpo/allow-pg-ssl
...
Make Postgres SSL connection configurable.
2019-10-21 10:25:34 -04:00
leigh-mil
4a61625048
Merge pull request #1126 from dod-ccpo/pop-bug-fixes
...
Display error when PoP start date and end date are the same
2019-10-21 09:26:02 -04:00
leigh-mil
6619c77df5
Merge pull request #1123 from dod-ccpo/add-test-templates-gitignore
...
Ignore js/test_templates
2019-10-18 12:06:30 -04:00
dandds
efcb9681d3
Make Postgres SSL connection configurable.
...
This will allow us to force SSL connections to the database in
production by setting two values:
- PGSSLMODE should be set to "verify-full". This forces the client to
verify the server against a known CA: https://www.postgresql.org/docs/10/libpq-ssl.html
- PGSSLROOTCERT should be set to the path of the public cert for the
relevant CA.
When the database connection is made, these values are passed to the
adapter. For local development, PGSSLMODE is set to "prefer" and
PGSSLROOTCERT is left unset.
Kubernetes config has been added to maintain the root CAs for both Azure
and AWS as k8s ConfigMap objects. These are mounted into the containers
and referenced by PGSSLROOTCERT in the container environment.
2019-10-17 16:05:19 -04:00
dandds
5cdead1175
Merge pull request #1125 from dod-ccpo/kubectl-migration-bug
...
Fix bug in kubectl command in script/cluster_migration
2019-10-17 16:04:45 -04:00
dandds
4169dcb310
Fix CI/CD bug with PGSSLROOTCERT.
...
Because I pushed the environment variable changes to the cluster
already, psycopg2 was automatically trying to connect to the database
using the file specified in PGSSLROOTCERT. That ConfigMap was not
mounted into the migrations container, so I'm doing that here.
2019-10-17 14:59:41 -04:00
leigh-mil
09f718b1d3
Merge pull request #1117 from dod-ccpo/app-settings-styling_part-3
...
App settings styling - delete app panel
2019-10-17 12:59:31 -04:00
leigh-mil
88d6ef32a4
Display error when PoP start date and end date are the same
2019-10-16 19:28:17 -04:00
leigh-mil
60d8d6ed10
Styling for delete section of app settings page
2019-10-16 18:12:42 -04:00
leigh-mil
1c79f1dfc9
Merge pull request #1114 from dod-ccpo/app-settings-styling_part-2
...
App settings styling - environments table
2019-10-16 18:10:09 -04:00
dandds
15f9fb8353
Merge pull request #1122 from dod-ccpo/set-server-name-2
...
Specify Flask SERVER_NAME value for Celery worker.
2019-10-16 14:17:35 -04:00
leigh-mil
75c57fb084
Merge pull request #1124 from dod-ccpo/ppoc-bug-fixes
...
PPoC bug fixes
2019-10-16 14:08:54 -04:00
leigh-mil
248e93103b
Add js/test_templates to .gitignore file and remove ignored folder
2019-10-16 13:53:40 -04:00
leigh-mil
4d59ba68d9
Add optional arg to the OptionsInput macro call to remove the optional label from the form
...
Disable the button to update the PPoC when there is only one portfolio
member
2019-10-16 12:16:30 -04:00
dandds
fc637e933d
Specify Flask SERVER_NAME value for Celery worker.
...
The Celery worker cannot render URLs for the app without having a
SERVER_NAME value set. AT-AT's ability to send notifications when an
environment is ready is broken as a result.
This commit sets a null default value for SERVER_NAME in the default
config file. A setting must exist in the INI file in order to be
over-written by an environment variable, which is why we declare it as
null here. There is an additional kwarg, "allow_no_value", that must be
passed to ConfigParser to allow null values.
This also applies the correct domains as SERVER_NAME environment
variables in the Kubernetes ConfigMaps for the AWS and Azure Celery
workers.
2019-10-16 11:57:18 -04:00
richard-dds
ff68c640de
Merge pull request #1116 from dod-ccpo/revert-user-deletion
...
Revert EnvironmentRole deletion functionality
2019-10-16 10:12:46 -04:00
leigh-mil
26539ebaaa
Merge pull request #1120 from dod-ccpo/fix-security-alerts
...
Upgrade dependencies
2019-10-16 09:38:18 -04:00
leigh-mil
bc80641745
Upgrade dependencies
2019-10-15 20:28:26 -04:00
richard-dds
96c1fcbe85
Merge branch 'master' into revert-user-deletion
2019-10-15 17:06:06 -04:00
leigh-mil
59ae5a6b12
Merge pull request #1118 from dod-ccpo/revoke-app-invite_2
...
Disable the App Role when revoking an invite.
2019-10-15 16:41:51 -04:00
leigh-mil
51bf55e6cd
Merge pull request #1119 from dod-ccpo/resend-invite_1
...
Resend invite fixes
2019-10-15 16:41:34 -04:00
leigh-mil
798ec60a1b
Make save button always enabled
2019-10-15 14:38:32 -04:00
leigh-mil
1eecf19459
Update flash message for resending an invite
2019-10-15 14:35:13 -04:00
leigh-mil
91ce3dda9e
Disable the App Role when revoking an invite.
2019-10-15 14:25:21 -04:00
dandds
200fa225cc
Merge pull request #1115 from dod-ccpo/ghost-inspector
...
Initial set up for Ghost Inspector integration tests.
2019-10-15 14:00:23 -04:00
leigh-mil
e94e7c68cb
Fix styling of new env form so it doesn't look terrible
2019-10-15 13:48:01 -04:00
leigh-mil
595995cf03
Update styling for empty state and the app environments panel
2019-10-15 13:48:01 -04:00
leigh-mil
e4b1bc33c4
Create env management macro and delete a bunch of unused imports
2019-10-15 13:48:01 -04:00
leigh-mil
041e16a26d
Update add new button styling
2019-10-15 13:48:01 -04:00
leigh-mil
22a912439a
Update pending label
2019-10-15 13:48:01 -04:00
leigh-mil
47e5a40262
Clean up css in accordion-table file
2019-10-15 13:48:01 -04:00
leigh-mil
ce9a551b2d
More styling updates
2019-10-15 13:48:01 -04:00
leigh-mil
de28ff303c
Reorder elements in env panel and initial styling
2019-10-15 13:48:01 -04:00
richard-dds
1bce0a1f01
Revert user deletion job
2019-10-14 16:51:19 -04:00
leigh-mil
a44e86f296
Merge pull request #1112 from dod-ccpo/app-settings-styling
...
App settings styling (part 1)
2019-10-14 16:33:59 -04:00
dandds
7949c64b9b
Initial set up for Ghost Inspector integration tests.
...
Adds a CircleCI integration for Ghost Inspector
(https://ghostinspector.com ), a headless browser testing SaaS. The
README is updated with details about how to run GI locally.
Removes the bootstrap setup for Selenium testing with BrowserStack.
2019-10-14 16:32:38 -04:00
graham-dds
e8595e592a
Merge pull request #1111 from dod-ccpo/multistep-app-provisioning-design-tweaks
...
More multistep app provisioning design tweaks
2019-10-14 15:40:04 -04:00
leigh-mil
c7889e13f8
Fix styling on app member info form
2019-10-14 14:57:42 -04:00
graham-dds
1560b73672
Create styles for new app sticky action footer
2019-10-14 14:46:00 -04:00
graham-dds
8e6a4101ff
Update copy in headers / flash
2019-10-14 14:46:00 -04:00
graham-dds
e49257ca35
Refactor HTML and styles of new app provisioning
...
- remove "panel__content" div wrapper
- add margin helper to p tags in steps 2 and 3 for flashed message
2019-10-14 14:45:54 -04:00
leigh-mil
18d68d9a60
Fix styling for larger widths
2019-10-14 14:05:03 -04:00
leigh-mil
14ea3cd973
Adjust the margin around usa-input elements globally, fix any styling side effects from the change
2019-10-14 14:05:03 -04:00
leigh-mil
a6e7995a85
Update styling for view only version of name and description section
2019-10-14 14:03:45 -04:00