Commit Graph

1441 Commits

Author SHA1 Message Date
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