Commit Graph

4025 Commits

Author SHA1 Message Date
jasquat 59bf7ec7e9
Celery instructions fix (#1533)
* queue instructions after running a manual task as well

* avoid adding instructions for human tasks

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-10 12:06:43 -04:00
Kevin Burnett bbaabff508
upgrade rjsf and mui (#1523)
* upgrade rjsf and mui

* add jsdom

* smaller change to package-lock

* update processSelectValue with code direct from rjsf

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-05-10 09:00:24 -07:00
burnettk 3dac7e9226
update token expiry for test openid server 2024-05-10 10:18:07 -04:00
jasquat 50754b9d33
Remove add proce info (#1526)
* call the proc index when we need it rather than passing it through w/ burnettk

* removed all uses of additional_processing_identifier w/ burnettk

* added comment about why we need current proc index and made coderabbit suggestion w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-09 16:53:36 -04:00
dependabot[bot] ac83a4e639
Bump poetry from 1.8.2 to 1.8.3 in /.github/workflows (#1518)
Bumps [poetry](https://github.com/python-poetry/poetry) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/python-poetry/poetry/releases)
- [Changelog](https://github.com/python-poetry/poetry/blob/1.8.3/CHANGELOG.md)
- [Commits](https://github.com/python-poetry/poetry/compare/1.8.2...1.8.3)

---
updated-dependencies:
- dependency-name: poetry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 14:26:54 +00:00
jasquat d5e0ab6989
Fix process data get subprocess 3 (#1515)
* Fix process data get subprocess (#1493)

* added test to make sure we can get the data object of a sub process

* avoid the processor altogether to get data objects but use the db directly

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>

* get the data object value from the bpmn process that defines it w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-08 09:29:07 -04:00
Usama Ahmad adab730bd9
updates to screenshots and tables (#1489)
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-05-07 17:56:14 -07:00
burnettk 141a327627
make sure input line is set before doing things 2024-05-07 20:43:15 -04:00
Usama Ahmad b64b21054e
Documentation on Lanes/Pools and FAQ (#1473)
* Documentation on Lanes/Pools and FAQ

* Updates

* Remove Get_Current_User
2024-05-07 14:23:04 -07:00
jasquat 6bb24e51bf
queue the pi in the future if it is locked w/ burnettk (#1513)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-07 17:15:28 -04:00
jasquat a7370cd293
Fix process data get subprocess (#1493) (#1514)
* added test to make sure we can get the data object of a sub process

* avoid the processor altogether to get data objects but use the db directly

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-07 17:11:17 -04:00
jasquat d86f3958f8
Multiinstance task data fix (#1497)
* Revert "Fix process data get subprocess (#1493)"

This reverts commit 84feef321d.

* added process model so we can test fixing loading task data with mi w/ burnettk

* added test and a potential fix w/ burnettk

* pyl is passing

* Update spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_processor.py

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* put back api yml description

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-05-07 15:17:01 -04:00
dependabot[bot] ea502a9868
Bump jinja2 from 3.1.3 to 3.1.4 (#1508)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 14:48:21 +00:00
jasquat 85352ca6bb
always load the file up as binary w/ burnettk (#1499)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-06 17:08:56 -04:00
jasquat 26d0458db8
updated bpmn-js-spiffworkflow w/ burnettk 2024-05-06 16:40:53 -04:00
dependabot[bot] 38c30f0207
Bump furo from 2024.1.29 to 2024.4.27 (#1496)
Bumps [furo](https://github.com/pradyunsg/furo) from 2024.1.29 to 2024.4.27.
- [Release notes](https://github.com/pradyunsg/furo/releases)
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
- [Commits](https://github.com/pradyunsg/furo/compare/2024.01.29...2024.04.27)

---
updated-dependencies:
- dependency-name: furo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 14:34:26 +00:00
jasquat 973e8fce72
added option to clone process models in boot in docker script w/ burnettk 2024-05-03 16:31:27 -04:00
jasquat e085c90114
Merge branch 'main' of github.com:sartography/spiff-arena 2024-05-03 14:57:39 -04:00
jasquat d01e52d81f
fixed run process model script to work with celery w/ burnettk 2024-05-03 14:57:35 -04:00
burnettk d7f0026433
add jq to backend deployment image 2024-05-03 13:50:42 -04:00
Kevin Burnett d8da94c233
allowing switch form to MUI using ui:theme mui in the ui schema (#1482)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-05-03 13:32:57 -04:00
jasquat 84feef321d
Fix process data get subprocess (#1493)
* added test to make sure we can get the data object of a sub process

* avoid the processor altogether to get data objects but use the db directly

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-03 11:10:55 -04:00
dependabot[bot] 52bbd10f9c
Bump sphinx-autobuild from 2024.2.4 to 2024.4.16 (#1492)
Bumps [sphinx-autobuild](https://github.com/sphinx-doc/sphinx-autobuild) from 2024.2.4 to 2024.4.16.
- [Release notes](https://github.com/sphinx-doc/sphinx-autobuild/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx-autobuild/blob/main/NEWS.rst)
- [Commits](https://github.com/sphinx-doc/sphinx-autobuild/compare/2024.02.04...2024.04.16)

---
updated-dependencies:
- dependency-name: sphinx-autobuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 14:45:17 +00:00
jasquat 86f97d5937
New calling process table (#1480)
* added new table to handle called process relationships

* process caller api endpoint is working again w/ burnettk

* fixed more tests and mypy w/ burnettk

* unit tests are passing and commented out unrelated failing test w/ burnettk

* all tests are passing almost w/ burnettk

* uncommented flakey test w/ burnettk

* minor change while reviewing w/ burnettk

* some changes from coderabbit suggestions w/ burnettk

* commented out sampling change w/ burnettk

* name the foreign keys on the process caller table w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-03 10:09:32 -04:00
jasquat b9e70d12a6
do not invalidate a numeric range field if it is unset and not required (#1478)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-02 14:08:36 -04:00
burnettk fa8f46d04b
ignore flask cors issue with no fix 2024-05-02 13:24:37 -04:00
dependabot[bot] 1584cc475e
Bump sphinxcontrib-devhelp from 1.0.2 to 1.0.6 (#1479)
Bumps [sphinxcontrib-devhelp](https://github.com/sphinx-doc/sphinxcontrib-devhelp) from 1.0.2 to 1.0.6.
- [Release notes](https://github.com/sphinx-doc/sphinxcontrib-devhelp/releases)
- [Changelog](https://github.com/sphinx-doc/sphinxcontrib-devhelp/blob/1.0.6/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinxcontrib-devhelp/compare/1.0.2...1.0.6)

---
updated-dependencies:
- dependency-name: sphinxcontrib-devhelp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 15:13:18 +00:00
dependabot[bot] d463cba4c5
Bump codecov/codecov-action from 4.3.0 to 4.3.1 (#1476)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 15:07:56 +00:00
dependabot[bot] 1b42142068
Bump black from 24.4.0 to 24.4.2 (#1475)
Bumps [black](https://github.com/psf/black) from 24.4.0 to 24.4.2.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.4.0...24.4.2)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 14:33:31 +00:00
burnettk 0911d16749
add mermaid charts 2024-05-01 09:46:42 -04:00
Kevin Burnett c3ca3e4079
bump bpmn js spiff for new call activity ux (#1472)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-30 14:12:31 -04:00
jasquat f5db660878
Perms for group navigate (#1470)
* wip related to giving access to groups when you have subgroups

* handle deny permissions and check normal permissions if pg parent method as well w/ burnettk

* reverted local dev perm file w/ burnettk

* a little test cleanup

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-30 14:11:51 -04:00
dependabot[bot] 4ec9a0a7e8
Bump pre-commit-hooks from 4.5.0 to 4.6.0 (#1468)
Bumps [pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/pre-commit/pre-commit-hooks/releases)
- [Changelog](https://github.com/pre-commit/pre-commit-hooks/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: pre-commit-hooks
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 14:36:58 +00:00
burnettk c5ce10ef9b
get rid of docutils and upgrade myst-parser to unhose dependabot 2024-04-30 09:55:25 -04:00
Kevin Burnett 98b87cde82
make sure init params are in include list (#1467)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-29 14:42:35 -07:00
jasquat 0d7a114c98
Config turn off threads (#1466)
* added config to turn off task execution with threads w/ burnettk

* do not run tasks in parallel if they have gateway children w/ burnettk

* remove debugging code w/ burnettk

* attempting to fix flakey test w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-29 16:50:20 -04:00
Kevin Burnett 48200283b5
bump spiff for feature/receive-message-correlations (#1454)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-29 13:04:33 -07:00
jasquat 1495b7dac8
some additional fixes for the numeric range field (#1464)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-29 13:04:21 -07:00
Kevin Burnett 23e147793a
make permissions on process group show more nuanced (#1460)
* if you have access to things in a group, allow navigating through group

* lint

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-29 13:03:46 -07:00
jasquat bd51222efe
allow specifying certain jwt options as configs w/ burnettk (#1459)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-26 14:36:36 -07:00
burnettk fbc97f5556
make sure we get pg_config on mac 2024-04-26 17:03:55 -04:00
jasquat 00c2e85fee
Data store background fix (#1455)
* added test to demonstrate data store issue when run in certain contexts w/ burnettk

* added method to add kkv data store getters back onto tasks if appropriate w/ burnettk

* removed debug code w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-26 10:14:26 -04:00
jasquat c6f0dd65e5
log original error when token decoding fails w/ burnettk 2024-04-25 12:19:45 -04:00
jasquat 40af8809a1
numeric-range-check-for-num (#1451)
* check to ensure the value entered in a numeric range is a number

* save the regex number matcher so it can be used in multiple places w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-25 11:33:25 -04:00
dependabot[bot] 1f056089f4
Bump actions/download-artifact from 4.1.6 to 4.1.7 (#1453)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-25 15:20:51 +00:00
dependabot[bot] 1d25a78fcf
Bump idna from 3.4 to 3.7 (#1452)
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.4...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-25 14:28:48 +00:00
jasquat d76333065a
remove useless comment w/ burnettk 2024-04-24 15:51:53 -04:00
jasquat 1355c97b69
load-parent-task-data (#1447)
* load task data for the immediate completed parent and for cancelled tasks

* reverted query_tasks script

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-04-24 14:08:31 -04:00
burnettk c2856be3bf
remove flake8 because ruff and bandit because it is in backend, fix long line 2024-04-24 12:59:20 -04:00
burnettk d197bf00a2
couple fixes to get current user finder script 2024-04-24 12:57:11 -04:00