117 Commits

Author SHA1 Message Date
George Drummond
14b3e3f933
LazyFunction in CLINFactory 2019-06-12 14:10:12 -04:00
George Drummond
9edf816765
More realistic seeds 2019-06-12 11:41:40 -04:00
richard-dds
40b599d1d0 Fix rebase conflicts 2019-06-10 15:33:30 -04:00
richard-dds
0f4d17a94a Implemen TaskOrder.is_completed 2019-06-10 15:15:39 -04:00
richard-dds
7b8ccbf145 Implement TO start_date and end_date 2019-06-10 15:15:08 -04:00
richard-dds
898f63a2f5 Fix CLINFactory 2019-06-10 15:15:08 -04:00
leigh-mil
36200e01ad Create CLINs when creating a TO 2019-06-10 12:29:54 -04:00
Montana
f462c3bd5e Add unit tests 2019-06-05 09:40:33 -04:00
George Drummond
f7562714cb
Add New Portfolio Workflow 2019-06-04 13:10:42 -04:00
leigh-mil
1784318e0e Update seed_sample with new TO info 2019-05-31 13:07:03 -04:00
leigh-mil
7bec073f78 Delete things related to deleted columns and table 2019-05-31 13:07:03 -04:00
dandds
df06d1b62f Use application_role_id on environment_roles.
In the future, an `application_invitation1 will not refer to a `user` until
someone accepts the invitation; they'll only reference an
`application_role`. When a user is invited to an application, the
inviter can specify the environments the invitee should have access to.
For this to be possible, an `environment_role` should reference an
`application_role`, because no `user` entity will be known at that time.

In addition to updating all the models and domain methods necessary for
this change, this commit deletes unused code and tests that were
dependent on `environment_roles` having a `user_id` foreign key.
2019-05-31 11:21:20 -04:00
richard-dds
a6c5f484b9 Add NotificationSender, one test 2019-05-15 14:57:46 -04:00
dandds
054f6b80b9 add application_invitation table 2019-04-30 14:41:55 -04:00
dandds
c4ad7b4378 Make portfolio invitation specific to portfolio
- add a base domain class
- extract shared model code to mixin
- rename invitation classes
- invitation model relationship to portfolio_role name is now more
  generic "role"
2019-04-30 14:41:55 -04:00
leigh-mil
c085f27af8 Update env roles by environment 2019-04-25 10:47:39 -04:00
leigh-mil
fbd9c9db66 Create form in view route for application settings 2019-04-25 10:47:39 -04:00
dandds
1c0c5dd9c5 soft deletes available for applications and environments
- parent relation will not include applications or environments marked
  as deleted
- domain classes will exclude deleted objects from selections
- changed some test factories to use domain_word for resource names,
  because they were using person names and it bugged me
2019-04-15 15:58:38 -04:00
dandds
9c10a14827 update authorization decorator to check for application permissions 2019-04-08 13:31:19 -04:00
dandds
866043495b updates to test factories to accomodate application roles 2019-04-08 13:31:19 -04:00
dandds
bec5d11bfe users have permission sets for site-wide perms 2019-03-21 05:38:28 -04:00
dandds
ad56ddc60e implement PermissionSets.get_many for getting multiple permission sets by name 2019-03-15 07:14:49 -04:00
dandds
ee37a5543a organize portfolio permission sets by domain 2019-03-15 07:14:49 -04:00
dandds
d3c3209fc0 cleanup unused portfolio roles 2019-03-15 07:14:49 -04:00
dandds
1a122c5335 rename role -> permission_set everywhere 2019-03-15 07:14:49 -04:00
dandds
0c2ab6fb7a remove portfolio_role direct relationship to role 2019-03-15 07:14:49 -04:00
dandds
44a4d98978 switch portfolio authorization to rely on new permission sets 2019-03-15 07:14:49 -04:00
Montana
7ee8858cc7 Add defense_component to Portfolio when new task_order is created without an existing portfolio 2019-02-26 11:29:16 -05:00
Patrick Smith
2d03111a9d Remove legacy task order model 2019-02-25 14:54:14 -05:00
Patrick Smith
75f9b57979 Remove PE number model 2019-02-25 14:54:14 -05:00
Patrick Smith
2c62f54b83 Remove request-related models 2019-02-25 14:54:14 -05:00
dandds
41e715a404 use full prefix for certifying official in SO review 2019-02-20 11:37:49 -05:00
dandds
ad05c448cd DD-254 domain class and method for checking if DD-254 is complete 2019-02-20 10:52:15 -05:00
leigh-mil
11ba4807c4 Use LazyFunction to return unique data 2019-01-23 16:57:56 -05:00
Patrick Smith
f580f69d35 Raise error if csp estimate is not of proper type 2019-01-23 11:16:54 -05:00
leigh-mil
bf302a8800 Use choice() instead of choices() so a string is returned 2019-01-16 11:03:59 -05:00
Patrick Smith
e41f01398c Update seed sample to create multiple task orders for each portfolio 2019-01-15 11:16:40 -05:00
Patrick Smith
8f8e7fa65e Add active & expired task order statuses 2019-01-15 10:51:00 -05:00
dandds
0eec42c55b change constant names 2019-01-14 16:00:17 -05:00
dandds
d3d36822df workspace -> portfolio everywhere 2019-01-14 16:00:17 -05:00
dandds
3fc323d785 project -> application everywhere 2019-01-14 16:00:17 -05:00
leigh-mil
4ed61708fb Updates from PR review 2019-01-11 15:59:18 -05:00
leigh-mil
b18e3a9e10 Add columns relating to Funding and Oversight sections to TaskOrder model 2019-01-11 15:59:18 -05:00
dandds
e2e4b5ae70 use real atat and workspace roles in tests 2019-01-10 11:23:11 -05:00
dandds
718f88d828 download link for task order summary 2019-01-02 09:36:29 -05:00
dandds
62a8b0ec40 add tests for task_order routes utility classes 2018-12-19 11:33:58 -05:00
dandds
ad03b58dee tests for new task order endpoints, remove new workspace routes 2018-12-18 13:22:54 -05:00
dandds
c5580733ba fields for the new task order 2018-12-18 09:44:02 -05:00
dandds
6d92755a7f new workspace and task order routes 2018-12-18 09:44:02 -05:00
dandds
e509c34cdd change name of request relationship to legacy task order 2018-12-13 11:36:45 -05:00