Commit Graph

1712 Commits

Author SHA1 Message Date
jasquat e8e6cac9e5
cleaned up process model tests and added support for service tasks w/ burnettk 2023-05-17 17:28:51 -04:00
jasquat b08386bf77
support call activities in process model test runner w/ burnettk 2023-05-17 16:35:04 -04:00
jasquat 4a8dbd4758
fixed pyl issues and set max threads based on cpu cores w/ burnettk 2023-05-17 14:04:48 -04:00
danfunk 30d1e600f5 cause a rebuild of frontend in jenkins. 2023-05-17 13:50:23 -04:00
jasquat 46bdff6342
do not run validations on save and close on a form w/ burnettk 2023-05-17 12:14:44 -04:00
jasquat f694c7b1f1
no reason to instantiate a ProcessModelService 2023-05-17 10:16:09 -04:00
jasquat b4b1ef52c8
pyl 2023-05-17 10:01:11 -04:00
jasquat 97e0951ddf
Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests 2023-05-17 09:34:21 -04:00
burnettk f24282d012
default to 6 threads and set db pool the same, allowing overrides 2023-05-16 19:24:55 -04:00
burnettk 94fabfbe7d
Merge remote-tracking branch 'origin/main' into feature/gunicorn-configs 2023-05-16 17:37:33 -04:00
jasquat 66714ddeb6
added test for failing test and multiple at once w/ burnettk 2023-05-16 17:32:53 -04:00
jasquat 0235e22f39
added some framework stuff to run process model unit tests w/ burnettk 2023-05-16 17:24:22 -04:00
burnettk f49b15883c
let people use version-info, remove duplicate method, lint 2023-05-16 16:20:40 -04:00
burnettk a9629fd379
debug 2023-05-16 15:35:01 -04:00
danfunk 109e55dd62 run_pyl, and a little cleanup. 2023-05-16 15:29:43 -04:00
Dan Funk 91625cbb26
Merge pull request #261 from sartography/bug/more_fun_with_admin_tools
Bug/more fun with admin tools
2023-05-16 11:17:04 -04:00
jasquat 6e738c4e14
added additional details to why we remove the root node from the spiff spec w/ burnettk 2023-05-16 10:49:25 -04:00
danfunk 19bea8d02e update spiffworkflow 2023-05-15 16:55:52 -04:00
danfunk 7c9adacdc7 I'm yanking the general exception catching because it made it impossible to debug a problem we ran into - and it results in roughtly the same error message presented to the end user.
Updating SpiffWorkflow which will now handle the situation where a task does not have a parent task.
2023-05-15 16:53:27 -04:00
burnettk fcaf679418
update gunicorn configs to add threading 2023-05-14 22:19:53 -04:00
burnettk d0623ea160
more screwing with labels 2023-05-13 22:43:58 -04:00
burnettk 845e7cd4d6
add opencontainers label, and run an experiment to see what is required in dockerfile vs github actions 2023-05-13 19:53:50 -04:00
burnettk e452b062bf
mostly frontend stuff: add version and doc links, autofix unused imports 2023-05-12 17:07:53 -04:00
Dan Funk 4b76501025
Merge pull request #257 from sartography/bug/manual_complete_gateway
Fix for completing a gateway manually
2023-05-12 10:22:28 -04:00
danfunk 0598276127 merge with main 2023-05-12 10:16:11 -04:00
jasquat a523079786
updated spiffworkflow to for raw strings in regexes w/ burnettk 2023-05-12 10:09:46 -04:00
jasquat 5767c7f5cd
updated spiffworkflow to fix typo w/ burnettk 2023-05-12 09:55:10 -04:00
jasquat 9d0889461c
updated spiffworkflow imports w/ burnettk 2023-05-12 09:50:04 -04:00
danfunk 474f144394 run pyl 2023-05-12 09:22:37 -04:00
danfunk 49c1f5386b fixing feedback from @jasquat 2023-05-12 09:19:46 -04:00
danfunk 6ef316ad5d run_pyl 2023-05-12 06:47:25 -04:00
danfunk 9a900d0994 * BPMN Process needed a cascade delete so that deleting a subprocess would remove all the subprocesses within that subprocess
* Trying to remove the duplicate code that might be causing bugs in the manual_task_complete
* Adding a test to show that a gateway can be successfully completed manually one step at a time.
2023-05-12 06:39:25 -04:00
jasquat 37d0d97252
Merge pull request #255 from sartography/feature/upgrade_spiff
using the new spiff branch and tests are now passing w/ burnettk
2023-05-11 16:22:08 -04:00
jasquat f3c86452d9
updated spiffworkflow to use newest main 2023-05-11 16:20:25 -04:00
Dan Funk 9b61b22fb2
Merge pull request #256 from sartography/feature/view_button
Feature/view button
2023-05-11 15:11:32 -04:00
danfunk 1eb440a0b2 fixing a stupid mistake. 2023-05-11 12:56:59 -04:00
jasquat 2b451fee50
using the new spiff branch and tests are now passing w/ burnettk 2023-05-11 12:41:52 -04:00
danfunk c553277c21 View button styled the same as the go button.
Don't show the view button for Suspended, terminated, or Errored Processes when there is nothing to see.
On the interstitial page, if the process is not runnable, return out of the process, don't keep looping forever.
2023-05-11 12:34:43 -04:00
jbirddog b3cc1170aa
Type ahead cleanup (#253) 2023-05-11 11:08:07 -04:00
jasquat 8c0e9cc493
also remove tasks based on spiff task diff when terminating a task 2023-05-11 09:46:11 -04:00
jasquat 60974ebfcb
ensure we remove corresponding bpmn processes when removing tasks from a process reset 2023-05-11 09:32:07 -04:00
jasquat 39b61808e7
pyl w/ burnettk 2023-05-10 17:14:23 -04:00
jasquat e4a5c993bd
removed flask-bpmn from pyproject since it is no longer used w/ burnettk 2023-05-10 17:09:51 -04:00
danfunk 51f5f95bf6 Adding import 2023-05-10 16:52:02 -04:00
danfunk 114e9aa9d5 Merge remote-tracking branch 'origin/main' into bug/improve_reset_to_previous_task 2023-05-10 16:51:47 -04:00
jasquat dacd161c50
updated spiffworkflow w/ burnettk 2023-05-10 16:43:08 -04:00
jasquat f0ddee0256
updated Spiffworkflow and updated terminated test to ensure tasks are deleted from the db w/ burnettk 2023-05-10 16:39:03 -04:00
danfunk ea7b693b57 run_pyl
use latest spiffworkflow in main
2023-05-10 15:42:07 -04:00
danfunk 775a9ee860 Merge remote-tracking branch 'origin/main' into bug/improve_reset_to_previous_task 2023-05-10 15:36:48 -04:00
danfunk cf21f0b8ed minor fix to spiffworkflow backend. 2023-05-10 14:51:13 -04:00
jasquat 865ed4d0a7
added reminder to check remaining tasks once we get new spiff 2023-05-10 13:25:26 -04:00
jasquat 5063e93e01
save all spiff tasks to the db after terminating a process instance w/ burnettk 2023-05-10 12:02:48 -04:00
jasquat 028d1a75a2
merged in main and resolved conflicts w/ burnettk 2023-05-10 11:21:36 -04:00
jasquat 9218ec596b
added update all spiff tasks method from reset branch to main w/ burnettk 2023-05-10 11:20:34 -04:00
jasquat 71de604da1
moved the save all spiff tasks to method in task service w/ burnettk 2023-05-10 11:17:12 -04:00
jasquat 79c3a90e1e
Merge remote-tracking branch 'origin/main' into bug/improve_reset_to_previous_task 2023-05-10 10:57:55 -04:00
danfunk 768df8d64b Various updates to get the reset working correctly. 2023-05-10 10:49:39 -04:00
burnettk a96a3f5ac2
fix typo 2023-05-10 10:17:12 -04:00
Dan 64e4df81cd wip 2023-05-09 15:02:05 -04:00
burnettk c5f15a346f
listen on all interfaces w/ jasquat 2023-05-08 15:36:57 -04:00
jasquat 5de162f789
Merge pull request #244 from sartography/feature/check_permissions_on_group_and_model_list
Feature/check permissions on group and model list
2023-05-08 14:29:39 -04:00
jasquat 40852ec58d
Merge pull request #243 from sartography/feature/interstitial_do_not_update_pi_status
Feature/interstitial do not update pi status
2023-05-08 14:29:13 -04:00
jasquat d9db268085
use a better var name to check perms against w/ burnettk 2023-05-08 14:25:49 -04:00
jasquat 24ea45b324
pyl and i am not sure how mypy missed that one typing issue 2023-05-08 13:20:40 -04:00
jasquat f10036ce4a
pyl 2023-05-08 11:34:45 -04:00
jasquat eb7091259c
Merge remote-tracking branch 'origin/main' into feature/check_permissions_on_group_and_model_list 2023-05-08 11:34:33 -04:00
jasquat cc3808aa6f
added tests to make sure users can only list process models and groups that they have access to 2023-05-08 11:31:57 -04:00
burnettk e8d4840761
make logs less chatty and support new localopenid convenience arg when booting backend locally 2023-05-06 15:17:48 -04:00
jasquat f1d0cc0c53
check if user has access to full process models or groups before checking each one w/ burnettk 2023-05-05 16:27:31 -04:00
jasquat 6eca7e2503
check permissions on process group and model list api endpoints w/ burnettk 2023-05-05 16:14:22 -04:00
jasquat 08d5864e3e
added permissions file for demo site w/ burnettk 2023-05-05 14:54:38 -04:00
jasquat 97d48ea8b6
do not perform any tasks if instance is suspended from the interstitial page w/ burnettk 2023-05-05 14:01:32 -04:00
jasquat f6ed2b6507
Merge remote-tracking branch 'origin/main' into feature/interstitial_do_not_update_pi_status 2023-05-05 13:12:44 -04:00
jasquat 02242b4c15
added active-users endpoint to basic permissions 2023-05-05 09:20:16 -04:00
jasquat ebb70c111e
set the returned file as the new file when saving a process model file so we get the new contents hash w/ burnettk 2023-05-04 16:59:27 -04:00
jasquat 004a3be2c2
some attempts to not change the process instance status w/ burnettk 2023-05-04 16:52:41 -04:00
jasquat b1e341d0d3
poll the backend for active users instead of keeping the connection open so it does not hang on a process w/ burnettk 2023-05-04 15:44:52 -04:00
jasquat 9368542fd2
added config to specify the absolute path to a permissions yaml file so a different one can be set outside of the app repo w/ burnettk 2023-05-04 14:44:24 -04:00
jasquat 878c28fd22
Merge pull request #242 from sartography/feature/multiple_editor_users_display_user
Feature/multiple editor users display user
2023-05-04 14:24:18 -04:00
jbirddog 78f077441a
Integrate spiff-element-units 0.3.0 for (some) lazy call activities (#239) 2023-05-04 14:15:13 -04:00
jasquat ff59eae03a
updated active user db model w/ burnettk 2023-05-04 12:51:15 -04:00
jasquat 806f2e3157
fixed test w/ burnettk 2023-05-04 12:45:53 -04:00
jasquat 28fd9d755c
cleaned up displaying active users in frontend w/ burnettk 2023-05-04 12:44:04 -04:00
jasquat 556c71ace4
Merge remote-tracking branch 'origin/main' into feature/multiple_editor_users_display_user 2023-05-04 11:42:36 -04:00
jasquat cc9c559b15
Merge pull request #241 from sartography/feature/multiple_editor_users
Feature/multiple editor users
2023-05-04 11:40:28 -04:00
jasquat ff86682188
pyl w/ burnettk 2023-05-04 11:31:37 -04:00
jasquat 8478c794e2
added endpoint for send-signal-event for users so we can handle permissions more easily w/ burnettk 2023-05-04 11:20:38 -04:00
burnettk 0b2b8a74d2
adding permissions for send-event 2023-05-04 10:23:52 -04:00
jasquat 43af5bfc96
do not raise errors if a process cannot be found in the spec reference cache when trying to get a task trace for an error 2023-05-04 09:45:01 -04:00
jasquat a8ee6d9d89
allow adding waiting_for and task_title columns in instance list page 2023-05-04 08:00:37 -04:00
jasquat 7c8c780d76
Merge remote-tracking branch 'origin/main' into feature/multiple_editor_users 2023-05-03 17:38:49 -04:00
jasquat 2c336c55c5
added ability to display users showing on the process model edit diagram page w/ burnettk 2023-05-03 17:36:43 -04:00
Dan 3894ec264f run_pyl 2023-05-03 17:29:33 -04:00
Dan 392b919e79 Merge remote-tracking branch 'origin/main' into bug/boudary_event_suspend_manual_complete 2023-05-03 17:08:44 -04:00
Dan 2128fad5bc Test and updates to assure that when a task has a boundary event, and you return to that event, and then progress one step, you don't get stuck with a task that can't ever be completed.
Let SpiffWorkflow determine what tasks we need to update in the DB using the task_state_change date on the tasks.
2023-05-03 17:08:22 -04:00
jasquat 37341a24cc
removed commented out variables w/ burnettk 2023-05-03 15:13:06 -04:00
jasquat 90abf11d35
added script to demonstrate how to use message start events w/ burnettk 2023-05-03 15:12:41 -04:00
jasquat cd3d593026
fixed broken report tests w/ burnettk 2023-05-03 11:45:35 -04:00
jasquat 903794494a
updated system report names to match more closely the text used on the homepage w/ burnettk 2023-05-03 11:42:42 -04:00
jasquat 9d27be6f11
removed the format header method from frontend so we only use the columns that come from the metadata now w/ burnettk 2023-05-03 11:16:13 -04:00
jasquat 0f9a40b478
Merge branch 'main' of github.com:sartography/spiff-arena 2023-05-03 10:52:43 -04:00
jasquat 10a2f4b140
cleaned up using system filters with user_group_identifier so the query no longer raises w/ burnettk 2023-05-03 10:52:39 -04:00
burnettk d54a950da5
ignore issue for which ticket has been filed 2023-05-03 10:49:32 -04:00
jasquat 742a73e0cd
Merge branch 'main' of github.com:sartography/spiff-arena 2023-05-03 10:17:35 -04:00
jasquat d5402b5602
updated column names for system report filters 2023-05-03 10:17:31 -04:00
Dan Funk b684763053
Merge pull request #237 from sartography/feature/cancel_button
Feature/cancel button
2023-05-03 10:12:02 -04:00
burnettk c0dda4a2f2
remove deprecated script 2023-05-03 10:11:48 -04:00
burnettk 3388beb1cd
notion 400: get_toplevel_process_info instead of get_process_info 2023-05-02 22:28:52 -04:00
jasquat ffc6e8720e
fixed tests w/ burnettk 2023-05-02 17:09:29 -04:00
jasquat 558c616744
disallow saving a process model file if it has changed w/ burnettk 2023-05-02 16:31:29 -04:00
jasquat 1ec0deaf3c
added script to query db for tasks on the most recent process instance w/ burnettk 2023-05-02 15:31:25 -04:00
Dan a3bf16c902 run_pyl 2023-05-02 14:00:15 -04:00
Dan 739442d571 * Adding signal_buttons to tasks, which will prompt the frontend to display a button that when pressed will cause the signal to fire.
* This alters how the send_event endpoint responds - it originally responded with a process instance, it now responds with the next task, in keeping with how other task completion endpoints behave.
* I was forced to upgrade some of the bpmn-js libraries which fixes some of the linting errors on the front end.
* The "Return to home" button isn't always displayed.  It will not display when it is redirecting, or when the current task is running.
.
2023-05-02 13:40:41 -04:00
burnettk e764638cc6
intentional failure to test build notifications 2023-05-01 22:17:16 -04:00
jasquat e07a935b84
pyl w/ burnettk 2023-05-01 16:32:39 -04:00
jasquat 5eac97f94d
allow users to post to process instance list and truncate process model ids on the process instance list table page w/ burnettk 2023-05-01 16:30:08 -04:00
jasquat 1f72904425
added report-metadata endpoint to BASIC permissions w/ burnettk 2023-05-01 16:14:38 -04:00
jasquat 0811922c2e
updated typeguard and fixed issues w/ burnettk 2023-05-01 15:26:29 -04:00
jasquat b85658e689
load correct NotRequired if python < 3.11 2023-05-01 14:00:09 -04:00
jasquat 2dc61ec669
fixed tests w/ burnettk 2023-05-01 12:51:58 -04:00
jasquat afc13bb751
merged in main and resolved conflicts w/ burnettk 2023-05-01 12:35:10 -04:00
jasquat bb1642c458
lint fixes w/ burnettk 2023-05-01 12:29:48 -04:00
burnettk 31caff037e
make this thing a config and clean up lint 2023-05-01 11:25:37 -04:00
jbirddog 04e8aa39d2
Bump spiffworkflow (#235) 2023-05-01 11:24:04 -04:00
Kevin Burnett 06e0309519
Merge pull request #233 from kokhoor/main
Enables nginx https to proxy SpiffWorkflow Backend running on http
2023-05-01 15:16:25 +00:00
jbirddog a809cdbb73
Optimistically skip some timers (#232) 2023-05-01 10:32:35 -04:00
jbirddog 5210404ca3
Stable last updated time for human tasks with timers (#231) 2023-05-01 10:32:19 -04:00
Kok Hoor 3ddcfb1ddb A patch that enables SpiffWorkflow Backend to support nginx https proxy fronting spiffworkflow-backend running on http 2023-05-01 21:38:47 +08:00
jasquat b233c70305
Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-05-01 07:45:42 -04:00
burnettk 337e497d1d
start a list of file patterns to ignore 2023-04-28 22:48:02 -04:00
burnettk 66ca74e18c
iterate on function crusher script 2023-04-28 22:37:17 -04:00
burnettk b88f9e9664
scripts to find and process dead code 2023-04-28 22:29:46 -04:00
jasquat 6e301d804c
only return the compiled report metadata to the frontend and remove most usages of the internal filters w/ burnettk 2023-04-28 15:42:35 -04:00
jasquat c13425f4ae
added tmp link to homepage table w/ burnettk 2023-04-28 14:29:56 -04:00
jasquat 7fc4d5c62a
home page tables are working again w/ burnettk 2023-04-28 12:36:16 -04:00
jbirddog 070f203a13
Support connectors that return logs (#230) 2023-04-28 10:54:24 -04:00
jasquat 7109f0b69d
tests are now passing and pyl w/ burnettk 2023-04-28 10:07:21 -04:00
jasquat d7dcef47a5
Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 17:33:49 -04:00
jasquat 53dde1f56a
remove a lot of unused code and fixed linting issues w/ burnettk 2023-04-27 17:33:25 -04:00
jasquat 2d06d55bfa
reports seem to be working again w/ burnettk 2023-04-27 15:19:02 -04:00
jasquat 40a837f229
most of the process instance filters are working. still need to add back in support for reports w/ burnettk 2023-04-27 11:47:48 -04:00
burnettk 2e0cd3339b
use debug controller for test raise error api method per jakub suggestion 2023-04-27 11:13:11 -04:00
burnettk 562cb091dc
add test-raise-error endpoint for sentry testing, etc 2023-04-27 11:05:24 -04:00
jasquat 95472ca88e
Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 07:28:47 -04:00
jasquat 736d07d741
more filter work 2023-04-27 07:28:06 -04:00
burnettk c7b69e0fd9
fix permissions for process callers api 2023-04-27 07:20:52 -04:00
Dan 451bc4bbc9 quick fix. 2023-04-26 22:23:52 -04:00
Dan 7541b09514 run_pyl 2023-04-26 22:09:07 -04:00
Dan 4b043f2750 catch errors on render 2023-04-26 22:05:35 -04:00
Dan 129ca529e0 run pyl 2023-04-26 21:30:29 -04:00
Dan 97aecbc33b Need to remove the initial greedy first task from run-until-user-instructions as it was causing us to skip over user messages.
We weren't formatting instructions for end events.
More cleanup of the UI
More rapid graying out of past messages
2023-04-26 21:27:52 -04:00
Dan 6ae5b3f796 run_pyl 2023-04-26 20:24:47 -04:00
Dan b8436bf208 some styling changes and a better end page. 2023-04-26 19:15:15 -04:00
Dan c91ed34c51 run_pyl 2023-04-26 18:34:10 -04:00
Dan fabe9aa320 various css tweaks 2023-04-26 18:10:02 -04:00
Dan 5b9fad65fa randome critical code that I missed during last resolve of conflicts. 2023-04-26 16:38:30 -04:00
Dan df6bf07186 a whole bunch of front end and backend changes that got mangled. 2023-04-26 16:22:50 -04:00
Dan cd304884be run_pyl 2023-04-26 16:05:27 -04:00
Dan 2f17ee0579 run_pyl and a changes to the way we loop through tasks for the interstitial page. 2023-04-26 15:50:14 -04:00
jasquat f2f1e1a16e
Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-26 11:16:42 -04:00
jasquat 5531498b53
task_line_contents should be set to None if error_line is None w/ burnettk 2023-04-26 11:16:08 -04:00
jasquat d51d4cc7ae
can somewhat search now w/ burnettk 2023-04-26 11:06:01 -04:00
burnettk 81a3f4e982
document what fails on windows 2023-04-25 23:09:11 -04:00
burnettk cd0b34e74e
avoid sorting issues in assert 2023-04-25 22:34:52 -04:00
burnettk 3ab2570b54
lint 2023-04-25 22:28:03 -04:00
burnettk d05f7ae031
more assertions 2023-04-25 22:24:47 -04:00
burnettk e77baf18cb
rename TaskModelException to TaskModelError 2023-04-25 21:55:18 -04:00
burnettk 4abbf6c57d
add more assertions to try to pin down what is different on windows 2023-04-25 21:53:08 -04:00
jasquat 0adea8c25c
attempting to filter process instances with json instead of report filters w/ burnettk 2023-04-25 17:21:38 -04:00
jasquat 9aa9fe913b
added typeahead search for bpmn name and identifier in process instance event list w/ burnettk 2023-04-25 15:30:26 -04:00
jasquat 3a3d5a86fc
refactored TaskService so more of the classmethods are now instance methods and work more implicitly 2023-04-25 12:58:00 -04:00
jasquat 81e93d7079
fixed broken auth tests w/ burnettk 2023-04-24 15:59:30 -04:00
jasquat 41fead68f2
call dequeue method for interstitial page tests w/ burnettk 2023-04-24 15:48:20 -04:00
jbirddog c19e59757d
Interstitial page locking fix (#228)
Tested on dev.app by @burnettk @jasquat @calexh-sar
2023-04-24 15:39:49 -04:00
jasquat 5ee4318ef4
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 60fac1e527
use typename when returning a task w/ burnettk 2023-04-24 15:18:57 -04:00
jasquat 02e0e95a06
make js Task interface act more like ProcessInstanceTask w/ burnettk 2023-04-24 15:01:24 -04:00
jasquat 0a30267cb4
pyl 2023-04-24 13:45:31 -04:00
jasquat f14d05c793
add extensions back onto task before returning task show w/ burnettk 2023-04-24 12:58:07 -04:00
jasquat afc7391806
backend tests are passing w/ burnettk 2023-04-24 12:41:33 -04:00
jasquat ecade1631a
merged in main and resolved conflicts w/ burnettk 2023-04-24 11:30:27 -04:00
jasquat 8952aab807
tests for good error messages are mostly working w/ burnettk 2023-04-24 11:13:01 -04:00
jasquat e247c074ae
added TaskModelException to replace WorkflowTaskException to create exceptions with db w/ burnettk 2023-04-24 10:52:30 -04:00
burnettk 2e5491fc88
truncate task_line_contents so it does not explode on the db interaction 2023-04-23 23:59:09 -04:00
burnettk 5a2f499b69
allow deleting instances with human tasks, and debug failing test 2023-04-23 23:04:31 -04:00
Dan 96703f8e70 run pyl 2023-04-23 12:27:40 -04:00
Dan fb7c600e99 * Was doing things a bit out of order - so we weren't always displaying messages as we should have on the interstitial page.
* Do a better job of catching all the error messages when they happen.
2023-04-23 12:22:43 -04:00
Dan f57aff1a36 run_pyl 2023-04-23 11:46:29 -04:00
Dan d2a8001d2d run_pyl 2023-04-22 15:45:20 -04:00
Dan e9aae6123e * 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
burnettk 5deb55c170
fix lint 2023-04-21 18:20:07 -04:00
jasquat 3b48f9e4eb
fixed one test w/ burnettk 2023-04-21 16:48:12 -04:00
jasquat 3cb9b2ebf7
some pyl stuff. tests are failing w/ burnettk 2023-04-21 16:32:29 -04:00
jasquat 09d5ba8409
Revert "some updates so task_show no longer needs the processor. i think it mostly works w/ burnettk"
This reverts commit 5a561fb833.
2023-04-21 15:56:32 -04:00
jasquat 5a561fb833
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 c7aae99774
set buffering header to no for interstitial page response. w/ burnettk danfunk 2023-04-21 11:03:53 -04:00
jasquat 79d3c907c6
pyl 2023-04-21 09:32:22 -04:00
Dan Funk 113939fc7c
Merge pull request #221 from sartography/feature/interstitial
Feature/interstitial
2023-04-21 09:28:41 -04:00
burnettk f1e1a158e7
fixing TypeError: type of value sent to generator must be str 2023-04-20 23:16:45 -04:00
burnettk 92e0f13006
lint 2023-04-20 18:25:44 -04:00
burnettk d0e2b5050a
add test to ensure your database is case sensitive 2023-04-20 17:43:11 -04:00
Dan 7b5c1e102e Fixing formatting? 2023-04-20 17:05:05 -04:00
Dan 7cccc2a6a2 fallout from recent changes to Main. 2023-04-20 16:55:13 -04:00
Dan b9a3b4fbf8 Merging with main. 2023-04-20 16:06:22 -04:00
Dan c8d4ee050c pyl 2023-04-20 15:42:57 -04:00
Dan fade40ccb8 * 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 f3d3c31dd5
fixed sqlalchemy warning w/ burnettk 2023-04-20 15:00:12 -04:00
jasquat ba893eda4f
updated SpiffWorkflow w/ burnettk 2023-04-20 14:49:34 -04:00
jasquat f8ba4a04bb
merged in main and resolved conflicts w/ burnettk 2023-04-20 14:10:23 -04:00
jasquat 0320116b79
fixed tests and added test to ensure we are saving error events to the db on error w/ burnettk 2023-04-20 13:32:45 -04:00
jasquat a5e0574981
flake8 and mypy fixes w/ burnettk 2023-04-20 13:01:05 -04:00
jasquat dc2c1be497
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 2e1620a519
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 5049f1dc49
some debug stuff 2023-04-20 07:35:39 -04:00
Dan 5956326450 * 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 61a4243e6d
Called elements (#218) 2023-04-19 18:07:15 -04:00
Dan c7457daa31 run pyl. 2023-04-19 17:00:09 -04:00
jasquat 19e3b7da1e
fixed test w/ burnettk 2023-04-19 15:52:11 -04:00
jasquat 94414ea86b
display event errors in the frontend using errorDisplay w/ burnettk 2023-04-19 15:20:19 -04:00
Dan bab5646ac0 Merge remote-tracking branch 'origin/main' into feature/interstitial 2023-04-19 15:18:10 -04:00
Dan cb1311fb56 getting all the tests to pass. 2023-04-19 15:13:00 -04:00
jasquat 49d954fdd6
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 22d9cda529 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
jasquat 430bd9c12a
store process instance errors in the db w/ burnettk 2023-04-19 11:24:54 -04:00
Dan 18f3b34c4a make sure we can properly display lanes. 2023-04-18 19:36:31 -04:00
Dan b6480fb9fe 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 d189adb174
updated SpiffWorkflow w/ burnettk 2023-04-18 15:24:29 -04:00
jasquat 279c75135b
fixed broken test w/ burnettk 2023-04-18 12:41:39 -04:00
jasquat 7b4905451c
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 e06ad98021
merged in main and resolved conflicts w/ burnettk 2023-04-18 11:04:44 -04:00
jasquat 6aac21ebef
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 b23dcb5a34
added api to get task types and added combo box w/ burnettk 2023-04-17 17:26:05 -04:00
jasquat 49045eacd3
Merge remote-tracking branch 'origin/main' into feature/log_filters 2023-04-17 16:41:06 -04:00
burnettk ea3a9ed7aa
ignore annoying logger with useless output 2023-04-17 16:40:51 -04:00
jasquat 0a8610492e
Merge remote-tracking branch 'origin/main' into feature/log_filters 2023-04-17 16:29:58 -04:00
jasquat 4efdbdc48e
try to make single process hash unique within full process model hash 2023-04-17 15:42:58 -04:00
jbirddog 9291741209
spiff-element-units integration (#214) 2023-04-17 14:49:38 -04:00
jasquat 25316cd520
use the full bpmn process path to determine most recent task w/ burnettk 2023-04-17 14:46:18 -04:00
Dan 481d55b9bf Merge remote-tracking branch 'origin/main' into feature/interstitial 2023-04-17 14:43:40 -04:00
Dan bfb2213321 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 02ebf41f74
only query for active human tasks on in-progress home page 2023-04-17 13:45:54 -04:00
jasquat 3c8aab1048
added new column to bpmn process definition to store the full bpmn process hash digest w/ burnettk 2023-04-17 12:01:36 -04:00
jasquat daf57f14bc
some more log stuff using debounce w/ burnettk 2023-04-17 11:08:00 -04:00
Dan b77789ff30 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 961c1986be
moved the recursive run task method to the greedy strategy so not all strategies have to do it 2023-04-14 14:13:42 -04:00
jasquat 38c748b0cf
added script to add passwords to keycloak user list and moved user lists out of this repo w/ burnettk 2023-04-14 12:09:51 -04:00
jasquat 0aa0698557
Merge remote-tracking branch 'origin/main' into feature/home_page_refactor 2023-04-14 09:20:30 -04:00
Elizabeth Esswein 66aaaa0dd9
Merge pull request #211 from sartography/feature/process-map-enhancements
Feature/process map enhancements
2023-04-13 18:47:04 -04:00
jasquat 24022a73ec
pyl and turn back on autoreload for homepage w/ burnettk 2023-04-13 16:56:49 -04:00
jasquat 91ed5d1bc2
updated text on home page w/ burnettk 2023-04-13 16:36:46 -04:00