Commit Graph

26 Commits

Author SHA1 Message Date
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
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 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
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
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 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 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
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
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 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 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
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
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 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 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 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 9be0517531 Squashed 'spiffworkflow-backend/' changes from 248e79441..47554b073
47554b073 updated keycloak to accept demo.spiffworkflow url w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 47554b0739ffa633da4424624d5a045071bbb9c3
2022-10-17 17:09:47 -04:00
burnettk a1a01ad25a Squashed 'spiffworkflow-backend/' changes from 2148c39fc..248e79441
248e79441 added environment to sentry configs w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 248e79441f11d9a3d27a5b9777743de1d3bfedb9
2022-10-17 11:18:12 -04:00
burnettk bee232a55a Squashed 'spiffworkflow-backend/' changes from 593f33ca5..2148c39fc
2148c39fc no user input, please

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 2148c39fcaa217f3c46d64f25171ac05ed25fe90
2022-10-17 10:20:35 -04:00
burnettk 71e189afbc Squashed 'spiffworkflow-backend/' changes from 3fff3539..593f33ca
593f33ca wait for db to be ready option
706094a8 demo env and no ssl for spiff realm on that env

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 593f33ca52ffb049fefd529c3a6bc011cb62e950
2022-10-16 22:32:16 -04:00
jasquat f21d0ef3a9 Squashed 'spiffworkflow-backend/' changes from 59e6ee2c..3fff3539
3fff3539 added configs for demo env w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 3fff3539fb5685ea68a26cba1a6a3b58af014c37
2022-10-14 16:43:34 -04:00
Jon Herron 93dbce681e Squashed 'spiffworkflow-backend/' changes from eb89e9529..59e6ee2c8
59e6ee2c8 Merge pull request #136 from sartography/dependabot/github_actions/actions/cache-3.0.11
88c61c83b Bump actions/cache from 3.0.10 to 3.0.11
344f8045b Merge branch 'feature/secrets'
08f112aa5 remove unused import
326c88cd6 lint
516ee5fcd Remove allowed process stuff from secrets
85808cb6b Merge branch 'main' into feature/secrets
6da486fd9 Merge branch 'main' into feature/secrets
8fb5c8612 add environ
1500e234a update staging configs
a1f50f09c lint
f0111adb8 Merge remote-tracking branch 'origin/main' into feature/secrets
453c4b1e2 add get and update for allowed process paths
35dd02d1c Merge branch 'main' into feature/secrets
f3166cc8a Merge branch 'main' into feature/secrets
c2d67c008 pre commit
11a24368b mypy
ff56ed068 Use secret key when adding allowed process model
1b25d08a3 poetry update

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 59e6ee2c8baeee516c04a814365b59698dbc61d1
2022-10-13 20:45:04 -04:00
Jon Herron 48918b0042 Squashed 'spiffworkflow-backend/' changes from 10c443a2..eb89e952
eb89e952 Some changes from Dan (#133)

git-subtree-dir: spiffworkflow-backend
git-subtree-split: eb89e95297e2b976b0e49f9d0c03f5ccced3d5c3
2022-10-12 15:59:48 -04:00
Jon Herron 492681e5de Squashed 'spiffworkflow-backend/' changes from 03bf7a61..10c443a2
10c443a2 Merge pull request #130 from sartography/feature/data
71c803aa allow passing in the log level into the app w/ burnettk
daeb82d9 Merge pull request #126 from sartography/dependabot/pip/typing-extensions-4.4.0
14c8f52c Merge pull request #123 from sartography/dependabot/pip/dot-github/workflows/poetry-1.2.2
92d204e6 Merge remote-tracking branch 'origin/main' into feature/data
1cb77901 run the save all bpmn script on server boot w/ burnettk
16a6f476 Bump typing-extensions from 4.3.0 to 4.4.0
d8ac61fc Bump poetry from 1.2.1 to 1.2.2 in /.github/workflows
3be27786 Merge pull request #131 from sartography/feature/permissions2
1fd8fc78 Merge remote-tracking branch 'origin/main' into feature/permissions2
d29621ae data setup on app boot
0b21a5d4 refactor bin/save_all_bpmn.py into service code
02fb9d61 lint
c95db461 refactor scripts
98628fc2 This caused a problem with scopes when token timed out.
d8b2323b merged in main and resolved conflicts
d01b4fc7 updated sentry-sdk to resolve deprecation warnings
5851ddf5 update for mypy in python 3.9
508f9900 merged in main and resolved conflicts
68d69978 precommit w/ burnettk
85a4ee16 removed debug print statements w/ burnettk
93eb91f4 added keycloak configs and user perms for staging w/ burnettk
e4ded8fc added method to import permissions from yml file w/ burnettk
22ba89ae use percents instead of asterisks to better support db syntax w/ burnettk
0c116ae8 postgres does not use backticks w/ burnettk
621ad3ef attempting to see if sql like statement works in other dbs as well w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 10c443a2d82752e8ed9d1679afe6409d81029006
2022-10-12 15:28:52 -04:00
burnettk 1aea5356de Squashed 'spiffworkflow-backend/' changes from 50f28073..03bf7a61
03bf7a61 this is supposed to be optional

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 03bf7a61da5e4069f93e6e692b8bb8aa8bc14339
2022-10-12 11:08:08 -04:00
Jon Herron 883e65384f Squashed 'spiffworkflow-backend/' content from commit 50f28073
git-subtree-dir: spiffworkflow-backend
git-subtree-split: 50f28073add91265f00826bd175c8b2fff76cdc5
2022-10-12 10:22:22 -04:00