Commit Graph

489 Commits

Author SHA1 Message Date
Dan Funk c8b817e98a Be careful not to clean out all the data when a form is submitted, just merge the data in as it comes. 2020-04-17 13:51:48 -04:00
Dan Funk 241980f98f If you name add a file to a workflow that has the exact same name as a Task Spec's ID, and an extension of "md", it wll use that file as the markdown content, and ignore the markdown in the documentation on the task spec.
Moving the primary process id from the workflow model to the file model, and assuring it is updated properly.  This was causing a bug that would "lose" the workflow.
2020-04-17 13:30:32 -04:00
Dan Funk 8aca33ab94 Merge branch 'master' into feature/manual_task_with_docs 2020-04-16 12:07:18 -04:00
Dan Funk 565ad01393 Merge branch 'master' into feature_personnel_multi_instance 2020-04-16 11:22:50 -04:00
Dan Funk 6b71bfaa9f Updating spiffworkflow. 2020-04-16 11:22:02 -04:00
Dan Funk 3d820fcb21 Inital work on manual instance. 2020-04-16 11:07:29 -04:00
Aaron Louie e9548b2172 Never mind. It's set by FLASK_ENV already 2020-04-15 21:02:39 -04:00
Aaron Louie 3a9d2c0b4d Sets ENV variable 2020-04-15 20:59:13 -04:00
Aaron Louie b4fdba0fc9 Sets production environment variable 2020-04-15 17:22:41 -04:00
Aaron Louie 2a15f3a488 Sets dev and testing environment variables 2020-04-15 16:49:03 -04:00
Dan Funk d38f5f31d6 Improving tests to see what works with Multi-Instance 2020-04-15 16:32:29 -04:00
Aaron Louie 6dd11094fd Dumps contents of instance directory to console 2020-04-15 15:59:27 -04:00
Aaron Louie 35fa241a4c Printing out some more stuff for debugging 2020-04-15 14:43:09 -04:00
Aaron Louie dffba7dc92 Prints some more config settings for debugging 2020-04-15 14:14:58 -04:00
Aaron Louie 5e924b3646 Prints some config settings for debugging 2020-04-15 14:03:04 -04:00
Aaron Louie 90b2a1d744 Explicitly sets port. Prints some config settings for debugging. 2020-04-15 13:49:32 -04:00
Aaron Louie 4428dfe819 Removes eval. Just casting string to bool works. 2020-04-15 13:36:39 -04:00
Aaron Louie 38f9a70511 Converts dev flag to boolean 2020-04-15 13:25:12 -04:00
Aaron Louie 8ec6560f9d Fixes URL 2020-04-15 13:12:50 -04:00
Aaron Louie acd880c405 Set Protocol Builder URL environment variable 2020-04-15 13:11:15 -04:00
Dan Funk 678a45fa76 Merge branch 'master' into feature_personnel_multi_instance 2020-04-15 12:42:36 -04:00
Dan Funk af05a97b3e
Merge pull request #26 from sartography/feature/customer_lookup
Allow configurators to upload xls files into a workflow for defining …
2020-04-15 12:41:47 -04:00
Dan Funk a5f5468e9a
Merge branch 'master' into feature/customer_lookup 2020-04-15 12:41:35 -04:00
Dan Funk 288efff364 Merge branch 'master' into feature_personnel_multi_instance 2020-04-15 12:36:50 -04:00
Aaron Louie 8f0de37011 Updates Pipenv hashes. 2020-04-15 12:12:51 -04:00
Dan Funk c485ff5be6 fixing a test. 2020-04-15 11:59:02 -04:00
Aaron Louie bb0efff839 Enables config items to be set via environment variables 2020-04-15 11:49:45 -04:00
Dan Funk dc2895cb05 Allow configurators to upload xls files into a workflow for defining enumrations of values for dropdown lists in forms. Fixing lots of tests.
Found a problem where the documentation for elements was being processed BEFORE data was loaded from a script.  There still may be some issues here.

