Commit Graph

92 Commits

Author SHA1 Message Date
jasquat 68f4868692
set git user configs explicitly using the env vars w/ burnettk 2023-02-22 15:34:47 -05:00
jasquat e506c37265
fix git bash script unbound error w/ burnettk 2023-02-21 17:08:09 -05:00
Jakub Sokołowski b0a9f440cb
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 e54965f8ec
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 2f88ba3013
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 bf6052d2cb
put the env vars in the env section of the github action configs w/ burnettk 2023-02-16 15:19:01 -05:00
jasquat 311a5b060d
added test for quickstart guide w/ burnettk 2023-02-16 15:05:55 -05:00
jasquat 59a166ddf6
more config updates w/ burnettk 2023-02-16 10:21:02 -05:00
jasquat fb5d902ce4
fixed some env vars for ci 2023-02-16 07:59:51 -05:00
jasquat 3abd4c92c6
updated remaining configs manually w/ burnettk 2023-02-15 17:21:37 -05:00
jasquat 497389ceb9
updated configs to use the prefix using the script w/ burnettk 2023-02-15 17:07:12 -05:00
jasquat 4f7b2bdc8a updates to user import scripts w/ burnettk 2023-02-14 17:39:42 -05:00
jasquat b06929ec08 added script to import users w/ burnettk 2023-02-13 12:15:00 -05:00
jasquat a39ae63bde 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 22dad8ac8a added additional columns to spiff_step_details w/ burnettk jbirddog 2023-02-08 12:43:30 -05:00
jasquat fbe2bbfb34 allow configuring gunicorn configs in boot_server_in_docker w/ burnettk 2023-02-07 15:38:29 -05:00
jasquat 03b265a522 renamed development env to local_development and testing to unit_testing w/ burnettk 2023-02-07 15:02:47 -05:00
burnettk 9faea2c1f7 update get_token 2023-02-06 17:55:07 -05:00
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