Commit Graph

129 Commits

Author SHA1 Message Date
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
Montana
74422c57aa Use common "View" for translations
-also pipe translate in injected html for a flash
2019-05-13 09:28:47 -04:00
rachel-dtr
39a0716028 Updating content across the site 2019-05-10 10:28:02 -04:00
dandds
2435f91b13 Merge pull request #809 from dod-ccpo/resource-finder
Resource finder
2019-05-10 06:07:45 -04:00
dandds
2d99b5cfc5 Permission-check for templates accounts for all permission levels.
`user_can` function built for Jinja template contexts should check
application, portfolio, and atat level permissions depending on what
resources are available on `g`.
2019-05-08 13:25:38 -04:00
montana-mil
fb7efc6057 Merge pull request #801 from dod-ccpo/app-team-permissions
Application Team Table Permissions
2019-05-07 16:27:23 -04:00
dandds
3c1f4ac6df Standardize token argument in routes.
- `token` becomes `portfolio_token` in routes.
- Find relevant portfolio from token in `before_request` hook, like
  other routes.
2019-05-06 16:35:33 -04:00
dandds
42b912d4cb Look up major database resources in a before_request hook.
A `before_request` hook queries the database for portfolios, requests,
and task orders based on the route arguments. The resources are added as
attributes on `g`. The portfolio context processor and the access
decorator now rely on those resources being available on `g`.

WIP: find major resources in before_request hook, apply to g

WIP: use g.portfolio for portfolio context processor

WIP: the access decorator should rely on the resources being available on g
2019-05-06 16:32:55 -04:00
Montana
1759732d38 Add success banner
- The banner does not display which members were updated
2019-05-06 15:17:48 -04:00
George Drummond
037fe09163 Delete environments from an application 2019-05-06 13:51:57 -04:00
dandds
ade77e6b91 Route for adding new application member
- domain method for creating a new application member
- ApplicationInvitations domain class
- nested form for adding a new user that holds user data, application
  permission sets, and environment roles
- Invitation service can infer invitation type based on role it's given
- new invitation email templates
2019-04-30 14:41:55 -04:00
George Drummond
079672c818 Update application environments 2019-04-29 10:46:21 -04:00
leigh-mil
99a3534d03 Update route to include environment_id 2019-04-25 10:47:39 -04:00
dandds
ed25078c39 move portfolio context processor to generic location 2019-04-22 07:15:18 -04:00
dandds
a2e815afd9 move application deletion alert content into translations file 2019-04-15 16:03:32 -04:00
dandds
dac764ab82 route for deleting an application 2019-04-15 15:58:38 -04:00
rachel-dtr
6d4cd59e0b Updating PPoC language 2019-04-10 10:13:47 -04:00
George Drummond
090e13f083 Update Point of Contact 2019-04-08 13:31:00 -04:00
rachel-dtr
40a4e205d9 Merge pull request #745 from dod-ccpo/delete-user-update
Delete user update
2019-04-05 14:02:37 -04:00
Montana
48d7918b66 Use translate function directly 2019-04-05 11:47:58 -04:00
rachel-dtr
5401fd4769 Updating translation file 2019-04-05 11:22:06 -04:00
dandds
bee4cf289c Merge pull request #740 from dod-ccpo/uwsgi-logging
uWSGI JSON logging
2019-04-04 16:47:31 -04:00
rachel-dtr
d34e90a76c Updating language for deleting portfolio members 2019-04-04 14:32:51 -04:00
rachel-dtr
aecb4fc583 Merge branch 'master' of github-DDS:dod-ccpo/atst into delete-user-update 2019-04-04 14:05:32 -04:00
rachel-dtr
265612c339 Updating some more capitalization and word choice 2019-04-04 13:56:41 -04:00
rachel-dtr
5b77d6c0d0 Updating some more capitalization 2019-04-04 13:26:40 -04:00
Montana
747a59825a Use JSONLogger to log audit event information 2019-04-03 15:39:18 -04:00
George Drummond
6f1eb43de4 Remove Portfolio User 2019-04-03 09:43:39 -04:00
dandds
a86751e010 sample uWSGI logging
- added source identifier to application logs
- added toy NGINX/uWSGI setup in sample directory
2019-04-02 14:16:24 -04:00
montana-mil
91c3cc665f Merge pull request #728 from dod-ccpo/edit-perms-pf-members
Edit Portfolio Members Access Levels
2019-04-02 11:14:02 -04:00