richard-dds
1a9c34d856
Fix and test environment dispatch tasks
2019-09-11 11:43:06 -04:00
richard-dds
6b7db2ca46
Better ergonomics for creating factory portfolios w/ TOs
2019-09-11 11:43:06 -04:00
richard-dds
f6cb6f2a31
Change Environment.creator relation from ApplicationRole to User
2019-09-11 11:42:59 -04:00
leigh-mil
e391c3269d
Remove unused route to update team roles
2019-09-09 15:23:37 -04:00
leigh-mil
7c7624f25e
Move team routes to the settings file and delete files related to applications/team
2019-09-05 16:54:16 -04:00
leigh-mil
de74c1f533
Remove route for applications.team
2019-09-05 16:18:47 -04:00
dandds
d62027b2e7
Merge pull request #1046 from dod-ccpo/tests-debug
...
Enable debug mode in tests.
2019-09-03 16:08:42 -04:00
dandds
883947b75f
Enable debug mode in tests.
...
Debug mode allows route integration tests to raise explicit exceptions on
errors, instead of returning error pages. Some portions of the test
suite need to be able to ignore exceptions (the response is not under
test) so they use a separate pytest fixture version of the app and
client that are configured with debug disabled, as it would be in
production.
2019-08-30 15:32:57 -04:00
graham-dds
38ba8b7e5f
LOAs are so out of this codebase
2019-08-30 09:57:23 -05: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
leigh-mil
1efe9cb5e4
Merge pull request #1023 from dod-ccpo/csp-links
...
Env roles bug fix
2019-08-19 09:43:54 -04:00
leigh-mil
afd84e178f
Add tests to check if environment roles are being created correctly
2019-08-15 10:13:34 -04:00
dandds
16c9b826b3
Merge pull request #1019 from dod-ccpo/upload-error-handling
...
Add validations and error states for TO upload form
2019-08-14 14:30:46 -04:00
richard-dds
36d39dc949
Use unique attachment object names
2019-08-14 10:39:58 -04:00
richard-dds
71bb1be130
Validate filename and object_name for TO PDF upload
2019-08-13 10:51:09 -04:00
leigh-mil
e35399d8f5
Update route function to revoke CCPO superuser status
2019-08-13 10:32:26 -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
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
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
915ccfadfc
Clean up assertion
2019-08-08 16:28:26 -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
richard-dds
3d414e1a60
Fix TO upload tests
2019-08-05 14:58:10 -04:00
richard-dds
e034269a02
Don't flash when cancelling TO form with invalid data
2019-08-05 09:56:15 -04:00
richard-dds
24049c4c81
Formatting
2019-08-05 09:56:15 -04:00
richard-dds
ec6494c6c3
Add another route for new TOs
2019-08-05 09:56:15 -04:00
richard-dds
dd93dd5aea
Allow user to cancel without saving
2019-08-05 09:56:15 -04:00
richard-dds
88853e352c
Formatting
2019-08-05 09:55:34 -04:00
richard-dds
470df0a572
New route for cancelling TO form
2019-08-05 09:55:34 -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
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
b3515bb14d
Reorder tests so that tests for each step are grouped together
2019-07-18 13:33:37 -04:00
leigh-mil
e3dfd18c7f
Raise error if TO review or signature page are accessed when the TO is incomplete
2019-07-18 13:33:37 -04:00
leigh-mil
dc3f9a8c1c
Update route to include form so it is clear what step refers to
...
Move submit route into the same file and the other form steps
2019-07-18 10:31:45 -04:00
leigh-mil
4826e8002b
Rename route functions to be clearer
2019-07-18 10:31:45 -04:00
leigh-mil
e3c6b08d34
Remove old task order edit and update routes
2019-07-18 10:31:45 -04:00
leigh-mil
b9e14f8719
Add route and template for signature confirmation
2019-07-18 10:31:45 -04:00
leigh-mil
68e0d261f6
Add review route and template
2019-07-18 10:31:45 -04:00
leigh-mil
b2db53096f
Rename routes
2019-07-18 10:31:45 -04:00
leigh-mil
7ebe84a9cb
Add step 3 route and template
2019-07-18 10:31:45 -04:00
leigh-mil
6ab3e24883
Add second step
2019-07-18 10:31:45 -04:00
leigh-mil
45390835ed
Add routes for first step of TO builder
2019-07-18 10:31:45 -04:00
leigh-mil
a0f6d98d28
Remove more unnecesary tests
2019-06-20 14:28:56 -04:00
leigh-mil
f76d67dddb
update comment
2019-06-20 14:28:56 -04:00
leigh-mil
c1383e1ec7
Delete unneeded tests
2019-06-20 14:28:56 -04:00