Commit Graph

1049 Commits

Author SHA1 Message Date
Dan b94e0f7266 Assure our open-id system can return emails.
Update our data from Open ID Systems when users log in
2022-12-13 08:14:44 -05:00
Dan 552229110c Removing two fields from user table that were not used (uid, name)
Request email from open id clients, as this would provide a handy way to uniquely reference users when assigning to groups.
During Login do a lookup on email if possible -- so that permissions assignments based on email can be connected when sigining in through openid.
Don't use "open_id" for the service name on user accounts, use the iss string provided through open id,  this will allow us to support more than one open id platform.
Update the KeyCloak configuration so it is able to return email addresses for users -- which will make permission assignment easier in the future.
Removed several unused commands in the user_service class.
2022-12-12 15:43:19 -05:00
jasquat 518a6e1606 pyl 2022-12-12 15:36:03 -05:00
jasquat 85be6db77c added test to get the diagram for a given process instance call activity 2022-12-12 15:33:31 -05:00
jasquat c3e0b2ef14 allow viewing the diagram for a specific process identifier 2022-12-12 15:08:09 -05:00
jasquat 95be029656 split out completed instances by group as well 2022-12-12 13:41:42 -05:00
jasquat ec754cbee7 updated group api so it is not under tasks 2022-12-12 13:19:27 -05:00
jasquat 978849d379 pyl 2022-12-12 12:29:36 -05:00
jasquat 77aa32646a split group task tables by group and created component for group tables 2022-12-12 12:21:37 -05:00
jasquat 14be1fa06b strip off spaces from git service command stdout 2022-12-12 10:05:08 -05:00
burnettk 1207338474 try to fix a test on windows 2022-12-11 00:03:46 -05:00
burnettk ed0fa9ae76 Merge commit '5fb4f7ee742f25bebb39ef0eaf73037a72c7d390' 2022-12-10 23:40:39 -05:00
burnettk 5fb4f7ee74 Squashed 'connector-proxy-demo/' changes from fb5c24eaf..7264d61b2
7264d61b2 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.
990cecaa1 fixing a few borked up things about the connector-proxy-demo's docker contaier.
2bcac532e Don't look for sources where there aren't any
bb2efaf51 more tweaking

git-subtree-dir: connector-proxy-demo
git-subtree-split: 7264d61b2f65989d40d0bc1fb5cea9585b88771a
2022-12-10 23:40:39 -05:00
burnettk d9dd8f3338 Squashed 'flask-bpmn/' changes from 860f2387b..53051e399
53051e399 pyl passes
63054a070 running py_pl -- mainly reordering imports.

