Commit Graph

3153 Commits

Author SHA1 Message Date
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
Dan Funk a1d98b05ce
Feature/view data stores (#388)
* * Added /data-stores/ endpoint accessible by privileged users that will return a list of all data stores known to the system.
* Added a /data-stores/[type]/[name] endpoint that will return a list of all data stored within a data-store.
* Granted users with "elevated permissions" the right to access the data store.
* Added a "Data Store" link to the navigation bar beside messages.
* And a few useful tests.
* Still a little front end work to do to get it all looking pretty.

* Added a Data Store List component that, well, displays, you guessed it! A list of data stores and their contents.

Also, Carbon's paginator doesn't care how many pages you have, it's going to build the mother of all drop down lists - you got 60,000,000 records? Showing 5 at a time? It's going to be a dropdown list that contains all numbers between 1 and 12,000,000, because that makes sense! So, yea, not doing that, cutting it off at 1000 pages - you got more pages than that, the paginator can't take you there.  As you can show 100 items per page, that means you can access 100,000 items instantly.

* renaming data_store_items_list => data_store_item_list
2023-07-13 20:54:10 +05:30
jasquat 1aaad091a1
Feature/sanitize jinja template (#389)
* added a helpers class that can be used in jinja templates

* added jinja helpers to script task imports

* added some comments for jinja helper usage

* added tests for jinja helpers

* pyl

* pass jinja helper mappings in so helpers can be used consistently

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-13 20:35:49 +05:30
jasquat 17520e7dcc
added error handling to insterstitial page when running engine steps (#390)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-13 19:54:09 +05:30
usama9500 3d6d1e31e8
Adding Building blocks (#381)
* Adding Building blocks

* Adding examples of building blocks

* Formatting

* Formatting images and text

* Fixing KB Comments

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-13 10:23:46 -04:00
jasquat b5a331342c
Feature/ignore save draft errors (#387)
* ignore it if the task cannot be submitted for saving draft data

* changed to handle the error on the frontend instead and do not save draft data if a manaul task

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-12 22:03:00 +05:30
jasquat bd78268b29
fixed ButtonSet import 2023-07-12 10:55:18 -04:00
Elizabeth Esswein eeb45780da
update root of reset subprocess (#385)
* update root of reset subprocess

* pyl w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-12 19:51:14 +05:30
jasquat 1cf5c2d851
Feature/error to suspended state (#384)
* fixed suspended message w/ burnettk

* allow manually executing errored tasks when suspended w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-12 19:50:24 +05:30
jbirddog 2107789ea2
Bump SpiffWorkflow to fix call activity references (#383) 2023-07-12 19:48:08 +05:30
jasquat c1df19ee75
catch and handle exceptions when attempting to complete human tasks (#380)
* catch and handle exceptions when attempting to complete human tasks w/ burnettk

* fix lint

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-12 19:46:05 +05:30
jasquat 64a2555ab9
Feature/unlock stale locks (#360)
* set locked_at_in_seconds so we can find stale locks w/ burnettk

* added background job to cleanup old locks w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-12 19:45:27 +05:30
jasquat 12bed674cd
use mysqlclient instead of mysql-connect w/ burnettk (#358)
* use mysqlclient instead of mysql-connect w/ burnettk

* updated some comments w/ burnettk

* runs tests in parallel in run_pyl

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-12 19:44:49 +05:30
jasquat 1ce992ce4d
Feature/task assignment (#352)
* added an api to assign a list of users to a task w/ burnettk

* use the modal submit and close buttons when saving task data on the instance show page w/ burnettk

* switch save and cancel buttons on secrets new page w/ burnettk

* add some icons, tho still missing event stuff

* finished adding imporoved icons and fixing up task modal w/ burnettk

* added some user search options to assig tasks to w/ burnettk

* cleaned up task details modal and added call to backend to add potential users w/ burnettk

* fixed broken tests w/ burnettk

* removed some merge comments w/ burnettk

* process instance id is an int not a str w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-12 19:44:01 +05:30
jasquat f78e75122a
fixed linting issue 2023-07-12 08:38:38 -04:00
jasquat d0d2d20ec8
display the validation error message the user input w/ burnettk (#386)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-12 11:40:48 +05:30
burnettk be41619c60
fix security issue 2023-07-11 15:57:11 -04:00
jasquat e5159ccd0b
fixed pagination of log tables and broken cypress tests w/ burnettk (#382)
* fixed pagination of log tables and broken cypress tests w/ burnettk

* wait before clicking the profile button instead of after w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-10 14:06:55 -04:00
burnettk 1e87092e49
Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-07-08 11:58:23 -04:00
burnettk 94ff4de4fb
fix compilation issue 2023-07-08 11:57:51 -04:00
Madhurya Liyanage d0cd8885f6 Merge branch 'main' into deploy-app-dev 2023-07-08 10:11:23 +05:30
jasquat 6f981b406e
commented out references to how_to doc since how_to was deleted w/ burnettk 2023-07-07 16:56:37 -04:00
Dan Funk 3f926ccd22
Feature/fix_action_column (#357)
* removing action column.

* adding the action column back in, and making it work.
2023-07-07 16:02:27 -04:00
Phillana26 509fe2f22e
in_depth_topics (#376)
* in_depth_topics

* Mostly fixing capitalized names and some foward vs back-slashes in file paths.

---------

Co-authored-by: danfunk <daniel.h.funk@gmail.com>
2023-07-07 16:00:57 -04:00
Dan Funk 358f867a5c
make sure we have a current processor so we don't return null (#379)
* make sure we have a current processor so we don't return null

* remove sleep

* The background processor now only picks up processes that were last updated more than a minute ago to avoid conflicting with the interstitial page.  With the understanding that we can rmeove this limitation when we can refactor to allow the backend processes to provide updates on what they are doing.

* pyl w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-07 15:49:52 -04:00
usama9500 9df4614e7b
Adding Essential Example (#365)
* Adding Essential Example

* fixing lowercase Images

* fixing image size

* fixing build issues

* Image Alignments

* minor tweaks.

---------

Co-authored-by: danfunk <daniel.h.funk@gmail.com>
2023-07-07 15:39:00 -04:00
Phillana26 6d359c163b
Create how to (#348)
* how_to_section

* how-to-before-index

* Fixed links and image sizes

* fix links and images size

* push

* kill last notion links

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: danfunk <daniel.h.funk@gmail.com>
2023-07-07 15:10:24 -04:00
jasquat 95d14eae00
Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-07-07 11:18:52 -04:00
jasquat 92384b39b9
fixed linting issue w/ burnettk 2023-07-07 11:18:45 -04:00