Commit Graph

242 Commits

Author SHA1 Message Date
Dan 1af96ba075 Searching for call activities seems to be working now.
I had the clear_caches in the wrong place previously - fixing.
2022-11-16 16:53:51 -05:00
Jon Herron 06aa679431 Pre-pr cleanup 2022-11-16 16:40:35 -05:00
Jon Herron 5092fc1b53 Get ./bin/pyl to pass 2022-11-16 16:35:38 -05:00
Jon Herron cd70d03e83 Fix status not being a list 2022-11-16 16:34:51 -05:00
Jon Herron 3bace7d59b Add flag to indicate if user filtered 2022-11-16 15:02:33 -05:00
Dan f825b2ec36 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. 2022-11-16 13:52:22 -05:00
Jon Herron 1584f52a18 Merge branch 'main' of github.com:sartography/spiff-arena into send_filters 2022-11-16 13:52:03 -05:00
burnettk 76c671acaf update spiff 2022-11-16 13:21:09 -05:00
jasquat 99d2a92beb pyl w/ burnettk cullerton 2022-11-16 13:00:09 -05:00
jasquat 5ff0dcff69 added development permission for test user w/ burnettk cullerton 2022-11-16 12:57:17 -05:00
jasquat 32cc27d134 added some permissions for tasks 2022-11-16 11:27:10 -05:00
jasquat 21e3786377 fixed broken test w/ burnettk 2022-11-15 17:49:46 -05:00
jasquat 93d9aa845f pyl w/ burnettk 2022-11-15 17:38:37 -05:00
jasquat 56c8c0c633 added some permissions to the process model show page w/ burnettk 2022-11-15 17:35:16 -05:00
Dan Funk c2056071d5
Merge pull request #39 from sartography/feature/call_activity_selection
Feature/call activity selection
2022-11-15 16:23:50 -05:00
Dan 0887c11245 need to filter on process here, or a DMN with the same name will obscure the BPMN. 2022-11-15 16:19:52 -05:00
jasquat a4d6648aa1 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 2022-11-15 16:18:25 -05:00
Dan d68b103116 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.
2022-11-15 16:04:05 -05:00
Jon Herron b54b3dabb2 Getting ./bin/pyl to pass 2022-11-15 15:56:12 -05:00
Jon Herron 5a46cf7fd8 Send filters back to client 2022-11-15 15:52:34 -05:00
Jon Herron 9fac3c2d54 filters to_dict 2022-11-15 15:45:55 -05:00
Dan Funk 7ad891bb6a
Merge pull request #38 from sartography/feature/call_activity_selection
Fixing a bug in SpiffWorkflow (new version in poetry.lock)
2022-11-15 15:06:31 -05:00
jasquat 74accb33ce pyl 2022-11-15 15:06:22 -05:00
jbirddog 3205b85f42
Merge process_instance_list query filters with report filters (#37) 2022-11-15 15:05:37 -05:00
Dan 3a1a25eba9 Fixing a bug in SpiffWorkflow (new version in poetry.lock)
fixing a test
2022-11-15 14:55:00 -05:00
Dan de198940dd 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)
2022-11-15 14:50:41 -05:00
jasquat b62955deaa added permission service to frontend to allow checking for permissions w/ burnettk 2022-11-15 14:40:35 -05:00
jasquat 606c61efa2 added configuration nav item to help reduce nav items w/ burnettk 2022-11-15 11:00:52 -05:00
burnettk 4e8f8c5524 fix mypy typing stuff. w/ jasquat 2022-11-15 10:28:18 -05:00
burnettk fbc15c97fe run_pyl 2022-11-15 10:11:26 -05:00
Dan 2b300d0d4e Merge remote-tracking branch 'origin/main' into feature/call_activity_selection 2022-11-15 09:55:02 -05:00
Dan ff024459ce A little quick code cleanup. 2022-11-14 22:01:38 -05:00
Dan 055824b778 Adding a very simple api endpoint that just returns a list of every process known to the system. 2022-11-14 21:54:13 -05:00
Dan 36f5eef6cc Assure that the list of cached Spec References includes all Process Instances and DMNs (even those that are not primary) 2022-11-14 20:31:20 -05:00
jasquat d319e2a623 fixed failing tests w/ burnettk 2022-11-14 17:38:44 -05:00
jasquat b661c8f3c5 more refactoring for process instance list w/ burnettk 2022-11-14 17:35:04 -05:00
jasquat dfeb0f534a refactored pagination table to allow prefixing page options w/ burnettk 2022-11-14 16:29:04 -05:00
Dan 7d1d72290d Mostly a name change from BpmnProcessIdLookup to SpecReferenceCache. I landed on this unfortunate name because:
1. It's not just processes, it contains the list of all DMN Decisions as well.
2. It is closely linked to the SpecReference object that can be generated by looking through all the Spec files to find the processes and decisions they contain.
3. It is a cache of information, the file system is the source of truth.  Seems likely we will cache more things in the future -- so setting things up this way made sense.
2022-11-14 15:23:37 -05:00
jasquat aa48268f18 use the same file path method in spec file service w/ burnettk 2022-11-14 14:25:27 -05:00
jasquat df9cc2f094 some fixes for windows and python 3.9 w/ burnettk 2022-11-14 13:55:22 -05:00
jasquat a7c4088925 merged in main and resolved pyl issues w/ burnettk 2022-11-14 12:24:23 -05:00
jasquat 79ae7874a0 Merge remote-tracking branch 'origin/main' into feature/task_page 2022-11-14 12:06:43 -05:00
jasquat c01d5e437f added remaining task tables w/ burnettk 2022-11-14 12:06:39 -05:00
Dan 2cdad7d492 work in spiff is approved and merged, updating dependency 2022-11-14 10:40:52 -05:00
jasquat 3cbb4e986a pyl w/ burnettk 2022-11-14 10:17:18 -05:00
jasquat 013cc56367 added message correlations to message instance list api call w/ burnettk 2022-11-14 10:14:00 -05:00
burnettk eb076ae832 arena github actions 2022-11-12 22:41:43 -05:00
burnettk 3b45862b4c reduce matrix 2022-11-12 22:37:36 -05:00
burnettk 1ebee5cb52 debug 2022-11-12 22:29:47 -05:00
burnettk 0ad11dcd2e lint and mypy 2022-11-12 22:07:30 -05:00
Dan 195c609d58 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
2022-11-12 12:36:07 -05:00
burnettk 9b27f5d75c Merge remote-tracking branch 'origin/main' into feature/home_page_redesign 2022-11-11 18:09:03 -05:00
burnettk 0f9855a60e lint 2022-11-11 18:06:47 -05:00
jasquat 7b82334c51 add the username to the task list w/ burnettk 2022-11-11 17:15:38 -05:00
jasquat 1ecf17a5a8 merged in main and resolved conflicts w/ burnettk 2022-11-11 16:33:19 -05:00
jasquat d4e984a5ce added more task tables w/ burnettk 2022-11-11 16:31:48 -05:00
jasquat 229117fc78 store bpmn_file_relative_path using correct slashes w/ burnettk 2022-11-11 14:22:00 -05:00
burnettk 93e5ba6f1b underscore unused vars 2022-11-11 11:44:45 -05:00
burnettk d25c37153a pyl 2022-11-11 11:39:15 -05:00
Dan f10068e599 Merge branch 'main' into feature/call_activity_selection 2022-11-11 11:24:21 -05:00
Dan a6240bf6f2 Merge branch 'main' of github.com:sartography/spiff-arena into main 2022-11-11 11:23:44 -05:00
jasquat 7e97ce674f added tasks for my open processes page w/ burnettk 2022-11-11 11:07:21 -05:00
Dan f5db186866 add a search button to the call activity to allow finding a process id through some sort of admin interface. 2022-11-11 11:02:29 -05:00
jasquat 189895b5f0 Merge remote-tracking branch 'origin/main' into feature/home_page_redesign 2022-11-11 10:40:54 -05:00
jasquat 1c1db5f677 pulled in subtrees and resolved conflicts w/ burnettk 2022-11-11 10:33:51 -05:00
jasquat ae68c937ce Merge remote-tracking branch 'origin/main' into feature/home_page_redesign 2022-11-11 09:31:57 -05:00
Dan c4ab065272 noop, testing pre-commit hook. 2022-11-11 09:27:32 -05:00
jbirddog 3dc70132db
Report URL fixes (#29) 2022-11-11 09:21:30 -05:00
mike cullerton d0491623d4 oops 2022-11-11 08:22:25 -05:00
mike cullerton 4bb37bc51e mypy fixes 2022-11-11 08:18:11 -05:00
mike cullerton 1a6da88504 removed duplicate code 2022-11-11 08:17:50 -05:00
mike cullerton df43eb0b82 modify process_groups_list so it can process any group path, not just the root
process_groups_list now takes an optional group path
2022-11-11 08:05:38 -05:00
mike cullerton 677ffc4130 renamed and reordered some methods in base_test.py 2022-11-11 08:02:35 -05:00
jasquat 140309cabe added home page routes and some tab stuff w/ burnettk 2022-11-10 17:30:27 -05:00
mike cullerton 4cc5845971 Merge branch 'main' into feature/nested-groups-2
# Conflicts:
#	spiffworkflow-frontend/src/routes/ProcessGroupShow.tsx
2022-11-10 16:50:11 -05:00
mike cullerton 9679720b5a Delete groups now checks for running instances in nested models
also, pyl
2022-11-10 16:44:27 -05:00
jasquat bd42234891 use error as a status instead of faulted w/ burnettk 2022-11-10 15:55:17 -05:00
jasquat 7aca52035c fixed up the process instance show page and moved contents of scss to css file and load that last w/ burnettk 2022-11-10 15:44:58 -05:00
jasquat 7584e73e2d Merge commit 'a26363d7145eeb5e07eb08ad4018be8a42e2076e' 2022-11-09 17:30:46 -05:00
jasquat 5443550887 pass in perm file for acceptance tests w/ burnettk 2022-11-09 17:30:33 -05:00
mike cullerton f73b863661 Merge branch 'main' into feature/nested-groups-2 2022-11-09 17:02:40 -05:00
jasquat a544c10a09 Merge commit '127ef67f120ef4035a5f214f6b140488eca60a8d' 2022-11-09 17:01:17 -05:00
mike cullerton bd586f6a43 Merge branch 'main' into feature/nested-groups-2
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py
#	spiffworkflow-backend/src/spiffworkflow_backend/services/process_model_service.py
#	spiffworkflow-frontend/src/components/ProcessModelForm.tsx
#	spiffworkflow-frontend/src/helpers.tsx
2022-11-09 16:49:15 -05:00
Jon Herron 05cd5b4c4c Merge commit '89bfc25f35bdfd57eb9ccf6f3a9a3de76e68cf93' 2022-11-09 15:45:49 -05:00
mike cullerton 10d2fc3a4d Fixes for adding nested groups.
We pass modified ids to the api, and need to clean them up before calling services.
2022-11-09 15:45:12 -05:00
Jon Herron dada286882 Merge commit 'de30945eec9161570080b4858da967a7628ec86c' 2022-11-09 15:44:08 -05:00
jbirddog 1382b25d37
Bulk insert spiff logs and step details (#26) 2022-11-09 15:43:12 -05:00
jbirddog 4a852a5b3b
Move to Python 3.11 (#27) 2022-11-09 13:45:16 -05:00
burnettk 3534a8b54b remove leading slash from model identifiers 2022-11-09 12:46:39 -05:00
jasquat bf7c689874 one instance test left for cypress w/ burnettk 2022-11-09 12:33:43 -05:00
jasquat cca4ebaf44 merged in main and resolved conflicts w/ burnettk cullerton 2022-11-08 17:49:23 -05:00
jasquat 75f9e259da fixed some acceptance tests w/ burnettk cullerton 2022-11-08 17:20:17 -05:00
jasquat 184cf9911e made a process model form w/ burnettk 2022-11-08 14:31:24 -05:00
mike cullerton 21ef155295 Somethings up w/authentication. Maybe the stored token is bad 2022-11-08 14:18:39 -05:00
mike cullerton fdbe8ade6e Merge branch 'main' into feature/nested-groups
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/api.yml
#	spiffworkflow-backend/src/spiffworkflow_backend/models/process_instance_report.py
#	spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_spec_file_service.py
#	spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx
#	spiffworkflow-frontend/src/routes/ProcessInstanceReportList.tsx
#	spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx
#	spiffworkflow-frontend/src/routes/ProcessModelShow.tsx
2022-11-08 14:09:03 -05:00
mike cullerton 94cbf94dff script to modify all model json files to use full path for model id. Also removes process_group_id 2022-11-08 12:38:51 -05:00
jasquat 005821a9ff return next task when running an instance w/ burnettk 2022-11-08 12:36:11 -05:00
jbirddog fc7bf31670
First pass at custom report/perspective for Process Instance List (#23) 2022-11-08 09:26:42 -05:00
mike cullerton 1f3f5dbc2e remove process_group_identifier from process-instances endpoint 2022-11-07 17:25:04 -05:00
Dan 3a9b7661e0 Merge commit '39f9dcba4d497b121ef7f24e58e735b62b0e03d4' into main 2022-11-07 14:35:45 -05:00