Commit Graph

558 Commits

Author SHA1 Message Date
Dan Funk de7cebbd7d o 2020-05-20 15:32:40 -04:00
Dan Funk 5f793db606 It is critical that the Pipfile python version matches the python version on the server. 2020-05-20 15:07:16 -04:00
Dan Funk 2c407ae607 adding requirements.txt and a way to regenerate it. 2020-05-20 14:21:39 -04:00
Dan Funk 57615edde3 adding wsgi configuration. 2020-05-20 14:01:09 -04:00
Dan Funk 8647ebee42 Moving spiff back to master branch, with fixes for parallel, and performance improvements. 2020-05-20 10:57:20 -04:00
Aaron Louie 48f9873548 Adding yet another flush, because Travis builds keep failing due to database race condition issues in this method. 2020-05-20 10:02:30 -04:00
Aaron Louie fc63d26322
Merge pull request #66 from sartography/feature/docx_images
Feature/docx images
2020-05-20 00:13:50 -04:00
Aaron Louie 58189285ad Cleans up 2020-05-20 00:12:48 -04:00
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