Commit Graph

1292 Commits

Author SHA1 Message Date
jasquat 40af8809a1
numeric-range-check-for-num (#1451)
* check to ensure the value entered in a numeric range is a number

* save the regex number matcher so it can be used in multiple places w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-25 11:33:25 -04:00
jasquat f773823008
Numeric range tweaks (#1445)
* tweaks to help with layout for numeric ranges

* use negative infinity for min

* remove some debug code

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-24 12:04:55 -04:00
jasquat 2b84fbad71
remove the collapse option from task show instructions (#1444)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-24 09:37:48 -04:00
jasquat a7a9927a5f
character-counter-fixes (#1432)
* carbon supports the counter field natively so use that w/ burnettk

* added docs for character counter fields w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-22 14:54:15 -04:00
jasquat a59f2777cd
added some padding above the radio button group on rjsf forms w/ burnettk (#1431)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-22 11:31:18 -07:00
jasquat 5ba5727eec
do not force min and max to be set in numeric range fields w/ burnettk (#1430)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-04-22 13:31:50 -04:00
jbirddog 207538d951
Remove craco since it is no longer used (#1426)
* Remove craco since it is no longer used

* Fix the build
2024-04-22 08:25:32 -07:00
jasquat b4fe793f51
Task show toggle instructions (#1429)
* added support to toggle full and collapsed instructions on the task show page w/ burnettk

* collapse task show instructions by default w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-22 11:25:13 -04:00
jasquat 44687327ae
minor fixes for frontend console errors w/ burnettk 2024-04-22 11:24:41 -04:00
burnettk 0bfc4b7f20
always log body, and improve messaging 2024-04-18 16:24:39 -04:00
jasquat 1e9854f82a
show http error text in console only and not in on the page itself w/ burnettk 2024-04-18 15:00:50 -04:00
jasquat 91e988ff11
better-fe-error-handling (#1406)
* update error handling in HttpService to handle non-json responses better w/ burnettk

* fixed cypress tests

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-18 14:11:44 -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
jbirddog 8ad9e9c8fc
Updates for using vite in the dev containers (#1413) 2024-04-17 14:04:07 -04:00
jasquat ebd5c60758
add query params back into admin redirect url w/ burnettk 2024-04-17 10:43:15 -04:00
dependabot[bot] b8b3429fc5
Bump @mui/material from 5.12.1 to 5.15.15 in /spiffworkflow-frontend (#1405)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.12.1 to 5.15.15.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/next/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.15.15/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  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>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-16 14:16:10 -04:00
jasquat f7ff8353c2
update bpmn-js-spiffworkflow for vite updates w/ burnettk 2024-04-15 14:50:30 -04:00
jasquat 9147a8db8c
Use vite to build (#1390)
* some base updates for vite w/ burnettk

* i can log in w/ burnettk

* a couple more fixes w/ burnettk

* make sure selectedTabIndex has been set before using it w/ burnettk

* fixed active-users db issue, added type module to package json to fix prerender issues, and various other issues w/ burnettk

* fixed issues with building and running from compiled w/ burnettk

* pyl

* eslint fix is running and removed both inferno and navigationBar warnings

* vim likes the Dockerfile suffix by default

* use process.env.HOME

* probably do not need alias

* a little clean up and fixed font warnings w/ burnettk

* updated elements to remove warnings in the console w/ burnettk

* fixed es lint issues w/ burnettk

* update docker build in frontend w/ burnettk

* set the specific tag of nginx w/ burnettk

* build docker imgaes for this branch to test w/ burnettk

* added vitest and updated Dockerfile to be nginx w/ burnettk

* tests are passing w/ burnettk

* add prefresh and more keys

* added cypress-vite to attempt to get cypress working again

* some coderabbit suggestions

* hopefully there is no reason to use PUBLIC_URL at all when using vite

* use the correct location of the index file in the docker image

* spaces are fine in index.html file variable declaration

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-15 14:22:34 -04:00
dependabot[bot] 4d87a0c283
Bump date-fns from 2.30.0 to 3.6.0 in /spiffworkflow-frontend (#1399)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 3.6.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.30.0...v3.6.0)

---
updated-dependencies:
- dependency-name: date-fns
  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-04-15 15:14:05 +00:00
dependabot[bot] ce1ba2d747
Bump cookie and @types/cookie in /spiffworkflow-frontend (#1387)
Bumps [cookie](https://github.com/jshttp/cookie) and [@types/cookie](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/cookie). These dependencies needed to be updated together.

Updates `cookie` from 0.5.0 to 0.6.0
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Changelog](https://github.com/jshttp/cookie/blob/master/HISTORY.md)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.6.0)

Updates `@types/cookie` from 0.5.1 to 0.6.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/cookie)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/cookie"
  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-04-12 14:32:53 +00:00
dependabot[bot] e7d9e30e6e
Bump react-router-dom from 6.22.1 to 6.22.3 in /spiffworkflow-frontend (#1382)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.22.1 to 6.22.3.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.22.3/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  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-04-11 14:49:36 +00:00
jbirddog afe95c5178
Remove unused component (#1377) 2024-04-10 13:07:48 -04:00
jbirddog 2bec24aa63
Delete commented out test (#1378) 2024-04-10 09:37:38 -07:00
jbirddog 3f5e0db19b
Attempt to detect unused code in the frontend (#1375) 2024-04-10 12:05:29 -04:00
dependabot[bot] 2ae1ab45c8
Bump @casl/ability from 6.5.0 to 6.7.1 in /spiffworkflow-frontend (#1374)
Bumps [@casl/ability](https://github.com/stalniy/casl/tree/HEAD/packages/casl-ability) from 6.5.0 to 6.7.1.
- [Release notes](https://github.com/stalniy/casl/releases)
- [Changelog](https://github.com/stalniy/casl/blob/master/packages/casl-ability/CHANGELOG.md)
- [Commits](https://github.com/stalniy/casl/commits/@casl/ability@6.7.1/packages/casl-ability)

---
updated-dependencies:
- dependency-name: "@casl/ability"
  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-04-10 15:16:04 +00: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
dependabot[bot] 9458500b8a
Bump @types/node from 18.15.11 to 20.12.6 in /spiffworkflow-frontend (#1365)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.11 to 20.12.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  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-04-09 15:04:15 +00:00
jasquat 2cf5c915ed
Dmn js upgrade (#1358)
* upgraded dmn-js versions w/ burnettk

* update bpmn-js-spiffworkflow w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-08 13:47:30 -07:00
dependabot[bot] 337deea0e2
Bump @rjsf/validator-ajv8 in /spiffworkflow-frontend (#1354)
Bumps [@rjsf/validator-ajv8](https://github.com/rjsf-team/react-jsonschema-form) from 5.0.0-beta.20 to 5.0.0.
- [Release notes](https://github.com/rjsf-team/react-jsonschema-form/releases)
- [Changelog](https://github.com/rjsf-team/react-jsonschema-form/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rjsf-team/react-jsonschema-form/compare/5.0.0-beta.20...5.0.0)

---
updated-dependencies:
- dependency-name: "@rjsf/validator-ajv8"
  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-04-08 15:03:09 +00:00
jasquat 18edf627db
message-table-pagination-fix (#1343)
* respect message list pagination options on the message instance list table w/ burnettk

* code rabbit suggestion w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-05 14:49:45 -04:00
dependabot[bot] dc3e009446
Bump eslint-plugin-cypress in /spiffworkflow-frontend (#1341)
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.13.2 to 2.15.1.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.13.2...v2.15.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-cypress
  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-04-05 15:03:37 +00:00
jasquat d45d98e558
highlight STARTED tasks like READY and WAITING tasks in the webui 2024-04-05 10:42:23 -04:00
dependabot[bot] b228eb7e43
Bump @typescript-eslint/parser in /spiffworkflow-frontend (#1334)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.0 to 5.62.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.62.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  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-04-04 15:05:49 +00:00
dependabot[bot] 6a4e575429
Bump dmn-js-shared from 15.0.0 to 16.0.0 in /spiffworkflow-frontend (#1318)
* Bump dmn-js-shared from 15.0.0 to 16.0.0 in /spiffworkflow-frontend

Bumps [dmn-js-shared](https://github.com/bpmn-io/dmn-js/tree/HEAD/packages/dmn-js-shared) from 15.0.0 to 16.0.0.
- [Release notes](https://github.com/bpmn-io/dmn-js/releases)
- [Commits](https://github.com/bpmn-io/dmn-js/commits/v16.0.0/packages/dmn-js-shared)

---
updated-dependencies:
- dependency-name: dmn-js-shared
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* updated additional dmn-js libs

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-03 14:16:03 -04:00
jasquat 280240ca87
lookup 1000 groups when attempting to cache them so we are not restricted to 100 w/ burnettk (#1331)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-03 08:22:07 -07:00
jasquat 64b72f439b
Revert "Bump @rjsf/utils from 5.0.0-beta.20 to 5.18.1 in /spiffworkflow-frontend (#1301)"
This reverts commit 659112a3e4.
2024-04-02 12:55:43 -04:00
jasquat b507f45fb0
Date format fixer (#1319)
* attmept to figure out what date format the user is inputting w/ burnettk

* reverted default date config w/ burnettk

* added tests for the new date formatter function

* fixed outdated comment

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-01 16:39:29 -04:00
dependabot[bot] 659112a3e4
Bump @rjsf/utils from 5.0.0-beta.20 to 5.18.1 in /spiffworkflow-frontend (#1301)
* Bump @rjsf/utils from 5.0.0-beta.20 to 5.18.1 in /spiffworkflow-frontend

Bumps [@rjsf/utils](https://github.com/rjsf-team/react-jsonschema-form) from 5.0.0-beta.20 to 5.18.1.
- [Release notes](https://github.com/rjsf-team/react-jsonschema-form/releases)
- [Changelog](https://github.com/rjsf-team/react-jsonschema-form/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rjsf-team/react-jsonschema-form/compare/5.0.0-beta.20...5.18.1)

---
updated-dependencies:
- dependency-name: "@rjsf/utils"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* attmepting to update usage of rjsf/utils for newer version

* update all rjsf packages together

---------

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-29 13:33:25 -04:00
jasquat 121f8d15ad
added a formatter to change a date string into a formatted date in markdown w/ burnettk (#1296)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-28 12:58:35 -07:00
dependabot[bot] 0cc7547812
Bump @babel/core from 7.23.2 to 7.24.3 in /spiffworkflow-frontend (#1292)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.2 to 7.24.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.3/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  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-03-28 14:55:13 +00:00
jasquat 639ba78037
apiPath does not need an extra slash now 2024-03-27 13:09:37 -04:00
dependabot[bot] 9461bc08e8
Bump @carbon/colors from 11.20.0 to 11.21.0 in /spiffworkflow-frontend (#1287)
Bumps [@carbon/colors](https://github.com/carbon-design-system/carbon/tree/HEAD/packages/colors) from 11.20.0 to 11.21.0.
- [Release notes](https://github.com/carbon-design-system/carbon/releases)
- [Changelog](https://github.com/carbon-design-system/carbon/blob/main/docs/release.md)
- [Commits](https://github.com/carbon-design-system/carbon/commits/v11.21.0/packages/colors)

---
updated-dependencies:
- dependency-name: "@carbon/colors"
  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-03-27 15:27:50 +00:00
dependabot[bot] 04a6b2c64a
Bump react-devtools from 4.28.4 to 5.0.2 in /spiffworkflow-frontend (#1258)
Bumps [react-devtools](https://github.com/facebook/react/tree/HEAD/packages/react-devtools) from 4.28.4 to 5.0.2.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/react-devtools/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/react-devtools)

---
updated-dependencies:
- dependency-name: react-devtools
  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>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-03-26 13:05:06 -07:00
jasquat a12d2883c1
Bpmn unit test from pi (#1262)
* added most of the code needed to generate a bpmn unit test from a process instance w/ burnettk

* pyl and tests are passing

* renamed some files and some clean up

* added api method to generate test case w/ burnettk

* debugging the generate test api w/ burnettk

* test case generator test case is now passing w/ burnettk

* added test for TaskMismatchError w/ burnettk

* added support for extension to create bpmn unit tests with the api w/ burnettk

* coderabbit and typeguard fixes w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-26 10:14:57 -04:00
Kevin Burnett 62ba2ed282
put arrow to the right of the button in process instance table (#1274)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-26 04:55:23 -07:00
jasquat 8a773c81f8
watch for specific values on params for useEffects w/ burnettk (#1271)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-25 11:59:42 -07:00
Tim Consolazio 917ee504cb
Implement React Query (Tanner) (#1263)
* Implement React Query (Tanner)

Also, replace PermissionCache with the framework's hooks.

* Update App.tsx

See if tools are causing cypress error

* Push div above query elements

Might solve a cypress problem.

* Remove old PermissionCache, and add docs/comments
2024-03-25 11:47:02 -07:00
jasquat b5b8031b44
fix-human-task-guid-fk (#1260)
* removed human_task_ibfk_5 from old migration file and updated task id removal migration to work with both mysql and postgres w/ burnettk

* use sqlalchemy error classes instead of mysql w/ burnettk

* mypy w/ burnettk

* remove deprecated cypress config w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-25 14:32:44 -04:00
jasquat fa241e1a01
/task-show-on-error-fix (#1269)
* watch only the attributes from within params that we need from the TaskShow useEffect w/ burnettk

* do not watch addError from the callback to avoid re-renders w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-25 09:07:26 -07:00
Kevin Burnett fed785b50c
fix a couple cypress test issues (#1267)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-24 05:02:15 +00:00