2451 Commits

Author SHA1 Message Date
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
Patrick Smith
0e33755ef7 Set initial value when field data is not None 2018-09-25 13:39:59 -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
richard-dds
7a08845ca6
Merge pull request #315 from dod-ccpo/audit-log-v2
Audit log v2
2018-09-25 13:30:40 -04:00
montana-mil
60e4b33a3f
Merge pull request #332 from dod-ccpo/fix-toggler
Prevent toggler from submitting form
2018-09-25 13:29:04 -04:00
dandds
3c7b5a083d always display at least current month on reports select menu 2018-09-25 13:20:15 -04:00
patricksmithdds
98eb7bab96
Merge pull request #329 from dod-ccpo/fix-github-link-in-buildinfo
Fix link to github repo in buildinfo.json
2018-09-25 13:18:36 -04:00
Montana
ccad2d9a73 Prevent toggler from submitting form 2018-09-25 13:17:24 -04:00
montana-mil
43fddc03b7
Merge pull request #330 from dod-ccpo/cancel-button
Cancel button redirects to members view page
2018-09-25 13:12:40 -04:00
richard-dds
f9da06d3b9
Merge pull request #331 from dod-ccpo/fix-seed-roles
Update Role.display_name in seed_roles
2018-09-25 13:12:31 -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
5aabf92316 Rebase and fix migration path 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
22f02f604f Add test which ensures that CCPO can view the audit log 2018-09-25 13:09:54 -04:00
richard-dds
5a4cbb56bb Formatting 2018-09-25 13:09:54 -04:00
richard-dds
112f85a10e Add audit log permission to CCPO 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
Devon Mackay
ab5580456d Fix typo 2018-09-25 12:13:20 -04:00
Devon Mackay
c65f8fb7da Fix output text 2018-09-25 12:12:54 -04:00
Devon Mackay
daa4f13221 Fix GitHub link generation
- Detect if the origin URL is in SSH or HTTPS format
- Create HTTPS GitHub URLs after converting the origin URL
2018-09-25 12:06:41 -04:00
richard-dds
8b56931d5c Also update Role.display_name 2018-09-25 12:06:40 -04:00
Montana
6986213780 Cancel button redirects to members view page 2018-09-25 12:03:54 -04:00
dandds
7ae201655a refactor new project component form validation 2018-09-25 12:02:59 -04:00
montana-mil
b7a33de29d
Merge pull request #304 from dod-ccpo/assign-csp-roles
Assign and Update Environment Roles for Workspace Users
2018-09-25 11:48:13 -04:00
Patrick Smith
a933a9d71e Fix link to github repo in buildinfo.json 2018-09-25 11:24:39 -04:00
Montana
e17ede4514 No destructuring in IE10 2018-09-25 11:13:24 -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
6d50c228af Fix bug that would save a user's modal selection even if the user canceled out of the modal 2018-09-25 11:13:24 -04:00
Montana
a071ff625f Rename confusing variable 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
95d826be09 All modals use activeModal 2018-09-25 11:13:23 -04:00