Commit Graph

46 Commits

Author SHA1 Message Date
jbirddog 42393d8d75 Make list available to script tasks (#86) 2022-12-28 17:04:47 -05:00
jasquat 626db0d780 delete human tasks when process instance is deleted w/ burnettk 2022-12-28 14:02:39 -05:00
jasquat 66ebe1ad27 pyl w/ burnettk 2022-12-20 15:47:30 -05:00
Dan a75a5407ea When loading permissions and the user does not exist, add records to the UserGroupAssignmentWaiting table that can be picked up later.
Request "profile" scope over OpenID so we can get a few more bits of information when avilable.
Add a "clear_perissions" script
Add an "add_permissions" script
Add an "add_permissions" script
When logging in for the first time, check for any awaiting permissions and assign them.
Add "enumerate" as a whitelisted function to React Schema
Add a "display_name" to the user table

Add a test for adding a new permission
Add a test for adding a user to group
Adding a test for deleting all permissions.
Adding a display name for the user table
2022-12-15 14:40:31 -05:00
burnettk bb76eeee5f lint 2022-11-25 00:46:43 -05:00
burnettk 875bd1576b remove column 2022-11-24 12:28:53 -05:00
burnettk 6081f66379 renames 2022-11-24 12:00:26 -05:00
burnettk aa2333f278 start adding display name and removing garbage 2022-11-24 11:51:31 -05:00
burnettk 9455366f5d lint 2022-11-21 09:03:35 -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
burnettk 5008626b19 run_pyl 2022-11-15 10:11:26 -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
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
jasquat afbc3157da fixed some acceptance tests w/ burnettk cullerton 2022-11-08 17:20:17 -05:00
burnettk 80c5357b9b lint 2022-10-19 20:58:54 -04:00
Dan af8dd9e2d6 Merge branch 'main' of github.com:sartography/spiffworkflow-backend into main 2022-10-19 19:32:08 -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 5d449fe984 some upgrades while resolving a merge conflict 2022-10-03 13:55:28 -04:00
jasquat f65228c87f some updates to always pass back task intead of active_task 2022-07-25 11:48:42 -04:00
jasquat 3c2ea5f686 precommit is passing w/ burnettk 2022-07-11 16:56:50 -04:00
jasquat 76adcce043 added crud api calls for reports w/ burnettk 2022-07-11 16:16:10 -04:00
burnettk 96f770426b add generate_report and tests 2022-07-10 01:24:12 -04:00
burnettk 5047b9aa8b add process_instance_report_list 2022-07-09 13:17:21 -04:00
jasquat 4cd9e33b9e precommit is passing w/ burnettk 2022-06-30 12:17:14 -04:00
jasquat e57a64361c started migrating code for updating task form data w/ burnettk 2022-06-30 12:13:14 -04:00
jasquat ab83f4feea precommit is passing w/ burnettk 2022-06-30 11:21:02 -04:00
jasquat 898c08fa62 added active task model and some support to send back the form json w/ burnettk 2022-06-29 16:19:07 -04:00
jasquat 17a2c19227 added api call to get active tasks w/ burnettk 2022-06-28 17:11:10 -04:00
jasquat 89a0904b5d added new model for active_task table w/ burnettk 2022-06-28 14:22:46 -04:00
jasquat 65da9ccbaa fixed some precommit 2022-06-20 10:56:32 -04:00
jasquat 5cfe999d34 added process group id to all process-models api routes 2022-06-20 10:50:21 -04:00
jasquat a0927638aa pre-commit is passing 2022-06-09 09:31:42 -04:00
burnettk 4829ff1e0e pre-commit, let all tests pass, remove test json 2022-06-08 18:47:38 -04:00
Mike Cullerton c475c98fbc add process-group endpoint 2022-06-08 12:14:39 -04:00
jasquat f08992f2e5 added api to get process groups w/ burnettk 2022-06-03 10:56:07 -04:00
jasquat 2c4f2adeeb some auto linting fixes w/ burnettk 2022-05-31 14:10:00 -04:00
jasquat bb530d1744 wip: attempting to create process instance w/ burnettk 2022-05-26 16:20:30 -04:00
jasquat d2896bdd99 fixed pre-commit w/ burnettk 2022-05-23 16:37:14 -04:00
jasquat e3d90a6044 added process models and cleaned up some of the code w/ burnettk 2022-05-23 16:36:23 -04:00
jasquat a1ec53209d do not start mysql if using sqlite and fix flake8 with pre-commit to ignore the migrations dir w/ burnettk 2022-05-20 15:04:50 -04:00
jasquat 0c1c9dcec5 respect committed migration dir and run flask upgrade in nox w/ burnettk 2022-05-20 14:25:12 -04:00
jasquat 672e517528 use sqlite3 w/ burnettk 2022-05-16 16:44:41 -04:00
jasquat 4b3a91c13c this is now working and stores state in a sqlite3 db w/ burnettk 2022-05-16 15:21:35 -04:00