Commit Graph

1481 Commits

Author SHA1 Message Date
Dan 7867856931 Setting things up so it's easy to switch databases using a local configuration file (still works with environment variables)
Swtiched from a "joinedload" to a "selectinload" which removes a problem with groupby columns in Postgres and sqlite. (https://docs.sqlalchemy.org/en/14/orm/loading_relationships.html#selectin-eager-loading)
2022-12-05 12:05:52 -05:00
Dan 0425293fd5 Fixes based off KB's super kind review.
-------
* Remove unnecessary packages from dockerfile for the demo-connect proxy.
* Rename an environment variable that mentioned Status.im in what is now a generic connector.
* Fixed a spelling mistake.
2022-12-05 10:46:26 -05:00
Dan 52b288bd47 I can't say I love flake8.
Removing dependency on rust (monkeytype)
2022-12-01 16:23:03 -05:00
Dan 3534b18961 fixing some typing issues, white space, etal... 2022-12-01 15:01:25 -05:00
Dan d9b36f5e1a fixing some typing issues. 2022-12-01 14:40:59 -05:00
Dan 51ecd25fb7 Reorder config imports so that instance config is dead last - and can override everything else.
Updated docker-compose for running a demo.
run_pyl fixes
2022-12-01 14:13:22 -05:00
Dan d7308ef674 Adding a demo permissions file. 2022-12-01 13:29:57 -05:00
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
Dan 321fc0e75c Use the "well-known" configuration dictionary from openid to get the url endpoints, rather than trying to configure or guess the correct endpoint urls. 2022-11-30 16:33:44 -05:00
Dan 4df885fd3e Not all open id systems have realms like KeyCloak does -- so removing this in favor of setting just one value - which is the base url of the openid system -- which will work across all openid systems. 2022-11-30 11:51:20 -05:00
Dan d4ad18ab9c Adding a blueprint for openid - a very lightweight embedded authentication system to make it eaiser to try out SpiffWorkflow when you don't have openID set up with Google etal.
Removing all calls to open id's user_info endpoint - as these are unncessiary.
Adding a users section to the permission files -- so we can handle all user/group/permissions in one file when needed.
There was a very confusing is_admin function on the user model that needed killin.
2022-11-30 11:32:55 -05:00
jasquat fcc5bce3e9 fixed issue ensuring active tasks are up to date w/ burnettk cullerton 2022-11-28 15:47:56 -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
jasquat 46038eae32 only delete active tasks if needed w/ burnettk cullerton 2022-11-28 13:41:30 -05:00
Kevin Burnett 3b62551474 Merge pull request #64 from sartography/group_query
Group query
2022-11-28 09:10:48 -08:00
burnettk 3abdf88724 get rid of Project Lead group 2022-11-28 12:03:49 -05:00
Jon Herron ded78d9fec Getting ./bin/pyl to pass 2022-11-28 11:17:41 -05:00
Jon Herron c51e56e9b5 Query fix with the gang 2022-11-28 11:15:40 -05:00
burnettk 38c37b9275 everybody gets access to read processes 2022-11-27 21:30:35 -05:00
burnettk e2a3d67eb7 put sasha and manuchehr in demo group 2022-11-27 21:28:51 -05:00
burnettk 61a2d858e6 upgrade keycloak 2022-11-27 21:17:07 -05:00
burnettk 47b551b8a1 make sasha, harmeet, manuchehr, and admin have desired permissions for demo 2022-11-27 21:07:20 -05:00
Dan 3ecfe6ae44 add demo group access to the customer-contracts to give us 5 tiles for the dmeo. 2022-11-25 17:23:56 -05:00
Dan 327981e637 adding the username to the report tables 2022-11-25 17:16:26 -05:00
Dan c90a0a3302 Performance improvement in listing all process models. 2022-11-25 15:59:59 -05:00
Dan d32575033c Don't create a processor for every thing all the time. 2022-11-25 15:35:24 -05:00
Jon Herron 2f639352a7 Getting ./bin/pyl to pass 2022-11-25 15:19:10 -05:00
Jon Herron c8f5611598 Merge branch 'main' into task_json 2022-11-25 15:08:37 -05:00
Jon Herron fe5f9995b6 Just save task_json 2022-11-25 15:05:17 -05:00
burnettk 8f27848285 no global read since that gives configuration as well 2022-11-25 14:37:50 -05:00
burnettk e351f033ed do not allow starting vendor invoice approval process for demo users 2022-11-25 13:32:44 -05:00
Dan 2e97efdbb9 Change permissions per request -- want everyone to have access to 4 process models. 2022-11-25 13:31:17 -05:00
Dan ff63418ca1 Change permissions per request -- want everyone to have access to 4 process models. 2022-11-25 13:31:01 -05:00
Dan 6b4bcfd346 Merge branch 'main' of github.com:sartography/spiff-arena into main 2022-11-25 12:57:34 -05:00
Dan bc6d805137 Change permissions changed from vendor to core-contributor for everyone. 2022-11-25 12:57:23 -05:00
burnettk dfed48057d upgrade keycloak 2022-11-25 12:49:41 -05:00
burnettk 0f0f56e456 display name instead of id, margin under table sections, Download xml to Download 2022-11-25 10:23:00 -05:00
burnettk 9af3773079 lint 2022-11-25 02:55:52 -05:00
burnettk fe5d2fdec3 exclude instances you started in with_tasks_completed_by_me 2022-11-25 01:57:51 -05:00
burnettk bb76eeee5f lint 2022-11-25 00:46:43 -05:00
burnettk e30f12fabf in completed tab, show display name, and filter by all stopped statuses rather than just complete 2022-11-25 00:44:06 -05:00
burnettk 57a720c972 tests passing 2022-11-25 00:08:38 -05:00
burnettk dc0665c260 gotta fix usage of is_model 2022-11-24 16:28:10 -05:00
burnettk 63b654c229 working on tests 2022-11-24 13:01:53 -05:00
burnettk aa4277d98a oh my god why were these ever instance methods 2022-11-24 12:38:41 -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 a9d5e121b6 add fin1, lead1, and Tasks actioned by me to Tasks completed by me 2022-11-24 10:38:25 -05:00
jbirddog e32c3830b3 Fix the postgres job (#61) 2022-11-23 15:50:02 -05:00