git-subtree-dir: flask-bpmn
git-subtree-split: 53051e399791460d8161808f6f196a5c5fb83e53
2022-12-10 23:40:37 -05:00
burnettk 86fa6393fe Merge commit 'd9dd8f333884fc6dfac9dec2cc0c719a4aab1773' 2022-12-10 23:40:37 -05:00
burnettk e4e0056581 Squashed 'spiffworkflow-frontend/' changes from 326040b3c..55607af93
55607af93 fixed broken test w/ burnettk
4ea766eb4 mypy w/ burnettk cullerton
fd2239b0e added git creds for pushing on publish w/ burnettk cullerton
0281bec01 added new notification component that allows links based on carbons w/ burnettk cullerton
49190128c display URL to open PR *** Need to figure out how to turn this into a link ***
72b15c52c Return message to use on successful publish
4997375c8 Merge branch 'main' into feature/git-integration
39deda4d4 Merge branch 'main' into feature/git-integration
027dae1c6 First pass at git integration
db0c8dc29 break process instance log list page into two tabs, simple and detailed
d9df1104c get the columsn for the instance list table anytime filter options are displayed if empty
3792dafdb make the frontend uris match the api calls better w/ burnettk
7095e4723 more api cleanup w/ burnettk
c514ac656 cleaned up more api routes for permissions w/ burnettk
c758216ed updated tasks endpoint to task-data for easier permission setting w/ burnettk
7504e1857 pyl w/ burnettk
b7edc501a Merge remote-tracking branch 'origin/main' into new_report
112eed7f3 some updates to fix up saving perspectives w/ burnettk
6da6ebe2d Use the identifier, not the id when locating a process model or dmn table.
51515ea21 using an array for metadata extraction paths now instead of dictionaries w/ burnettk
f0b8e7185 added some support to add process model metadata. need to fix frontend w/ burnettk
0777bda31 filtering by metadata works w/ burnettk
d82a00018 favor report id over identifier but support both and ui updates to allow setting a condition value on a metadata field, changing the display name, and fixes for saving and updating a report
de218ba8e updated column form var w/ burnettk
de38dc436 added ability to update the display name for perspective columns w/ burnettk
555360eb6 some updates for process instance reports and metadata w/ burnettk
f0f4dcd89 better display for failure causes on message list w/ burnettk
c4faf5d55 added correlations to message list table w/ burnettk
65feaeecf Merge remote-tracking branch 'origin/main' into new_report
fe9dddc03 Choose new report
f20d6ee75 Save dates
b55a24a1c Save first status
c47c62a6d added script to save process instance metadata and fixed permissions issue w/ burnettk cullerton
a0098ebd9 Save selected process model
55ecbe565 Use current columns
6de52904e WIP
bacf11bdc Save as report component
472578b99 adding the username to the report tables
bef4add43 allow disabling the permission check for the Create New Instance page to improve performance.
ab929fcaa Merge branch 'main' of github.com:sartography/spiff-arena into main
603db83cb "Continue" rather than "Submit" when displaying manual tasks.
5db42f0e0 Processes you can start is now: Processes I can start
c5c6c0fac lint
6f0c58da8 Auto Reload the Process Lists on the home pages' in-progress, and complete tabs
54e8a4717 update bpmn-js-spiffworkflow with better data-object handling
a72daa441 Clean up css for the filter icon
c755889ae update wording per harmeet: Tasks for my open processes is now My open instances
bda4a6ee3 heading for instances on model show page, move instances below files, add margins
21a3eea47 display name instead of id, margin under table sections, Download xml to Download
1d83e3ac1 do not mislead user about being able to edit and clean up time in words
07380eec7 auto refresh tasks waiting for my groups on homepage
710d2340a time ago in words for in progress tab per harmeet feedback
88c4be1bd put id before process like completed tab and add title text to explain what is happening
fb4136892 use process model display name rather than id for completed instances tab
8031fda3a left align files section with Start button per harmeet feedback
c339d7dec add fin1, lead1, and Tasks actioned by me to Tasks completed by me
951c21f39 improve wording
ed38b57e8 consistency is key
e09373027 remove View label next to process instance id
38d20ceab ui feedback
3c0284633 some ui changes w/ burnettk
e3711f4fd updated copmleted table text w/ burnettk
0688f5ec1 updated instances table descriptions w/ burnettk
e9e9b8e2e added descriptions to task tables w/ burnettk
9b1d61866 updated breadcrumb to use display name w/ burnettk
a9895f472 Hide perspectives link in nav bar (#59)
77390519b rename process_groups_list to process_group_list and fix lint
31bb0facd some updates to ui homepage to align more with notion doc
12e719146 fixed cypress tests
476c19f72 fix typo
b266273e4 some more perm updates for core user w/ burnettk
05161fbcb Start of system report filters (#57)
f0e0732ab fixed editing a process model w/ burnettk
b02b5a2e4 filter process models based on user permissions on the backend if specified w/ burnettk
29093932f use tiles for process models w/ burnettk cullerton
ab24c28d9 updated recently viewed table to be recently run and added run button w/ burnettk cullerton
9f894a8a9 added link to process model tile w/ burnettk cullerton
b7a0743a5 moved delete and edit model and group buttons to icons on show pages w/ burnettk cullerton
21f7fc917 created new users for keycloak and fixed some permissions for core user w/ burnettk cullerton
bd5a55c04 renamed modifyProcessModelPath to modifyProcessIdentifierForPathParam w/ burnettk
55a59b5ed modify process group id before submitting w/ burnettk
58bf7e38d Allow switching between user defined reports (#56)
ec29be773 added recursive option to process model list to recurse or not and fix some ui components
56ae0afe3 fixed task frontend test
5f8a8dd64 the misc group is now 99-Misc
467e9643c allow longer username
83f6185f1 fix tests and add frontend tests
f3b5cb7ca upgrade apscheduler and fix mispelling
cfe7172de added a script to add a user to a group w/ burnettk
976ca7320 task cypress tests are passing w/ burnettk cullerton
aa1a62505 process model cypress tests are passing w/ burnettk cullerton
e36012401 make sure to pass the correct form of process group id when creating a process model w/ burnettk cullerton
97a840d04 process instance cypress tests pass now w/ burnettk cullerton
86fdb302a allow getting all process models, process instances should not save when they are initialized, and fixed some cypress tests w/ burnettk
2b15e66d2 iterating on cypress
1aa72f420 fix cypress tests

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: 55607af9318775fb3524cc5bb4f6a3c6188efe38
2022-12-10 23:39:02 -05:00
burnettk 694598de99 Merge commit 'e4e00565815e02673844689fbd28cd4f6e7b79a4' 2022-12-10 23:39:02 -05:00
burnettk dbf6b7ae5a Squashed 'spiffworkflow-backend/' changes from c1ecc9035..ecbe97049
ecbe97049 comment out test not working in CI
942c18fa3 indicate main explicitly for ci
3cd57a1c8 pyl w/ burnettk
5b2917a59 update staging configs to allow env var overrides w/ burnettk
7645a5f8d need to set upstream when git pushing w/ burnettk
0413f3cdf added secret verification to webhook endpoint w/ burnettk
e7576d7ee fixed broken test w/ burnettk
bf507f8fc fixed mypy issue w/ burnettk
7c6e5c306 Merge branch 'main' of github.com:sartography/spiff-arena
87c986df0 cleaned up the git service and expanded the api git hook w/ burnettk
c7322f3c8 Sort primary file to top of files list (#71)
089d7d5e2 note
aa6fe8286 add skeleton of endpoint to receive github webhooks
7b9e99ad9 some reorder w/ burnettk cullerton
2081532f4 mypy w/ burnettk cullerton
ade7a41e7 added git creds for pushing on publish w/ burnettk cullerton
832d7c5c2 merged in main and resolved conflicts w/ burnettk cullerton
236e0e4ae favor os.path.join over hardcoding slash w/ burnettk
4ce7d6732 pyl passes
b525e3523 added new notification component that allows links based on carbons w/ burnettk cullerton
1e9b2e9ab Return URL where they can view changes and open PR
c8e8dae95 Clone into unique directory so we don't step on a previous publish that hasn't finished.
c5e7e9153 make process metadata saving more resilient
dbaa2c37c added frontend url as post redirect url in keycloak w/ burnettk
348595c19 syntax fix w/ burnettk
bbcfd5213 remove staging py config file in favor of terraform configs w/ burnettk
b150a8a69 moved some configs from deploy scripts to terraform env config w/ burnettk
acf641962 rename terraform configs from rb to py w/ burnettk
862937525 Add comment about the new environment variable
655e01a48 Merge branch 'main' into feature/create_containers
f580cadb2 Merge branch 'main' into feature/git-integration
e241ed5cd updated terraform permissions to match development better w/ burnettk
d102a4c84 Merging this unfinished test so I don't lose it. It doesn't test anything yet. Need to deal w/ a bunch of mock stuff
b5aecb072 Merge pull request #69 from sartography/feature/api_permission_cleanup
a0f351d16 Merge pull request #65 from sartography/new_report
88ad3b99a typing
da082e369 Merge branch 'main' into feature/git-integration
a1fe0193d First pass at git integration
1e029f427 break process instance log list page into two tabs, simple and detailed
11b994a81 Merge remote-tracking branch 'origin/main' into feature/api_permission_cleanup
b1199530d update cors handling to make it more efficient
ed6a4d8c9 more api cleanup w/ burnettk
b19825e17 cleaned up more api routes for permissions w/ burnettk
4b5f5d369 updated tasks endpoint to task-data for easier permission setting w/ burnettk
460cfb4e4 pyl w/ burnettk
85509c3d4 fixing an untyped method.
a7eeaa6d9 running py_pl -- mainly reordering imports.
c9e3e8d31 Merge remote-tracking branch 'origin/main' into feature/create_containers
786785693 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)
f3760380e added support to order reports by given column and metadata headers w/ burnettk
0425293fd 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.
bee4ea107 bump nox stuff and spiff
d7ff963da test for automatic saving of process instance metadata on instance save
fe7c4c923 remove dup test process model
eb2f64518 add order_by to make this query deterministic
9b2a40c87 lint
ceec518c9 add extraction, needs test
9af4cf3f3 fix tests
452c64cbf Merge remote-tracking branch 'origin/main' into new_report
809d8bfbf using an array for metadata extraction paths now instead of dictionaries w/ burnettk
49b02a9c2 added some support to add process model metadata. need to fix frontend w/ burnettk
d2d0cb0b1 getting the collect hit_policy to work correctly.
a3f4c2f48 filtering by metadata works w/ burnettk
f87d266a4 favor report id over identifier but support both and ui updates to allow setting a condition value on a metadata field, changing the display name, and fixes for saving and updating a report
52b288bd4 I can't say I love flake8. Removing dependency on rust (monkeytype)
3534b1896 fixing some typing issues, white space, etal...
389069fde added ability to update the display name for perspective columns w/ burnettk
d9b36f5e1 fixing some typing issues.
51ecd25fb 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
d7308ef67 Adding a demo permissions file.
8ade069dd 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.)
1ebe6e108 some updates for process instance reports and metadata w/ burnettk
321fc0e75 Use the "well-known" configuration dictionary from openid to get the url endpoints, rather than trying to configure or guess the correct endpoint urls.
77c79e58b added correlations to message list table w/ burnettk
4df885fd3 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.
d4ad18ab9 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.
9669f2898 removed file named ':'
341fb8cf5 added api to get list of process report columns
a6002ebac finished base for metadata reporting w/ burnettk
8e9828661 some cleanup for metadata w/ burnettk
91ea7f4b4 metadat reports work w/ burnettk
2571eb656 WIP more metadata reporting w/ burnettk
a2dbee712 WIP more metadata reporting w/ burnettk
a0081bdf7 some basics to add metadata to reports w/ burnettk cullerton
fcc5bce3e fixed issue ensuring active tasks are up to date w/ burnettk cullerton
3ef318e61 added script to save process instance metadata and fixed permissions issue w/ burnettk cullerton
46038eae3 only delete active tasks if needed w/ burnettk cullerton
3b6255147 Merge pull request #64 from sartography/group_query
3abdf8872 get rid of Project Lead group
ded78d9fe Getting ./bin/pyl to pass
c51e56e9b Query fix with the gang
38c37b927 everybody gets access to read processes
e2a3d67eb put sasha and manuchehr in demo group
61a2d858e upgrade keycloak
47b551b8a make sasha, harmeet, manuchehr, and admin have desired permissions for demo
3ecfe6ae4 add demo group access to the customer-contracts to give us 5 tiles for the dmeo.
327981e63 adding the username to the report tables
c90a0a330 Performance improvement in listing all process models.
d32575033 Don't create a processor for every thing all the time.
2f639352a Getting ./bin/pyl to pass
c8f561159 Merge branch 'main' into task_json
fe5f9995b Just save task_json
8f2784828 no global read since that gives configuration as well
e351f033e do not allow starting vendor invoice approval process for demo users
2e97efdbb Change permissions per request -- want everyone to have access to 4 process models.
ff63418ca Change permissions per request -- want everyone to have access to 4 process models.
6b4bcfd34 Merge branch 'main' of github.com:sartography/spiff-arena into main
bc6d80513 Change permissions changed from vendor to core-contributor for everyone.
dfed48057 upgrade keycloak
0f0f56e45 display name instead of id, margin under table sections, Download xml to Download
9af377307 lint
fe5d2fdec exclude instances you started in with_tasks_completed_by_me
bb76eeee5 lint
e30f12fab in completed tab, show display name, and filter by all stopped statuses rather than just complete
57a720c97 tests passing
dc0665c26 gotta fix usage of is_model
63b654c22 working on tests
aa4277d98 oh my god why were these ever instance methods
875bd1576 remove column
6081f6637 renames
aa2333f27 start adding display name and removing garbage
a9d5e121b add fin1, lead1, and Tasks actioned by me to Tasks completed by me
e32c3830b Fix the postgres job (#61)
adcfc53f4 Fix for updating xero token in the background (#60)
bd4f5d247 updated breadcrumb to use display name w/ burnettk
6b94bb260 update permissions per feedback in demo
71c1f7974 rename process_groups_list to process_group_list and fix lint
d4a1d0552 add perm to process instance report list
4f78b1958 some more perm updates for core user w/ burnettk
8fb5fd3c3 Merge branch 'main' of github.com:sartography/spiff-arena
b43a06f51 give core user access to instance tasks w/ burnettk
06ba17be1 Start of system report filters (#57)
213221214 Update oauth redirect url (#58)
75d3c0cea filter process models based on user permissions on the backend if specified w/ burnettk
acc88b9a9 created new users for keycloak and fixed some permissions for core user w/ burnettk cullerton
6eb24f10c Allow switching between user defined reports (#56)
d7cb24a56 fixed broken test
8f9d918ef added recursive option to process model list to recurse or not and fix some ui components
2b47eb7f5 upgrade apscheduler and fix mispelling
2f312e2ab pyl is passing
4fedc046d Merge branch 'main' of https://github.com/sartography/spiff-arena
e6230cb79 pyl is passing w/ burnettk
e5f7f5096 added a script to add a user to a group w/ burnettk
33897da2c mypy
7a9954d74 sort process groups by display name w/ burnettk cullerton
7e9331dd3 Merge branch 'main' into move-group-or-model
d87f47aaa allow getting all process models, process instances should not save when they are initialized, and fixed some cypress tests w/ burnettk
8ffd6203c use correct separator.
de7ebb6f5 Merge branch 'main' of github.com:sartography/spiff-arena into main
bf6645960  Remove MoneyType from dependencies to avoid a new dependency on a rust complier when upgrading to pytno 11.
9455366f5 lint
7866730f2 see if this solves the windows build problem
98e07cc85 add id_for_file_path helper method for process groups
fc476e3cc run_pyl
72da67f00 eliminate security issue by removing py
818bce07e update mysql-connector-python
37444f8bf asst syntax cleanup
7bde5d8cc mypy
ea82bf583 removed print statement and unused line of code
9717fb112 test for move model
d07114593 move model
38dc4570d process group move api endpoint

git-subtree-dir: spiffworkflow-backend
git-subtree-split: ecbe97049cbf46d1d7d240cb80051290de56fa7d
2022-12-10 23:39:01 -05:00
burnettk 35604e51c2 Merge commit 'dbf6b7ae5a1c3650552002a1209f66bbf2b02f0c' 2022-12-10 23:39:01 -05:00
burnettk 71a2a3ec0e Squashed 'SpiffWorkflow/' changes from 46d3de27f..ffb168675
ffb168675 Option to run tests in parallel (#271)
062eaf15d another hot match -- assure hit policy is correctly passed through.
c79ee8407 Quick patch the DMN hit policy to fix a dump mistake.
36dd1b23a Fix ResourceWarning: unclosed file BpmnParser.py:60 (#270)
bba7ddf54 Merge pull request #268 from sartography/feature/multiple-event-definition
8cf770985 remove unused import
9d31e035e make multiple throw events work with start events
890c4b921 add throw support for multiple events
c1fc55660 add support for catching parallel multiple event definitions
511830b67 add event based gateway
56bd858dc add event type for multiple events

git-subtree-dir: SpiffWorkflow
git-subtree-split: ffb1686757f944065580dd2db8def73d6c1f0134
2022-12-10 23:39:00 -05:00
burnettk 6152bdc062 Merge commit '71a2a3ec0efb6384f15b2ca6a956ab80c926e164' 2022-12-10 23:39:00 -05:00
burnettk 5394241f2b comment out test not working in CI 2022-12-10 23:35:56 -05:00
burnettk 87a93b2d4c indicate main explicitly for ci 2022-12-10 22:50:52 -05:00
mike cullerton 49521ea610 Confirm before overwriting file when uploading file with same name 2022-12-09 17:44:25 -05:00
jasquat 23e8525ca4 pyl w/ burnettk 2022-12-09 17:30:14 -05:00
jasquat 6d9b3c5276 update staging configs to allow env var overrides w/ burnettk 2022-12-09 17:28:57 -05:00
jasquat 617299fce7 need to set upstream when git pushing w/ burnettk 2022-12-09 17:15:53 -05:00
jasquat 6122fb0ae5 added secret verification to webhook endpoint w/ burnettk 2022-12-09 16:51:00 -05:00
jasquat d7221690f0 fixed broken test w/ burnettk 2022-12-09 15:19:43 -05:00
jasquat d37550fa43 fixed mypy issue w/ burnettk 2022-12-09 15:05:10 -05:00
jasquat 0d348620d1 Merge branch 'main' of github.com:sartography/spiff-arena 2022-12-09 15:01:58 -05:00
jasquat 3e5ed42eae cleaned up the git service and expanded the api git hook w/ burnettk 2022-12-09 15:01:55 -05:00
jbirddog a39cccabdb
Sort primary file to top of files list (#71) 2022-12-09 13:14:26 -05:00
burnettk 1406190b21 note 2022-12-08 23:57:09 -05:00
burnettk f38af7f4a4 add skeleton of endpoint to receive github webhooks 2022-12-08 23:55:01 -05:00
jasquat 2ad4da8fb9 some reorder w/ burnettk cullerton 2022-12-08 17:15:28 -05:00
jasquat aa353c0351
Merge pull request #70 from sartography/feature/git-integration
Feature/git integration
2022-12-08 17:14:39 -05:00
jasquat 27099a0d8e mypy w/ burnettk cullerton 2022-12-08 17:12:19 -05:00
jasquat 62814da9a6 added git creds for pushing on publish w/ burnettk cullerton 2022-12-08 16:39:23 -05:00
jasquat 803835e76d merged in main and resolved conflicts w/ burnettk cullerton 2022-12-08 15:31:25 -05:00
jasquat a1b9f7dcf6 favor os.path.join over hardcoding slash w/ burnettk 2022-12-08 14:08:32 -05:00
jasquat ab430b5843 pyl passes 2022-12-08 13:47:30 -05:00
jasquat 375e4023dd added new notification component that allows links based on carbons w/ burnettk cullerton 2022-12-08 12:28:23 -05:00
mike cullerton d38217cb0a display URL to open PR
*** Need to figure out how to turn this into a link ***
2022-12-08 09:28:41 -05:00
mike cullerton fc558b2218 Return URL where they can view changes and open PR 2022-12-08 09:26:10 -05:00
mike cullerton 679a111725 Clone into unique directory so we don't step on a previous publish that hasn't finished. 2022-12-08 09:25:27 -05:00
burnettk 15fc1b220b make process metadata saving more resilient 2022-12-08 08:44:31 -05:00
jasquat 17f0d6a266 added frontend url as post redirect url in keycloak w/ burnettk 2022-12-07 15:11:58 -05:00
jasquat 39288fd233 syntax fix w/ burnettk 2022-12-07 14:42:13 -05:00
jasquat ca2a4cdd10 remove staging py config file in favor of terraform configs w/ burnettk 2022-12-07 14:40:04 -05:00