Commit Graph

3187 Commits

Author SHA1 Message Date
jasquat 6b1c643f7b
just look for aborted in the error on interstital page w/ burnettk 2023-09-28 15:58:42 -04:00
jasquat 777569021a
updated SpiffWorkflow for depth fix (#519)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-28 12:51:48 -07:00
jasquat 91f41ba010
handle dup key error when saving draft data by updating the record on conflict w/ burnettk (#518)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-28 12:01:57 -07:00
jasquat 99f9ac3d87
ignore was aborted errors on the interstitial page since they do not matter w/ burnettk 2023-09-28 14:57:31 -04:00
wid d25f7670f0
fix(oidc): use fallback to get prefered username (#517)
function `getPreferredUsername()` is failed to fetch prefered username when using Google as OpenID
provider because the payload inside the JWT does not contains exact "preferred_username" key

Signed-off-by: widnyana <wid@widnyana.web.id>
2023-09-28 08:36:19 -07:00
jasquat a12ce98753
allow disabling extensions from the uischema 2023-09-28 07:52:49 -04:00
jasquat ae781e12f7
Feature/nonetype debug stuff (#513)
* some debug items w/ burnettk

* removed some db commits from workflow execution service so the passed in save is the only thing that actually commits the transaction

* set max depth to 50000 for now w/ burnettk

* pyl w/ burnettk

* use temp maxdepth fix in SpiffWorkflow w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-27 17:04:47 -04:00
jasquat 9cb691f834
set an authenticated attribute on g to check against instead of token w/ burnettk 2023-09-27 16:59:16 -04:00
jasquat 93e2ad062e
updated files table on pm show page to force single line and added migration to increase column size of process-model identifier in message triggerable table w/ burnettk (#515)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-27 09:00:09 -07:00
jasquat 0381503290
feature/admin-redirect (#514)
* add in a redirect in frontend for admin pages to redirect without admin

* use a regex to replace admin

* moved the root route to own component to remove routing warnings w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-27 10:24:15 -04:00
burnettk 8c398d66b7
fix cron 2023-09-26 20:12:27 -04:00
burnettk 8833f44e98
document this jank 2023-09-26 20:10:06 -04:00
burnettk eae5c17cc7
clean up old main docker images 2023-09-26 20:02:08 -04:00
jasquat b8757b64d8
Feature/dynamically set configs (#512)
* added method to get configs from env so we can manipulate the values in a consistent way w/ burnettk

* grouped configs in default py to make it a little easier to understand

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-26 15:03:13 -04:00
jasquat 901c286535
fixed cypress tests 2023-09-26 10:30:11 -04:00
Phillana26 5ff9c56e37
events and signals (#508)
* events and signals

* update signal_relationships.png issue

* tweaking

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-25 18:43:42 -07:00
usama9500 f480158d1b
FAQ and Messages (#510)
* FAQ and Messages

* fix some branding things and remove some duplication

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-25 18:43:27 -07:00
jasquat 4582264b84
remove pilot cypress tests and update others for admin in path removal w/ burnettk 2023-09-25 16:03:46 -04:00
burnettk 4a790103bf
fix typo 2023-09-25 15:50:27 -04:00
jasquat fb2780f280
do not pass mocked data on unit tests to multi instance task types w/ burnettk 2023-09-25 15:48:06 -04:00
burnettk 2e21ca1fbe
test 2023-09-25 12:21:23 -04:00
jasquat de53f4fd30
support dmn files in process model unit test w/ burnettk 2023-09-25 12:19:35 -04:00
jasquat 3c97f2596d
Merge branch 'main' of github.com:sartography/spiff-arena 2023-09-25 11:31:23 -04:00
jasquat ce7898fbd6
some fixes for the error page when backend is down w/ burnettk 2023-09-25 11:31:02 -04:00
burnettk f6fcd0eeba
actually LGPL 2023-09-25 11:13:46 -04:00
jasquat af9dfe58ff
make sure we load the cache_generation table w/ burnettk 2023-09-25 10:55:28 -04:00
jasquat e260afd976
use the long revision when comparing git revs for webhook w/ burnettk 2023-09-25 10:37:08 -04:00
jasquat 08e7afee97
use the correct interface for process callers since backend returns references and print errors to the console in boundary fallback 2023-09-22 17:02:58 -04:00
burnettk 0c4761ac20
fix admin path and rollback on exception. w/ jlantz and elizabeth 2023-09-22 16:51:36 -04:00
jasquat 7cbff0cdf2
updated ProcessReference interface in frontend 2023-09-22 15:50:13 -04:00
jasquat abd69ae047
fix permissions for getting extension process models w/ burnettk 2023-09-22 13:57:03 -04:00
jasquat b3851b5a2d
Feature/new reference cache (#511)
* added basic model for new reference cache w/ burnettk

* switched out SpecReferenceCache for ReferenceCacheModel w/ burnettk jbirddog

* pyl w/ burnettk jbirddog

* save items to the db using the new cache with generation table w/ burnettk

* bulk save for performance

* tests are passing

* actually use the new generation table - we still need a test to ensure we are using it

* added test to ensure using new cache generation

* corrected reference interface on frontend w/ burnettk

* do not perform git pull in webhook if the revision is the same as the current w/ burnettk jbirddog

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-22 11:28:59 -04:00
jasquat a4aa8cfb7a
updated cryptography for snyk w/ burnettk 2023-09-22 10:36:06 -04:00
burnettk 9df6eebae5
clarify getting started article 2023-09-21 20:09:32 -04:00
jasquat f86dc9f68b
Improvement/flexible task iteration (#507)
* updated to use new spiff branch and fixed broken tests w/ burnettk essweine

* updated spiffworkflow with new main build w/ burnettk essweine

* initial updates to new spiff branch w/ burnettk essweine

* more updates for new spiff w/ burnettk essweine

* fixed some linting issues w/ burnettk essweine

* fixed some failing tests w/ burnettk

* updated spiffworkflow for cancel fix w/ burnettk

* Improvement/flexible task iteration 2 (#504)

* wip

* consistent failure, mostly

* removing test code and tests

* removing unused test bpmn files

* removing unused test bpmn files

* minor cleanup of commented code

* spaces and unused imports

* go back to spiff on main

---------

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

* lint

* updated test to reflect storing predicted tasks w/ burnettk

* add some orders so postgres does not do whatever it wants, and clear log

* fix lint

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: danfunk <daniel.h.funk@gmail.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-21 14:47:18 -07:00
Kevin Burnett c1435d5f41
add keycloak info to README (#509) 2023-09-21 12:03:56 -07:00
jasquat de1140f1c9
updated completed form modal to have white background and minor changes to table column names 2023-09-21 08:00:14 -04:00
jasquat d14892e362
allow instructions to collapse in view completed form and make items in text fields a little more readable w/ burnettk (#506)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-20 16:03:58 -04:00
jasquat bb52f6bc95
updated milestone table query to include logic similar to caching last_milestone on the pi w/ burnettk (#505)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-20 13:25:42 -04:00
jasquat 39dfe6262a
fixed some admin links left behind 2023-09-20 13:20:49 -04:00
jasquat ce74f4e547
Feature/pi short link (#503)
* moved adminroutes to homepage to get rid of /admin from urls

* removed admin prefix from urls

* moved top level base routes to their own routes file w/ burnettk

* added ability to get and use a short link to the process instance show page w/ burnettk

* give the person some feedback

* move about page to baseroutes so it acts like the other pages

* use the normal notificaiton component for the copied link notification

* added 404 page and backend is down page w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-20 12:02:02 -04:00
jasquat 1db2e7d973
Feature/pm readme file (#495)
* refactored process model show page to use tabs

* added ability to view and edit a process model readme file w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-20 11:14:20 -04:00
jasquat 86096d6d97
create a custom validation for checkboxes instead of trying to set the value to undefined (#501)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-19 06:10:54 -07:00
Dan Funk 8eb93802aa
Bug/various bugs (#499)
* The ErrorBoundary is super powerful and useful.  There is a default implementation that seems to be recommended now, so dropping our homegrown one for the standard one.

We can now render custom components when an error happens within an error boundary, and we can use error boundaries within sub-components as we now do in the reactFormBuilder which will capture form rendering errors, and allow you to fix the error and retry.

The more global ErrorBoundary set in the "ContainerForExtensions" now users a the ErrorBoundaryFallack to render the error - which looks a little cleaner, and tries to offer a little more information about what went wrong.
2023-09-19 09:08:57 -04:00
jasquat 43760689d0
Feature/markdown error fix (#498)
* added widget to edit markdown with rjsf

* build spiffcrm

* updated docker images to build w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-19 07:37:05 -04:00
jasquat 68980eced9
check for user attr on g before attempting to use it 2023-09-19 07:36:10 -04:00
Kevin Burnett 1cf8206d8e
store predicted tasks in the database and store task cancelled events w/ burnettk (#500)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-09-18 13:24:23 -07:00
jbirddog d154d83ce5
File based generic json data store (#490) 2023-09-18 15:55:24 -04:00
jasquat 7f870977c0
default checkbox value to undefined if it is false 2023-09-18 11:45:24 -04:00
Dan Funk 161493428a
Bug/various bugs (#494)
* Don't bug out in older instances that don't have runtime_info

* Add zoom buttons to React Diagram Editor

* This removes some potential features for on-boarding, that we are not currently using, but fixes the issue with 100's of onboarding processes piling up and sitting around.  Hoepfully we can wrap this into the extensions mechanism so everything works the same way eventually.

* Improved error messages on form builder
Don't try to auto-save the file before it is fully loaded.
Example data was not getting saved on update.

* Found several errors with new zooming buttons in DMN, so cleaning that up.

Recent changes prevented creating a new dmn table.

* Errors were not being displyed for the Editor Routes

* Going to disable handling user tasks in the onboarding controller for now.
2023-09-18 11:22:29 -04:00