6123 Commits

Author SHA1 Message Date
leigh-mil
ce4ef37776 Add class to resend invite modal so styling is applied 2019-10-08 16:16:34 -04:00
leigh-mil
2455ef14f2 use kwargs when calling macro 2019-10-08 16:10:46 -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
0870959477
Merge pull request #1107 from dod-ccpo/multistep-app-provisioning-design-tweaks
Multistep app provisioning design tweaks
2019-10-08 13:34:25 -04:00
graham-dds
f57ee99328 New app step 2 template rendering: specify kwargs 2019-10-08 13:15:28 -04:00
graham-dds
c803438e94 Roll back Projects to Applications in translations 2019-10-08 13:15:28 -04:00
graham-dds
b3467a1722 app provisioning Step 3 changes
- rearrange markup in the template
- include text from translations
2019-10-08 13:15:28 -04:00
graham-dds
8eda056327 Revamp the app members table
- remove some of the custom styles in the page-specific style sheet.
Instead, try to rely on default USWDS styles as much as possible.
- tweak a few values in the tables stylesheet
- move some markup around in the members template
2019-10-08 13:15:28 -04:00
graham-dds
0632c16968 Move "add environment " link to bottom of section
- this makes things more consistent with the new application flow
2019-10-08 13:15:28 -04:00
graham-dds
7a62133bc3 Minor adjustments new application flow step 2
- rearrange markup
- add previous and cancel button
2019-10-08 13:15:28 -04:00
graham-dds
ae55f5ef00 Align new application Step 1 with design mockups
- remove unneeded variables and markup
- add a cancel button
- add form input descriptions
- add a class selector for the default panel <hr>, and change apperance
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
9d34f11d84 Tweak multi-step header for app provisioning
- add "context" option to StickyCTA
 - tweak styles to better-include context
 - add header text to translations
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
7f0a25ea17 Use translations 2019-10-08 10:32:02 -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
da6916b1a1
Merge pull request #1105 from dod-ccpo/fix-invite-bug
Fix invite bug
2019-10-03 15:02:05 -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
b9a17244b5
Merge pull request #1091 from dod-ccpo/aws-implementation
AWS Implementation of CloudProviderInterface
2019-10-02 16:26:24 -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
e34333a990 Fix tests 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
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
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
graham-dds
6ea579d90c
Merge pull request #1103 from dod-ccpo/bugfix/use_correct_create_user_route_in_settings
Bugfix: use correct route for create member macro
2019-10-02 14:22:04 -04:00
graham-dds
de89bb03b0 use correct route for create member macro 2019-10-02 14:17:18 -04:00
leigh-mil
f075bd5c02
Merge pull request #1101 from dod-ccpo/env-name-label
Remove optional label from env form
2019-10-02 11:41:07 -04:00