246 Commits

Author SHA1 Message Date
burnettk
188041660e
fix lint 2024-12-30 10:44:11 -05:00
Kevin Burnett
6c0acaea1e
update to make this work for both local openid and keycloak again (#2197)
* update to make this work for both local openid and keycloak again

* Update spiffworkflow-backend/bin/get_token

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix coderabbit

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-16 07:00:51 -08:00
Twentyninehairs
7cd38a3a22
Changed recreate_db to skip non sqlite attributes (#2168)
* Changed recreate_db to skip non sqlite attributes

* reverted package-lock.json

* reverted poetry.lock

* reverted pyproject.toml

* reverted frontend config.tsx and vite.config.ts

* Removed my personal debugging echo statements from recreate_db
2024-12-04 06:39:12 -08:00
Bret Mogilefsky
a3c5219a94
Enable using read-only HTTPS repositories (#2171)
* Enable using read-only HTTPS repositories

If someone wants to clone read-only from an `https://github.com/...` URL, that should be permitted, and in that case they shouldn't be required to provide an SSH key.

* Add comment on ssh vs https behavior
2024-12-03 03:48:56 -08:00
jasquat
48532485f7
remove the version restriction for gunicorn (#2170)
* remove the version restriction for gunicorn w/ burnettk

* ignore werkzeug safety issues w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-12-02 11:26:53 -08:00
jasquat
def33b235f
Message race (#2165)
* repro message race condition

* some more debugging w/ burnettk

* safe exception handling

* more deubbing w/ burnettk

* add failure log

* load script

* current state, db.session.begin did not actually help w/ burnettk

* do not save items on message start event w/ burnettk

* fixed tests w/ burnettk

* some cleanup w/ burnettk

* avoid test load script w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-12-02 11:10:10 -05:00
Kevin Burnett
4dd0d67b6c
update to flask cors 5, which has a breaking change, which works locally (#2095)
* update to flask cors 5, which has a breaking change, which works locally

* ignore wrong safety issue

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-10-01 11:52:57 +00:00
Bret Mogilefsky
459aec92d5
Enable having created files match the local user:group (#2090)
* Enable having created file match the local user:group

If you run `docker compose up` with no other arguments, the `process_models` directory and everything in it will be created with `root:root` ownership. That's not great for the local editing use-case. 

With this change, running `UGID="$(id -u):$(id -g)" docker compose up` will result in any created files matching the ownership of the invoking user. If the user doesn't set `UGID`, then the existing ownership (`root:root`) is the the default.

* Remove the need to explicitly mark git repositories safe

By setting `*` for `safe.directory` when the image is built, we remove
the need to run `git config` when starting the app in Docker. This
enables the container to run as any user, not just `root`.

* Use local variable naming convention
2024-09-30 09:15:33 -07:00
jasquat
50ebf05100
Newuiv3 (#2047)
* new view to kick off process instance

* now ProcessModelCard can kick off an instance

* show total child items rather than using a slash

* some initial code to implement frontend from figma w/ burnettk

* updated homepage tab names w/ burnettk

* updated field names in new ui w/ burnettk

* moved nabar to wrapper component w/ burnettk

* added basics for dark mode w/ burnettk

* use spiff logo and colors w/ burnettk

* use spiff logo and colors w/ burnettk

* corrected hover colors in dark mode

* some additional formatting

* added tree view to start process page in v3 site w/ burnettk

* some cleanup for the tree view w/ burnettk

* removed unused side nav items w/ burnettk

* actually navigate to locations when clicking in nav bar w/ burnettk

* moved custom button inline with other items w/ burnettk

* moved used items from v2 ui to v3 and change paths to v3 to newui and old to newuiv2

* updated v2 code to match main so we can more easily compare against it

* revert v2 route as well to be like main

* some fixes and clean and added profile button w/ burnettk

* revert nav bar w/ burnettk

* update profile menu so it can log out w/ burnettk

* added dark mode button back w/ burnettk

* profile menu update w/ burnettk

* profile menu update w/ burnettk

* moved side nav into own component w/ burnettk

* make sure you have to logged in to see the new ui w/ burnettk

* stack icons on collapse

* allow profile menu to go beyond constraint of sidenav

* profile menu when collapsed

* make thing not overlap

* removed duplicate attribute

* get tasks from the api instead of mock data

* added waiting for column w/ burnettk

* fixed header names of new pages w/ burnettk

* swap colors

* updated some bgcolors w/ burnettk

* updated some of the theme colors w/ burnettk

* some more color cleanup w/ burnettk

* add border to table and background lighter like design

* more colors w/ burnettk

* add border

* add height to tab indicator props

* use macro colors

* persist theme selection in local storage

* h1 as god intended

* fix highlight on main nav

* new started by me view

* avoid hardcoding color because themes

* fetch process instances

* extract shared junk into components

* extract more shared junk

* some cleanup to the new workflow view w/ burnettk

* update button

* more tweaks and fixes to task table w/ burnettk

* match design

* some updateds to headertabs w/ burnettk

* make the create custom tab button look more like the other tabs w/ burnettk

* added view mode tile table toggle w/ burnettk

* add startopen script to allow all interfaces for dev server

* hide complete task play button if no task

* remove waiting for from tile if blank w/ burnettk

* implemented hide complete w/ burnettk

* show non active

* fixed var w/ burnettk

* do not show action if user cannot complete task w/ burnettk

* time ago ts

* added timeago in words to task table w/ burnettk

* some updates to timeago for typsescript w/ burnettk

* some formatting to the tile w/ burnettk

* move arrow to top right

* make the whole tile clickable if there is a task w/ burnettk

* default sidenav to collapsed on mobile

* tile views by default on mobile

* completely hide menu on mobile, not just collapse

* get rid of autocollapse on mobile code, since it is all hidden

* mobile nav

* improve mobile nav

* when you open the nav on mobile, it should always be expanded

* some minor support for user group select

* lint

* persistent top nav so you can always access menu on mobile

* implemented group by option w/ burnettk

* allow ungroup

* only show Ungrouped if it is grouped

* group by text

* use accent color when grouping tasks

* added text.accent for dark mode w/ burnettk

* copied task show elements to v3 folder w/ burnettk

* newui task show routes work w/ burnettk

* converted task show elements to mui w/ burnettk

* fixed up task show page a big w/ burnettk

* added padding to tash show page w/ burnettk

* modified colors for dark mode and consistency w/ burnettk

* added interstitial and progress pages to new ui w/ burnettk

* go to newui appropriately from interstitial

* allow grouping tasks by the process group of their instance

* scroll to the card when selecting from the left nav tree w/ burnettk

* move task details to bottom of tile w/ burnettk

* navigate back to home page when no more tasks w/ burnettk

* avoid cutting off right side of main content

* a little cleanup w/ burnettk

* some format updates to h tags w/ burnettk

* fix class name for carbon

* Newuiv3a (#2046)

* wip to get only runnable prcess models for start process model page w/ burnettk

* wip to get only runnable prcess models for start process model page w/ burnettk

* wrote out method to group by process group w/ burnettk

* added test for grouping by process group

* some cleanup to prepare to be merged into the main newuiv3 branch

* fixed mypy issues

* fixed tests

* fixed lint issues w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>

* try to fix animations

* remove favorites icon and update pi creation flow w/ burnettk

* remove carbon from interstital page w/ burnettk

* title is bpmn_name and name is bpmn_id

* slow fade transition from interstitial to homepage

* do a hilariously long fade in when going from interstitial to homepage

* show last process instance id saved on interstitial

* get rid of local storage

* move last instance to top and avoid on mobile

* avoid useEffect and rock local storage

* added some error display w/ burnettk

* moved v3 specific code to v3 dir w/ burnettk

* some code rabbit suggestions w/ burnettk

* more code rabbit w/ burnettk

* remove bad id w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-08-16 15:13:33 -04:00
jasquat
3dd5ac4d85
pi-migration-update-human-task (#1952)
* update the human task title when running pi migrations w/ burnettk

* updated some libs for safety w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-18 15:04:41 -04:00
jasquat
5277360562
updated human task to task fk for mysql 8.4 support w/ burnettk (#1950)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-18 13:19:59 -04:00
jasquat
775a6a485c
support getting host and user info from uri in recreate_db script w/ burnettk 2024-07-18 11:37:30 -04:00
jasquat
2e1ee93293
Pi migration 2 (#1902)
* added migration detail table along with migration fe page w/ burnettk

* allow specifying bpmn process defintion when getting instance w/ burnettk

* added a test for migration reverting w/ burnettk

* added result states to migration page w/ burnettk

* updated spiffworkflow to fix migration revert issue w/ burnettk

* added test for the migration events api w/ burnettk

* fixed tests

* finished migration web page w/ burnettk

* coderabbit and other issues and added spiffworkflow-local realm and use that if running locally

* fixed pyl issue

* just check for the git revision key in tests instead of a value since the value could be None

* ruff

* updated configs for cypress tests

* use correct realm in ci

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-11 13:46:54 -04:00
pixeebot[bot]
8b26848ec9
Use Safe Parsers in lxml Parsing Functions (#1896)
* Use Safe Parsers in `lxml` Parsing Functions

* fix

---------

Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-07-10 09:37:44 -07:00
burnettk
950e288223
use correctly named script 2024-07-08 22:52:59 -04:00
burnettk
477ad2134e
fix lint 2024-07-03 16:27:59 -04:00
burnettk
d954a5b8ef
detect tasks with multiple incoming flows, related to #1530 2024-07-03 16:23:08 -04:00
jasquat
c0e072a2e2
Mi large data debug bpm only (#1846)
* some debug code to help track down slow processing times for mi tasks with larget data sets w/ burnettk

* use mapping cache for task models and bpmn processes and some linting cleanup

* some minor bugfixes w/ burnettk

* assign the correct bpmn process to the given guid w/ burnettk

* fixed data migration tests w/ burnettk

* unit tests are passing w/ burnettk

* integration tets are passing w/ burnettk

* some cleanup while code reviewing w/ burnettk

* some more cleanup w/ burnettk

* pass new args to TaskService in data migration w/ burnettk

* fixed broken test w/ burnettk

* allow running acceptance tests without keycloak w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-01 16:05:51 -04:00
jasquat
1d79d77686
Celery avoid requeueing (#1828)
* some debug code and potential fixes to avoid requeueing future tasks w/ burnettk

* actually insert the queued time into the future task table w/ burnettk

* fixed tests w/ burnettk

* handle missing process instances better from celery worker and updated some comments w/ burnettk

* added comment w/ burnettk

* minor fixes w/ burnettk

* added test for should_schedule_waiting_timer_events w/ burnettk

* added test to ensure we do not queue recently queued tasks again w/ burnettk

* remove traceback code

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-06-26 10:48:28 -07:00
jasquat
5e3831f4d6
message-model-perm-check (#1805)
* check if user has permissions to messages before attempting call w/ burnettk

* fixed variable typo w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-24 12:36:07 -07:00
jasquat
d2e005022b
use the greedy strategy when running messages from the background processor w/ burnettk (#1798)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-21 16:22:42 -04:00
Kevin Burnett
6ab89dab40
default to local openid instead of keycloak container dependency (#1794)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-06-21 08:38:52 -07:00
Kevin Burnett
e4aac94a4e
Fix gunicorn and wait for schema issues (#1771)
* fix gunicorn and wait_for_db_schema_migrations

* avoid bad gunicorn version

* actually check that request succeeded

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-06-19 10:59:27 -07:00
jasquat
95ed415bab
wait_for_db script executable and fixed package lock file w/ burnettk 2024-06-18 15:52:22 -04:00
jasquat
6a99762f70
better-db-migration-waiting (#1732)
* explicitly wait for db migrations to be completed instead of sleeping w/ burnettk

* code rabbit suggestion w/ burnettk

* get rid of the set x w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-13 13:34:32 -04:00
Kevin Burnett
eae5f7dd2d
the big message improvements branch (#1549)
* imported patch from old message_improvements branch w/ burnettk

* wip.

* merging in changes from message_improvements

* remove patch files that were accidendetally added.

* Added a modal for editing a correlation.  Added ability to delete whole correlation keys.
A little css cleanup.

* * Removing migration - will add back in at the end.
* The Message models API should not require page and per_age parameters, it will return all.
* The Message model list should return a full json description of all messages/correlations for all containing groups.
*

* wip

* Add import, fix class name

* Getting ./bin/pyl to pass

* Getting ./bin/pyl to pass

* Some fe lint fixes

* Some ruff fixes

* Commands to nuke poetry dirs

* Temp skipping of a couple tests

* Getting ./bin/pyl to pass

* This needs to be back in

* Revert back to main

* Factored out data store handling

* Working on factoring out collecting messages, has test failure

* Formatting

* Fixed up test failures

* Remove commentted out lines

* Adding fields

* Fix merge issue

* Re-enable modal

* WIP

* Untested relationships

* Remove correlation key table

* Remove retrieval expression from uniqueness

* Remove commentted out lines

* WIP

* WIP

* WIP

* WIP

* WIP

* Make mypy pass

* Getting formatters to pass

* Add migration

* WIP fixing tests

* WIP fixing tests

* WIP fixing tests

* WIP fixing tests

* WIP fixing tests

* Getting ./bin/pyl to pass

* Fix skipped test

* Fix skipped test

* Getting ./bin/pyl to pass

* Remove unused method

* Remove unused methods

* Clean up unused code

* Refactor to support creating single messages from the UI

* Untested support for processing one process_group

* WIP test

* WIP test

* Filled out test

* Getting ./bin/pyl to pass

* Message Editor Modal Work

* Change migration and add in schemas.

* Swtich to using the associated branch of the process BPMN.io mods

* Get the backend returning messages created from the frontend to the drop down list in the BPMN.io editor.

* Merge main, fix up test

* Getting ./bin/pyl to pass

* Show path in location

* Rename var

* install packages from bpmn-js-spiffworkflow as well for local development

* process group api can add and update message models now w/ burnettk

* backend tests are passing now w/ burnettk

* the launch message edit button is loading the editor w/ burnettk

* updated bpmn-js-spiffworkflow

* pyl is passing w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* fixed console errors w/ burnettk

* a couple tweaks w/ burnettk

* save the message json in the new format from the mform w/ burnettk

* display the correlation props in the form w/ burnettk

* default to empty schema so the format is obvious

* allow removing correlation props from web ui w/ burnettk

* added save notification when saving a message on a process model w/ burnettk

* fixed broken test w/ burnettk

* Updating test cases to new message format, tests are failing

* support schema from messages in frontend

* Fixing tests

* Fixing tests

* Fixing tests

* removed references to correlation keys and removed unused components w/ burnettk

* removed temp mesasge model edit button w/ burnettk

* Make mypy pass

* Fixing tests

* Fixing tests

* Getting ./bin/pyl to pass

* save deleted messages before attempting to add new ones w/ burnettk

* set state for the message id so it can be changed w/ burnettk

* do not wait for the message id to be set since it is not necessary w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* build images for this branch w/ burnettk

* put location in path of message-models so we can control permissions on it w/ burnettk

* fix black

* some coderabbit suggestions

* pull in spiff fix

* Default schema to {}

* Temp fix for invalid schema

* updated bpmn-js-spiffworkflow

* some updates for issue 1626

* minor name tweaks and attempts to update message dropdown in panel when message changes - does not work yet w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* attempt to call add_message.returned event when message updates w/ burnettk

* treat formData as a state in the MesasgeEditor so it can be updated when the form contents is modified w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* Feature/merge correlation properties (#1693)

* Merge XML Correlation properties with Process group properties

* updates for messages w/ burnettk

---------

Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>

* do not wait for message id state to be set to better support new messages w/ burnettk

* updated SpiffWorkflow w/ burnettk

* some cleanup from coderabbit and linting

* added index to message tables, run typecheck in ci, and other updates while code reviewing w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* remove branch to build

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: danfunk <daniel.h.funk@gmail.com>
Co-authored-by: Jon Herron <jon.herron@yahoo.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <2487833+jasquat@users.noreply.github.com>
Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com>
2024-06-10 09:15:54 -07:00
jasquat
586a088e21
update-spiffworkflow (#1694)
* updated SpiffWorkflow w/ burnettk

* added version 5 migration w/ burnettk

* pyl w/ burnettk

* added test for the version 5 migration w/ burnettk

* fixed the version 5 migration w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-07 13:23:19 -07:00
jasquat
59d19bb457
Rjsf typing is slow (#1663)
* updated rjsf packages w/ burnettk

* use performance improvement branch of validate js v8 w/ burnettk

* Update spiffworkflow-backend/bin/task_data_to_python_variables.py

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

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-06-03 16:19:15 -07:00
jasquat
ae6f3119bb
updated libs for safety issues w/ burnettk (#1662)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-03 11:18:02 -04:00
Kevin Burnett
0329c11182
more flexible local dev args (#1613)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-05-24 23:06:16 +00:00
jasquat
c882a208fb
Hunter is me main (#1585)
* get token object for local development env

* print just token to stdout in case we want to shell out to this script for some reason

* migrated get_token bash script to python version w/ burnettk

* ruff should ignore print statements in bin script w/ burnettk

---------

Co-authored-by: unknown <hdl560@163.com>
Co-authored-by: HunterIsMe <36193162+HunterIsMe@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-21 15:40:25 -04:00
jasquat
b6f50a65f3
save all bpmn files right before starting the server w/ burnettk 2024-05-14 11:29:09 -04:00
Kevin Burnett
8cb39ef214
allow large tokens to pass through nginx (#1550)
* allow large tokens to pass through nginx

* improve comment

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-05-13 16:56:37 -07:00
Kevin Burnett
c967af3d65
safety updates and ignore unfixable pip issue (#1544)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-05-13 07:23:55 -07:00
burnettk
141a327627
make sure input line is set before doing things 2024-05-07 20:43:15 -04:00
jasquat
973e8fce72
added option to clone process models in boot in docker script w/ burnettk 2024-05-03 16:31:27 -04:00
jasquat
d01e52d81f
fixed run process model script to work with celery w/ burnettk 2024-05-03 14:57:35 -04:00
jasquat
86f97d5937
New calling process table (#1480)
* added new table to handle called process relationships

* process caller api endpoint is working again w/ burnettk

* fixed more tests and mypy w/ burnettk

* unit tests are passing and commented out unrelated failing test w/ burnettk

* all tests are passing almost w/ burnettk

* uncommented flakey test w/ burnettk

* minor change while reviewing w/ burnettk

* some changes from coderabbit suggestions w/ burnettk

* commented out sampling change w/ burnettk

* name the foreign keys on the process caller table w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-03 10:09:32 -04:00
jasquat
00c2e85fee
Data store background fix (#1455)
* added test to demonstrate data store issue when run in certain contexts w/ burnettk

* added method to add kkv data store getters back onto tasks if appropriate w/ burnettk

* removed debug code w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-26 10:14:26 -04:00
burnettk
c2856be3bf
remove flake8 because ruff and bandit because it is in backend, fix long line 2024-04-24 12:59:20 -04:00
burnettk
d197bf00a2
couple fixes to get current user finder script 2024-04-24 12:57:11 -04:00
jasquat
32141a238e
Reset task in call activity fix (#1417)
* updated import pi test to set task data w/ burnettk

* fixed persist test so it loads the processor with data

* load data and completed tasks when getting bpmn json for an instance

* save start and end times on tasks on import w/ burnettk

* verify we are saving start and end times for imported process instances w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-18 14:11:53 -04:00
jasquat
6643db9f2f
Pi file data on fs (#1403)
* added basic support to store process instance file data on the file system w/ burnettk

* the files need to be in a hashed directory structure w/ burnettk

* fixed exception message w/ burnettk

* use the same entry method to the contents of data file w/ burnettk

* fixed hash method w/ burnettk

* make hash method easier to read w/ burnettk

* added a migrator and test for migration w/ burnettk

* fix a couple things while testing

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-18 11:24:59 -04:00
jasquat
a99c36964d
mi-task-show-fix (#1412)
* check for mi tasks first before checking more newest in task show api w/ burnettk

* remove console

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-17 11:53:10 -07:00
Kevin Burnett
f2c982a96c
Look for bad get_current_user scripts (#1370)
* initial script to find get_current_user calls

* handle pre and post scripts as well

* refactor

* omit absolute root dir path when printing

* avoid printing NS

* consolidate lxml parsing in one place

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-10 09:44:13 -07:00
jasquat
293aa867a1
Auth for secrets (#1369)
* added new api to show secrets so we can use that in permissions

* updated frontend to use new secret show value api

* cleaned up secret_show method

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-09 13:44:47 -04:00
Kevin Burnett
2b6640f24c
Prevent duplicated path prefix elements in generated URLs take two (#1350)
* Prevent duplicated path prefix elements in generated URLs

* add more debug info

* pure refactor

* let flask determine how to access site

* build this branch

* build image

* use more url_for, which includes a slash, and things are working locally

* fix hopefully the last missing url_for

* add some code that works for any openid provider

* one more url_for and remove more backend url config references

---------

Co-authored-by: Bret Mogilefsky <bmogilefsky@gmail.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-08 08:50:55 -07:00
jasquat
01c749aa0b
Allow setting path prefix (#1344)
* allow setting the path prefix of the server w/ burnettk

* added error in case someone was successfully using SPIFFWORKFLOW_BACKEND_APPLICATION_ROOT w/ burnettk

* Update docs/DevOps_installation_integration/path_based_routing.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-04-05 15:14:09 -04:00
jasquat
b21a3b3ec7
Celery docs and debug (#1328)
* added script to import process instance and updated some docs for redis and celery w/ burnettk

* pyl and removed bad gitignore w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-02 16:13:18 -04:00
dependabot[bot]
4a373be939
Bump black from 23.1.0 to 24.3.0 (#1285)
* Bump black from 23.1.0 to 24.3.0

Bumps [black](https://github.com/psf/black) from 23.1.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.1.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixed pre commit black issues w/ burnettk

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-27 14:05:49 -04:00