richard-dds
ed7bc33e44
Set deleted flag in do_delete_user
2019-10-08 16:42:25 -04:00
richard-dds
343e989de8
Update comments
2019-10-08 16:42:25 -04:00
richard-dds
2ad30b5fa4
Implement dispatch_delete_user job
2019-10-08 16:42:25 -04:00
richard-dds
00f76ae5af
Add delete user job
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
f4855c0ae3
Use validator on the field for checking that the pop dates are within the contract date range
2019-10-08 10:32:02 -04:00
leigh-mil
07b3c68422
Add min and max range values to date selector so a more accurate error message can be displayed when a date is out of the range
2019-10-08 10:32:02 -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
richard-dds
e34333a990
Fix tests
2019-10-02 16:01:23 -04:00
richard-dds
cc3de11e54
Standardize all of the AWS credentials
2019-10-02 16:01:23 -04:00
richard-dds
8b59546840
Add tests for AWSCloudProvider.create_environment_baseline
2019-10-02 16:01:12 -04:00
richard-dds
7bc5a418c9
Tests for AWSCloudProvider.create_atat_admin_user
2019-10-02 16:01:12 -04:00
richard-dds
cacb9135d1
Tests for AWSCloudProvider.create_environment
...
Created mock boto3 for testing
2019-10-02 16:01:12 -04:00
richard-dds
eaf1de22ba
Create cloud test dir
2019-10-02 16:00:43 -04:00
graham-dds
de89bb03b0
use correct route for create member macro
2019-10-02 14:17:18 -04:00
leigh-mil
1435734969
Add monkeypatch to mock handle_error()
2019-10-02 10:45:22 -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
92243965ec
parse contract dates into datetime objects
2019-09-26 16:22:16 -04:00
leigh-mil
789e6662a2
Add tests for pop date range vue component
2019-09-26 16:22:15 -04:00
leigh-mil
c9f654664c
Update test to check that env role was deleted and that the status changed on the app role
2019-09-26 10:46:29 -04:00
leigh-mil
663fb9f288
Use ApplicationRoles.disable() instead of Applications.remove_member()
2019-09-26 09:53:20 -04:00
leigh-mil
5c54c043c0
Add route for applications.revoke_invite
2019-09-26 09:46:23 -04:00
tomdds
494978fabd
Merge pull request #1077 from dod-ccpo/cloud-provision-errors
...
First pass at Cloud Provision Exceptions
2019-09-24 14:00:47 -04:00
graham-dds
7e340936dc
Merge pull request #1088 from dod-ccpo/make-application-creation-multistep
...
Make application creation multistep
2019-09-24 13:56:36 -04:00
tomdds
ff8119acd1
Integrate errors with MockCloudProvider
2019-09-24 13:54:41 -04:00
richard-dds
d60cc58dee
Merge pull request #1083 from dod-ccpo/user-provisioning-task
...
Add create_user task
2019-09-24 13:50:17 -04:00
graham-dds
a96c2b3cdd
Update / create new tests for application creation
2019-09-24 10:16:49 -04:00
dandds
7ea1ae5a34
Add a JS test for the clin-fields Vue component.
...
In order to do this, it was expedient to move the CLINFields Jinja macro
into its own file and pass in all the data it requires.
2019-09-24 09:37:30 -04:00
dandds
0d45be68d5
Adjust environment claim test to avoid race condition
2019-09-23 14:53:18 -04:00
richard-dds
399cf74ed6
Only provision EnvironmentRoles with active ApplicationRoles
2019-09-23 11:30:06 -04:00
dandds
112f0e0ab2
Initial JS tests for the Vue TOForm component.
...
This adds BeautifulSoup to the Python dev dependencies so that we can
render an entire page and then extract the Vue component we need.
Ideally, we should refactor all the Vue components so that they live in
Jinja macros and we can render those macros directly.
2019-09-20 15:24:55 -04:00
richard-dds
4eee06ba44
Add test for do_provision_user
2019-09-20 11:43:19 -04:00
richard-dds
2fca542100
Implement dispatch query for provision_user
2019-09-20 11:37:18 -04:00
richard-dds
d9e52c7741
Fix test_create_or_update_user
2019-09-20 10:12:23 -04:00
richard-dds
d1e146f577
Add create_user task
2019-09-19 16:56:36 -04:00
richard-dds
6c7667b7fc
Filter out deleted envs in dispatch_create_environment
2019-09-19 14:24:39 -04:00
richard-dds
2fc7a0d460
Add small sleep to claims test to avoid random failures
2019-09-18 16:34:56 -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
e341a73dd1
Remove unused code
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
leigh-mil
4dab326eef
Clean up code and formatting
2019-09-18 11:16:54 -04:00
leigh-mil
1fd2d9f496
Make form class for updating application member
2019-09-18 11:16:54 -04:00
richard-dds
343e5a52ac
Use session.refresh in tests
2019-09-17 15:29:33 -04:00
richard-dds
3f072bac3c
Remove unused users
2019-09-17 15:28:07 -04:00
richard-dds
ade7dc08fd
Only fetch environment_id in provisioning queries
2019-09-17 15:27:03 -04:00