405 Commits

Author SHA1 Message Date
Dan Funk
0431a6f17a
Merge pull request #535 from sartography/chore/unlock-admin-sandbox-720
Chore/unlock admin sandbox #720
2022-05-10 09:49:30 -04:00
mike cullerton
8c92c7870c allow null values 2022-05-09 16:27:33 -04:00
mike cullerton
598a9b3ef1 Add progress_status to update study schema 2022-05-09 16:02:00 -04:00
mike cullerton
650c63f268 Unused 2022-05-09 10:26:42 -04:00
mike cullerton
8169014869 Allow None values for state (which is a string, not a mapping) 2022-05-09 10:07:43 -04:00
mike cullerton
c3919c6112 clean up: spacing 2022-05-09 08:42:39 -04:00
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
8cac4e2f95 Change state from enum to string 2022-05-06 17:22:11 -04:00
mike cullerton
b13aac84e7 Change workflow_state to state 2022-05-06 14:02:11 -04:00
mike cullerton
e8c5ec1af5 Add is_locked to Task API object 2022-05-06 08:54:57 -04:00
mike cullerton
5e7f226b4e Add workflow_state to Workflow and WorkflowApi models/schemas 2022-05-06 08:51:37 -04:00
mike cullerton
edd53fccb0 Add workflow_state to WorkflowMetadata 2022-04-29 17:41:52 -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
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
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
f5c0008b1b Merge remote-tracking branch 'origin/dev' into new-progress-status 2022-04-27 16:16:38 -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
bcd2e32036 Add finance_in_progress to ProgressStatus 2022-04-26 15:17:31 -04:00
mike cullerton
56fe0bb606 Add name column to email table 2022-04-25 15:36:47 -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
cf68367085 remove unused code
cleanup imports
2022-04-20 11:16:07 -04:00
mike cullerton
fea9c969c2 document => file
file_refactor => file
2022-04-20 10:39:19 -04:00
mike cullerton
f75c932194 DocumentModel => FileModel
document_id => file_id
prep for migration
2022-04-19 15:10:05 -04:00
mike cullerton
061d55d231 Prep for final migration 2022-04-19 11:38:51 -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
69e4679667 add data_store records to from_document_model method 2022-04-19 07:43:25 -04:00
Dan
5e54c90b47 "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running.
Also:
* Assured that arguments are consistent (we always seem to use workflow_spec_id, so I made sure we use that consistently.
* Don't require named parameters - so it's cool to call it like: reset_workflow('my_workflow_id')
* Task Actions (ie create, assign, etc...) are now an enumeration in the models, and not static variables on Workflow Service, so we can reference them consistently from anywhere.
* Removed some repetitive code
* Always try to validate as much as possible in the scripts to save folks time debugging.
*
2022-04-15 15:36:23 -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
389d2b413e More work on igrations 2022-04-14 18:06:08 -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
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
7c23d36d7c Add DocumentModel that combines FileModel and FileDataModel 2022-04-12 13:23:50 -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
Dan
405c63aaef Merge remote-tracking branch 'origin/chore/study-progress' into staging-500-error 2022-03-18 12:59:31 -04:00
Dan
b7489aea43 merging in PI Name changes from Alicia's #499 PR. 2022-03-18 12:30:20 -04:00
alicia pritchett
f4cade1b44 remove pi id 2022-03-18 11:58:39 -04:00
alicia pritchett
b6b28ed127 fix tests remove pi id 2022-03-18 11:56:56 -04:00
alicia pritchett
12a0e26ee1 Include the PI name on the study model 2022-03-18 11:03:06 -04:00
Dan
ef5aca4fe4 ReviewType now comes back with the user studies, so we don't need to make an additional query to get it. 2022-03-18 09:59:10 -04:00
alicia pritchett
2ab96b16a0 Update the study model to include a progress (integer) 2022-03-17 17:20:42 -04:00
mike cullerton
890f849cf2 Only DATELASTMODIFIED can be empty, not DATECREATED 2022-03-17 15:54:21 -04:00
mike cullerton
db6f594ba9 Allow for missing data 2022-03-17 15:18:06 -04:00