Commit Graph

3077 Commits

Author SHA1 Message Date
jasquat 559276295a
some initial work to copy process models 2023-08-28 08:39:30 -04:00
burnettk 1f76f9f265
Merge remote-tracking branch 'origin/main' into spiffcrm 2023-08-25 18:44:31 -04:00
Kevin Burnett 3b51b8e47e
handle when parent is none when getting last state change (#453)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-25 17:53:33 +05:30
jasquat 5ba473e856
feature/fix-task-last-state-change (#452)
* added a migration function to fix tasks with null last state changes

* pyl

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-25 10:10:50 +05:30
jasquat a75c3e75fc
build spiffcrm 2023-08-24 15:41:35 -04:00
burnettk 0157fe1bcd
Merge remote-tracking branch 'origin/main' into spiffcrm 2023-08-24 15:40:19 -04:00
jasquat 55dabd4533
added widget to edit markdown with rjsf 2023-08-24 15:27:53 -04:00
Kevin Burnett 8a000f448d
script to update a doc page with chatgpt (#451)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-24 11:49:17 -07:00
jasquat d29069df66
added permissions for authentication endpoints 2023-08-24 08:37:01 -04:00
jasquat bf2197c72d
fixed run server locally so it defaults to sample 2023-08-23 12:27:35 -04:00
burnettk 8b82e3a946
document some of the more obscure features 2023-08-22 23:30:02 -04:00
jasquat 8e65c21b21
update SpiffWorkflow to remove Root task specs and removed Root specific code from backend w/ burnettk (#444)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-22 08:55:09 +05:30
jasquat 8fc9253da6
Feature/add support permissions (#445)
* added support perm macro which removes secrets perms w/ burnettk

* support perm macro inherits from basic now and updated docs on permissions to be more accurate w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-22 08:53:26 +05:30
jasquat 5d00328da9
lint 2023-08-21 13:33:25 -04:00
jasquat ef9baad917
added db migration that merges branching heads together 2023-08-21 13:24:50 -04:00
Kevin Burnett f72958c72a
bump spiff to change task internal data, add new method and new exceptions (#441)
* bump spiff to change task internal data, add new method and new exceptions

* bump bpmn-js-spiffworkflow for MI updates

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-21 22:23:02 +05:30
jasquat 2d8e262681
fixed is_empty metadata filter and added test to ensure they all work w/ burnettk (#437)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-21 22:00:01 +05:30
jasquat 96810f1d67
updated the column names for the tables on the process instance show page (#436)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-21 21:59:42 +05:30
jasquat a4af390118
Feature/allow markdown in extension results (#435)
* allow markdown in extensions results w/ burnettk

* fixed tests

* moved our rjsf form to component so extensions can also use it w/ burnettk

* added ability to create extensions that can download files w/ burnettk

* added test for extensions-get-data endpoint w/ burnettk

* make user optional when getting process instance reports

* added extensions-get-data to elevated perm macro and raise an error if user is not specified when needed when running a report

* fixed typeguard test

* push extensions branch

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-21 21:59:25 +05:30
jbirddog e24c9a17a9
Oauth admin (#434)
* Adding dependencies

* Disconnect from /v1/auths for auth list. hardcoded for now.

* Revert changes

* WIP

* Getting hardcoded v2 auths into the frontend

* Better url for v2 oauth

* Pass the auth token from the frontend, don't verify token to start the auth process

* Manually verify the token from the querystring

* WIP

* WIP

* WIP, refactor SPIFF_SECRET handling, move dependencies

* Construct remote_app

* WIP

* WIP

* WIP

* WIP

* Ugly but getting the grant screen

* WIP

* WIP

* Github oauth ok

* Verify token, save access token

* Let secret name work with regex

* Getting bin_pyl to pass

* New component

* Load up the current config in an editor

* Getting bin_pyl to pass

* End point to update auth config

* Linting

* Adding configuration model

* Adding configuration model

* Prep to read config from db

* Read config from the db

* Save/reload poor man's styling

* Getting bin_pyl to pass

* Getting bin_pyl to pass

* Getting bin_pyl to pass

* Better handling of invalid json

* Getting bin_pyl to pass
2023-08-21 21:58:55 +05:30
jasquat ca4984599a
created migration to incrase the human task file names to 255 in the db w/ burnettk (#429)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-21 21:58:10 +05:30
jasquat f368d2788a
Feature/restrict call activity processes (#426)
* ensure users have access to run a process model in order to use it as a call activity w/ burnettk

* bad some cache dir w/ burnettk

* pyl

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-21 21:57:29 +05:30
jasquat fa9a4e5d6d
Feature/event payload migration fix (#443)
* also update exclusive gateways when migrating to event payload spiffworkflow

* pyl w/ burnettk

* build docker image for this branch w/ burnettk

* check to make sure configs are not None w/ burnettk

* do not migrate tasks related to exclusive gateways w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-17 22:13:29 +05:30
Dan Funk ee265321de
Feature/onboarding ephemeral (#442)
* The onboarding controller should not save the process model to the database.  It creates a pile of pointless noise.  So just cleaning that up.

* run_pyl

* assure we can handle user tasks if they happen during on-boarding, while keeping the list of processes clean.
Lots of weird stuff getting run_pyl going.

* pyl

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-16 12:11:38 -04:00
jasquat 9e9157f9cd
display correct status value when erroring from do_waiting w/ burnettk 2023-08-15 14:56:55 -04:00
jasquat 5d24e2bac1
add the process instance id to the error message when using system notifications on errors w/ burnettk 2023-08-15 10:29:03 -04:00
danfunk 90c0e32ec9 Quick fix - don't display the onboarding instructions on every task page - and we should clean up the routes. 2023-08-14 16:31:28 -04:00
jasquat e6bef0f9d0
remove debug file w/ burnettk 2023-08-11 14:18:29 -04:00
jasquat 679fb899bc
removed debug print statement w/ burnettk 2023-08-11 14:17:42 -04:00
jasquat 89dd5a9826
use TextAreas for description fields in the frontend w/ burnettk 2023-08-10 10:56:16 -04:00
Kevin Burnett 8d92d1ef4e
Feature/event payloads part 2 (#401)
* Revert "Revert "Feature/event payloads (#393)""

This reverts commit 9bc4a68f2d.

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

This reverts commit 5c68e5817e.

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

This reverts commit b04284ac9c.

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

This reverts commit f00e4b416c.

* Revert "Revert "fix tests for waiting_event_can_be_skipped""

This reverts commit de2ea98daa.

* 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
burnettk d323b30f03
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 b9fd9279e0
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 f791c4328c
Merge commit '92bfe2e65986524fc0d39b18d522ae7c55a28e92' 2023-08-09 16:14:27 -04:00
burnettk 92bfe2e659 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 ab3165e413
minor bug fixes the bpmn-io editor so messages work again. (#433) 2023-08-04 16:17:26 -04:00
jasquat ce370afcaf
removed coverage.xml file and ignore it in git in the future 2023-08-04 14:05:32 -04:00
danfunk 875db6b1b9 bump to latest version of bpmn-js-spiffworkflow. 2023-08-04 11:25:32 -04:00
danfunk 82472ac72e force-off darkmode around markdown. 2023-08-03 16:20:46 -04:00
jasquat 4c9eb2a8d5
fixed linting issues w/ burnettk 2023-08-03 15:38:02 -04:00
danfunk 69b359b845 fixing linting errors. 2023-08-03 15:27:45 -04:00
jasquat 48c16de0b7
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 26cedac42b
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 4b771ac706
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 a39a79c45b
Merge branch 'main' of github.com:sartography/spiff-arena 2023-08-02 11:05:59 -04:00
jasquat 93f7a7c437
updated python packages for ci w/ burnettk 2023-08-02 11:05:55 -04:00
burnettk 6a8bc5080d
bump cryptography 2023-08-02 10:34:21 -04:00
jasquat bc5564259a
return an empty list if the extensions api is not enabled 2023-08-02 09:00:46 -04:00