Commit Graph

1074 Commits

Author SHA1 Message Date
Dan Funk 08140eca17 Merge branch 'master' of github.com:sartography/cr-connect-workflow 2020-04-23 15:01:02 -04:00
Dan Funk 3aeb7ad116 Server isn't erroring out, but can't find the lookup table id in the database, so trying to use the in-memory model instead, to give things time to get to the database. Really unsure what is happening here. Hard to see in the database. 2020-04-23 14:58:17 -04:00
Aaron Louie 14c82f4044 Adds a 30 second delay before refreshing DC/OS, in case Docker Hub takes a bit to update its cache 2020-04-23 14:47:07 -04:00
Aaron Louie 796c109611 Adds approvals to study service 2020-04-23 14:40:05 -04:00
Dan Funk ae2313203c fixing a failed test. Punished for doing a kind thing. 2020-04-23 13:06:51 -04:00
Dan Funk b5b46b7c2c better overall search results for type ahead. Still dealing with stop words failing. 2020-04-23 12:05:08 -04:00
Dan Funk 65b29e1a9d Don't just bomb out as soon as someone types an empty string. 2020-04-23 09:44:11 -04:00
Dan Funk 286af86f08 Forgot a missing bpmn file for running the tests. 2020-04-22 19:41:40 -04:00
Dan Funk 7b085c9c9d Adding an API Endpoint that will return a list of LookupValues that match a given query - can be used to populate an auto-complete table. 2020-04-22 19:40:40 -04:00
Dan Funk c140637dde Adding Migration, and checking that everything till works the same as before, only a little better. 2020-04-22 15:45:58 -04:00
Dan Funk 6de8c8b977 Create lookup tables for XSL files referenced in workflows so we can do full text searches and populate lists on the fly quickly. 2020-04-22 15:37:02 -04:00
Dan Funk 4ab51fe8f2 Merge branch 'master' of github.com:sartography/cr-connect-workflow 2020-04-22 10:45:30 -04:00
Dan Funk e08f6c55d4 Bumping spiffworkflow version to fix a bug. 2020-04-22 10:45:24 -04:00
Aaron Louie e65e920a1e Adds downgrade command 2020-04-21 19:37:56 -04:00
Dan Funk c30e66d91d Fixing migration. 2020-04-21 17:31:20 -04:00
Dan Funk 79d9a66ce3
Merge pull request #32 from sartography/feature/new_study_states
Updated the study status to use a different enumeration.  Migration c…
2020-04-21 17:21:10 -04:00
Dan Funk fd0adb1d43 Updated the study status to use a different enumeration. Migration correctly handles modifying the enum.
INCOMPLETE = 'Incomplete in Protocol Builder',
  ACTIVE = 'Active / Ready to roll',
  HOLD = 'On Hold',
  OPEN = 'Open - this study is in progress',
  ABANDONED = 'Abandoned, it got deleted in Protocol Builder'
2020-04-21 17:13:30 -04:00
Aaron Louie b10f72c085 Updates workflow spec. Removes old DMN files 2020-04-21 14:19:57 -04:00
Dan Funk 0a74bf8c44 We can now collect, and provide "extension properties" on a task as set in the camunda modeler.
These are provided as "properties" on a task, and are identical in structure to properties on a form field.
2020-04-21 12:07:59 -04:00
Dan Funk ec112f52be Make use of cleaner data provided by Spiffworkflow about multi-instance settings. 2020-04-21 11:43:43 -04:00
Dan Funk 7b32198795 Increasing the time-to-live for user sessions from 2 hours to 4 in the default configuration. 2020-04-21 11:03:35 -04:00
Dan Funk ee999a0f15 fixing a bunch of stupid mistakes because I am tried. 2020-04-20 20:28:12 -04:00
Dan Funk 8c834302a2 Forgot to upgrade. 2020-04-20 20:10:51 -04:00
Dan Funk 59d400b058 Assure DMN can pick up name rather than label outputs. 2020-04-20 19:26:42 -04:00
Dan Funk d2b31bb3d1
Merge pull request #31 from sartography/feature_personnel_multi_instance
Feature personnel multi instance
2020-04-20 16:17:43 -04:00
Dan Funk edbd75bb75 Connect LDAP Requests to the StudyInfo service so we get back additional details. 2020-04-20 16:02:13 -04:00
Dan Funk 2d3402a719 Ldap Service with Test and mocks.
LDAP_URL can be set in an environment variable.
2020-04-20 15:16:33 -04:00
Aaron Louie 194ed55801 Merge remote-tracking branch 'origin/master' 2020-04-20 12:04:18 -04:00
Aaron Louie 00312d244a Cleans up debugging config print 2020-04-20 12:04:10 -04:00
Dan Funk d7e53c5e7f
Merge pull request #30 from sartography/feature_personnel_multi_instance
Feature multi instance
2020-04-20 11:41:20 -04:00
Dan Funk d3dd9dcc25 Functional multi-instance - works with no changes to the front end - though I've added some attributes to task so we could give people a sense of how many iterations they will go through. 2020-04-19 15:14:10 -04:00
Dan Funk 815f40a539 forgot a critical file. 2020-04-17 15:18:03 -04:00
Dan Funk d7bd2383a1 Fixing tests. 2020-04-17 15:12:48 -04:00
Dan Funk b099cac174 Merge branch 'master' into feature_personnel_multi_instance 2020-04-17 14:26:23 -04:00
Dan Funk 233a8b4ff9
Merge pull request #27 from sartography/feature/manual_task_with_docs
Feature/manual task with docs
2020-04-17 13:58:15 -04:00
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