550 Commits

Author SHA1 Message Date
richard-dds
e997c5cedd Allow CCPO to view workspaces 2018-09-12 11:13:06 -04:00
richard-dds
0ddbeaf176 Domain method for adding an internal comment 2018-09-11 16:41:09 -04:00
dandds
6859d562d6 requests domain method for rejecting request with appropriate status 2018-09-11 13:27:15 -04:00
dandds
68a32e0a08 requests domain method for advancing a request to the next stage 2018-09-11 11:20:59 -04:00
richard-dds
6a8cbcf1c2
Merge pull request #264 from dod-ccpo/view-pe-as-workspace-user
View projects and environments as a workspace user
2018-09-11 10:16:18 -04:00
richard-dds
607effcd1e Rename and comment test for clarity 2018-09-10 23:36:21 -04:00
dandds
d38261f439 associate ccpo user to request review 2018-09-10 16:42:42 -04:00
richard-dds
79ba272f70 Check workspace permissions, not project 2018-09-10 14:01:36 -04:00
richard-dds
7126670d56 Formatting 2018-09-10 13:46:40 -04:00
richard-dds
eb99e72659 Create Projects.for_user and Environments.for_user 2018-09-10 13:42:24 -04:00
richard-dds
996596f2b3 Automatically assign workspace owner to environments 2018-09-10 13:35:16 -04:00
dandds
ebac93bc23 run reformatter 2018-09-10 11:22:59 -04:00
dandds
24cbb90ce2 ccpo can request changes on a request 2018-09-10 11:17:47 -04:00
dandds
c4e9971206 distinguish final CCPO approval from acceptance of initial request 2018-09-10 10:29:04 -04:00
dandds
14d03e7e66 requests domain can approve a request for financial verification 2018-09-10 10:29:04 -04:00
richard-dds
b2717ca62c Add additional test 2018-09-06 16:21:24 -04:00
richard-dds
549e4d6263 Use Workspaces.get_with_members 2018-09-06 16:21:24 -04:00
Montana
6444325f42 Update test for updating user role 2018-09-05 15:13:08 -04:00
Montana
8faed87e00 Update workspace role in the DB, add tests 2018-09-05 14:16:20 -04:00
dandds
1e0523ebf6 new request statues events should be associated with latest revision 2018-09-04 16:15:36 -04:00
dandds
59fdad8554 use regular WTForms DateField for requests dates 2018-09-04 16:15:36 -04:00
dandds
cc7ddd9468 update to use request revisions 2018-09-04 16:14:53 -04:00
richard-dds
3af630e4dd Return pendulum instance from last_submission_timestamp 2018-09-04 13:09:27 -04:00
richard-dds
6af50b78b0 Implement Request.last_submission_date 2018-09-04 12:47:17 -04:00
richard-dds
c78aac2dea Formatting 2018-08-31 13:25:14 -04:00
richard-dds
a7678cad12 New domain method for adding workspace user 2018-08-31 13:25:14 -04:00
Patrick Smith
6bfc7f77bc Add test for new Authorization check 2018-08-30 14:45:39 -04:00
Patrick Smith
d785f19b5b Enforce authorization when getting a request 2018-08-30 14:45:39 -04:00
Montana
be080ed205 Add new filter for rendering FileStorage name in case of invalid financial form submission 2018-08-27 14:22:44 -04:00
Montana
6df897191c Test that the pdf is attached 2018-08-27 13:08:05 -04:00
Montana
4f9e7c3408 Fix tests, add financial verification data fixture 2018-08-27 13:07:14 -04:00
dandds
43f1866783 record invalid task order number on the request body 2018-08-27 09:29:40 -04:00
richard-dds
daa8634cb4 Format project 2018-08-23 16:25:36 -04:00
richard-dds
8806705bc3
Merge pull request #206 from dod-ccpo/multiple-environments
Allow a user to add multiple environments when creating a project
2018-08-23 16:15:00 -04:00
richard-dds
7a9405ba2f Sort environment names so our assert is deterministic 2018-08-23 14:54:46 -04:00
dandds
217183c142 submitting final financial verification is a top-level Requests method 2018-08-23 09:18:25 -04:00
dandds
f1ec71fe42 set pending CCPO review status on request with complete financial information 2018-08-23 09:16:40 -04:00
dandds
d66a496fbc financial verification should create or find a Task Order for the request 2018-08-23 09:15:54 -04:00
dandds
e3631da8ea request can update financial verification data 2018-08-23 09:11:21 -04:00
richard-dds
814ec5a513 Add test for Projects.create 2018-08-22 17:06:13 -04:00
richard-dds
0469e061da Check permissions when attempting to create a project 2018-08-21 20:52:46 -04:00
richard-dds
92553f3b39 Add Workspaces.get_many 2018-08-21 20:21:10 -04:00
richard-dds
7d165e45d3 Authorize user in Workspaces.get 2018-08-21 20:21:10 -04:00
richard-dds
ee17ca6633 Add Workspace.roles 2018-08-21 20:21:10 -04:00
richard-dds
43263f35cc Fix workspace_role workspace relationship 2018-08-21 20:21:10 -04:00
richard-dds
a438e409ba Refactor workspace tests 2018-08-21 20:21:10 -04:00
richard-dds
8d58b2a7a0 WIP: created Project and Environment models 2018-08-21 20:21:10 -04:00
dandds
c723c9b326 WIP: creating a workspace creates a workspace_role 2018-08-21 20:21:10 -04:00
dandds
75f41d4d2b remove workspaces task order association for now 2018-08-21 20:21:10 -04:00
dandds
ef153f5226 basic workspace model and repository implementation 2018-08-21 20:21:10 -04:00