45 Commits

Author SHA1 Message Date
dandds
485f578c78 Apply config changes for CSP file uploads.
This applies configuration changes for the Flask app and adds changes to
the Dockerfile so that the build can make a CSP-specific JS bundle. It
adds `write_dotenv` script that creates the appropriate `.env` file for
the `parcel` bundler depending on how the `CSP` environment variable is
set.

- Configure K8s environment variables for Flask CSP usage
- Supply default CSP config setting to Flask app
- Declare the CSP arg in the Dockerfile
- Supply extra Docker build args to CD
- Fix top-level reference to boto3 in file_upload module
- Add back missing sample NGINX config for docker-compose build
2019-08-09 08:05:20 -04:00
leigh-mil
90caeae063 Add back in CRL_STORAGE_CONTAINER to base.ini 2019-08-08 16:57:38 -04:00
dandds
9fc6514d80 Clean up defunct upload and CRL logic.
- Applies our previous CSP namespacing pattern to the upload classes.
- Removes code and config for previous uploader implementation.
- Removes Attachment model's ability to upload files directly and
  adjusts tests that expected that behavior.
2019-08-08 13:20:27 -04:00
richard-dds
5dcbee333a Make session limiter configurable 2019-05-28 10:45:12 -04:00
dandds
b8a24c37c4 Make SQLALCHEMY_ECHO option independent of DEBUG for sqlalchemy logging. 2019-05-02 15:41:13 -04:00
dandds
d73b082471 configurable json logging for atst app 2019-04-01 12:34:53 -04:00
Montana
d6906c8504 Add config for CRL_FAIL_OPEN 2019-03-14 13:42:12 -04:00
dandds
725042ab76 modify crl storage config:
- make local container for libcloud storage if it does not exist
- separate config variables for CRL storage
2019-02-27 05:51:50 -05:00
dandds
9aa15d57e8 CRL Provider for syncing CRLs from cached source 2019-02-27 05:51:50 -05:00
dandds
4bd41950c6 remove REQUIRE_CRLS setting in favor of DISABLE_CRL_CHECK 2019-01-18 09:48:43 -05:00
dandds
becaec8d42 no op version of CRL cache for disabling crl check 2019-01-17 10:28:40 -05:00
George Drummond
99f34fe45a
Disable CLIN fields via a config option 2019-01-07 14:25:03 -05:00
Patrick Smith
4bbb55a06e Add RQ_QUEUES to default config
We can use string interpolation in the file rather than building it when
making the config. Adding the value to the config allows us to override
it with an environment variable, if we want to (as we do for the UAT
environment).
2018-10-31 16:12:00 -04:00
Patrick Smith
e177fe0037 Add REQUIRE_CRLS to config parser 2018-10-26 10:11:03 -04:00
dandds
ef2e97713a initial uploader and some form work 2018-08-27 13:04:41 -04:00
dandds
ee4458edd1 alphabetize base config 2018-08-08 09:49:55 -04:00
dandds
3b36066315 remove authnid base URL from config 2018-08-07 09:44:10 -04:00
dandds
69fb8217eb add default value for WTF_CSRF_ENABLED 2018-08-07 09:33:46 -04:00
dandds
94223e1869 add session expiration config 2018-08-06 15:03:09 -04:00
dandds
ac95bf371e implement CRL checking from authnid 2018-08-06 11:12:58 -04:00
dandds
ea5c9732ba implement authentication redirect 2018-08-06 10:44:24 -04:00
dandds
2ff5c604e1 fix session config (d'oh) 2018-08-06 10:44:24 -04:00
Patrick Smith
97d3fffc2c Remove quotes from base config 2018-08-03 14:57:22 -04:00
richard-dds
60d2661b0d Use Flask-Sessions for session management 2018-08-02 16:52:22 -04:00
richard-dds
5d7dde3561 Financial verification form rendering 2018-08-02 13:20:02 -04:00
dandds
ba4ea97d4b remove reference to fundz in config and api mocks 2018-07-31 11:50:34 -04:00
dandds
0fca4753c5 add script for ingesting PE numbers and necessary script config for database 2018-07-31 11:50:33 -04:00
dandds
d3a51ccc29 remove authz url reference in config 2018-07-31 11:50:33 -04:00
dandds
dc2a1f572d remove references to requests-queue url and client 2018-07-31 11:50:33 -04:00
Devon Mackay
dd69506e72 Add app name to PG settings 2018-07-31 11:50:33 -04:00
Devon Mackay
85c8a1166d Change db vars to standard postgres equivalents 2018-07-31 11:50:33 -04:00
dandds
4b2047df0a add new config pattern for database URI and overrides 2018-07-31 11:50:33 -04:00
richard-dds
024051ae07 Models and migrations for requests 2018-07-31 11:49:06 -04:00
Patrick Smith
760c9ee9d2 Add fundz client dep to app 2018-07-19 11:11:05 -04:00
richard-dds
e48644fb44 Create authz users on login 2018-07-16 13:19:35 -04:00
dandds
95b2909664 make session TTL 10 minutes by default 2018-06-28 11:48:35 -04:00
richard-dds
118a84560a Add simple session management using redis 2018-06-27 16:07:25 -04:00
dandds
804954f172 update authnid url and port in config 2018-06-18 13:31:46 -04:00
richard-dds
64c71c0aa7 Inject dependencies into tornado app 2018-06-18 10:44:06 -04:00
Brian Duggan
9152ffe91e Implement form objects for request forms 2018-06-14 13:59:03 -04:00
dandds
234bbcea0f validate bearer tokens against authnid 2018-06-13 17:08:09 -04:00
dandds
7e689dd120 cleanup from the rebase; use config for cookies, login values 2018-06-13 17:08:09 -04:00
richard-dds
49bd09b8ef Add port to base config 2018-06-12 10:31:35 -04:00
richard-dds
d733a84532 Add placeholder URL for authz 2018-06-11 16:42:13 -04:00
richard-dds
41701290ea Add .ini configuration management 2018-06-11 16:42:13 -04:00