* use navigate and Link in tiles on the frontend w/ burnettk
* use mui breadcrumb w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* initial updates to prepare for data object data migration w/ burnettk
* added method to import bpmn_process_dict to the database w/ burnettk
* test to ensure we can import json is passing w/ burnettk
* added some more tests around importing bpmn process json w/ burnettk
* version 4 migration test is now passing w/ burnettk
* spiff lib back to main after its merge
* some coderabbit suggestions
* do not run version 3 and 4 migrations twice w/ burnettk
* build docker images for this branch w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
* use the react Link component to render links w/ burnettk
* removed old code w/ burnettk
* use a tag for external links according to coderabbit w/ burnettk
* click the nav expander again to close in cypress tests w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* Update PermissionService.tsx
Semi-naive cache to prevent redundant perm calls.
* Permission Cache (and reading/updating/wiping)
Simple cache Map to avoid making piles of redundant permission checks.
* Update PermissionCacheService.ts
Coderabbit comment.
* Update PermissionCacheService.ts
A little more elegant.
* Update PermissionCacheService.ts
Rolled validation back in.
* Update PermissionCacheService.ts
A little more elegant.
* Update permissionsService to be a little more robust, and test spec
* Update to always run callback
Now creates a response from the cache to feed the callback.
Still seeing the cypress error though (and remember you have to adjust the PermssionsServiceCache tests).
* Permission cache enhancements
PermissionCache now stores all returned permission for a path (without duplicates). Incoming permission requests now find and (if found) return the PermissionVerbResults they were looking for (based on the verbs in the PermissionsToCheck) from the overall collection for a given path.
* Update PermissionCacheService.ts
* Adjust Cache Tests
* fix lint
* Update PermissionService.tsx
Lint error ugh.
* kills consoles, add aider ignore
---------
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
* removed some portions of the guest access flow in favor of the unauthed flow w/ burnettk
* removed guest access from auth flow in backend w/ burnettk
* updated frontend to use new public api for guest tasks
* fixed tests and updated get task url script to choose between public and non public urls
* removed old guest task support from frontend
* return 404 when a task cannot be found w/ burnettk
* fixed typo in group list tiles w/ burnettk
* added cypress tests for public formg w/ burnettk
* display metadata key for urls instead of values w/ burnettk
* updated permissions for acceptance testss w/ burnettk
* set up permissions for public group if it is in the list and login and logout admin user in ci to ensure permissions are set w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* some basic updates for unauthed endpoints and the start of a test w/ burnettk
* added logic to create public access token if appropriate w/ burnettk
* updated message_form_show to return the rjs form w/ burnettk
* pyl w/ burnettk
* WIP: adding public routes to frontend w/ burnettk
* added public message form page to start a process instance w/ burnettk
* added api endpoint to submit message task data w/ burnettk
* allow switching rjsf themes in customform w/ burnettk
* we can submit a public message form w/ burnettk
* add message start submit to public exclusion list w/ burnettk
* run message submit in synchronous mode w/ burnettk
* a little refactoring to get ready for submitting unauthed tasks w/ burnettk
* created public controller w/ burnettk
* added api endpoint to submit additional public forms w/ burnettk
* added ability to submit a second form from the public web ui w/ burnettk
* some clean up and show markdown confirmation messages w/ burnettk
* added support for instructions and added a logout page for public users w/ burnettk
* support instructions for end user on the start message event as well w/ burnettk
* minor tweaks to public logout page w/ burnettk
* pyl w/ burnettk
* log unsupported form in custom form w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* use a unique id for radio buttons in rjsf
* moved comments about usage of makeid in rjsf to helper function that gets used
* useMemo to store the uniqueId w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* Purpose: Allow the messages api endpoint to accept arbitrary JSON in it's body - and to respond with the latest task_data - this will allow you to create BPMN processes are that can function as microservices.
* Fixing a bug that prevented the synchronous execution of a message post.
* A message post directly uses the body of the post, do not specify it within a "payload".
* The message response is not just the process instance details, it now contains the "process_instance" and "task_data" at the top level of the returned json.
* The last completed task data is now returned as a part of a response to the message api endpoint, it is with the "task_data" attribute.
* CodeRabbit suggestions
* run_pyl fixes
* fix lint
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
* Fixed validation errors for numeric range field and added asterisk when field is required
* Removed unused import
* Added ability to make radio buttons vertical and fixed issues with compensation range field
* Radio Button Styling and Decimal Support in Compensation Fields
* Accepted suggestion to get rid of uneeded if statements
* Accepted suggestion about adding a comment to formatNumberString function
* fix npm run lint issues
* Fixed compensation range field
* Fixed compensation range field
* Fixed compensation range field and changed minimum and maximum to be required. Fixed some bugs
* Update spiffworkflow-frontend/src/index.css
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update spiffworkflow-frontend/src/rjsf/custom_widgets/CharacterCounterField/CharacterCounterField.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Added specific error messages to numeric range field and made character counter field
* Added specific error messages to numeric range field and made character counter field
* Fixed linting errors
* Revert "Fixed linting errors"
This reverts commit dd0c3253a0.
* Revert "Added specific error messages to numeric range field and made character counter field"
This reverts commit f9cb3979d8.
* Added check if min > max back to numeric range field
* removed old files
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: KyushuApp <160429351+KyushuApp@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[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>
* added async and sync support for the message start api w/ burnettk
* removed debug dump call w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* added execution mode to task submit and pi run calls to run in async or sync mode w/ burnettk
* do not allow requesting async mode without celery w/ burnettk
* attempt to move queue checking for celery and async to same method to avoid confusing methods w/ burnettk
* if requesting synchronous mode then run with greedy as well w/ burnettk
* implemented some coderabbit suggestions w/ burnettk
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>