Commit Graph

463 Commits

Author SHA1 Message Date
jasquat 89e2e80da1 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 108c39c1cf 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 10f71f8dba if we get a result back it will be a task with a model identifier 2023-01-26 09:54:18 -05:00
jasquat 29034082cb use the ProcessInstanceTask interface where we can and move some stuff around better for useEffect 2023-01-26 09:45:09 -05:00
Dan b2fb0dd79f 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
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
Dan c35ba85605 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
jasquat 5b88f88d31 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 070d589eb0 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 1fbd3edde9 use a modal for metadata instead w/ burnettk 2023-01-24 16:53:23 -05:00
jasquat f156605b0a put process instance show page to match main w/ burnettk 2023-01-24 16:38:05 -05:00
jasquat d86c083dfe 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 be1d306a2f show metadata on instance show page but for some reason it reorders elements w/ burnettk 2023-01-24 14:35:27 -05:00
jasquat c2a4d8480b add process model file name validation for new files w/ burnettk 2023-01-24 11:35:30 -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 d282f66a5c make sure that all new form field elements are not dropdowns 2023-01-22 00:36:16 -05:00
jasquat 336923b1e5 expanded functionality of the form builder 2023-01-21 20:51:11 -05:00
jasquat 9e3c0823fd use the correct place for keycloak w/ burnettk 2023-01-19 15:40:36 -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
jasquat f5b77f9245 show start events in logs as well and added bpmn process identifiers to log table w/ burnettk 2023-01-19 10:06:30 -05:00
burnettk cd07be3e28 upgrade certifi to fix security vulnerability 2023-01-19 07:38:57 -05:00
jasquat 7415c55ce7 do not navigate away from diagram editor page if there are changes w/ burnettk 2023-01-18 16:43:11 -05:00
jasquat fa4c3d26d7 added End Event to simple log view w/ burnettk 2023-01-18 12:01:37 -05:00
jasquat 223a49ee5b only show milestones for simple log view w/ burnettk 2023-01-17 16:13:11 -05:00
burnettk 0a485681fa fix lint issues 2023-01-16 18:08:05 -05:00
burnettk 5c3f7ae9ef remove jsonpath 2023-01-16 17:57:07 -05:00
jasquat ccf64e5bcb added proof of concept to validate date fields in json schema form w/ burnettk 2023-01-16 17:01:15 -05:00
jasquat d70acde4c0 fixed cypress tests 2023-01-16 12:24:02 -05:00
jasquat 2476c66d0a Merge branch 'main' of github.com:sartography/spiff-arena 2023-01-13 16:55:38 -05:00
jasquat 708c2722d8 added ability to add in custom validation error messages for text input fields w/ burnettk 2023-01-13 16:55:34 -05:00
Kevin Burnett 5d5f1e777c Merge pull request #102 from sartography/feature/waku-fault-message
Feature/waku fault message
2023-01-13 11:47:05 -08:00
jasquat 14397099f4 added tasks table to process instance show page w/ burnettk 2023-01-13 14:31:12 -05:00
mike cullerton be54381830 Merge branch 'main' into feature/waku-fault-message 2023-01-13 12:11:40 -05:00
jasquat 96cc8b02d0 added tabs to find by id page and install pre commit libraries if they fail to run help w/ burnettk 2023-01-13 11:29:45 -05:00
jasquat 0038f41a88 stop at call activity as well when getting calling subprocesses by child id w/ burnettk 2023-01-13 10:43:25 -05:00
mike cullerton d17f3b96d0 Merge branch 'main' into feature/waku-fault-message 2023-01-13 08:29:42 -05:00
jasquat 781c9814c2 added detailed area to process instance show page w/ burnettk 2023-01-12 15:27:32 -05:00
jasquat 761ffd79da a little more cleanup w/ burnettk 2023-01-12 11:32:52 -05:00
jasquat 4224916917 remove several debug print statements 2023-01-12 10:48:42 -05:00
jasquat aa6546656e logout works now and queryparams are getting passed correctly on login now 2023-01-12 10:29:37 -05:00
mike cullerton 36ee3b9551 Merge branch 'main' into feature/waku-fault-message 2023-01-12 07:19:06 -05:00
mike cullerton 1440a91efb linting 2023-01-11 17:47:58 -05:00
jasquat 762d15ffa2 remove unneeded protocol variable w/ burnettk 2023-01-11 17:29:08 -05:00
jasquat 3f94038e0e use the cookie from the frontend w/ burnettk 2023-01-11 17:27:12 -05:00
jasquat 1630c9c7b4 this somewhat works and sets cookies w/ burnettk 2023-01-11 15:57:01 -05:00
jasquat 6b5087c128 debugging cookies w/ burnettk 2023-01-11 14:52:12 -05:00
jasquat bac203727e updated rjsf to beta.16 and updated validations from v6 to v8 w/ burnettk 2023-01-10 15:15:21 -05:00