Commit Graph

838 Commits

Author SHA1 Message Date
jasquat 4ee7b299f2 pyl and fixed cypress tests w/ burnettk 2023-03-06 11:59:33 -05:00
burnettk 13b8571f1b move pp1 2023-03-06 11:24:11 -05:00
Dan e0017e4a88 Minor tweak to bpmn-io editor for messages. 2023-03-06 10:45:47 -05:00
burnettk 7220496127 remove only 2023-03-06 09:31:38 -05:00
burnettk 342e6091c5 finish test for pp1 2023-03-06 00:48:07 -05:00
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
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
jasquat 9eb705ca76 show the error and success notifications when appropriate when editing xml for json w/ burnettk 2023-01-10 14:43:05 -05:00
jasquat c89c4545c3 only load file references when needed to avoid unnecessary xml errors w/ burnettk 2023-01-10 14:28:14 -05:00
jasquat f4a9770a66 Merge remote-tracking branch 'origin/main' into feature/add_some_xml_validations 2023-01-10 13:23:19 -05:00
jasquat a24fca0e30 some updates to validate xml when uploading and saving w/ burnettk 2023-01-10 12:16:24 -05:00
mike cullerton 74d57c31a7 Merge branch 'main' into feature/waku-fault-message 2023-01-10 08:47:31 -05:00
Elizabeth Esswein 47cec2fd27 handle subprocesses in navigation 2023-01-09 23:14:23 -05:00
jasquat 338cf8fa5a 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 30e5f44bf8 more debug logs w/ burnettk 2023-01-09 17:05:27 -05:00
jasquat 819aeca9bd more debugging and do not watch ProcessModel with getting processes w/ burnettk 2023-01-09 16:40:44 -05:00
jasquat fa3d727b60 added in debug logging for launching call activity editor w/ burnettk 2023-01-09 16:24:36 -05:00
jasquat 73302c9ef6 fixed cypress config w/ burnettk 2023-01-09 16:00:02 -05:00
mike cullerton 03b961b53f 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 7f21328b7f actually filter by process initiator w/ burnettk 2023-01-06 15:50:47 -05:00
jasquat 0513413557 highlight tasks even if they are in subprocesses of called activities w/ burnettk 2023-01-06 12:00:24 -05:00
jasquat 618bbeb18a added fix to SpiffWorkflow to deepcopy operation params before evaluating them w/ burnettk 2023-01-05 17:29:28 -05:00
jasquat 499a9562c3 basic support to find a process instance by id w/ burnettk 2023-01-05 14:59:59 -05:00
Elizabeth Esswein 34b78baa65 Merge branch 'main' into feature/process-nav-improvements 2023-01-05 10:46:52 -05:00
jasquat 1d1b2e7e85 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 cb8c9258c7 Merge branch 'main' into feature/process-nav-improvements 2023-01-05 10:27:31 -05:00
burnettk 183be5e9a3 extract some duplicated text into vars to appease eslint 2023-01-04 21:22:32 -05:00
burnettk 81c966e5c8 remove arbirary waits with no comments 2023-01-04 21:17:36 -05:00
burnettk 1162e068ad restore assertion 2023-01-04 21:10:21 -05:00
burnettk 479969db16 Merge remote-tracking branch 'origin/main' into bug/cypress-tests 2023-01-04 20:58:03 -05:00
jasquat ee650e6039 added ability to filter process instances by process initiator 2023-01-04 16:11:52 -05:00
jasquat 63a0007238 pyl w/ burnettk 2023-01-04 13:18:05 -05:00
jasquat e915b83177 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 abacdf96e6 merged in main and resolved conflicts 2023-01-04 11:56:33 -05:00
jasquat 2c4ae424a4 added new page to create process models using english text w/ burnettk 2023-01-03 17:26:01 -05:00
burnettk 11030e99bd allow specifying number of iterations 2022-12-30 17:00:24 -05:00
jasquat 7c88f2f756 adjust the process model file actions so they do not stack as easily w/ burnettk 2022-12-30 15:44:58 -05:00
jasquat 69e14c93d7 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 3506b19f66 cleaned up some debug code w/ burnettk 2022-12-30 15:30:32 -05:00
jasquat 9058a27b10 moved error display to own component w/ burnettk 2022-12-30 15:05:22 -05:00
jasquat bd96844caa do not error when removing columns from instance column filters w/ burnettk 2022-12-30 13:59:52 -05:00
jasquat 840d2f0937 added all users to waiting for column on task list tables w/ burnettk 2022-12-30 12:30:23 -05:00
Elizabeth Esswein 01277ef7c3 Merge branch 'main' into feature/process-nav-improvements 2022-12-30 11:41:08 -05:00
Elizabeth Esswein 7fde6117f1 redirect to current step when resetting process instance 2022-12-30 10:45:21 -05:00
burnettk ba2e77f25f Merge branch 'feature/process_api_blueprint_refactor' of github.com:sartography/spiff-arena into feature/process_api_blueprint_refactor 2022-12-30 09:31:07 -05:00
burnettk 2579d51822 stats script 2022-12-30 09:30:44 -05:00
jasquat 4b328df7c5 allow tests to determine what paginated entity id to use to determine a table has loaded 2022-12-30 09:13:03 -05:00
Elizabeth Esswein 4327dc7925 improve button labels 2022-12-29 20:11:18 -05:00
Elizabeth Esswein 72100e6d92 allow option to complete single tasks with or without execution 2022-12-29 17:21:17 -05:00
Elizabeth Esswein 0edb890470 add endpoint to reset process to earlier step 2022-12-29 15:26:29 -05:00
Elizabeth Esswein f24d751450 Merge branch 'main' into feature/process-navigation 2022-12-29 12:09:47 -05:00
burnettk 744460fdbf make pagination test work for instances as well 2022-12-28 23:25:03 -05:00
burnettk 492f9478fc fix another race conditions in instance cypress test 2022-12-28 23:14:17 -05:00
burnettk 5199555996 delete videos on success and address race condition in cypress test 2022-12-28 22:55:46 -05:00
jasquat 3a7a80ded1 added better error message for failed tasks w/ burnettk 2022-12-28 16:29:17 -05:00
jasquat 3c823d8405 make sure we are using the same notification component on all pages w/ burnettk 2022-12-28 15:03:02 -05:00
burnettk 102fb84b47 add baseUrl to cypress configs 2022-12-28 13:46:51 -05:00
jasquat 6e4b137790 Merge branch 'main' of github.com:sartography/spiff-arena 2022-12-28 12:27:40 -05:00
jasquat bca74bc43b fixed some cypress tests and fixed issue where an invalid date caused the page to constantly reload w/ burnettk 2022-12-28 12:27:37 -05:00
jbirddog ccd7b07e12 Revive report deletion (#85) 2022-12-28 11:29:47 -05:00
jasquat 3e26226514 some cypress tests w/ burnettk 2022-12-27 15:42:22 -05:00
jasquat 866346f47b added ability to view data objects from the process instance show page w/ burnettk 2022-12-27 11:45:42 -05:00
burnettk f6c5c005d9 add an underscorize helper and use it for form fields where they need to be python identifiers 2022-12-26 22:54:51 -05:00
burnettk b0b5ccf74d get the language a bit closer 2022-12-24 00:07:17 -05:00
burnettk c4c373aa03 link to correct instances page, fix fin users, ignore coverage files 2022-12-23 20:18:08 -05:00
jasquat 2f2dc6f98c added method to add permissions based on macros w/ burnettk 2022-12-21 17:14:11 -05:00
jasquat db3bbc7603 Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions 2022-12-21 13:51:53 -05:00
Dan c0ede2f24d fixing a linting error 2022-12-21 13:01:38 -05:00
jasquat 74eccab994 pyl w/ burnettk 2022-12-21 11:42:45 -05:00
jasquat da603ffef7 added permission to run privileged scripts w/ burnettk 2022-12-21 11:24:38 -05:00
Dan Funk f9182d19ef Merge pull request #79 from sartography/feature/better_unit_tests
A little cleanup around the Script Unit Tests - so that it's easier to show this feature off
2022-12-21 11:09:26 -05:00
Dan 9d3aec8c20 Merge branch 'main' of github.com:sartography/spiff-arena into main 2022-12-21 11:06:17 -05:00
Dan a0bbab43d0 A hot path that will assume the backend is running on a port that is one less than the front end port (rather than assuming 7000)
Updating the docker-compose for all of SpiffArena so that it will fire up on ports 8000 -> 8004 rather than 7000 which has a common conflict with Apple AirPlay
2022-12-21 11:06:09 -05:00
burnettk 70980c5261 lint and upgrade cypress 2022-12-21 09:29:54 -05:00
burnettk f171ab49a4 Merge remote-tracking branch 'origin/main' into bug/cypress-tests 2022-12-20 22:05:21 -05:00
jasquat 00ba65d12a Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions 2022-12-20 17:00:58 -05:00
jasquat d7ea9ebfe8 fixed get tasks and process instances by group w/ burnettk 2022-12-20 16:02:27 -05:00
jasquat 92258c6f9a pyl w/ burnettk 2022-12-20 15:47:30 -05:00
jasquat 5a6e181a99 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat 8f2bc4c8a4 added test for report filters w/ burnettk 2022-12-20 12:29:14 -05:00
Elizabeth Esswein 54d6804421 fix conflicts for like the thousandth time 2022-12-20 10:41:45 -05:00
burnettk 77f0660444 process model show now only shows my instances 2022-12-19 22:37:22 -05:00
jasquat a5d957bcdd fix getting task info for a process instance w/ burnettk 2022-12-19 17:11:39 -05:00
jasquat eb98086cb6 created process instance list and show pages to handle all and for-me w/ burnettk 2022-12-19 16:16:27 -05:00
Elizabeth Esswein 4390e90a2b fix conflicts yet again 2022-12-19 15:28:44 -05:00
jasquat 389c919d99 merged in main and resolved conflicts w/ burnettk 2022-12-19 14:51:54 -05:00
jasquat d9e0c8cda7 fixed file upload and do not allow submitting task data to a suspended process instance w/ burnettk 2022-12-19 14:28:54 -05:00
jasquat f152195335 updates to disallow modifying a process instance when it is not in the correct state w/ burnettk 2022-12-19 12:55:25 -05:00
jasquat aec0416eed do not allow editing task data for process instances that are not suspended and some code cleanup w/ burnettk 2022-12-19 11:54:22 -05:00
Dan 624811a7c0 Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions 2022-12-19 10:05:47 -05:00
Elizabeth Esswein 54426b19bf allow marking task complete without executing 2022-12-18 10:44:42 -05:00
Elizabeth Esswein 8d8f766d45 fix conflicts again 2022-12-18 10:42:19 -05:00
jasquat 66c5272766 added completed column to active task w/ burnettk 2022-12-16 16:51:49 -05:00
Elizabeth Esswein e23a5be152 update url to allow permissions on send event 2022-12-16 16:22:59 -05:00
jasquat 45fde3f262 terminating a process instance is a POST w/ burnettk 2022-12-16 16:08:04 -05:00
jasquat f9c1036cce some basic stuff for showing only relating items to user w/ burnettk 2022-12-16 16:07:40 -05:00
Dan db29bcde57 Bug fixes for Script Unit Test user interface -- don't bug out on invalid json. 2022-12-16 15:43:49 -05:00
Dan 75bd973ae0 Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions 2022-12-16 15:25:10 -05:00
jasquat d5f72cbd24 fixed file upload of new files and get 1000 process models to list tiles page w/ burnettk 2022-12-16 15:12:14 -05:00
jasquat 2d37a0295f some more updates for text w/ burnettk 2022-12-16 14:41:13 -05:00
jasquat c180561351 updated some text for task tables w/ burnettk 2022-12-16 14:21:04 -05:00
jasquat bb6e7713f2 merged in main and resolved conflicts w/ burnettk 2022-12-16 13:53:43 -05:00
jasquat 22420d0efb merged in main and pyl passes 2022-12-16 13:17:38 -05:00
jasquat 2e334d3bb1 Merge remote-tracking branch 'origin/main' into feature/better_unit_tests 2022-12-16 13:16:08 -05:00
jasquat ebe46c8e5e Merge pull request #75 from sartography/bug/replace-file-warning
Confirm before overwriting file when uploading file with same name
2022-12-16 13:15:44 -05:00
jasquat 04fed0c004 Merge pull request #74 from sartography/bug/delete-primary-warning
Don't show delete button for primary file
2022-12-16 13:15:28 -05:00
jasquat bed4182e12 Merge pull request #73 from sartography/bug/save-file-message
Add a message when file is saved.
2022-12-16 13:15:03 -05:00
Elizabeth Esswein dfa1a9376f fix conflicts & update event url to match other process instance urls 2022-12-16 12:53:36 -05:00
jasquat 662a1ec5d6 added new api endpoint to get task-info so users with access to process instances can see the tasks but not the data 2022-12-16 11:39:07 -05:00
mike cullerton 9870a0b040 fixed process model tests 2022-12-15 17:59:01 -05:00
mike cullerton cf48d572f6 fixed a path issue with the breadcrumb 2022-12-15 17:49:20 -05:00
jasquat ea1daec7a8 get all of the process identifiers that the diagram knows about so we can display the correct task info 2022-12-15 14:55:06 -05:00
Dan 4c0abf9bcd Fixes a bug that was causing tests to be added to the incorrect task.
Clean up UI for a better experience when viewing tests.
2022-12-15 14:45:35 -05:00
jbirddog eb55bfc763 Allow viewing/editing xml of bpmn and dmn files (#76) 2022-12-15 11:56:54 -05:00
Elizabeth Esswein 024cceda71 Merge branch 'main' into feature/process-navigation 2022-12-15 11:28:46 -05:00
Elizabeth Esswein b73e52afbd fix event UI 2022-12-15 08:47:06 -05:00
burnettk c0d08f2abc words 2022-12-14 22:26:09 -05:00
jasquat d95a05a60a process model cypress tests are passing w/ burnettk 2022-12-14 17:45:31 -05:00
jasquat 1e62a77e81 some fixes for ci w/ burnettk 2022-12-14 17:09:43 -05:00
Elizabeth Esswein db57a7ab78 working but barely functional UI for manually sending events 2022-12-14 15:21:39 -05:00
jasquat 38ca1d60b3 throw error if not logged in w/ burnettk 2022-12-14 12:24:38 -05:00
jasquat 7dd2e81048 force login if not logged when navigating to frontend w/ burnettk 2022-12-14 12:23:49 -05:00
jasquat a34fd707db Merge pull request #72 from sartography/feature/view_call_activity_diagram
Feature/view call activity diagram
2022-12-13 16:46:52 -05:00
jasquat 15f55df46d pyl and fix test w/ burnettk 2022-12-13 16:44:46 -05:00
mike cullerton c2a9a8d22d use forEach 2022-12-13 15:57:46 -05:00
burnettk 91e6b2e88b gitignore things 2022-12-13 14:32:21 -05:00
mike cullerton bdb622232d Add a message when file is saved. 2022-12-13 14:20:53 -05:00
jasquat 620d054586 some fixes to ensure we display the correct task data for the diagram elements w/ burnettk 2022-12-13 14:16:28 -05:00
mike cullerton 088826e433 Don't show delete button for primary file 2022-12-13 08:52:02 -05:00
jasquat ac92a6c3ef allow viewing the diagram for a specific process identifier 2022-12-12 15:08:09 -05:00
jasquat 7153045e66 split out completed instances by group as well 2022-12-12 13:41:42 -05:00
jasquat 0bbe67971f updated group api so it is not under tasks 2022-12-12 13:19:27 -05:00
jasquat d9765220bd pyl 2022-12-12 12:29:36 -05:00
jasquat 858bf24edd split group task tables by group and created component for group tables 2022-12-12 12:21:37 -05:00
mike cullerton 4c882a84b6 Confirm before overwriting file when uploading file with same name 2022-12-09 17:44:25 -05:00
jasquat 74bfd22ff9 fixed broken test w/ burnettk 2022-12-09 15:19:43 -05:00
jasquat 6231ccab6c some base work to try to get display names searchable for process models w/ burnettk 2022-12-09 11:23:18 -05:00
jasquat 4878d2329b mypy w/ burnettk cullerton 2022-12-08 17:12:19 -05:00
jasquat d50d95a49c added git creds for pushing on publish w/ burnettk cullerton 2022-12-08 16:39:23 -05:00
jasquat 675c776a5a added new notification component that allows links based on carbons w/ burnettk cullerton 2022-12-08 12:28:23 -05:00
mike cullerton 1ccdd7887b display URL to open PR
*** Need to figure out how to turn this into a link ***
2022-12-08 09:28:41 -05:00
mike cullerton e24ced5c34 Return message to use on successful publish 2022-12-07 14:00:46 -05:00
mike cullerton 8b5e5dc864 Merge branch 'main' into feature/git-integration
# Conflicts:
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
2022-12-06 16:27:36 -05:00
mike cullerton 937ff0dfe8 Merge branch 'main' into feature/git-integration 2022-12-06 15:36:25 -05:00
mike cullerton ee166c4e1c First pass at git integration 2022-12-06 15:31:03 -05:00
burnettk fff7661bc7 break process instance log list page into two tabs, simple and detailed 2022-12-06 12:38:25 -05:00
jasquat b17f977e4c get the columsn for the instance list table anytime filter options are displayed if empty 2022-12-06 09:46:32 -05:00
jasquat cc547ed441 make the frontend uris match the api calls better w/ burnettk 2022-12-05 16:49:27 -05:00
jasquat e889bfc716 more api cleanup w/ burnettk 2022-12-05 16:35:20 -05:00
jasquat bc7c5920b2 cleaned up more api routes for permissions w/ burnettk 2022-12-05 16:06:08 -05:00
jasquat 8b0717be2d updated tasks endpoint to task-data for easier permission setting w/ burnettk 2022-12-05 14:56:55 -05:00
jasquat 55afc22148 pyl w/ burnettk 2022-12-05 14:10:07 -05:00
jasquat fe70c5aac7 Merge remote-tracking branch 'origin/main' into new_report 2022-12-05 14:07:32 -05:00
jasquat 463e763665 some updates to fix up saving perspectives w/ burnettk 2022-12-05 14:07:26 -05:00
Dan 318bfd3d71 Use the identifier, not the id when locating a process model or dmn table. 2022-12-05 13:29:46 -05:00
jasquat bfb2c5627a using an array for metadata extraction paths now instead of dictionaries w/ burnettk 2022-12-02 16:03:43 -05:00
jasquat 6b75fc32a3 added some support to add process model metadata. need to fix frontend w/ burnettk 2022-12-02 15:46:05 -05:00
jasquat 20ca5a2978 filtering by metadata works w/ burnettk 2022-12-02 13:47:04 -05:00
jasquat 81ef771a37 favor report id over identifier but support both and ui updates to allow setting a condition value on a metadata field, changing the display name, and fixes for saving and updating a report 2022-12-02 10:32:40 -05:00
jasquat 1be7b87b63 updated column form var w/ burnettk 2022-12-01 14:48:44 -05:00
jasquat 3bf23f6624 added ability to update the display name for perspective columns w/ burnettk 2022-12-01 14:46:09 -05:00
jasquat 98c775db8e some updates for process instance reports and metadata w/ burnettk 2022-11-30 17:20:34 -05:00
jasquat 69c62cfdcb better display for failure causes on message list w/ burnettk 2022-11-30 15:35:37 -05:00
jasquat abffccedbd added correlations to message list table w/ burnettk 2022-11-30 15:08:04 -05:00
jasquat 57ddaff26c Merge remote-tracking branch 'origin/main' into new_report 2022-11-29 16:39:45 -05:00
Jon Herron 589361b7fc Choose new report 2022-11-28 17:26:26 -05:00
Jon Herron 49e4db6ae2 Save dates 2022-11-28 17:07:28 -05:00
Jon Herron c21022bf05 Save first status 2022-11-28 16:46:19 -05:00
jasquat 0eeb096d43 added script to save process instance metadata and fixed permissions issue w/ burnettk cullerton 2022-11-28 15:26:50 -05:00
Jon Herron a081c9a93c Save selected process model 2022-11-28 14:14:35 -05:00
Jon Herron 02c113fb54 Use current columns 2022-11-28 13:59:38 -05:00
Jon Herron 6ec3f775af WIP 2022-11-28 13:56:45 -05:00
Jon Herron e5c1ccb60d Save as report component 2022-11-28 13:47:41 -05:00
Dan 4583dcdaac adding the username to the report tables 2022-11-25 17:16:26 -05:00
Dan 83328eef93 allow disabling the permission check for the Create New Instance page to improve performance. 2022-11-25 15:23:08 -05:00
Dan b12fb44f78 Merge branch 'main' of github.com:sartography/spiff-arena into main 2022-11-25 12:28:16 -05:00
Dan 453a782d58 "Continue" rather than "Submit" when displaying manual tasks. 2022-11-25 12:28:08 -05:00
burnettk 02e78bb8c3 Processes you can start is now: Processes I can start 2022-11-25 12:25:37 -05:00
burnettk b571ba0d88 lint 2022-11-25 12:10:42 -05:00
Dan 43d46c5251 Auto Reload the Process Lists on the home pages' in-progress, and complete tabs 2022-11-25 11:56:37 -05:00
Dan 7a926c690e update bpmn-js-spiffworkflow with better data-object handling 2022-11-25 11:56:03 -05:00
Dan 61ec0549bc Clean up css for the filter icon 2022-11-25 11:55:37 -05:00
burnettk 29a2140c14 update wording per harmeet: Tasks for my open processes is now My open instances 2022-11-25 10:58:40 -05:00
burnettk 6a32e5174e heading for instances on model show page, move instances below files, add margins 2022-11-25 10:56:44 -05:00
burnettk 3023c52a2b display name instead of id, margin under table sections, Download xml to Download 2022-11-25 10:23:00 -05:00
burnettk 1d68702d35 do not mislead user about being able to edit and clean up time in words 2022-11-25 02:53:20 -05:00
burnettk f4d40a72dc auto refresh tasks waiting for my groups on homepage 2022-11-25 02:34:25 -05:00
burnettk 2cdd0d0259 time ago in words for in progress tab per harmeet feedback 2022-11-25 02:29:49 -05:00
burnettk b4fc11059b put id before process like completed tab and add title text to explain what is happening 2022-11-25 01:04:30 -05:00
burnettk cb8c7cd0f9 use process model display name rather than id for completed instances tab 2022-11-25 00:30:01 -05:00
burnettk eb0ea547ed left align files section with Start button per harmeet feedback 2022-11-24 11:06:11 -05:00
burnettk 6643e9b711 add fin1, lead1, and Tasks actioned by me to Tasks completed by me 2022-11-24 10:38:25 -05:00
burnettk a725d982fc improve wording 2022-11-23 19:03:00 -05:00
burnettk b5fc5428c0 consistency is key 2022-11-23 18:58:10 -05:00
burnettk 7efccc2a68 remove View label next to process instance id 2022-11-23 18:57:05 -05:00
burnettk d2275101a0 ui feedback 2022-11-23 18:54:25 -05:00
jasquat 851be377ff some ui changes w/ burnettk 2022-11-23 18:44:51 -05:00
jasquat b0e5950405 updated copmleted table text w/ burnettk 2022-11-23 16:42:59 -05:00
jasquat ec4f135559 updated instances table descriptions w/ burnettk 2022-11-23 16:37:33 -05:00
jasquat b5d10e1596 added descriptions to task tables w/ burnettk 2022-11-23 16:26:02 -05:00
jasquat c150ec97a6 updated breadcrumb to use display name w/ burnettk 2022-11-23 15:39:10 -05:00
jbirddog e875256385 Hide perspectives link in nav bar (#59) 2022-11-23 12:28:33 -05:00
burnettk 4e1e99f24a rename process_groups_list to process_group_list and fix lint 2022-11-23 10:42:41 -05:00
jasquat 0eeebc497b some updates to ui homepage to align more with notion doc 2022-11-23 10:23:26 -05:00
jasquat 19333e38b2 fixed cypress tests 2022-11-23 09:38:45 -05:00
burnettk c3439bd690 fix typo 2022-11-23 08:39:25 -05:00
jasquat 4143aae16b some more perm updates for core user w/ burnettk 2022-11-22 17:38:39 -05:00
jbirddog ceefa9a2f7 Start of system report filters (#57) 2022-11-22 17:14:51 -05:00
jasquat e8da399fb0 fixed editing a process model w/ burnettk 2022-11-22 16:41:29 -05:00
jasquat 5dbca5c349 filter process models based on user permissions on the backend if specified w/ burnettk 2022-11-22 16:21:16 -05:00
jasquat ef9628d6a5 use tiles for process models w/ burnettk cullerton 2022-11-22 15:09:42 -05:00
jasquat 77009482cc updated recently viewed table to be recently run and added run button w/ burnettk cullerton 2022-11-22 15:01:10 -05:00
jasquat 99f5e1f5b6 added link to process model tile w/ burnettk cullerton 2022-11-22 14:40:16 -05:00
jasquat 148964b55d moved delete and edit model and group buttons to icons on show pages w/ burnettk cullerton 2022-11-22 14:12:08 -05:00
jasquat e5e6226bb9 created new users for keycloak and fixed some permissions for core user w/ burnettk cullerton 2022-11-22 13:01:08 -05:00
jasquat b25d620777 renamed modifyProcessModelPath to modifyProcessIdentifierForPathParam w/ burnettk 2022-11-22 10:56:40 -05:00
jasquat defecafc5d modify process group id before submitting w/ burnettk 2022-11-22 10:53:29 -05:00
jbirddog 466a8b8ec0 Allow switching between user defined reports (#56) 2022-11-22 09:35:42 -05:00
jasquat 50c137101b added recursive option to process model list to recurse or not and fix some ui components 2022-11-22 09:05:33 -05:00
jasquat ecfb665dad fixed task frontend test 2022-11-22 08:17:17 -05:00
jasquat 1ec8d68ce9 the misc group is now 99-Misc 2022-11-22 07:32:27 -05:00
burnettk 30ddf9f5aa allow longer username 2022-11-21 22:49:09 -05:00
burnettk 54ae3104e9 fix tests and add frontend tests 2022-11-21 22:09:13 -05:00
burnettk ecde7a25df upgrade apscheduler and fix mispelling 2022-11-21 21:15:48 -05:00
jasquat b212524e61 added a script to add a user to a group w/ burnettk 2022-11-21 16:58:39 -05:00
jasquat de392c9fd1 task cypress tests are passing w/ burnettk cullerton 2022-11-21 16:47:04 -05:00
jasquat 5970ad04e0 process model cypress tests are passing w/ burnettk cullerton 2022-11-21 16:19:55 -05:00
jasquat 53d8b3f140 make sure to pass the correct form of process group id when creating a process model w/ burnettk cullerton 2022-11-21 15:39:33 -05:00
jasquat ee39177b20 process instance cypress tests pass now w/ burnettk cullerton 2022-11-21 15:16:54 -05:00
jasquat 92d77f3a51 allow getting all process models, process instances should not save when they are initialized, and fixed some cypress tests w/ burnettk 2022-11-21 14:12:04 -05:00
burnettk dfa44fbb14 iterating on cypress 2022-11-21 10:31:11 -05:00
burnettk bba1497cf7 fix cypress tests 2022-11-20 21:28:23 -05:00