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
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
leigh-mil
05aca75679
Fix typo and add flash message for when invite can't be revoked
2019-09-26 09:53:20 -04:00
leigh-mil
a03ff56017
Invites are revokable if they are not expired, and add success flash message
2019-09-26 09:46:24 -04:00
graham-dds
83479f60af
Flash messages for saving/ submitting applications
2019-09-24 10:16:39 -04:00
dandds
7bb9400ea7
Update the flash message for when a new application member is added.
2019-09-19 09:34:00 -04:00
leigh-mil
93530e903f
Create route for updating app member
2019-09-18 11:16:54 -04: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
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
811a498bf4
Finish route for confirming CCPO user, add function to update user's ccpo perms, and add success flash message to template
2019-08-09 10:50:34 -04:00
leigh-mil
8420a78392
Add CREATE_CCPO_USER permission, create context processor for ATAT so user_can and permissions can be used in the template, add placeholder button for adding new CCPO user
2019-08-09 10:50:34 -04:00
George Drummond
9f274a7d1c
Script to find unused translations
2019-06-14 09:59:07 -04:00
George Drummond
1821e164b0
Merge pull request #908 from dod-ccpo/clean-up-flash-messages
...
Delete unused flash messages
2019-06-13 10:34:53 -04:00
George Drummond
3740291662
Delete unused flash messages
2019-06-13 10:11:29 -04:00
dandds
4ba983cbdd
Remove unused template filters
2019-06-13 09:51:00 -04:00
dandds
717e996685
Remove unused utilities
2019-06-12 14:54:01 -04:00
dandds
06f4aeb74d
Merge pull request #880 from dod-ccpo/to-review-modal
...
TO Review Submit Modal
2019-06-11 13:10:17 -04:00
George Drummond
c08f14382f
Add in success flash message
2019-06-11 11:30:37 -04:00
Montana
99ab0c22bc
Add Success banner on submit
2019-06-11 09:31:08 -04:00
richard-dds
48d4b466b1
Formatting
2019-06-10 15:16:26 -04:00
richard-dds
a2d201e43b
Use UTC tz for determining TO status
2019-06-10 15:16:26 -04:00
dandds
fa50c01e48
New backend flow for application invitations.
...
Like portfolio invitations, now a user is not associated with an
application role until they accept the associated invitation.
- domain method for inviting user to application
- change application route for inviting a member
- ApplicationRole model knows user name from invitation
2019-06-05 15:02:22 -04:00
leigh-mil
d7d239d406
Alphabetize flash messages
2019-06-05 12:58:33 -04:00
dandds
c085db23d7
New invitation backend for portfolio invitations.
...
Portfolio invitations do not associate a user entity until the
invitation has been accepted. User info, including DOD ID, is held on
the invitation itself. When a user accepts and invitation, their user
entry is associated with the corresponding `portfolio_role` entry.
The same change will be applied to `application_role` and application
invitations. For now, small changes have been made to
application-related methods so that that flow works as-is.
2019-06-03 15:57:49 -04:00
leigh-mil
7bec073f78
Delete things related to deleted columns and table
2019-05-31 13:07:03 -04:00
richard-dds
6a504fdf89
Merge pull request #834 from dod-ccpo/limit-concurrent-logins
...
Prevent multiple active sessions
2019-05-29 16:19:58 -04:00
richard-dds
c653cf2dbf
Display a flash message when a user logs out
2019-05-28 16:55:52 -04:00
richard-dds
5dcbee333a
Make session limiter configurable
2019-05-28 10:45:12 -04:00
George Drummond
6487fe91ba
Applications users were invited to were not showing in the portfolios
...
sidebar
2019-05-22 11:19:13 -04:00
richard-dds
32df561c6d
Merge pull request #827 from dod-ccpo/stig-notifications
...
Create Notification System
2019-05-20 09:51:09 -04:00
dandds
01a935f257
Merge pull request #822 from dod-ccpo/app-members-edit
...
App members edit
2019-05-17 14:08:06 -04:00
dandds
0dc0397702
Update user's environment role on the team page.
...
- Includes adjustments to the applications.update_team route
- Adds hidden environment ID to the HTML form
2019-05-17 14:00:45 -04:00
George Drummond
15d4b48184
Looking up g.portfolio when g.current_user is None raises an error
2019-05-17 13:29:40 -04:00
richard-dds
d8e75668b0
Log notifications at the time of sending
2019-05-15 14:57:46 -04:00
richard-dds
9ba1def91c
Use separate queue method for notifications
2019-05-15 14:57:46 -04:00
richard-dds
97b9d84c38
Select only recipient emails from the db
2019-05-15 14:57:46 -04:00
richard-dds
d3b42d5bfc
Formatting
2019-05-15 14:57:46 -04:00
richard-dds
c03b69b351
More idiomatic initialization of notification_sender
2019-05-15 14:57:46 -04:00
richard-dds
aaa9d47ccf
Wire up NotificationSender to the app's error handler
2019-05-15 14:57:46 -04:00
richard-dds
a6c5f484b9
Add NotificationSender, one test
2019-05-15 14:57:46 -04:00
rachel-dtr
c6790e5d7a
Updating alert language
2019-05-15 13:28:46 -04:00
montana-mil
1c4725840c
Merge pull request #815 from dod-ccpo/add-new-env-app-settings
...
Add New Environment via app settings
2019-05-15 11:30:29 -04:00
George Drummond
b8ea1349b2
Merge pull request #817 from dod-ccpo/delete-user-from-application
...
Delete an application member
2019-05-14 15:45:32 -04:00
Montana
53d09deb22
Clean up imports
2019-05-14 11:51:34 -04:00
Montana
caf3a47c68
Update banners
...
- Adds "Create a new environment" title to info banner
- Adds a new "environment added" success banner
2019-05-14 11:51:10 -04:00
leigh-mil
4c2b6c331b
Merge pull request #799 from dod-ccpo/edit-env-form-view-part-2
...
Edit env form view part 2
2019-05-14 11:14:46 -04:00
George Drummond
27a4ef12c6
Delete an application member
2019-05-14 11:07:08 -04:00
leigh-mil
060c6834bf
Add save button and temp member role toggle to env member form
2019-05-14 10:58:22 -04:00
George Drummond
dc629192df
Remove unused constant
2019-05-14 10:53:54 -04:00