3137 Commits

Author SHA1 Message Date
mike cullerton
a32f9a9458 Fix url link
This is a temporary fix. Unsure where it will end up
2022-04-13 08:51:33 -04:00
mike cullerton
b1dca3f212 FileModel => DocumentModel
Remove unused imports
2022-04-13 08:34:10 -04:00
mike cullerton
c090a300c4 form_field_key => irb_doc_code 2022-04-13 08:33:01 -04:00
mike cullerton
d79c8a4071 form_field_key => irb_doc_code 2022-04-13 08:32:29 -04:00
mike cullerton
d5ed949ed6 FileModel => DocumentModel
Remove unused imports
2022-04-13 08:31:18 -04:00
mike cullerton
74bfaaaf57 Remove unused imports 2022-04-13 08:22:30 -04:00
mike cullerton
216c15ed1c FileModel => DocumentModel 2022-04-13 08:15:23 -04:00
Dan
8df20977c3 Missing a valid user name and password for git. 2022-04-12 15:01:10 -04:00
Dan
b455b73c7b Don't freak out if there are not files to delete. 2022-04-12 14:43:34 -04:00
mike cullerton
b732fee675 Merge branch 'dev' into file-refactor-705 2022-04-12 14:01:49 -04:00
mike cullerton
e46a855eae FileModel => DocumentModel 2022-04-12 14:01:00 -04:00
mike cullerton
aaca206465 Remove unused import 2022-04-12 14:00:08 -04:00
mike cullerton
04ed735843 *** WIP ***
Temporarily move file api calls to file_refactor
Not sure how this will end up - maybe a Documents section
2022-04-12 13:58:37 -04:00
mike cullerton
b7ee50a17f *** WIP ***
Many changes related to FileModel => DocumentModel
2022-04-12 13:56:54 -04:00
mike cullerton
fdea2d0cbc Remove unused imports
Added TODO about imports for crc.models.workflow that aren't correct. I believe this was for files to the file system refactor, and we don't actually use this.
2022-04-12 13:55:35 -04:00
mike cullerton
7d62c2dd18 FileModel => DocumentModel
from_models => from_document_model
2022-04-12 13:51:09 -04:00
mike cullerton
3f97de6430 from_models => from_document_model 2022-04-12 13:50:26 -04:00
mike cullerton
f8d6f0a6da No need for separate call to get file data 2022-04-12 13:50:04 -04:00
mike cullerton
0e5dcccfca Remove unused imports 2022-04-12 13:46:05 -04:00
mike cullerton
3be67a8bd9 FileModel => DocumentModel
Also, type is no longer an Enum field, no need to grab type.value
2022-04-12 13:44:58 -04:00
mike cullerton
0c313f44b2 FileModel => DocumentModel
Don't need separate call for data
2022-04-12 13:43:00 -04:00
mike cullerton
aa52b7b790 FileSchemaRefactor => FileSchema 2022-04-12 13:39:48 -04:00
mike cullerton
bee58ec6d7 Coding style stuff 2022-04-12 13:38:38 -04:00
mike cullerton
0e3b467091 Modified FileSchema to match the new File 2022-04-12 13:38:12 -04:00
mike cullerton
22b3c8547f FileModel => DocumentModel 2022-04-12 13:33:24 -04:00
mike cullerton
525491921f from_models => from_document_model 2022-04-12 13:32:33 -04:00
mike cullerton
09e259f554 Moved file api methods to file_refactor
This is temporary
Not sure where they will end up
2022-04-12 13:31:33 -04:00
mike cullerton
89ab55ce6b Removed unused imports 2022-04-12 13:28:49 -04:00
mike cullerton
556af3c425 Removed FileModel, FileDataModel imports
Added DocumentModel
2022-04-12 13:28:04 -04:00
mike cullerton
d0007b67e8 *** WIP ***
Migrate file and file_data records to document table
Need to add a downgrade method
2022-04-12 13:25:08 -04:00
mike cullerton
7c23d36d7c Add DocumentModel that combines FileModel and FileDataModel 2022-04-12 13:23:50 -04:00
Dan Funk
bf898993c4
Merge pull request #514 from sartography/get-irb-info-issue-702
Get irb info issue #702
2022-04-12 08:14:14 -04:00
Dan Funk
41f190d3f5
Merge pull request #513 from sartography/delete-data-store-700
Delete data store #700
2022-04-12 08:11:16 -04:00
mike cullerton
138dfc220d Tests expect 1 record now
Add test for error state when study is not yet uploaded
2022-04-07 14:40:47 -04:00
mike cullerton
ed49ebcc23 Fix mock data to only return 1 record
Add mock record for error state when study is not yet uploaded
2022-04-07 14:39:39 -04:00
mike cullerton
e9ea95d1d7 The IRB Info API endpoint can return a dictionary--if the study is **not** yet uploaded, or a list with 1 dictionary if the study **is** uploaded 2022-04-07 14:38:32 -04:00
mike cullerton
da7c0a50ae Workflows for new tests 2022-04-05 18:17:54 -04:00
mike cullerton
946e74118f Test updating records
Test deleting records when setting with empty value
Test deleting 'extra' records
2022-04-05 18:17:31 -04:00
mike cullerton
d04b447c8c Update data stores, rather than creating new ones
Delete 'extra' data stores
2022-04-05 18:15:58 -04:00
mike cullerton
3c418f7611 Rename workflow/test_workflow_data_store_validation to test_data_store_service 2022-04-05 11:35:41 -04:00
Dan Funk
6694dc6cb3
Merge pull request #510 from sartography/git-error-filenotfound-690
Git error filenotfound #690
2022-04-04 16:53:36 -04:00
Dan Funk
095105e3e6
Merge pull request #508 from sartography/validation-with-data-store-396
Validation with data store #396
2022-04-04 16:51:57 -04:00
Mike Cullerton
65da5a34ce
Merge pull request #512 from sartography/bug/same_uid_different_roles
Study Associates Bug
2022-04-04 16:23:00 -04:00
Dan
e1f9dcded5 Assure we can associate the same person with a workflow under two different roles. 2022-04-04 16:01:48 -04:00
Mike Cullerton
0b4caae19f
Merge pull request #511 from sartography/review-type-updates-692
Review type updates #692
2022-03-30 10:49:25 -04:00
mike cullerton
51c6871d06 Update mock data to use new valid review type 2022-03-30 10:30:27 -04:00
mike cullerton
dd26f8fef7 Update review types
Remove review types 23, 24
Add review type 21
2022-03-30 10:29:53 -04:00
mike cullerton
70e8f6b35e Fix typo in test: delete -> remove 2022-03-29 12:34:05 -04:00
mike cullerton
689aa54d50 Modified tests to work with the bug fix 2022-03-29 09:49:29 -04:00
mike cullerton
ae66934bf9 Fix bug where we tried to add files to the index that were removed from the repo 2022-03-29 09:49:05 -04:00