Commit Graph

231 Commits

Author SHA1 Message Date
jasquat 53e824abf3 set git user configs explicitly using the env vars w/ burnettk 2023-02-22 15:34:47 -05:00
jasquat 833a412569 fix git bash script unbound error w/ burnettk 2023-02-21 17:08:09 -05:00
Jakub Sokołowski 9083fcaeca backend: create SSH key file when contents provided
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-21 20:02:16 +01:00
Jakub Sokołowski 90aad09e47 backend: use sensible lock filename for git
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-21 19:58:39 +01:00
Jakub Sokołowski 94e1e15c31 backend: fix use of SSH private key for git ops
Primarily this is supposed to fix the `git pull` aciton triggered by
webhooks from GitHub. But in addition to that the point is to simplify
that committing wrapper which has far too much in it.

Instead of passing everything as CLI arguments one should make use of
already supported environment variables and the `env` argument to
`subprocess` functions like `run()`. Writing extra logic in the wrapper
only makes it unnecessarily complicated.

By passing both user, email, and the SSH options in `run_shell_command`
we avoid the need to repeat the same boilerplate to provide Git config
and SSH credentials.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-21 19:58:36 +01:00
jasquat 00d8eb5541 put the env vars in the env section of the github action configs w/ burnettk 2023-02-16 15:19:01 -05:00
jasquat 279e3042c0 added test for quickstart guide w/ burnettk 2023-02-16 15:05:55 -05:00
jasquat 88fe9e669f more config updates w/ burnettk 2023-02-16 10:21:02 -05:00
jasquat 4ef72a9c09 fixed some env vars for ci 2023-02-16 07:59:51 -05:00
jasquat dd0a642aa7 updated remaining configs manually w/ burnettk 2023-02-15 17:21:37 -05:00
jasquat 7160c70217 updated configs to use the prefix using the script w/ burnettk 2023-02-15 17:07:12 -05:00
jasquat 76fd4c2d38 updates to user import scripts w/ burnettk 2023-02-14 17:39:42 -05:00
jasquat 4e6bee21be added script to import users w/ burnettk 2023-02-13 12:15:00 -05:00
jasquat ff8912f505 added api endpoint to allow logging in for the first time with an openid access_token w/ burnettk 2023-02-13 11:57:31 -05:00
jasquat 81a7cdc944 added additional columns to spiff_step_details w/ burnettk jbirddog 2023-02-08 12:43:30 -05:00
jasquat 7552408a05 allow configuring gunicorn configs in boot_server_in_docker w/ burnettk 2023-02-07 15:38:29 -05:00
jasquat 1b7fec4a58 renamed development env to local_development and testing to unit_testing w/ burnettk 2023-02-07 15:02:47 -05:00
burnettk 7f0c09268f update get_token 2023-02-06 17:55:07 -05:00
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