375 Commits

Author SHA1 Message Date
mike cullerton
69e4679667 add data_store records to from_document_model method 2022-04-19 07:43:25 -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
mike cullerton
a578cf2498 Some studies don't have a DATELASTMODIFIED, so we use DATECREATED instead 2022-03-17 14:50:47 -04:00
alicia pritchett
5b7e71d42d meta field for categories 2022-03-16 12:49:35 -04:00
alicia pritchett
37d92c6a5f WIP ~ adding a category metadata object 2022-03-15 10:49:41 -04:00
Dan
dec63839f3 Merge remote-tracking branch 'origin/dev' into chore/log-changes-661 2022-03-12 16:19:23 -05:00
Dan
2fc4b44ef3 Create a path to directly download the spreadsheet file (and avoid the weird dance on the front end of making an API call to get file data.)
Fixing pagination.  Seems the front end uses a page_index that is 0 based, and sqlAlchemy prefers to start at 1.
2022-03-12 16:19:07 -05:00
alicia pritchett
4f0b9e3c4f Adds 2 new study progress statuses 2022-03-11 15:40:13 -05:00
mike cullerton
356a322e85 Merge branch 'dev' into chore/log-changes-661 2022-03-11 08:50:13 -05:00
mike cullerton
42f430673d Add metrics to TaskLogLevels 2022-03-09 14:54:56 -05:00
mike cullerton
c2035b7b40 Add workflow_spec_id to task_log model. This is because workflows can be deleted, so workflow_id is not dependable.
Add workflow (display_name) and category (display_name) to TaskLogModelSchema. We display these to the user on study home page in the logs.
2022-03-08 16:45:19 -05:00
Dan Funk
eae0b5286e
Merge pull request #483 from sartography/chore/study-status-changes-653
Chore/study status changes #653
2022-03-07 14:20:05 -05:00
mike cullerton
3920444acf *** WIP ***
Need to create a migration and some tests.
2022-03-02 15:26:21 -05:00
mike cullerton
cb65a7dc41 Add booleans for displaying push/merge buttons
*** WIP ***
Still need to add some tests for this.
Committing so we can work on the frontend
2022-03-02 12:03:08 -05:00
Dan
dde8873c9e 1. defer the loading of the bpmn_json when loading the workflow model. It can be stupidly larger. (see models/workflow.py)
2. Shave a little more time off the reset by not re-creating the whole WorkflowProcessor

cleaning up all the firsttime/sincetime statements.
2022-02-24 20:56:57 -05:00
alicia pritchett
a5acd9b07e Merge branch 'dev' into chore/variables-in-forms-550 2022-02-17 15:04:41 -05:00
alicia pritchett
08c1571803 Remove value_expression 2022-02-17 12:16:15 -05:00
Dan
b72ecb8375 Another re-work to fix 619 - and to assure that we aren't rebuilding the lookup tables too frequently. 2022-02-17 11:59:48 -05:00
Dan
7a99859108 fixing some failing test 2022-02-11 11:00:42 -05:00
Dan
3993297360 minor fixes to the study api to get things working locally when we pull down a database from testing. 2022-02-10 18:19:57 -05:00
Dan
1e4ec6f395 fixes to the workflow spec schema, so we can load null things without stuff blowing up. 2022-02-10 16:53:15 -05:00
Dan
f12c4aba52 Refactor the workflow_spec_service so it doesn't cache anything, it always reads what it needs from the file system. 2022-02-09 21:06:55 -05:00
Dan
8e7c8c87c3 down to just 38 failed tests 2022-02-09 11:37:54 -05:00
alicia pritchett
148796d311 fixes add_category 2022-02-09 11:24:41 -05:00
mike cullerton
9576089e84 Reorder categories 2022-02-09 10:55:02 -05:00
Dan
cc915ac25a refactoring the study service. 2022-02-09 08:50:00 -05:00
mike cullerton
420f50f44a Defaults for WorkflowSpecInfo 2022-02-08 14:40:33 -05:00
Dan
6c0e38c0a5 Merge branch 'feature/spec_files_wthout_db' of github.com:sartography/cr-connect-workflow into feature/spec_files_wthout_db 2022-02-08 11:31:56 -05:00
Dan
dc040f190e got one more test to work. 2022-02-08 11:30:13 -05:00
mike cullerton
3f856355e2 Merge branch 'git-integration-596' into feature/spec_files_wthout_db
# Conflicts:
#	config/testing.py
#	crc/services/lookup_service.py
2022-02-08 10:38:03 -05:00
alicia pritchett
df67572549 puts specs into categories 2022-02-07 16:27:45 -05:00
mike cullerton
80322b392f Get category_name from fields 2022-02-07 16:09:51 -05:00