347 Commits

Author SHA1 Message Date
Patrick Smith
a27c1b5712 Set current user for public routes as well 2018-09-26 16:50:43 -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
richard-dds
c9c387b06d Don't explicitly add project creator to environments 2018-09-25 15:54:57 -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
22f02f604f Add test which ensures that CCPO can view the audit log 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
54af62a58a Test workspace update_member route 2018-09-25 11:13:24 -04:00
Montana
3a978a1673 Fix bugs and write a test 2018-09-25 11:13:24 -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
5a18536125 Rename internal comment test 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
dbe1c0ff5b better date range for task order expiration date in test factory 2018-09-25 09:45:34 -04:00
dandds
32a97c29be better fake task order numbers for tests 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
patricksmithdds
6ac19d315d
Merge pull request #323 from dod-ccpo/internal-comments
Hook up internal request comments
2018-09-24 17:53:06 -04:00
dandds
04d03f3c93 fix and refactor test for protected routes 2018-09-24 16:59:08 -04:00
Patrick Smith
0b81ccb254 Rename internal comment test 2018-09-24 15:56:36 -04:00
richard-dds
e64b2dd034 Add Role.display_name 2018-09-24 14:19:17 -04:00
Patrick Smith
92d73387f5 Show error on page if submitting an empty comment 2018-09-24 13:52:50 -04:00
Patrick Smith
e0e51d8c35 Allow adding an internal comment on a request 2018-09-24 13:52:50 -04:00
Patrick Smith
99a745904f Allow having multiple internal comments on a request 2018-09-24 13:52:50 -04:00
dandds
218c142020 better date range for task order expiration date in test factory 2018-09-24 11:27:35 -04:00
dandds
238e8ff16d better fake task order numbers for tests 2018-09-24 11:03:20 -04:00
dandds
e668cb93d0 formatting and add financial details to requests in seed_sample script 2018-09-24 11:03:20 -04:00
richard-dds
99858fe98e Use a role name faker with higher entropy
- The "job" faker kept generating duplicates.
2018-09-24 10:31:01 -04:00
richard-dds
18bc8afeb7 Formatting 2018-09-21 14:00:01 -04:00
richard-dds
519b5caa4c Fix tests that were broken by new constraints 2018-09-21 14:00:01 -04:00
richard-dds
5f54468082 Timestamps and uuids everywhere 2018-09-21 14:00:01 -04:00
dandds
2a67fb6197 add task order data to seed workspace 2018-09-20 11:42:03 -04:00
dandds
8fc5a4a092 show request name where appropriate and set as default workspace name 2018-09-19 10:44:21 -04:00
dandds
ec5c3e8ce8 add request name 2018-09-19 10:44:21 -04:00
dandds
e34b1b55d0
Merge pull request #300 from dod-ccpo/total-spend-#159974960
reports shows real budget information for total spend
2018-09-19 10:29:22 -04:00
richard-dds
fc20d75d31
Merge pull request #301 from dod-ccpo/validate-dates
Validate that start_date is in the future
2018-09-19 10:03:57 -04:00
richard-dds
751131ed3a Move factory request's start_date to the future 2018-09-18 21:45:09 -04:00
richard-dds
b42b9812b0 Validate that start_date is in the future 2018-09-18 17:01:09 -04:00
dandds
ca8b9028bc reports shows real budget information for total spend 2018-09-18 16:04:03 -04:00
dandds
09a18220e6
Merge pull request #299 from dod-ccpo/details-view-tests
refactor request details rendering logic
2018-09-18 12:00:39 -04:00
dandds
01fca617e7 refactor request details rendering logic 2018-09-18 11:36:33 -04:00
richard-dds
4ab73cc06b Redirect CCPO user to requests page 2018-09-18 11:08:19 -04:00
dandds
955a735f96
Merge pull request #297 from dod-ccpo/expiration-date-#160326598
add expiration_date to manual task order form
2018-09-18 08:56:58 -04:00
dandds
a2e8caf23b add expiration_date to manual task order form 2018-09-17 16:56:10 -04:00
richard-dds
3baa7b2016
Merge pull request #293 from dod-ccpo/homepage-redirects
Redirect from /home depending on requests and workspaces
2018-09-17 16:49:01 -04:00
richard-dds
0e2ec93c84 Formatting 2018-09-17 16:40:01 -04:00
dandds
f984c95060
Merge pull request #294 from dod-ccpo/edit-workspace-#160300728
Edit workspace #160300728
2018-09-17 15:45:35 -04:00
richard-dds
72c82161d7 Rename some tests for clarity 2018-09-17 15:20:17 -04:00
dandds
8359a2a079 display review comment for financial verification that needs changes 2018-09-17 13:45:01 -04:00