mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-10 18:25:42 +00:00
1cedc2ea50
031713a61 added new test users for status in keycloak w/ burnettk da25a85b7 added script to add test keycloak users and moved all keycloak stuff to keycloak directory w/ burnettk 74c46c9b4 pin SpiffWorkflow to passing version for CI tests w/ burnettk 3bb4c893f Merge pull request #105 from sartography/feature/avoid_logs_when_call_activity_waiting b8d664381 disabled flake8 forcing comments to avoid all of the useless comments but still enforcing the formatting of comments if they exist w/ burnettk 9be85cac6 show start events in logs as well and added bpmn process identifiers to log table w/ burnettk ab5b1f77f downgrade spiff and upgrade some other stuff b51e1ca59 upgrade certifi to fix security vulnerability 65b9005d4 do not allow overwriting process models and process groups w/ burnettk 70b9ce61c added End Event to simple log view w/ burnettk 1c2fe64f1 pyl w/ burnettk 56de0294a skip failing xml test on windows w/ burnettk 31944bd07 use the correct windows path separator in test file 1e070f87c favor user_input_required over waiting status for process instances w/ burnettk 9ced1b90a fixed broken test w/ burnettk 8ae6929d1 only show milestones for simple log view w/ burnettk b98908fa3 do not resolve entities when parsing xml w/ burnettk ecf8acaf5 do not write to logs when a task is inheriting data from the parent w/ burnettk e81d7b8f5 updated open id url for compose ci acf115c5f pyl 8a0982ea9 fixed cypress tests 399a6ac69 postgres does not have group_concat, and it is stricter about getting back columns when grouping c813209c4 Merge pull request #102 from sartography/feature/waku-fault-message 7e5d4d8ce Merge pull request #101 from sartography/task_data_len 4b0ffb17c Merge branch 'main' of github.com:sartography/spiff-arena ef55abb7a fixed broken test w/ burnettk 9608f65ef Skip refresh steps (#103) 20a48e6ef added tasks table to process instance show page w/ burnettk f071832e0 Merge branch 'main' into feature/waku-fault-message 57249528d run_pyl changes 30132ed09 Fixed failing test a0f9d7e39 stop at call activity as well when getting calling subprocesses by child id w/ burnettk e4ebe4544 Getting ./bin/pyl to pass cf0a78aef Merge branch 'main' into task_data_len 48083b164 Bump the limit to 1mb 202ba2e8c Better impl 5bf49c386 reorder imports c53328523 import order c67872354 unused imports d9a9eeae8 Merge branch 'main' into feature/waku-fault-message e98a4540c POC checking cumulative task data len fe5258780 fixed failing test w/ burnettk d00d28d95 added detailed area to process instance show page w/ burnettk 910311832 set the domain for the token cookies w/ burnettk 3cae7055a a little more cleanup w/ burnettk f756453b3 remove several debug print statements 3180353bb logout works now and queryparams are getting passed correctly on login now 0ee732842 pyl a55b14f53 Merge branch 'main' into feature/waku-fault-message e7ab8f8b8 Cleaned up the message text fa299f412 Precommit 999b19062 mypy 6260af4b6 use the cookie from the frontend w/ burnettk 0e50e71db this can run on localhost with cookies w/ burnettk aa626d743 this somewhat works and sets cookies w/ burnettk 4b5d2d611 debugging cookies w/ burnettk 4f04ed716 updated get_token to actually work b31f04a65 Removed test for email error handler. Added stub for testing system handler process 77e4e017a lint w/ burnettk 38951f4d6 only load file references when needed to avoid unnecessary xml errors w/ burnettk 018bd8d1c save a process model file after running all validations w/ burnettk 9c45eedf1 Merge remote-tracking branch 'origin/main' into feature/add_some_xml_validations 5804f058e fixed failing tests 8eb4f1ac9 some updates to validate xml when uploading and saving w/ burnettk 63aad8839 pyl 4120deddb Merge branch 'main' into feature/waku-fault-message 1181d4191 Work on System Notification handler d5fe920af handle subprocesses in navigation b1b694982 call proceses through setProcesses to ensure we have up to date value and removed debug logs w/ burnettk 35fb0e130 attempting to use correct ids vs paths for windows w/ burnettk fc580cbba more debug logs w/ burnettk 874d99580 Merge pull request #96 from sartography/feature/fix_docker_script_in_ci ab81e753c added in debug logging for launching call activity editor w/ burnettk ff73d5b0f fixed typeguard tests w/ burnettk 4792c66a3 fixed typeguard tests w/ burnettk b8dda8779 pyl w/ burnettk c16b59044 fix setting the bpmn dir in start scripts w/ burnettk b70ef1796 Update process_models_controller to include `fault_or_suspend_on_exception` and `exception_notification_addresses` for Process Model create/update 39d374341 also show skipped tasks in the simplified log w/ burnettk 94c6f4ccd some updates to test w/ burnettk 2ebb3a14c do not allow sending messages to terminated and suspended process instances w/ burnettk 4cad37bf3 pyl w/ burnettk 2f1a11cd5 actually filter by process initiator w/ burnettk 9565d8548 Merge branch 'main' of github.com:sartography/spiff-arena f1e399c87 highlight tasks even if they are in subprocesses of called activities w/ burnettk 00049fcc5 ensure we are not accidentally using main 9e4b37e7a updated SpiffWorkflow w/ burnettk git-subtree-dir: spiffworkflow-backend git-subtree-split: 031713a61add3cadf7a608732134dd4f15d34668
163 lines
5.1 KiB
TOML
163 lines
5.1 KiB
TOML
[tool.poetry]
|
|
name = "spiffworkflow-backend"
|
|
version = "0.0.0"
|
|
description = "Spiffworkflow Backend"
|
|
authors = ["Jason Lantz <sartography@users.noreply.github.com>"]
|
|
license = "MIT"
|
|
readme = "README.rst"
|
|
homepage = "https://github.com/sartography/spiffworkflow-backend"
|
|
repository = "https://github.com/sartography/spiffworkflow-backend"
|
|
documentation = "https://spiffworkflow-backend.readthedocs.io"
|
|
classifiers = [
|
|
"Development Status :: 1 - Planning",
|
|
]
|
|
|
|
[tool.poetry.urls]
|
|
Changelog = "https://github.com/sartography/spiffworkflow-backend/releases"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.9,<3.12"
|
|
click = "^8.0.1"
|
|
flask = "2.2.2"
|
|
flask-admin = "*"
|
|
flask-bcrypt = "*"
|
|
flask-cors = "*"
|
|
flask-mail = "*"
|
|
flask-marshmallow = "*"
|
|
flask-migrate = "*"
|
|
flask-restful = "*"
|
|
werkzeug = "*"
|
|
# temporarily switch off main to fix CI because poetry export doesn't capture the revision if it's not here (it ignores the lock)
|
|
SpiffWorkflow = {git = "https://github.com/sartography/SpiffWorkflow", rev = "be26100bcbef8026e26312c665dae42faf476485"}
|
|
# SpiffWorkflow = {develop = true, path = "../SpiffWorkflow" }
|
|
sentry-sdk = "^1.10"
|
|
sphinx-autoapi = "^2.0"
|
|
flask-bpmn = {git = "https://github.com/sartography/flask-bpmn", rev = "main"}
|
|
# flask-bpmn = {develop = true, path = "../flask-bpmn"}
|
|
mysql-connector-python = "*"
|
|
pytest-flask = "^1.2.0"
|
|
pytest-flask-sqlalchemy = "^1.1.0"
|
|
psycopg2 = "^2.9.3"
|
|
typing-extensions = "^4.4.0"
|
|
connexion = {extras = [ "swagger-ui",], version = "^2"}
|
|
lxml = "^4.9.1"
|
|
marshmallow-enum = "^1.5.1"
|
|
marshmallow-sqlalchemy = "^0.28.0"
|
|
PyJWT = "^2.6.0"
|
|
gunicorn = "^20.1.0"
|
|
APScheduler = "*"
|
|
Jinja2 = "^3.1.2"
|
|
RestrictedPython = "^6.0"
|
|
Flask-SQLAlchemy = "^3"
|
|
orjson = "^3.8.0"
|
|
|
|
# type hinting stuff
|
|
# these need to be in the normal (non dev-dependencies) section
|
|
# because if not then poetry export won't have them and nox -s mypy --pythons 3.10
|
|
# will fail
|
|
types-Werkzeug = "^1.0.9"
|
|
types-PyYAML = "^6.0.12"
|
|
types-Flask = "^1.1.6"
|
|
types-requests = "^2.28.6"
|
|
types-pytz = "^2022.1.1"
|
|
|
|
# https://github.com/dropbox/sqlalchemy-stubs/pull/251
|
|
# someday get off github
|
|
# sqlalchemy-stubs = "^0.4"
|
|
# sqlalchemy-stubs = { git = "https://github.com/dropbox/sqlalchemy-stubs.git", rev = "master" }
|
|
# sqlalchemy-stubs = {develop = true, path = "/Users/kevin/projects/github/sqlalchemy-stubs"}
|
|
# for now use my fork
|
|
sqlalchemy-stubs = { git = "https://github.com/burnettk/sqlalchemy-stubs.git", rev = "scoped-session-delete" }
|
|
simplejson = "^3.17.6"
|
|
pytz = "^2022.6"
|
|
dateparser = "^1.1.2"
|
|
types-dateparser = "^1.1.4.1"
|
|
flask-jwt-extended = "^4.4.4"
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = "*"
|
|
coverage = {extras = ["toml"], version = "^6.1"}
|
|
safety = "^2.3.1"
|
|
mypy = ">=0.961"
|
|
typeguard = "^2"
|
|
xdoctest = {extras = ["colors"], version = "^1.0.1"}
|
|
sphinx = "^5.0.2"
|
|
sphinx-autobuild = ">=2021.3.14"
|
|
pre-commit = "^2.20.0"
|
|
flake8 = "^4.0.1"
|
|
black = ">=21.10b0"
|
|
flake8-bandit = "^2.1.2"
|
|
|
|
# 1.7.3 broke us. https://github.com/PyCQA/bandit/issues/841
|
|
bandit = "1.7.2"
|
|
|
|
flake8-bugbear = "^22.10.25"
|
|
flake8-docstrings = "^1.6.0"
|
|
flake8-rst-docstrings = "^0.2.7"
|
|
# flask-sqlalchemy-stubs = "^0.2"
|
|
pep8-naming = "^0.13.2"
|
|
darglint = "^1.8.1"
|
|
reorder-python-imports = "^3.9.0"
|
|
pre-commit-hooks = "^4.0.1"
|
|
sphinx-click = "^4.3.0"
|
|
Pygments = "^2.10.0"
|
|
pyupgrade = "^3.1.0"
|
|
furo = ">=2021.11.12"
|
|
|
|
[tool.poetry.scripts]
|
|
spiffworkflow-backend = "spiffworkflow_backend.__main__:main"
|
|
|
|
[tool.pytest.ini_options]
|
|
# ignore deprecation warnings from various packages that we don't control
|
|
filterwarnings = [
|
|
# note the use of single quote below to denote "raw" strings in TOML
|
|
# kombu/utils/compat.py:82
|
|
'ignore:SelectableGroups dict interface is deprecated. Use select.',
|
|
# flask_marshmallow/__init__.py:34
|
|
# marshmallow_sqlalchemy/convert.py:17
|
|
'ignore:distutils Version classes are deprecated. Use packaging.version instead.',
|
|
# connexion/spec.py:50
|
|
'ignore:Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release',
|
|
# connexion/decorators/validation.py:16
|
|
'ignore:Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release.',
|
|
# connexion/apis/flask_api.py:236
|
|
"ignore:'_request_ctx_stack' is deprecated and will be removed in Flask 2.3",
|
|
"ignore:Setting 'json_encoder' on the app or a blueprint is deprecated and will be removed in Flask 2.3",
|
|
"ignore:'JSONEncoder' is deprecated and will be removed in Flask 2.3",
|
|
"ignore:'app.json_encoder' is deprecated and will be removed in Flask 2.3"
|
|
]
|
|
|
|
[tool.coverage.paths]
|
|
source = ["src", "*/site-packages"]
|
|
tests = ["tests", "*/tests"]
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
source = ["spiffworkflow_backend", "tests"]
|
|
|
|
[tool.coverage.report]
|
|
show_missing = true
|
|
fail_under = 50
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
disallow_any_generics = false
|
|
warn_unreachable = true
|
|
pretty = true
|
|
show_column_numbers = true
|
|
show_error_codes = true
|
|
show_error_context = true
|
|
plugins = "sqlmypy"
|
|
|
|
# We get 'error: Module has no attribute "set_context"' for sentry-sdk without this option
|
|
implicit_reexport = true
|
|
|
|
# allow for subdirs to NOT require __init__.py
|
|
namespace_packages = true
|
|
explicit_package_bases = false
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|