Commit Graph

583 Commits

Author SHA1 Message Date
burnettk a71754e722 add start of pp1 test 2023-03-04 23:48:23 -05:00
Dan 17b931684b Fix the super long panel in bpmn-js that is driving me slowly mad 2023-03-03 14:51:50 -05:00
Dan ae159744bc Updating BPMN-JS 2023-03-03 14:32:44 -05:00
burnettk 00bdde16f6 per feedback in demo 2023-03-02 08:34:15 -05:00
jasquat 0c13285fb8 removed unused import w/ burnettk 2023-03-01 17:36:06 -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
burnettk 166b279c5a make metadata header bigger 2023-02-27 22:36:31 -05:00
Dan f16150b02b Merging main 2023-02-27 14:17:10 -05:00
Dan 150b95070c run_pyl 2023-02-27 14:05:00 -05:00
Dan e060e28c28 Needed an additional check for empty correlation keys - which on a RECEIVE message, should always match anything.
When finding messages to match a send, assure they are RECIEVE messages.

Fix some of the json output for messages sent to the front end
2023-02-27 14:01:21 -05:00
jasquat ff1df1145b lint w/ burnettk 2023-02-24 16:29:02 -05:00
jasquat b71419616d removed some unused code from task and fixed the logs table a bit w/ burnettk 2023-02-24 16:18:49 -05:00
jasquat 7a1e712c14 avoid using task-data endpoint for task data and only use it to get tasks based on spiff step instead 2023-02-24 09:21:21 -05:00
jasquat a4c1eb96b5 removed task-data endpoints since we no longer need them w/ burnettk 2023-02-23 17:07:53 -05:00
jasquat a9694c7678 added api to get task data and do not return from task data list anymore w/ burnettk 2023-02-23 15:59:19 -05:00
Dan 7c12dffe41 Merge remote-tracking branch 'origin/main' into feature/message_fixes 2023-02-23 14:26:04 -05:00
jasquat 2bf31fc135 turn on sentry detailed tracing for task-data w/ burnettk 2023-02-23 11:19:22 -05:00
jasquat 81a402dd7d logs list page should respect the for-me variant 2023-02-23 10:23:26 -05:00
jasquat c6b45dbdc3 show help text for textareas as well w/ burnettk 2023-02-22 14:42:43 -05:00
jasquat 769cc4126c default to the for-me path on process instance show page links 2023-02-22 09:26:15 -05:00
jasquat 5819b22cab added support to validate custom errors in nested properties in json schema forms 2023-02-22 08:50:55 -05:00
burnettk 4e94bca76a make it so the message at the top of form is never strictly wrong 2023-02-21 22:30:17 -05:00
jasquat 2d76a39365 adding some padding to form text inputs w/ burnettk 2023-02-21 12:43:08 -05:00
jasquat 4c46104202 added ability to display the environment in the frontend header bar w/ burnettk 2023-02-17 14:35:13 -05:00
Dan ef4297331d Merge branch 'main' into feature/message_fixes 2023-02-17 12:01:38 -05:00
Dan 8e257600af work in progress -
* Link between message instance and correlations is now a link table and many-to-many relationships as recommended by SQLAlchemy
* Use the correlation keys, not the process id when accepting api messages.
2023-02-17 10:45:01 -05: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 8a421bfb2c corrected cypress env var 2023-02-16 13:31:08 -05:00
jasquat a98892be32 added some support for using the backend openid server for cypress tests w/ burnettk 2023-02-16 12:09:44 -05:00
burnettk 83bd4f1cb3 anything in the Tasks waiting for me table can now be completed by the current user 2023-02-15 07:41:05 -05:00
jasquat 4d4e0c9a57 users can always complete tasks on process instance show page and on task group table on home page w/ burnettk 2023-02-14 11:53:37 -05:00
jasquat 30166e38f4 avoid endless redirects on error on authentication list page w/ burnettk 2023-02-13 10:25:03 -05:00
burnettk dd816fd16a bug fix 2023-02-09 23:10:25 -05:00
jasquat 1748a0ae7f link to the spiff step from a task on the frontend and use the correct db in ci 2023-02-09 17:07:36 -05:00
jasquat cd41be4455 pyl w/ burnettk 2023-02-09 16:03:26 -05:00
jasquat 0c30751946 call activities are also working w/ burnettk 2023-02-09 15:52:00 -05:00
burnettk 65f7c7311e add assertions so this fails fast if anything changes in the future 2023-02-08 08:17:02 -05:00
Kevin Burnett d59432b95d Update README.md 2023-02-08 11:48:56 +00:00
burnettk 736803578e fix formatting 2023-02-07 22:30:44 -05:00
burnettk 227f0934c4 document runtime config 2023-02-07 22:27:27 -05:00
burnettk 9cd234a41a do not fail if SPIFFWORKFLOW_FRONTEND_RUNTIME_CONFIG is missing 2023-02-07 22:06:47 -05:00
jasquat fb94d5c77a allow setting configs for the frontend through env vars w/ burnettk 2023-02-07 17:21:54 -05:00
burnettk 154dab471f Merge remote-tracking branch 'origin/main' into frontend/use-api-subpath 2023-02-07 11:30:24 -05:00
Dan f945b58756 Use the same markdown library for displaying as for editing - could enable a security plugin, but doing so would prevent BPMN developers from using the Sub and Sup markdown supported by GitHub. 2023-02-06 12:14:15 -05:00
Dan a248e868b7 When searching for human tasks to determine if the current user can complete it, filter on the "completed" flag.
Front-end -- enable the form if you receive an onUnathorized error because the thing you are unauthorized to do might have nothing to do with whether you can submit the form.
2023-02-06 08:01:37 -05:00
burnettk 7dc5a96f99 put setDisabled back in the awkward place since i was seeing the subsequent form stay disabled 2023-02-03 17:31:14 -05:00
Dan 6bd9fa5c00 Merge branch 'main' of github.com:sartography/spiff-arena into main 2023-02-03 17:01:13 -05:00
Dan 92fa390fc9 Fix that dreadful unknown "KeyError" exception that was cropping up.
Adding a bit of detail to the spiffworkflow exceptions when a duplicate process model is found.
Disable the submit button on tasks after you click submit (avoid the double click and give users a better experience)
2023-02-03 17:01:03 -05:00
Kevin Burnett 84f3bd90cf Merge pull request #125 from sartography/feature/dynamically-hide-fields-w-task-data
Feature/dynamically hide fields w/ task data
2023-02-03 13:20:19 -08:00
burnettk 1247189bf8 make form schema and form ui schema both dicts, add support for hiding fields based on task data 2023-02-03 15:40:14 -05:00
Dan 1cde87dca7 Prevent double click on submit of forms. 2023-02-03 13:25:05 -05:00
burnettk 3d5647d166 try to improve exception handling by avoiding raising ApiError from services 2023-02-02 19:00:58 -05:00
burnettk adcb841214 remove duplicate label on radio buttons 2023-01-31 16:32:04 -05:00
burnettk fb123e12e1 less annoying file name for autocomplete 2023-01-31 09:27:02 -05:00
Jakub Sokołowski 79fb06a950 frontend: use /api subpath instead of subdomain
Because buying certificates with multiple SANs every time you want to
deploy an envrionment is a pain the ass and expensive.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-31 10:37:07 +01:00
burnettk cce1a2246c add deps for serve 2023-01-30 22:35:24 -05:00
burnettk fdc2d80af0 Revert "revert Dockerfile until we get it working"
This reverts commit 22897abcb8.
2023-01-30 18:02:59 -05:00
burnettk 22897abcb8 revert Dockerfile until we get it working 2023-01-30 18:01:56 -05:00
burnettk 9731d79ceb get bin as well for script 2023-01-30 17:44:15 -05:00
Kevin Burnett 2e5723e911 Merge pull request #116 from sartography/frontend/improve-dockerfile
frontend: avoid redundant steps in Dockerfile
2023-01-30 13:57:04 -08:00
burnettk 797ccbad5f remove unneeded divs 2023-01-30 16:47:20 -05:00
Dan a4e4fdbd44 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 b43f7b6cf5 make task show wide, and make repeating form icons match site styles. w/ dfunk 2023-01-30 15:51:48 -05:00
burnettk de607ded0f even textareas need to have blank labels since labels are in FieldTemplate 2023-01-30 14:21:02 -05:00
burnettk 035588120b replace fieldTemplate with unthemed core version and remove labels since that is handled in there 2023-01-30 14:06:41 -05:00
burnettk 4aaf05d935 wrap field template so we can style with margin bottom 2023-01-30 12:37:08 -05:00
burnettk 799ea492dd new mechanism to handle help more in line with how carbon works 2023-01-30 11:53:35 -05:00
Jakub Sokołowski 60b048b698 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 bd9ef740e6 we were expecting an object when doing this check, so codify it 2023-01-28 21:41:31 -05:00
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