Commit Graph

1822 Commits

Author SHA1 Message Date
mike cullerton e8c5ec1af5 Add is_locked to Task API object 2022-05-06 08:54:57 -04:00
mike cullerton 20a21b9267 Add workflow_state to processor_to_workflow_api method
Add new method to update workflow_state from master workflow
2022-05-06 08:53:54 -04:00
mike cullerton 5e7f226b4e Add workflow_state to Workflow and WorkflowApi models/schemas 2022-05-06 08:51:37 -04:00
mike cullerton d91fa9e095 Don't update task if workflow is locked, hidden, or disabled 2022-05-06 08:49:20 -04:00
mike cullerton 128c516494 Reminder to delete this method after the code is migrated to WorkflowService.update_workflow_state_from_master_workflow 2022-04-29 17:45:38 -04:00
mike cullerton edd53fccb0 Add workflow_state to WorkflowMetadata 2022-04-29 17:41:52 -04:00
mike cullerton 0d7b26423c *** WIP ***
Skeleton for updating the workflows in a separate call
2022-04-29 17:40:30 -04:00
mike cullerton dd2e8ef32f We ran the get_master_spec method twice, instead of using the value in master_spec the second time 2022-04-29 17:36:15 -04:00
mike cullerton 7d29ac75de add workflow_state column to WorkflowModel 2022-04-29 17:30:38 -04:00
Dan Funk c0e17c13c9
Merge pull request #526 from sartography/feature/better_errors
Re-add value expression, ad the default-value is not good enough.  so…
2022-04-27 16:18:49 -04:00
Dan f5c0008b1b Merge remote-tracking branch 'origin/dev' into new-progress-status 2022-04-27 16:16:38 -04:00
Dan 4d9e17986d Merge branch 'dev' into document-history-695 2022-04-27 13:19:53 -04:00
Dan 7e1de883df Re-add value expression, ad the default-value is not good enough. sometimes we want to change value depending on other fields, which is not a 100% overlap with a default value. 2022-04-26 16:08:04 -04:00
mike cullerton d7b608cf85 Set ProgressStatus to `finance_in_progress` when StudyStatus is `open_for_enrollment` 2022-04-26 15:18:39 -04:00
mike cullerton bcd2e32036 Add `finance_in_progress` to ProgressStatus 2022-04-26 15:17:31 -04:00
mike cullerton b52343903c Add `name` to email script and email_service 2022-04-25 15:38:15 -04:00
mike cullerton 56fe0bb606 Add `name` column to `email` table 2022-04-25 15:36:47 -04:00
mike cullerton 97323279cf Merge branch 'dev' into email-name-parameter-726 2022-04-25 15:01:06 -04:00
mike cullerton 36b51caeef List the files by date, descending 2022-04-25 11:47:51 -04:00
Dan 12d717b395 Bump version of SpiffWorkflow, and inclode some additional debugging tools for size of json data in BPMN. 2022-04-25 07:55:10 -04:00
mike cullerton 098363f82a bug fix. update_file is no longer a static method 2022-04-22 13:36:18 -04:00
mike cullerton 1f23da00e5 Add include_archived parameter to get_files_for_study 2022-04-22 13:35:44 -04:00
mike cullerton bc4109a9d0 Add include_archived parameter to get_document_directory api endpoint 2022-04-22 13:35:14 -04:00
mike cullerton 39e005dc24 Include `user_uid` and `archived` attributes with File and FileSchema 2022-04-21 17:12:29 -04:00
mike cullerton 79de21b59a query stopped working, so I tried this and it worked again
<shrug/>
2022-04-21 07:59:04 -04:00
mike cullerton 430addc33d delete_file method no longer static 2022-04-20 16:26:05 -04:00
Dan c3e8793110 hot fix for issus with the new serializer. 2022-04-20 15:22:08 -04:00
Dan 18929580bc Hot fix for another issue with the new serializer. 2022-04-20 14:27:36 -04:00
Dan 02703b89d8 Don't bomb out trying to parse the old json format for creating warnings about the task size. 2022-04-20 12:35:34 -04:00
mike cullerton cf68367085 remove unused code
cleanup imports
2022-04-20 11:16:07 -04:00
Dan 5686b15de8 Don't return a boolean value for get_irb_info, that's just broken. 2022-04-20 11:00:31 -04:00
Dan 85d11d913f Merge branch 'dev' into feature/new_spiff_serializer 2022-04-20 10:59:58 -04:00
mike cullerton c616a7b621 remove api/file_refactor.py 2022-04-20 10:40:24 -04:00
mike cullerton fea9c969c2 document => file
file_refactor => file
2022-04-20 10:39:19 -04:00
mike cullerton 89a2650cc8 Put api endpoints back into api/file.py 2022-04-20 10:34:56 -04:00
mike cullerton 9a3c071223 DocumentModel => FileModel
document_id => file_id
2022-04-19 15:12:56 -04:00
mike cullerton f75c932194 DocumentModel => FileModel
document_id => file_id
prep for migration
2022-04-19 15:10:05 -04:00
mike cullerton 8e6ca4c97f DocumentModel => FileModel
document_id => file_id
2022-04-19 14:56:34 -04:00
mike cullerton 061d55d231 Prep for final migration 2022-04-19 11:38:51 -04:00
mike cullerton 196f314b16 Add size column back in 2022-04-19 11:37:41 -04:00
mike cullerton 80560b96c4 doc_code is now required 2022-04-19 11:35:53 -04:00
mike cullerton 11f9a4dfc2 Add size column back in 2022-04-19 11:35:19 -04:00
mike cullerton fb5731ff23 Merge branch 'dev' into file-refactor-705
# Conflicts:
#	crc/scripts/delete_task_data.py
#	crc/services/workflow_processor.py
#	tests/base_test.py
#	tests/files/test_delete_task_data.py
2022-04-19 08:19:52 -04:00
mike cullerton 4c81623497 return something for the validation 2022-04-19 08:01:18 -04:00
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