74 Commits

Author SHA1 Message Date
Dan
ecbe194831 Merges 2023-01-19 13:26:13 -05:00
Dan
5da887099e Lots of adjustments from running pyl
Main change is in the ErrorDisplay.tsx to assure all error information is provided. and index.css to make it "pretty"
2023-01-19 12:36:45 -05:00
jasquat
65b9005d4c do not allow overwriting process models and process groups w/ burnettk 2023-01-18 14:40:03 -05:00
jasquat
b98908fa33 do not resolve entities when parsing xml w/ burnettk 2023-01-17 14:58:54 -05:00
Dan
ab1d5c2262 Removing dependency on flask-bpmn and taking it out of SpiffArena
Slightly updating the APIError code for recent updates to SpiffWorkflow's error refactoring.
2023-01-17 12:56:06 -05:00
jasquat
4b8b5fc403 added fix to SpiffWorkflow to deepcopy operation params before evaluating them w/ burnettk 2023-01-05 17:29:28 -05:00
jasquat
158cbb4bfd basic support to find a process instance by id w/ burnettk 2023-01-05 14:59:59 -05:00
burnettk
8de7d13780 upgrade black, give it the preview flag, and let it rip on long strings 2022-12-30 23:08:00 -05:00
jasquat
d12696fcd0 do not force permissions to use the v1.0 path prefix but it can be used if desired w/ burnettk 2022-12-21 12:13:33 -05:00
jasquat
0f18bb7982 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat
e5a803f2bc renamed test process instance create method w/ burnettk 2022-12-20 11:19:04 -05:00
Dan
a75a5407ea When loading permissions and the user does not exist, add records to the UserGroupAssignmentWaiting table that can be picked up later.
Request "profile" scope over OpenID so we can get a few more bits of information when avilable.
Add a "clear_perissions" script
Add an "add_permissions" script
Add an "add_permissions" script
When logging in for the first time, check for any awaiting permissions and assign them.
Add "enumerate" as a whitelisted function to React Schema
Add a "display_name" to the user table

Add a test for adding a new permission
Add a test for adding a user to group
Adding a test for deleting all permissions.
Adding a display name for the user table
2022-12-15 14:40:31 -05:00
jasquat
b19825e171 cleaned up more api routes for permissions w/ burnettk 2022-12-05 16:06:08 -05:00
burnettk
bb76eeee5f lint 2022-11-25 00:46:43 -05:00
burnettk
57a720c972 tests passing 2022-11-25 00:08:38 -05:00
burnettk
dc0665c260 gotta fix usage of is_model 2022-11-24 16:28:10 -05:00
burnettk
63b654c229 working on tests 2022-11-24 13:01:53 -05:00
burnettk
875bd1576b remove column 2022-11-24 12:28:53 -05:00
burnettk
aa2333f278 start adding display name and removing garbage 2022-11-24 11:51:31 -05:00
jasquat
acc88b9a9c created new users for keycloak and fixed some permissions for core user w/ burnettk cullerton 2022-11-22 13:01:08 -05:00
jasquat
82388b66e5 pyl is passing w/ burnettk cullerton 2022-11-18 16:45:44 -05:00
mike cullerton
8aa126e750 precommit 2022-11-18 15:50:20 -05:00
mike cullerton
d8898d51e5 Cleanup - renaming frenzy, use os.path.abspath 2022-11-17 16:35:28 -05:00
jasquat
7415710d5a fixed broken test w/ burnettk 2022-11-15 17:49:46 -05:00
burnettk
2cb3fb27e2 pyl 2022-11-11 11:39:15 -05:00
mike cullerton
3735b71e06 removed duplicate code 2022-11-11 08:17:50 -05:00
mike cullerton
1e09c95520 renamed and reordered some methods in base_test.py 2022-11-11 08:02:35 -05:00
mike cullerton
450a8d0757 Delete groups now checks for running instances in nested models
also, pyl
2022-11-10 16:44:27 -05:00
jbirddog
64ac704288 Move to Python 3.11 (#27) 2022-11-09 13:45:16 -05:00
mike cullerton
207de9ab86 Merge branch 'main' into feature/nested-groups
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/models/process_model.py
#	spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
2022-11-07 10:56:37 -05:00
jasquat
b7aee05492 removed tables for file, admin_session, task_event, and data_store w/ burnettk 2022-11-02 11:38:16 -04:00
mike cullerton
440871d579 First stab at nested folders.
Added temp endpoints
Changes to tests and test helpers
2022-11-01 16:48:04 -04:00
burnettk
e0c09896d1 re-order imports the way backend always used to 2022-10-31 09:25:35 -04:00
jasquat
0c11a0b75b pyl passes w/ burnettk 2022-10-27 15:38:04 -04:00
jasquat
49eefc561e some precommit stuff w/ burnettk 2022-10-21 11:00:31 -04:00
jasquat
5128f75243 merged in main and resolved conflicts 2022-10-21 09:32:09 -04:00
jasquat
a387b78786 added some code to respect lanes in a process model w/ burnettk 2022-10-20 17:06:48 -04:00
mike cullerton
259f74a1ee Merge branch 'main' into bug/refresh-token
# Conflicts:
#	migrations/versions/cf862b761896_.py
#	migrations/versions/f1f17d99d118_.py
#	migrations/versions/fe0828c30b20_.py
2022-10-20 13:07:29 -04:00
mike cullerton
8e1075406f Merge branch 'main' into bug/refresh-token
# Conflicts:
#	migrations/versions/07ff3fbef405_.py
#	migrations/versions/9e14b40371f3_.py
#	migrations/versions/c98445562ced_.py
#	src/spiffworkflow_backend/services/authentication_service.py
2022-10-20 11:54:25 -04:00
jasquat
594a32b676 merged in main and resolved conflicts w/ burnettk 2022-10-20 11:27:15 -04:00
Dan
1f99264c0f Remove all references to the MasterWorkflow, standalone workflows, and libraries, as these concepts should no longer exist. 2022-10-18 16:11:38 -04:00
Dan
5e13a23912 Remove the "master_spec" 2022-10-18 15:55:50 -04:00
jasquat
7c53fc9fa7 Merge remote-tracking branch 'origin/main' into feature/permissions3 2022-10-18 08:43:09 -04:00
burnettk
2fbc6777bd filter out NotFound from our sentry alerts and fix a bunch of typing things 2022-10-18 07:09:03 -04:00
mike cullerton
1f443bb946 PublicAuthenticationService -> AuthenticationService 2022-10-17 12:43:17 -04:00
jasquat
50529d04c3 added test to make sure api gives a 403 if a permission is not found w/ burnettk 2022-10-13 14:46:23 -04:00
jasquat
6a9d0a68a7 api calls are somewhat respecting permissions now and the process api tests are passing 2022-10-13 14:15:31 -04:00
jasquat
e4ded8fc05 added method to import permissions from yml file w/ burnettk 2022-10-11 15:18:32 -04:00
jasquat
f652f3e56f Merge remote-tracking branch 'origin/main' into feature/permissions 2022-10-11 10:31:22 -04:00
burnettk
9888bd09ad rename code to error_code 2022-10-11 10:08:05 -04:00