Commit Graph

3989 Commits

Author SHA1 Message Date
Kevin Burnett d7bd03bb69
simplify build with pip and poetry in one step and no pipx (#1323)
* simplify build with pip and poetry in one step and no pipx

* upgrade setuptools

* just in case

* debug w/ burnettk

* print pwd and ls whenever we call constraints w/ burnettk

* update safety and setuptools to fix ci errors w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-03 11:40:50 -04:00
jasquat 280240ca87
lookup 1000 groups when attempting to cache them so we are not restricted to 100 w/ burnettk (#1331)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-03 08:22:07 -07:00
jasquat b21a3b3ec7
Celery docs and debug (#1328)
* added script to import process instance and updated some docs for redis and celery w/ burnettk

* pyl and removed bad gitignore w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-02 16:13:18 -04:00
jasquat 0c945c7eea
fixed jenkinsfile syntax w/ burnettk 2024-04-02 13:43:34 -04:00
jasquat 64b72f439b
Revert "Bump @rjsf/utils from 5.0.0-beta.20 to 5.18.1 in /spiffworkflow-frontend (#1301)"
This reverts commit 659112a3e4.
2024-04-02 12:55:43 -04:00
Jakub Sokołowski 7f18fb7cee
ci: always notify, not just if we get to push stage (#1325)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-02 09:15:19 -07:00
jbirddog 467d33e4a2
Support db migrations when using dev containers (#1309) 2024-04-02 08:50:49 -04:00
jasquat b507f45fb0
Date format fixer (#1319)
* attmept to figure out what date format the user is inputting w/ burnettk

* reverted default date config w/ burnettk

* added tests for the new date formatter function

* fixed outdated comment

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-01 16:39:29 -04:00
jasquat cef93033e8
do not store pi events when running migrations (#1310)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-01 12:24:02 -04:00
dependabot[bot] d8d9cfe89f
Bump flake8-rst-docstrings from 0.2.7 to 0.3.0 (#1315)
Bumps [flake8-rst-docstrings](https://github.com/peterjc/flake8-rst-docstrings) from 0.2.7 to 0.3.0.
- [Commits](https://github.com/peterjc/flake8-rst-docstrings/compare/v0.2.7...v0.3.0)

---
updated-dependencies:
- dependency-name: flake8-rst-docstrings
  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-01 14:54:09 +00:00
dependabot[bot] d3068ae07c
Bump types-pytz in /spiffworkflow-backend (#1316)
Bumps [types-pytz](https://github.com/python/typeshed) from 2022.7.1.2 to 2024.1.0.20240203.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-pytz
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:52:18 +00:00
Kevin Burnett 9232c70ff3
Ventilate prose (#1305)
* ventilate prose

* ventilate all the things

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-01 07:17:38 -07:00
usama9500 4c8ca01740
Loop and Nested forms (#1282)
* Loop and Nested forms

* Updates

* Removed Implementation steps

* Removed Implementation steps

* remove conflict marker

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-01 07:06:48 -07:00
Kevin Burnett 8b795f994e
Proofread docs (#1300)
* proofread docs

* proofreading docs

* remove trailing whitespace

* tweak

* clarify sartography role

* restore quick start and faq content

* few fixes

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* consistent use of SpiffArena

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-03-29 12:12:32 -07:00
jasquat 826a16f0ea
Merge branch 'main' of github.com:sartography/spiff-arena 2024-03-29 13:56:30 -04:00
jasquat f24cdecf6d
add the pi id and task guid to errors in celery worker w/ burnettk 2024-03-29 13:56:26 -04:00
dependabot[bot] 659112a3e4
Bump @rjsf/utils from 5.0.0-beta.20 to 5.18.1 in /spiffworkflow-frontend (#1301)
* Bump @rjsf/utils from 5.0.0-beta.20 to 5.18.1 in /spiffworkflow-frontend

Bumps [@rjsf/utils](https://github.com/rjsf-team/react-jsonschema-form) from 5.0.0-beta.20 to 5.18.1.
- [Release notes](https://github.com/rjsf-team/react-jsonschema-form/releases)
- [Changelog](https://github.com/rjsf-team/react-jsonschema-form/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rjsf-team/react-jsonschema-form/compare/5.0.0-beta.20...5.18.1)

---
updated-dependencies:
- dependency-name: "@rjsf/utils"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* attmepting to update usage of rjsf/utils for newer version

* update all rjsf packages together

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-29 13:33:25 -04:00
Kevin Burnett ef945c458c
log configured frontend url (#1304)
* log configured frontend url

* be more precise

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-29 08:53:07 -07:00
dependabot[bot] 9590101312
Bump codecov/codecov-action from 4.1.0 to 4.1.1 (#1291)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.0 to 4.1.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.1.0...v4.1.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-03-29 15:52:59 +00:00
jasquat 4637caff81
some more changes to help with logging in celery (#1302)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-29 11:28:43 -04:00
dependabot[bot] 1da395a8d5
Bump typing-extensions from 4.9.0 to 4.10.0 in /spiffworkflow-backend (#1299)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.9.0...4.10.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  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-03-29 14:56:02 +00:00
dependabot[bot] a149465bfc
Bump pyupgrade from 3.15.1 to 3.15.2 (#1298)
Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.15.1 to 3.15.2.
- [Commits](https://github.com/asottile/pyupgrade/compare/v3.15.1...v3.15.2)

---
updated-dependencies:
- dependency-name: pyupgrade
  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-03-29 14:42:13 +00:00
jasquat 121f8d15ad
added a formatter to change a date string into a formatted date in markdown w/ burnettk (#1296)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-28 12:58:35 -07:00
jasquat 13d7fa8968
celery logging (#1295)
* some initial code to handle celery logs better w/ burnettk

* some more work to get celery logs properly formatting w/ burnettk

* added logger setup for celery w/ burnettk

* added logger setup for celery w/ burnettk

* use the same logger setup method for both celery and the flask server w/ burnettk

* move the log formatter to own method w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-28 11:48:44 -07:00
dependabot[bot] 8fe75cd320
Bump pytz from 2023.4 to 2024.1 in /spiffworkflow-backend (#1293)
Bumps [pytz](https://github.com/stub42/pytz) from 2023.4 to 2024.1.
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2023.4...release_2024.1)

---
updated-dependencies:
- dependency-name: pytz
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 14:58:24 +00:00
dependabot[bot] 0cc7547812
Bump @babel/core from 7.23.2 to 7.24.3 in /spiffworkflow-frontend (#1292)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.2 to 7.24.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.3/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  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-03-28 14:55:13 +00:00
dependabot[bot] 0d4f2b503e
Bump docutils from 0.18.1 to 0.20.1 (#1290)
Bumps [docutils](https://docutils.sourceforge.io/) from 0.18.1 to 0.20.1.

---
updated-dependencies:
- dependency-name: docutils
  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-03-28 14:41:43 +00:00
jasquat f508722b5b
do not queue a process instance for celery if the instance is currently locked w/ burnettk (#1288)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-27 14:06:12 -04:00
dependabot[bot] 4a373be939
Bump black from 23.1.0 to 24.3.0 (#1285)
* Bump black from 23.1.0 to 24.3.0

Bumps [black](https://github.com/psf/black) from 23.1.0 to 24.3.0.
- [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/23.1.0...24.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* fixed pre commit black issues w/ burnettk

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-27 14:05:49 -04:00
dependabot[bot] 2970d7f6aa
Bump actions/setup-python from 5.0.0 to 5.1.0 (#1284)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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-03-27 17:22:56 +00:00
jasquat 639ba78037
apiPath does not need an extra slash now 2024-03-27 13:09:37 -04:00
dependabot[bot] d32f86300f
Bump bandit from 1.7.7 to 1.7.8 in /spiffworkflow-backend (#1286)
Bumps [bandit](https://github.com/PyCQA/bandit) from 1.7.7 to 1.7.8.
- [Release notes](https://github.com/PyCQA/bandit/releases)
- [Commits](https://github.com/PyCQA/bandit/compare/1.7.7...1.7.8)

---
updated-dependencies:
- dependency-name: bandit
  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-03-27 15:28:34 +00:00
dependabot[bot] 9461bc08e8
Bump @carbon/colors from 11.20.0 to 11.21.0 in /spiffworkflow-frontend (#1287)
Bumps [@carbon/colors](https://github.com/carbon-design-system/carbon/tree/HEAD/packages/colors) from 11.20.0 to 11.21.0.
- [Release notes](https://github.com/carbon-design-system/carbon/releases)
- [Changelog](https://github.com/carbon-design-system/carbon/blob/main/docs/release.md)
- [Commits](https://github.com/carbon-design-system/carbon/commits/v11.21.0/packages/colors)

---
updated-dependencies:
- dependency-name: "@carbon/colors"
  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-03-27 15:27:50 +00:00
jasquat 37902277cc
added a debug endpoint to check celery backend and added return result to celery task w/ burnettk (#1280)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-26 17:31:01 -07:00
jasquat e724cc5856
added ability to retry getting a lock on task submit w/ burnettk (#1279)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-26 17:20:48 -04:00
dependabot[bot] ea9ac73918
Bump babel from 2.12.1 to 2.14.0 (#1256)
Bumps [babel](https://github.com/python-babel/babel) from 2.12.1 to 2.14.0.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-babel/babel/compare/v2.12.1...v2.14.0)

---
updated-dependencies:
- dependency-name: babel
  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>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-03-26 13:05:19 -07:00
dependabot[bot] 04a6b2c64a
Bump react-devtools from 4.28.4 to 5.0.2 in /spiffworkflow-frontend (#1258)
Bumps [react-devtools](https://github.com/facebook/react/tree/HEAD/packages/react-devtools) from 4.28.4 to 5.0.2.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/react-devtools/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/react-devtools)

---
updated-dependencies:
- dependency-name: react-devtools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-03-26 13:05:06 -07:00
dependabot[bot] 85e84e6e61
Bump types-pyyaml in /spiffworkflow-backend (#1257)
Bumps [types-pyyaml](https://github.com/python/typeshed) from 6.0.12.12 to 6.0.12.20240311.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-pyyaml
  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>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-03-26 13:04:47 -07:00
jasquat 930cfb720c
Handle pi lock from message service (#1278)
* handle process instance already locked in message service

* moved celery check to own method in message sevice w/ burnettk

* removed initial implementation w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-26 16:04:15 -04:00
jasquat aa7c2b587b
added an event to use when a process instance is forced to run w/ burnettk (#1277)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-26 11:44:41 -04:00
jasquat 0700194db5
reverted codecov action to 4.1.0 w/ burnettk 2024-03-26 11:43:50 -04:00
jbirddog e8d2396b38
Upsearch api (#1259)
* Run partial tests, add sqlite var

* Add upsearch api

* Getting ./bin/pyl to pass

* Getting ./bin/pyl to pass

* Clean up fixtures

* Revert this change

* PR feedback - use actual schema for api.yml

* Hopefully fix the permissions
2024-03-26 07:56:24 -07:00
dependabot[bot] f8a104cb2d
Bump codecov/codecov-action from 4.1.0 to 4.1.1 (#1276)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.0 to 4.1.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.1.0...4.1.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-03-26 14:47:27 +00:00
jasquat a12d2883c1
Bpmn unit test from pi (#1262)
* added most of the code needed to generate a bpmn unit test from a process instance w/ burnettk

* pyl and tests are passing

* renamed some files and some clean up

* added api method to generate test case w/ burnettk

* debugging the generate test api w/ burnettk

* test case generator test case is now passing w/ burnettk

* added test for TaskMismatchError w/ burnettk

* added support for extension to create bpmn unit tests with the api w/ burnettk

* coderabbit and typeguard fixes w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-26 10:14:57 -04:00
Kevin Burnett 62ba2ed282
put arrow to the right of the button in process instance table (#1274)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-26 04:55:23 -07:00
jasquat 8a773c81f8
watch for specific values on params for useEffects w/ burnettk (#1271)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-25 11:59:42 -07:00
Tim Consolazio 917ee504cb
Implement React Query (Tanner) (#1263)
* Implement React Query (Tanner)

Also, replace PermissionCache with the framework's hooks.

* Update App.tsx

See if tools are causing cypress error

* Push div above query elements

Might solve a cypress problem.

* Remove old PermissionCache, and add docs/comments
2024-03-25 11:47:02 -07:00
jasquat b5b8031b44
fix-human-task-guid-fk (#1260)
* removed human_task_ibfk_5 from old migration file and updated task id removal migration to work with both mysql and postgres w/ burnettk

* use sqlalchemy error classes instead of mysql w/ burnettk

* mypy w/ burnettk

* remove deprecated cypress config w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-25 14:32:44 -04:00
jasquat fa241e1a01
/task-show-on-error-fix (#1269)
* watch only the attributes from within params that we need from the TaskShow useEffect w/ burnettk

* do not watch addError from the callback to avoid re-renders w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-25 09:07:26 -07:00
Kevin Burnett fed785b50c
fix a couple cypress test issues (#1267)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-24 05:02:15 +00:00