375 Commits

Author SHA1 Message Date
dandds
4c03a403f7 cleanup, add test for workspace user permissions 2018-10-31 10:21:48 -04:00
dandds
151d5be5ea use invite token instead of id for invitation url 2018-10-31 10:21:48 -04:00
dandds
b81a831c85 remove accepted column from workspace_roles 2018-10-31 10:21:48 -04:00
dandds
5c5f9c6c9c record expiration time on the invitation 2018-10-31 10:21:48 -04:00
dandds
d5998ed370 track invitation state by status enum 2018-10-31 10:21:48 -04:00
dandds
6125041a93 record inviter on invitation 2018-10-31 10:21:48 -04:00
dandds
5c2d466049 workspace users who have not accepted invite should not have permissions 2018-10-31 10:21:48 -04:00
dandds
3e19c75c80 workspace role marked as accepted when user accepts invitation 2018-10-31 10:21:48 -04:00
dandds
49f5edfe29 new workspace members are provisional until they log in for the first time 2018-10-31 10:21:48 -04:00
dandds
b8fc92cd14 basic invitation model with domain class 2018-10-31 10:21:48 -04:00
Patrick Smith
f8c4386d84 Add model attribute for profile completeness 2018-10-30 15:32:04 -04:00
Patrick Smith
891dcc5b31 Keep list of required fields on user model 2018-10-30 15:32:04 -04:00
richard-dds
7404cc4a59 Commit after updating status 2018-10-29 11:41:57 -04:00
richard-dds
09d3f33908
Merge pull request #387 from dod-ccpo/save-finver-draft
Save Financial Verification Draft
2018-10-29 10:26:30 -04:00
richard-dds
0f6fee9909 Add test for removing env role in update_environment_roles 2018-10-24 11:17:44 -04:00
richard-dds
a1735874e6 Determine if finver form should be extended by checking TO 2018-10-23 11:45:09 -04:00
richard-dds
99a61aa9a6 Formatting 2018-10-23 11:45:09 -04:00
richard-dds
22cbca5951 Remember if finver form is extended 2018-10-23 11:45:09 -04:00
richard-dds
5d2b976e5f Preemptively upload task order PDF 2018-10-23 11:45:09 -04:00
richard-dds
e72b980d94 Refactor FinVer to make room for draft feature 2018-10-23 11:45:09 -04:00
dandds
30318b68bb add additional user fields 2018-10-16 09:18:13 -04:00
dandds
e7a117be33 move user edit routes into their own module and blueprint 2018-10-16 09:18:13 -04:00
Patrick Smith
8bb9c1ab8a Add __repr__ to models 2018-10-02 14:14:39 -04:00
richard-dds
d0f4e34263 Display request id and displayname as well 2018-10-01 14:39:33 -04:00
richard-dds
7f1e8aa277 Remove unused properties 2018-10-01 11:42:26 -04:00
richard-dds
d784c03eec Display user names in audit log 2018-10-01 11:38:53 -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
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
Andrew Croce
9ec8caa9b6 format 2018-09-26 08:26:05 -04:00
Andrew Croce
7a5d733b20 log activity description prop 2018-09-25 16:02:52 -04:00
richard-dds
a71c2537ef Log audit events for Users 2018-09-25 13:41:48 -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
d05edb4aa5 Remove unused imports leftover from rebase 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
79c357dcab Write query to change the environment role based on mock data 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
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
patricksmithdds
6ac19d315d
Merge pull request #323 from dod-ccpo/internal-comments
Hook up internal request comments
2018-09-24 17:53:06 -04:00
richard-dds
49555cab71 Display members' count of environment roles 2018-09-24 14:45:03 -04:00