Commit Graph

45 Commits

Author SHA1 Message Date
jasquat cea7f746f6 use our json encoder to dump the user for get_current_user script w/ burnettk 2023-02-06 14:11:15 -05:00
burnettk 8ce5855b78 move towards returning dict in get_current_user 2023-02-06 10:30:38 -05:00
jbirddog f4ff86f9b0
Allow for different Python Environments when executing scripts within SpiffWorkflow (#121) 2023-02-02 10:24:55 -05:00
burnettk 7b4d714a06 folks who can start instances can also view their logs 2023-01-31 17:11:11 -05:00
jasquat 7ca6a703f2 removed uniqueness constraint from human task so we can loopback to a previous task with a gateway w/ burnettk 2023-01-24 11:03:55 -05:00
jasquat 09a502d48d ensure order of permissions in tests 2023-01-24 10:23:47 -05:00
Dan 628c59dde9 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
Dan 127eb7868c 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
burnettk 918057e489 upgrade black, give it the preview flag, and let it rip on long strings 2022-12-30 23:08:00 -05:00
jasquat a36f8a581a delete human tasks when process instance is deleted w/ burnettk 2022-12-28 14:02:39 -05:00
burnettk 09e50e5eb8 trim down granted permissions to just the ones that exist in the API, improve output of permissions 2022-12-23 16:49:15 -05:00
burnettk 0c5e4500c1 lint and regen schema 2022-12-22 21:15:10 -05:00
jasquat 41c18ea4ec added test to check only privileged users can call refresh_permissions w/ burnettk 2022-12-22 17:12:21 -05:00
jasquat 4f1054c307 pyl passes w/ burnettk 2022-12-22 16:42:52 -05:00
jasquat 3de31af94f pyl w/ burnettk 2022-12-22 12:32:26 -05:00
jasquat 8816f43b5e added script to get all permissions for the confirmation page when adding permissions from a process model w/ burnettk 2022-12-22 12:20:34 -05:00
jasquat 36c395e074 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 4ddc99527a pyl w/ burnettk 2022-12-21 11:42:45 -05:00
jasquat fcc79e639a added permission to run privileged scripts w/ burnettk 2022-12-21 11:24:38 -05:00
jasquat e6d04ecc1a pyl fixed w/ burnettk 2022-12-20 16:14:55 -05:00
jasquat 33d9b6660e pyl w/ burnettk 2022-12-20 15:47:30 -05:00
jasquat b51f9ba5a1 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat 5b11804f5f renamed active task to human task since we are no longer deleting them w/ burnettk 2022-12-19 16:23:02 -05:00
Dan 6ca754f8a4 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 ab430b5843 pyl passes 2022-12-08 13:47:30 -05:00
Dan 88a94ec6da running py_pl -- mainly reordering imports. 2022-12-05 12:29:19 -05:00
jasquat 54a04a38d9 fixed issue ensuring active tasks are up to date w/ burnettk cullerton 2022-11-28 15:47:56 -05:00
jasquat d12e606c84 added script to save process instance metadata and fixed permissions issue w/ burnettk cullerton 2022-11-28 15:26:50 -05:00
jasquat 67d6a01161 pyl is passing w/ burnettk cullerton 2022-11-18 16:45:44 -05:00
mike cullerton cf09b2258b precommit 2022-11-18 15:50:20 -05:00
jasquat b661c8f3c5 more refactoring for process instance list w/ burnettk 2022-11-14 17:35:04 -05:00
burnettk d25c37153a pyl 2022-11-11 11:39:15 -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
jbirddog 4a852a5b3b
Move to Python 3.11 (#27) 2022-11-09 13:45:16 -05:00
mike cullerton 442120d4ce fixed failing test 2022-11-01 16:58:53 -04:00
mike cullerton 912229a196 Merge branch 'main' into feature/nested-groups 2022-11-01 16:49:55 -04:00
mike cullerton 5f41828baf First stab at nested folders.
Added temp endpoints
Changes to tests and test helpers
2022-11-01 16:48:04 -04:00
jasquat f2477571c3 added script to get the frontend url w/ burnettk 2022-10-31 11:50:14 -04:00
jasquat 592c4fc49c added script to get the group members w/ burnettk 2022-10-31 11:39:54 -04:00
burnettk 6399978b23 re-order imports the way backend always used to 2022-10-31 09:25:35 -04:00
jasquat 28054e59cf added script to get the process info and do not set error message when a task fails from the frontend w/ burnettk 2022-10-28 16:46:09 -04:00
jasquat e26a91ff8c pyl passes w/ burnettk 2022-10-27 15:38:04 -04:00
jasquat e782fcee78 Merge commit 'b9d7ded29b64c9d3b66ae97e966e019fe0537b62' 2022-10-27 10:50:50 -04:00
mike cullerton 2e3a5f579a mypy 2022-10-25 16:47:40 -04:00
mike cullerton 897c8ee9b9 Added `get_localtime` script
Added test for new script, with test process
2022-10-25 15:56:48 -04:00