Commit Graph

1579 Commits

Author SHA1 Message Date
Patrick Smith
a27c1b5712 Set current user for public routes as well 2018-09-26 16:50:43 -04:00
Montana
4c2d143e56 Use Optional validator for BA code 2018-09-26 13:08:01 -04:00
Andrew Croce
5fd1dac257 Update BA code description and validation message to describe the letter as optional 2018-09-26 13:08:01 -04:00
Montana
68206307fd Take out Optional() validator for tests to pass 2018-09-26 13:08:00 -04:00
Andrew Croce
542abb3c96 Make BA code optional 2018-09-26 13:08:00 -04:00
richard-dds
0a8c488f1e Merge pull request #341 from dod-ccpo/ui/clean-up-audit-log
Initial audit log UI cleanup
2018-09-26 11:33:03 -04:00
andrewdds
d594135fbe Merge pull request #337 from dod-ccpo/user-profile-screen
User profile screen
2018-09-26 11:31:08 -04:00
dandds
c6ac7c3ff9 Merge pull request #260 from dod-ccpo/eda-requests
Investigate requests against EDA
2018-09-26 10:42:41 -04:00
richard-dds
885b2da308 Remove workspaces.name unique constraint
- Added some random indexes
- Fixed audit_events.request_id foreign key constraint
2018-09-26 10:23:54 -04:00
dandds
2e07c8ebda use defusedxml library for secure parsing 2018-09-26 10:23:37 -04:00
Patrick Smith
c917605df9 Flesh out EDA client a bit more 2018-09-26 10:23:37 -04:00
patricksmithdds
4de0338978 Merge pull request #339 from dod-ccpo/hook-up-add-env-access-link
Hook up the "Add Environment Access" link when adding a member
2018-09-26 09:38:21 -04:00
Andrew Croce
9ec8caa9b6 format 2018-09-26 08:26:05 -04:00
richard-dds
6f87524eae Merge pull request #335 from dod-ccpo/fix-workspace-owner-environments
Fix regression in Projects.create
2018-09-25 16:53:05 -04:00
Patrick Smith
648964dc1e Hook up the "Add Environment Access" link when adding a member 2018-09-25 16:44:40 -04:00
Andrew Croce
7a5d733b20 log activity description prop 2018-09-25 16:02:52 -04:00
richard-dds
c9c387b06d Don't explicitly add project creator to environments 2018-09-25 15:54:57 -04:00
Andrew Croce
5572dfedba formatting 2018-09-25 14:19:50 -04:00
Andrew Croce
ca66139a2f dummy save_user route 2018-09-25 14:19:50 -04:00
Andrew Croce
d20247a47e edit user wtform 2018-09-25 14:19:50 -04:00
Andrew Croce
27a806d7f8 user route 2018-09-25 14:19:50 -04:00
Andrew Croce
ab14c214c2 edit user form 2018-09-25 14:18:55 -04:00
richard-dds
b65fdd56a0 Fix regression in Projects.create
A new project's creator was not being assigned a role in the project's
environments.
2018-09-25 14:07:15 -04:00
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