53 Commits

Author SHA1 Message Date
dandds
12307769d4 rerun formatter for pretty 3.6.6 numbers 2018-10-09 10:55:21 -04:00
richard-dds
40557a5494 Merge SuperFactories into Factories, overriding _create 2018-10-08 10:36:02 -04:00
richard-dds
e06025366a Allow RequestFactory to generate task order 2018-10-08 10:35:36 -04:00
richard-dds
e383ee533a Super factories! 2018-10-05 16:48:12 -04:00
Patrick Smith
7b2a099ef3 Filter environments for user with given project id
Previously, calling `Environment.for_user(user, project)` would return
environments a user has access to across all projects. Now, we will only
return the relevant environements. This was the cause of a visual bug
where extra environments were shown in the project list.
2018-09-30 22:06:10 -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
richard-dds
e64b2dd034 Add Role.display_name 2018-09-24 14:19:17 -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
519b5caa4c Fix tests that were broken by new constraints 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
ec5c3e8ce8 add request name 2018-09-19 10:44:21 -04:00
richard-dds
751131ed3a Move factory request's start_date to the future 2018-09-18 21:45:09 -04:00
dandds
a2e8caf23b add expiration_date to manual task order form 2018-09-17 16:56:10 -04:00
dandds
a7fbd386e0 show financial verification data for existing task order 2018-09-12 08:53:53 -04:00
dandds
6859d562d6 requests domain method for rejecting request with appropriate status 2018-09-11 13:27:15 -04:00
dandds
aadedfc3b0 small schema refinements for request_reviews 2018-09-10 13:33:10 -04:00
dandds
ebac93bc23 run reformatter 2018-09-10 11:22:59 -04:00
dandds
c123cdd6e9 ccpo can submit basic review 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
dandds
8e000e3e77 add request review 2018-09-10 10:29:04 -04:00
dandds
4b25cc19d9
Merge pull request #238 from dod-ccpo/request-schema-#159719829
Request schema #159719829
2018-09-05 13:22:58 -04:00
dandds
1e0523ebf6 new request statues events should be associated with latest revision 2018-09-04 16:15:36 -04:00
dandds
326d330a40 use python dates for request revisions, plus some cleanup 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
b7aa4f38e4 Formatting 2018-09-04 15:02:49 -04:00
richard-dds
319f6c05c2 Refactor requests index route for easier testing 2018-09-04 14:57:01 -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
dandds
78e9cdd82c use SERVICE_BRANCHES constant for requests factory 2018-08-20 10:56:29 -04:00
richard-dds
06c44f86c9 Fix tests, linting errors 2018-08-17 14:36:04 -04:00
patricksmithdds
46aa95248c
Merge pull request #178 from dod-ccpo/kpi-159705475
Add counts for KPI (159705475)
2018-08-15 12:04:28 -04:00
richard-dds
bcf74b09eb Expand BooleanField's default_values for stepthrough test 2018-08-15 11:28:48 -04:00
richard-dds
c6618c503b Create new template and form field 2018-08-15 11:28:48 -04:00
dandds
9514556797 fix tests for new request field values 2018-08-15 10:49:48 -04:00
dandds
4c587864ef add Requests method for counting all requests with a given status 2018-08-14 16:23:41 -04:00
dandds
0fcfae0bc6 add field to request factory 2018-08-14 10:55:09 -04:00
richard-dds
d307a255b1 Fix some issues from a tricky merge 2018-08-08 15:46:16 -04:00
richard-dds
47957384fc
Merge branch 'master' into request-creator-name 2018-08-08 15:28:36 -04:00
dandds
2cfc142417 simple implementation of request view authorization 2018-08-08 13:54:15 -04:00
dandds
1a5800cbc5 Requests domain module can determine if user can view request 2018-08-08 13:53:35 -04:00
richard-dds
df93db4cd8 Create more varied requests in seed script 2018-08-08 13:43:52 -04:00
richard-dds
e99ddd491a Create Request.creator relationship
- Rename creator_id to user_id
2018-08-08 13:43:52 -04:00
richard-dds
49b9fca793 Use Enum for request statuses 2018-08-07 16:41:47 -04:00
richard-dds
0c9005aaf6 Fix and refactor action_required_by 2018-08-07 16:22:24 -04:00
dandds
033578fa21 implement database sessions for test factories 2018-08-07 15:23:50 -04:00
dandds
61270fbb40 use user factory for testing 2018-08-06 15:03:09 -04:00
richard-dds
13146e9362 Implement log_in_user 2018-08-06 10:44:00 -04:00