145 Commits

Author SHA1 Message Date
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
719901729a
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
3998527c74
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
burnettk
9bc4a68f2d
Revert "Feature/event payloads (#393)"
This reverts commit 4cf60acb275e592a2e2f90dcc686ac5cb3e85634.
2023-07-19 11:44:06 -04:00
burnettk
b04284ac9c
Revert "Run event payloads data migration from background processor (#399)"
This reverts commit ce23480872e0981ef89b8312a3c8103c8530450f.
2023-07-19 11:43:42 -04:00
burnettk
611350480d
update cryptography 2023-07-18 17:12:25 -04:00
Kevin Burnett
ce23480872
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
4cf60acb27
Feature/event payloads (#393)
* some initial changes for event payload changes in spiff

* fixed tests for new spiffworkflow with event payloads w/ burnettk essweine

* pyl w/ burnettk essweine

* updated SpiffWorkflow from branch

* switched SpiffWorkflow back to main w/ burnettk

* added base for migration script to upgrade db w/ burnettk essweine

* some updates to script w/ burnettk

* script has been written, needs to be tested

* pyl w/ burnettk

* updates to migration script so it can work w/ burnettk

* pyl w/ burnettk

* added comment to data migration file

* run the version 1 3 migration on app boot w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-18 06:56:24 -07:00
jbirddog
2107789ea2
Bump SpiffWorkflow to fix call activity references (#383) 2023-07-12 19:48:08 +05:30
jasquat
12bed674cd
use mysqlclient instead of mysql-connect w/ burnettk (#358)
* use mysqlclient instead of mysql-connect w/ burnettk

* updated some comments w/ burnettk

* runs tests in parallel in run_pyl

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-12 19:44:49 +05:30
burnettk
be41619c60
fix security issue 2023-07-11 15:57:11 -04:00
jasquat
7c1dac3f91
also check human task table for completed by user when determining if… (#370)
* also check human task table for completed by user when determining if an instance is associated with a user

* update pygments

* added some comments for clarity w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-07 20:22:57 +05:30
Kevin Burnett
f248e7f65c
parallel tests with xdist (#335)
* parallel tests with xdist

* add pytest-xdist as dev dep

* put back spiff

* update messaging

* get more in line with main

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-26 22:37:41 +05:30
jasquat
f9777df88c
updated spiffworkflow to fix terminate instance error (#344)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-22 09:16:55 -04:00
Kevin Burnett
033502425e
Feature/better subworkflow management part 2 (#341)
* Revert "Revert "Feature/better subworkflow management (#331)""

This reverts commit 3becffc14f03f79f31582ea2b7f1610eed0e71bc.

* updated SpiffWorkflow to fix infinite loop in task trace w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-20 10:37:49 -04:00
burnettk
3becffc14f
Revert "Feature/better subworkflow management (#331)"
This reverts commit cdbe577836830a83c5f3d825ea66ba1c0b82c401.
2023-06-15 15:10:48 -04:00
jasquat
cdbe577836
Feature/better subworkflow management (#331)
* WIP: some updates to support new spiff w/ burnettk

* unit tests are passing

* all tests except message tests are passing

* fixed usage of catch message event w/ burnettk

* messages are working again w/ burnettk

* uncommented remaining message tests w/ burnettk

* fixed cypress tests w/ burnettk

* use main for spiffworkflow

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-15 10:31:42 -04:00
jasquat
1a30ee6c69
look up human tasks with the guid instead of the task spec identifier w/ burnettk (#317)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-08 14:26:48 -07:00
jbirddog
dd1195a44b
Bump flask for safety (#304)
* Bump flask for safety

* let snyk check flask again w/ burnettk

* attempt to use the same revision for front w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-06 17:33:48 -07:00
jasquat
63bed1a385
upgrade cryptography for security w/ burnettk 2023-06-02 12:09:24 -04:00
danfunk
ebb8b243b2 Documentation Updates
- updated conf.py with some new settings
- updated the documentation
- provided an example of section heading
- added a few additional requirements
2023-06-02 08:25:39 -04:00
burnettk
793773a678
drop python 3.9 and remove unused libs 2023-05-27 18:17:51 -04:00
burnettk
aeb7caa531
let ruff sort imports and ditch duplicative pre-commit linters 2023-05-26 20:01:08 -04:00
jasquat
fc75472eb9
ensure we delete related items when deleting a process instance w/ burnettk 2023-05-26 10:51:24 -04:00
burnettk
756e1e8b70
bump requests to mitigate security issue 2023-05-23 07:19:09 -04:00
burnettk
5346de3690
remove sphinx from pyproject since we do not use it in this way 2023-05-18 18:42:40 -04:00
danfunk
19bea8d02e update spiffworkflow 2023-05-15 16:55:52 -04:00
jasquat
a523079786
updated spiffworkflow to for raw strings in regexes w/ burnettk 2023-05-12 10:09:46 -04:00
jasquat
5767c7f5cd
updated spiffworkflow to fix typo w/ burnettk 2023-05-12 09:55:10 -04:00
jasquat
f3c86452d9
updated spiffworkflow to use newest main 2023-05-11 16:20:25 -04:00
jasquat
2b451fee50
using the new spiff branch and tests are now passing w/ burnettk 2023-05-11 12:41:52 -04:00
jasquat
e4a5c993bd
removed flask-bpmn from pyproject since it is no longer used w/ burnettk 2023-05-10 17:09:51 -04:00
jasquat
dacd161c50
updated spiffworkflow w/ burnettk 2023-05-10 16:43:08 -04:00
jasquat
f0ddee0256
updated Spiffworkflow and updated terminated test to ensure tasks are deleted from the db w/ burnettk 2023-05-10 16:39:03 -04:00
jbirddog
78f077441a
Integrate spiff-element-units 0.3.0 for (some) lazy call activities (#239) 2023-05-04 14:15:13 -04:00
jasquat
0811922c2e
updated typeguard and fixed issues w/ burnettk 2023-05-01 15:26:29 -04:00
jbirddog
04e8aa39d2
Bump spiffworkflow (#235) 2023-05-01 11:24:04 -04:00
Dan
df6bf07186 a whole bunch of front end and backend changes that got mangled. 2023-04-26 16:22:50 -04:00
jasquat
ba893eda4f
updated SpiffWorkflow w/ burnettk 2023-04-20 14:49:34 -04:00
jasquat
f8ba4a04bb
merged in main and resolved conflicts w/ burnettk 2023-04-20 14:10:23 -04:00
jbirddog
61a4243e6d
Called elements (#218) 2023-04-19 18:07:15 -04:00
jasquat
94414ea86b
display event errors in the frontend using errorDisplay w/ burnettk 2023-04-19 15:20:19 -04:00
jasquat
d189adb174
updated SpiffWorkflow w/ burnettk 2023-04-18 15:24:29 -04:00
jbirddog
9291741209
spiff-element-units integration (#214) 2023-04-17 14:49:38 -04:00
burnettk
12b3a2b271
bump spiff 2023-04-13 15:31:40 -04:00
jasquat
29ae12e78a
Merge remote-tracking branch 'origin/main' into feature/prometheus-metrics 2023-04-11 13:23:06 -04:00
jasquat
932beaee6f
updated spiffworkflow 2023-04-10 13:06:14 -04:00