jasquat
a71af6e40f
Tcoz openai assist ( #1138 )
...
* Update README.md
Some notes for people that might want to run full-on native, with detail about how Mac hijacks port 7000 and how to get around it.
* Revert "Update README.md"
This reverts commit 096887c26d
.
* README update and native code patch
Some details for user that might be running Python3, Mac, and want to run everything locally/natively.
* Implement basic tooltips
Uses MUI tooltip, as it behaves more predictably with existing styling, and enables top-level theme config.
Top-level configuration for all MUI components can be controlled via overriding the existing theme. See index.tsx. This could be done per user for customization, etc.
Enabling JSON module imports in tsconfig.json seemed to fix the error in ReactDiagramEditor
* Naive AI code editor implementation
A working starting point.
* Implement API to return if script assist should be enabled
Along with route and function, api config, etc.
* UI calls backend to see if script assist is enabled.
If it is, loads the related UI, otherwise it doesn't appear.
* Moving forward with service for message processing.
* Services scaffolded
* Open API called, prompt-engineered to get script only.
* Little cleanup work
* Enabled + process message working.
Had to find all the places permissions are enabled, etc.
* Cleanup, comments, etc.
* Env vars, styling, error cases, conditional display of script assist
Finishing touches for the most part.
REQUIRES TWO ENV VARS BE SET.
SPIFFWORKFLOW_SCRIPT_ASSIST_ENABLED=["True" | "true" | 1] (anything else is false)
SECRET_KEY_OPENAI_API=[thekey]
The are retrieved in default.py. I run the app locally, so I just set them in the terminal.
NEW INSTALL: @carbon/colors (so we consistently use carbon palette etc.)
* Fix tooltips, clean up some styling.
Finishing it off.
* Add loader and error message
Complete UX stuff
* Update useScriptAssistEnabled.tsx
Remove log
* Update script_assist_controller.py
Add this tweak to avoid TMI.
* Some reasonable changes suggested by the build process
* Comments from PR.
* Update ProcessModelEditDiagram.tsx
Should (but I don't know how to tell yet) call the change handler that wasn't firing before.
* updated the permissions setting in authorization service w/ burnettk
* precommit now passes. tests are failing w/ burnettk
* pinned SpiffWorkflow to known working version and fixed tests. we will update spiff in a later pr w/ burnettk
* made changes based on coderabbi suggestions
* updated the error handling to be more inline with how we have handled other errors and some ui tweaks
* removed pymysql package w/ burnettk
* forgot to remove pymysql from lock file w/ burnettk
---------
Co-authored-by: Tim Consolazio <tcoz@tcoz.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-04 10:42:27 -05:00
dependabot[bot]
c154c0ae6c
Bump actions/download-artifact from 4.1.3 to 4.1.4 ( #1157 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4.1.3...v4.1.4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 14:55:07 +00:00
dependabot[bot]
dd3a2e8793
Bump react-router from 6.22.1 to 6.22.2 in /spiffworkflow-frontend ( #1156 )
...
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router ) from 6.22.1 to 6.22.2.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router@6.22.2/packages/react-router )
---
updated-dependencies:
- dependency-name: react-router
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 14:52:22 +00:00
dependabot[bot]
0898b08e0c
Bump poetry from 1.8.1 to 1.8.2 in /.github/workflows ( #1155 )
...
Bumps [poetry](https://github.com/python-poetry/poetry ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/python-poetry/poetry/releases )
- [Changelog](https://github.com/python-poetry/poetry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python-poetry/poetry/compare/1.8.1...1.8.2 )
---
updated-dependencies:
- dependency-name: poetry
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 14:41:40 +00:00
Kevin Burnett
e584d47205
support bpmn unit test method mocks ( #1146 )
...
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-03 06:50:38 -08:00
jbirddog
222685155a
Fix for first time use of dev containers in clean environment ( #1136 )
2024-03-01 15:28:06 -05:00
Kevin Burnett
4d9946cc91
make a script engine for bpmn unit tests ( #1145 )
...
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-01 08:50:07 -08:00
jasquat
32fbfa75c5
if a metadata value looks like a url then display as a link ( #1137 )
...
* if a metadata value looks like a url then display as a link w/ burnettk
* avoid Link for external urls
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* lint
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-03-01 10:49:56 -05:00
jasquat
346d7a4660
task-show-render-instructions-fix ( #1142 )
...
* add the jinja rendered instructions back to the extensions list before returning
* fixed comment
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-01 10:49:44 -05:00
dependabot[bot]
e909cf7a21
Bump cypress-slow-down from 1.2.1 to 1.3.1 in /spiffworkflow-frontend ( #1144 )
...
Bumps [cypress-slow-down](https://github.com/bahmutov/cypress-slow-down ) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/bahmutov/cypress-slow-down/releases )
- [Commits](https://github.com/bahmutov/cypress-slow-down/compare/v1.2.1...v1.3.1 )
---
updated-dependencies:
- dependency-name: cypress-slow-down
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 15:45:20 +00:00
Kevin Burnett
72629f5ed8
unblock bpmn unit testing with duplicate files, our script engine, get process initiator user ( #1140 )
...
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-02-29 16:21:13 -08:00
jasquat
107eaaff3e
only show the refresh button from filters table w/ burnettk
2024-02-29 16:26:20 -05:00
jasquat
0565e63e98
do not overwrite the instructionsForEndUser on the spec object with the rendered instructions w/ burnettk ( #1135 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-29 11:39:12 -08:00
jasquat
87fd3ddf65
Feature/pi table ux tweaks ( #1133 )
...
* make only the pi id an link on the pi instance table and set up for a refresh button on the table title on the pi list page w/ burnettk
* added refresh pi table button w/ burnettk
* show the process model link in the pi table as well w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-29 10:42:23 -05:00
jasquat
4cf70a8e9b
feature/support-google-oauth ( #1125 )
...
* support decrypting and validating jwt tokens from google auth w/ burnettk
* moved code as suggested by coderabbit
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-29 07:06:54 -08:00
jbirddog
840dd74cea
Update secrets programmatically ( #1122 )
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-02-29 09:55:09 -05:00
dependabot[bot]
2387a3e7ac
Bump attrs from 23.1.0 to 23.2.0 ( #1132 )
...
Bumps [attrs](https://github.com/sponsors/hynek ) from 23.1.0 to 23.2.0.
- [Commits](https://github.com/sponsors/hynek/commits )
---
updated-dependencies:
- dependency-name: attrs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 14:34:07 +00:00
jbirddog
bb3a685138
Dev containers now work with "run as me" ( #1129 )
2024-02-29 05:27:06 -05:00
jasquat
b2126e8f38
check if the dir looks like it is a git directory already before cloning to it w/ burnettk
2024-02-28 14:25:38 -05:00
jasquat
947c00670d
set the GIT_SSH_COMMAND so we can use the private key path
2024-02-28 11:07:29 -05:00
jasquat
11226167cc
Merge branch 'main' of github.com:sartography/spiff-arena
2024-02-28 10:35:38 -05:00
jasquat
1fbf237823
remove lost and found dir if it exists w/ burnettk
2024-02-28 10:35:35 -05:00
dependabot[bot]
8121b33573
Bump codecov/codecov-action from 4.0.2 to 4.1.0 ( #1119 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.0.2...v4.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 15:19:32 +00:00
dependabot[bot]
177fd409b0
Bump reorder-python-imports from 3.9.0 to 3.12.0 ( #1118 )
...
Bumps [reorder-python-imports](https://github.com/asottile/reorder-python-imports ) from 3.9.0 to 3.12.0.
- [Commits](https://github.com/asottile/reorder-python-imports/compare/v3.9.0...v3.12.0 )
---
updated-dependencies:
- dependency-name: reorder-python-imports
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 15:03:38 +00:00
jbirddog
52f986ffe2
Dev Container Tweaks ( #1117 )
2024-02-28 09:49:45 -05:00
jbirddog
d66ea0e9ac
Only show data stores from upsearch in the properties panel ( #1116 )
2024-02-27 18:17:14 -05:00
jbirddog
78be11d309
Add some info to the README.md about the local development docker containers ( #1114 )
2024-02-27 18:03:37 -05:00
jasquat
b0dbdfb192
commit the repo when a data store is added ( #1115 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-27 11:50:17 -05:00
dependabot[bot]
9d8a7a7e47
Bump poetry from 1.8.0 to 1.8.1 in /.github/workflows ( #1112 )
...
Bumps [poetry](https://github.com/python-poetry/poetry ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/python-poetry/poetry/releases )
- [Changelog](https://github.com/python-poetry/poetry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python-poetry/poetry/compare/1.8.0...1.8.1 )
---
updated-dependencies:
- dependency-name: poetry
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 15:19:09 +00:00
dependabot[bot]
a36455ff91
Bump actions/download-artifact from 4.1.2 to 4.1.3 ( #1111 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4.1.2...v4.1.3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 15:12:21 +00:00
dependabot[bot]
d87a5c9e11
Bump pre-commit-hooks from 4.4.0 to 4.5.0 ( #1110 )
...
Bumps [pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/pre-commit/pre-commit-hooks/releases )
- [Changelog](https://github.com/pre-commit/pre-commit-hooks/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0 )
---
updated-dependencies:
- dependency-name: pre-commit-hooks
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 15:07:28 +00:00
jbirddog
2469941ea6
docker compose overlay file for running `run_pyl` equivalents ( #1100 )
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-02-27 09:13:02 -05:00
jasquat
b210b84b3a
added script to clone the process model repo w/ burnettk
2024-02-26 16:34:06 -05:00
jasquat
80886b53bc
do not validate the audience with the jwt decode since we have a more thorough check for it later w/ burnettk ( #1109 )
...
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-26 14:12:36 -05:00
jasquat
13848e85e3
feature/fix-service-task-oauth-flow ( #1108 )
...
* corrected service task controller excluded auth methods to reference the correct controller w/ burnettk
* fixed docs requirements file w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-26 10:54:26 -05:00
dependabot[bot]
4a9266bb37
Bump poetry from 1.7.1 to 1.8.0 in /.github/workflows ( #1107 )
...
Bumps [poetry](https://github.com/python-poetry/poetry ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/python-poetry/poetry/releases )
- [Changelog](https://github.com/python-poetry/poetry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python-poetry/poetry/compare/1.7.1...1.8.0 )
---
updated-dependencies:
- dependency-name: poetry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 15:28:48 +00:00
dependabot[bot]
647efbc431
Bump requests from 2.30.0 to 2.31.0 ( #1105 )
...
Bumps [requests](https://github.com/psf/requests ) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 15:18:33 +00:00
dependabot[bot]
c4c5dcf6aa
Bump codecov/codecov-action from 4.0.1 to 4.0.2 ( #1104 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.0.1...v4.0.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 15:16:19 +00:00
jbirddog
ea9336e625
docker compose overlay file for editable backend container ( #1098 )
...
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-02-23 19:13:16 -05:00
dependabot[bot]
336f559e68
Bump esbonio from 0.16.1 to 0.16.4 ( #1096 )
...
Bumps [esbonio](https://github.com/swyddfa/esbonio ) from 0.16.1 to 0.16.4.
- [Release notes](https://github.com/swyddfa/esbonio/releases )
- [Commits](https://github.com/swyddfa/esbonio/compare/esbonio-language-server-v0.16.1...esbonio-language-server-v0.16.4 )
---
updated-dependencies:
- dependency-name: esbonio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 14:50:25 +00:00
dependabot[bot]
169c759afa
Bump eslint-plugin-import in /spiffworkflow-frontend ( #1095 )
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.27.5 to 2.29.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.29.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 14:44:26 +00:00
jbirddog
718d27ca5d
docker compose overlay file for editable frontend container ( #1092 )
2024-02-22 19:31:55 -05:00
burnettk
154d0aed87
fix dup keyboard shortcut
2024-02-22 17:07:40 -05:00
burnettk
4499980b55
add note about how to get some time with us
2024-02-22 16:30:12 -05:00
burnettk
666b6530db
Merge branch 'feature/shortcut-to-diagram'
2024-02-22 10:27:54 -05:00
dependabot[bot]
c5fd43e429
Bump alabaster from 0.7.13 to 0.7.16 ( #1089 )
...
Bumps [alabaster](https://github.com/sphinx-doc/alabaster ) from 0.7.13 to 0.7.16.
- [Release notes](https://github.com/sphinx-doc/alabaster/releases )
- [Changelog](https://github.com/sphinx-doc/alabaster/blob/master/docs/changelog.rst )
- [Commits](https://github.com/sphinx-doc/alabaster/compare/0.7.13...0.7.16 )
---
updated-dependencies:
- dependency-name: alabaster
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 15:24:22 +00:00
burnettk
a6f3a6abd2
give some hints for what keys
2024-02-22 10:22:59 -05:00
jasquat
044e9facf7
feature/pin-auth-exlusions-to-controller ( #1087 )
...
* this adds lookup of the controller names as well as the functions when checking if api call should be excluded
* added login functions to exclusion list and turned it into a constant
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-22 10:19:04 -05:00
dependabot[bot]
02a3932401
Bump use-debounce from 9.0.4 to 10.0.0 in /spiffworkflow-frontend ( #1088 )
...
Bumps [use-debounce](https://github.com/xnimorz/use-debounce ) from 9.0.4 to 10.0.0.
- [Release notes](https://github.com/xnimorz/use-debounce/releases )
- [Changelog](https://github.com/xnimorz/use-debounce/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xnimorz/use-debounce/compare/9.0.4...10.0.0 )
---
updated-dependencies:
- dependency-name: use-debounce
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 15:06:09 +00:00
Kevin Burnett
ea108c6392
shortcut to view diagram from instance show ( #1082 )
...
* shortcut to view diagram from instance show
* no need for file contents
* handle no primary filename before attempting navigation
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-02-22 06:00:02 -08:00