117 Commits

Author SHA1 Message Date
Dan
8ade069dd1 A little cleanup of the ui
Don't check authorization on static assets
Do not require unique username on user table (uniqueness check is on the service and service id composite.)
2022-12-01 12:12:37 -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
burnettk
875bd1576b remove column 2022-11-24 12:28:53 -05:00
burnettk
aa2333f278 start adding display name and removing garbage 2022-11-24 11:51:31 -05:00
burnettk
c1ecc90352 Merge commit '9275b67b0dddac9628342741278c89f6f2bd3620' 2022-11-20 19:55:00 -05:00
mike cullerton
8aa126e750 precommit 2022-11-18 15:50:20 -05:00
Dan
89c17b7aab Fixing a bug in SpiffWorkflow (new version in poetry.lock)
Don't explode when back-filling process models and hitting and error
Assure processes are executable when setting them as the default primary process.
The SpecReferenceCache now uses a unique constraint across two fields. (requires a new db)
2022-11-15 14:50:41 -05:00
Dan
a3dcae016f Merge remote-tracking branch 'origin/main' into feature/call_activity_selection 2022-11-15 09:55:02 -05:00
Dan
58b702fa67 Adding a very simple api endpoint that just returns a list of every process known to the system. 2022-11-14 21:54:13 -05:00
jasquat
9bfb0f9e88 refactored pagination table to allow prefixing page options w/ burnettk 2022-11-14 16:29:04 -05:00
Dan
b03d531abb Mostly a name change from BpmnProcessIdLookup to SpecReferenceCache. I landed on this unfortunate name because:
1. It's not just processes, it contains the list of all DMN Decisions as well.
2. It is closely linked to the SpecReference object that can be generated by looking through all the Spec files to find the processes and decisions they contain.
3. It is a cache of information, the file system is the source of truth.  Seems likely we will cache more things in the future -- so setting things up this way made sense.
2022-11-14 15:23:37 -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
mike cullerton
450a8d0757 Delete groups now checks for running instances in nested models
also, pyl
2022-11-10 16:44:27 -05:00
jbirddog
f894ebee27 Bulk insert spiff logs and step details (#26) 2022-11-09 15:43:12 -05:00
jasquat
afbc3157da fixed some acceptance tests w/ burnettk cullerton 2022-11-08 17:20:17 -05:00
jbirddog
d183b961cf First pass at custom report/perspective for Process Instance List (#23) 2022-11-08 09:26:42 -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
jasquat
b7aee05492 removed tables for file, admin_session, task_event, and data_store w/ burnettk 2022-11-02 11:38:16 -04:00
Mike Cullerton
4d2ebbe237 Refresh token (#6)
* Handle refreshed tokens if present

* Small cleanup

* No longer require secrets to be modified by the user that created them
Rename creator_user_id column to user_id

Co-authored-by: Jon Herron <jon.herron@yahoo.com>
Co-authored-by: mike cullerton <michaelc@cullerton.com>
2022-10-25 14:12:32 -04:00
jasquat
5128f75243 merged in main and resolved conflicts 2022-10-21 09:32:09 -04:00
burnettk
7e1ce35c27 remove task_data column 2022-10-21 09:04:09 -04:00
jasquat
a387b78786 added some code to respect lanes in a process model w/ burnettk 2022-10-20 17:06:48 -04:00
mike cullerton
259f74a1ee Merge branch 'main' into bug/refresh-token
# Conflicts:
#	migrations/versions/cf862b761896_.py
#	migrations/versions/f1f17d99d118_.py
#	migrations/versions/fe0828c30b20_.py
2022-10-20 13:07:29 -04:00
mike cullerton
8e1075406f Merge branch 'main' into bug/refresh-token
# Conflicts:
#	migrations/versions/07ff3fbef405_.py
#	migrations/versions/9e14b40371f3_.py
#	migrations/versions/c98445562ced_.py
#	src/spiffworkflow_backend/services/authentication_service.py
2022-10-20 11:54:25 -04:00
mike cullerton
6403e62c0e Fix migration after merging main 2022-10-20 11:30:28 -04:00
jasquat
594a32b676 merged in main and resolved conflicts w/ burnettk 2022-10-20 11:27:15 -04:00
jasquat
b285ba1a1c added updated columns to secrets and updated flask-bpmn 2022-10-20 10:29:13 -04:00
Dan
af8dd9e2d6 Merge branch 'main' of github.com:sartography/spiffworkflow-backend into main 2022-10-19 19:32:08 -04:00
Dan
2f40b0d7fa Post, Not Get -- to the connector proxy
Allow insane large task data in the database
2022-10-19 19:30:18 -04:00
jasquat
72049c0041 added authentication callback endpoint. w/ burnettk, cullerton, jbirddog 2022-10-19 14:19:12 -04:00
Dan
935c883b01 migration. 2022-10-18 16:17:29 -04:00
mike cullerton
cf01f0d514 Add refresh_token model 2022-10-17 10:51:47 -04:00
jasquat
93c4562944 merged in main and resolved conflicts w/ burnettk 2022-10-13 15:02:45 -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
mike cullerton
516ee5fcd7 Remove allowed process stuff from secrets 2022-10-13 08:20:42 -04:00
jasquat
e4ded8fc05 added method to import permissions from yml file w/ burnettk 2022-10-11 15:18:32 -04:00
jasquat
e9442cf27a started adding a test for update permission usage 2022-10-11 09:44:32 -04: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
burnettk
9c5943baf6 add permission assignment 2022-10-07 15:19:26 -04:00
burnettk
27d78bb7c5 add permission target 2022-10-07 15:14:07 -04:00
mike cullerton
d268e85e1f First stab 2022-09-26 13:40:09 -04:00
mike cullerton
a0d00c3efa Merge branch 'main' into feature/secrets
# Conflicts:
#	migrations/versions/6c705aca6530_.py
#	migrations/versions/86bdc3330645_.py
#	migrations/versions/ade9bce1c592_.py
2022-09-26 10:39:21 -04:00
mike cullerton
1f3114eabb Fix revision difference w/main 2022-09-26 10:36:02 -04:00
burnettk
4736e2878e Merge remote-tracking branch 'origin/main' into feature/process_instance_search 2022-09-22 18:02:18 -04:00
jasquat
98fd9d845b set task name in logs if available and catch errors to ensure we set the log level back to the correct value w/ burnettk 2022-09-22 16:48:14 -04:00
mike cullerton
59e2d1639e Merge branch 'main' into feature/secrets
# Conflicts:
#	migrations/versions/00a59d952198_.py
#	migrations/versions/1ccfcb7baf22_.py
#	migrations/versions/36aff687ae47_.py
2022-09-22 08:16:42 -04:00
jasquat
c5dcb39f78 added username and task_type to logs w/ burnettk cullerton 2022-09-21 17:26:31 -04:00
mike cullerton
1c411d0af5 Add UniqueConstraint on secret_id/allowed_relative_path columns in secret_allowed_process table
Add delete_allowed_process to SecretService
Added some remaining tests for SecretService
2022-09-19 17:02:20 -04:00