139 Commits

Author SHA1 Message Date
jasquat
c121361d70 more refactoring for process instance list w/ burnettk 2022-11-14 17:35:04 -05:00
jasquat
822c40525c merged in main and resolved pyl issues w/ burnettk 2022-11-14 12:24:23 -05:00
Dan
b7b6a97df0 work in spiff is approved and merged, updating dependency 2022-11-14 10:40:52 -05:00
Dan
828e41c4d6 Adding a display name to the BPMN Process ID Lookup Table
Removing (very nearly, except for script unit tests) all the XML Parsing we were doing, see related PR on SpiffWorkflow
Moved the Custom Parser into its own file to solve some circular import issues
2022-11-12 12:36:07 -05:00
burnettk
2cb3fb27e2 pyl 2022-11-11 11:39:15 -05:00
mike cullerton
1e09c95520 renamed and reordered some methods in base_test.py 2022-11-11 08:02:35 -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
jbirddog
64ac704288 Move to Python 3.11 (#27) 2022-11-09 13:45:16 -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
jbirddog
d183b961cf First pass at custom report/perspective for Process Instance List (#23) 2022-11-08 09:26:42 -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
jbirddog
c3468ca548 From the logs, allow viewing a diagram in a previous state (#15)
Co-authored-by: Elizabeth Esswein <elizabeth.esswein@gmail.com>
2022-11-02 14:34:59 -04:00
mike cullerton
440871d579 First stab at nested folders.
Added temp endpoints
Changes to tests and test helpers
2022-11-01 16:48:04 -04:00
burnettk
e0c09896d1 re-order imports the way backend always used to 2022-10-31 09:25:35 -04:00
jasquat
0c11a0b75b pyl passes w/ burnettk 2022-10-27 15:38:04 -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
jasquat
24a96ccdfa WIP: deleting user after approval w/ burnettk 2022-10-25 15:42:13 -04:00
jasquat
8659f2122e pyl now passes w/ burnettk 2022-10-25 15:25:42 -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
797c99a76e updated uses of normalize value to check prefixes in tests w/ burnettk 2022-10-21 16:36:32 -04:00
jasquat
3a382b4085 add new user to active task if appropriate w/ burnettk 2022-10-21 16:13:30 -04:00
jasquat
afdf81a031 added test to ensure users can update their own task w/ burnettk 2022-10-21 15:19:51 -04:00
jasquat
645e4d8fb6 updated flask-bpmn for sentry and fixed for pyl w/ burnettk 2022-10-21 13:15:17 -04:00
jasquat
57248eab76 fixed submitting and getting user tasks w/ burnettk 2022-10-21 11:57:27 -04:00
jasquat
49eefc561e some precommit stuff w/ burnettk 2022-10-21 11:00:31 -04:00
jasquat
be1f4bcc1a added validation to ensure user has access to task w/ burnettk 2022-10-20 17:23:23 -04:00
jasquat
a387b78786 added some code to respect lanes in a process model w/ burnettk 2022-10-20 17:06:48 -04:00
jasquat
594a32b676 merged in main and resolved conflicts w/ burnettk 2022-10-20 11:27:15 -04:00
burnettk
f9c2fa21ec lint 2022-10-20 07:15:20 -04:00
burnettk
287d10494e only do startswith when it is a string 2022-10-20 07:14:30 -04:00
Dan
1f99264c0f Remove all references to the MasterWorkflow, standalone workflows, and libraries, as these concepts should no longer exist. 2022-10-18 16:11:38 -04:00
jasquat
6a9d0a68a7 api calls are somewhat respecting permissions now and the process api tests are passing 2022-10-13 14:15:31 -04:00
jasquat
92d204e696 Merge remote-tracking branch 'origin/main' into feature/data 2022-10-12 14:20:09 -04:00
burnettk
d29621aef9 data setup on app boot 2022-10-12 13:26:04 -04:00
jasquat
68d699784e precommit w/ burnettk 2022-10-11 17:03:28 -04:00
jasquat
93eb91f486 added keycloak configs and user perms for staging w/ burnettk 2022-10-11 16:00:52 -04:00
jasquat
e4ded8fc05 added method to import permissions from yml file w/ burnettk 2022-10-11 15:18:32 -04:00
jasquat
22ba89ae4f use percents instead of asterisks to better support db syntax w/ burnettk 2022-10-11 11:51:12 -04:00
jasquat
621ad3ef2e attempting to see if sql like statement works in other dbs as well w/ burnettk 2022-10-11 11:43:52 -04:00
jasquat
cb1c6a261a precommit is now passing 2022-10-11 09:53:42 -04:00
jasquat
e9442cf27a started adding a test for update permission usage 2022-10-11 09:44:32 -04:00
jasquat
595a94a1b2 some updates for permissions w/ burnettk 2022-10-10 14:09:45 -04:00
Kevin Burnett
d85daf4766
Merge pull request #120 from sartography/bugfix/allow-datetime-strftime
fix for datetime.strftime
2022-10-07 21:38:59 +00:00
burnettk
5f708fe41d one has_permission test passes. w/ mike 2022-10-07 17:10:22 -04:00
burnettk
7577b5619e rename grant to permit and work on test. w/ mike 2022-10-07 16:40:22 -04:00
burnettk
37441b8bef add crud perms, allow getting principal from user, start actual permissions test 2022-10-07 16:14:14 -04:00
Elizabeth Esswein
1a3fde9401 fix for datetime.strftime 2022-10-07 15:20:38 -04:00
burnettk
11f4fd3933 run poet pre to fix lint, and avoid updating flask and Flask-SQLAlchemy to squelch warnings 2022-10-05 20:50:33 -04:00