Commit Graph

3610 Commits

Author SHA1 Message Date
jbirddog 60f34e3015
Validate writes to the json data store against its schema (#875)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-01-24 07:58:30 -05:00
Kevin Burnett f462457f92
validate prefix and make saveFile async (#915)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-23 14:08:44 -08:00
jasquat 6b0625ea5d
added debounce to rjsf date picker to avoid converting dates too early when typing (#909)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-19 11:18:52 -05:00
jasquat 0ab1ca446c
force user logout if token cannot be decoded w/ burnettk 2024-01-18 14:51:04 -05:00
jasquat 11384c2a47
queue instance with celery instead of running engine steps on task submit w/ burnettk 2024-01-18 13:29:10 -05:00
jasquat 2aa1278648
do not console log hideCloseButton w/ burnettk 2024-01-18 09:40:53 -05:00
jasquat 88f81cd2b3
use caps in api key header name w/ burnettk 2024-01-17 11:04:40 -05:00
usama9500 11d9e32d1f
Private fields using data object and Viewing task instance history (#899)
* Private fields using data object and Viewing task instance history

* edits while reviewing

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-16 20:35:45 -08:00
jasquat 80bc2f2e42
Feature/typeahead allow guest user (#897)
* decode tokens with jwt instead of with base64 w/ burnettk

* try to verify jwt token with keycloak when we decode it w/ burnettk

* make the token algorithm a constant w/ burnettk

* WIP: create more valid looking jwt from spiff w/ burnettk

* tests are passsing now w/ burnettk

* some pyl stuff w/ burnettk

* fixed mypy issues w/ burnettk

* fixed issues from mypy fixes w/ burnettk

* do not load openid blueprint if not using those configs w/ burnettk

* used the process instance to determine if guest user can use connector api w/ burnettk

* only check the db for process instance if the api call is for typeahead

* removed unused test code

* pyl

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-16 14:47:25 -05:00
jasquat 2d9fb4430e
updated SpiffWorkflow for data object category fix (#904)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-16 14:45:55 -05:00
jbirddog 8e05e1e3c0
Add identifier and clz fields to the data stores response (#894) 2024-01-12 08:04:32 -05:00
burnettk 3aabc2cdae
Revert "bump bpmn-js-spiffworkflow"
This reverts commit a676088401.
2024-01-11 15:33:32 -05:00
Kevin Burnett b02f505bea
move snyk stuff to snyk file (#895)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-11 06:14:25 -08:00
burnettk ae9b16165c
let docs build with new python, and fix json 2024-01-10 19:02:25 -05:00
burnettk 14f2107b91
update docs 2024-01-10 18:47:35 -05:00
jasquat 12f929f777
ignore newest cryptography snyk issue 2024-01-10 12:29:50 -05:00
jbirddog 334e828e5d
Update README.md (#874)
Remove comment about SpiffWorkflow at the root
2024-01-10 11:43:06 -05:00
jbirddog 47cabd8cc4
Bump pyyaml to enabled Python 3.12 support for arena (#873) 2024-01-10 11:42:49 -05:00
jbirddog 1c0570c147
Bump Restricted Python to 7.x, needed for Python 3.12 support (#872) 2024-01-10 10:46:28 -05:00
jbirddog a8a32b60fa
Add data store at the process group level (#859) 2024-01-10 09:48:31 -05:00
jbirddog ab39569cac
Add direct dependency on jsonschema (#868) 2024-01-10 08:18:34 -05:00
jasquat 72cedd6e7e
feature/fix-rjsf-date-with-abbr-month (#869)
* handle invalid dates better to better support various date formats w/ burnettk

* use getTime to check for date validity instead

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-09 14:01:32 -05:00
Kevin Burnett 687b90bc94
update dmn modeling component versions (#857)
* update dmn-js and dmn-js-shared

* update dmn-js-properties-panel

* fixed broken cypress test w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-09 14:00:53 -05:00
burnettk a676088401
bump bpmn-js-spiffworkflow 2024-01-09 13:55:46 -05:00
Kevin Burnett 08547bbab7
get breadcrumb on process group show (#862)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-09 07:21:13 -08:00
jasquat d5c5bc12ae
Feature/side by side layout (#858)
* WIP: work for side-by-side layout in json forms w/ burnettk

* added support in ObjectFieldTemplate to support side-by-side layout w/ burnettk

* added a restricted grid template for half width forms

* display the error message if field mentioned in ui:layout but the field does not exist

* added docs for side-by-side layout w/ burnettk

* update script

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-05 15:49:40 -05:00
jasquat 4f5a590e1e
only attempting converting a date string if it looks like a date without year first w/ burnettk 2024-01-04 17:17:02 -05:00
jasquat 7489d17f4f
added comment in migration to explain why it was being done w/ burnettk 2024-01-04 14:38:57 -05:00
jbirddog ad3e63367f
Make file upload detection more flexible, add integration test (#854) 2024-01-04 11:32:13 -05:00
jasquat c96b4b751a
Merge branch 'main' of github.com:sartography/spiff-arena 2024-01-04 11:12:37 -05:00
jasquat d58e02bed3
NoneTask can also be a human task type w/ burnettk 2024-01-04 11:12:33 -05:00
jbirddog 746a20bc4c
Disable upload button if filesToUpload is null (#856) 2024-01-04 10:35:01 -05:00
jasquat 4c20759e37
fixes the date picker so it does not change the date after selecting it (#855)
* fixes the date picker so it does not change the date after selecting it

* Update spiffworkflow-frontend/src/services/DateAndTimeService.tsx

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-01-04 10:23:56 -05:00
jasquat 6bafd7b144
use urlsafe_base64decode for keycloak id tokens to support certain utf8 characters w/ burnettk (#852)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-03 16:14:14 -05:00
jasquat 0b296f4c46
added validation for maximum date w/ burnettk (#851)
* added validation for maximum date w/ burnettk

* Update spiffworkflow-frontend/src/components/CustomForm.tsx

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

* Update spiffworkflow-frontend/src/components/CustomForm.tsx

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-01-03 14:37:29 -05:00
jasquat adb53c722a
also specify margin bottom for item-array with rjsf-field (#850)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-03 13:35:22 -05:00
jasquat 14846bfb86
feature/detached-instance-error (#847)
* store the db ids of the process instance queue records instead of the sqlalchemy objects to avoid detached instance errors w/ burnettk

* raise an error similar to one we raise elsewhere in the unexpected case that this fails

* removed unused method

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-03 13:34:56 -05:00
jasquat 0da550d412
add in better message for unsupported date format 2024-01-03 10:42:54 -05:00
jbirddog 73eb221c17
Remove category param (#848) 2024-01-02 17:49:00 -05:00
jasquat a81e0b9bda
feature/progress-page-for-me-nav (#846)
* use for-me on progress page when appropriate w/ burnettk

* use a hook for navigate instead of window.location w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-02 13:27:51 -08:00
jasquat 3c1cf4380d
feature/support-more-date-formats (#835)
* added support for Month names and abbreviations in frontend

* corrections pointed out by coderabbit

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-02 10:16:00 -05:00
jbirddog b1206c5b3d
Drop __annotations__ from task data (#834) 2023-12-27 11:50:01 -05:00
jasquat 1789f9d6be
minor change to kick ci 2023-12-26 18:10:04 -05:00
jasquat a7a48ee9fc
feature/get-pg-of-readable-pm (#832)
* get parent process groups of process models that the user has access to w/ burnettk

* use the process group list to get the info we need for the group show page for permissions w/ burnettk

* clear the browser cache when updating a process group w/ burnettk

* fixed broken test w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-12-22 13:17:40 -05:00
jbirddog 2f83a68787
Clear caches when deleting a file (#826) 2023-12-21 14:12:48 -05:00
jasquat 88030781d6
do not include task data by default but allow overriding that decision w/ burnettk (#828)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-12-21 09:53:44 -05:00
jasquat 6b9bfc4ee6
do not restrict li tags within the process model search combobox the same way we do other items 2023-12-21 09:33:03 -05:00
Kayvon-Martinez 0bb4040395
Added asterisk to title when required and fixed validation errors (#829)
* Fixed validation errors for numeric range field and added asterisk when field is required

* Removed unused import
2023-12-20 21:30:14 -06:00
jasquat dc0aa584be
imported patch from old FAQ_3rd_Set branch w/ burnettk (#810)
* imported patch from old FAQ_3rd_Set branch w/ burnettk

* updates while reviewing

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-12-20 15:23:38 -08:00
jasquat d2b39b10c6
feature/handle-null-bpmn-process-on-pi (#827)
* do not error out and allow process instances to recover if the bpmn_process is null but the definition is set w/ burnettk

* fixed another flakey test w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-12-20 16:16:08 -05:00