Commit Graph

3621 Commits

Author SHA1 Message Date
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
burnettk 263208e1c3
update readme 2023-12-20 15:07:39 -05:00
jasquat 3ea1d974da
Merge branch 'main' of github.com:sartography/spiff-arena 2023-12-20 13:54:24 -05:00
jasquat 06bf1f24df
fixed flakey task model test 2023-12-20 13:54:20 -05:00
burnettk 13b153f021
document language server for coderabbit 2023-12-20 12:59:27 -05:00
jasquat e161b23a30
updated bpmn-js-spiffworkflow to fix undefined businessObject issue w/ burnettk 2023-12-20 12:15:56 -05:00
Kevin Burnett e1fefa9fc7
nplusone (#824)
* n plus one checks

* tests passing with nplusone

* satisfy probably-wrong json schema

* remove useless comment and consolidate poetry dev deps

* not actually going to add this dependency, but leave docs for next guy

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-12-20 07:18:20 -08:00
burnettk d688e2414d
make it so we can delete TaskInstructionsForEndUserModel on instance delete 2023-12-19 15:28:02 -05:00
jasquat 3fce735d4f
Feature/task table drop (#823)
* removed id from task and still working on getting the migration working w/ burnettk

* fixed migration to work on postgres and sqlite as well w/ burnettk

* fixed tests w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-12-19 08:59:29 -08:00
jasquat e7153c6853
added coderabbit config to ignore the migrations directory w/ burnettk 2023-12-19 11:54:06 -05:00
jasquat 0c8ff4ee45
updated get_token to work with internal openid as well w/ burnettk 2023-12-18 16:21:28 -05:00
jasquat 15d0d788e5
Feature/pi show page diagram (#816)
* get most recent tasks based on last_state_change instead of task_model.id

* added api to get task instances of a task

* some changes to support displaying task instances

* forgot to commit the controller

* updated frontend to display info for other instances of a task w/ burnettk

* some formatting to the selected task instance w/ burnettk

* do not get task instances when selecting different instance w/ burnettk

* added tests for task-instances w/ burnettk

* some ui tweaks for task instance view w/ burnettk

* updates based on coderabbit

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-12-18 14:23:51 -05:00
Kayvon-Martinez 4cb2fa66aa
Updated Min/Max value labels (#813)
Min/Max values fields will now check if a title was passed. If no title was passed the label will be "Minimum" or "Maximum".
2023-12-18 07:30:29 -08:00
Kevin Burnett d6be107167
use the approach from check_permissions to avoid n plus 1 query issue (#814)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-12-18 07:27:14 -08:00
burnettk 435c476577
ignore snyk issues with no resolution yet 2023-12-18 10:26:38 -05:00
jasquat e161c3dede
removed bad file w/ burnettk 2023-12-14 14:49:56 -05:00
jasquat 1fdca1408b
return the form dict even if it is empty and let rjsf handle it (#812)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-12-14 14:46:42 -05:00
jasquat 7234f0f181 feature/specify-valid-client-ids (#808)
* allow additional valid client ids to be specified for the purpose of token validation

* import the correct typedict and notrequired for python 3.10

* remove HEY

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-12-13 12:44:59 -08:00
Kevin Burnett 5cceb52756 Numeric range field added (#799) (#800)
* Numeric range field added (#799)

Added a custom field to handle numeric ranges. The field checks for the first key in the properties of the schema and will add min and max to it when the values are put in.

* autofix lint stuff

* updates to simplify the code, fix a few ux issues, and make more inline with current conventions w/ burnettk

* removed subkey from numeric range and added validation to ensure max is greater than min w/ burnettk

* added some comments to clarify how to use numeric range w/ burnettk

* added some documentation for the numeric range field w/ burnettk

---------

Co-authored-by: Kayvon-Martinez <142514475+Kayvon-Martinez@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-12-13 12:50:26 -06:00
burnettk d5ea87017f go back to pulling bpmn-js-spiffworkflow from its own separate repo because gitpkg.now.sh for monorepo subdirs is too flaky 2023-12-13 11:00:09 -05:00
jasquat f546290220 updated bpmn-js-spiffworkflow w/ burnettk 2023-12-13 10:40:20 -05:00
burnettk 32cbe642ea update readme 2023-12-13 10:33:00 -05:00
jasquat e9dbf8b928 updated bpmn-js-spiffworkflow integrity w/ burnettk 2023-12-13 10:31:15 -05:00
burnettk 4cfe9a5d44 pull in sartography/spiff-arena/bpmn-js-spiffworkflow instead of sartography/bpmn-js-spiffworkflow 2023-12-13 10:28:36 -05:00
burnettk 29b7145d31 Merge commit '9273e6425b5eeee40365f2d20a502ee966c7b973' 2023-12-13 10:19:59 -05:00
burnettk 9273e6425b Squashed 'bpmn-js-spiffworkflow/' changes from 6007a770a..9762eb631
9762eb631 updated data object category to just category
2169b54d3 Merge pull request #58 from sartography/feature/data-object-category
1816c7f08 fixed tests w/ burnettk
d888c37b0 added support to add categories to data objects in extensions w/ burnettk
b00abf00c Merge pull request #57 from sartography/feature/dataObject-naming-with-dataState
ae4bd8154 Fix Overrided Label editing provider bug
bfbfb0106 Merge pull request #56 from sartography/enhancements/condition-expression
3b4f06b8c Switch from TextField to textAreaFieal
ec81cfa0b Done with basic unic testing
9c1d9afac Implement new tests
123037d8e Before implementing new tests
84a0667ec Remove Consoles
511a9c9c3 Done with Fixing Broken Tests
37e71bdef Handle Broken Tests 5
7aa03cd39 Handle Broken Test 4
80dcc92d2 Handle Broken Tests 3
d3a1f3825 Handle Broken Tests 2
e598f86fe Broken Tests
5289bd6ee Add Rename references to dataObjectHelpers
cc2482ad4 Handle Manual Changes
f3d5a94c9 Add LabelEditing Provider
ab311a29f NPM RUN LINT
39d0cf616 Before Implement Manual Change
84d6e20ff OnChange Events
e35578061 Remove Name Input
ee68f07f2 Update reference name on change dataObj Name
845c3edc4 INNIT
eae58f559 Merge pull request #53 from sartography/feature/data-store-props
aa6640e38 Ready To Deploy
2778c764f Last
a368d0cec Feature is implemented
3d757eca9 Add Interceptors
d1fe1d2b2 Remove duplicate group
f0e98ceea Merging
cd6546d3e Add bpmn:dataStore in the level of process definition
2a4c1ffc6 linting.
71cf495df Implement Tests
c1dbb1599 Merge pull request #51 from sartography/dependabot/github_actions/JS-DevTools/npm-publish-3
5460f57fd Merge pull request #52 from sartography/dependabot/github_actions/actions/setup-node-4
eedab6e82 Bump actions/setup-node from 3 to 4
04186b903 Merge pull request #48 from sartography/feature/add-conditional-events
10bcfce4f No param sort (#50)
025f428cd Bump JS-DevTools/npm-publish from 2 to 3
4d160b8cb display condition panel for conditional events and inclusive gateway sources

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 9762eb631de107aac584fce1c056070cdaed171e
2023-12-13 10:19:59 -05:00
burnettk 80496693ec Merge commit '35e10651b84cf8067f96ae8207669f3d768259c5' 2023-12-13 10:19:56 -05:00
burnettk 35e10651b8 Squashed 'SpiffWorkflow/' changes from c3a49431e..6d6de0467
6d6de0467 Merge pull request #375 from sartography/bugfix/correct-and-simplify-date-calculations
55ca26804 bugfix for invalid date
e4ceff40d Merge pull request #373 from sartography/feature/data-object-category
a62fa979e minor tweaks
300a521c0 removed print statement and pass line
c729ed4b4 added support to serialize data object category as well w/ burnettk essweine
d3d23f3eb support parser out the category for data objects w/ burnettk essweine
1f8cffb47 Merge pull request #372 from sartography/improvement/task-state-name-value-conversion-for-all-states
c248f23cb allow TaskState to handle name/value conversion for any mask
80f85be42 Merge pull request #371 from sartography/bugfix/cycle-timer-bugs
99cfaec0b delay first cycle execution by the duration
ee0f2ed90 make sure update is called on cycle timer children
a0d6b1e46 Update data.rst (#366)
5ee2e1cf9 Merge pull request #365 from fzzylogic/patch-1
2ae4296d9 Update data.rst
238efd0bc Merge pull request #362 from sartography/improvement/misc-cleanup-and-bugfixes
e6a5e5a42 make sure subprocess tasks are always added
13781271c correct dst calculation
c4e7f9024 remove deprecated methods from tests
c41e94931 fix resource warnings in version migration test
8ba4a9d37 deprecate FEEL script engine
d07eb5887 remove deprecated script engine arguments
220de4024 Merge pull request #361 from Leon0824/main
609ee3aff Unify connect() argument name to 'taskspec'
d9e7fc520 minor updates to serializer
7ecf3e23d miscellaneous cleanup
c9786c543 Merge pull request #360 from sartography/feature/remove-box
2b1fd2cd0 remove Box and associated tests
f59ad47eb Merge pull request #356 from sartography/feature/conditional-events
996b18d0d add serialization for conditional events
09ebf1b37 add support for conditional events

git-subtree-dir: SpiffWorkflow
git-subtree-split: 6d6de04678b03b985d2cd393d637f17634b8ac51
2023-12-13 10:19:56 -05:00
jasquat 8e91ef58e6 some changes to support redirecting when loading an extension (#806)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-12-12 16:16:01 -05:00
jasquat 9c38ca851b added target branch to publish branch name to avoid conflicts between environments w/ burnettk 2023-12-11 15:32:07 -05:00
jasquat c36e342d1e use a state for hotCrumbs with using ProcessBreadCrumb to avoid unnecessary renderings and network calls w/ burnettk 2023-12-11 14:51:04 -05:00
jasquat c00d810704 Feature/data object category (#796)
* WIP: some initial code for category in data objects

* attempt to get the data object for the given bpmn process and instance of it w/ burnettk

* updates for data objects

* fixed tests

* made suggestions by code rabbit and moved logic to get process data file out of shared method since it has a completely different implentation

* remove commented out code

* updated SpiffWorkflow for data object category

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-12-11 07:42:01 -08:00
jasquat 91d33305de added bpmn template file that will get added when a new process model is created with the api w/ burnettk 2023-12-08 16:23:08 -05:00
jasquat cf7a41f4b7 upgrade pip for safety 2023-12-08 13:32:49 -05:00
jasquat 4d6358b0e7 queue the process instance AFTER unlocking it, do not set celery worker concurrency to 12, log already locked error in celery workers for debugging 2023-12-07 10:22:50 -05:00
jbirddog d4e0fc69fd Test params (#789) 2023-12-07 08:09:44 -05:00
jasquat 6476799b11 also do multi platform on release w/ burnettk 2023-12-06 12:02:10 -05:00
jasquat 40b02ae488 check that connector-proxy-demo can run when releasing new tags w/ burnettk 2023-12-06 11:21:32 -05:00
burnettk 85d522d2a4 upgrade charset-normalizer in connector demo 2023-12-06 10:56:07 -05:00
jasquat a018cd0ec3 use buildx to support multiple platforms for docker images w/ burnettk 2023-12-06 10:33:54 -05:00