Commit Graph

3081 Commits

Author SHA1 Message Date
jasquat a39a79c45b
Merge branch 'main' of github.com:sartography/spiff-arena 2023-08-02 11:05:59 -04:00
jasquat 93f7a7c437
updated python packages for ci w/ burnettk 2023-08-02 11:05:55 -04:00
burnettk 6a8bc5080d
bump cryptography 2023-08-02 10:34:21 -04:00
jasquat bc5564259a
return an empty list if the extensions api is not enabled 2023-08-02 09:00:46 -04:00
jasquat c2b8422505
column names for tables in frontend should only have the first letter… (#425)
* column names for tables in frontend should only have the first letter of the first word capitalized

* forgot a couple field names w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-02 14:06:19 +05:30
jasquat eb83aca98b
Feature/run error handler from dequeued (#424)
* run the error handler from the dequeued method instead of marking all failed process instances as error w/ burnettk

* do not commit some_cache_dir w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-02 14:05:11 +05:30
jasquat 48f29afa2a
Feature/extensions api (#423)
* added api and test to run a process model and return task data synchronously w/ burnettk

* added test to make sure we can access db models from extensions api w/ burnettk

* added extensions api to elevated permissions

* fixed permission tests

* do not add extensions permission to all permission for a pg or pm w/ burnettk

* added configs for extensions api w/ burnettk

* added the basis for an extensions list api w/ burnettk

* added tests for extenstions api and do not use serialized as a property

* allow giving a body to an extension when running and some support in frontend to use extensions

* added ability to display markdown and rjsf on extensions page

* added ability to submit the extension form and display the resulting task data

* made frontend extension urls have 2 pieces of information so we can specify multiple routes for the same process-model w/ burnettk

* do not save process instances when running extensions w/ burnettk

* add extension input to a task not the process w/ burnettk

* pyl w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-02 14:02:53 +05:30
jasquat 5626e15d35
Feature/metadata filtering (#418)
* added ability to filter metadata by is and contains w/ burnettk

* added the empty options for metadata filtering

* remove the filter when removing the corresponding column on the frontend

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-02 14:01:38 +05:30
jbirddog 5cd7cd32f9
Don't schedule a cycle with 0 second duration (#417)
* Don't schedule a cycle with 0 second duration

* PR feedback

* Getting bin_pyl to pass
2023-08-02 14:00:00 +05:30
jasquat 93dbe6c947
allow setting a failed process instance to the suspended status w/ burnettk (#416)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-02 13:59:12 +05:30
usama9500 a8d632d46a
updating structure with proper file names (#422)
* updating structure with proper file names

* fixing build issues

* build issues

* fixing build errors

* Adding support section

* a little less noise on the index page - maybe we look into adding some intro content here.

---------

Co-authored-by: danfunk <daniel.h.funk@gmail.com>
2023-08-01 08:42:58 -04:00
usama9500 8c28e6cae8
Updating the structure file (#420)
* updating the structure

* Adding Alex Suggestions
2023-07-28 11:16:36 -04:00
jasquat 719901729a
return the process instance when interstitial process is complete and… (#421)
* return the process instance when interstitial process is complete and favor redirecting to it on the frontend

* upgrade certifi for snyk check

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-28 20:34:39 +05:30
jasquat 7fcd3030c3
display the potential task owners or group in the interstitial info message w/ burnettk (#415)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-27 22:30:32 +05:30
jasquat 1ea765f770
do not display instructions for end events at the top level of the process w/ burnettk (#414)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-27 21:13:53 +05:30
jasquat 6a922b2eb4
added a loading icon on task show page to avoid blank page when loadi… (#411)
* added a loading icon on task show page to avoid blank page when loading large datasets w/ burnettk

* fixed broken tests w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-27 17:00:16 +05:30
jbirddog c416a5a05e
Basic scaffolding for onboarding (#400)
* Wedge between InProgressInstances for default view customization

* Rename to OnboardingView, stubbed out api in the backend

* Flip between InProgressInstances and MyTasks via the backend

* WIP

* WIP

* Basic human task handling

* FE lint

* Getting ./bin/pyl to pass

* Suppress any exceptions during onboarding request

* Script to skip onboarding if already started

* Getting ./bin/pyl to pass

* Better default location

* PR feedback

* PR feedback

* PR feedback - add new endpoint to basic permissions

* Fix basic permissions test

* Add integration tests

* Getting bin_pyl to pass
2023-07-27 11:54:30 +05:30
jasquat 92b9ca3995
attempt to save again if deadlock given for draft data save w/ burnettk (#410)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-26 20:38:17 +05:30
jasquat 508ea856a9
use the task_updated_at_in_seconds column on the pi show page like we do for the pi tables (#409)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:58:21 +05:30
jasquat 3998527c74
return the process instance early from the interstitial if it is susp… (#407)
* return the process instance early from the interstitial if it is suspended or terminated

* added a test to make sure the interstitial page returns the process instance if suspended or termianted w/ burnettk

* randomize tests and cleaned up the pyproject file a little bit w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:57:53 +05:30
jasquat 346f8177dd
Feature/date range validations (#406)
* added ability to compare date field against a date range field start or end

* added a couple of comments

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:57:07 +05:30
jasquat 64e15ffab6
use editor when navigating to a process model file (#405)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:56:03 +05:30
Kevin Burnett 6d11fb915e
make perspective dropdown bigger (#403)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-25 22:55:11 +05:30
Kevin Burnett a18cf04b46
use a less wrong scheam for save-draft (#402)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-25 22:54:48 +05:30
jasquat 2b2234844c
do not raise if the app cannot load an env specific config file w/ burnettk 2023-07-25 10:16:37 -04:00
Phillana26 4d471b019a
Bpmn_section (#412)
* how to and spiff sparkles

* how to and spiff spiffsparkles

* rename  data_object_properties.png

* change name images/data_object_prop.png

* downcase png files

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-24 09:10:31 -07:00
Phillana26 7465112166
Articles (#395)
* articles section

* Articles section updated

---------

Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2023-07-19 13:27:15 -07:00
burnettk 9bc4a68f2d
Revert "Feature/event payloads (#393)"
This reverts commit 4cf60acb27.
2023-07-19 11:44:06 -04:00
burnettk 5c68e5817e
Revert "poet not available in container"
This reverts commit c4c87855c9.
2023-07-19 11:43:51 -04:00
burnettk b04284ac9c
Revert "Run event payloads data migration from background processor (#399)"
This reverts commit ce23480872.
2023-07-19 11:43:42 -04:00
burnettk f00e4b416c
Revert "using new spiff api to get info about events. w/ elizabeth"
This reverts commit b3033ceb81.
2023-07-19 11:43:27 -04:00
burnettk de2ea98daa
Revert "fix tests for waiting_event_can_be_skipped"
This reverts commit 1e8a8d969c.
2023-07-19 11:43:17 -04:00
burnettk 611350480d
update cryptography 2023-07-18 17:12:25 -04:00
burnettk 1e8a8d969c
fix tests for waiting_event_can_be_skipped 2023-07-18 17:07:14 -04:00
burnettk b3033ceb81
using new spiff api to get info about events. w/ elizabeth 2023-07-18 14:35:56 -04:00
Kevin Burnett ce23480872
Run event payloads data migration from background processor (#399)
* move data migration code out of bin so it can be reused in background processor

* sleep for 5 minutes and update bpmn js to pull in some fixes from elizabeth

* update spiff to pull in parser update to make it act like before

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-18 10:50:07 -07:00
burnettk c4c87855c9
poet not available in container 2023-07-18 10:09:35 -04:00
jasquat 4cf60acb27
Feature/event payloads (#393)
* some initial changes for event payload changes in spiff

* fixed tests for new spiffworkflow with event payloads w/ burnettk essweine

* pyl w/ burnettk essweine

* updated SpiffWorkflow from branch

* switched SpiffWorkflow back to main w/ burnettk

* added base for migration script to upgrade db w/ burnettk essweine

* some updates to script w/ burnettk

* script has been written, needs to be tested

* pyl w/ burnettk

* updates to migration script so it can work w/ burnettk

* pyl w/ burnettk

* added comment to data migration file

* run the version 1 3 migration on app boot w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-18 06:56:24 -07:00
jasquat 144ae9f927
Revert "added uniqueness constraint to human task so it cannot have multiple human tasks for a process instance and task id w/ burnettk (#396)"
This reverts commit 59852684a3.
2023-07-17 13:42:45 -04:00
jasquat 59852684a3
added uniqueness constraint to human task so it cannot have multiple human tasks for a process instance and task id w/ burnettk (#396)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-17 22:14:32 +05:30
jasquat 2d833ebf37
fixed how button sets are displayed and removed test date range picker from secret list w/ burnettk (#397)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-17 22:14:10 +05:30
burnettk eabbfc4b15
make duration in seconds an int w/ jasquat 2023-07-14 16:15:49 -04:00
burnettk 5d638842fc
grab total seconds, not just the seconds that have been explicitly assigned to the timedelta. w/ jason and elizabeth w/ jasquat 2023-07-14 15:48:18 -04:00
jasquat c85350d5fe
just ensure we have a value when creating date range objects w/ burnettk 2023-07-14 12:04:07 -04:00
jasquat c565cd6138
set the default date format back to y-m-d w/ burnettk 2023-07-14 11:33:12 -04:00
jasquat 85e44e3199
ensure we convert date ranges to ymd before saving to the task-data w/ burnettk 2023-07-14 11:28:00 -04:00
jasquat 5565d35960
only show helper text in the start date range and not both w/ burnettk 2023-07-14 10:41:18 -04:00
jasquat ea0972c599
alighn reset tooltip to top-left 2023-07-14 08:48:35 -04:00
jasquat 10453e395d
added a date range widget to frontend w/ burnettk (#392)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-14 15:46:34 +05:30
danfunk 7342ed6772 fixing the navigation bar highlight for data-stores 2023-07-13 13:23:46 -04:00