Commit Graph

66 Commits

Author SHA1 Message Date
Elizabeth Esswein 83e468d43c Merge branch 'main' into feature/process-navigation 2022-12-29 12:09:47 -05:00
jasquat 0972d9790a save the process instance even if it fails to run all the way w/ burnettk 2022-12-28 14:37:04 -05:00
jasquat bf1ecb87d1 added ability to view data objects from the process instance show page w/ burnettk 2022-12-27 11:45:42 -05:00
jasquat ffcfa7b37f added test to check only privileged users can call refresh_permissions w/ burnettk 2022-12-22 17:12:21 -05:00
jasquat 73356471b5 pyl passes w/ burnettk 2022-12-22 16:42:52 -05:00
jasquat d458602546 minor tweak to test bpmn w/ burnettk 2022-12-21 13:51:49 -05:00
jasquat 71c4a2fdc4 added permission to run privileged scripts w/ burnettk 2022-12-21 11:24:38 -05:00
Elizabeth Esswein a7fb08b11d add integration tests for process nav endpoints 2022-12-19 11:33:48 -05:00
jasquat f3760380ef added support to order reports by given column and metadata headers w/ burnettk 2022-12-05 10:59:27 -05:00
burnettk d7ff963da1 test for automatic saving of process instance metadata on instance save 2022-12-04 22:35:16 -05:00
burnettk fe7c4c9230 remove dup test process model 2022-12-04 14:40:34 -05:00
jasquat a0081bdf7b some basics to add metadata to reports w/ burnettk cullerton 2022-11-28 17:03:00 -05:00
jasquat 3ef318e611 added script to save process instance metadata and fixed permissions issue w/ burnettk cullerton 2022-11-28 15:26:50 -05:00
mike cullerton 8aa126e750 precommit 2022-11-18 15:50:20 -05:00
jasquat 5dcdc225a8 fixed failing tests w/ burnettk 2022-11-14 17:38:44 -05:00
burnettk 2cb3fb27e2 pyl 2022-11-11 11:39:15 -05:00
mike cullerton 450a8d0757 Delete groups now checks for running instances in nested models
also, pyl
2022-11-10 16:44:27 -05:00
mike cullerton d17007eaaa Merge branch 'main' into feature/nested-groups
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/api.yml
#	spiffworkflow-backend/src/spiffworkflow_backend/models/process_instance_report.py
#	spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_spec_file_service.py
#	spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx
#	spiffworkflow-frontend/src/routes/ProcessInstanceReportList.tsx
#	spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx
#	spiffworkflow-frontend/src/routes/ProcessModelShow.tsx
2022-11-08 14:09:03 -05:00
jasquat 704ce5709e pyl is passing 2022-11-07 14:02:47 -05:00
Dan 98e1776edf When returning the list of files in a ProcessModel, include all the ways they can be referenced,
for instance, json files, can be referened by file name,  bpmn files can be referened by one more process ids,
and DMN's files can be referenced by one or more decision ids.  This information is now included in the reference.

Also cleaned up a number of things in the File Object that were always null / are cary overs from CR-Connect that are not in use, and unlikely to ever be used in this way.
2022-11-07 11:47:00 -05:00
mike cullerton 207de9ab86 Merge branch 'main' into feature/nested-groups
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/models/process_model.py
#	spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
2022-11-07 10:56:37 -05:00
mike cullerton fec8d06b8d started test for test_script_unit_test_run 2022-11-07 10:34:14 -05:00
mike cullerton 7c13ec8028 Fix urls for uspend and resume endpoints 2022-11-06 14:23:16 -05:00
jasquat 6baaf092b2 fixed group test w/ burnettk 2022-11-02 14:15:17 -04:00
jasquat 00fe96cd64 added script to get the group members w/ burnettk 2022-10-31 11:39:54 -04:00
burnettk c8d2b64ce1 wildcard environment support 2022-10-26 22:34:28 -04:00
Mike Cullerton dfaa699f9e Merge pull request #7 from sartography/feature/get-local-time
Feature  get_localtime script
2022-10-26 11:06:06 -04:00
jasquat d19477e390 test removing an approver from a list while user lane_owners dict w/ burnettk 2022-10-25 17:35:17 -04:00
mike cullerton 3471ab792a Added `get_localtime` script
Added test for new script, with test process
2022-10-25 15:56:48 -04:00
jasquat 24a96ccdfa WIP: deleting user after approval w/ burnettk 2022-10-25 15:42:13 -04:00
jasquat 56f8d73449 added some support to get the potential task owners from task data w/ burnettk 2022-10-25 12:00:03 -04:00
jasquat a387b78786 added some code to respect lanes in a process model w/ burnettk 2022-10-20 17:06:48 -04:00
burnettk eeb6b054ba try without workflow.json 2022-10-09 22:26:38 -04:00
burnettk 138799941d fully working 2022-10-06 18:44:18 -04:00
burnettk 04918e0f41 jam in task data 2022-10-06 18:00:12 -04:00
burnettk 94e335f2f5 hardcode part of solution for now 2022-10-06 17:29:19 -04:00
burnettk 57d239d34c replace test model with something closer to what we want 2022-10-06 17:19:48 -04:00
burnettk 93e6adbc23 work in progress 2022-10-06 17:16:26 -04:00
Elizabeth Esswein 510eec3f6a change script engine to use RestrictedPython 2022-10-05 19:35:59 -04:00
burnettk c567cae994 Merge remote-tracking branch 'origin/main' into feature/script-unit-test-subprocesses 2022-10-03 12:21:25 -04:00
burnettk cccd523ea3 use _execute and avoid passing an actual task around 2022-09-30 18:35:20 -04:00
burnettk e8a4ff138d with manual task 2022-09-30 16:57:24 -04:00
burnettk 589cef8baa clean up 2022-09-30 16:51:52 -04:00
Dan ac999a8e65 Add the ability to call custom built-in functions from within a Python script. With the first real script being a "get_env()" which will return the current environment (ie, 'testing', 'development' etc...) 2022-09-30 16:50:45 -04:00
burnettk a964fb4ea0 work in progress 2022-09-30 16:46:30 -04:00
burnettk e834a54f0d Merge remote-tracking branch 'origin/main' into feature/allow-dot-notation-in-forms 2022-09-29 10:21:47 -04:00
burnettk e8a34eb830 ran poet pre to delint and added type hints to fix poet mypy 2022-09-29 10:19:31 -04:00
Elizabeth Esswein 4905d40876 add test for dot notation conversion 2022-09-28 12:25:18 -04:00
jasquat 556c9f1353 Merge remote-tracking branch 'origin/main' into feature/script-unit-tests 2022-09-27 10:36:45 -04:00
burnettk a2b81ac8b4 add test and fix for timer_intermediate_catch_event 2022-09-20 17:23:07 -04:00