516 Commits

Author SHA1 Message Date
jasquat
1ce992ce4d
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
9ca4a32f46
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
f66604fc2f
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
e0f03eae48
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
80406204b4
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
d6f13b8808
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
569bfc787b
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
22e53ab23d
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
ef57b3bf8e
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
033502425e
Feature/better subworkflow management part 2 (#341)
* Revert "Revert "Feature/better subworkflow management (#331)""

This reverts commit 3becffc14f03f79f31582ea2b7f1610eed0e71bc.

* 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
3becffc14f
Revert "Feature/better subworkflow management (#331)"
This reverts commit cdbe577836830a83c5f3d825ea66ba1c0b82c401.
2023-06-15 15:10:48 -04:00
jasquat
cdbe577836
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
96b0c2182c
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
1ce51cbc57
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
2631fa5f95
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
febca3bc0b
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
c559ce6565
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
57d16e3c93
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
1fcb75e57a
pyl w/ burnettk 2023-06-02 11:24:49 -04:00
jasquat
bbb0ff30ae
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
3178ce2573 Merge remote-tracking branch 'origin/main' into feature/better_interstitial_spinner_and_suspend_message 2023-06-01 15:07:25 -04:00
danfunk
9aa52bcd27 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
08f1cd8e50
removed useless def comments that started with and underscore as well 2023-06-01 13:52:07 -04:00
jasquat
35864d8abe
removed useless class and def comments from python code w/ burnettk 2023-05-31 16:28:06 -04:00
burnettk
408b60187b
add pylint 2023-05-30 19:39:15 -04:00
Kevin Burnett
115a1782f7
Merge branch 'main' into feature/more-secret-secrets 2023-05-30 18:55:14 +00:00
jbirddog
1486edbf97
Cycle Timer Start Event Support (#285) 2023-05-30 13:51:37 -04:00
burnettk
274892125d
remove useless comments matching filenames 2023-05-30 12:21:50 -04:00
burnettk
c127b4c714
Merge remote-tracking branch 'origin/main' into feature/more-secret-secrets 2023-05-30 08:38:15 -04:00
burnettk
68f4707581
enable pep8-naming and use ruff for autofixer 2023-05-30 07:15:49 -04:00
burnettk
8125f94fea
get compatible with ruff 2023-05-29 17:03:30 -04:00
burnettk
bdffdc5c25
only expose value on show, not list, move tests, fix UI 2023-05-29 15:04:38 -04:00
burnettk
0c23076adc
get compatible with ruff pyupgrade 2023-05-27 14:59:52 -04:00
burnettk
aeb7caa531
let ruff sort imports and ditch duplicative pre-commit linters 2023-05-26 20:01:08 -04:00
burnettk
230b475586
get compatible with default ruff ruleset 2023-05-26 13:07:18 -04:00
jasquat
fc75472eb9
ensure we delete related items when deleting a process instance w/ burnettk 2023-05-26 10:51:24 -04:00
jbirddog
252216b823
Custom start event (#274) 2023-05-25 10:30:01 -04:00
jasquat
f7df8da84a
moved callback code to delegate class in process model test runner w/ burnettk 2023-05-24 15:26:26 -04:00
jasquat
e562ae1c93
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
6b41229b7d
pyl w/ burnettk 2023-05-23 15:55:27 -04:00
jasquat
5e23b0b077
fixed tests failing for typeguard w/ burnettk 2023-05-23 15:50:55 -04:00
jbirddog
ca891259f7
Support custom run at time when creating an instance (#270) 2023-05-23 09:52:01 -04:00
burnettk
7f19ce4a8c
lint 2023-05-23 06:38:35 -04:00
jasquat
c6d2853b51
added api to run process model unit tests w/ burnettk 2023-05-22 17:36:07 -04:00
jasquat
75b6c58bed
Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests 2023-05-22 15:17:49 -04:00
jasquat
58b06751ae
fixed tests related to new permissions w/ burnettk 2023-05-22 14:58:51 -04:00
jasquat
1c0d62d366
remove api usages from script tests and pyl w/ burnettk 2023-05-22 14:09:17 -04:00
jasquat
b575ef09de
added missing permissions to elevated perm macro and removed api calls from unit tests 2023-05-22 13:50:32 -04:00
jasquat
c6b842f2b8
fixed process-instance api perms in macro 2023-05-22 10:03:46 -04:00
jasquat
e1285539e5
elevated permissions should include running privileged scripts w/ burnettk 2023-05-19 16:21:32 -04:00