Commit Graph

2512 Commits

Author SHA1 Message Date
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 cb46e4b076 Merge commit 'dbf6b7ae5a1c3650552002a1209f66bbf2b02f0c' 2022-12-10 23:39:01 -05:00
burnettk 12b7fa2b70 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 409c163d96 Merge commit '12b7fa2b7076d7729541b81c3281bab4ea1f935e' 2022-12-10 23:39:00 -05:00
burnettk a8ac81e4f2 comment out test not working in CI 2022-12-10 23:35:56 -05:00
burnettk c797cc28f7 indicate main explicitly for ci 2022-12-10 22:50:52 -05:00
mike cullerton 4c882a84b6 Confirm before overwriting file when uploading file with same name 2022-12-09 17:44:25 -05:00
jasquat cc95973552 pyl w/ burnettk 2022-12-09 17:30:14 -05:00
jasquat e5c72eb87b update staging configs to allow env var overrides w/ burnettk 2022-12-09 17:28:57 -05:00
jasquat 33dd9d97ea need to set upstream when git pushing w/ burnettk 2022-12-09 17:15:53 -05:00
jasquat cb143d3201 added secret verification to webhook endpoint w/ burnettk 2022-12-09 16:51:00 -05:00
jasquat 74bfd22ff9 fixed broken test w/ burnettk 2022-12-09 15:19:43 -05:00
jasquat 36babf2b4c fixed mypy issue w/ burnettk 2022-12-09 15:05:10 -05:00
jasquat 8df1b9cd3b Merge branch 'main' of github.com:sartography/spiff-arena 2022-12-09 15:01:58 -05:00
jasquat 7db3101ff1 cleaned up the git service and expanded the api git hook w/ burnettk 2022-12-09 15:01:55 -05:00
jbirddog b1cee24bca Sort primary file to top of files list (#71) 2022-12-09 13:14:26 -05:00
jasquat 6231ccab6c some base work to try to get display names searchable for process models w/ burnettk 2022-12-09 11:23:18 -05:00
burnettk 3800389e4c note 2022-12-08 23:57:09 -05:00
burnettk 494f1c9826 add skeleton of endpoint to receive github webhooks 2022-12-08 23:55:01 -05:00
jasquat e39696c6bd some reorder w/ burnettk cullerton 2022-12-08 17:15:28 -05:00
jasquat 9c59426fbd Merge pull request #70 from sartography/feature/git-integration
Feature/git integration
2022-12-08 17:14:39 -05:00
jasquat 4878d2329b mypy w/ burnettk cullerton 2022-12-08 17:12:19 -05:00
jasquat d50d95a49c added git creds for pushing on publish w/ burnettk cullerton 2022-12-08 16:39:23 -05:00
jasquat b54378a9fc merged in main and resolved conflicts w/ burnettk cullerton 2022-12-08 15:31:25 -05:00
jasquat 609abe8f16 favor os.path.join over hardcoding slash w/ burnettk 2022-12-08 14:08:32 -05:00
jasquat cee726e8b0 pyl passes 2022-12-08 13:47:30 -05:00
jasquat 675c776a5a added new notification component that allows links based on carbons w/ burnettk cullerton 2022-12-08 12:28:23 -05:00
mike cullerton 1ccdd7887b 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 3530a628ec Return URL where they can view changes and open PR 2022-12-08 09:26:10 -05:00
mike cullerton a2c7411b3d 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 829eacc40d make process metadata saving more resilient 2022-12-08 08:44:31 -05:00
jasquat 0fc136a6dd added frontend url as post redirect url in keycloak w/ burnettk 2022-12-07 15:11:58 -05:00
jasquat d4ae1d6d37 syntax fix w/ burnettk 2022-12-07 14:42:13 -05:00
jasquat 9ff80f6aff remove staging py config file in favor of terraform configs w/ burnettk 2022-12-07 14:40:04 -05:00
jasquat 7c660f874f moved some configs from deploy scripts to terraform env config w/ burnettk 2022-12-07 14:18:49 -05:00
jasquat 7595758548 rename terraform configs from rb to py w/ burnettk 2022-12-07 14:09:33 -05:00
mike cullerton e24ced5c34 Return message to use on successful publish 2022-12-07 14:00:46 -05:00
mike cullerton 87e105e189 Add comment about the new environment variable 2022-12-07 14:00:11 -05:00
Dan Funk b27a27d86d Merge pull request #66 from sartography/feature/create_containers
A Demo Docker-Compose for All
2022-12-06 18:12:45 -05:00
Dan bab489fa7b Merge branch 'main' into feature/create_containers 2022-12-06 18:06:09 -05:00
mike cullerton 8b5e5dc864 Merge branch 'main' into feature/git-integration
# Conflicts:
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
2022-12-06 16:27:36 -05:00
jasquat 2a03b33156 updated terraform permissions to match development better w/ burnettk 2022-12-06 16:20:00 -05:00
mike cullerton 8b95b96595 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
2022-12-06 16:14:46 -05:00
Kevin Burnett 9454ee332a Merge pull request #69 from sartography/feature/api_permission_cleanup
Feature/api permission cleanup
2022-12-06 13:13:00 -08:00
Kevin Burnett 958f98ed63 Merge pull request #65 from sartography/new_report
Create new report based on current filter/columns
2022-12-06 13:12:43 -08:00
mike cullerton 6c64044181 typing 2022-12-06 15:42:41 -05:00
mike cullerton 937ff0dfe8 Merge branch 'main' into feature/git-integration 2022-12-06 15:36:25 -05:00
mike cullerton ee166c4e1c First pass at git integration 2022-12-06 15:31:03 -05:00
burnettk fff7661bc7 break process instance log list page into two tabs, simple and detailed 2022-12-06 12:38:25 -05:00
jasquat b17f977e4c get the columsn for the instance list table anytime filter options are displayed if empty 2022-12-06 09:46:32 -05:00