Commit Graph

1023 Commits

Author SHA1 Message Date
tomdds
85f8c8f9e0 Merge pull request #1050 from dod-ccpo/cloud-provision-interface
Update CloudProviderInterface for provision job consumption
2019-09-03 15:59:55 -04:00
richard-dds
c5284fd8f9 Merge pull request #1005 from dod-ccpo/cloud-pdf-downloads
Cloud pdf downloads
2019-08-30 16:11:27 -04:00
richard-dds
7d3bda9496 Update permission for download_link endpoint 2019-08-30 15:53:26 -04:00
tomdds
1fe9399f99 Update CloudProviderInterface for provision job consumption 2019-08-29 14:06:18 -04:00
richard-dds
922a48f76a Fix download link generation 2019-08-29 13:24:48 -04:00
dandds
2b11debe5d Merge pull request #1041 from dod-ccpo/use-celery
Use Celery instead of RQ.
2019-08-29 13:17:27 -04:00
richard-dds
e8234dcf34 Allow user to download files on TO upload page 2019-08-29 11:28:49 -04:00
richard-dds
b7fbe9d2ac Use underscores in urls 2019-08-29 11:10:05 -04:00
richard-dds
04b77c113c Formatting 2019-08-29 10:12:02 -04:00
richard-dds
b182307174 Azure file downloads 2019-08-29 10:12:02 -04:00
graham-dds
094e44a6b0 Merge pull request #1045 from dod-ccpo/bugfix-remove-member
Bugfix: Use correct path to full_name
2019-08-29 10:08:41 -04:00
dandds
d7478e322a Use Celery instead of RQ.
Celery provides a more robust set of queueing options for both tasks and
worker processes. Updates include:
- infrastructure necessary to run Celery, including celery entrypoint
- backgrounded functions are now imported directly from atst.jobs
- update tests as-needed
- update kubernetes worker pod command
2019-08-29 09:33:47 -04:00
graham-dds
3e9c082ac5 Use correct path to full_name
The full_name property is on the portfolio_role, not an intermidiate
user property
2019-08-29 09:20:24 -04:00
richard-dds
f54e673520 Remove unused imports 2019-08-28 15:56:55 -04:00
richard-dds
bb9d76dd09 Fix Vue tests 2019-08-28 15:56:55 -04:00
richard-dds
67a4bb602d Require portfolio id in upload-token
It's necessary for the authz decorator
2019-08-28 15:56:55 -04:00
richard-dds
0e593a77f1 Add permission check to upload_token route 2019-08-28 15:06:20 -04:00
richard-dds
85ba61b97b Formatting 2019-08-28 15:06:20 -04:00
richard-dds
27e0e16707 Require auth on upload-token 2019-08-28 15:06:20 -04:00
richard-dds
7d1dfa1d0e Get presigned upload token via ajax request 2019-08-28 15:06:13 -04:00
leigh-mil
b26d8d575c Merge pull request #1011 from dod-ccpo/remove-ccpo-user
Remove CCPO user
2019-08-13 16:29:07 -04:00
leigh-mil
852046a3e7 Change variable name from data to user_info because it was more descriptive 2019-08-13 16:23:11 -04:00
leigh-mil
87b173b035 Use tuple instead of a dict for the user data and form 2019-08-13 14:09:53 -04:00
leigh-mil
7c65783d08 Add csrf token to remove ccpo user form 2019-08-13 10:32:26 -04:00
leigh-mil
e35399d8f5 Update route function to revoke CCPO superuser status 2019-08-13 10:32:26 -04:00
leigh-mil
54239a520e Add revoke access button and modal, sketch out route function for removing cppo perms from a user 2019-08-13 10:17:24 -04:00
tomdds
0410d82359 Merge pull request #1018 from dod-ccpo/new-user-dev
Allow creation of new users in dev mode
2019-08-13 10:13:56 -04:00
tomdds
59f43c69ee Only populate passed info when creating new user 2019-08-12 10:14:49 -04:00
tomdds
f6447d49e0 Allow creation of new users in dev mode 2019-08-09 16:01:32 -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
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
1f8337485f Move ccpo routes into their own file 2019-08-09 11:08:22 -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
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
richard-dds
3b9a737675 Remove redundant task_order_id check 2019-08-08 16:34:27 -04:00
richard-dds
7fdb27ddbf Delete TO draft when click "delete it" on cancel modal 2019-08-08 16:03:47 -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
736e2aa21d Merge pull request #994 from dod-ccpo/cloud-pdf-uploads
CSP PDF uploads
2019-08-08 11:17:07 -04:00
leigh-mil
86b66e5685 Merge pull request #999 from dod-ccpo/ccpo-user-list
Page for CCPO users list
2019-08-06 13:18:57 -04:00
richard-dds
989e28e5fb Destructure get_token() result 2019-08-06 10:41:17 -04:00
leigh-mil
9cf72e9466 Update name of permission 2019-08-06 10:38:58 -04:00
leigh-mil
083896a689 Update template to show table of CCPO users 2019-08-05 16:11:24 -04:00
leigh-mil
41820813ed Add in route for CCPO users page and permissions to view page 2019-08-05 15:23:17 -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