1635 Commits

Author SHA1 Message Date
burnettk
c74719d13d update get_token 2023-02-06 17:55:07 -05:00
jasquat
9d8dcc20f1 pass tenant attributes when creating a user w/ burnettk 2023-02-06 17:34:55 -05:00
jasquat
c848af7d80 Merge pull request #126 from sartography/feature/tenant-specific-fields-from-openid
Feature/tenant specific fields from openid
2023-02-06 16:26:59 -05:00
jasquat
0fa91dc761 pyl w/ burnettk 2023-02-06 16:26:42 -05:00
jasquat
d1bf3b69b9 Merge remote-tracking branch 'origin/main' into feature/tenant-specific-fields-from-openid 2023-02-06 16:24:59 -05:00
jasquat
ad503ae2cd added bambooid to status users w/ burnettk 2023-02-06 16:24:48 -05:00
Jon Herron
7070503239 POC for saving some data about each step 2023-02-06 15:59:26 -05:00
jasquat
b42fa26f14 allow added custom attributes to users when adding to keycloak w/ burnettk 2023-02-06 15:34:55 -05:00
jbirddog
f728fc64d5 Backend do_engine_steps performance improvements (#129)
Co-authored-by: Dan <daniel.h.funk@gmail.com>
2023-02-06 15:25:49 -05:00
jasquat
5452b48d08 use our json encoder to dump the user for get_current_user script w/ burnettk 2023-02-06 14:11:15 -05:00
Dan
a2f91999e2 Use the same markdown library for displaying as for editing - could enable a security run_pyl 2023-02-06 12:20:29 -05:00
Dan
f945b58756 Use the same markdown library for displaying as for editing - could enable a security plugin, but doing so would prevent BPMN developers from using the Sub and Sup markdown supported by GitHub. 2023-02-06 12:14:15 -05:00
Dan
7a6c63cb85 When catching non-jinja errors from Jinja, raise a good error message, and make a best effort at tracking down the line number and error line if possible. 2023-02-06 12:06:37 -05:00
burnettk
2c3b88042e move towards returning dict in get_current_user 2023-02-06 10:30:38 -05:00
burnettk
d6d960e20f Merge remote-tracking branch 'origin/main' into feature/tenant-specific-fields-from-openid 2023-02-06 10:20:40 -05:00
burnettk
e813f3e26e add test users 2023-02-06 10:03:51 -05:00
Dan
f87a75585c Merge branch 'main' of github.com:sartography/spiff-arena into main 2023-02-06 08:35:50 -05:00
Dan
a2616e6992 Fix docker compose file. 2023-02-06 08:35:44 -05:00
Kevin Burnett
402182ad5d Merge pull request #127 from sartography/feature/bug_fix_human_tasks
Feature/bug fix human tasks
2023-02-06 05:10:00 -08:00
Dan
015036353e run_pyl 2023-02-06 08:05:33 -05:00
Dan
a248e868b7 When searching for human tasks to determine if the current user can complete it, filter on the "completed" flag.
Front-end -- enable the form if you receive an onUnathorized error because the thing you are unauthorized to do might have nothing to do with whether you can submit the form.
2023-02-06 08:01:37 -05:00
Jon Herron
38dd1dcf61 Back to inserting every log 2023-02-04 12:55:48 -05:00
burnettk
2b1f534bd8 hoping to fix tests on windows 2023-02-04 00:36:17 -05:00
burnettk
8d6a160ea0 grab bamboo_id from keycloak 2023-02-04 00:12:01 -05:00
burnettk
ed34d1c343 lint 2023-02-04 00:09:43 -05:00
burnettk
67667828c2 if there are tenant specific fields in the config, transfer them from openid token to db 2023-02-04 00:03:32 -05:00
burnettk
7dc5a96f99 put setDisabled back in the awkward place since i was seeing the subsequent form stay disabled 2023-02-03 17:31:14 -05:00
Dan
6bd9fa5c00 Merge branch 'main' of github.com:sartography/spiff-arena into main 2023-02-03 17:01:13 -05:00
Dan
92fa390fc9 Fix that dreadful unknown "KeyError" exception that was cropping up.
Adding a bit of detail to the spiffworkflow exceptions when a duplicate process model is found.
Disable the submit button on tasks after you click submit (avoid the double click and give users a better experience)
2023-02-03 17:01:03 -05:00
Kevin Burnett
84f3bd90cf Merge pull request #125 from sartography/feature/dynamically-hide-fields-w-task-data
Feature/dynamically hide fields w/ task data
2023-02-03 13:20:19 -08:00
burnettk
e441dc35a1 refactor some stuff in task_show to separate functions 2023-02-03 16:17:36 -05:00
burnettk
11a9e740af show that hiding nested fields works as well 2023-02-03 15:47:35 -05:00
burnettk
1247189bf8 make form schema and form ui schema both dicts, add support for hiding fields based on task data 2023-02-03 15:40:14 -05:00
Dan Funk
c563a1c403 Merge pull request #124 from sartography/feature/ui_tweaks
Feature/UI tweaks
2023-02-03 14:40:06 -05:00
Dan
324aec2abe Merge remote-tracking branch 'origin/main' into feature/ui_tweaks 2023-02-03 14:34:17 -05:00
Dan Funk
3bede1af77 Merge pull request #111 from sartography/feature/more_better_errors
Feature/more better errors
2023-02-03 14:25:14 -05:00
Dan
d82299b997 run_pyl 2023-02-03 13:58:38 -05:00
Dan
1cde87dca7 Prevent double click on submit of forms. 2023-02-03 13:25:05 -05:00
Dan Funk
009a5b1768 Merge branch 'main' into feature/more_better_errors 2023-02-03 13:21:48 -05:00
burnettk
b481de0a61 add more users, and try to prevent sentry notification again 2023-02-03 13:11:39 -05:00
burnettk
b782c3faa7 remove service accounts, formalize j, add madhurya 2023-02-03 13:02:50 -05:00
burnettk
18070c5be3 make test_user_lists more complete and correct 2023-02-03 12:51:57 -05:00
burnettk
b9783ae0ed clean up sentry notification and avoid logger.exception when we do not want sentry 2023-02-03 11:06:40 -05:00
Kevin Burnett
cf57be031f Merge pull request #123 from sartography/feature/spiff-serializer-update
Feature/spiff serializer update
2023-02-02 19:05:13 -08:00
burnettk
a31d89b25a couple last serializer updates 2023-02-02 22:04:34 -05:00
burnettk
58f9d87a00 import EventBasedGatewayConverter from correct package 2023-02-02 21:55:26 -05:00
burnettk
d71491dd67 remove flask-bpmn 2023-02-02 21:00:20 -05:00
burnettk
c237e218b2 Squashed 'SpiffWorkflow/' changes from 98c6294f..0e61be85
0e61be85 Merge pull request #289 from sartography/improvement/execution-and-serialization-cleanup
527684da fix some typos in the class & method docs
0dff44a4 Merge branch 'main' into improvement/execution-and-serialization-cleanup
64737498 Allow for other PythonScriptEngine environments besides task data (#288)
dd63e916 remove some unused tests & diagrams
24aae519 clean up various small stuff
3b2dc35d use context when opening files for parsing
69eec3eb update class/method docs
24528dfb move all spec conversion classes to top level
5af33b11 remove some unused methods related to old serializer
931b90fb reorganize serializer
4e81ed29 consolidate pointless serializer classes
d62acf02 change task_spec._update_hook to return a boolean indicating whether the task is ready

git-subtree-dir: SpiffWorkflow
git-subtree-split: 0e61be85c47474a33037e6f398e64c96e02f13ad
2023-02-02 20:59:28 -05:00
burnettk
c7371727b9 Merge commit 'c237e218b24f70ed7fbb3d40b7df1ed788ca7a12' 2023-02-02 20:59:28 -05:00
burnettk
3d5647d166 try to improve exception handling by avoiding raising ApiError from services 2023-02-02 19:00:58 -05:00