Commit Graph

526 Commits

Author SHA1 Message Date
burnettk 0da4d04f60 Revert "revert Dockerfile until we get it working"
This reverts commit 727daa66a6.
2023-01-30 18:02:59 -05:00
burnettk 727daa66a6 revert Dockerfile until we get it working 2023-01-30 18:01:56 -05:00
burnettk e889053d9f get bin as well for script 2023-01-30 17:44:15 -05:00
Kevin Burnett ec47c946d9
Merge pull request #116 from sartography/frontend/improve-dockerfile
frontend: avoid redundant steps in Dockerfile
2023-01-30 13:57:04 -08:00
burnettk 7a17c22ba8 remove unneeded divs 2023-01-30 16:47:20 -05:00
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
burnettk 142664479b wrap field template so we can style with margin bottom 2023-01-30 12:37:08 -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
burnettk af5374fa04 we were expecting an object when doing this check, so codify it 2023-01-28 21:41:31 -05: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
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
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
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
jasquat cc1fe58c47 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 63ff763807
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 da60b3a715 use a modal for metadata instead w/ burnettk 2023-01-24 16:53:23 -05:00
jasquat 004766bbc5 put process instance show page to match main w/ burnettk 2023-01-24 16:38:05 -05:00
jasquat b05e7fcd38 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 433c401073 show metadata on instance show page but for some reason it reorders elements w/ burnettk 2023-01-24 14:35:27 -05:00
jasquat 45f46ef14d add process model file name validation for new files w/ burnettk 2023-01-24 11:35:30 -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 16d591307d make sure that all new form field elements are not dropdowns 2023-01-22 00:36:16 -05:00
jasquat ea8d310299 expanded functionality of the form builder 2023-01-21 20:51:11 -05:00
jasquat f7907546ca use the correct place for keycloak w/ burnettk 2023-01-19 15:40:36 -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
jasquat 6a6bde2788 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 8280318bc2 upgrade certifi to fix security vulnerability 2023-01-19 07:38:57 -05:00
jasquat 7b78ff42da do not navigate away from diagram editor page if there are changes w/ burnettk 2023-01-18 16:43:11 -05:00
jasquat cb9d36f714 added End Event to simple log view w/ burnettk 2023-01-18 12:01:37 -05:00
jasquat 2db07b5f74 only show milestones for simple log view w/ burnettk 2023-01-17 16:13:11 -05:00
burnettk 494fcfde4f fix lint issues 2023-01-16 18:08:05 -05:00
burnettk 3fd8db9add remove jsonpath 2023-01-16 17:57:07 -05:00
jasquat 3b48e937f9 added proof of concept to validate date fields in json schema form w/ burnettk 2023-01-16 17:01:15 -05:00
jasquat 4055772bde fixed cypress tests 2023-01-16 12:24:02 -05:00
jasquat a976674eec Merge branch 'main' of github.com:sartography/spiff-arena 2023-01-13 16:55:38 -05:00
jasquat e533afdce8 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 d9574acee8
Merge pull request #102 from sartography/feature/waku-fault-message
Feature/waku fault message
2023-01-13 11:47:05 -08:00
jasquat 2d61bf378e added tasks table to process instance show page w/ burnettk 2023-01-13 14:31:12 -05:00
mike cullerton 043dea0796 Merge branch 'main' into feature/waku-fault-message 2023-01-13 12:11:40 -05:00
jasquat a2bb41301a 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 189dbc2712 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 ff48f67918 Merge branch 'main' into feature/waku-fault-message 2023-01-13 08:29:42 -05:00
jasquat f48793c872 added detailed area to process instance show page w/ burnettk 2023-01-12 15:27:32 -05:00
jasquat 6ba547576a a little more cleanup w/ burnettk 2023-01-12 11:32:52 -05:00
jasquat b6481c78b2 remove several debug print statements 2023-01-12 10:48:42 -05:00
jasquat d866ec5981 logout works now and queryparams are getting passed correctly on login now 2023-01-12 10:29:37 -05:00
mike cullerton 223793e79d Merge branch 'main' into feature/waku-fault-message 2023-01-12 07:19:06 -05:00
mike cullerton b5953b2980 linting 2023-01-11 17:47:58 -05:00
jasquat b5584d73f3 remove unneeded protocol variable w/ burnettk 2023-01-11 17:29:08 -05:00
jasquat 2630dbfb45 use the cookie from the frontend w/ burnettk 2023-01-11 17:27:12 -05:00
jasquat 0974cda185 this somewhat works and sets cookies w/ burnettk 2023-01-11 15:57:01 -05:00
jasquat b9612f2d30 debugging cookies w/ burnettk 2023-01-11 14:52:12 -05:00
jasquat c7300f39f5 updated rjsf to beta.16 and updated validations from v6 to v8 w/ burnettk 2023-01-10 15:15:21 -05:00
jasquat 3ae3ffc7f1 show the error and success notifications when appropriate when editing xml for json w/ burnettk 2023-01-10 14:43:05 -05:00
jasquat 1b426579e5 only load file references when needed to avoid unnecessary xml errors w/ burnettk 2023-01-10 14:28:14 -05:00
jasquat e97bf81e5c Merge remote-tracking branch 'origin/main' into feature/add_some_xml_validations 2023-01-10 13:23:19 -05:00
jasquat 957d66da8b some updates to validate xml when uploading and saving w/ burnettk 2023-01-10 12:16:24 -05:00
mike cullerton 8aff86a53c Merge branch 'main' into feature/waku-fault-message 2023-01-10 08:47:31 -05:00
Elizabeth Esswein d6e658ab07 handle subprocesses in navigation 2023-01-09 23:14:23 -05:00
jasquat 9962629d95 call proceses through setProcesses to ensure we have up to date value and removed debug logs w/ burnettk 2023-01-09 17:43:56 -05:00
jasquat 39fce185eb more debug logs w/ burnettk 2023-01-09 17:05:27 -05:00
jasquat 6adc01a432 more debugging and do not watch ProcessModel with getting processes w/ burnettk 2023-01-09 16:40:44 -05:00
jasquat 610067ee92 added in debug logging for launching call activity editor w/ burnettk 2023-01-09 16:24:36 -05:00
jasquat a30d08bc86 fixed cypress config w/ burnettk 2023-01-09 16:00:02 -05:00
mike cullerton 578935b1f5 Add `fault_or_suspend_on_exception` and `exception_notification_addresses` to Process Model interface and create/update form. 2023-01-09 13:00:51 -05:00
jasquat 9049a64925 actually filter by process initiator w/ burnettk 2023-01-06 15:50:47 -05:00
jasquat edd670c6cd highlight tasks even if they are in subprocesses of called activities w/ burnettk 2023-01-06 12:00:24 -05:00
jasquat 23a93d8155 added fix to SpiffWorkflow to deepcopy operation params before evaluating them w/ burnettk 2023-01-05 17:29:28 -05:00
jasquat 5f30564c85 basic support to find a process instance by id w/ burnettk 2023-01-05 14:59:59 -05:00
Elizabeth Esswein b622af4e37 Merge branch 'main' into feature/process-nav-improvements 2023-01-05 10:46:52 -05:00
jasquat f83cee9792 fixed issue displaying task data for call activities called multiple times in a diagram w/ burnettk 2023-01-05 10:38:29 -05:00
Elizabeth Esswein a21247aa32 Merge branch 'main' into feature/process-nav-improvements 2023-01-05 10:27:31 -05:00
burnettk e3c932d9f5 extract some duplicated text into vars to appease eslint 2023-01-04 21:22:32 -05:00
burnettk a1935d8435 remove arbirary waits with no comments 2023-01-04 21:17:36 -05:00
burnettk 0c581c722d restore assertion 2023-01-04 21:10:21 -05:00
burnettk 42bf72822d Merge remote-tracking branch 'origin/main' into bug/cypress-tests 2023-01-04 20:58:03 -05:00
jasquat 98c3a9a511 added ability to filter process instances by process initiator 2023-01-04 16:11:52 -05:00
jasquat c6b5049d71 pyl w/ burnettk 2023-01-04 13:18:05 -05:00
jasquat 4c0d11dda4 added process group display name to model search and cache the groups to avoid extra lookups w/ burnettk 2023-01-04 13:12:36 -05:00
jasquat 23550583b2 merged in main and resolved conflicts 2023-01-04 11:56:33 -05:00
jasquat 73b51d76d4 added new page to create process models using english text w/ burnettk 2023-01-03 17:26:01 -05:00
burnettk fc0c090781 allow specifying number of iterations 2022-12-30 17:00:24 -05:00
jasquat 2799669f33 adjust the process model file actions so they do not stack as easily w/ burnettk 2022-12-30 15:44:58 -05:00
jasquat 86eced9d62 do not set baseUrl since it breaks auto-import and is not used otherwise w/ burnettk 2022-12-30 15:35:16 -05:00
jasquat 1354e9731b cleaned up some debug code w/ burnettk 2022-12-30 15:30:32 -05:00
jasquat f93a64f126 moved error display to own component w/ burnettk 2022-12-30 15:05:22 -05:00
jasquat 4b16e0df59 do not error when removing columns from instance column filters w/ burnettk 2022-12-30 13:59:52 -05:00
jasquat 0af82d137d added all users to waiting for column on task list tables w/ burnettk 2022-12-30 12:30:23 -05:00
Elizabeth Esswein 292fd0a1f2 Merge branch 'main' into feature/process-nav-improvements 2022-12-30 11:41:08 -05:00
Elizabeth Esswein ed999a1545 redirect to current step when resetting process instance 2022-12-30 10:45:21 -05:00