Commit Graph

2468 Commits

Author SHA1 Message Date
leigh-mil
10c16cc4ef Send email after environment is provisioned 2019-10-10 09:45:01 -04:00
richard-dds
95b33ac33d Add beat task for dispatch_delete_user 2019-10-09 09:57:50 -04:00
richard-dds
0c480ccc41 Fix tests 2019-10-08 16:42:25 -04:00
richard-dds
ed7bc33e44 Set deleted flag in do_delete_user 2019-10-08 16:42:25 -04:00
richard-dds
274ff9fbbf Trigger environment_role deletion 2019-10-08 16:42:25 -04:00
richard-dds
78c4949776 Move sqlalchemy_dumps to atst.utils.json 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
1a809418b1 Refactor out duplicate dictionary 2019-10-08 16:10:46 -04:00
leigh-mil
13bc830536 Add update invite form to settings page and move user info page of member form into its own macro 2019-10-08 16:10:46 -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
bb6d656def Merge pull request #1106 from dod-ccpo/clin-errors-contract-dates
PoP Range error message
2019-10-08 15:39:34 -04:00
graham-dds
f57ee99328 New app step 2 template rendering: specify kwargs 2019-10-08 13:15:28 -04:00
graham-dds
4a4e20534f Flashed message after step 1 of app provisioning
- add flash for updating application
- add to route logic
2019-10-08 13:15:28 -04:00
graham-dds
2d28356cdc Refactor routes 2019-10-08 13:15:28 -04:00
graham-dds
237123d474 Make application description optional 2019-10-08 13:15:28 -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
04235fd13d Extract constant for permission boundary ARN 2019-10-02 16:01:23 -04:00
richard-dds
329f014b16 Use jinja template to generate policy json 2019-10-02 16:01:23 -04:00
richard-dds
7a8b96d2a8 Use _get_client everywhere 2019-10-02 16:01:23 -04:00
richard-dds
10aa1c9bff Pull out a constant 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
686ef55e40 Remove comment 2019-10-02 16:01:23 -04:00
richard-dds
6ca6131d21 Add comment regarding AWSCloudProvider.BASELINE_POLICIES 2019-10-02 16:01:23 -04:00
richard-dds
faaac42291 Remove todo 2019-10-02 16:01:23 -04:00
richard-dds
4c0f6704f2 Clean up and refine TODOs 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
26a7d97a1b Fix AWSCloudProvider.create_atat_admin_user 2019-10-02 16:00:43 -04:00
richard-dds
3cb4b5b334 Formatting 2019-10-02 16:00:43 -04:00
richard-dds
1a93e466d3 Trying to get AwsCloudProvider.create_atat_admin_user working 2019-10-02 16:00:43 -04:00
richard-dds
39442c3ccd Fix AWSCloudProvider.create_environment 2019-10-02 16:00:43 -04:00
richard-dds
73f69650df Handle case where baseline policy already exists 2019-10-02 16:00:43 -04:00
richard-dds
4f648d7885 Update get_client 2019-10-02 16:00:43 -04:00
richard-dds
7dcf27f690 Implement AWSCloudProvider.create_environment_baseline 2019-10-02 16:00:43 -04:00
richard-dds
48eb860e05 Update some todos 2019-10-02 16:00:43 -04:00
richard-dds
30210ba09c Rough implementation of AWSCloudProvider
Rough implementation of AWSCloudProvider.create_environment

Rough impl of AWSCloudProvider.create_atat_admin_user
2019-10-02 16:00:43 -04:00
leigh-mil
7db38ede59 Remove extra kwargs and put the text in the template since all error pages will show the same text in MVP 2019-10-02 10:45:22 -04:00
leigh-mil
6013d93182 Styling error page 2019-10-02 10:44:54 -04:00
graham-dds
d4b5e484ee rearrange templates to follow new dir structure 2019-10-01 16:09:51 -04:00
graham-dds
d4bc051eb4 Use correct flash for step 2 2019-10-01 15:56:18 -04:00
graham-dds
8df0bfedde Add app to render_args of render_template helper 2019-10-01 15:56:18 -04:00
graham-dds
98b950dfa3 don't use render template helper function for envs 2019-10-01 15:56:18 -04:00
graham-dds
dfcdee3910 Add step 3 POST route for app member creation 2019-10-01 15:56:14 -04:00
graham-dds
0ed782f4e8 Move app member creation business logic from route 2019-10-01 09:16:36 -04:00
graham-dds
4aa0afdb67 New env role logic in filter_env_roles_form_data 2019-09-30 15:41:00 -04:00
graham-dds
fb58bc1ba1 Add GET route for step 3 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
05aca75679 Fix typo and add flash message for when invite can't be revoked 2019-09-26 09:53:20 -04:00