127 Commits

Author SHA1 Message Date
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
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
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
Elizabeth Esswein
510eec3f6a change script engine to use RestrictedPython 2022-10-05 19:35:59 -04:00
burnettk
9abc356a69 remove null-ls temp file 2022-10-03 20:04:47 -04:00
burnettk
3ceed74930 Merge remote-tracking branch 'origin/main' into feature/script-unit-test-subprocesses 2022-10-03 12:39:01 -04:00
Kevin Burnett
85ff4f1326
Merge pull request #102 from sartography/feature/upgrade_spiff_workflow_and_service_task
Feature/upgrade spiff workflow and service task
2022-10-03 16:29:15 +00:00
burnettk
bb2d4d2f1a bump spiffworkflow and fix lint 2022-10-03 12:29:04 -04:00
burnettk
633fdc188f clean up after new class based test 2022-10-03 12:22:43 -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
ef48e3cf18 handle exceptions 2022-09-30 19:04:46 -04:00
burnettk
cccd523ea3 use _execute and avoid passing an actual task around 2022-09-30 18:35:20 -04:00
burnettk
694eedf87a lint and mypy 2022-09-30 17:38:02 -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