Commit Graph

956 Commits

Author SHA1 Message Date
richard-dds
a71c2537ef Log audit events for Users 2018-09-25 13:41:48 -04:00
dandds
d0c1bc563f Merge pull request #328 from dod-ccpo/workspace-empty-state-#160732667
Empty state for workspace reports should show existing projects
2018-09-25 13:39:23 -04:00
dandds
3c7b5a083d always display at least current month on reports select menu 2018-09-25 13:20:15 -04:00
richard-dds
141cbedff5 Shuffle commits around to fix audit log ordering 2018-09-25 13:12:06 -04:00
richard-dds
0aeca336b7 Add displayname to Project and Environment 2018-09-25 13:09:54 -04:00
richard-dds
ac3d070178 Use workspace_id when we have it 2018-09-25 13:09:54 -04:00
richard-dds
4a5b9967ef Store request_id when available 2018-09-25 13:09:54 -04:00
richard-dds
5e479feadc Implement Workspace.displayname 2018-09-25 13:09:54 -04:00
richard-dds
b2c59f39ef Only display "in workspace x" resource isn't a workspace 2018-09-25 13:09:54 -04:00
richard-dds
004985057c auditable_workspace_id for Environment 2018-09-25 13:09:54 -04:00
richard-dds
0c8d303bdd Faster (no join) default impl. of auditable_workspace_id 2018-09-25 13:09:54 -04:00
richard-dds
85d866956b Add display_name property to AuditEvent 2018-09-25 13:09:54 -04:00
richard-dds
870929afd6 Rename resource_name to resource_type 2018-09-25 13:09:54 -04:00
richard-dds
5a4cbb56bb Formatting 2018-09-25 13:09:54 -04:00
richard-dds
ddc2e2fad7 Automatic audit logging using SQLA events 2018-09-25 13:09:54 -04:00
Montana
18776aa71c Fix tests 2018-09-25 11:13:24 -04:00
Montana
8fd1d93f2e Prevent saving environment roles as empty strings 2018-09-25 11:13:24 -04:00
Montana
e1767488c7 Fix seed script bug 2018-09-25 11:13:24 -04:00
Montana
d05edb4aa5 Remove unused imports leftover from rebase 2018-09-25 11:13:24 -04:00
Montana
83c4483c42 Pass environment role choices directly from the view to the template instead of via the form 2018-09-25 11:13:24 -04:00
Montana
54af62a58a Test workspace update_member route 2018-09-25 11:13:24 -04:00
Montana
90657e213a Update to FlaskForm 2018-09-25 11:13:24 -04:00
Montana
3a978a1673 Fix bugs and write a test 2018-09-25 11:13:24 -04:00
Montana
e12c1f42db Move environment role method into domain 2018-09-25 11:13:24 -04:00
Montana
a8b777acda Infer if the user has no environment role 2018-09-25 11:13:23 -04:00
Montana
e9f9ff0cd5 Fix update environment role bug 2018-09-25 11:13:23 -04:00
Montana
5522811f4e Add permission check and refactor update_environment_role method 2018-09-25 11:13:23 -04:00
Montana
bead1990c9 Let input value be simple 2018-09-25 11:13:23 -04:00
Montana
32d04bfce4 Make environment role display dynamic 2018-09-25 11:13:23 -04:00
Montana
ccce20c48c Update environment role with real data 2018-09-25 11:13:23 -04:00
Montana
0d80604fcd Fix bug 2018-09-25 11:13:23 -04:00
Montana
f4c379ea25 Use modal inputs to pass environment id and env role to route 2018-09-25 11:13:23 -04:00
Montana
5a5d81eb7f Update the template to show real data 2018-09-25 11:13:22 -04:00
Montana
79c357dcab Write query to change the environment role based on mock data 2018-09-25 11:13:22 -04:00
Montana
c3da34e7cb Capture environment role from modal 2018-09-25 11:13:22 -04:00
Montana
50f9794c34 Update ENVIRONMENT_ROLES 2018-09-25 11:13:22 -04:00
Montana
19a8078bb2 working commit 2018-09-25 11:13:22 -04:00
Montana
04672b9aeb Catch environment role selection 2018-09-25 11:13:22 -04:00
Montana
5b973ab1e4 Fix selection on modal, fix a typo 2018-09-25 11:13:22 -04:00
andrewdds
2bbb859ad8 Merge pull request #327 from dod-ccpo/dummy-help-page
Dummy help page
2018-09-25 11:08:56 -04:00
richard-dds
daa41609e1 Merge pull request #324 from dod-ccpo/fix-members-list-screen
Use proper display name for workspace roles
2018-09-25 10:12:57 -04:00
Patrick Smith
aaf15ee268 Give me some space 2018-09-25 09:45:34 -04:00
richard-dds
ac1c4cd5b7 Display members' count of environment roles 2018-09-25 09:45:34 -04:00
Patrick Smith
5fec89d120 Remove fake comment data 2018-09-25 09:45:34 -04:00
Patrick Smith
fafe98756b Show error on page if submitting an empty comment 2018-09-25 09:45:34 -04:00
Patrick Smith
bed03901c2 Allow adding an internal comment on a request 2018-09-25 09:45:34 -04:00
Patrick Smith
0f14eabc44 Allow having multiple internal comments on a request 2018-09-25 09:45:34 -04:00
dandds
1768dea235 formatting and add financial details to requests in seed_sample script 2018-09-25 09:45:34 -04:00
dandds
5a52ea3c81 display task order info on reports page 2018-09-25 09:45:34 -04:00
dandds
90674b2e62 return current month with no data for cumulative budget report 2018-09-25 09:00:20 -04:00