Ran into an issue with circular dependencies - handling it with a new workflow_service, and pulling computational logic out of the api_models - it was the right thing to do.
2020-04-15 11:13:32 -04:00
Aaron Louie faf4c0df97 Updates BPMN and DMN files 2020-04-15 10:58:13 -04:00
Dan Funk aa17e30762 Updating libraries, modifying study_info script to save data in a consistent way, waiting on more fixes in spiffworkflow before continuing. 2020-04-13 16:23:31 -04:00
Aaron Louie f6a5fde124 Adds display order to specs 2020-04-10 11:13:43 -04:00
Aaron Louie 9a9922c473 Adds display order to Workflow Spec 2020-04-09 14:25:14 -04:00
Dan Funk 2a6f7d4916 Updating to the latest spiffworkflow so that dot-notation in DMN models works as expected. 2020-04-08 15:25:37 -04:00
Dan Funk 316b9e6e8d Fixing a stupid mistake - must have typed a ' mark during commit.
Script should inherit from object.
Updating the ids so I could more easily test and assure things were working correctly.
2020-04-08 13:39:42 -04:00
Dan Funk c79415a794 throw a sensible error when study is not found on get_study (don't 500)
some ugly fixes in the file_service for improving panda output from spreadsheet processing that I need to revist.
now that the spiff-workflow handles multi-instance, we can't have random multi-instance tasks around.
Improved tests around study deletion.
2020-04-08 13:28:43 -04:00
Aaron Louie 519a034d87 Updates last_updated when file data is saved. Returns last_updated as lastModified in response header for file data endpoint. 2020-04-08 12:58:55 -04:00
Dan Funk bf3066a8b1 Upgrading Spiff to throw better error messages. 2020-04-07 17:15:05 -04:00
Dan Funk 9bf5c9e727 Fixing an error that would prevent the correct counts from displaying if the record didn't come back from the protcol builder. 2020-04-07 14:14:43 -04:00
Dan Funk c7a18709ee Merge branch 'master' of github.com:sartography/cr-connect-workflow 2020-04-07 14:09:28 -04:00
Dan Funk 697127660f Assure that all script tasks place data in a dictionary that is named exactly the same as the class - which is also the same as the Script tag. 2020-04-07 14:09:21 -04:00
Aaron Louie d23b5e747b Replaces deprecated assertEquals with assertEqual 2020-04-06 18:15:32 -04:00
Aaron Louie 0f22c8474b Removes duplicate pytest command. Runs sonar scanner only if tests pass. 2020-04-06 18:14:18 -04:00
Dan Funk c6b6ee5d70 Renamed the required_docs script to just "documents", and it returns all documented in the irb_documents look up table indexed on the "Code" - so details become available in the task data like "documents.IRB_INFOSEC_DOC.required".
Updated the irb_documents with shorter code names, thanks to Alex. Re-worked the DMN models so they can properly read from this new datastructure.
2020-04-06 16:56:00 -04:00
Dan Funk d58a90a727 Merge branch 'master' of github.com:sartography/cr-connect-workflow 2020-04-06 13:24:01 -04:00
Aaron Louie e6550b7e39 Fixes Formly expression syntax error 2020-04-06 13:22:49 -04:00
Aaron Louie 419d619efa Updates BPMN & DMN files with latest from staging 2020-04-06 13:12:34 -04:00
Dan Funk e283b86466 Fixing a bug with deleting a study. 2020-04-06 13:08:17 -04:00
Aaron Louie e866c2c4bb Moves awscli install to install step 2020-04-03 16:43:25 -04:00
Dan Funk a322801c91 Allow a study to be deleted, even if some statistics are laying around. 2020-04-03 16:41:16 -04:00
Dan Funk fae07f289f Merge branch 'master' of github.com:sartography/cr-connect-workflow 2020-04-03 16:24:45 -04:00