Commit Graph

550 Commits

Author SHA1 Message Date
Aaron Louie 2b5687c3a3 Fixes pernicious bug where template document versions were not being updated properly, and template completion script was not honoring version numbers 2020-05-20 00:10:32 -04:00
Aaron Louie 481a9ed04c Gets image ids from task data and Injects images into jinja docx 2020-05-19 21:51:54 -04:00
Dan Funk 2f86a25032
Merge pull request #65 from sartography/feature/ldap_lookup
Quick cleanup, adding a space
2020-05-19 16:24:40 -04:00
Dan Funk c4f2bd8dc6 Quick cleanup, adding a space 2020-05-19 16:23:20 -04:00
Dan Funk 66a3304541
Merge pull request #63 from sartography/feature/ldap_lookup
ldap lookup.
2020-05-19 16:22:02 -04:00
Dan Funk 951710d762 ldap lookup.
Refactored calls into a new lookup_service to keep things tidy.

New keys for all enum/auto-complete fields:
    PROP_OPTIONS_FILE = "spreadsheet.name"
    PROP_OPTIONS_VALUE_COLUMN = "spreadsheet.value.column"
    PROP_OPTIONS_LABEL_COL = "spreadsheet.label.column"
    PROP_LDAP_LOOKUP = "ldap.lookup"
    FIELD_TYPE_AUTO_COMPLETE = "autocomplete"
2020-05-19 16:11:43 -04:00
Dan Funk dff92c6e4c fixing a test. 2020-05-18 20:49:50 -04:00
Dan Funk 30bd6bef08 Another nav fix from spiff. 2020-05-18 18:27:30 -04:00
Dan Funk ecaac76fa5 More nav fixes via spiffworkflow. 2020-05-18 15:44:28 -04:00
Dan Funk 5c5c2a7312 Assure that new lines entered in text-fields are correctly added to the final word document. 2020-05-18 11:55:10 -04:00
Dan Funk 5f2331f081 Bumping w/ fixes in spiffworkflow for reset token. 2020-05-18 06:56:29 -04:00
Dan Funk 7ce460fffc using a branch of spiffworkflow that fixes a deep recursion issue - this isn't perfect, but it's miles better than it was. 2020-05-17 17:06:00 -04:00
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 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