tomdds
f6447d49e0
Allow creation of new users in dev mode
2019-08-09 16:01:32 -04:00
dandds
a426af0d7d
Merge pull request #1017 from dod-ccpo/dotenv-script-update
...
Fix newline issues in script/write_dotenv.
2019-08-09 15:08:59 -04:00
dandds
d5706454e3
Fix newline issues in script/write_dotenv.
...
In `sh` on Alpine Linux in our Docker images, the newline characters in
the script were being interpreted as literals. This substitutes a
HEREDOC instead.
2019-08-09 14:55:18 -04:00
leigh-mil
0777bd3369
Merge pull request #1008 from dod-ccpo/add-ccpo-user
...
Add CCPO user
2019-08-09 14:15:40 -04:00
leigh-mil
14327e9a8b
Use common translations for table headings, remove unnecessary class
2019-08-09 11:08:23 -04:00
leigh-mil
fa83dfe6bd
When user not found, redirect to users page and show flash message
2019-08-09 11:08:23 -04:00
leigh-mil
43855c5495
Remove alert from confirm ccpo user page
2019-08-09 11:08:23 -04:00
leigh-mil
1783cd494d
Add max length to dod id field in CCPO user form
2019-08-09 11:08:23 -04:00
leigh-mil
864e11ea11
Remove redundant 'ccpo' from ccpo route function names
2019-08-09 11:08:23 -04:00
leigh-mil
feb24b8e16
Break class method for ccpo perms into two methods instead of switching on a kwarg to determine if perms are given or removed
2019-08-09 11:08:23 -04:00
leigh-mil
0b2c7f5957
Remove unused imports and context processor
2019-08-09 11:08:23 -04:00
leigh-mil
1b86147ab6
Move text into translations file
2019-08-09 11:08:23 -04:00
leigh-mil
a6eb89ffb8
Add tests for route functions
2019-08-09 11:08:22 -04:00
leigh-mil
1f8337485f
Move ccpo routes into their own file
2019-08-09 11:08:22 -04:00
leigh-mil
5b008e044a
Add tests
2019-08-09 10:50:34 -04:00
leigh-mil
6b15b41d56
Formatting and styling of form
2019-08-09 10:50:34 -04:00
leigh-mil
9f54501df4
Add in alert for when user isn't found
2019-08-09 10:50:34 -04:00
leigh-mil
811a498bf4
Finish route for confirming CCPO user, add function to update user's ccpo perms, and add success flash message to template
2019-08-09 10:50:34 -04:00
leigh-mil
01ba73ef42
Add in templates for ccpo user form and sketch out route functions
2019-08-09 10:50:34 -04:00
leigh-mil
8420a78392
Add CREATE_CCPO_USER permission, create context processor for ATAT so user_can and permissions can be used in the template, add placeholder button for adding new CCPO user
2019-08-09 10:50:34 -04:00
dandds
93c39fd7e7
Merge pull request #1012 from dod-ccpo/upload-config
...
Apply config changes for CSP file uploads.
2019-08-09 10:29:41 -04:00
richard-dds
8fce880ae6
Merge pull request #1013 from dod-ccpo/fix-cancel-button
...
Update TO form cancel button behavior
2019-08-09 09:50:38 -04:00
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
dandds
a941cca5e6
Merge pull request #1015 from dod-ccpo/add-key
...
Add back in CRL_STORAGE_CONTAINER to base.ini
2019-08-09 06:30:48 -04:00
leigh-mil
90caeae063
Add back in CRL_STORAGE_CONTAINER to base.ini
2019-08-08 16:57:38 -04:00
richard-dds
3b9a737675
Remove redundant task_order_id check
2019-08-08 16:34:27 -04:00
richard-dds
915ccfadfc
Clean up assertion
2019-08-08 16:28:26 -04:00
richard-dds
f042b12416
Real assertion in TO delete test
2019-08-08 16:26:59 -04:00
richard-dds
89dc8d2652
No need to check for presence of TO before deleting
2019-08-08 16:11:13 -04:00
richard-dds
7fdb27ddbf
Delete TO draft when click "delete it" on cancel modal
2019-08-08 16:03:47 -04:00
richard-dds
02900ff771
Allow TOs to be deleted, along with their associated CLINs
2019-08-08 16:03:42 -04:00
tomdds
472575e0bd
Merge pull request #1006 from dod-ccpo/fix-security-deps
...
Remove npm dependency and upgrade v-tooltip to resolve security issues
2019-08-08 15:35:01 -04:00
dandds
4ed79d8383
Merge pull request #1010 from dod-ccpo/upload-cleanup
...
Clean up defunct upload and CRL logic.
2019-08-08 15:01:54 -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
dandds
334a280610
Merge pull request #1009 from dod-ccpo/bugfix-cd-migrations
...
Update the k8s config directory in the migration script.
2019-08-08 12:08:22 -04:00
dandds
d79127f652
Update the k8s config directory in the migration script.
2019-08-08 12:02:02 -04:00
tomdds
76fd5c09c7
Remove npm dependency and upgrade v-tooltip to resolve security issues
2019-08-08 11:33:32 -04:00
richard-dds
736e2aa21d
Merge pull request #994 from dod-ccpo/cloud-pdf-uploads
...
CSP PDF uploads
2019-08-08 11:17:07 -04:00
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