Commit Graph

2050 Commits

Author SHA1 Message Date
burnettk 8a98e8d9be folks who can start instances can also view their logs 2023-01-31 17:11:11 -05:00
burnettk 17fb81bcbd shuffle around Dockerfile to allow to work for background container 2023-01-31 16:14:22 -05:00
Dan Funk d9bcbd0986 Merge pull request #117 from sartography/feature/authorization
move away from using the auth_token from the open id server as a token between the front end and backend.
2023-01-31 12:03:51 -05:00
burnettk c586e0ea83 allow overriding git related configs w/ env var and log permissions stuff on boot 2023-01-30 18:40:03 -05:00
Dan f5ee3ec855 Merge branch 'main' into feature/more_better_errors 2023-01-30 17:08:10 -05:00
Dan Funk 063ebda63b Merge pull request #115 from sartography/backend/improve-dockerfile
backend: avoid redundant steps in Dockerfile
2023-01-30 17:02:35 -05:00
Dan ba6d4c5f2d Fix typing issue. 2023-01-30 16:50:43 -05:00
Dan b0a05adccc Use the id_token, not the auth_token from the open id server for authentication with the front end. The auth_token should be kept safe, and not guranteeded to be a json token. 2023-01-30 13:09:23 -05:00
burnettk b9eb5dd8ed add four new status users to spiff realm 2023-01-30 11:57:22 -05:00
Jakub Sokołowski 553c93be27 backend: avoid redundant steps in Dockerfile
Use separate `base`, `setup` and `final` to avoid redundat steps.
Avoid runnig `poetry` twice, and add `source` and `description`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-30 16:23:37 +01:00
jasquat cf2e8975c9 removed old pin to spiffworkflow w/ burnettk 2023-01-27 13:21:39 -05:00
jasquat 5970b1e35f tests are passing now w/ burnettk 2023-01-27 13:20:22 -05:00
jasquat a39aca6a4c some initial updates w/ burnettk 2023-01-27 12:51:19 -05:00
Jon Herron 6fda0c5c67 Allow set to be called from scripts 2023-01-27 07:03:45 -05:00
burnettk a64827605b update lock file in backend and arena, though that one needs pruning 2023-01-26 21:59:02 -05:00
Dan 5b2046ab30 run_pyl 2023-01-26 18:39:51 -05:00
Dan 5328a2d4c1 Workflow Data Exceptions were not getting processed, we now catch the WorkflowDataException through the generic top level SpiffWorkflowException. 2023-01-26 18:26:17 -05:00
jasquat 9f98cfee15 updated prefix for background instances w/ burnettk 2023-01-26 15:38:14 -05:00
Kevin Burnett acd26c0423 Merge pull request #110 from sartography/feature/jinja_errors
Feature/jinja errors
2023-01-26 08:24:48 -08:00
burnettk 864ae116a8 add keycloak users 2023-01-26 09:31:01 -05:00
jasquat f80836e71c pyl 2023-01-26 07:46:36 -05:00
jasquat 71e20c9f4d set the correct type for task since SpiffTask and a backend task are not the same 2023-01-26 07:35:13 -05:00
jasquat 26c791f9f6 increased the task data size 2023-01-25 17:45:47 -05:00
jasquat 79dadcaa60 added pylint back to lock file 2023-01-25 17:35:22 -05:00
jasquat 35b0871c96 Merge remote-tracking branch 'origin/main' into feature/jinja_errors 2023-01-25 17:30:55 -05:00
Dan 1dbac99a56 run_pyl had various recommendations that I find a bit of a pain in the butt, but that I did anyway. 2023-01-25 16:43:28 -05:00
jasquat b30081ab2e Merge pull request #109 from sartography/feature/upgrade_bandit
upgraded bandit and flake8 w/ burnettk
2023-01-25 16:25:21 -05:00
jasquat efb8fd0b6d removed debug print statements 2023-01-25 16:25:03 -05:00
jasquat 58679f602c ensure we are passing the primary file name to the delete file test 2023-01-25 16:20:55 -05:00
jasquat 9943cbbb38 fixed typo w/ burnettk 2023-01-25 16:08:58 -05:00
jasquat 1fe638087f added some debug statements for ci w/ burnettk 2023-01-25 16:02:07 -05:00
jasquat d84942f014 upgraded bandit and flake8 w/ burnettk 2023-01-25 15:44:53 -05:00
Dan 72f599cbc4 Merge remote-tracking branch 'origin/main' into feature/jinja_errors 2023-01-25 15:38:52 -05:00
jasquat c05305391b allow removing users from groups when refreshing permissions w/ burnettk 2023-01-25 15:12:48 -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 08c3106c51 Merge branch 'main' of github.com:sartography/spiff-arena 2023-01-25 14:36:05 -05:00
jasquat 957e0373f0 when changing the primary file name also change the primary process when updating a process model from the api w/ burnettk 2023-01-25 14:36:01 -05:00
Dan b560b364d7 Making sure we create informative messages when encountering jinja2 syntax errors. 2023-01-25 14:13:21 -05:00
burnettk 51c325daa8 delete legacy flask-rendered html pages from initial prototype, since backend is now API-only 2023-01-25 11:30:19 -05:00
jasquat 59ebcbb4ae added the process model identifier for the diagram if it is not the top level w/ burnettk 2023-01-25 10:39:17 -05:00
jasquat a02a132ed0 Merge pull request #107 from sartography/feature/metadata_on_instance_show
Feature/metadata on instance show
2023-01-24 16:54:43 -05:00
jasquat b22e8828d8 do not allow deleting primary bpmn file and do not allow instantiating models without a primary bpmn file w/ burnettk 2023-01-24 15:15:48 -05:00
jasquat 002df3f903 show metadata on instance show page but for some reason it reorders elements w/ burnettk 2023-01-24 14:35:27 -05:00
jasquat 81c3cfe172 removed uniqueness constraint from human task so we can loopback to a previous task with a gateway w/ burnettk 2023-01-24 11:03:55 -05:00
jasquat 73cbef3100 ensure order of permissions in tests 2023-01-24 10:23:47 -05:00
burnettk d5949b867b document future enhancement 2023-01-23 17:48:06 -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
jasquat a4e60a368d added uniqueness constraint to spiff step details w/ burnettk 2023-01-23 11:03:17 -05:00
burnettk 5fd7197c9d add sum and format 2023-01-22 18:10:47 -05:00