52fad891c update spiff
3e21b7e2e Support reporting on task data (#47)
915fde676 Merge pull request #43 from sartography/send_filters
5c4e633bb Searching for call activities seems to be working now. I had the clear_caches in the wrong place previously - fixing.
fa4c8cfbf Pre-pr cleanup
59c71401d Get ./bin/pyl to pass
66e8ad455 Fix status not being a list
62da25810 Add flag to indicate if user filtered
5cb7dce9d It's good to clear out he cache, but we can't do that with correlation properties due to foreign key constraints that are built up over time. So we'll just leave bad messages and correlations in the database for now -- we aren't doing a lot with messages yet anyway.
55020ed38 Merge branch 'main' of github.com:sartography/spiff-arena into send_filters
3334c7f9d update spiff
93526b03e pyl w/ burnettk cullerton
073ffb2ad added development permission for test user w/ burnettk cullerton
53a3f4c97 added some permissions for tasks
7415710d5 fixed broken test w/ burnettk
f648f3999 pyl w/ burnettk
b7ee3d24b added some permissions to the process model show page w/ burnettk
a77ee31b4 Merge pull request #39 from sartography/feature/call_activity_selection
324f58d3f need to filter on process here, or a DMN with the same name will obscure the BPMN.
4ed558470 use id_for_file_path when using the process model id as a path for windows and added some more permission stuff to the frontend w/ burnettk
5d06af147 Assure changes to process ids are updated in the cache on a file save, and remove old references that no longer exist. Still some work to do here.
320a9c41a Getting ./bin/pyl to pass
51f02b20c Send filters back to client
167021e23 filters to_dict
ec68bcb24 Merge pull request #38 from sartography/feature/call_activity_selection
71b4f65b9 pyl
866c3699e Merge process_instance_list query filters with report filters (#37)
ed9936bfe Fixing a bug in SpiffWorkflow (new version in poetry.lock) fixing a test
89c17b7aa Fixing a bug in SpiffWorkflow (new version in poetry.lock) Don't explode when back-filling process models and hitting and error Assure processes are executable when setting them as the default primary process. The SpecReferenceCache now uses a unique constraint across two fields. (requires a new db)
18f45e90f added permission service to frontend to allow checking for permissions w/ burnettk
bd37cfefa added configuration nav item to help reduce nav items w/ burnettk
5fcc6fc87 fix mypy typing stuff. w/ jasquat
5008626b1 run_pyl
a3dcae016 Merge remote-tracking branch 'origin/main' into feature/call_activity_selection
2df8dd32d A little quick code cleanup.
58b702fa6 Adding a very simple api endpoint that just returns a list of every process known to the system.
a2a0ccac2 Assure that the list of cached Spec References includes all Process Instances and DMNs (even those that are not primary)
5dcdc225a fixed failing tests w/ burnettk
c121361d7 more refactoring for process instance list w/ burnettk
9bfb0f9e8 refactored pagination table to allow prefixing page options w/ burnettk
b03d531ab Mostly a name change from BpmnProcessIdLookup to SpecReferenceCache. I landed on this unfortunate name because:
f7698c0ed use the same file path method in spec file service w/ burnettk
2482827c4 some fixes for windows and python 3.9 w/ burnettk
822c40525 merged in main and resolved pyl issues w/ burnettk
1cdf2af95 Merge remote-tracking branch 'origin/main' into feature/task_page
66b994efd added remaining task tables w/ burnettk
b7b6a97df work in spiff is approved and merged, updating dependency
37d9f7cc6 pyl w/ burnettk
d96aaa846 added message correlations to message instance list api call w/ burnettk
828e41c4d Adding a display name to the BPMN Process ID Lookup Table Removing (very nearly, except for script unit tests) all the XML Parsing we were doing, see related PR on SpiffWorkflow Moved the Custom Parser into its own file to solve some circular import issues
53d5a7b44 Merge branch 'main' into feature/call_activity_selection
5161fb6e7 Merge branch 'main' of github.com:sartography/spiff-arena into main
a2a203e8c add a search button to the call activity to allow finding a process id through some sort of admin interface.
430c03a58 noop, testing pre-commit hook.
git-subtree-dir: spiffworkflow-backend
git-subtree-split: 52fad891c58132ec8b64f56ac814409bb9e4ea4f
55f5c8113e arena github actions
a06427482b reduce matrix
f5f88926a6 debug
23fbe1b2e9 lint and mypy
30ee07700f Merge remote-tracking branch 'origin/main' into feature/home_page_redesign
bd38d90600 lint
201655fc0f add the username to the task list w/ burnettk
e069906394 merged in main and resolved conflicts w/ burnettk
9135f74a03 added more task tables w/ burnettk
352353e48b store bpmn_file_relative_path using correct slashes w/ burnettk
d02a6610bb underscore unused vars
a9ecaa0431 added tasks for my open processes page w/ burnettk
74af6a4ad1 Merge remote-tracking branch 'origin/main' into feature/home_page_redesign
d5330d6031 Merge remote-tracking branch 'origin/main' into feature/home_page_redesign
37d9ca8dea added home page routes and some tab stuff w/ burnettk
git-subtree-dir: spiffworkflow-backend
git-subtree-split: 55f5c8113e1189888672992d109e80a3d51dfa1a
2cb3fb27e2 pyl
46a590749d pulled in subtrees and resolved conflicts w/ burnettk
1dcad72629 Report URL fixes (#29)
131dbeb3cf oops
c50c85edaf mypy fixes
3735b71e06 removed duplicate code
ba08826c65 modify process_groups_list so it can process any group path, not just the root process_groups_list now takes an optional group path
1e09c95520 renamed and reordered some methods in base_test.py
dfa79360c4 Merge branch 'main' into feature/nested-groups-2
450a8d0757 Delete groups now checks for running instances in nested models also, pyl
c814e991a0 use error as a status instead of faulted w/ burnettk
3211e7a49e fixed up the process instance show page and moved contents of scss to css file and load that last w/ burnettk
git-subtree-dir: spiffworkflow-backend
git-subtree-split: 2cb3fb27e200e211965175914c01f7fd7290aa75
e78e32dcf Merge commit 'a26363d7145eeb5e07eb08ad4018be8a42e2076e'
ec2d4ef66 pass in perm file for acceptance tests w/ burnettk
eb718fd55 Merge branch 'main' into feature/nested-groups-2
1497205b1 Merge branch 'main' into feature/nested-groups-2
caa03e2f8 Fixes for adding nested groups. We pass modified ids to the api, and need to clean them up before calling services.
git-subtree-dir: spiffworkflow-backend
git-subtree-split: e78e32dcf92a141ead5c4c94c542b5af614dce93
a195512fd do not install dev dependencies when building docker image w/ burnettk
git-subtree-dir: spiffworkflow-backend
git-subtree-split: a195512fd94dc57b4b84c5d8fdce40f224650f50
6b54770d1 update greenlet w/ burnettk
aa5cf0ed7 add back in support for python 3.9 and favor 3.11 for tests w/ burnettk
git-subtree-dir: spiffworkflow-backend
git-subtree-split: 6b54770d173f71528974b44ab2555cfcdbb19a32
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
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
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
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
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
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
1591ba436 black
e0c09896d re-order imports the way backend always used to
git-subtree-dir: spiffworkflow-backend
git-subtree-split: 1591ba436dab5e1db2b37553de38be12ffdb705f
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
32e0c6c1a use script dir so you can run this script from anywhere
git-subtree-dir: spiffworkflow-backend
git-subtree-split: 32e0c6c1a18e8d188bd4d6023354640ca008721a
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
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
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
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
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
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
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
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
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
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
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
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
f9c2fa21e lint
287d10494 only do startswith when it is a string
80c5357b9 lint
git-subtree-dir: spiffworkflow-backend
git-subtree-split: f9c2fa21ec0e68c5deb240be17aed347ba4867cd
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