Commit Graph

1533 Commits

Author SHA1 Message Date
Dan 0f2f2cadfb IBM says you can't have more columns than your parents, even if you try to start another grid, with kburnett 2023-01-30 16:43:47 -05:00
burnettk bfc8ef6c2b make task show wide, and make repeating form icons match site styles. w/ dfunk 2023-01-30 15:51:48 -05:00
burnettk 64e83326b5 even textareas need to have blank labels since labels are in FieldTemplate 2023-01-30 14:21:02 -05:00
burnettk 899ad867cb replace fieldTemplate with unthemed core version and remove labels since that is handled in there 2023-01-30 14:06:41 -05:00
Dan 4157a35f1a 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 142664479b wrap field template so we can style with margin bottom 2023-01-30 12:37:08 -05:00
burnettk 15b47b379c add four new status users to spiff realm 2023-01-30 11:57:22 -05:00
burnettk a35a177bd1 new mechanism to handle help more in line with how carbon works 2023-01-30 11:53:35 -05:00
Jakub Sokołowski 87e518a482
frontend: avoid redundant steps in Dockerfile
Use separate base, setup and final to avoid redundat steps.
Also add default value for `PORT0` as `7001`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-30 16:46:04 +01:00
Jakub Sokołowski 878f61ec49
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
burnettk af5374fa04 we were expecting an object when doing this check, so codify it 2023-01-28 21:41:31 -05:00
jasquat d3d519a399
Merge pull request #113 from sartography/feature/update_spiffworkflow
Feature/update spiffworkflow
2023-01-27 13:22:56 -05:00
jasquat ea994f4165 removed old pin to spiffworkflow w/ burnettk 2023-01-27 13:21:39 -05:00
jasquat 00164b1089 tests are passing now w/ burnettk 2023-01-27 13:20:22 -05:00
jasquat a882355803 some initial updates w/ burnettk 2023-01-27 12:51:19 -05:00
Kevin Burnett 19ad0229ab
Merge pull request #112 from sartography/add_set
Allow set to be called from scripts
2023-01-27 04:24:25 -08:00
Jon Herron 68673b9360 Allow set to be called from scripts 2023-01-27 07:03:45 -05:00
burnettk fbf3dd788f update lock file in backend and arena, though that one needs pruning 2023-01-26 21:59:02 -05:00
Dan a68c11b6f5 run_pyl 2023-01-26 18:39:51 -05:00
Dan 761023c621 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
Dan ba67d7ad34 Squashed 'SpiffWorkflow/' changes from 450ef3bcd..98c6294f1
98c6294f1 Merge pull request #287 from sartography/feature/workflow_data_exceptions
d40a1da59 Workflow Data Exceptions were broken in the previous error refactor.  This assures we are getting good messages from these errors.
a156378e1 Merge pull request #286 from sartography/feature/inclusive-gateway-support
7f6e398c2 bypass unnecessary checks in gateway joins
ade21a894 revert a few things
e1cf75202 Merge branch 'main' into feature/inclusive-gateway-support
15a0a4414 revert change to MultiChoice and handle no defaults in BPMN specs
e1469e6bb add support for diverging inclusive gateways
71fd86386 really prevent non-default flows without conditions
924759d9b clean up join specs
7378639d3 Merge pull request #284 from sartography/feature/improved-timer-events
dc8d139d2 remove useless method
530f23697 Merge branch 'main' into feature/improved-timer-events
307cca9c5 partially clean up existing gateways
0a344285e clean up task parsers
2cef997d1 add waiting_events method to bpmn workflow
48091c407 serializer migration script and miscellaneous fixes to serialization
61316854b store internal timer data as string/float
389c14c4c add some tests for parsing durations
582bc9482 convert timers to iso 8601
6dfd7ebe9 remove extraneous calls to update
6bd429529 clean up tests
d56e9912f remove useless method

