Commit Graph

60 Commits

Author SHA1 Message Date
jasquat 23f0b12e9a Squashed 'spiffworkflow-backend/' changes from b8924100d..64ac70428
64ac70428 Move to Python 3.11 (#27)
167851df1 remove leading slash from model identifiers
3503fe400 one instance test left for cypress w/ burnettk
7e09363c4 merged in main and resolved conflicts w/ burnettk cullerton
afbc3157d fixed some acceptance tests w/ burnettk cullerton
96e7b63c6 made a process model form w/ burnettk
c19aac25f Somethings up w/authentication. Maybe the stored token is bad
d17007eaa Merge branch 'main' into feature/nested-groups
729b13881 script to modify all model json files to use full path for model id. Also removes process_group_id
7856b8caa return next task when running an instance w/ burnettk
d183b961c First pass at custom report/perspective for Process Instance List (#23)
f303c0f77 remove process_group_identifier from process-instances endpoint
207de9ab8 Merge branch 'main' into feature/nested-groups
fec8d06b8 started test for test_script_unit_test_run
ea31c7a12 fixed process_model_identifier in script_unit_test_create
5d058cbea Fix url in test
f8afd7bdd Remove the `_2` methods
7c13ec802 Fix urls for uspend and resume endpoints
19158d7b0 Get testing bpmn files out of the config directory
5f1ee7f16 fixed failing test
de3b4b81d Merge branch 'main' into feature/nested-groups
440871d57 First stab at nested folders. Added temp endpoints Changes to tests and test helpers
1bd6a199f Don't need parent. Just use the whole path for the group id
a2ab420b2 Committing so Jon can view code

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 64ac7042887af80869963bc103c01f56404727f2
2022-11-09 15:02:19 -05:00
Dan 39f9dcba4d Squashed 'spiffworkflow-backend/' changes from c354b846c..b8924100d
b8924100d Merge pull request #165 from sartography/feature/more_launch_buttons_and_dropdowns
eae9d4e37 Merge remote-tracking branch 'origin/main' into feature/more_launch_buttons_and_dropdowns
704ce5709 pyl is passing
98e1776ed When returning the list of files in a ProcessModel, include all the ways they can be referenced, for instance, json files, can be referened by file name,  bpmn files can be referened by one more process ids, and DMN's files can be referenced by one or more decision ids.  This information is now included in the reference.

git-subtree-dir: spiffworkflow-backend
git-subtree-split: b8924100d01276e3f282dbe939df74ebabdad625
2022-11-07 14:35:45 -05:00
burnettk 12cc510fe9 Squashed 'spiffworkflow-backend/' changes from 5c6601237e..c354b846ca
c354b846ca Merge remote-tracking branch 'origin/main' into feature/carbon_ui
ad13a41127 pyl is passing w/ burnettk
2366b93b73 Merge commit 'a0b923c9ad98d07d3cf46dca689a01b13d41aa02'
bdc8121211 some more updates for group forms w/ burnettk
8483b98788 ergeremote-tracking branch 'origin/main' into feature/carbon_ui
623144aad2 add date ranges for process instances search w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: c354b846cab6ac27d117ce9c10f9f56aec35df75
2022-11-04 18:35:44 -04:00
burnettk a0b923c9ad Squashed 'spiffworkflow-backend/' changes from dba09086ba..5c6601237e
5c6601237e upgrade spiff and add commented out assertion
150cb68824 Change steps when viewing a process instance model (#18)
beac7f40c4 prevent backfill from exploding when a primary file name on another model does not exist
3e6b61911e work around parser.get_process_dependencies returning a set containing the element None
65c343337d Point back to spiff main (#19)
7eafd5c994 Track spiff step details more granularly (#17)
85829dd56d Clear the remaining __init__.py imports in SpiffWorkflow (#14)
c3468ca548 From the logs, allow viewing a diagram in a previous state (#15)

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 5c6601237ebdccf864b23dac74bf3e1ca77ead1e
2022-11-04 09:33:44 -04:00
jasquat 95d9dbf036 Squashed 'spiffworkflow-backend/' changes from 400fa583f..dba09086b
dba09086b Merge pull request #164 from sartography/feature/remove_unused_tables
6baaf092b fixed group test w/ burnettk
d55298517 update SpiffWorkflow w/ burnettk
10fee6d84 Merge remote-tracking branch 'origin/main' into feature/remove_unused_tables
a2d4604ca pyl passes w/ burnettk
b7aee0549 removed tables for file, admin_session, task_event, and data_store w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: dba09086ba6e2ef090998a22a086a633e6c13694
2022-11-02 14:17:16 -04:00
burnettk f143cde0ab Squashed 'spiffworkflow-backend/' changes from 9259cb4f0..400fa583f
400fa583f SpiffWorkflow cold start improvements (#13)

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 400fa583f3269675d8a86dd37b0b3d8561501e9c
2022-11-02 12:19:53 -04:00
jasquat 45a0dfbd02 Squashed 'spiffworkflow-backend/' changes from 9e3112960..9259cb4f0
9259cb4f0 updated backend to send instructions for user tasks through jinja as well w/ burnettk danfunk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 9259cb4f0a7bfa2b1b29f8339da3690f468a5ab4
2022-10-31 17:19:05 -04:00
burnettk 1846179eca Squashed 'spiffworkflow-backend/' changes from 1591ba436..9e3112960
9e3112960 added script to get the frontend url w/ burnettk
c44a11c63 Update get_group_members.py
00fe96cd6 added script to get the group members w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 9e3112960cf05d373f3573b00b4337c2d610c3a3
2022-10-31 14:09:43 -04:00
burnettk 5f2eab770c Squashed 'spiffworkflow-backend/' changes from 5242b7693..1591ba436
1591ba436 black
e0c09896d re-order imports the way backend always used to

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 1591ba436dab5e1db2b37553de38be12ffdb705f
2022-10-31 09:28:03 -04:00
burnettk ca967a2476 Squashed 'spiffworkflow-backend/' changes from 32e0c6c1a..5242b7693
5242b7693 added script to get the process info and do not set error message when a task fails from the frontend w/ burnettk
e144104f1 Merge commit 'e958ec3e79cb99940a38c29eddfc2b385af7d49f'
5e431a2a5 Merge commit 'c24cc56fb00e07f6cfe16840c65471443b120daf'

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 5242b7693eeef68bd48e0ac7c9e8c27b85d9d28a
2022-10-28 16:51:40 -04:00
burnettk e958ec3e79 Squashed 'spiffworkflow-backend/' changes from 4d7e5e531..32e0c6c1a
32e0c6c1a use script dir so you can run this script from anywhere

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 32e0c6c1a18e8d188bd4d6023354640ca008721a
2022-10-28 13:42:21 -04:00
burnettk c24cc56fb0 Squashed 'spiffworkflow-backend/' changes from 0de4c06d0..4d7e5e531
4d7e5e531 we will set these at runtime
39c9e8785 templated SPIFF_SUBDOMAIN for keycloak
1a51f9091 update flask-bpmn
354e6edb1 Merge pull request #8 from sartography/feature/clean_up_sentry_errors
0c11a0b75 pyl passes w/ burnettk
9c57a876e avoid sending two errors to sentry w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 4d7e5e53185431b113eb7c038b687134499422c8
2022-10-27 22:03:49 -04:00
burnettk 47cc0f2b2f Squashed 'spiffworkflow-backend/' changes from 2136643f5..0de4c06d0
0de4c06d0 update spiff

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 0de4c06d0c73545ddf5977e8ad6e74fb0456aec8
2022-10-27 15:15:04 -04:00
Dan 88390f766b Squashed 'spiffworkflow-backend/' changes from e7af92d97..2136643f5
2136643f5 bumping spiffworkflow version to fix data-object issue.
5624fb8d7 update spiff

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 2136643f5023072aa4b839c795892855c549d3a0
2022-10-27 14:57:27 -04:00
jasquat b9d7ded29b Squashed 'spiffworkflow-backend/' changes from 7c01d37f5..e7af92d97
e7af92d97 pyl w/ burnettk
a57134009 updated development perm yml to work with mvp process model w/ burnettk
496c13120 Merge pull request #163 from sartography/feature/fewer-sentry-traces
1f5e1638c Merge pull request #162 from sartography/feature/support-wildcard-envs
c9c7f9d6f fewer sentry traces
3b3315857 lint
c8d2b64ce wildcard environment support

git-subtree-dir: spiffworkflow-backend
git-subtree-split: e7af92d979fbb7f90ba662f012baa17422146cd1
2022-10-27 10:50:50 -04:00
burnettk b1722ee29d Squashed 'spiffworkflow-backend/' changes from 1b7c530a9..7c01d37f5
7c01d37f5 bump spiff

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 7c01d37f50b0218df480e7bab328fcb483daa168
2022-10-26 16:24:48 -04:00
burnettk 00dc4e149d Squashed 'spiffworkflow-backend/' changes from 4f71a03e3..1b7c530a9
1b7c530a9 added some debug code for Processor failed to obtain task error w/ burnettk
cf5bbf0e7 Merge commit 'ec431349e8b5cc2e8aa1ee1799bcb768fd3116c3'
dfaa699f9 Merge pull request #7 from sartography/feature/get-local-time
3e1d6773e mypy
3471ab792 Added `get_localtime` script Added test for new script, with test process

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 1b7c530a9ab2335a4a7b7efd1026464b333311aa
2022-10-26 13:42:08 -04:00
burnettk ec431349e8 Squashed 'spiffworkflow-backend/' changes from 6d0e92d7f..4f71a03e3
4f71a03e3 lint

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 4f71a03e3d9a2d1d3a36f26c13515dc5bde9b42c
2022-10-26 13:40:37 -04:00
burnettk 40d3199480 Squashed 'spiffworkflow-backend/' changes from 7f1776b5..6d0e92d7
6d0e92d7 log

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 6d0e92d7f4c4587cc19816a72b0cfdf77394c044
2022-10-25 17:53:28 -04:00
burnettk d7e8533061 Squashed 'spiffworkflow-backend/' changes from ab9b5f36..7f1776b5
7f1776b5 Merge pull request #161 from sartography/feature/potential_owners_from_task_data
d19477e3 test removing an approver from a list while user lane_owners dict w/ burnettk
2f333204 resolved merge conflicts w/ burnettk
6b9c248b Merge remote-tracking branch 'origin/main' into feature/potential_owners_from_task_data
24a96ccd WIP: deleting user after approval w/ burnettk
8659f212 pyl now passes w/ burnettk
e9ef5bfe Merge remote-tracking branch 'origin/main' into feature/potential_owners_from_task_data
56f8d734 added some support to get the potential task owners from task data w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 7f1776b5b7f11ae6c02ef435200b0ba87219d7d2
2022-10-25 17:38:59 -04:00
jasquat e228ab4b80 Squashed 'spiffworkflow-backend/' changes from 1092ed111..ab9b5f368
ab9b5f368 Merge pull request #157 from sartography/feature/background_or_not_scheduler
ba002f8a4 do not preload gunicorn w/ burnettk
8516154cf pyl now passes w/ burnettk
dd0566b1a added script to start scheduler in its own process w/ burnettk danfunk
7d66f922f rename environment variable to something sensible.

git-subtree-dir: spiffworkflow-backend
git-subtree-split: ab9b5f368a0b954370e43936a88b2ce9b83dc4cc
2022-10-25 16:55:11 -04:00
burnettk 1f25521506 Squashed 'spiffworkflow-backend/' changes from 153061d4..1092ed11
1092ed11 Merge branch 'main' of github.com:sartography/spiffworkflow-backend into main
97b96fa9 Merge commit '999e0f4d2b7a3c3665feb806fd4f00dc50f2de8e'
4d2ebbe2 Refresh token (#6)
2c47d862 Revert "Assure that the Active Task Users table is cleared out before deleting the Active Task Record."
6c1660a3 Merge commit 'eff49e1ddb2e70d62e45866b429a1350443107d0' into main
f7949ada Merge commit 'ac929cbae7717affed5fa357a56cf1a0256289d5' into main
b70804ea Merge commit '65283df3cbfe95c6cd0d69e1cc0204d91c5d535b'
5b9ad7a7 Merge commit 'a59108db95274bef304cbd9246537206d0b449cf'
038c8e68 Merge commit '835160e5a82c7e0518fa25ed7fa1168c9c435739'
aae7966b Merge commit 'a1cce807be1c4ac5f04c42d780df06c216a0de9c'
8527c6be Merge commit '7026fe1f779051f6eb99b872bcd45b14c0cbe88f'
1aa9a8da Merge commit '70480e9f91a1053531ea5db32a13a791c39fd89f'
40383711 Merge commit '9a1e33696a744527a18dbec667140edb4038ac94'
2c7b2e28 Merge commit 'd643de93e5ceaae28a6e65044cc85dd039530d2c'
e5e70161 Merge commit '2b702661f3bd9b79de887e82e5a5925d07341eb6'
b0b92474 updateing poetry lock file.
e5fd3df1 Merge commit 'f0b608789b6cdc3ef4303efac053746c98571a48'
dfe4e3e1 Merge commit 'c5a2f8b16c9a614b944a6e4610594eba1dac7b9f' into main
78dcaec3 pointless change

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 1092ed11187d1b825fa1c5e18f0d96592f0b98e7
2022-10-25 16:54:06 -04:00
Jon Herron 999e0f4d2b Squashed 'spiffworkflow-backend/' changes from 1e338f955..153061d41
153061d41 Merge branch 'main' of github.com:sartography/spiffworkflow-backend into main
3724ef7f9 Assure that the Active Task Users table is cleared out before deleting the Active Task Record. We were depending on a cascade here, which seems to fail randomly -- apparently due to some sort of race condition.
137ebbc4b Merge branch 'main' of github.com:sartography/spiffworkflow-backend
f8f38f813 pyl - prettier maybe?
02fe90969 Merge branch 'main' into feature/edit-task-data
ca7d7d9b3 Merge branch 'main' into feature/edit-task-data
c38efe2bd w/Jon Api endpoint to update task data
15b99bf90 mypy

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 153061d413afc5d7ed0c9cec25b292393585f757
2022-10-25 14:20:02 -04:00
Dan eff49e1ddb Squashed 'spiffworkflow-backend/' changes from e748b1804..1e338f955
1e338f955 Another error with the error message.

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 1e338f955acaf1c0c3e7d16c56c800f634638d9d
2022-10-25 11:53:09 -04:00
Dan ac929cbae7 Squashed 'spiffworkflow-backend/' changes from 3c677c751..e748b1804
e748b1804 quick patch so I can see the error message.
94908a9b9 Merge pull request #155 from sartography/dependabot/pip/flake8-bugbear-22.10.25
d7ba33c03 Bump flake8-bugbear from 22.9.23 to 22.10.25
bf9db9521 Merge pull request #154 from sartography/dependabot/pip/reorder-python-imports-3.9.0
4a2b12efc Bump reorder-python-imports from 3.8.5 to 3.9.0

git-subtree-dir: spiffworkflow-backend
git-subtree-split: e748b18047e611fb635da89dad563548fff7e00f
2022-10-25 11:25:20 -04:00
burnettk 65283df3cb Squashed 'spiffworkflow-backend/' changes from 952a1af5a..3c677c751
3c677c751 update sphinx-autoapi

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 3c677c751b84ff8ddd1372b4b01c15fe7e10e0f1
2022-10-24 22:35:36 -04:00
burnettk a59108db95 Squashed 'spiffworkflow-backend/' changes from 68ea8bce3..952a1af5a
952a1af5a try upgrade

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 952a1af5a81defc95effd57d198848b134392f91
2022-10-24 18:20:10 -04:00
burnettk 835160e5a8 Squashed 'spiffworkflow-backend/' changes from 090b84fd..68ea8bce
68ea8bce working version

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 68ea8bce3f01dbfe4991c366761f8d7e07788b3c
2022-10-24 18:14:53 -04:00
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 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 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 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 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
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 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