Commit Graph

3393 Commits

Author SHA1 Message Date
jasquat 566f383918 adds basic support to use certain components in extensions w/ burnettk (#597)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-27 14:54:45 -04:00
jasquat c2ce27e961 Feature/drop id column on json data (#587)
* added migration to drop the id column from json_data and make hash the primary key

* removed id column from task_draft_data as well

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-27 11:02:52 -04:00
jbirddog f8112641cc Reenable element units (#593) 2023-10-26 18:20:55 -04:00
jasquat 24741b29de use last_state_change to figure out if a cancelled task needs an event in the task service instead of with get_tasks and check when manually completing tasks w/ burnettk (#595)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-26 16:11:16 -04:00
jbirddog eb3fd9e2af Bump SpiffWorkflow (#590)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-26 12:27:35 -04:00
jasquat 7e128c5a55 Feature/completed tasks on pi show (#591)
* added api to get all completed tasks for an instance and display it in a table w/ burnettk

* moved completed tasks table on pi show page to sub tabs

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-26 11:37:55 -04:00
jasquat a025aaa017 upgraded cryptography to satisfy snyk and added ignore for werkzeug issue since we cannot do anything about it now w/ burnettk 2023-10-26 11:28:37 -04:00
jasquat 83094c66ce process all cancelled tasks to see if that fixes error boundary events 2023-10-26 10:35:52 -04:00
jasquat 39edd60fd6 Feature/hide private data objects (#581)
* added test and some additional support for deny permissions w/ burnettk

* added support for deny through permissions-check api w/ burnettk

* support DENY at the beginning of a permission target marcro

* do not look up permissions using grant type, only use the uniqueness key

* added support in frontend to display a nice error if user does not have access to a data object value w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-25 16:31:06 -04:00
jbirddog 36b7b2462e Remove backend references to Box (#579) 2023-10-25 16:09:25 -04:00
jasquat c18c5a8d9c Feature/do not save cancelled task events twice (#575)
* do not save cancelled task events again

* actually only process cancelled events that were cancelled during the current run

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-25 13:45:20 -04:00
jbirddog 16ae1d9ccd Add support for KKV data stores to the data stores tab (#576) 2023-10-25 12:59:09 -04:00
jasquat ffaaf03f97 create connectory-proxy-demo docker images w/ burnettk 2023-10-24 17:14:28 -04:00
jasquat 3cc117ef8d updated connector-http for fixed post request v2 w/ burnettk 2023-10-24 17:08:37 -04:00
jasquat a54a639193 updated to new connector versions w/ burnettk 2023-10-24 11:18:12 -04:00
jasquat ed64a122ac minor formatting to Read and Learn more w/ burnettk 2023-10-23 11:54:42 -04:00
jasquat 4736173f88 updated target links for Read and Learn More in rjsf editor so they pin to different tabs w/ burnettk 2023-10-23 11:52:51 -04:00
jasquat f99e21c63e updated bpmn-js-spiffworkflow to support conditional boundary events w/ burnettk 2023-10-23 11:28:48 -04:00
jasquat f8555c55bb do not remove errors from configuration route useEffect and do not display errors on extensions page if under configuration w/ burnettk 2023-10-20 16:41:48 -04:00
jasquat 5907339918 added a DateAndTimeService on the frontend to get those functions out of helpers w/ burnettk (#560)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-20 16:07:00 -04:00
jasquat 54b7c5c3ec feature/formatting-in-extension-md (#559)
* support formatting data client side in markdown and support greater than and less than for metadata column filters w/ burnettk

* moved spiff conversion functions to FormattingService and use it in InstructionsForEndUser w/ burnettk

* added tests for greater than and less than metadata operators and added negative tests w/ burnettk

* removed unneeded useEffect w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-20 15:19:26 -04:00
jasquat 6664b52985 install vim-tiny instead of vim for security w/ burnettk 2023-10-19 15:01:39 -04:00
jasquat c2d515725a merged backend and frontend github action test files w/ burnettk 2023-10-19 14:38:40 -04:00
jasquat fe4dc14b8d Feature/docker CVE issues (#558)
* updated Dockerfile to try to remove security vulnerabilities w/ burnettk

* we require curl for health checks w/ burnettk

* try to scan docker image in ci

* use Dockerfile from backend w/ burnettk

* continue-on-error w/ burnettk

* attempt to elevate permissions of snyk w/ burnettk

* added snyk security github workflow w/ burnettk

* fixed location of constraints w/ burnettk

* add in or true for snyk tests w/ burnettk

* sent the snyk token w/ burnettk

* specify the directory for the sarif file w/ burnettk

* updated spiffworkflow-connector-command for snyk issue w/ burnettk

* updated sql statements sanitize input

* ignore issues for debug_controller and check frontend with snyk w/ burnettk

* updated babel and electron for snyk w/ burnettk

* some more updates to fix vulnerabilities w/ burnettk

* prune repeated deps for frontend builds since

* uncomment ci code so it runs again and use node for frontend base image w/ burnettk

* fixed backend image name w/ burnettk

* pyl w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-19 14:22:52 -04:00
burnettk baa93f5e2c do not show timestamp links for cancelled events, since you cannot reset to them 2023-10-19 08:10:33 -04:00
burnettk 92e51baca3 document additional logic over and above that provided by react json schema form lib 2023-10-18 18:45:57 -04:00
jasquat 98261dc333 also clean up frontend docker images w/ burnettk 2023-10-18 15:02:45 -04:00
jasquat d18e54b02b return false when checking if undefined or null 2023-10-18 14:41:14 -04:00
jasquat 2f9aa12906 Feature/error boundary (#552)
* WIP for error boundary support w/ burnettk

* updates to catch error boundary events and send them back out w/ burnettk

* fixed broken test w/ burnettk

* use connector-http and spiffworkflow-proxy from main w/ burnettk

* updated smtp and slack connectors in connector-proxy-demo w/ burnettk

* added more tests for the service task service call connector to test errors w/ burnettk

* added spiffworkflow-connector-command and some code clean up

* updated the connectors in the proxy demo

* use SpiffWorkflow from git instead of locally

* some cleanup while code reviewing

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-18 14:00:12 -04:00
jasquat b6a4d40f74 updated urllib3 for snyk 2023-10-18 11:21:53 -04:00
jbirddog a80abc4c47 Keyed key/value data store implementation (#548) 2023-10-17 10:59:01 -04:00
jasquat 4d7347c131 do not save events to db when running data migrations w/ burnettk 2023-10-16 15:02:19 -04:00
jasquat abf87a5aa3 corrected typename for tasks in data migration 3 w/ burnettk 2023-10-16 14:51:50 -04:00
jasquat ecdabe3f44 put back the handlefileNameSave call w/ burnettk 2023-10-16 11:57:24 -04:00
jasquat d22e5b2550 check if form contents is None and not truthy when deciding to return back to the user w/ burnettk 2023-10-16 11:42:09 -04:00
burnettk 1eadeb0b29 add cris 2023-10-16 11:24:48 -04:00
danfunk d3d677661b misspelling. 2023-10-16 08:12:51 -04:00
burnettk 811a946879 we already have poetry in base image, and we do not have a dev stanza 2023-10-14 12:44:56 -04:00
burnettk 392c9a1b44 Squashed 'bpmn-js-spiffworkflow/' changes from 9dcca6c80..6007a770a
6007a770a fix typo
aa524120b Merge pull request #47 from sartography/dependabot/github_actions/crazy-max/ghaction-github-labeler-5.0.0
75556c020 Bump crazy-max/ghaction-github-labeler from 4.2.0 to 5.0.0
9a5c333de Merge pull request #46 from sartography/feature/better_form_nav
c6c955284 Merge pull request #43 from sartography/bugfix/update-data-input-output-specs
094c573e0 fixing a test.
5fcb47125 Assume established naming conventions over requiring a form schema and ui schema each time as separate inputs. Making this one dropdown for the user form instead of two.
53f45dbaa Merge pull request #45 from sartography/dependabot/github_actions/actions/checkout-4
67765a994 Bump actions/checkout from 3 to 4
dbcd66942 Merge pull request #44 from sartography/dependabot/github_actions/crazy-max/ghaction-github-labeler-4.2.0
b8be0e335 Bump crazy-max/ghaction-github-labeler from 4.1.0 to 4.2.0
7743372d2 update iospec to include refs in input/output sets
6e17bda37 use same version of bpmn-js as arena
2c7fca88f missed a type in spiffworkflow.json
d62f021e3 Merge pull request #42 from sartography/bugfix/lowercase-overridden-tags
c625980c5 update extension names
e92ae2f5a make sure tags with extensions are written to xml correctly
eb37b6d29 Merge pull request #41 from sartography/feature/guest_form_submission
1b390c46c added panel extensions for guest access to human tasks w/ burnettk
f01bece04 Merge pull request #40 from sartography/feature/multiinstance-improvements
b8179146b allow attaching pre/post scripts to MI task or instance tasks

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 6007a770a5938c993173001a013116cedfc80359
2023-10-14 12:30:16 -04:00
burnettk da69a20ae2 Merge commit '392c9a1b445a7433a176361aad557e42fa351bfb' 2023-10-14 12:30:16 -04:00
burnettk ef92c3379f Squashed 'SpiffWorkflow/' changes from 0adfc8cba..c3a49431e
c3a49431e Merge pull request #357 from sartography/improvement/better-serialization
614802564 typo
9bf0760aa merged in main and added init file to default seralizer dir to avoid issues in backend w/ burnettk
875e02497 Merge remote-tracking branch 'origin/main' into improvement/better-serialization
92a7fdc7c Merge pull request #355 from sartography/bugfix/depth-calc-and-task-dict-fixes
7c5072e6c fix depth calculation in task iterator
a49ae7d86 ensure all tasks are removed from workflow.tasks
90159bd23 Merge pull request #352 from sartography/improvement/flexible-task-iteration
3baebb202 documentation & cleanup
518c834e7 run subworkflow start task instead of updating children
46d6b36b8 simplify serializer extensions & config
4d36f1f78 split workflow & task conversion from main serializer
15ea564a3 move spec converters into one package
f113aba0f incorporate parser fix from asauve2 (issue 353)
9e2f98d28 do not copy description to MI tasks
e17e3d728 bugfixes
dcac12ad7 Merge branch 'main' into improvement/flexible-task-iteration
179d62c17 Merge pull request #349 from sartography/improvement/task-and-spec-relations
3bd9e002d Merge pull request #351 from Leon0824/main
1fdc628f9 Merge pull request #5 from Leon0824/patch-3
d7947d2d8 Merge pull request #4 from Leon0824/patch-2
6f2508455 Merge pull request #3 from Leon0824/patch-1
16c27d33f Merge pull request #2 from Leon0824/patch-4
dbdc96374 Update deserialize-wf.py
d333c908f Update deserialize.py
3de35853a Update serialize-wf.py
db25e557f Import classes to instead of importing a module
58e04d7ef cleanup & documentation
a8ab87a67 I actually need to subclass TaskIterator
0d196f582 clean up some stuff that has been bothering me forever
825097678 add TaskState methods for translating names and values
278bda12d add bpmn task filter
68b2ca4df consolidate various task retrieval methods
5581fd509 create task filter class for iterator
067878d60 new task iterator with better filtering
31a9c7748 add last state change to boundary event join tasks in migration
caca3121c Merge pull request #348 from sartography/improvement/replace-root-with-spec-start
a15dd1710 use names instead of references for spec inputs/outputs
1018b1d94 fix boundary event migration for gateway conditions
340355fbe allow direct access to tasks via id
d44208760 remove double serialization of subworkflow specs that I accidently introduced a while back
881582451 remove double serialization of subworkflow specs
085bd0d8f Merge pull request #347 from sartography/improvement/updates-to-multiinstance
a0afa6430 reverse logic on automatically adding a start task to a spec
349071eab replace Root task with spec start task
167a037d5 update parser to optionally attach pre/post scripts to MI instances
f5bda7a72 add task spec methods for MI info
3df40c056 raise exceptions when MI input or output items already exist

git-subtree-dir: SpiffWorkflow
git-subtree-split: c3a49431ecbe50fd44c89ad07aa72a01fff79b42
2023-10-14 12:30:13 -04:00
burnettk ff7eed111c Merge commit 'ef92c3379f70a288c0b89ae02596d56f339829e1' 2023-10-14 12:30:13 -04:00
burnettk 53def3f3c8 update README 2023-10-13 23:32:01 -04:00
burnettk 0551ed8d95 all of these are tasks but not all are forms, given manual tasks 2023-10-13 10:23:19 -04:00
jasquat c2dc4a738e Feature/data migrator tests (#546)
* using new spiffworkflow locally and the db can be recreated w/ burnettk

* tests are passing w/ burnettk

* added version 3 data migration for typenames on tasks and bpmn processes w/ burnettk

* pyl w/ burnettk

* attempting to add tests for data migrator and fix 1.3 for postgres

* run version_1_3 migration differently from postgres versus mysql and sqlite

* look up the task model again to make sure it is fresh w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-12 14:29:51 -04:00
jasquat 4d842e8dbf Improvement/better serialization (#540)
* using new spiffworkflow locally and the db can be recreated w/ burnettk

* tests are passing w/ burnettk

* added version 3 data migration for typenames on tasks and bpmn processes w/ burnettk

* pyl w/ burnettk

* switch SpiffWorkflow back to main

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-12 14:14:02 -04:00
Kevin Burnett 493b2696ff Update README.md 2023-10-12 06:08:13 -07:00
Kevin Burnett 8a90e3a72b Update README.md 2023-10-12 05:30:29 -07:00
jasquat db4e9292f6 remove colons as well when checking wildcard permissions and updated test to ensure it works as expected 2023-10-11 10:25:02 -04:00
usama9500 5fb4171508 Features (#528)
* Features

* Fixing build issue

* Fixing FAQ link

* edits to quick start and faq

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-10-10 10:21:20 -07:00