Commit Graph

3349 Commits

Author SHA1 Message Date
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
burnettk 2a5690772a Squashed 'spiffworkflow-frontend/' changes from 7f1f0b359..6f8e41848
6f8e41848 do not send invalid model keys to the backend w/ burnettk

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: 6f8e418481edb3cd0c0e1a1947f6fba3f863e893
2022-10-19 15:25:27 -04:00
burnettk 0d9aabcee4 Merge commit '2a5690772af8fcd121b257dd0b0ba606c57be47a' 2022-10-19 15:25:27 -04:00
burnettk 8f8b471799 Squashed 'spiffworkflow-backend/' changes from 72049c004..6c573bb64
6c573bb64 remove standlone from api yaml since it is no longer used w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 6c573bb645541ea06b177ab1ab01c9be95106109
2022-10-19 15:25:23 -04:00
burnettk fbb7e77144 Merge commit '8f8b4717990eb86c6bfd2f309ef064152c51b452' 2022-10-19 15:25:23 -04:00
burnettk 018f6d491d Merge branch 'main' of github.com:sartography/spiff-arena 2022-10-19 15:18:40 -04:00
burnettk 9d0278add0 Squashed 'flask-bpmn/' changes from 5edb83f66..6e1411dd1
6e1411dd1 log the exception before returning the response

git-subtree-dir: flask-bpmn
git-subtree-split: 6e1411dd134955a829bb9f3d59b4af121907cd35
2022-10-19 15:17:22 -04:00
burnettk 88061c9fde Merge commit '9d0278add0e9d0b4c4d853a112d47d9562d48a7e' 2022-10-19 15:17:22 -04:00
burnettk f930f96d1b Squashed 'spiffworkflow-frontend/' changes from bf2d2a224..7f1f0b359
7f1f0b359 Merge branch 'main' of github.com:sartography/spiffworkflow-frontend
03499ae0c add the redirect url back into the call to connector proxy
c0199ebf2 Merge pull request #91 from sartography/bugfix/style-of-date-selection
96880aee2 comment
63c24e024 Json Web Form CSS Fix - Bootsrtrap now requires that each li have a "list-inline-item", also have a PR  in on this with the react-jsonschema-form.

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: 7f1f0b3596b567d705b159b1df975113b75a2825
2022-10-19 15:17:20 -04:00
burnettk aa4d7d75d4 Merge commit 'f930f96d1b389e239d05e865afe4db339cb49cbf' 2022-10-19 15:17:20 -04:00
burnettk a166df8303 Squashed 'spiffworkflow-backend/' changes from 57ba8e0c8..72049c004
72049c004 added authentication callback endpoint. w/ burnettk, cullerton, jbirddog
1902b785d updated flask-bpmn w/ burnettk cullerton

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 72049c00413ab9aa7d4c65b77247583654c06488
2022-10-19 15:17:17 -04:00
burnettk 35e94ad968 Merge commit 'a166df83031cb88d223e5c75ae8db8c896622821' 2022-10-19 15:17:17 -04:00
jasquat ce8e0584c9 Merge commit '106e2ca7214aec4dba965ccb3f94b0658acaa2b2' 2022-10-19 10:43:46 -04:00
jasquat 106e2ca721 Squashed 'spiffworkflow-backend/' changes from 57ba8e0c8..1902b785d
1902b785d updated flask-bpmn w/ burnettk cullerton

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 1902b785d95112b8c5807e8514010022952b1a85
2022-10-19 10:43:46 -04:00
burnettk 6423633c91 Squashed 'flask-bpmn/' changes from 42cebab51..5edb83f66
5edb83f66 require spiffworkflow git main for dev w/ burnettk

git-subtree-dir: flask-bpmn
git-subtree-split: 5edb83f662a6da2c8ce0dea8992ef8602218828f
2022-10-19 10:31:39 -04:00
burnettk 1db9ec2969 Merge commit '6423633c91aa649461a89ffe687e0be41b455c02' 2022-10-19 10:31:39 -04:00
burnettk 9781908243 Squashed 'spiffworkflow-backend/' changes from d0336039c..57ba8e0c8
57ba8e0c8 also set up the config for hacked app w/ burnettk
045fe9c93 configure sentry in hacked up app w/ burnettk
fd1a273d3 save process instance even it fails w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 57ba8e0c8205cb049d3f93c21f73be96232dda93
2022-10-19 10:31:35 -04:00
burnettk d108c79d26 Merge commit '9781908243408ed221f2b0131a00b8a9612f81f3' 2022-10-19 10:31:35 -04:00
burnettk 6524778a76 Squashed 'SpiffWorkflow/' changes from d9fcd45a3..a094adad8
a094adad8 Prep for release 1.2.1 - Minor fix for a dependency in Python 3.10
b9e3dd80e Merge pull request #253 from sartography/feature/avoid_importlib_for_python_3.8_up
df311639c do not install importlib-metadata if greater than python 3.7 w/ burnettk

