Commit Graph

432 Commits

Author SHA1 Message Date
burnettk a1cce807be Squashed 'spiffworkflow-backend/' changes from 653a86b1..090b84fd
090b84fd only set hostname once

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 090b84fd31ffd496dd1ee1c0f70b45ecd8bc9232
2022-10-24 18:02:49 -04:00
burnettk bfbf5adadb Squashed 'flask-bpmn/' changes from c7e2f98d..aae17b7b
aae17b7b Merge pull request #141 from sartography/dependabot/pip/dot-github/workflows/pip-22.3
e003df4a Merge pull request #148 from sartography/dependabot/pip/sphinx-autoapi-2.0.0
3740daef Bump pip from 22.2.2 to 22.3 in /.github/workflows
b66dce63 Merge pull request #138 from sartography/dependabot/pip/dot-github/workflows/poetry-1.2.2
4fed6cb3 Bump sphinx-autoapi from 1.9.0 to 2.0.0
235c0a87 Merge pull request #147 from sartography/dependabot/pip/reorder-python-imports-3.8.5
1ba76081 Bump reorder-python-imports from 3.8.2 to 3.8.5
d694c6c4 Bump poetry from 1.1.14 to 1.2.2 in /.github/workflows
2409d03e Merge pull request #146 from sartography/dependabot/pip/safety-2.3.1
366238e6 Merge pull request #145 from sartography/dependabot/github_actions/actions/download-artifact-3.0.1
b8807520 Bump safety from 2.1.1 to 2.3.1
be0a29db Bump actions/download-artifact from 3.0.0 to 3.0.1
05ec31cf Merge pull request #132 from sartography/dependabot/pip/docs/furo-2022.9.29
4c6bf71d Bump furo from 2022.6.21 to 2022.9.29 in /docs
6ab6009b Merge pull request #142 from sartography/dependabot/pip/docs/sphinx-5.3.0
43482306 Merge pull request #118 from sartography/dependabot/pip/pep8-naming-0.13.2
a77fcfd6 Bump pep8-naming from 0.13.1 to 0.13.2
726673dc Bump sphinx from 5.1.1 to 5.3.0 in /docs
3a4bf06b Merge pull request #139 from sartography/dependabot/pip/xdoctest-1.1.0
367557ea Bump xdoctest from 1.0.2 to 1.1.0
a3a5fc97 Merge pull request #144 from sartography/dependabot/github_actions/actions/upload-artifact-3.1.1
796e8478 Bump actions/upload-artifact from 3.0.0 to 3.1.1

git-subtree-dir: flask-bpmn
git-subtree-split: aae17b7b4152fe09d4a365ac5ec85289218c663b
2022-10-24 17:53:04 -04:00
burnettk d3a9433ce2 Merge commit 'bfbf5adadb2865d87f66b796356cba5e5feba90e' 2022-10-24 17:53:04 -04:00
burnettk 7026fe1f77 Squashed 'spiffworkflow-backend/' changes from 945b3c0d..653a86b1
653a86b1 update keycloak version and lint
df1443e3 new keycloak realm json with 30 minute access token lifespan and 1 day refresh token lifespan
ac31f4bf wait longer before importing realms for new keycloak w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 653a86b1aebebd8248f735d28cf91664585cb378
2022-10-24 17:53:02 -04:00
burnettk af1eb47568 Merge commit '7026fe1f779051f6eb99b872bcd45b14c0cbe88f' 2022-10-24 17:53:02 -04:00
burnettk 70480e9f91 Squashed 'spiffworkflow-backend/' changes from 13855180..945b3c0d
945b3c0d Merge pull request #151 from Natalia-Fominykh/patch-1
246e160b Update demo.yml
ed7185a5 Merge pull request #139 from sartography/dependabot/pip/docs/sphinx-5.3.0
4852e3f1 Bump sphinx from 5.2.3 to 5.3.0 in /docs
f1e887e7 Merge pull request #127 from sartography/dependabot/pip/pyupgrade-3.1.0
2821bfbc Bump pyupgrade from 2.38.4 to 3.1.0

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 945b3c0d723849f0a62f18c35e3e4a6f2846bf64
2022-10-24 10:44:38 -04:00
burnettk f0b673282c Merge commit '70480e9f91a1053531ea5db32a13a791c39fd89f' 2022-10-24 10:44:38 -04:00
burnettk 9a1e33696a Squashed 'spiffworkflow-backend/' changes from e013fc5da..13855180b
13855180b upgrade keycloak
952927d41 pyl w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 13855180b203282c6fe8a71e0baf650136e3781b
2022-10-21 17:51:39 -04:00
burnettk 50a4c2c2e0 Merge commit '9a1e33696a744527a18dbec667140edb4038ac94' 2022-10-21 17:51:39 -04:00
burnettk d643de93e5 Squashed 'spiffworkflow-backend/' changes from 797c99a76..e013fc5da
e013fc5da Merge branch 'main' of github.com:sartography/spiffworkflow-backend
55632c5dd updated demo permissions yaml w/ burnettk
bc03ea3aa Merge pull request #150 from sartography/dependabot/pip/pyjwt-2.6.0
fff14d210 Merge pull request #149 from sartography/dependabot/github_actions/actions/download-artifact-3.0.1
51fa78649 Bump pyjwt from 2.5.0 to 2.6.0
3383309c7 Bump actions/download-artifact from 3.0.0 to 3.0.1

