Commit Graph

213 Commits

Author SHA1 Message Date
Dan 72f599cbc4 Merge remote-tracking branch 'origin/main' into feature/jinja_errors 2023-01-25 15:38:52 -05:00
Dan 106500cf37 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 c8bc204908 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 bb99d94290 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 10180043ef since accepting the github host entry programatically is no more secure 2023-01-20 19:06:59 -05:00
jasquat 9fa2f982b9 allow specifying an ssh key for git instead of a username and password w/ burnettk 2023-01-20 15:11:23 -05:00
jasquat 7d9600f4f8 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 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 da25a85b78 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 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 ecf8acaf5c 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 3180353bb5 logout works now and queryparams are getting passed correctly on login now 2023-01-12 10:29:37 -05:00
jasquat 4b5d2d6112 debugging cookies w/ burnettk 2023-01-11 14:52:12 -05:00
jasquat 4f04ed7169 updated get_token to actually work 2023-01-11 10:47:35 -05:00
jasquat ab81e753c3 added in debug logging for launching call activity editor w/ burnettk 2023-01-09 16:24:36 -05:00
jasquat c16b590448 fix setting the bpmn dir in start scripts w/ burnettk 2023-01-09 14:23:40 -05:00
jasquat 94c6f4ccda some updates to test w/ burnettk 2023-01-09 10:19:31 -05:00
burnettk 00049fcc50 ensure we are not accidentally using main 2023-01-06 11:08:30 -05:00
jasquat ac079f8815 added ability to filter process instances by process initiator 2023-01-04 16:11:52 -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 dab22e0ec1 ensure we get logs for both db and backend with docker compose w/ burnettk 2022-12-30 10:06:52 -05:00
jasquat 0cc6f2c2dc 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 b33947bdaf some cypress tests w/ burnettk 2022-12-27 15:42:22 -05:00
jasquat bf1ecb87d1 added ability to view data objects from the process instance show page w/ burnettk 2022-12-27 11:45:42 -05:00
burnettk 2ba416f584 dev permissions copied from terraform deployed and terraform deployed now tiny, minor fixes 2022-12-23 23:39:48 -05:00
burnettk fbfc0f1180 fix flask bpmn poetry lock and change admin email to spiffworkflow.org 2022-12-23 12:18:15 -05:00
burnettk cd623fc978 fix qa1 and add script to get perms 2022-12-22 21:29:12 -05:00
jasquat 0f18bb7982 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat 20f378922e set the auth header when calling git commit w/ burnettk 2022-12-19 11:15:05 -05:00
Dan 3697c86c21 Merge branch 'feature/better_unit_tests' into feature/bpmn_user_permissions 2022-12-15 15:01:59 -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 e5b0311050 commit and push to github on all changes to bpmn dir w/ burnettk cullerton 2022-12-15 12:52:53 -05:00
Dan 8f233106e1 Merge remote-tracking branch 'origin/unit_test_404' into feature/bpmn_user_permissions 2022-12-15 07:19:19 -05:00
burnettk 6eec41a7b5 make replacing keycloak more robust, as it now works when the container is running 2022-12-14 21:29:46 -05:00
jasquat ec01b27984 some fixes for ci w/ burnettk 2022-12-14 17:09:43 -05:00
Dan a665918335 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 ade7a41e7b added git creds for pushing on publish w/ burnettk cullerton 2022-12-08 16:39:23 -05:00
jasquat 4ce7d67328 pyl passes 2022-12-08 13:47:30 -05:00
jasquat dbaa2c37c1 added frontend url as post redirect url in keycloak w/ burnettk 2022-12-07 15:11:58 -05:00
Dan a7eeaa6d98 running py_pl -- mainly reordering imports. 2022-12-05 12:29:19 -05:00
burnettk 47b551b8a1 make sasha, harmeet, manuchehr, and admin have desired permissions for demo 2022-11-27 21:07:20 -05:00
burnettk dfed48057d upgrade keycloak 2022-11-25 12:49:41 -05:00
burnettk 6081f66379 renames 2022-11-24 12:00:26 -05:00
burnettk a9d5e121b6 add fin1, lead1, and Tasks actioned by me to Tasks completed by me 2022-11-24 10:38:25 -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 3e655885b0 No need for script. 2022-11-18 14:17:31 -05:00
mike cullerton eba3c096d7 Rename CAT_JSON_FILE, WF_JSON_FILE, add_spec, update_spec 2022-11-17 12:08:42 -05:00