Commit Graph

74 Commits

Author SHA1 Message Date
Dan b59cca0212 Merge remote-tracking branch 'origin/main' into feature/jinja_errors 2023-01-25 15:38:52 -05:00
Dan 4badc7e645 Added useMemo to error context
No longer clear errors in the task bar, as that will constantly remove them as soon as they are shown.
2023-01-25 15:09:05 -05:00
jasquat 46549486b3 strip off newlines and spaces when importing secrets and pinning spiffworkflow to working version until we can debug issues with new one w/ burnettk 2023-01-23 17:18:47 -05:00
jasquat 3f692ab1cb added locking system for process instances so hopefully background jobs will not take instances currently being run by the user w/ burnettk 2023-01-23 16:45:07 -05:00
burnettk b2fe7206e1 since accepting the github host entry programatically is no more secure 2023-01-20 19:06:59 -05:00
jasquat 9bf8bc505d allow specifying an ssh key for git instead of a username and password w/ burnettk 2023-01-20 15:11:23 -05:00
jasquat a6fbe6715d find the top level process to find the task form when using subprocesses in called activities w/ burnettk danfunk 2023-01-20 12:03:29 -05:00
Dan bd150dfff9 Merges 2023-01-19 13:26:13 -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
jasquat 1919ccfaa8 added script to add test keycloak users and moved all keycloak stuff to keycloak directory w/ burnettk 2023-01-19 12:18:05 -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
jasquat 8fa5866f94 do not write to logs when a task is inheriting data from the parent w/ burnettk 2023-01-17 12:23:51 -05:00
jasquat d866ec5981 logout works now and queryparams are getting passed correctly on login now 2023-01-12 10:29:37 -05:00
jasquat b9612f2d30 debugging cookies w/ burnettk 2023-01-11 14:52:12 -05:00
jasquat 0663c5ac41 updated get_token to actually work 2023-01-11 10:47:35 -05:00
jasquat 610067ee92 added in debug logging for launching call activity editor w/ burnettk 2023-01-09 16:24:36 -05:00
jasquat 4211d13d07 fix setting the bpmn dir in start scripts w/ burnettk 2023-01-09 14:23:40 -05:00
jasquat 9a62ee04aa some updates to test w/ burnettk 2023-01-09 10:19:31 -05:00
burnettk c346f59e94 ensure we are not accidentally using main 2023-01-06 11:08:30 -05:00
jasquat 98c3a9a511 added ability to filter process instances by process initiator 2023-01-04 16:11:52 -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 45097a10d9 ensure we get logs for both db and backend with docker compose w/ burnettk 2022-12-30 10:06:52 -05:00
jasquat c68b85a9c2 fixed some cypress tests and fixed issue where an invalid date caused the page to constantly reload w/ burnettk 2022-12-28 12:27:37 -05:00
jasquat dd8630067c some cypress tests w/ burnettk 2022-12-27 15:42:22 -05:00
jasquat c999edeba0 added ability to view data objects from the process instance show page w/ burnettk 2022-12-27 11:45:42 -05:00
burnettk 30e0166733 dev permissions copied from terraform deployed and terraform deployed now tiny, minor fixes 2022-12-23 23:39:48 -05:00
burnettk 62ce03cb28 fix flask bpmn poetry lock and change admin email to spiffworkflow.org 2022-12-23 12:18:15 -05:00
burnettk 35a0e9b642 fix qa1 and add script to get perms 2022-12-22 21:29:12 -05:00
jasquat b51f9ba5a1 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat cbb22f13ae set the auth header when calling git commit w/ burnettk 2022-12-19 11:15:05 -05:00
Dan 7ae5363636 Merge branch 'feature/better_unit_tests' into feature/bpmn_user_permissions 2022-12-15 15:01:59 -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 5fd6992fe6 commit and push to github on all changes to bpmn dir w/ burnettk cullerton 2022-12-15 12:52:53 -05:00
Dan 1e71892999 Merge remote-tracking branch 'origin/unit_test_404' into feature/bpmn_user_permissions 2022-12-15 07:19:19 -05:00
burnettk 08b30b4cb8 make replacing keycloak more robust, as it now works when the container is running 2022-12-14 21:29:46 -05:00
jasquat 7cfc08d620 some fixes for ci w/ burnettk 2022-12-14 17:09:43 -05:00
Dan 552229110c Removing two fields from user table that were not used (uid, name)
Request email from open id clients, as this would provide a handy way to uniquely reference users when assigning to groups.
During Login do a lookup on email if possible -- so that permissions assignments based on email can be connected when sigining in through openid.
Don't use "open_id" for the service name on user accounts, use the iss string provided through open id,  this will allow us to support more than one open id platform.
Update the KeyCloak configuration so it is able to return email addresses for users -- which will make permission assignment easier in the future.
Removed several unused commands in the user_service class.
2022-12-12 15:43:19 -05:00
jasquat 62814da9a6 added git creds for pushing on publish w/ burnettk cullerton 2022-12-08 16:39:23 -05:00
jasquat ab430b5843 pyl passes 2022-12-08 13:47:30 -05:00
jasquat 17f0d6a266 added frontend url as post redirect url in keycloak w/ burnettk 2022-12-07 15:11:58 -05:00
Dan 88a94ec6da running py_pl -- mainly reordering imports. 2022-12-05 12:29:19 -05:00
burnettk 8f4a0d42b8 make sasha, harmeet, manuchehr, and admin have desired permissions for demo 2022-11-27 21:07:20 -05:00
burnettk aee973fcb1 upgrade keycloak 2022-11-25 12:49:41 -05:00
burnettk 10d8156972 renames 2022-11-24 12:00:26 -05:00
burnettk b8df21f27d add fin1, lead1, and Tasks actioned by me to Tasks completed by me 2022-11-24 10:38:25 -05:00
jasquat ecf96166b1 created new users for keycloak and fixed some permissions for core user w/ burnettk cullerton 2022-11-22 13:01:08 -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
mike cullerton 48986e3392 No need for script. 2022-11-18 14:17:31 -05:00
mike cullerton 897615d0fd Rename CAT_JSON_FILE, WF_JSON_FILE, add_spec, update_spec 2022-11-17 12:08:42 -05:00