Commit Graph

571 Commits

Author SHA1 Message Date
jasquat 696bfe224c fixed tests related to new permissions w/ burnettk 2023-05-22 14:58:51 -04:00
jasquat 3124c5451a remove api usages from script tests and pyl w/ burnettk 2023-05-22 14:09:17 -04:00
jasquat a3890afba1 added missing permissions to elevated perm macro and removed api calls from unit tests 2023-05-22 13:50:32 -04:00
jasquat b8d06ae08e fixed process-instance api perms in macro 2023-05-22 10:03:46 -04:00
jasquat f862aad767 elevated permissions should include running privileged scripts w/ burnettk 2023-05-19 16:21:32 -04:00
jasquat 83f7849685 changed publish endpoint to precede model id so we can grant publish access but read only to a model otherwise w/ burnettk 2023-05-19 12:26:16 -04:00
jasquat a285037505 added elevated permission macro 2023-05-19 10:50:55 -04:00
jasquat de24d76c9d cleaned up runner tests and rsyncd back to sample w/ burnettk 2023-05-18 17:16:58 -04:00
jasquat 0bd16283fc allow prepending test case data with process id and added better error formatting w/ burnettk 2023-05-18 15:11:30 -04:00
jasquat 40b3246eb7 support macros in perm yml and pyl 2023-05-18 12:11:40 -04:00
jasquat 84f3847c50 refactored import perms from yaml and from dmn tables to do the same thing w/ burnettk 2023-05-18 11:29:15 -04:00
jasquat 5b793d5a81 added parse method to turn the yaml into the same format as the incoming perms from the dmn tables w/ burnettk 2023-05-18 10:02:07 -04:00
jasquat 40c67f000c cleaned up process model tests and added support for service tasks w/ burnettk 2023-05-17 17:28:51 -04:00
jasquat acaf3a3c24 support call activities in process model test runner w/ burnettk 2023-05-17 16:35:04 -04:00
jasquat 1cd2a794eb no reason to instantiate a ProcessModelService 2023-05-17 10:16:09 -04:00
jasquat 3d35dc6213 pyl 2023-05-17 10:01:11 -04:00
jasquat 5d7b183150 Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests 2023-05-17 09:34:21 -04:00
jasquat 2f98891489 added test for failing test and multiple at once w/ burnettk 2023-05-16 17:32:53 -04:00
jasquat c2083103e4 added some framework stuff to run process model unit tests w/ burnettk 2023-05-16 17:24:22 -04:00
burnettk 77c6e80055 let people use version-info, remove duplicate method, lint 2023-05-16 16:20:40 -04:00
danfunk bd9df31810 run pyl 2023-05-12 09:22:37 -04:00
danfunk ca62c49de8 fixing feedback from @jasquat 2023-05-12 09:19:46 -04:00
danfunk 1d37eed860 run_pyl 2023-05-12 06:47:25 -04:00
danfunk 1db065fb65 * 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 233d8a9832 using the new spiff branch and tests are now passing w/ burnettk 2023-05-11 12:41:52 -04:00
danfunk e417eb57f3 Merge remote-tracking branch 'origin/main' into bug/improve_reset_to_previous_task 2023-05-10 16:51:47 -04:00
jasquat da52b68c84 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 dcbf351180 Merge remote-tracking branch 'origin/main' into bug/improve_reset_to_previous_task 2023-05-10 15:36:48 -04:00
jasquat 6d5422a9fd added reminder to check remaining tasks once we get new spiff 2023-05-10 13:25:26 -04:00
jasquat 57fcadbd62 save all spiff tasks to the db after terminating a process instance w/ burnettk 2023-05-10 12:02:48 -04:00
jasquat 3932435482 Merge remote-tracking branch 'origin/main' into bug/improve_reset_to_previous_task 2023-05-10 10:57:55 -04:00
danfunk b9a8b97fda Various updates to get the reset working correctly. 2023-05-10 10:49:39 -04:00
Dan 30a26de38d wip 2023-05-09 15:02:05 -04:00
jasquat 26310da412 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 874fe9052c pyl and i am not sure how mypy missed that one typing issue 2023-05-08 13:20:40 -04:00
jasquat 1b0f71579b pyl 2023-05-08 11:34:45 -04:00
jasquat 6f59d2f828 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
jasquat 1b97cbb5b2 check permissions on process group and model list api endpoints w/ burnettk 2023-05-05 16:14:22 -04:00
jasquat eef920acae do not perform any tasks if instance is suspended from the interstitial page w/ burnettk 2023-05-05 14:01:32 -04:00
jasquat 863350bdb6 added active-users endpoint to basic permissions 2023-05-05 09:20:16 -04:00
jasquat 5debe44391 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 b89527ab80 Integrate spiff-element-units 0.3.0 for (some) lazy call activities (#239) 2023-05-04 14:15:13 -04:00
jasquat 92cdceb201 fixed test w/ burnettk 2023-05-04 12:45:53 -04:00
jasquat 60db9db296 Merge pull request #241 from sartography/feature/multiple_editor_users
Feature/multiple editor users
2023-05-04 11:40:28 -04:00
jasquat f65b301635 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 8655ca0cd0 Merge remote-tracking branch 'origin/main' into feature/multiple_editor_users 2023-05-03 17:38:49 -04:00
Dan fc7d3c3907 run_pyl 2023-05-03 17:29:33 -04:00
Dan 5458d59f30 Merge remote-tracking branch 'origin/main' into bug/boudary_event_suspend_manual_complete 2023-05-03 17:08:44 -04:00
Dan 424894b5ae 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 ae035a5f58 fixed broken report tests w/ burnettk 2023-05-03 11:45:35 -04:00
jasquat cd5c4f26f0 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
Dan Funk 64692f0d59 Merge pull request #237 from sartography/feature/cancel_button
Feature/cancel button
2023-05-03 10:12:02 -04:00
jasquat 38428cb6a4 fixed tests w/ burnettk 2023-05-02 17:09:29 -04:00
Dan 6aaae539a0 run_pyl 2023-05-02 14:00:15 -04:00
Dan ac149c9dcb * 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 ce4c58dcd7 intentional failure to test build notifications 2023-05-01 22:17:16 -04:00
jasquat 938096f8b9 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 99547fea7d added report-metadata endpoint to BASIC permissions w/ burnettk 2023-05-01 16:14:38 -04:00
jasquat 418ec7d9c9 updated typeguard and fixed issues w/ burnettk 2023-05-01 15:26:29 -04:00
jasquat 07b4616d45 fixed tests w/ burnettk 2023-05-01 12:51:58 -04:00
jasquat 3247955db5 merged in main and resolved conflicts w/ burnettk 2023-05-01 12:35:10 -04:00
jbirddog ed3c0d7766 Optimistically skip some timers (#232) 2023-05-01 10:32:35 -04:00
jbirddog 87c34f4822 Support connectors that return logs (#230) 2023-04-28 10:54:24 -04:00
jasquat 3754d72f4f tests are now passing and pyl w/ burnettk 2023-04-28 10:07:21 -04:00
jasquat 6a9d30e3fe Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 17:33:49 -04:00
jasquat a4fd81cb9a remove a lot of unused code and fixed linting issues w/ burnettk 2023-04-27 17:33:25 -04:00
burnettk 05d3184e19 use debug controller for test raise error api method per jakub suggestion 2023-04-27 11:13:11 -04:00
burnettk 4c64c466ae add test-raise-error endpoint for sentry testing, etc 2023-04-27 11:05:24 -04:00
jasquat d29a4ca0ae Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 07:28:47 -04:00
jasquat 2376080267 more filter work 2023-04-27 07:28:06 -04:00
burnettk 93ec911484 fix permissions for process callers api 2023-04-27 07:20:52 -04:00
Dan d1fc75c877 run_pyl 2023-04-26 18:34:10 -04:00
Dan e2b582b7fc various css tweaks 2023-04-26 18:10:02 -04:00
jasquat a1a2af3020 task_line_contents should be set to None if error_line is None w/ burnettk 2023-04-26 11:16:08 -04:00
burnettk 031fdb4f8f document what fails on windows 2023-04-25 23:09:11 -04:00
burnettk c6e9772f01 avoid sorting issues in assert 2023-04-25 22:34:52 -04:00
burnettk a74e4d4070 lint 2023-04-25 22:28:03 -04:00
burnettk 4d510628b8 more assertions 2023-04-25 22:24:47 -04:00
burnettk 17070332c1 rename TaskModelException to TaskModelError 2023-04-25 21:55:18 -04:00
burnettk 956ba2955b add more assertions to try to pin down what is different on windows 2023-04-25 21:53:08 -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 2297477044 fixed broken auth tests w/ burnettk 2023-04-24 15:59:30 -04:00
jasquat 013a2cb34a call dequeue method for interstitial page tests w/ burnettk 2023-04-24 15:48:20 -04:00
jasquat d5808045e2 pyl 2023-04-24 13:45:31 -04:00
jasquat 601b967d45 backend tests are passing w/ burnettk 2023-04-24 12:41:33 -04:00
jasquat f131196ac8 merged in main and resolved conflicts w/ burnettk 2023-04-24 11:30:27 -04:00
jasquat 3eb54a830e tests for good error messages are mostly working w/ burnettk 2023-04-24 11:13:01 -04:00
burnettk 9639660e89 allow deleting instances with human tasks, and debug failing test 2023-04-23 23:04:31 -04:00
jasquat 4c21314a25 fixed one test w/ burnettk 2023-04-21 16:48:12 -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 98ec512680 pyl 2023-04-21 09:32:22 -04:00
Dan Funk 3dca7d2ed4 Merge pull request #221 from sartography/feature/interstitial
Feature/interstitial
2023-04-21 09:28:41 -04:00
burnettk 8e9c6cdf3f fixing TypeError: type of value sent to generator must be str 2023-04-20 23:16:45 -04:00
burnettk 5d6ddf96b5 add test to ensure your database is case sensitive 2023-04-20 17:43:11 -04:00
Dan a6adb98a19 Merging with main. 2023-04-20 16:06:22 -04:00
jasquat 8cc2d56dbd merged in main and resolved conflicts w/ burnettk 2023-04-20 14:10:23 -04:00
jasquat 92c21f2c11 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 f082f0966c flake8 and mypy fixes w/ burnettk 2023-04-20 13:01:05 -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
Dan d73baedcbe Merge remote-tracking branch 'origin/main' into feature/interstitial 2023-04-19 15:18:10 -04:00
Dan 0244d58613 getting all the tests to pass. 2023-04-19 15:13: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
jasquat 349c2abd84 fixed broken test w/ burnettk 2023-04-18 12:41:39 -04:00
jbirddog 1dd445de68 spiff-element-units integration (#214) 2023-04-17 14:49:38 -04:00
jasquat 14c8f38287 updated spiffworkflow 2023-04-10 13:06:14 -04:00
jasquat 5c2f0ef9de using spiffworkflow run-boundary-events-from-engine-steps branch and tests pass w/ burnettk 2023-04-10 12:22:33 -04:00
jasquat e12db76038 some cleanup, updated SpiffWorkflow, and added some notes to pick back up where we left off with the more efficient method w/ burnettk 2023-04-06 10:57:52 -04:00
jasquat a9af77729f updated common task save test to check for boundary event explicitly 2023-04-06 10:36:34 -04:00
jasquat e316ef9fef backend tests are passing with less optimized way 2023-04-06 10:30:18 -04:00
jasquat 92b021e708 WIP - some tests are now passing and some are failing w/ burnettk 2023-04-05 17:23:07 -04:00
jasquat 79e0a675f8 pyl and fixed tests 2023-04-03 11:50:28 -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
jasquat 343aae0628 rewind test passed w/ burnettk 2023-03-31 15:14:25 -04:00
jbirddog 5089b3d8e4 Trip safe asserts in tests, various process instance queue improvements (#199) 2023-03-31 10:59:09 -04:00
jasquat b441c59fde some cleanup before merging to main w/ burnettk 2023-03-31 10:57:13 -04:00
jasquat fefac239e2 added test for loopback to subprocess and fixed issue w/ burnettk 2023-03-31 10:48:16 -04:00
jasquat ac730e57a9 Merge remote-tracking branch 'origin/main' into feature/fix_process_instance_rewind 2023-03-31 09:31:52 -04:00
jasquat 955cdccf72 truncate process model metadata w/ burnettk 2023-03-30 16:54:31 -04:00
jasquat 854b41378f WIP trying to get resetting to a task within a subprocess working w/ burnettk 2023-03-30 16:30:34 -04:00
jasquat c73c0dcad1 fixed some failing tests except for test_send_event 2023-03-30 15:25:44 -04:00
jasquat b4b54f3fff do not save predicted tasks to the db w/ burnettk 2023-03-30 12:41:42 -04:00
jasquat 31cb1ab27c remove pdb w/ burnettk 2023-03-30 11:16:44 -04:00
jasquat e3b8653296 added an init method to task service and move a lot of code from workflow execution to it and fixed up the task running test to check things more thoroughly 2023-03-30 11:15:27 -04:00
jasquat 9a3f50d5fc some more debugging 2023-03-28 15:07:31 -04:00
jasquat fdd6d92506 resolved merge conflicts 2023-03-28 08:24:53 -04:00
jasquat 3ce25bba7e some more attempts to get reset working 2023-03-28 08:23:09 -04:00
burnettk 4a092a8e2a tests have been broken in ci, and this should fix it 2023-03-27 17:02:29 -04:00
jbirddog f0681aec28 Handle the multiple single file upload widget case (#195) 2023-03-27 16:03:22 -04:00
burnettk a263696758 add test for filtering columns and clarify that we are doing unit tests with api, whoops 2023-03-24 18:11:11 -04:00
jasquat 29b33fe2f1 removed debug comment w/ burnettk 2023-03-24 11:11:44 -04:00
jasquat 3f49f912ea pyl passes w/ burnettk 2023-03-23 15:16:39 -04:00
jasquat 7a14a58518 commented out reset process code and added comment and raise until we get it actually working and fixed issue with viewing at completed task where it was not including the tasks for the parent bpmn processes 2023-03-23 10:44:09 -04:00
jasquat 722680a5ac some more debugging for resetting a process to specific task w/ burnettk 2023-03-22 14:39:04 -04:00
jasquat 61da3d6b6f updated manual task with subprocess bpmn w/ burnettk 2023-03-22 10:45:40 -04:00
jasquat 034201b01c pyl 2023-03-21 13:34:59 -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
jasquat 7b3eb4730f fixed broken test w/ burnettk 2023-03-20 10:55:57 -04:00
jasquat f8856db032 removed spiff_logging w/ burnettk 2023-03-17 15:49:16 -04:00
jasquat 77e97d7a57 tasks can be skipped and manually executed w/ burnettk 2023-03-17 15:35:27 -04:00
jasquat 88df3bd5c3 added process instance event table 2023-03-17 13:20:06 -04:00
jasquat 3461056beb Merge remote-tracking branch 'origin/main' into feature/use_tasks_as_logs 2023-03-17 12:40:26 -04:00
jbirddog 90aed76e21 UAT bug fix: suspended/terminated instances automagically resume (#186) 2023-03-17 11:55:11 -04:00
jasquat e0dbb6a768 updated log list view in frontend w/ burnettk 2023-03-17 10:30:29 -04:00
jasquat 363428df09 added bpmn_name columns to definition tables and added test for simple logs as well 2023-03-17 10:00:59 -04:00
burnettk 6bfce59fe3 lint 2023-03-16 22:59:42 -04:00