Commit Graph

1039 Commits

Author SHA1 Message Date
Dan Funk fc080ce7a8 Don't reset the token to something that already has a token. Terrible things happen and we hit a recursion. 2020-05-17 13:29:36 -04:00
Dan Funk d62c173494 Updating with new changes to the spiffworkflow navigation. 2020-05-17 11:57:04 -04:00
Dan Funk f3c3d3c44e
Merge pull request #58 from sartography/testing
Testing
2020-05-16 16:08:23 -04:00
Dan Funk ed7b427af4
Merge pull request #57 from sartography/feature/navigation
Feature/navigation
2020-05-16 16:01:43 -04:00
Dan Funk fafdf56ad2 Merge remote-tracking branch 'origin/testing' into feature/navigation 2020-05-16 15:46:14 -04:00
Dan Funk 8a6c0a62f7
Merge pull request #55 from sartography/feature/navigation
Fixing a bug with navigation where elements went missing past exclusi…
2020-05-16 15:45:23 -04:00
Dan Funk 7a380fdeb4 Forgot to fix another test and to add the example file used for a previous test. 2020-05-16 15:38:15 -04:00
Dan Funk 43bf8f5337 Fixing a bug with navigation where elements went missing past exclusive gateways on subsequent forks. 2020-05-16 15:33:06 -04:00
Aaron Louie 6828bd777c
Merge pull request #54 from sartography/dev
Dev
2020-05-16 13:43:11 -04:00
Aaron Louie 6a5ba54957
Merge branch 'testing' into dev 2020-05-16 13:15:37 -04:00
Aaron Louie 4ed62121b9 Merge branch 'rrt/dev' into dev 2020-05-16 13:14:52 -04:00
Aaron Louie daaa7be4ba Corrects typo 2020-05-16 13:13:49 -04:00
Aaron Louie c537325a98
Merge pull request #53 from sartography/dev
Dev
2020-05-16 12:50:04 -04:00
Aaron Louie a8486fbbb3
Merge branch 'testing' into dev 2020-05-16 11:44:27 -04:00
Aaron Louie d38da4d063 Merge branch 'dev' into rrt/dev 2020-05-16 11:40:18 -04:00
Aaron Louie 183a2c5d66 Run flask on PORT_0 environment variable, if defined. 2020-05-16 11:39:45 -04:00
Aaron Louie 091a1729f8 Removes CORS logging. Allows only specific origins 2020-05-16 11:36:48 -04:00
Aaron Louie 810ee17be1
Merge pull request #52 from sartography/dev
Allows port to be set via environment variable
2020-05-15 22:03:06 -04:00
Aaron Louie 01377bd2bf Merge branch 'dev' into rrt/dev 2020-05-15 21:47:20 -04:00
Aaron Louie fd7a371aa0
Merge branch 'testing' into dev 2020-05-15 21:45:59 -04:00
Aaron Louie bf563e177b Allows port to be set via environment variable 2020-05-15 21:32:33 -04:00
Aaron Louie 6a0973d5d5
Merge pull request #50 from sartography/dev
Dev
2020-05-15 20:19:55 -04:00
Aaron Louie 715a43f517 Merge branch 'testing' into dev 2020-05-15 19:03:27 -04:00
Aaron Louie d8ed329c60
Merge pull request #51 from sartography/dev
Dev
2020-05-15 17:49:09 -04:00
Aaron Louie bde43c07b4
Merge pull request #49 from sartography/master
Dev from Master
2020-05-15 17:42:09 -04:00
Dan Funk 4a03bba255
Merge pull request #48 from sartography/feature/navigation
Feature/navigation
2020-05-15 17:40:11 -04:00
Dan Funk 7d3f139633 Merge branch 'feature/navigation' of github.com:sartography/cr-connect-workflow into feature/navigation 2020-05-15 16:39:25 -04:00
Dan Funk de435bd961 the heck with camel case, what the heck TypeScript? Get a grip. This is a python API. 2020-05-15 16:38:37 -04:00
Aaron Louie 0f1fbd0249 Merge branch 'dev' into feature/navigation 2020-05-15 16:10:40 -04:00
Dan Funk 53255ef35e massive overhaul of the Workflow API endpoint.
No Previous Task, No Last Task, No Task List.  Just the current task, and the Navigation.
Use the token endpoint to set the current task, even if it is a "READY" task in the api.
Previous Task can be set by identifying the prior task in the Navigation (I'm hoping)
Prefering camel case to snake case on all new apis.  Maybe clean the rest up later.
2020-05-15 15:54:53 -04:00
Dan Funk b63ee8159e We now only return the ready user tasks, not all tasks, and even then the ready user tasks don't come back with the forms and details, just the bare minimum. Speeds things up considerably, and most of this information wasn't used anyway. 2020-05-14 17:13:47 -04:00
Dan Funk 7616274e14 Try to get tests not to error out on travis, by doing more flushing. More flushing! 2020-05-14 16:20:14 -04:00
Aaron Louie 477d1216ad
Merge pull request #46 from sartography/dev
Dev
2020-05-14 15:35:45 -04:00
Dan Funk f2c9fd5fc4 adding a default url. And some debugging information to see if we hit he endpoint in the logs. 2020-05-14 15:07:05 -04:00
Dan Funk 6d4348d644 Fixing some failing tests. Moved the task properties into a dictionary, but moving the form field properties to a dictionary will be a larger effort that we don't want to get into on either the back or front end right this moment. 2020-05-14 14:39:14 -04:00
Dan Funk 9022077576 Merge branch 'master' into feature/navigation 2020-05-14 13:46:01 -04:00
Dan Funk 55a1850e7c adding a navigation component to the Workflow Model.
running all extension/properties through the Jinja template processor so you can have custom display names using data, very helpful for building multi-instance displays.
Properties was returned as an array of key/value pairs, which is just mean.  Switched this to a dictionary.
2020-05-14 13:43:23 -04:00
Aaron Louie 490f95505e
Merge pull request #45 from sartography/rrt/dev
Rrt/dev
2020-05-14 13:16:44 -04:00
Aaron Louie 1511b6fe0d Only creates Docker tag for branch 2020-05-14 08:52:05 -04:00
Aaron Louie b72bc07ec4 Builds RRT Docker image. Deploys to RRT instance. 2020-05-13 21:15:13 -04:00
Aaron Louie 3ef07bd8c9 Allows all origins (for troubleshooting) 2020-05-13 12:32:57 -04:00
Aaron Louie caf791118f Allows all resources 2020-05-13 11:00:43 -04:00
Aaron Louie fbdff7a5e6 Merge branch 'master' into dev 2020-05-12 22:46:20 -04:00
Aaron Louie cdfe45dc00 Turns on flask_cors debugging to troubleshoot CORS issue 2020-05-12 22:42:02 -04:00
Dan Funk 7806c1e4ed
Merge pull request #44 from sartography/master
Master to Testing
2020-05-12 16:40:53 -04:00
Dan Funk 13c16ec179
Merge pull request #43 from sartography/feature/bug_fixes
Found a number of bugs with the parallel multi-instance - pulling in …
2020-05-12 14:39:52 -04:00
Aaron Louie 77b1908373 Escapes dot characters in CORS domains 2020-05-12 14:27:17 -04:00
Aaron Louie ac3f0b401b Converts list of allowed origins to regexes 2020-05-12 12:23:47 -04:00
Dan Funk e723992fde Found a number of bugs with the parallel multi-instance - pulling in some recent changes from Spiffworkflow to open things up a bit more to allow functional jumping between tasks. 2020-05-12 12:23:43 -04:00
Aaron Louie 73ce70b574 Allows CORS connections from frontend 2020-05-12 10:43:52 -04:00