Commit Graph

607 Commits

Author SHA1 Message Date
burnettk d6e05cdbf8
ignore ATTEMPTS when command is open, as it only makes sense for run 2023-03-09 10:34:34 -05:00
Elizabeth Esswein 8daa3672fa Merge branch 'main' into feature/remove-loop-reset 2023-03-09 09:55:52 -05:00
burnettk 178b67d5b1
make logging more verbose in debug mode by making all loggers do something, fix cypress 2023-03-09 00:38:29 -05:00
jasquat f79f0d6116
do not remove columns when clicking the filter button w/ burnettk 2023-03-08 16:57:12 -05:00
jasquat e6267ae75d
add task to process instance breadcrumb w/ burnettk 2023-03-08 15:09:23 -05:00
jasquat 3b5ee8f254
added process instance breadcrumb to task show page w/ burnettk 2023-03-08 15:08:24 -05:00
jasquat eb6e2b6381
Merge branch 'main' of github.com:sartography/spiff-arena 2023-03-08 14:45:16 -05:00
jasquat cafd0f499b
updated process instance show page to change metdata to details w/ burnettk 2023-03-08 14:45:12 -05:00
Dan aae54e2875 Don't reenable the submit button after an error 2023-03-08 14:41:12 -05:00
jasquat f0df36c862
initial changes to remove loop reset with spiff w/ burnettk 2023-03-08 13:06:25 -05:00
jasquat 3862e79ad7
added some code get only the most recent tasks for a process and task, get updated times from human tasks instead of the process instance, and show the current value for the notification type w/ burnettk 2023-03-07 17:13:46 -05:00
jasquat 9b15390f40
print stats to file when running cypress_pilot w/ burnettk 2023-03-07 14:26:06 -05:00
jasquat 00ad48a17c
merged in main and resolved conflicts 2023-03-07 09:19:09 -05:00
burnettk d7f5e561d1
lint and show version control identifier on process model show 2023-03-06 23:23:10 -05:00
burnettk 51f7b60408
force light mode to avoid making the site look broken 2023-03-06 22:04:03 -05:00
burnettk e62a1e424f
use a1 automated test users 2023-03-06 21:53:00 -05:00
burnettk 4441a4a051
add cypress pilot script 2023-03-06 21:41:27 -05:00
burnettk 4fbb2b90fa
cypress pilot command 2023-03-06 17:13:48 -05:00
jasquat ed8dfd2f13
some minor tweaks and turn off debug logging for spiff step details w/ burnettk 2023-03-06 16:16:55 -05:00
jasquat 3271ec6e2d
pyl and fixed cypress tests w/ burnettk 2023-03-06 11:59:33 -05:00
burnettk 6742363a01
move pp1 2023-03-06 11:24:11 -05:00
Dan 6d75c88aa8 Minor tweak to bpmn-io editor for messages. 2023-03-06 10:45:47 -05:00
burnettk 270d74ae14
remove only 2023-03-06 09:31:38 -05:00
burnettk da6a464873
finish test for pp1 2023-03-06 00:48:07 -05:00
burnettk e2d9b395d6
add start of pp1 test 2023-03-04 23:48:23 -05:00
Dan fe4e3e4d9c Fix the super long panel in bpmn-js that is driving me slowly mad 2023-03-03 14:51:50 -05:00
Dan 3bc23ea859 Updating BPMN-JS 2023-03-03 14:32:44 -05:00
burnettk 24f817cdc1
per feedback in demo 2023-03-02 08:34:15 -05:00
jasquat 95e0e7ccc1
removed unused import w/ burnettk 2023-03-01 17:36:06 -05:00
jasquat 0fbe7a3e76
prefer the bpmn process name over the identifier on the logs list page w/ burnettk 2023-03-01 16:28:42 -05:00
burnettk 7c83ce9c3a
make metadata header bigger 2023-02-27 22:36:31 -05:00
Dan f65ed14df3 Merging main 2023-02-27 14:17:10 -05:00
Dan 965739581a run_pyl 2023-02-27 14:05:00 -05:00
Dan 4b4bbeff25 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 d441d082b1
lint w/ burnettk 2023-02-24 16:29:02 -05:00
jasquat e969ea05d3
removed some unused code from task and fixed the logs table a bit w/ burnettk 2023-02-24 16:18:49 -05:00
jasquat 81ef2c7300
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 8463b2cda9
removed task-data endpoints since we no longer need them w/ burnettk 2023-02-23 17:07:53 -05:00
jasquat 6dc42aa273
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 9bf32a7560 Merge remote-tracking branch 'origin/main' into feature/message_fixes 2023-02-23 14:26:04 -05:00
jasquat 6632f9fde2
turn on sentry detailed tracing for task-data w/ burnettk 2023-02-23 11:19:22 -05:00
jasquat 16671f8bff
logs list page should respect the for-me variant 2023-02-23 10:23:26 -05:00
jasquat ccccf8bf96
show help text for textareas as well w/ burnettk 2023-02-22 14:42:43 -05:00
jasquat 27cf9d7284
default to the for-me path on process instance show page links 2023-02-22 09:26:15 -05:00
jasquat bc59ae520e
added support to validate custom errors in nested properties in json schema forms 2023-02-22 08:50:55 -05:00
burnettk 4a28c85e92
make it so the message at the top of form is never strictly wrong 2023-02-21 22:30:17 -05:00
jasquat 9f2af7a777
adding some padding to form text inputs w/ burnettk 2023-02-21 12:43:08 -05:00
jasquat 651ffc711a
added ability to display the environment in the frontend header bar w/ burnettk 2023-02-17 14:35:13 -05:00
Dan 50d3ee544b Merge branch 'main' into feature/message_fixes 2023-02-17 12:01:38 -05:00
Dan 948deb97bc 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 bf6052d2cb
put the env vars in the env section of the github action configs w/ burnettk 2023-02-16 15:19:01 -05:00
jasquat 311a5b060d
added test for quickstart guide w/ burnettk 2023-02-16 15:05:55 -05:00
jasquat 605b48b83a
corrected cypress env var 2023-02-16 13:31:08 -05:00
jasquat 5342b50bac
added some support for using the backend openid server for cypress tests w/ burnettk 2023-02-16 12:09:44 -05:00
burnettk e827b00057 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 c94912c739 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 7a759b2701 avoid endless redirects on error on authentication list page w/ burnettk 2023-02-13 10:25:03 -05:00
burnettk fc67409408 bug fix 2023-02-09 23:10:25 -05:00
jasquat fd8134706d 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 ac9813790c pyl w/ burnettk 2023-02-09 16:03:26 -05:00
jasquat b8870601d1 call activities are also working w/ burnettk 2023-02-09 15:52:00 -05:00
burnettk 51bd0a9d5c add assertions so this fails fast if anything changes in the future 2023-02-08 08:17:02 -05:00
Kevin Burnett cdc383aec7
Update README.md 2023-02-08 11:48:56 +00:00
burnettk b8437e70f8 fix formatting 2023-02-07 22:30:44 -05:00
burnettk c637ea0545 document runtime config 2023-02-07 22:27:27 -05:00
burnettk 9b155ce4a8 do not fail if SPIFFWORKFLOW_FRONTEND_RUNTIME_CONFIG is missing 2023-02-07 22:06:47 -05:00
jasquat 565ee71a17 allow setting configs for the frontend through env vars w/ burnettk 2023-02-07 17:21:54 -05:00
burnettk 5a357045a4 Merge remote-tracking branch 'origin/main' into frontend/use-api-subpath 2023-02-07 11:30:24 -05:00
Dan df49b15292 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 0b3f67abae 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 8ff42f1b1b 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 1e399e05bd Merge branch 'main' of github.com:sartography/spiff-arena into main 2023-02-03 17:01:13 -05:00
Dan d010c2bce6 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 d4f314dadf
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 c3cb288875 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 b3de01cad6 Prevent double click on submit of forms. 2023-02-03 13:25:05 -05:00
burnettk c449d17852 try to improve exception handling by avoiding raising ApiError from services 2023-02-02 19:00:58 -05:00
burnettk 1d68580ae6 remove duplicate label on radio buttons 2023-01-31 16:32:04 -05:00
burnettk a5adb8556d less annoying file name for autocomplete 2023-01-31 09:27:02 -05:00
Jakub Sokołowski 23c8c7f924
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 28e9bcb429 add deps for serve 2023-01-30 22:35:24 -05:00
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