238 Commits

Author SHA1 Message Date
richard-dds
674477042b Fix migration path 2018-09-06 16:21:58 -04:00
richard-dds
bdab58f150 Add a new "view workspace" permission 2018-09-06 16:21:24 -04:00
richard-dds
361630e446 Use helper methods for adding and removing permissions 2018-09-06 16:21:24 -04:00
richard-dds
19d88ce4f5 Changes to mutable arrays need to be flagged 2018-09-06 16:21:24 -04:00
richard-dds
4fe758c4ff Fix migration path 2018-09-06 16:21:24 -04:00
richard-dds
398bdac871 Add new VIEW_WORKSPACE_MEMBERS permission to owner and ccpo 2018-09-06 16:21:24 -04:00
richard-dds
e5a0d69844 Add migration for EnvironmentRole 2018-09-06 13:51:31 -04:00
dandds
e03ddd9474 make uii_ids an array column 2018-09-05 12:42:33 -04:00
dandds
7ab313b100 migrations updates:
- retain relevant task order data when migrating request bodies
- set revision relationship for status events
- make relationship between status events and revisions not nullable
2018-09-04 16:15:36 -04:00
dandds
1e0523ebf6 new request statues events should be associated with latest revision 2018-09-04 16:15:36 -04:00
dandds
b20d91c784 migrate existing request bodies to revisions and remove requests body column 2018-09-04 16:15:36 -04:00
dandds
cc7ddd9468 update to use request revisions 2018-09-04 16:14:53 -04:00
dandds
56a991a44d add request revision 2018-09-04 16:13:35 -04:00
dandds
42f95eb17d resolve migration chain 2018-08-29 11:45:14 -04:00
dandds
46f2a00ee3 move pe number ingestion for setup into a migration 2018-08-29 11:13:54 -04:00
dandds
54d1e7235b add attachment model and task order relation to it 2018-08-27 13:04:41 -04:00
dandds
b2ec0764a7 fix alembix migration chain after rebase 2018-08-23 09:27:52 -04:00
dandds
e3631da8ea request can update financial verification data 2018-08-23 09:11:21 -04:00
dandds
f2dbed1ef1 add new task order fields 2018-08-23 09:11:21 -04:00
richard-dds
6236999caf Fix migration so that we can downgrade 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
8d58b2a7a0 WIP: created Project and Environment models 2018-08-21 20:21:10 -04:00
richard-dds
01778ada05 Add timestamps to workspace 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
richard-dds
47957384fc
Merge branch 'master' into request-creator-name 2018-08-08 15:28:36 -04:00
richard-dds
486b89fa83 Catch KeyError instead of ValueError 2018-08-08 14:25:30 -04:00
richard-dds
dcb45c64e8 Alter old migrations so that they can downgrade
The Role -> User foreign key constraint was preventing roles from being
deleted once there were existing users referencing the role. I realized
it was best to just pass on the downgrade and allow the tables to be
deleted.
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
5381e68a8d Add a migration to convert request statuses 2018-08-07 17:01:13 -04:00
richard-dds
0a754d72a3 Name unique constrains on User model 2018-08-06 13:27:42 -04:00
dandds
0f8e303afa import user model changes from authnid 2018-08-06 10:44:00 -04:00
dandds
45b47c41bf update tests for Flask 2018-08-02 16:03:54 -04:00
dandds
56690ed631 import fundz models 2018-07-31 11:50:33 -04:00
dandds
4baa5fdd8c add role and perms migrations for authorization 2018-07-31 11:50:33 -04:00
dandds
8c75a5239d import authz models 2018-07-31 11:50:33 -04:00
richard-dds
8d477003db Requests page working 2018-07-31 11:49:06 -04:00
richard-dds
024051ae07 Models and migrations for requests 2018-07-31 11:49:06 -04:00