3068 Commits

Author SHA1 Message Date
mike cullerton
312d338068 Merge branch 'dev' into chore/unlock-admin-sandbox-720 2022-05-09 08:35:13 -04:00
mike cullerton
3d2ba971f2 Include the state message 2022-05-09 08:31:46 -04:00
mike cullerton
f49615bfec Change item to workflow_spec_id 2022-05-06 17:54:05 -04:00
mike cullerton
8cac4e2f95 Change state from enum to string 2022-05-06 17:22:11 -04:00
mike cullerton
86f3c369a0 Picking nits 2022-05-06 14:13:25 -04:00
mike cullerton
d8ae719489 We don't need to run _update_status_of_workflow_meta any more
But, it returned warnings to the front end for debugging

Ticket 733 was created to address this.
Fix the warnings and return them again.

This also broke the tests in test_study_status_message, so we skip them for now
2022-05-06 14:13:02 -04:00
mike cullerton
c28e9a5bdd Make sure we update workflow state when processing the master workflow 2022-05-06 14:09:23 -04:00
mike cullerton
092b71f341 Change workflow_state to state 2022-05-06 14:06:05 -04:00
mike cullerton
b13aac84e7 Change workflow_state to state 2022-05-06 14:02:11 -04:00
mike cullerton
9b65c46eeb Workflow for new test 2022-05-06 09:24:17 -04:00
mike cullerton
830a929a6b New test - make sure we do not update tasks if the workflow is locked. 2022-05-06 09:23:39 -04:00
mike cullerton
7e2d18f026 no message 2022-05-06 08:57:01 -04:00
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
Dan Funk
dd33936dcf
Merge pull request #530 from sartography/bug/complete-template-issue-730
Bug/complete template issue #730
2022-05-04 10:21:03 -04:00
Dan Funk
8e2fa44b0b
Merge pull request #532 from sartography/add-tool-versions
add .tool-versions file to document working version and recommend version for python
2022-05-04 08:10:53 -04:00
burnettk
15419d729c add tool-versions file to document and recommend python version 2022-05-03 17:33:10 -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
6cd8d3d27b
Merge pull request #528 from sartography/document-history-695
document history fix #695
2022-04-29 12:56:31 -04:00
Dan Funk
64bbec99e3
Merge pull request #527 from sartography/email-name-parameter-726
Email name parameter #726
2022-04-29 12:55:44 -04:00
mike cullerton
7e480fc24b Cleaned up tests around adding a file 2022-04-29 11:34:05 -04:00
mike cullerton
4c1ed88a0e Cleaned up if condition logic
We weren't always creating the new file
2022-04-29 11:33:21 -04:00
mike cullerton
05b7bd33a5 We don't have a modified date here, so use the creation date 2022-04-28 16:43:00 -04:00
mike cullerton
ca1c60488e Add test for name in the get_email_data script 2022-04-28 15:37:01 -04:00
mike cullerton
608e3c653c Assert that we return name in the EmailModelSchema 2022-04-28 15:19:04 -04:00
mike cullerton
4e4c36bb50 Add name to the EmailModelSchema 2022-04-28 15:18:03 -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 Funk
fc3c1c5c4e
Merge pull request #525 from sartography/new-progress-status
New progress status #721
2022-04-27 16:18:34 -04:00
Dan
8da31874f9 Merge branch 'dev' into new-progress-status 2022-04-27 16:17:15 -04:00
Dan
f5c0008b1b Merge remote-tracking branch 'origin/dev' into new-progress-status 2022-04-27 16:16:38 -04:00
Dan Funk
83f10e16cd
Merge pull request #524 from sartography/email-name-parameter-726
Email name parameter #726
2022-04-27 16:16:08 -04:00
Dan
cd3e74a3f2 Merge branch 'dev' into email-name-parameter-726 2022-04-27 16:13:32 -04:00
Dan
8851ffd4c2 Merge branch 'dev' into email-name-parameter-726 2022-04-27 16:13:16 -04:00
Dan Funk
b07fc0f85b
Merge pull request #523 from sartography/document-history-695
Document history #695
2022-04-27 13:28:22 -04:00
Dan
d8a73632e7 Merge branch 'dev' into document-history-695 2022-04-27 13:21:40 -04:00
Dan
4d9e17986d Merge branch 'dev' into document-history-695 2022-04-27 13:19:53 -04:00
Dan Funk
04d3b728a4
Merge pull request #520 from sartography/file-refactor-705
File refactor #705
2022-04-27 12:54:46 -04:00
Dan
4d57b68da0 fixing a migration so it won't error out on us, and updating the little postgres connect script to connect via docker and avoid command line client version differences. 2022-04-27 12:54:32 -04:00
Dan
b1546d4ba1 Merge branch 'dev' into file-refactor-705 2022-04-27 12:12:47 -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
8f2aea3922 Test that ProgressStatus is set to finance_in_progress when StudyStatus is set to open_for_enrollment 2022-04-26 15:30:56 -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
c42fdb8d6f Modify test to include name. Assert name is in the table 2022-04-25 15:42:17 -04:00