146 Commits

Author SHA1 Message Date
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
99de1432b0
Feature/interstitial summary part 3 (#367)
* throw an error if backend gives a 500 from interstitial page w/ burnettk

* turn unexpected errors for the interstitial page into event stream responses to avoid error misdirection

* pyl

* raise the api_error from the original and make the render_data method private

* Feature/interstitial summary (#337)

* * Process instance logs and messages are now components rather than pages, and are included within tabs on the process instance page, along with the diagram.
* Removed the Zoom and Move modules when showing the readonly
  Diagram.  Assured this readonly view is resized to fit the space when possible.
* Checkbox Widget no longer displays a duplicate label.
* CSS Tweaks
  * All pages are limited to a max display width of 1440, with auto margins to center the main content on the page.
  * "Show" pages, like ProcessInstanceShow, TaskShow have the primary content limited to 1000, also with auto-margins.
  * Paragraphs, headings, blockquotes, list items are limited to a width of 640.
  * Reduced margin bottom on all breadcrumbs.
  * Slightly reduced the width and margin of tiles
  * ordered lists and unordered lists show numbers and bullets now.
* End user Instructions component can, optionally, auto-collapse, so that only a portion is displayed, along with a toggle.  This is how it is set up for the ProcessInstanceShow page.
* Greatly reduced the lag in the interstitial page when doing a re-direct.

* run_pyl

* kill console

* wait for permissionsLoaded too since we are using ability.can

* Previous change removed the top level Messages page - this re-adds it.

* I am always, ALWAYS shocked at how I can not wrap my head around when and where to use "useEffect".

This should cause the show/hide Instructions toggle to only show when useful.

* Minor cleanup on the process instance properties display.

* linting

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>

* Fix a linting error.

* minor permissions related fixes for the new ui.

* Revert "Revert "Feature/better subworkflow management (#331)""

This reverts commit 3becffc14f03f79f31582ea2b7f1610eed0e71bc.

* do not execute tasks from the process instance show page w/ burnettk

* pyl w/ burnettk

* Very minor UI tweak to resolve a number of issues mentioned in SPIFF-316 Notion Ticket:

* Markdown links now open in a new window
* Tables on the home pages are now contained within Grids to better align them with the other content that is in a grid.
* Right aligned the "process instance list link" button to it is flush right with the table underneath
* Gave a little more breathing room the content on the info/metadata in the process instance view .

* updated docker image build action to contain the appropriate version info w/ burnettk

* properly resize to the available columns depending on s/m/l

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Dan Funk <daniel.h.funk@gmail.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-03 10:54:54 +05:30
Kevin Burnett
f248e7f65c
parallel tests with xdist (#335)
* parallel tests with xdist

* add pytest-xdist as dev dep

* put back spiff

* update messaging

* get more in line with main

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-26 22:37:41 +05:30
burnettk
265ac6d327
commit some scripts that should not affect site functionality to main 2023-06-23 15:31:55 -04:00
Kevin Burnett
033502425e
Feature/better subworkflow management part 2 (#341)
* Revert "Revert "Feature/better subworkflow management (#331)""

This reverts commit 3becffc14f03f79f31582ea2b7f1610eed0e71bc.

* updated SpiffWorkflow to fix infinite loop in task trace w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-20 10:37:49 -04:00
burnettk
3becffc14f
Revert "Feature/better subworkflow management (#331)"
This reverts commit cdbe577836830a83c5f3d825ea66ba1c0b82c401.
2023-06-15 15:10:48 -04:00
jasquat
cdbe577836
Feature/better subworkflow management (#331)
* WIP: some updates to support new spiff w/ burnettk

* unit tests are passing

* all tests except message tests are passing

* fixed usage of catch message event w/ burnettk

* messages are working again w/ burnettk

* uncommented remaining message tests w/ burnettk

* fixed cypress tests w/ burnettk

* use main for spiffworkflow

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-15 10:31:42 -04:00
jasquat
e69a1de7dc
use carbon components when adding secrets (#312)
* use carbon components when adding secrets

* docker compose pull before running up w/ burnettk

* use all carbon on script task unit test modal w/ burnettk

* removed remaining references to bootstrap from frontend w/ burnettk

* updated usage of hidden to use the class instead of the bootstrap attribute w/ burnettk

* print out docker version for debugging

* docker pull with docker instead of compose

* added comment for docker pull in check docker start script

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-08 14:26:14 -07:00
jasquat
08f1cd8e50
removed useless def comments that started with and underscore as well 2023-06-01 13:52:07 -04:00
jasquat
35864d8abe
removed useless class and def comments from python code w/ burnettk 2023-05-31 16:28:06 -04:00
burnettk
43144434fa
stop codecov comments and commit WIP 2023-05-30 15:07:00 -04:00
burnettk
274892125d
remove useless comments matching filenames 2023-05-30 12:21:50 -04:00
burnettk
aeb7caa531
let ruff sort imports and ditch duplicative pre-commit linters 2023-05-26 20:01:08 -04:00
jasquat
7b2c7c5f52
allow disabling authentication from the backend w/ burnettk 2023-05-25 12:00:24 -04:00
jasquat
1949c73d78
respect host from db uri env var when recreating db w/ burnettk 2023-05-23 12:12:32 -04:00
jasquat
58b06751ae
fixed tests related to new permissions w/ burnettk 2023-05-22 14:58:51 -04:00
jasquat
4a8dbd4758
fixed pyl issues and set max threads based on cpu cores w/ burnettk 2023-05-17 14:04:48 -04:00
burnettk
f24282d012
default to 6 threads and set db pool the same, allowing overrides 2023-05-16 19:24:55 -04:00
burnettk
fcaf679418
update gunicorn configs to add threading 2023-05-14 22:19:53 -04:00
jasquat
60974ebfcb
ensure we remove corresponding bpmn processes when removing tasks from a process reset 2023-05-11 09:32:07 -04:00
jasquat
79c3a90e1e
Merge remote-tracking branch 'origin/main' into bug/improve_reset_to_previous_task 2023-05-10 10:57:55 -04:00
Dan
64e4df81cd wip 2023-05-09 15:02:05 -04:00
burnettk
c5f15a346f
listen on all interfaces w/ jasquat 2023-05-08 15:36:57 -04:00
burnettk
e8d4840761
make logs less chatty and support new localopenid convenience arg when booting backend locally 2023-05-06 15:17:48 -04:00
jasquat
37341a24cc
removed commented out variables w/ burnettk 2023-05-03 15:13:06 -04:00
jasquat
90abf11d35
added script to demonstrate how to use message start events w/ burnettk 2023-05-03 15:12:41 -04:00
jasquat
1ec0deaf3c
added script to query db for tasks on the most recent process instance w/ burnettk 2023-05-02 15:31:25 -04:00
jasquat
afc13bb751
merged in main and resolved conflicts w/ burnettk 2023-05-01 12:35:10 -04:00
jasquat
bb1642c458
lint fixes w/ burnettk 2023-05-01 12:29:48 -04:00
burnettk
31caff037e
make this thing a config and clean up lint 2023-05-01 11:25:37 -04:00
jasquat
b233c70305
Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-05-01 07:45:42 -04:00
burnettk
337e497d1d
start a list of file patterns to ignore 2023-04-28 22:48:02 -04:00
burnettk
66ca74e18c
iterate on function crusher script 2023-04-28 22:37:17 -04:00
burnettk
b88f9e9664
scripts to find and process dead code 2023-04-28 22:29:46 -04:00
jasquat
53dde1f56a
remove a lot of unused code and fixed linting issues w/ burnettk 2023-04-27 17:33:25 -04:00
jasquat
a47a00bd7f
a couple minor fixes w/ burnettk 2023-04-06 15:45:16 -04:00
burnettk
e0d96ed837
i am terrible 2023-03-29 14:18:37 -04:00
burnettk
a90d568bde
delete postgres container if it is there 2023-03-29 14:17:26 -04:00
jasquat
199cf05960
couple fixes for running a process model from script w/ burnettk 2023-03-24 12:09:27 -04:00
jasquat
17dd287541
added check result function when running a process model from the shell script 2023-03-23 07:41:59 -04:00
jasquat
1a84f4802f
added script to create and run a process model w/ burnettk 2023-03-22 15:52:00 -04:00
jasquat
2e4b0a507b
do not fail if cannot get a token for a user in login w/ burnettk 2023-03-22 12:22:27 -04:00
jasquat
4b64f725f4
increase line length from 88 to 119 for black w/ burnettk 2023-03-15 16:24:08 -04:00
burnettk
cec72d7dba
no op cipher for testing 2023-03-12 18:20:29 -04:00
burnettk
b92a371d07
bump sentry version 2023-03-07 22:56:48 -05:00
jasquat
e80c402782
minor tweaks to get_token w/ burnettk 2023-03-07 12:14:12 -05:00
jasquat
d3bbdf79cf
check if aud has any valid value when authing w/ burnettk 2023-03-07 11:58:59 -05:00
jasquat
9ae87f859e
some pyl issues 2023-03-02 10:06:05 -05:00
jasquat
cbbcd93d7b
avoid creating new processors if it is not necessary 2023-03-02 10:00:08 -05:00