git-subtree-dir: SpiffWorkflow
git-subtree-split: a094adad8767f82e9c5fa806a46597e066252a72
2022-10-19 10:31:33 -04:00
burnettk 73b7380141 Merge commit '6524778a763e7e1579a907288ee958c688a7524f' 2022-10-19 10:31:33 -04:00
jasquat fe10fdbe52 Squashed 'flask-bpmn/' changes from f3fc5394..42cebab5
42cebab5 send the sentry link for unknown exceptions w/ burnettk

git-subtree-dir: flask-bpmn
git-subtree-split: 42cebab51fe469ab9dcb45672917d34c1f30987a
2022-10-18 16:41:16 -04:00
jasquat 1727349860 Merge commit 'fe10fdbe523143fe9f80adf66db5523d4ef9ee24' 2022-10-18 16:41:16 -04:00
jasquat 75729ba3df Squashed 'spiffworkflow-frontend/' changes from 790d267b..bf2d2a22
bf2d2a22 added authentication table w/ burnettk
d9d8f364 added an authentications route and updated error message to show sentry links w/ burnettk

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: bf2d2a22430da355be261d864e3b507866deafdf
2022-10-18 16:41:13 -04:00
jasquat b0cb6bb435 Merge commit '75729ba3df3a8e1eccbae237d96efa7f17f72b26' 2022-10-18 16:41:13 -04:00
jasquat 64e7049c9a Squashed 'spiffworkflow-backend/' changes from ffb6d366..d0336039
d0336039 added api endpoint to get the auth list from connector proxy w/ burnettk
ca13f0ca Merge pull request #142 from sartography/bugfix/clean_up_non_existant_workflow_types_and_libraries
304ee66b lint
935c883b migration.
1f99264c Remove all references to the MasterWorkflow, standalone workflows, and libraries, as these concepts should no longer exist.
a7a83a97 Merge branch 'main' of github.com:sartography/spiffworkflow-backend
6ce1cdb0 updated flask-bpmn for new ApiError. w/ burnettk
796735e8 Merge pull request #141 from sartography/bugfix/allow-strptime-in-scripts
5e13a239 Remove the "master_spec"
7e52204f fix bs issue
8cc59eb3 add strptime to script engine

git-subtree-dir: spiffworkflow-backend
git-subtree-split: d0336039c556bf5f19f8db2f32d9b37228e9f057
2022-10-18 16:41:10 -04:00
jasquat 1bc549f3df Merge commit '64e7049c9a0a4360101a155a41ce64ae692acd3c' 2022-10-18 16:41:10 -04:00
burnettk aa22f4b397 Squashed 'spiffworkflow-backend/' changes from 2fbc6777b..ffb6d366f
ffb6d366f added natalia to keycloak configs w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: ffb6d366f932ccfebad337fd4ca36ff3ba445413
2022-10-18 10:22:31 -04:00
burnettk 004378369a Merge commit 'aa22f4b397a899fa06d06c2e9127ca98d9eb909a' 2022-10-18 10:22:31 -04:00
burnettk 4f0f5b1ece Squashed 'spiffworkflow-backend/' changes from 823e32eb8..2fbc6777b
2fbc6777b filter out NotFound from our sentry alerts and fix a bunch of typing things

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 2fbc6777bd70959113a912f47af1ef7ee87c3441
2022-10-18 07:09:34 -04:00
burnettk 37decafb7d Merge commit '4f0f5b1ece069ec56f8eb4154d61334a321749a1' 2022-10-18 07:09:34 -04:00
burnettk b497566043 Squashed 'spiffworkflow-backend/' changes from 1965bfe2d..823e32eb8
823e32eb8 smash all containers
bad7513c3 keycloak docker build for prod image

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 823e32eb8eaa88a2b2eab9aa8ef2f3e52edea9e7
2022-10-17 21:35:30 -04:00
burnettk 030f315d03 Merge commit 'b4975660431c275ce736e0431b98c39548200af1' 2022-10-17 21:35:30 -04:00
burnettk c9bd622504 Squashed 'spiffworkflow-backend/' changes from 47554b073..1965bfe2d
1965bfe2d use ssl

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 1965bfe2d907f8f518810af7b658298068ae863b
2022-10-17 17:36:41 -04:00
burnettk bf4e933821 Merge commit 'c9bd62250452403550ae1bf1d27547d4796dd316' 2022-10-17 17:36:41 -04:00