Commit Graph

121 Commits

Author SHA1 Message Date
Kevin Burnett 9313a9f73a Feature/event payloads part 2 (#401)
* Revert "Revert "Feature/event payloads (#393)""

This reverts commit 95fafb7af1.

* Revert "Revert "poet not available in container""

This reverts commit 140220498c.

* Revert "Revert "Run event payloads data migration from background processor (#399)""

This reverts commit 2afced3a51.

* Revert "Revert "using new spiff api to get info about events. w/ elizabeth""

This reverts commit af857fee22.

* Revert "Revert "fix tests for waiting_event_can_be_skipped""

This reverts commit 886e6bd42a.

* push image for preview env

* default scripts to localhost w/ burnettk

* use the bugfix/update-split-task-inputs spiffworkflow branch w/ burnettk

* removed debug json files

* use main for spiffworkflow

* do not attempt to highlight non-diagram boundary items w/ burnettk

* updated SpiffWorkflow to fix multiple signal event issue w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-10 18:24:49 +05:30
Dan Funk cd9cd0d652 minor bug fixes the bpmn-io editor so messages work again. (#433) 2023-08-04 16:17:26 -04:00
danfunk c3132b004b bump to latest version of bpmn-js-spiffworkflow. 2023-08-04 11:25:32 -04:00
jasquat c086817810 upgraded cypress and moved code in helpers to ensure we do not need app code for cypress w/ burnettk (#431)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-03 15:08:45 -04:00
burnettk 2afced3a51 Revert "Run event payloads data migration from background processor (#399)"
This reverts commit ab5926aab1.
2023-07-19 11:43:42 -04:00
Kevin Burnett ab5926aab1 Run event payloads data migration from background processor (#399)
* move data migration code out of bin so it can be reused in background processor

* sleep for 5 minutes and update bpmn js to pull in some fixes from elizabeth

* update spiff to pull in parser update to make it act like before

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-18 10:50:07 -07:00
jasquat bc8efc54a3 added a date range widget to frontend w/ burnettk (#392)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-14 15:46:34 +05:30
Dan Funk 532c0f841f bumping version of BPMN-JS-Spiffworkflow (#366) 2023-06-30 23:17:58 +05:30
jasquat 4fc6b1a193 use carbon components when adding secrets (#312)
* use carbon components when adding secrets

* docker compose pull before running up w/ burnettk

* use all carbon on script task unit test modal w/ burnettk

* removed remaining references to bootstrap from frontend w/ burnettk

* updated usage of hidden to use the class instead of the bootstrap attribute w/ burnettk

* print out docker version for debugging

* docker pull with docker instead of compose

* added comment for docker pull in check docker start script

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-08 14:26:14 -07:00
jbirddog aedcac5082 npm update bpmn-js-spiffworkflow (#308) 2023-06-06 18:26:20 -07:00
burnettk 02aa87cec5 mostly frontend stuff: add version and doc links, autofix unused imports 2023-05-12 17:07:53 -04:00
Dan ac149c9dcb * Adding signal_buttons to tasks, which will prompt the frontend to display a button that when pressed will cause the signal to fire.
* This alters how the send_event endpoint responds - it originally responded with a process instance, it now responds with the next task, in keeping with how other task completion endpoints behave.
* I was forced to upgrade some of the bpmn-js libraries which fixes some of the linting errors on the front end.
* The "Return to home" button isn't always displayed.  It will not display when it is redirecting, or when the current task is running.
.
2023-05-02 13:40:41 -04:00
Dan dbd3f5e5ea more run_pyl 2023-04-26 20:28:40 -04:00
Dan 4cbf4e456b a whole bunch of front end and backend changes that got mangled. 2023-04-26 16:22:50 -04:00
Dan 80eabe0eb7 Allow call activities to have instructions for end users, and show up on the interstitial page 2023-04-24 16:41:46 -04:00
jasquat b0d2dc79b8 updated bpmn-js-spiffworkflow for on change on service tasks fix w/ burnettk 2023-04-21 11:21:54 -04:00
jasquat b1568fb472 fixed test w/ burnettk 2023-04-19 15:52:11 -04:00
Dan d73baedcbe Merge remote-tracking branch 'origin/main' into feature/interstitial 2023-04-19 15:18:10 -04:00
Dan be14b9c05f Add a test for the interstitial endpoint.
Assure all "GO" buttons lead to the interstial page, and display differently depending on if there is anything you can actually do.
2023-04-19 13:52:29 -04:00
jasquat 584a0df7cb downgrade rjsf to last v5 beta version since the actual release breaks our usage of oneOf w/ burnettk 2023-04-18 15:19:16 -04:00
jasquat 1b9e867d5d log filtering is working and downgraded react-router-dom since it broke editing bpmn diagrams w/ burnettk 2023-04-18 12:36:45 -04:00
jasquat 3c3dd6000c merged in main and resolved conflicts w/ burnettk 2023-04-18 11:04:44 -04:00
jasquat f6a0fd2448 updated carbon react to 1.27 for react 18 support and updated all other libraries for it w/ burnettk 2023-04-17 16:25:10 -04:00
jasquat 2caa42700c some more log stuff using debounce w/ burnettk 2023-04-17 11:08:00 -04:00
Dan 8a6426efec drop completed_tasks from the task_api object
Show the "next" task if no task is provided on the task_show api endpoint
Adding interstitial endpoint
Rename run to run_and_save
Remove repeated code from execution strategy
Adding interstital frontend page
2023-04-14 15:44:59 -04:00
jasquat 3c0b0833b0 updated bpmn-js-spiffworkflow for on change fix w/ burnettk 2023-04-07 12:03:01 -04:00
Madhurya Liyanage 07dacdff99 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-04-06 20:17:13 +05:30
Madhurya Liyanage 3e5727188d Added cypress-file-upload 2023-04-06 20:01:54 +05:30
Dan a37c7fbe92 Fix for lanes in bpmn-js 2023-04-05 11:14:20 -04:00
Dan 001d7c947f revert recent updates to bpmn-js 2023-04-04 17:18:11 -04:00
Dan 77a1c1a3db Fixing lane error in the spiff-bpmn-io library 2023-04-04 14:47:33 -04:00
Dan e0017e4a88 Minor tweak to bpmn-io editor for messages. 2023-03-06 10:45:47 -05:00
Dan ae159744bc Updating BPMN-JS 2023-03-03 14:32:44 -05:00
Dan 8e257600af work in progress -
* Link between message instance and correlations is now a link table and many-to-many relationships as recommended by SQLAlchemy
* Use the correlation keys, not the process id when accepting api messages.
2023-02-17 10:45:01 -05:00
Dan f945b58756 Use the same markdown library for displaying as for editing - could enable a security plugin, but doing so would prevent BPMN developers from using the Sub and Sup markdown supported by GitHub. 2023-02-06 12:14:15 -05:00
Dan c35ba85605 TaskShow had a useEffect that depended on params, that dependency caused an infinite request cycle when an error occured.
The same issue was happening on the ProcessInstanceListTable, and there it was being managed by a "SafelySetErrorMessage" function in one case,
but would not be addressed in all possible cases.

Reworked error handling into a context provider (APIErrorProvider) and hook (UseApiError) and removed the "(useContext as any)(ErrorContext)[1];" that felt a little off but that never was an actual problem.
2023-01-25 10:46:56 -05:00
burnettk cd07be3e28 upgrade certifi to fix security vulnerability 2023-01-19 07:38:57 -05:00
jasquat 7415c55ce7 do not navigate away from diagram editor page if there are changes w/ burnettk 2023-01-18 16:43:11 -05:00
jasquat 3f94038e0e use the cookie from the frontend w/ burnettk 2023-01-11 17:27:12 -05:00
jasquat bac203727e updated rjsf to beta.16 and updated validations from v6 to v8 w/ burnettk 2023-01-10 15:15:21 -05:00
burnettk 70980c5261 lint and upgrade cypress 2022-12-21 09:29:54 -05:00
jasquat 1e62a77e81 some fixes for ci w/ burnettk 2022-12-14 17:09:43 -05:00
Dan 7a926c690e update bpmn-js-spiffworkflow with better data-object handling 2022-11-25 11:56:03 -05:00
burnettk 68130b216d upgrades 2022-11-17 17:45:17 -05:00
jasquat 9f2d524447 a little cleanup to forms w/ burnettk 2022-11-17 11:52:57 -05:00
burnettk 60aeaee91d add inline errors 2022-11-16 18:16:55 -05:00
jasquat 7bd3ead772 Merge pull request #45 from sartography/feature/form_carbon_theme
Feature/form carbon theme
2022-11-16 17:14:21 -05:00
Dan b7d669a394 Searching for call activities seems to be working now.
I had the clear_caches in the wrong place previously - fixing.
2022-11-16 16:53:51 -05:00
jasquat 95442a03cf copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
jasquat ddce5fcec1 theme working with mui from the internet w/ burnettk cullerton 2022-11-16 13:52:44 -05:00
jasquat 7707c042da attempting to add a theme w/ burnettk cullerton 2022-11-16 13:35:55 -05:00
burnettk 19c7ae3275 add cypress grep 2022-11-15 22:34:28 -05:00
jasquat 92a37b61de added permission service to frontend to allow checking for permissions w/ burnettk 2022-11-15 14:40:35 -05:00
Dan d740518e75 Mostly a name change from BpmnProcessIdLookup to SpecReferenceCache. I landed on this unfortunate name because:
1. It's not just processes, it contains the list of all DMN Decisions as well.
2. It is closely linked to the SpecReference object that can be generated by looking through all the Spec files to find the processes and decisions they contain.
3. It is a cache of information, the file system is the source of truth.  Seems likely we will cache more things in the future -- so setting things up this way made sense.
2022-11-14 15:23:37 -05:00
jasquat 57ec4a31fc some more task tab play 2022-11-11 10:28:08 -05:00
jbirddog a089626d28 Report URL fixes (#29) 2022-11-11 09:21:30 -05:00
Dan 5c702225e1 Assure we are using the latest bpmn-js-spiffworkflow library. 2022-11-10 13:38:28 -05:00
Dan 1423fe4c84 fixing up routes for launching editor.
Also some fixes in the bpmn-js-spiffworkflow to avoid locking up the browser if no files are available.
2022-11-09 12:03:55 -05:00
burnettk 2cda810a04 fix process model create and a couple tests, docker build refactor 2022-11-08 22:36:39 -05:00
Dan 9e5e4688b8 Merge commit '44e49e6ae6a1f644162489a27618c39194f4628d' into main 2022-11-07 14:35:49 -05:00
jasquat 8a7a7f3de2 process group cypress tests are passing w/ burnettk 2022-11-04 12:20:55 -04:00
jasquat 0365c699d8 finished process instance list filter w/ burnettk 2022-11-02 14:54:02 -04:00
jasquat 3f8da5a568 process instance list page is mostly set up now w/ burnettk 2022-11-01 16:26:24 -04:00
jasquat 9bbf40a985 merged in main and resolved conflicts w/ burnettk 2022-11-01 10:50:50 -04:00
jasquat 6c04a05834 updated bpmn-js-spiffworkflow w/ burnettk danfunk 2022-10-31 17:18:47 -04:00
jasquat 80744018ec added carbon react package w/ burnettk 2022-10-31 14:50:19 -04:00
burnettk a37236563d Merge commit '5adbec7e67d36fd582fc01da083e531ff0925b9e' 2022-10-19 16:48:28 -04:00
Jon Herron 3803b835c2 Merge commit 'a087961fab0d73cc54f9cae658e9eb50ab060f96' 2022-10-13 20:45:09 -04:00
Jon Herron e0f235ca6e Merge main, resolve conflicts 2022-10-12 15:35:34 -04:00
Dan 8af5e7ed93 Updaging the jinja processing so it doesn't leave a bunch of blank lines in the markdown that has strong feelings about white space. Updating the front end to render markdown formatted instructions. And adding a little css love to tables that are generated in Markdown. 2022-10-12 13:28:57 -04:00
Jon Herron d3efb6cfb9 Merge commit '2382c3f0ab9502dddb9a3f6a8b32981f92bedc18' as 'spiffworkflow-frontend' 2022-10-12 10:21:49 -04:00