Commit Graph

3010 Commits

Author SHA1 Message Date
burnettk 8cf8387cd6 Merge commit 'f7dada2c866f9ef7a8dc356868db1c2796967e4e' 2023-08-09 16:14:33 -04:00
burnettk f7dada2c86 Squashed 'connector-proxy-demo/' changes from 25b751e82..29311ecc7
29311ecc7 Add smtp connector (#1)

git-subtree-dir: connector-proxy-demo
git-subtree-split: 29311ecc79b2e61eaededd4bcc00c4a3b799f930
2023-08-09 16:14:33 -04:00
burnettk ba70909c4b Merge commit '7db152f01049e0b788ccbfd3ce2358987df67cdc' 2023-08-09 16:14:32 -04:00
burnettk 7db152f010 Squashed 'bpmn-js-spiffworkflow/' changes from 0a9db509a..9dcca6c80
9dcca6c80 Merge pull request #39 from sartography/message_fixes
9de4d9a2e update github action for tests.
84183ffd3 we weren't setting the property when updating a start event.
66a26cc85 does adding a new check prevent an error that only seems to happen whenthe frontend is engaged
877424a55 Merge pull request #37 from sartography/bugfix/bugfixes-for-mi-and-payloads
afb071d01 apparently didn't finish search and replace when creating the escalation panels
c8040aab5 remove unused MI attributes from XML
1bc43155d Merge pull request #34 from sartography/dependabot/github_actions/dependabot/fetch-metadata-1.6.0
a645c08f5 Merge pull request #36 from sartography/feature/events-with-payloads
8e0f84fbe Merge pull request #35 from sartography/bug/data_objects_in_pools
4b732edd3 add events with payloads
3247a197c update event select to include code field
91e012582 add generic event selector
021f53bb5 add generic event list
b19c69080 Assure we delete reference objects when the visible entity is removed. And remove all those console.logs.
d46741ffd A few more fixes to prevent bugs from showing up later ... * Deleting a pool was erroring out when it contained a list of data objects, now it works ok. * We were getting duplicate DataObjectReferences in the XML when doing a copy paste operation.  Duplicates are no longer generated.
f40cecc05 * Assure that Data object in pools can be changed to reference other data objects within the same pool. * In the runnable demo, add the keyboard bindings to copy/paste/delete etc... work. * Added a test for data objects in pools.
2f835fc7f Bump dependabot/fetch-metadata from 1.4.0 to 1.6.0
f6a79440e Merge pull request #33 from sartography/bugfix/restore-references-without-breaking-messages
2556a4599 better method for fixing references
5c49d665f Merge pull request #32 from sartography/bugfix/add-mi-to-subprocess
e138c4c26 add mi panel to subprocesses
462a5e777 Merge pull request #27 from sartography/feature/multi-instance-task-panel
63dc415fc add MI for call activities
61f2e5db3 add custom importer to handle loop input/output
e504af9bb add multi instance configuration panel

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 9dcca6c80b8ab8ed0d79658456047b90e8483541
2023-08-09 16:14:32 -04:00
burnettk 26318c8a6b Merge commit '38ff7e08dad14714f97c0c603891d58eee26fdfd' 2023-08-09 16:14:27 -04:00
burnettk 38ff7e08da Squashed 'SpiffWorkflow/' changes from 01a25fc3..0adfc8cb
0adfc8cb update spiff signal event
52d65dfc Merge pull request #346 from sartography/bugfix/update-split-task-inputs
23ca808c make sure tasks with boundary events are connected properly
de427431 remove pointless parser attribute and variable
3236b5b9 change subprocess start event validation error message text
a5ad0672 Merge pull request #344 from sartography/bugfix/gateway-in-loop
6b22a195 allow event definitions without refs
bb843873 clean up inclusive gateway a little
a7d81c02 prevent parallel gateways from waiting on descendants
802352a2 move test to proper location
ebcdde95 Merge pull request #343 from sartography/feature/event-payloads
87636472 add an additional test for boundary event parent removal
41423168 add escalation event test
26c5a9bb fix message event catch check
9bd018e5 Add test case for call activities in sub processes, fixed bug (#342)
546923b4 add serialization migration for boundary events
46d41e20 add spiff payload extensions + base spec improvements
a0f5fc2a remove boundary event parent
56277ff1 add event class
6de6fb2b reorganize event definitions
7db65566 fix subprocess cancel
442535ae do not allow the task trace to infinitely loop to get the trace w/ burnettk
dbe41c8e Merge pull request #339 from sartography/improvement/better-subworkflow-management
6c61f20a update parent attribute name
ea0a7bf4 update correlations when catching external messages
f511e2dd remove unneeded method from tests
953fa63c clean up workflow methods
efcdcf54 Merge pull request #338 from sartography/bugfix/triggered-multiinstance-tasks
11b78ce7 prevent errors synching children of MI tasks
bbb79e05 miscellaneous improvements
3f8e8d84 split bpmn workflow into two classes
61e01201 clean up workflow attributes & methods

git-subtree-dir: SpiffWorkflow
git-subtree-split: 0adfc8cbaec80d36f98a4136434e960f666fcfe2
2023-08-09 16:14:27 -04:00
Dan Funk cd9cd0d652 minor bug fixes the bpmn-io editor so messages work again. (#433) 2023-08-04 16:17:26 -04:00
jasquat e62892f574 removed coverage.xml file and ignore it in git in the future 2023-08-04 14:05:32 -04:00
danfunk c3132b004b bump to latest version of bpmn-js-spiffworkflow. 2023-08-04 11:25:32 -04:00
danfunk 6ec8a9800c force-off darkmode around markdown. 2023-08-03 16:20:46 -04:00
jasquat 48893cae13 fixed linting issues w/ burnettk 2023-08-03 15:38:02 -04:00
danfunk deb16b80c3 fixing linting errors. 2023-08-03 15:27:45 -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
Dan Funk b446aad184 Minor tweaks t othe onboarding page. (#430)
* * Display the instructions_for_user directly on the home page (no redirects to alternate pages)
* Moved the onboarding view above the tabs on the home page.
* Added a "times_executed_by_user" script - not sure if we should keep it, but maybe handy.
* Assure that the display_name for the user is returned consistently (it was not being returned by the get_current_user function).

With @jbirddog

* remove pointless comment.
2023-08-03 15:08:25 -04:00
jasquat 3f6fb4d9f5 Feature/pin spiff in ci (#428)
* attempt to use the locked version of SpiffWorkflow in ci w/ burnettk

* fixed regex for spiffworkflow revision replacement

* make sure we also update the lockfile when getting new spiff

* install poetry before we attempt to update hte pyproject

* hardcoding spiffworkflow revision as a test w/ burnettk

* try running tests in ci from bash script w/ burnettk

* print working dir in ci w/ burnettk

* fixed location of instance dir w/ burnettk

* run with mysql in ci

* run typeguard with bash script as well w/ burnettk

* fixed postgres test w/ burnettk

* clean up github action file w/ burnettk

* fixed postgres test again w/ burnettk

* pyl

* attempt to remove nox from ci completely

* omit safety for now to test coverage

* fixed how coverage is being called from not nox

* allow running safety and macos again

* renamed run_not_nox to run_ci_session w/ burnettk

* attempt to only upload if matrix says to w/ burnettk

* attempt to install mysqlclient prereqs for mac and remove noxfile stuff w/ burnettk

* added back the constraints file w/ burnettk

* moved the contributing file to the root of arena w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-03 11:49:30 -04:00
jasquat 9c1eedee91 Merge branch 'main' of github.com:sartography/spiff-arena 2023-08-02 11:05:59 -04:00
jasquat 9fa6182bfb updated python packages for ci w/ burnettk 2023-08-02 11:05:55 -04:00
burnettk f971a298f1 bump cryptography 2023-08-02 10:34:21 -04:00
jasquat 2198c0444f return an empty list if the extensions api is not enabled 2023-08-02 09:00:46 -04:00
jasquat 09794e9302 column names for tables in frontend should only have the first letter… (#425)
* column names for tables in frontend should only have the first letter of the first word capitalized

* forgot a couple field names w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-02 14:06:19 +05:30
jasquat 1c84e5bb47 Feature/run error handler from dequeued (#424)
* run the error handler from the dequeued method instead of marking all failed process instances as error w/ burnettk

* do not commit some_cache_dir w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-02 14:05:11 +05:30
jasquat 796dc9dbec Feature/extensions api (#423)
* added api and test to run a process model and return task data synchronously w/ burnettk

* added test to make sure we can access db models from extensions api w/ burnettk

* added extensions api to elevated permissions

* fixed permission tests

* do not add extensions permission to all permission for a pg or pm w/ burnettk

* added configs for extensions api w/ burnettk

* added the basis for an extensions list api w/ burnettk

* added tests for extenstions api and do not use serialized as a property

* allow giving a body to an extension when running and some support in frontend to use extensions

* added ability to display markdown and rjsf on extensions page

* added ability to submit the extension form and display the resulting task data

* made frontend extension urls have 2 pieces of information so we can specify multiple routes for the same process-model w/ burnettk

* do not save process instances when running extensions w/ burnettk

* add extension input to a task not the process w/ burnettk

* pyl w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-02 14:02:53 +05:30
jasquat 8427f9d2fb Feature/metadata filtering (#418)
* added ability to filter metadata by is and contains w/ burnettk

* added the empty options for metadata filtering

* remove the filter when removing the corresponding column on the frontend

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-02 14:01:38 +05:30
jbirddog 7ccb0aec62 Don't schedule a cycle with 0 second duration (#417)
* Don't schedule a cycle with 0 second duration

* PR feedback

* Getting bin_pyl to pass
2023-08-02 14:00:00 +05:30
jasquat 1bc8ffc47d allow setting a failed process instance to the suspended status w/ burnettk (#416)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-02 13:59:12 +05:30
usama9500 b661f3b930 updating structure with proper file names (#422)
* updating structure with proper file names

* fixing build issues

* build issues

* fixing build errors

* Adding support section

* a little less noise on the index page - maybe we look into adding some intro content here.

---------

Co-authored-by: danfunk <daniel.h.funk@gmail.com>
2023-08-01 08:42:58 -04:00
usama9500 5615be9a20 Updating the structure file (#420)
* updating the structure

* Adding Alex Suggestions
2023-07-28 11:16:36 -04:00
jasquat 299f4a6823 return the process instance when interstitial process is complete and… (#421)
* return the process instance when interstitial process is complete and favor redirecting to it on the frontend

* upgrade certifi for snyk check

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-28 20:34:39 +05:30
jasquat 865c89e80f display the potential task owners or group in the interstitial info message w/ burnettk (#415)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-27 22:30:32 +05:30
jasquat 51642ccd96 do not display instructions for end events at the top level of the process w/ burnettk (#414)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-27 21:13:53 +05:30
jasquat cdaf2ea6c5 added a loading icon on task show page to avoid blank page when loadi… (#411)
* added a loading icon on task show page to avoid blank page when loading large datasets w/ burnettk

* fixed broken tests w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-27 17:00:16 +05:30
jbirddog 43beb916a3 Basic scaffolding for onboarding (#400)
* Wedge between InProgressInstances for default view customization

* Rename to OnboardingView, stubbed out api in the backend

* Flip between InProgressInstances and MyTasks via the backend

* WIP

* WIP

* Basic human task handling

* FE lint

* Getting ./bin/pyl to pass

* Suppress any exceptions during onboarding request

* Script to skip onboarding if already started

* Getting ./bin/pyl to pass

* Better default location

* PR feedback

* PR feedback

* PR feedback - add new endpoint to basic permissions

* Fix basic permissions test

* Add integration tests

* Getting bin_pyl to pass
2023-07-27 11:54:30 +05:30
jasquat 148bf386e3 attempt to save again if deadlock given for draft data save w/ burnettk (#410)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-26 20:38:17 +05:30
jasquat 58cc0d9c14 use the task_updated_at_in_seconds column on the pi show page like we do for the pi tables (#409)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:58:21 +05:30
jasquat 84369a1b20 return the process instance early from the interstitial if it is susp… (#407)
* return the process instance early from the interstitial if it is suspended or terminated

* added a test to make sure the interstitial page returns the process instance if suspended or termianted w/ burnettk

* randomize tests and cleaned up the pyproject file a little bit w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:57:53 +05:30
jasquat c6b57c98fa Feature/date range validations (#406)
* added ability to compare date field against a date range field start or end

* added a couple of comments

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:57:07 +05:30
jasquat 755943d89d use editor when navigating to a process model file (#405)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:56:03 +05:30
Kevin Burnett 23e5fde06e make perspective dropdown bigger (#403)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-25 22:55:11 +05:30
Kevin Burnett 77f922f675 use a less wrong scheam for save-draft (#402)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-25 22:54:48 +05:30
jasquat a4ceb982ea do not raise if the app cannot load an env specific config file w/ burnettk 2023-07-25 10:16:37 -04:00
Phillana26 3e43a4ff7d Bpmn_section (#412)
* how to and spiff sparkles

* how to and spiff spiffsparkles

* rename  data_object_properties.png

* change name images/data_object_prop.png

* downcase png files

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-24 09:10:31 -07:00
Phillana26 e276e649c7 Articles (#395)
* articles section

* Articles section updated

---------

Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2023-07-19 13:27:15 -07:00
burnettk 95fafb7af1 Revert "Feature/event payloads (#393)"
This reverts commit f1c5f1ea21.
2023-07-19 11:44:06 -04:00
burnettk 140220498c Revert "poet not available in container"
This reverts commit d43514b388.
2023-07-19 11:43:51 -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
burnettk af857fee22 Revert "using new spiff api to get info about events. w/ elizabeth"
This reverts commit 440a4850f1.
2023-07-19 11:43:27 -04:00
burnettk 886e6bd42a Revert "fix tests for waiting_event_can_be_skipped"
This reverts commit 2900a9a5f8.
2023-07-19 11:43:17 -04:00
burnettk 4638adbaef update cryptography 2023-07-18 17:12:25 -04:00
burnettk 2900a9a5f8 fix tests for waiting_event_can_be_skipped 2023-07-18 17:07:14 -04:00
burnettk 440a4850f1 using new spiff api to get info about events. w/ elizabeth 2023-07-18 14:35:56 -04:00