289 Commits

Author SHA1 Message Date
dandds
beabd2ce72 Remove the scriptz submodule and hard-commit the files.
The submodule is a leftover from when this project was intended to work
as a series of microservices. It was meant to provide common
functionality to the builds for every microservice. That's no longer the
case, and the submodule is a pain-point both in on-boarding new
developers and running the Docker build.
2019-07-14 16:01:13 -04:00
George Drummond
9f274a7d1c
Script to find unused translations 2019-06-14 09:59:07 -04:00
George Drummond
32022b054c
Merge pull request #895 from dod-ccpo/seeds-changes
More realistic seeds
2019-06-12 15:43:34 -04:00
George Drummond
c719999cdb
Attach PDFs to task orders 2019-06-12 15:02:57 -04:00
dandds
bea2e02253 Remove unused EDA client code 2019-06-12 13:42:55 -04:00
George Drummond
9edf816765
More realistic seeds 2019-06-12 11:41:40 -04:00
richard-dds
ee46fb2320 Formatting 2019-06-10 15:34:01 -04:00
richard-dds
40b599d1d0 Fix rebase conflicts 2019-06-10 15:33:30 -04:00
richard-dds
7f4f857424 Sort task orders by status and time_created 2019-06-10 15:16:02 -04:00
richard-dds
e84e61bbad Update seed script with TOs of various statuses 2019-06-10 15:15:39 -04:00
George Drummond
f7562714cb
Add New Portfolio Workflow 2019-06-04 13:10:42 -04:00
dandds
5434443b02 Adjust script/seed_sample.py for new portfolio invitation flow. 2019-06-03 15:57:49 -04:00
leigh-mil
1784318e0e Update seed_sample with new TO info 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
George Drummond
1b217113d4
Keep alembic_version table 2019-05-29 11:40:23 -04:00
George Drummond
0a8868ca37
Just clean out tables for seed sample reset 2019-05-28 13:31:55 -04:00
leigh-mil
9412ccffea Reorder items to delete so that join models are deleted before the models they join
Add application invitations to list of items to be deleted
Clean up reference to workspace
2019-05-22 19:41:30 -04:00
George Drummond
334f3d8ed3
Move js to form component 2019-05-03 14:48:27 -04:00
George Drummond
0996f254cb
Use prettier rather than sass-convert 2019-05-03 14:01:08 -04:00
George Drummond
f3a6bf9c47
Use list-different option for js prettier 2019-05-02 13:41:01 -04:00
George Drummond
3acbecdf1a
Add in scss formatter 2019-05-01 12:43:56 -04:00
George Drummond
45be1e5100
Fix remove_sample_data.py script 2019-04-17 16:05:33 -04:00
dandds
9084dce762 build out seed sample script
- semi-random data for applications and environments
- added users to applications and environments
- updated CSPRole enum with current CSP roles
2019-04-11 15:38:27 -04:00
George Drummond
e556ded6dd
Fix script to reflect changes in ApplicationRoles.create 2019-04-11 14:17:28 -04:00
George Drummond
50a532ddbb
ApplicationRoles seed and domain 2019-04-11 10:03:21 -04:00
dandds
0ac8c9632b add application permission sets 2019-04-08 13:31:19 -04:00
dandds
92e13dbf1b update seed_sample script to give default perms to portfolio users 2019-04-08 06:25:44 -04:00
dandds
3f5b2abcd5 add uwsgi logfile plugin for additional loggers 2019-04-02 16:38:34 -04:00
dandds
4a0dd2d432 remove unused domain methods and arguments 2019-03-22 06:31:20 -04:00
dandds
c4b4cc0912 update atat-wide permission sets 2019-03-21 05:38:28 -04:00
dandds
3af849c035 disable debug output in seed_roles.py 2019-03-19 10:26:23 -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
798eb7e1b0 first cut of portfolio permission sets 2019-03-15 07:14:49 -04:00
leigh-mil
c2e20c8757 Remove unnecessary get_users call 2019-03-06 16:30:37 -05:00
leigh-mil
4b45233fd4 Removed unused function and associated array of data 2019-03-06 16:29:47 -05:00
leigh-mil
da4edc3343 Create all users before creating portfolios 2019-03-06 15:41:35 -05:00
dandds
12776c7124
Merge pull request #689 from dod-ccpo/get-crl-expiry
script for checking expiration dates of CRLs
2019-03-06 09:24:08 -05:00
leigh-mil
600d6d1993 Formatting 2019-03-04 13:41:18 -05:00
leigh-mil
04dc6703b2 Move inviting members into separate function so portfolios can be created where all members have accepted invites 2019-03-04 13:32:53 -05:00
leigh-mil
b82b5bb9c0 Add in start and end dates to creating TOs and refactor to create all TOs at once so they can have overlapping start/end dates 2019-03-04 13:26:53 -05:00
dandds
d52f2e35f4 script for checking expiration dates of CRLs 2019-03-04 12:34:52 -05:00
leigh-mil
70617938d8
Merge pull request #687 from dod-ccpo/demo-data
Demo data
2019-03-01 16:25:51 -05:00
dandds
44d52ae601 fix crl storage config name 2019-03-01 15:31:02 -05:00
leigh-mil
cb78976c18 Add service branch to portfolios 2019-03-01 15:13:12 -05:00
leigh-mil
201e4e9e35 Move creating Aardvark and Beluga from remove_sampe_data to seed_sample;
Refactor seed_sample into reusable functions;
Rename Aardvark to A-Wing and Beluga to B-Wing, and use Star Wars names
for other portfolios
2019-03-01 14:52:10 -05:00
dandds
7fbb8d05e0
Merge pull request #679 from dod-ccpo/sync-crls
sync crls from CSP source
2019-03-01 11:59:57 -05:00
dandds
7dc7b15f09
Merge pull request #680 from dod-ccpo/update-scriptz-commit
Update scriptz subproject commit
2019-02-27 09:50:26 -05:00
dandds
9aa15d57e8 CRL Provider for syncing CRLs from cached source 2019-02-27 05:51:50 -05:00
leigh-mil
324c416a3b Remove Requests from seed_sample 2019-02-26 16:23:15 -05:00