git-subtree-dir: spiffworkflow-backend
git-subtree-split: e013fc5da8710389e6d6c7dd9283042a04008ffe
2022-10-21 17:28:37 -04:00
burnettk b114ff827b Merge commit 'd643de93e5ceaae28a6e65044cc85dd039530d2c' 2022-10-21 17:28:37 -04:00
jasquat 2b702661f3 Squashed 'spiffworkflow-backend/' changes from b978f502..797c99a7
797c99a7 updated uses of normalize value to check prefixes in tests w/ burnettk
c169cbd9 updated lock file w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 797c99a76e9e03e6b78157876b1ac0d503f13b95
2022-10-21 16:46:41 -04:00
jasquat a4305764a1 Merge commit '2b702661f3bd9b79de887e82e5a5925d07341eb6' 2022-10-21 16:46:41 -04:00
Dan ba3fc0e6fb updateing poetry lock file. 2022-10-21 16:44:44 -04:00
jasquat f0b608789b Squashed 'spiffworkflow-backend/' changes from 22766521..b978f502
b978f502 Merge pull request #148 from sartography/feature/respect_lanes
e7f2d23e merged in main and resolved conflicts w/ burnettk
3a382b40 add new user to active task if appropriate w/ burnettk
d1571c58 added default group to demo and development w/ burnettk
afdf81a0 added test to ensure users can update their own task w/ burnettk
6e13ee4e Merge remote-tracking branch 'origin/main' into feature/respect_lanes
645e4d8f updated flask-bpmn for sentry and fixed for pyl w/ burnettk
57248eab fixed submitting and getting user tasks w/ burnettk
c9b086d9 ignore all null-ls w/ burnettk
63796d50 fixed model load issue w/ burnettk
49eefc56 some precommit stuff w/ burnettk
579f0902 Merge remote-tracking branch 'origin/main' into feature/respect_lanes
47bdb99f fixed swagger ui w/ burnettk
5128f752 merged in main and resolved conflicts
be1f4bcc added validation to ensure user has access to task w/ burnettk
a387b787 added some code to respect lanes in a process model w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: b978f502a0f840554940125c6b729b9b99086001
2022-10-21 16:28:09 -04:00
jasquat 8ebf524c12 Merge commit 'f0b608789b6cdc3ef4303efac053746c98571a48' 2022-10-21 16:28:09 -04:00
Dan b54299f28f Squashed 'flask-bpmn/' changes from c8fd01df4..c7e2f98d1
c7e2f98d1 fixed sentry calls by moving the logger.exception call w/ burnettk

