jasquat
285294967d
Feature/error to suspended state ( #384 )
...
* fixed suspended message w/ burnettk
* allow manually executing errored tasks when suspended w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-12 19:50:24 +05:30
jasquat
841f3ccc8c
Feature/task assignment ( #352 )
...
* added an api to assign a list of users to a task w/ burnettk
* use the modal submit and close buttons when saving task data on the instance show page w/ burnettk
* switch save and cancel buttons on secrets new page w/ burnettk
* add some icons, tho still missing event stuff
* finished adding imporoved icons and fixing up task modal w/ burnettk
* added some user search options to assig tasks to w/ burnettk
* cleaned up task details modal and added call to backend to add potential users w/ burnettk
* fixed broken tests w/ burnettk
* removed some merge comments w/ burnettk
* process instance id is an int not a str w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-12 19:44:01 +05:30
jasquat
25eb8b30f1
give user access to pi for-me with all perm to process group w/ burnettk ( #371 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-05 14:47:15 -04:00
jasquat
766a7e491e
delete the draft task data when the task has been submitted ( #364 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-30 13:03:56 +05:30
jasquat
d810d9b01f
fixed up the unit test permission yml to better match the way we do permissions ( #363 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-29 14:21:15 -04:00
jasquat
f80c52ba38
update basic permission set for callers to allow for processes to be passed in ( #362 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-29 19:05:18 +05:30
jasquat
3a8cfd2642
disable form submit buttons when appropriate, lock process instance when sending events, and ensure return events match ones associated with desired guids w/ burnettk ( #359 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-29 09:36:47 +05:30
jasquat
d50fb61bb9
added a script task script to get a task data value based on key name… ( #353 )
...
* added a script task script to get a task data value based on key name w/ burnettk
* pyl
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-27 10:04:04 -04:00
jasquat
51cfcfa2a5
Feature/autosave and null form data ( #346 )
...
* autosave form data on change w/ burnettk
* tests are now passing and pyl
* do not do anything on autosave success w/ burnettk
* merged autosave and null form data branches together w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-26 18:26:56 +05:30
jbirddog
2c99e17381
Show callers for non primary files ( #334 )
...
* WIP - working with multiple process ids, need to return a file's process ids
* Send bpmn process ids back with bpmn files
* Getting ./bin/pyl to pass
* Fix up unit test
* Wire up the front end
* Pre pr cleanup
2023-06-23 11:45:23 +05:30
Kevin Burnett
7de0d97303
Feature/better subworkflow management part 2 ( #341 )
...
* Revert "Revert "Feature/better subworkflow management (#331 )""
This reverts commit 48dcde8faf
.
* updated SpiffWorkflow to fix infinite loop in task trace w/ burnettk
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-20 10:37:49 -04:00
burnettk
48dcde8faf
Revert "Feature/better subworkflow management ( #331 )"
...
This reverts commit 23af5cbbe4
.
2023-06-15 15:10:48 -04:00
jasquat
23af5cbbe4
Feature/better subworkflow management ( #331 )
...
* WIP: some updates to support new spiff w/ burnettk
* unit tests are passing
* all tests except message tests are passing
* fixed usage of catch message event w/ burnettk
* messages are working again w/ burnettk
* uncommented remaining message tests w/ burnettk
* fixed cypress tests w/ burnettk
* use main for spiffworkflow
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-15 10:31:42 -04:00
burnettk
0848c64299
if lane owner name is an actual group, assume that we want tasks assigned to group
2023-06-13 21:59:17 -04:00
jasquat
a14072c0b6
added remaining path segment all perms to elevated options ( #326 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-12 08:05:33 -07:00
jasquat
121b3c7cc9
some fixes and updates to help with running an acceptance test model ( #323 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-09 11:19:02 -07:00
Kevin Burnett
35543cc362
add mccabe linter and auto fixes ( #302 )
...
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-06-08 14:26:33 -07:00
jasquat
4b2970170c
updated permission macros to give admins access to task-data and proc… ( #314 )
...
* updated permission macros to give admins access to task-data and process-data w/ burnettk
* do not check for write to process-models if diagram is readonly anyway w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-08 11:39:14 -04:00
jbirddog
27447e533c
Fix issue when timer start event is greater than a day ( #303 )
...
* Fix issue when start time is greater than a day
* Add some cycle timer tests
* Add some more tests
* Getting ./bin/pyl to pass
2023-06-06 18:25:26 -07:00
jasquat
32a2154134
pyl w/ burnettk
2023-06-02 11:24:49 -04:00
jasquat
2f4e824863
synced unit tests with sample and added support for subprocesses for bpmn unit tests w/ burnettk
2023-06-02 11:20:41 -04:00
danfunk
542babba28
Merge remote-tracking branch 'origin/main' into feature/better_interstitial_spinner_and_suspend_message
2023-06-01 15:07:25 -04:00
danfunk
6e9a5bd590
Introduced a small spinner to the interstitial view on the Process Instance Show page.
...
Display reasonable messages when a processes is suspended or errored. Can't do much with terminated.
Show the spinner more frequently and consistently.
When running ruff, ignore everything in .gitignore
2023-06-01 15:05:59 -04:00
jasquat
b756e594ab
removed useless def comments that started with and underscore as well
2023-06-01 13:52:07 -04:00
jasquat
43f23cd630
removed useless class and def comments from python code w/ burnettk
2023-05-31 16:28:06 -04:00
burnettk
aae043e0a4
add pylint
2023-05-30 19:39:15 -04:00
Kevin Burnett
4bbe10be00
Merge branch 'main' into feature/more-secret-secrets
2023-05-30 18:55:14 +00:00
jbirddog
0fc32f82d4
Cycle Timer Start Event Support ( #285 )
2023-05-30 13:51:37 -04:00
burnettk
7b2f75c349
remove useless comments matching filenames
2023-05-30 12:21:50 -04:00
burnettk
d940339229
Merge remote-tracking branch 'origin/main' into feature/more-secret-secrets
2023-05-30 08:38:15 -04:00
burnettk
a567b990e6
enable pep8-naming and use ruff for autofixer
2023-05-30 07:15:49 -04:00
burnettk
ad3f283098
get compatible with ruff
2023-05-29 17:03:30 -04:00
burnettk
2199214323
only expose value on show, not list, move tests, fix UI
2023-05-29 15:04:38 -04:00
burnettk
f8d4a6382b
get compatible with ruff pyupgrade
2023-05-27 14:59:52 -04:00
burnettk
2b2875cb6f
let ruff sort imports and ditch duplicative pre-commit linters
2023-05-26 20:01:08 -04:00
burnettk
cf40546a09
get compatible with default ruff ruleset
2023-05-26 13:07:18 -04:00
jasquat
a58a9532fc
ensure we delete related items when deleting a process instance w/ burnettk
2023-05-26 10:51:24 -04:00
jbirddog
5bf37687ae
Custom start event ( #274 )
2023-05-25 10:30:01 -04:00
jasquat
89f3dbc7b8
moved callback code to delegate class in process model test runner w/ burnettk
2023-05-24 15:26:26 -04:00
jasquat
2db6b10b7d
Merge pull request #275 from sartography/feature/process_model_unit_tests
...
Feature/process model unit tests
2023-05-23 15:55:47 -04:00
jasquat
5e25e591ae
pyl w/ burnettk
2023-05-23 15:55:27 -04:00
jasquat
ac73ee47f6
fixed tests failing for typeguard w/ burnettk
2023-05-23 15:50:55 -04:00
jbirddog
9ec956cee8
Support custom run at time when creating an instance ( #270 )
2023-05-23 09:52:01 -04:00
burnettk
20bc44bfe7
lint
2023-05-23 06:38:35 -04:00
jasquat
4ed43e5058
added api to run process model unit tests w/ burnettk
2023-05-22 17:36:07 -04:00
jasquat
3f6bc76a7e
Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests
2023-05-22 15:17:49 -04:00
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