mike cullerton
9262a53b58
DataStoreModel.file_id => DataStoreModel.document_id
2022-04-19 07:44:31 -04:00
mike cullerton
69e4679667
add data_store records to from_document_model method
2022-04-19 07:43:25 -04:00
mike cullerton
afb11d2b6d
form_field_key => irb_doc_code
2022-04-19 07:42:29 -04:00
mike cullerton
1398cb03f7
from_models => from_document_model
2022-04-19 07:36:46 -04:00
mike cullerton
4a4d74c801
file_id => document_id
2022-04-18 16:40:40 -04:00
mike cullerton
a1882c0615
delete_file no longer static method
2022-04-18 16:40:19 -04:00
mike cullerton
073ed44d51
file_id => document_id
2022-04-15 11:47:32 -04:00
mike cullerton
c2e39dfc95
Type is now a string, not an Enum
2022-04-15 11:45:59 -04:00
mike cullerton
dca91b83f5
No longer a static method
2022-04-15 11:45:13 -04:00
mike cullerton
e10bc23623
We archive files now, we don't delete them
2022-04-15 11:44:38 -04:00
mike cullerton
9097851ae1
We now store type as a string, not an Enum
2022-04-15 10:23:00 -04:00
mike cullerton
ba2eef0ec9
Fixing failing tests
2022-04-14 18:07:23 -04:00
mike cullerton
389d2b413e
More work on igrations
2022-04-14 18:06:08 -04:00
mike cullerton
70beba164b
Merge branch 'dev' into file-refactor-705
2022-04-14 16:11:53 -04:00
mike cullerton
a21aea3348
Fixed a bug where we tried to delete a record that did not exist
2022-04-14 15:37:05 -04:00
mike cullerton
b304b4725b
Merge branch 'dev' into file-refactor-705
2022-04-14 11:40:08 -04:00
mike cullerton
be24b598b8
Fix call to set_data_common - no longer have workflow_spec_id, add type of data set
2022-04-13 18:03:23 -04:00
mike cullerton
076eb8747f
Finish bug fix for deleting data_stores when value is None or empty string
...
Cleanup:
- Make sure workflow_spec_id has a value
- Change extra if conditionals to elif conditionals
2022-04-13 18:01:52 -04:00
mike cullerton
72f9ac33d0
Consolidate data_store scripts
2022-04-13 17:57:22 -04:00
mike cullerton
916daf002c
Clean up parameters for set_data_common
...
Use key, value instead of args[0], args[1]
2022-04-13 13:48:35 -04:00
mike cullerton
efc37ee59f
Prepare for migrating data_stores
2022-04-13 08:52:22 -04:00
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
216c15ed1c
FileModel => DocumentModel
2022-04-13 08:15:23 -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
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
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
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
d04b447c8c
Update data stores, rather than creating new ones
...
Delete 'extra' data stores
2022-04-05 18:15:58 -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