git-subtree-dir: flask-bpmn
git-subtree-split: c7e2f98d1c42e3ff90a989957a346f4f87e622b8
2022-10-21 16:18:27 -04:00
Dan 5a3f5b8cc2 Merge commit 'b54299f28f74ed945f6b938190c31a03f64d5fe3' into main 2022-10-21 16:18:27 -04:00
Dan c5a2f8b16c Squashed 'spiffworkflow-backend/' changes from 106b5d75b..227665212
227665212 Merge pull request #147 from sartography/feature/improve_connector_proxy_calls
306618d99 Send a json request to the connector proxy (don't send a set of post params, as these will all be converted to strings) Requires changes on the connector proxy as well. Adding SimpleJson as a dependency -- when it is available, Flask will prefer its use when serializing requests - and this will avoid errors when attempting to send decimal values.  As I understand it, using SimpleJson on both ends will assure that decimals are represented as strings during serialization, but SimpleJson will know to deserialize them back to decimals on the other side. Can't say I'm lovin on Json at the moment.

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 227665212e28f5d48e2fc03ceb92a8805ae43f0a
2022-10-21 16:18:25 -04:00
Dan 2870b98150 Merge commit 'c5a2f8b16c9a614b944a6e4610594eba1dac7b9f' into main 2022-10-21 16:18:25 -04:00
Dan Funk c20798ba14 Merge pull request #3 from sartography/feature/dan_test
pointless change
2022-10-21 12:57:22 -04:00
Dan 4061258393 pointless change 2022-10-21 12:56:15 -04:00
Dan 3a0b6f634c Squashed 'spiffworkflow-frontend/' changes from b0000877..647a428c
647a428c Merge pull request #93 from sartography/test_arena_push
9d119258 Pause/resume process instances (#2)
0c4b7541 Merge commit '5adbec7e67d36fd582fc01da083e531ff0925b9e'
73a17f29 Merge commit '2a5690772af8fcd121b257dd0b0ba606c57be47a'
3ecfc4f3 Merge commit 'f930f96d1b389e239d05e865afe4db339cb49cbf'
0c9e869f Merge commit '75729ba3df3a8e1eccbae237d96efa7f17f72b26'
93891c60 Merge commit '8d86fe710d083e1d5b2f031ddcf3443b044785e3'
e63af290 Merge commit 'a087961fab0d73cc54f9cae658e9eb50ab060f96'
1b737265 Merge commit '3cfc1bd3834a5ed8ec9d1aa91886ebf0a0c69053'
12b8b32f CI fixes
e8451a3e Merge main, resolve conflicts
716bb3cb Updaging the jinja processing so it doesn't leave a bunch of blank lines in the markdown that has strong feelings about white space.  Updating the front end to render markdown formatted instructions.  And adding a little css love to tables that are generated in Markdown.

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: 647a428c7eb93b2a0c501b64903e5fbfc59b87cc
2022-10-21 12:55:02 -04:00
Dan c0bf047d30 Merge commit '3a0b6f634cdb1bf76ec4fdef8c57a6849ca55961' into main 2022-10-21 12:55:02 -04:00
Dan 44b07c6a21 Squashed 'spiffworkflow-backend/' changes from 1e831706..106b5d75
106b5d75 only add status if active_task has it w/ burnettk
48cbc757 resolved merge conflicts in backend w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 106b5d75b9b401c315b80ccabb337925bf0d8c09
2022-10-21 12:55:00 -04:00
Dan 3d3268a883 Merge commit '44b07c6a21e8c7a74e6c5c780e4347b340dd100d' into main 2022-10-21 12:55:00 -04:00
jasquat 64c75d0437 only add status if active_task has it w/ burnettk 2022-10-21 11:10:57 -04:00
jasquat 00534ec09e added script to push out a subtree w/ burnettk 2022-10-21 10:48:02 -04:00
jasquat f9a1003a88 resolved merge conflicts in backend w/ burnettk 2022-10-21 10:38:13 -04:00
jasquat cd7c413da2 Squashed 'spiffworkflow-backend/' changes from 5225a8b4..1e831706
1e831706 Merge pull request #146 from sartography/test_arena_push
df95dccf fixed conflicts and updated usage of active task status w/ burnettk
33b81894 Merge pull request #145 from sartography/feature/remove-task-data-from-active-task
7e1ce35c remove task_data column
b9cd1c06 Merge pull request #144 from sartography/feature/lib-updates-and-mypy
5e09e28d fix mypy
68485ab4 use fork of sqlalchemy-stubs
872480db Merge remote-tracking branch 'origin/main' into feature/lib-updates-and-mypy
18a892f6 work in progress
84344d53 Pause/resume process instances (#2)
53652cff Merge commit '4a48d9cccd1ca8619b3dbef3c10bcce667c9d9e0'
9ea3def2 lint
c05b5181 Merge remote-tracking branch 'origin/main' into feature/lib-updates-and-mypy
b2a75f60 Merge commit 'c661100e03eef762cb51b02be1b309ec47be7002'
3ddaa5d0 lib updates and mypy
30d04282 Merge commit '4fdb0f3ec4b3b6a68cc2e56ed84ffb6dc2743068'
a961b2a1 Merge commit '81746ee508f6ab0ffe757856d9a3d5d855db2560'
10651984 Merge commit '8f8b4717990eb86c6bfd2f309ef064152c51b452'
59b90fba Merge branch 'main' of github.com:sartography/spiff-arena
577e0fe3 Merge commit 'a166df83031cb88d223e5c75ae8db8c896622821'
11d40241 Merge commit '106e2ca7214aec4dba965ccb3f94b0658acaa2b2'
1fcc935e Merge commit '9781908243408ed221f2b0131a00b8a9612f81f3'
e9734bff Merge commit '64e7049c9a0a4360101a155a41ce64ae692acd3c'
28239aa4 Merge commit 'aa22f4b397a899fa06d06c2e9127ca98d9eb909a'
8b184a5c Merge commit '4f0f5b1ece069ec56f8eb4154d61334a321749a1'
bd1effc6 Merge commit 'b4975660431c275ce736e0431b98c39548200af1'
eafa4f61 Merge commit 'c9bd62250452403550ae1bf1d27547d4796dd316'
50d9a0c3 Merge commit '9be0517531543655a35023af17b76dbb41eab93e'
34e98b77 Merge commit 'a1a01ad25a1ef60b879dede6f037f0fff3381ae4'
c8d0cb8a Merge commit 'bee232a55a82054e629f48f0333495b61a7da7d1'
00478271 Merge commit '71e189afbc127b574cca8d02fc31b2e65aff0d52'
657fbad9 Merge commit 'f21d0ef3a98458deb347fb2a51fab0b5b41f7fe2'
c91c279e Merge commit '93dbce681ec89bc45479748aaae06ddd92b64da4'
b95a1af9 Merge commit '48918b00428e777ea29d351662467c0ac4e34a36'
afea9254 pre-commit updates
e3bc3b76 Merge main, resolve conflicts
2e317da8 Updaging the jinja processing so it doesn't leave a bunch of blank lines in the markdown that has strong feelings about white space.  Updating the front end to render markdown formatted instructions.  And adding a little css love to tables that are generated in Markdown.

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 1e831706a1f7ed841e343537cfe1dc05d5eedaca
2022-10-21 10:36:41 -04:00
jbirddog 5af593e8af Pause/resume process instances (#2)
Collab with @cullerton
2022-10-20 16:44:08 -04:00
burnettk 9b83ec1849 Squashed 'flask-bpmn/' changes from bd4b45a84..c8fd01df4
c8fd01df4 send ApiError to sentry and remove ApiError specific handler and send everything through the same one
70ee69c9b let InternalServerError be handled by the common Exception handler and do not send ApiErrors to sentry

git-subtree-dir: flask-bpmn
git-subtree-split: c8fd01df47518749a074772fec383256c482139f
2022-10-20 16:00:14 -04:00
burnettk 6eaae753d9 Merge commit '9b83ec1849a2d68dbedb2a8f07d0bfd0a44a85e5' 2022-10-20 16:00:14 -04:00
burnettk 4a48d9cccd Squashed 'spiffworkflow-backend/' changes from f9c2fa21e..5225a8b4c
5225a8b4c pyl
259f74a1e Merge branch 'main' into bug/refresh-token
d452208ef Merge pull request #135 from sartography/feature/permissions3
8e1075406 Merge branch 'main' into bug/refresh-token
2b01d2fe7 fixed authentication_callback and getting the user w/ burnettk
476e36c7d mypy changes
6403e62c0 Fix migration after merging main
594a32b67 merged in main and resolved conflicts w/ burnettk
b285ba1a1 added updated columns to secrets and updated flask-bpmn
7c53fc9fa Merge remote-tracking branch 'origin/main' into feature/permissions3
201a6918a pyl changes
a6112f7fb Merge branch 'main' into bug/refresh-token
87f65a6c6 auth_token should be dictionary, not string
f163de61c pyl
1f443bb94 PublicAuthenticationService -> AuthenticationService
6c491a3df Don't refresh token here. They just logged in. We are validating the returned token. If it is bad, raise an error.
91b8649f8 id_token -> auth_token
fc94774bb Move `store_refresh_token` to authentication_service
00d66e9c5 mypy
c4e415dbe mypy
1e75716eb Pre commit
a72b03e09 Rename method. We pass it auth_tokens, not id_tokens
9a6700a6d Too many things expect g.token. Reverting my change
74883fb23 Noe store refresh_token, and try to use it if auth_token is expired Renamed some methods to use correct token type
be0557013 Cleanup - remove unused code
cf01f0d51 Add refresh_token model
1c0c937af added method to delete all permissions so we can recreate them w/ burnettk
aaeaac879 Merge remote-tracking branch 'origin/main' into feature/permissions3
44856fce2 added api endpoint to check if user has permissions based on given target uris w/ burnettk
ae830054d precommit w/ burnettk
94d50efb1 created common method to check whether an api method should have auth w/ burnettk
c955335d0 precommit w/ burnettk
37caf1a69 added a finance user to keycloak and fixed up the staging permission yml w/ burnettk
93c456294 merged in main and resolved conflicts w/ burnettk
06a7c6485 remaining tests are now passing w/ burnettk
50529d04c added test to make sure api gives a 403 if a permission is not found w/ burnettk
6a9d0a68a api calls are somewhat respecting permissions now and the process api tests are passing
d07fbbeff attempting to respect permissions w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 5225a8b4c101133567d4f7efa33632d36c29c81d
2022-10-20 16:00:12 -04:00
burnettk f7557c48e9 Merge commit '4a48d9cccd1ca8619b3dbef3c10bcce667c9d9e0' 2022-10-20 16:00:12 -04:00
burnettk 172efa89cc remove dependencies 2022-10-20 15:59:58 -04:00
burnettk c661100e03 Squashed 'spiffworkflow-backend/' changes from af8dd9e2d..f9c2fa21e
f9c2fa21e lint
287d10494 only do startswith when it is a string
80c5357b9 lint

git-subtree-dir: spiffworkflow-backend
git-subtree-split: f9c2fa21ec0e68c5deb240be17aed347ba4867cd
2022-10-20 07:19:24 -04:00
burnettk dce7ad5080 Merge commit 'c661100e03eef762cb51b02be1b309ec47be7002' 2022-10-20 07:19:24 -04:00
burnettk 7e2b7664d0 new script 2022-10-20 07:19:18 -04:00
burnettk d10a1543f0 Squashed 'flask-bpmn/' changes from 6e1411dd1..bd4b45a84
bd4b45a84 update libs

git-subtree-dir: flask-bpmn
git-subtree-split: bd4b45a842ed63a29e74ff02ea7f2a56d7b2298a
2022-10-19 19:33:01 -04:00
burnettk 57ce0f13b9 Merge commit 'd10a1543f012f2e8e49a3a606423afe106397a6b' 2022-10-19 19:33:01 -04:00
burnettk 4fdb0f3ec4 Squashed 'spiffworkflow-backend/' changes from 22bc66758..af8dd9e2d
af8dd9e2d Merge branch 'main' of github.com:sartography/spiffworkflow-backend into main
2f40b0d7f Post, Not Get -- to the connector proxy Allow insane large task data in the database

git-subtree-dir: spiffworkflow-backend
git-subtree-split: af8dd9e2d6cd116034e1df3b00e4c7186ffe7dba
2022-10-19 19:32:59 -04:00
burnettk c6c196812b Merge commit '4fdb0f3ec4b3b6a68cc2e56ed84ffb6dc2743068' 2022-10-19 19:32:59 -04:00
burnettk 5adbec7e67 Squashed 'spiffworkflow-frontend/' changes from 6f8e41848..b00008779
b00008779 update bpmn-js

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: b00008779005693812050c9c78e396e9f1a6447d
2022-10-19 16:48:28 -04:00
burnettk a37236563d Merge commit '5adbec7e67d36fd582fc01da083e531ff0925b9e' 2022-10-19 16:48:28 -04:00
jasquat bb86175687 Squashed 'bpmn-js-spiffworkflow/' changes from b3eef6e52..9c0da0240
9c0da0240 Merge pull request #21 from sartography/bug/data_objects
6fe36aeb0 Minor fixes.
d21cb75fb Assure we aren't setting the properties on every service task to the same thing.
f28a3f89e Deleting any data object reference caused the associated data object to get deleted. Fixes this so that only if you delete all references, wii the data object be removed. Also assures that a new data object is not created when adding to a participant in a collaboration (an edge case bug(.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 9c0da02406ecbc51cfd7fd1ed1f2f311101d9987
2022-10-19 16:16:54 -04:00
jasquat b0a0eedd23 Merge commit 'bb86175687658b8c4d0042eef5439ba75b49d5c2' 2022-10-19 16:16:54 -04:00
jasquat 81746ee508 Squashed 'spiffworkflow-backend/' changes from 6c573bb64..22bc66758
22bc66758 allow request to be 8k w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 22bc66758576b8b8d51348eddd64c56c77d54388
2022-10-19 16:16:50 -04:00
jasquat df4aba86c0 Merge commit '81746ee508f6ab0ffe757856d9a3d5d855db2560' 2022-10-19 16:16:50 -04:00
jasquat c2631ee045 set auto edit to no w/ burnettk 2022-10-19 16:16:43 -04:00