Commit Graph

2281 Commits

Author SHA1 Message Date
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
dandds
22ebe214fe Merge pull request #732 from dod-ccpo/json-logging
ATST Json logging
2019-04-02 11:10:07 -04:00
Montana
3cfac9e95e Validate the form 2019-04-02 10:38:18 -04:00
Montana
c46746d43d No need to manually check for update or flash 2019-04-02 10:37:50 -04:00
rachel-dtr
7109860553 Continuing to clean up capitalization 2019-04-02 10:34:13 -04:00
Montana
d84eccbc83 Only update when permissions are different 2019-04-02 10:17:16 -04:00
Montana
25563cf06a Add helper function 2019-04-02 10:17:16 -04:00
Montana
d70332836b Only flash when permissions change 2019-04-02 10:17:16 -04:00
Montana
2d7e17e522 Success banner 2019-04-02 10:17:16 -04:00
Montana
766e3b6f47 Update permissions 2019-04-02 10:17:16 -04:00
Montana
a152c66e61 Add hidden input for passing dod id in form 2019-04-02 10:17:16 -04:00
dandds
19438ab83e small improvements in existing log statements:
- log exceptions as exception so that stack trace is recorded
- use tags where appropriate for JSON logs
- use different log levels in CRL checker
2019-04-01 16:48:39 -04:00
rachel-dtr
4403c338ee Updating minor content inconsistencies 2019-04-01 13:34:39 -04:00
dandds
d73b082471 configurable json logging for atst app 2019-04-01 12:34:53 -04:00
dandds
5d05c146d6 context filter for adding additional data to logs 2019-03-29 15:47:44 -04:00
dandds
34149de04d basic json log formatter 2019-03-29 14:05:26 -04:00
dandds
a1faa058bd Merge pull request #723 from dod-ccpo/add-portfolio-user
Add portfolio user
2019-03-29 10:26:21 -04:00
dandds
29ec4a80af give access decorator override function a clearer name; exception -> override 2019-03-28 09:32:51 -04:00
dandds
c7ac967870 present flash message when new portfolio member is added 2019-03-26 15:49:06 -04:00
dandds
1bc434be8c multi-step form modal with basic implementation for adding new member 2019-03-26 15:46:48 -04:00
dandds
6b59ab800b Merge pull request #722 from dod-ccpo/render-edit-buttons-pf-users-table
Render Edit Buttons on Portfolio Members Table
2019-03-26 15:43:39 -04:00
Montana
34d4463665 Change form name in route and template 2019-03-26 14:49:54 -04:00
Montana
dd4dc9de86 Render dropdowns for permissions 2019-03-26 14:41:49 -04:00
leigh-mil
0d30b81ec5 Use if/else to avoid multiple queries 2019-03-26 10:36:23 -04:00
leigh-mil
5d2b8556ed Check that user has portfolio and invite perms to revoke or resend invites 2019-03-25 16:19:44 -04:00
leigh-mil
d152034e1b Add in check to make sure that user has portfolio and app perms 2019-03-25 15:54:10 -04:00
dandds
21af2b8ce9 separate control structures for task_order_id and portfolio_id in decorator 2019-03-22 14:47:42 -04:00
dandds
601ca1c655 fix access logs and add request method 2019-03-22 11:48:59 -04:00
dandds
746a5834c1 only pass one func to exception kwarg in access decorator 2019-03-22 06:33:01 -04:00
dandds
905f03342d remove permission from access decorator exception args 2019-03-22 06:33:01 -04:00
dandds
e07640db57 add messages to all route access decorators 2019-03-22 06:33:01 -04:00
dandds
078264bec7 add access tests for all access-protected routes
- cleans up skipped access tests in domain tests
- cleans up other skipped tests that are no longer relevant
2019-03-22 06:33:01 -04:00
dandds
9fb6299680 update portfolio context processor 2019-03-22 06:31:20 -04:00
dandds
dff72422f0 log access attempts in access decorator 2019-03-22 06:31:20 -04:00
dandds
4a0dd2d432 remove unused domain methods and arguments 2019-03-22 06:31:20 -04:00
dandds
de7c69bde7 apply access decorator to routes 2019-03-22 06:30:21 -04:00
dandds
0ea21fbb9b remove access checks from domain methods 2019-03-22 06:30:02 -04:00
dandds
1974c89e9c Merge pull request #714 from dod-ccpo/ccpo-permission-sets
CCPO permission sets
2019-03-21 13:27:31 -04:00
montana-mil
7ab5e0ba58 Merge pull request #716 from dod-ccpo/portfolio-admin-users-table
Portfolio admin users table
2019-03-21 10:24:26 -04:00
Montana
762c111751 Move template logic to route function 2019-03-21 09:40:38 -04:00
dandds
c4b4cc0912 update atat-wide permission sets 2019-03-21 05:38:28 -04:00
dandds
7c5e931c67 throw error for missing permission_sets in PermissionSets.get_many 2019-03-21 05:38:28 -04:00
dandds
366ada5a90 check sitewide perms for portfolio access, restore ccpo tests 2019-03-21 05:38:28 -04:00
dandds
bec5d11bfe users have permission sets for site-wide perms 2019-03-21 05:38:28 -04:00
Montana
f1060db200 Add (you) 2019-03-20 15:30:19 -04:00
George Drummond
5572452cc0 Test for invalid signature 2019-03-20 15:24:48 -04:00
George Drummond
37ab26862a Memoize parsed openssl cert 2019-03-20 13:11:13 -04:00
George Drummond
eafb000d58 Just return a boolean response rather than a string 2019-03-20 13:11:13 -04:00
George Drummond
1024ee0cf2 Test is handed in CRL checker 2019-03-20 13:11:13 -04:00