Kevin Burnett
7de0d97303
Feature/better subworkflow management part 2 ( #341 )
...
* Revert "Revert "Feature/better subworkflow management (#331 )""
This reverts commit 48dcde8faf
.
* updated SpiffWorkflow to fix infinite loop in task trace w/ burnettk
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-20 10:37:49 -04:00
burnettk
48dcde8faf
Revert "Feature/better subworkflow management ( #331 )"
...
This reverts commit 23af5cbbe4
.
2023-06-15 15:10:48 -04:00
jasquat
23af5cbbe4
Feature/better subworkflow management ( #331 )
...
* WIP: some updates to support new spiff w/ burnettk
* unit tests are passing
* all tests except message tests are passing
* fixed usage of catch message event w/ burnettk
* messages are working again w/ burnettk
* uncommented remaining message tests w/ burnettk
* fixed cypress tests w/ burnettk
* use main for spiffworkflow
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-15 10:31:42 -04:00
jasquat
4fc6b1a193
use carbon components when adding secrets ( #312 )
...
* use carbon components when adding secrets
* docker compose pull before running up w/ burnettk
* use all carbon on script task unit test modal w/ burnettk
* removed remaining references to bootstrap from frontend w/ burnettk
* updated usage of hidden to use the class instead of the bootstrap attribute w/ burnettk
* print out docker version for debugging
* docker pull with docker instead of compose
* added comment for docker pull in check docker start script
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-08 14:26:14 -07:00
jasquat
b756e594ab
removed useless def comments that started with and underscore as well
2023-06-01 13:52:07 -04:00
jasquat
43f23cd630
removed useless class and def comments from python code w/ burnettk
2023-05-31 16:28:06 -04:00
burnettk
3c512806e4
stop codecov comments and commit WIP
2023-05-30 15:07:00 -04:00
burnettk
7b2f75c349
remove useless comments matching filenames
2023-05-30 12:21:50 -04:00
burnettk
2b2875cb6f
let ruff sort imports and ditch duplicative pre-commit linters
2023-05-26 20:01:08 -04:00
jasquat
3f0f06817f
allow disabling authentication from the backend w/ burnettk
2023-05-25 12:00:24 -04:00
jasquat
e2fe5ea660
respect host from db uri env var when recreating db w/ burnettk
2023-05-23 12:12:32 -04:00
jasquat
696bfe224c
fixed tests related to new permissions w/ burnettk
2023-05-22 14:58:51 -04:00
jasquat
d2e2478e06
fixed pyl issues and set max threads based on cpu cores w/ burnettk
2023-05-17 14:04:48 -04:00
burnettk
957af50f31
default to 6 threads and set db pool the same, allowing overrides
2023-05-16 19:24:55 -04:00
burnettk
3128d8ab47
update gunicorn configs to add threading
2023-05-14 22:19:53 -04:00
jasquat
7ef3e62207
ensure we remove corresponding bpmn processes when removing tasks from a process reset
2023-05-11 09:32:07 -04:00
jasquat
3932435482
Merge remote-tracking branch 'origin/main' into bug/improve_reset_to_previous_task
2023-05-10 10:57:55 -04:00
Dan
30a26de38d
wip
2023-05-09 15:02:05 -04:00
burnettk
5a51cc9b18
listen on all interfaces w/ jasquat
2023-05-08 15:36:57 -04:00
burnettk
b100fdc076
make logs less chatty and support new localopenid convenience arg when booting backend locally
2023-05-06 15:17:48 -04:00
jasquat
34d78cff17
removed commented out variables w/ burnettk
2023-05-03 15:13:06 -04:00
jasquat
245e34b0bb
added script to demonstrate how to use message start events w/ burnettk
2023-05-03 15:12:41 -04:00
jasquat
896da01701
added script to query db for tasks on the most recent process instance w/ burnettk
2023-05-02 15:31:25 -04:00
jasquat
3247955db5
merged in main and resolved conflicts w/ burnettk
2023-05-01 12:35:10 -04:00
jasquat
c84aa44acf
lint fixes w/ burnettk
2023-05-01 12:29:48 -04:00
burnettk
0552eaeb7b
make this thing a config and clean up lint
2023-05-01 11:25:37 -04:00
jasquat
96c60a90f3
Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links
2023-05-01 07:45:42 -04:00
burnettk
1ea36658cc
start a list of file patterns to ignore
2023-04-28 22:48:02 -04:00
burnettk
247c260541
iterate on function crusher script
2023-04-28 22:37:17 -04:00
burnettk
64356e8796
scripts to find and process dead code
2023-04-28 22:29:46 -04:00
jasquat
a4fd81cb9a
remove a lot of unused code and fixed linting issues w/ burnettk
2023-04-27 17:33:25 -04:00
jasquat
082caa5aea
a couple minor fixes w/ burnettk
2023-04-06 15:45:16 -04:00
burnettk
82ec34e00b
i am terrible
2023-03-29 14:18:37 -04:00
burnettk
b7d154ff02
delete postgres container if it is there
2023-03-29 14:17:26 -04:00
jasquat
85626ba399
couple fixes for running a process model from script w/ burnettk
2023-03-24 12:09:27 -04:00
jasquat
c2612b873f
added check result function when running a process model from the shell script
2023-03-23 07:41:59 -04:00
jasquat
bf84d48a69
added script to create and run a process model w/ burnettk
2023-03-22 15:52:00 -04:00
jasquat
2fe0300b81
do not fail if cannot get a token for a user in login w/ burnettk
2023-03-22 12:22:27 -04:00
jasquat
e305b22b5a
increase line length from 88 to 119 for black w/ burnettk
2023-03-15 16:24:08 -04:00
burnettk
c591dbfefe
no op cipher for testing
2023-03-12 18:20:29 -04:00
burnettk
d13001efff
bump sentry version
2023-03-07 22:56:48 -05:00
jasquat
9725a45241
minor tweaks to get_token w/ burnettk
2023-03-07 12:14:12 -05:00
jasquat
4344e015ca
check if aud has any valid value when authing w/ burnettk
2023-03-07 11:58:59 -05:00
jasquat
989c0932cd
some pyl issues
2023-03-02 10:06:05 -05:00
jasquat
cf9b796e1a
avoid creating new processors if it is not necessary
2023-03-02 10:00:08 -05:00
jasquat
716986a483
prefer the bpmn process name over the identifier on the logs list page w/ burnettk
2023-03-01 16:28:42 -05:00
jasquat
6521998a54
fixed the downgrade in new migration w/ burnettk
2023-03-01 15:54:50 -05:00
jasquat
5a873a9e2d
do not run mysql commands if not doing mysql w/ burnettk
2023-02-27 17:19:03 -05:00
burnettk
5eb9da00f1
fix postgres db name and comment out debug job
2023-02-24 16:57:53 -05:00
jasquat
a3126da7ef
set git user configs explicitly using the env vars w/ burnettk
2023-02-22 15:34:47 -05:00
jasquat
012f5c20aa
fix git bash script unbound error w/ burnettk
2023-02-21 17:08:09 -05:00
Jakub Sokołowski
819415d487
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
56a913e33c
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
1e8e6a7968
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
b22c33e1d6
put the env vars in the env section of the github action configs w/ burnettk
2023-02-16 15:19:01 -05:00
jasquat
0839214fa5
added test for quickstart guide w/ burnettk
2023-02-16 15:05:55 -05:00
jasquat
641d237e83
more config updates w/ burnettk
2023-02-16 10:21:02 -05:00
jasquat
c9c1ae4c16
fixed some env vars for ci
2023-02-16 07:59:51 -05:00
jasquat
26875f13bf
updated remaining configs manually w/ burnettk
2023-02-15 17:21:37 -05:00
jasquat
3e4fc1259f
updated configs to use the prefix using the script w/ burnettk
2023-02-15 17:07:12 -05:00
jasquat
84f27082d4
updates to user import scripts w/ burnettk
2023-02-14 17:39:42 -05:00
jasquat
683c1ee2c1
added script to import users w/ burnettk
2023-02-13 12:15:00 -05:00
jasquat
098aa69216
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
1d4a7a9b94
added additional columns to spiff_step_details w/ burnettk jbirddog
2023-02-08 12:43:30 -05:00
jasquat
0162821b4c
allow configuring gunicorn configs in boot_server_in_docker w/ burnettk
2023-02-07 15:38:29 -05:00
jasquat
559d9a78d8
renamed development env to local_development and testing to unit_testing w/ burnettk
2023-02-07 15:02:47 -05:00
burnettk
c74719d13d
update get_token
2023-02-06 17:55:07 -05:00
Dan
a38ecc2e60
Merge remote-tracking branch 'origin/main' into feature/jinja_errors
2023-01-25 15:38:52 -05:00
Dan
40682d0592
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
2d57c3d45f
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
102413326a
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
fd2146bd46
since accepting the github host entry programatically is no more secure
2023-01-20 19:06:59 -05:00
jasquat
d8cf4b1287
allow specifying an ssh key for git instead of a username and password w/ burnettk
2023-01-20 15:11:23 -05:00
jasquat
3f4781c5ee
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
8496b722fd
Merges
2023-01-19 13:26:13 -05:00
Dan
3c12e8ad35
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
306676aa11
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
28a28e353b
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
7194864e6d
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
aa6546656e
logout works now and queryparams are getting passed correctly on login now
2023-01-12 10:29:37 -05:00
jasquat
6b5087c128
debugging cookies w/ burnettk
2023-01-11 14:52:12 -05:00
jasquat
21d32f00be
updated get_token to actually work
2023-01-11 10:47:35 -05:00
jasquat
fa3d727b60
added in debug logging for launching call activity editor w/ burnettk
2023-01-09 16:24:36 -05:00
jasquat
83e9a08b90
fix setting the bpmn dir in start scripts w/ burnettk
2023-01-09 14:23:40 -05:00
jasquat
76551f5301
some updates to test w/ burnettk
2023-01-09 10:19:31 -05:00
burnettk
4d0a1abaf0
ensure we are not accidentally using main
2023-01-06 11:08:30 -05:00
jasquat
ee650e6039
added ability to filter process instances by process initiator
2023-01-04 16:11:52 -05:00
burnettk
09e012674a
upgrade black, give it the preview flag, and let it rip on long strings
2022-12-30 23:08:00 -05:00
jasquat
76c3f13630
ensure we get logs for both db and backend with docker compose w/ burnettk
2022-12-30 10:06:52 -05:00
jasquat
bca74bc43b
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
3e26226514
some cypress tests w/ burnettk
2022-12-27 15:42:22 -05:00
jasquat
866346f47b
added ability to view data objects from the process instance show page w/ burnettk
2022-12-27 11:45:42 -05:00
burnettk
90f578460a
dev permissions copied from terraform deployed and terraform deployed now tiny, minor fixes
2022-12-23 23:39:48 -05:00
burnettk
c108cd2bf1
fix flask bpmn poetry lock and change admin email to spiffworkflow.org
2022-12-23 12:18:15 -05:00
burnettk
e9d1ae45e7
fix qa1 and add script to get perms
2022-12-22 21:29:12 -05:00
jasquat
5a6e181a99
merged in main and resolved conflicts w/ burnettk
2022-12-20 15:06:34 -05:00
jasquat
ccac73bb54
set the auth header when calling git commit w/ burnettk
2022-12-19 11:15:05 -05:00
Dan
6f8425a14b
Merge branch 'feature/better_unit_tests' into feature/bpmn_user_permissions
2022-12-15 15:01:59 -05:00
Dan
160e19bb8c
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
16eec49ca8
commit and push to github on all changes to bpmn dir w/ burnettk cullerton
2022-12-15 12:52:53 -05:00