Commit Graph

1031 Commits

Author SHA1 Message Date
jasquat c10cc5035c allow overriding the backend url on frontend w/ burnettk 2023-04-26 13:31:12 -04:00
jasquat 871d7a73de some more updates for searching w/ burnettk 2023-04-26 13:24:08 -04:00
jasquat dc9b60676a Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-26 11:16:42 -04:00
jasquat 8ac5f0228f can somewhat search now w/ burnettk 2023-04-26 11:06:01 -04:00
Madhurya Liyanage 66786755f5 Updates related to the new UI changes 2023-04-26 19:54:30 +05:30
jasquat 3984aa16aa attempting to filter process instances with json instead of report filters w/ burnettk 2023-04-25 17:21:38 -04:00
jasquat 04864692b6 added typeahead search for bpmn name and identifier in process instance event list w/ burnettk 2023-04-25 15:30:26 -04:00
jasquat 849232be33 do not iterate over callers if undefined w/ burnettk 2023-04-24 17:06:28 -04:00
Dan 80eabe0eb7 Allow call activities to have instructions for end users, and show up on the interstitial page 2023-04-24 16:41:46 -04:00
jasquat d845745924 also display the process model id in the call activity references modal w/ burnettk 2023-04-24 16:34:16 -04:00
jasquat 60684126af Merge remote-tracking branch 'origin/main' into feature/call-activity-references 2023-04-24 16:17:32 -04:00
jasquat 0446f7c0a5 rename Actions column to Action w/ burnettk 2023-04-24 16:12:08 -04:00
jasquat 882ab451f5 format process instance status strings w/ burnettk 2023-04-24 16:10:45 -04:00
jasquat 7fb5c82bbc give users access to error events if they have access to start a process model w/ burnettk 2023-04-24 15:37:17 -04:00
jasquat ebdefe9f7f make js Task interface act more like ProcessInstanceTask w/ burnettk 2023-04-24 15:01:24 -04:00
jasquat b1f9bbc475 fixed some cypress tests w/ burnettk 2023-04-24 14:40:42 -04:00
burnettk 1a11f5edba Merge remote-tracking branch 'origin/main' into feature/call-activity-references 2023-04-24 13:22:20 -04:00
jasquat 20fa640cf0 add extensions back onto task before returning task show w/ burnettk 2023-04-24 12:58:07 -04:00
Elizabeth Esswein ea5778f269 add modal to display references 2023-04-24 12:21:36 -04:00
jasquat f131196ac8 merged in main and resolved conflicts w/ burnettk 2023-04-24 11:30:27 -04:00
Dan c5cd81975e * Clicking anywhere in the row should take you to the process instance page. 2023-04-23 11:43:25 -04:00
Dan 0468f3beb5 fixing a bit of needless heartbreak. 2023-04-23 11:13:25 -04:00
Dan 02d8a86465 run_pyl 2023-04-22 15:45:20 -04:00
Dan 9a0ef59d93 * Scroll to the top on each update of a process result.
* When displaying an error, scroll to the top of the page.
* Rename a few of the filter titles to better match the titles of the table on the process instances list page.
* Add error_message to the task object - so if a task is in an error state and has a message, we send it to the front end.
* Handle errors on the Interstitial page - so if an error happens during execution it is diplayed, and if an error happened previously, we show it.
* Return the last Errored Tasks if no READY or WAITING tasks exists when calling the Interstitial endpoint.
2023-04-22 15:38:51 -04:00
Elizabeth Esswein 59771d09a3 get callers & pass to diagram editor 2023-04-21 17:22:17 -04:00
jasquat e45adff2e9 some pyl stuff. tests are failing w/ burnettk 2023-04-21 16:32:29 -04:00
jasquat f4af53f1dd Revert "some updates so task_show no longer needs the processor. i think it mostly works w/ burnettk"
This reverts commit f000f47794.
2023-04-21 15:56:32 -04:00
jasquat f000f47794 some updates so task_show no longer needs the processor. i think it mostly works w/ burnettk 2023-04-21 15:54:31 -04:00
jasquat b973ce6186 Merge branch 'main' of github.com:sartography/spiff-arena 2023-04-21 11:21:57 -04:00
jasquat b0d2dc79b8 updated bpmn-js-spiffworkflow for on change on service tasks fix w/ burnettk 2023-04-21 11:21:54 -04:00
Dan 99ab8d3158 minor fixes to the frontend so that he Start button works in all cases and the interstial page's console is not so noisy, and images show up correctly. 2023-04-21 11:21:52 -04:00
Dan Funk 3dca7d2ed4 Merge pull request #221 from sartography/feature/interstitial
Feature/interstitial
2023-04-21 09:28:41 -04:00
jasquat 38a9816781 display placeholder date as lowercase only 2023-04-21 09:26:49 -04:00
burnettk da98f876a0 fix placeholder text, etc 2023-04-20 17:26:16 -04:00
Dan 259290846d fallout from recent changes to Main. 2023-04-20 16:55:13 -04:00
jasquat 0988b371ec do not show full group path in process model search and do not attempt to convert a date to ymd if it is already ymd w/ burnettk 2023-04-20 16:11:17 -04:00
Dan a6adb98a19 Merging with main. 2023-04-20 16:06:22 -04:00
jasquat 7251777382 use the correct method when converting time strings in react w/ burnettk 2023-04-20 15:48:36 -04:00
Dan fd4489076f pyl 2023-04-20 15:42:57 -04:00
Dan 5c0e6084ab * Because end events won't always have information, allow the interstitial api endpoint to return the last task, even if it doesn't have any end user information. This prevents us from just redirecting everthing back to the home page and encourages better end event messaging.
* Cleaning up icons so they are a little smaller and more consistent.
* Always show that action column.
* Improve the state managment and layout of the interstitial page.
2023-04-20 15:27:32 -04:00
jasquat 8cc2d56dbd merged in main and resolved conflicts w/ burnettk 2023-04-20 14:10:23 -04:00
jasquat 48ff72b00b pass full tasks list to react diagram editor for coloring w/ burnettk 2023-04-20 12:05:35 -04:00
jasquat 1b65a277c4 properly save task and instance exceptions to the db and display in the frontend w/ burnettk 2023-04-20 11:49:34 -04:00
jasquat 08271da363 store stacktrace as a json array so we can reverse it when displaying and fixed up display of errors 2023-04-20 08:31:55 -04:00
jasquat 6fa18c53df some debug stuff 2023-04-20 07:35:39 -04:00
Dan 5b44632af8 don't complain in the CI so much, and go ahead and set dependencies in effect() if it doesn't hurt to do so. 2023-04-19 20:01:34 -04:00
Dan 4040614b22 * add a user section to the acceptance tests, this is all that is required to allow the cypress tests to run against the built-in open-id.
* If the interstitial page does not receive any tasks, it should redirect the main home page.  I think this allows all the cypress tests to pass - as the most common moment for this to occur is when an end event has no documentation on it.
2023-04-19 18:46:08 -04:00
jbirddog ff0202f4d4 Called elements (#218) 2023-04-19 18:07:15 -04:00
Dan a8fd0a246d run pyl. 2023-04-19 17:00:09 -04:00
jasquat b1568fb472 fixed test w/ burnettk 2023-04-19 15:52:11 -04:00
jasquat 9254d19b74 display event errors in the frontend using errorDisplay w/ burnettk 2023-04-19 15:20:19 -04:00
Dan d73baedcbe Merge remote-tracking branch 'origin/main' into feature/interstitial 2023-04-19 15:18:10 -04:00
jasquat 6747d9df3d added api to get error details for an event and added simple modal on frontend to show it 2023-04-19 13:56:00 -04:00
Dan be14b9c05f Add a test for the interstitial endpoint.
Assure all "GO" buttons lead to the interstial page, and display differently depending on if there is anything you can actually do.
2023-04-19 13:52:29 -04:00
Dan 5297e4c9cc Add lock icon 2023-04-18 19:36:45 -04:00
Dan 933ccc02ef make sure we can properly display lanes. 2023-04-18 19:36:31 -04:00
Dan 02e8add28f cleaing up the design a little bit so it looks pretty and in keeping with the rest of the site. 2023-04-18 16:58:59 -04:00
jasquat 584a0df7cb downgrade rjsf to last v5 beta version since the actual release breaks our usage of oneOf w/ burnettk 2023-04-18 15:19:16 -04:00
jasquat 1b9e867d5d log filtering is working and downgraded react-router-dom since it broke editing bpmn diagrams w/ burnettk 2023-04-18 12:36:45 -04:00
jasquat 3c3dd6000c merged in main and resolved conflicts w/ burnettk 2023-04-18 11:04:44 -04:00
jasquat 8d1aaec641 Merge pull request #215 from sartography/feature/update_carbon_react
updated carbon react to 1.27 for react 18 support and updated all oth…
2023-04-18 10:58:36 -04:00
Madhurya Liyanage 56ac6e0d30 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-04-18 19:59:39 +05:30
Madhurya Liyanage a6a86690f0 Updates to match the PP1 process/UI changes 2023-04-18 19:58:32 +05:30
jasquat 541da76193 updated missing columns on homepage to go to instance page and fixed waiting for me table returning incorrect tasks 2023-04-18 10:27:38 -04:00
jasquat be15c01b2e added api to get task types and added combo box w/ burnettk 2023-04-17 17:26:05 -04:00
jasquat f6a0fd2448 updated carbon react to 1.27 for react 18 support and updated all other libraries for it w/ burnettk 2023-04-17 16:25:10 -04:00
Dan 47a3332ed3 Assure we save after every chunk of tasks get completed on the interstital endpoint.
Fix a merge screwup in the workflow execution service
Add an instructions for end user component so we can reuse the logic in multiple places.
Split up the intersitital page so that it clears out the interval timer.
2023-04-17 14:43:30 -04:00
jasquat 2caa42700c some more log stuff using debounce w/ burnettk 2023-04-17 11:08:00 -04:00
Dan 19d4fb9981 Add the new process insterstitial to the frontend. 2023-04-14 15:49:06 -04:00
Dan 8a6426efec drop completed_tasks from the task_api object
Show the "next" task if no task is provided on the task_show api endpoint
Adding interstitial endpoint
Rename run to run_and_save
Remove repeated code from execution strategy
Adding interstital frontend page
2023-04-14 15:44:59 -04:00
jasquat 1768618f27 attempting to move filters from instance table to own component 2023-04-14 15:42:01 -04:00
jasquat a2130ec1d2 fix cypress tests 2023-04-14 10:00:06 -04:00
jasquat 03b30ec7ec Merge remote-tracking branch 'origin/main' into feature/home_page_refactor 2023-04-14 09:20:30 -04:00
Elizabeth Esswein e21d264756 Merge pull request #211 from sartography/feature/process-map-enhancements
Feature/process map enhancements
2023-04-13 18:47:04 -04:00
jasquat 4a96b56aec stop refreshing homepage if unauthorized w/ burnettk 2023-04-13 17:09:36 -04:00
jasquat c9785b2c34 pyl and turn back on autoreload for homepage w/ burnettk 2023-04-13 16:56:49 -04:00
jasquat fd25bb64d7 updated text on home page w/ burnettk 2023-04-13 16:36:46 -04:00
jasquat 700c2d9ef5 Merge remote-tracking branch 'origin/main' into feature/home_page_refactor 2023-04-13 14:12:14 -04:00
jasquat 5d1dc716fd displaying process instances instead of tasks functionality is mostly complete. still need to update text on homepage and some cleanup 2023-04-13 14:12:09 -04:00
burnettk cad1cf62a7 bump timeout and use new process name 2023-04-13 12:38:55 -04:00
jasquat 17e266f9ee updated all instance reports for the in progress instances page 2023-04-13 07:42:41 -04:00
jasquat 7a566d2314 display the date in a react json schema form like the config but change it to y-m-d for processing w/ burnettk 2023-04-12 15:49:54 -04:00
jasquat a5fa3f8cde some initial work for home page refactor w/ burnettk 2023-04-12 14:32:34 -04:00
Elizabeth Esswein 234c533816 add coloring for cancelled tasks 2023-04-12 13:51:29 -04:00
jasquat 28f8a810ca use correct date format in date picker on form page. w/ burnettk 2023-04-12 12:45:37 -04:00
jasquat 9802716f19 show model display to the left of the identifier in process model search box w/ burnettk 2023-04-12 11:30:25 -04:00
jasquat cafc7209a0 allow setting date format using an env var at boot time w/ burnettk 2023-04-11 17:25:46 -04:00
Kevin Burnett 3f204eaa2b Merge pull request #208 from sartography/feature/prometheus-metrics
Feature/prometheus metrics
2023-04-11 19:51:35 +00:00
jasquat f54381fb10 removed some debug info w/ burnettk 2023-04-11 15:50:42 -04:00
jasquat f00b2e9f7d added script to build frontend so it can add version info to the index.html file w/ burnettk 2023-04-11 15:48:34 -04:00
jbirddog 674169e3f4 Disable buttons based on permissions (#209) 2023-04-11 14:38:41 -04:00
jasquat 454528d55b attempt to get version info in frontend w/ burnettk 2023-04-07 16:30:44 -04:00
jasquat 3c0b0833b0 updated bpmn-js-spiffworkflow for on change fix w/ burnettk 2023-04-07 12:03:01 -04:00
burnettk 07337cd7b8 get in line with new wording 2023-04-06 18:01:23 -04:00
jasquat 3111195f78 updated pilot tests w/ burnettk 2023-04-06 12:06:05 -04:00
jasquat 649d454bc0 moved NDR_PP1 tests to pilot dir and default configs back to what they were w/ burnettk 2023-04-06 11:42:24 -04:00
jasquat 0e14f3e568 Merge remote-tracking branch 'origin/main' into feature/store_boundary_events_properly 2023-04-06 11:28:31 -04:00
jasquat 2c1433544f Merge remote-tracking branch 'origin/main' into feature/store_boundary_events_properly 2023-04-06 11:23:11 -04:00
Madhurya Liyanage 07dacdff99 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-04-06 20:17:13 +05:30
Madhurya Liyanage 3e5727188d Added cypress-file-upload 2023-04-06 20:01:54 +05:30
Madhurya Liyanage 67a1f152e6 Updated the button click to support when there are multiple processes for the user 2023-04-06 20:01:24 +05:30
Madhurya Liyanage 77e4f50809 File upload fixtures 2023-04-06 20:00:02 +05:30
Madhurya Liyanage 464861c3df PP1 Version 1 users 2023-04-06 19:59:15 +05:30
Madhurya Liyanage c76a427e6e PP1 Version 1 test scripts 2023-04-06 19:58:24 +05:30
jbirddog 20cec0f2a2 Type ahead widget (#205) 2023-04-05 14:27:20 -04:00
jasquat 140761c198 WIP - not getting a keyerror with an escalation boundary event now w/ burnettk 2023-04-05 14:22:37 -04:00
Dan 4fc72f92b7 Merge branch 'main' of github.com:sartography/spiff-arena into main 2023-04-05 11:14:35 -04:00
Dan a37c7fbe92 Fix for lanes in bpmn-js 2023-04-05 11:14:20 -04:00
jasquat 5d80a17c1a Merge pull request #204 from sartography/feature/bypass_checks_for_save_as_draft
Feature/bypass checks for save as draft
2023-04-05 10:03:59 -04:00
Dan 001d7c947f revert recent updates to bpmn-js 2023-04-04 17:18:11 -04:00
jasquat b69b9f7d2a make sure we prcoess the parents and children of failing spiff tasks as well since these do not go through the normal flow w/ burnettk 2023-04-04 15:48:34 -04:00
Dan 77a1c1a3db Fixing lane error in the spiff-bpmn-io library 2023-04-04 14:47:33 -04:00
jasquat 4d0fd37b43 Merge remote-tracking branch 'origin/main' into feature/bypass_checks_for_save_as_draft 2023-04-04 09:14:06 -04:00
jasquat 1a76671d59 notion 239: use onclick to submit form when saving form as draft to avoid form validations 2023-04-04 09:13:56 -04:00
burnettk 75514e0c47 update pp1 test 2023-04-04 01:17:02 -04:00
jasquat 90c1242032 Merge pull request #202 from sartography/feature/fix_process_instance_rewind_two
Feature/fix process instance rewind two
2023-04-03 13:47:39 -04:00
jasquat 9f72b02c41 some cleanup and added back in option to get most recent tasks only 2023-04-03 11:40:26 -04:00
jasquat 0ff54c9ce8 cleaned up the reset code w/ burnettk 2023-03-31 15:42:18 -04:00
Dan 56137a2425 Zoom to fit viewport when opening a diagram. 2023-03-31 14:56:29 -04:00
jasquat 6dd4537da2 added ability to save a form as draft w/ burnettk 2023-03-31 12:45:14 -04:00
jasquat b441c59fde some cleanup before merging to main w/ burnettk 2023-03-31 10:57:13 -04:00
jasquat 1ee6753c28 Merge remote-tracking branch 'origin/main' into feature/fix_process_instance_rewind 2023-03-28 15:07:36 -04:00
burnettk 2f0114bac3 notion 183: Home Page Refresh, keep it refreshing for 4 hours instead of 10 minutes 2023-03-28 13:41:58 -04:00
jasquat 2df8d3eabb Merge remote-tracking branch 'origin/main' into feature/fix_process_instance_rewind 2023-03-27 16:10:26 -04:00
Kevin Burnett 8c481f29fb Merge pull request #194 from sartography/feature/filter-metadata-columns-by-process-model
Feature/filter metadata columns by process model
2023-03-27 12:37:24 -07:00
jasquat fba0860227 allow searching multiple words when searching for process models w/ burnettk 2023-03-27 11:25:55 -04:00
jasquat 1ae29c1599 process children and tasks of parent subprocesses instead of looking for all tasks with a given state w/ burnettk 2023-03-27 10:37:31 -04:00
burnettk 54927ef62c filter report column list by process_model_identifier if any 2023-03-24 17:54:37 -04:00
burnettk a327d604a1 Merge branch 'main' of github.com:sartography/spiff-arena 2023-03-24 11:21:18 -04:00
burnettk 729d3e9566 treat open differently 2023-03-24 11:19:24 -04:00
jasquat 5dc8c257a9 fixed cypress process instance test w/ burnettk 2023-03-24 11:10:04 -04:00
jasquat decf9ba062 Merge remote-tracking branch 'origin/main' into feature/remove_spif_step_details 2023-03-24 09:23:59 -04:00
jasquat a6e7678a1d fixed cypress tests for tasks 2023-03-24 09:21:23 -04:00
jasquat d2d0e7e992 attempted to fix some cypress tests 2023-03-23 17:34:08 -04:00
jasquat 0ae74f8f35 removed spiff step details w/ burnettk 2023-03-23 16:33:30 -04:00
jasquat 94cd732ebd save timestamps when manually completing a task and some cleanup w/ burnettk 2023-03-23 16:07:25 -04:00
jasquat 77ae760586 fixed editing task data and skipping tasks, moved task and task data methods from process_api_blueprint to tasks_controller, and updated to favor task_guid over task_id in some places 2023-03-23 14:28:20 -04:00
jasquat f45f2c1cc6 added link to go back to most recent 2023-03-23 13:55:16 -04:00
jasquat 250298e9ad some updates to add the log link back into the log list w/ burnettk 2023-03-23 11:08:23 -04:00
jasquat 26af07befd resetting tasks somewhat work 2023-03-22 09:44:13 -04:00
jasquat 034201b01c pyl 2023-03-21 13:34:59 -04:00
jasquat 8baa38d22b use consistent types for tasks in webui instance show page and mark the to task guid task as ready in backend 2023-03-21 10:45:10 -04:00
jasquat b1e9e8fabe Merge remote-tracking branch 'origin/main' into feature/remove_spif_step_details 2023-03-21 09:05:03 -04:00
jasquat 94caddf9de send to task guid to signify how far to go with the tasks w/ burnettk 2023-03-20 17:29:53 -04:00
jasquat b957954d30 get task data from json data table now w/ burnettk 2023-03-20 17:05:15 -04:00
jasquat bc58de809e use task table for process instance show page. spiff steps are not working yet and neither is data w/ burnettk 2023-03-20 16:51:29 -04:00
burnettk d9927506eb update the word Filter to Apply 2023-03-20 12:41:58 -04:00
jasquat bf1ae79921 Merge remote-tracking branch 'origin/main' into feature/remove_spif_step_details 2023-03-20 12:13:39 -04:00
jasquat c321e4ff6d reformatted click filter button message and activate filter button when clearing fields w/ burnettk 2023-03-20 12:13:28 -04:00
jasquat 9765f74bc0 some more updates w/ burnettk 2023-03-20 12:04:22 -04:00
jasquat 7a891c786d check if process initiator exists before running a process instance report w/ burnettk 2023-03-20 10:53:23 -04:00
jasquat 7696ae8efe activate filter button for status change as well and do not hide table when changing filters but do show help text w/ burnettk 2023-03-20 10:03:26 -04:00
Kevin Burnett 1b485932b9 Merge pull request #188 from sartography/bug/hide_table_when_changing_filters
If filters are modified, enable the filter button, display a message …
2023-03-17 17:11:21 -07:00
burnettk 159488de58 remove link on log list table because it is broken 2023-03-17 17:40:44 -04:00
Dan 8bcf16908d If filters are modified, enable the filter button, display a message asking users to press the filter button. Don't render the table. Sigh. 2023-03-17 16:36:31 -04:00
jasquat 2f60077b82 removed some notes w/ burnettk 2023-03-17 15:57:00 -04:00
jasquat 3782864dc9 added event logs for skipping and manually editing a task 2023-03-17 13:51:56 -04:00
jasquat 88df3bd5c3 added process instance event table 2023-03-17 13:20:06 -04:00
jasquat e0dbb6a768 updated log list view in frontend w/ burnettk 2023-03-17 10:30:29 -04:00
Dan f5f0c86bf4 avoid the flicker when switching between detailed view and normal view by just clearing out the data before making a new request. The vast majority of the delay is not in the api call, but in rendering the data - and at just a split second, it isn't long enough for a spinner to be very effective. 2023-03-16 11:54:09 -04:00
burnettk eb763342ce Merge remote-tracking branch 'origin/main' into feature/remove-loop-reset 2023-03-15 14:14:50 -04:00
Dan efcc083638 Columns should not be removed on reset, but any filters applied to those columns should be removed. 2023-03-15 12:26:47 -04:00
Elizabeth Esswein 2ba583577a Merge branch 'main' into feature/remove-loop-reset 2023-03-15 10:36:11 -04:00
Dan 11339f3130 remove any filterable columns when doing a "clear" or "reset" on the filter form.
Also clear out the process initiator.
2023-03-14 14:02:15 -04:00
Dan d7e7ee823b Remove nav from task show page 2023-03-14 13:24:12 -04:00
Dan 75910bcb8d run_pyl 2023-03-13 11:53:42 -04:00
Dan ce3ce4fb45 select intiator in filters when you don't have permission to search users. 2023-03-13 11:50:18 -04:00
Dan Funk c75a91f511 Merge pull request #172 from sartography/feature/click_on_row
When a row is clicked in a Process Instance list take the end user to…
2023-03-10 13:56:10 -05:00
Dan 1de9887711 Fixing Cypress Tests 2023-03-10 12:56:37 -05:00
burnettk 12c4c35567 fix dates on mac 2023-03-10 12:23:42 -05:00
jasquat 3428d9a394 add more details to cypress pilot script w/ burnettk 2023-03-10 10:52:37 -05:00
Dan aa2c21efb4 When a row is clicked in a Process Instance list take the end user to that process instance UNLESS they click on the column containing the process name, in which case take them to that process model. Belugh. 2023-03-10 10:36:42 -05:00
burnettk 91ddb0cbdd add keycloak users 2023-03-10 10:27:29 -05:00
jasquat 2464ad9a26 some updates for cypress pp1 test w/ burnettk 2023-03-09 10:59:20 -05:00
burnettk 942ffff41c ignore ATTEMPTS when command is open, as it only makes sense for run 2023-03-09 10:34:34 -05:00
Elizabeth Esswein 2ecfecb9b4 Merge branch 'main' into feature/remove-loop-reset 2023-03-09 09:55:52 -05:00
burnettk 157e0004bd make logging more verbose in debug mode by making all loggers do something, fix cypress 2023-03-09 00:38:29 -05:00
jasquat 8fb62ba123 do not remove columns when clicking the filter button w/ burnettk 2023-03-08 16:57:12 -05:00
jasquat ade6c5d0f8 add task to process instance breadcrumb w/ burnettk 2023-03-08 15:09:23 -05:00
jasquat 51e7ac00ad added process instance breadcrumb to task show page w/ burnettk 2023-03-08 15:08:24 -05:00
jasquat 0be466ba9a Merge branch 'main' of github.com:sartography/spiff-arena 2023-03-08 14:45:16 -05:00
jasquat 6e363eb7fc updated process instance show page to change metdata to details w/ burnettk 2023-03-08 14:45:12 -05:00
Dan a303de95a4 Don't reenable the submit button after an error 2023-03-08 14:41:12 -05:00
jasquat 65aeca98bc initial changes to remove loop reset with spiff w/ burnettk 2023-03-08 13:06:25 -05:00
jasquat cc57e6c97d 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 a488dacad1 print stats to file when running cypress_pilot w/ burnettk 2023-03-07 14:26:06 -05:00
jasquat 32e61027dc merged in main and resolved conflicts 2023-03-07 09:19:09 -05:00
burnettk d5800c5a40 lint and show version control identifier on process model show 2023-03-06 23:23:10 -05:00
burnettk f075a84dd6 force light mode to avoid making the site look broken 2023-03-06 22:04:03 -05:00
burnettk 285b128879 use a1 automated test users 2023-03-06 21:53:00 -05:00
burnettk c329a69602 add cypress pilot script 2023-03-06 21:41:27 -05:00
burnettk ddf78d495d cypress pilot command 2023-03-06 17:13:48 -05:00
jasquat 94776a78b5 some minor tweaks and turn off debug logging for spiff step details w/ burnettk 2023-03-06 16:16:55 -05:00
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