richard-dds
0c480ccc41
Fix tests
2019-10-08 16:42:25 -04:00
leigh-mil
12aad96899
hard code initial invite email
2019-10-08 16:16:34 -04:00
leigh-mil
4d043363a7
Create route for resending an app invite
...
Replace ApplicationInvitations._update_status() with revoke() because multiple functions used _update_status() and it was causing app roles to be disabled when they shouldn't have. Now app roles are disabled within the revoke function.
Updated Invitations.resend() to accept user details so the invite info
can be changed in the new invite
2019-10-08 15:59:16 -04:00
leigh-mil
875b908908
Do not change app role status when invite status changes, add assertions to tests for this
2019-10-03 14:56:38 -04:00
graham-dds
de89bb03b0
use correct route for create member macro
2019-10-02 14:17:18 -04:00
graham-dds
337c98f8cd
Add / update tests
...
- add tests for step3 of new application
2019-10-01 15:56:18 -04:00
graham-dds
4aa0afdb67
New env role logic in filter_env_roles_form_data
2019-09-30 15:41:00 -04:00
leigh-mil
5c54c043c0
Add route for applications.revoke_invite
2019-09-26 09:46:23 -04:00
graham-dds
a96c2b3cdd
Update / create new tests for application creation
2019-09-24 10:16:49 -04:00
leigh-mil
b35e8cfe8e
Update NewMemberForm so that it has the same data structure as the UpdateMemberForm
2019-09-18 11:16:55 -04:00
leigh-mil
a7f9be5d48
Add comments to explain test
2019-09-18 11:16:55 -04:00
leigh-mil
cf172c486c
Remove test for old applications.settings data structure and replace with test for refactored get_members_data() function
2019-09-18 11:16:55 -04:00
leigh-mil
80dcb9c580
Move perms so they are at the top level of the form so that the data is properly populated
...
Add form fields for all environments in update member form
2019-09-18 11:16:54 -04:00
leigh-mil
93530e903f
Create route for updating app member
2019-09-18 11:16:54 -04:00
richard-dds
79c8e4fc63
Merge pull request #1062 from dod-ccpo/env-provisioning-task
...
Environment provisioning background jobs
2019-09-16 09:58:18 -04:00
graham-dds
2af0a2ecaf
Update existing tests for new CLIN logic
...
- Factory adds total_amount field, which is always greater than obligated
field
- add total_amount field on tests that create TOs manually
- update tests that calculate total_contract_amount and
total_obligated_amount
2019-09-12 16:11:12 -04:00
leigh-mil
ddcd91964f
Remove route 'applications.update_env_roles' and related functions and tests
2019-09-11 15:29:09 -04:00
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