git-subtree-dir: SpiffWorkflow
git-subtree-split: 98c6294f1240aee599cd98bcee58d121cb57b331
2023-01-26 18:17:35 -05:00
Dan b2e44a3ef2 Merge commit 'ba67d7ad342481231aa5e11508e033f74e86d61f' into main 2023-01-26 18:17:35 -05:00
jasquat 5b72be5b01 updated prefix for background instances w/ burnettk 2023-01-26 15:38:14 -05:00
Kevin Burnett ee01639427
Merge pull request #110 from sartography/feature/jinja_errors
Feature/jinja errors
2023-01-26 08:24:48 -08:00
jasquat 66f551edbb use the 403 response to tell if a user has access to task data on the task show page w/ burnettk 2023-01-26 11:21:09 -05:00
jasquat 21d1d11445 do not reset error state from the adminroutes component since this causes the error to be removed right away and then cannot be displayed w/ burnettk 2023-01-26 10:50:46 -05:00
jasquat 356cca8416 if we get a result back it will be a task with a model identifier 2023-01-26 09:54:18 -05:00
jasquat c6be5ea20c use the ProcessInstanceTask interface where we can and move some stuff around better for useEffect 2023-01-26 09:45:09 -05:00
burnettk 8a3de64239 add keycloak users 2023-01-26 09:31:01 -05:00
jasquat aa802be5af pyl 2023-01-26 07:46:36 -05:00
jasquat 1e7b80bd7d 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 1cbb661fa0 increased the task data size 2023-01-25 17:45:47 -05:00
jasquat f436edf07e added pylint back to lock file 2023-01-25 17:35:22 -05:00
jasquat 0b497161e1 Merge remote-tracking branch 'origin/main' into feature/jinja_errors 2023-01-25 17:30:55 -05:00
Dan eedc994e3e 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 310133bb4d
Merge pull request #109 from sartography/feature/upgrade_bandit
upgraded bandit and flake8 w/ burnettk
2023-01-25 16:25:21 -05:00
jasquat 7dc2bcecd1 removed debug print statements 2023-01-25 16:25:03 -05:00
jasquat 0da69d1e05 ensure we are passing the primary file name to the delete file test 2023-01-25 16:20:55 -05:00
jasquat a8ec1d634e fixed typo w/ burnettk 2023-01-25 16:08:58 -05:00
jasquat 236c839748 added some debug statements for ci w/ burnettk 2023-01-25 16:02:07 -05:00
jasquat 64333e1cfc upgraded bandit and flake8 w/ burnettk 2023-01-25 15:44:53 -05:00
Dan b59cca0212 Merge remote-tracking branch 'origin/main' into feature/jinja_errors 2023-01-25 15:38:52 -05:00
jasquat d9cffcb963 allow removing users from groups when refreshing permissions w/ burnettk 2023-01-25 15:12:48 -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 1702521ccb Merge branch 'main' of github.com:sartography/spiff-arena 2023-01-25 14:36:05 -05:00
jasquat 4e9a517110 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 c4ba9f398d Making sure we create informative messages when encountering jinja2 syntax errors. 2023-01-25 14:13:21 -05:00
burnettk 4f93cd45b3 delete legacy flask-rendered html pages from initial prototype, since backend is now API-only 2023-01-25 11:30:19 -05:00
Kevin Burnett ec1058cf0d
Merge pull request #108 from sartography/ci/docker-compose-vars
ci: use ENV variables for all ports
2023-01-25 07:56:22 -08:00
Dan 2b6b053671 TaskShow had a useEffect that depended on params, that dependency caused an infinite request cycle when an error occured.
The same issue was happening on the ProcessInstanceListTable, and there it was being managed by a "SafelySetErrorMessage" function in one case,
but would not be addressed in all possible cases.

Reworked error handling into a context provider (APIErrorProvider) and hook (UseApiError) and removed the "(useContext as any)(ErrorContext)[1];" that felt a little off but that never was an actual problem.
2023-01-25 10:46:56 -05:00