Commit Graph

183 Commits

Author SHA1 Message Date
jasquat 17309fb7fd Feature/allow markdown in extension results (#435)
* allow markdown in extensions results w/ burnettk

* fixed tests

* moved our rjsf form to component so extensions can also use it w/ burnettk

* added ability to create extensions that can download files w/ burnettk

* added test for extensions-get-data endpoint w/ burnettk

* make user optional when getting process instance reports

* added extensions-get-data to elevated perm macro and raise an error if user is not specified when needed when running a report

* fixed typeguard test

* push extensions branch

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-21 21:59:25 +05:30
jasquat ed9bdd42da Feature/event payload migration fix (#443)
* also update exclusive gateways when migrating to event payload spiffworkflow

* pyl w/ burnettk

* build docker image for this branch w/ burnettk

* check to make sure configs are not None w/ burnettk

* do not migrate tasks related to exclusive gateways w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-17 22:13:29 +05:30
Kevin Burnett 9313a9f73a Feature/event payloads part 2 (#401)
* Revert "Revert "Feature/event payloads (#393)""

This reverts commit 95fafb7af1.

* Revert "Revert "poet not available in container""

This reverts commit 140220498c.

* Revert "Revert "Run event payloads data migration from background processor (#399)""

This reverts commit 2afced3a51.

* Revert "Revert "using new spiff api to get info about events. w/ elizabeth""

This reverts commit af857fee22.

* Revert "Revert "fix tests for waiting_event_can_be_skipped""

This reverts commit 886e6bd42a.

* push image for preview env

* default scripts to localhost w/ burnettk

* use the bugfix/update-split-task-inputs spiffworkflow branch w/ burnettk

* removed debug json files

* use main for spiffworkflow

* do not attempt to highlight non-diagram boundary items w/ burnettk

* updated SpiffWorkflow to fix multiple signal event issue w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-10 18:24:49 +05:30
jasquat 3f6fb4d9f5 Feature/pin spiff in ci (#428)
* attempt to use the locked version of SpiffWorkflow in ci w/ burnettk

* fixed regex for spiffworkflow revision replacement

* make sure we also update the lockfile when getting new spiff

* install poetry before we attempt to update hte pyproject

* hardcoding spiffworkflow revision as a test w/ burnettk

* try running tests in ci from bash script w/ burnettk

* print working dir in ci w/ burnettk

* fixed location of instance dir w/ burnettk

* run with mysql in ci

* run typeguard with bash script as well w/ burnettk

* fixed postgres test w/ burnettk

* clean up github action file w/ burnettk

* fixed postgres test again w/ burnettk

* pyl

* attempt to remove nox from ci completely

* omit safety for now to test coverage

* fixed how coverage is being called from not nox

* allow running safety and macos again

* renamed run_not_nox to run_ci_session w/ burnettk

* attempt to only upload if matrix says to w/ burnettk

* attempt to install mysqlclient prereqs for mac and remove noxfile stuff w/ burnettk

* added back the constraints file w/ burnettk

* moved the contributing file to the root of arena w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-03 11:49:30 -04:00
jasquat e4bf22f5cf 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 48dcde8faf.

* 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
jasquat 9cf9bb6bf0 notify slack if build docs failed w/ burnettk 2023-06-26 11:38:45 -04:00
jasquat e9fdb9b0e9 remove unnecessary pip upgrade for docs w/ burnettk 2023-06-26 11:36:20 -04:00
jasquat 6ba2d23e09 added build command for docs and created github action w/ burnettk 2023-06-26 11:33:27 -04:00
jasquat 9b9ec335b3 format date picker helper text width to match the date widget itself … (#330)
* format date picker helper text width to match the date widget itself w/ burnettk

* not sure we need xdoctest

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-06-13 20:16:26 +05:30
jbirddog 122d1efbda Bump flask for safety (#304)
* Bump flask for safety

* let snyk check flask again w/ burnettk

* attempt to use the same revision for front w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-06 17:33:48 -07:00
Kevin Burnett 07039ec0e2 Merge pull request #276 from sartography/dependabot/github_actions/actions/setup-python-4.6.1
Bump actions/setup-python from 4.6.0 to 4.6.1
2023-05-29 21:40:23 +00:00
Kevin Burnett 21588758dc Merge pull request #262 from sartography/dependabot/github_actions/codecov/codecov-action-3.1.4
Bump codecov/codecov-action from 3.1.3 to 3.1.4
2023-05-29 21:40:04 +00:00
Kevin Burnett 86dda87750 Merge pull request #148 from sartography/dependabot/github_actions/actions/download-artifact-3.0.2
Bump actions/download-artifact from 3.0.1 to 3.0.2
2023-05-29 21:35:13 +00:00
dependabot[bot] c83daedfab Bump actions/setup-python from 4.6.0 to 4.6.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 21:32:25 +00:00
burnettk 6a328cdb43 actually stop running tests against 3.9 2023-05-27 18:34:04 -04:00
jasquat 9c0a8cc9df only test admin permissions in ci since it takes longer run w/ burnettk 2023-05-24 11:10:40 -04:00
burnettk efe532f75b record if the workflow run that triggered us was a push 2023-05-19 11:33:56 -04:00
burnettk 3f3b31f67b debug github context 2023-05-19 10:30:57 -04:00
burnettk 589d843da2 remove docs-build matrix build 2023-05-19 09:15:19 -04:00
burnettk cf1e1a79d9 avoid doing stuff outside of nox 2023-05-19 07:05:58 -04:00
jasquat f0feb6bb73 ignore windows tests in ci w/ burnettk 2023-05-17 14:06:50 -04:00
dependabot[bot] d9ecd8541a Bump codecov/codecov-action from 3.1.3 to 3.1.4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 15:03:27 +00:00
burnettk 74c3570a11 more screwing with labels 2023-05-13 22:43:58 -04:00
burnettk e525e50e29 update failure message to include branch 2023-05-02 12:12:39 -04:00
jasquat afdee2d61e do not notify if skipped w/ burnettk 2023-05-02 12:01:34 -04:00
jasquat e4bc14c9aa only run frontend tests if backend passes w/ burnettk 2023-05-02 11:49:06 -04:00
burnettk 046ab04745 notify on more things and include conclusion 2023-05-02 08:39:13 -04:00
burnettk 7502034005 notify slack on failure 2023-05-02 08:10:41 -04:00
burnettk 6e955f27c5 notify slack on failure 2023-05-01 22:03:23 -04:00
burnettk 244fcd56a0 notify slack 2023-05-01 20:20:41 -04:00
dependabot[bot] 17b4cdf4f8 Bump sonarsource/sonarcloud-github-action from 1.8 to 1.9
Bumps [sonarsource/sonarcloud-github-action](https://github.com/sonarsource/sonarcloud-github-action) from 1.8 to 1.9.
- [Release notes](https://github.com/sonarsource/sonarcloud-github-action/releases)
- [Commits](https://github.com/sonarsource/sonarcloud-github-action/compare/v1.8...v1.9)

---
updated-dependencies:
- dependency-name: sonarsource/sonarcloud-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 15:07:47 +00:00
burnettk b6e8a8f3ec appease actionlint 2023-04-23 23:41:28 -04:00
burnettk bb0b6d22aa pin to working version of sonarcloud github action 2023-04-23 23:40:28 -04:00
dependabot[bot] ba634fe29b Bump codecov/codecov-action from 3.1.0 to 3.1.3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.0 to 3.1.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 15:02:55 +00:00
dependabot[bot] 0d7b631406 Bump actions/setup-python from 4.2.0 to 4.6.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.2.0 to 4.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.2.0...v4.6.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 15:06:49 +00:00
dependabot[bot] 86642ac4fc Bump docker/metadata-action from 4.3.0 to 4.4.0
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 15:05:12 +00:00
jasquat f54381fb10 removed some debug info w/ burnettk 2023-04-11 15:50:42 -04:00
jasquat f00b2e9f7d added script to build frontend so it can add version info to the index.html file w/ burnettk 2023-04-11 15:48:34 -04:00
jasquat f14a8d17f8 replace periods with underscores in version info w/ burnettk 2023-04-07 16:09:30 -04:00
jasquat 48ef9caeeb try getting version info from evn var instead w/ burnettk 2023-04-07 15:59:46 -04:00
jasquat 14d29cd005 create the app verison file in the correct directory w/ burnettk 2023-04-07 15:48:18 -04:00
jasquat 56bc6d24a0 we need the app_version file in the backned more w/ burnettk 2023-04-07 15:37:21 -04:00
jasquat dc93b69c3f remove bad github action lines w/ burnettk 2023-04-07 15:34:11 -04:00
jasquat 73c2ebbdf9 attempt to get git docker labels into version json file w/ burnettk 2023-04-07 15:32:28 -04:00
jasquat 5de2cf1312 ignore dccache files w/ burnettk 2023-03-28 17:14:58 -04:00
jasquat a7521cba65 run snyk on backend and added marshmallow dep to remove warning w/ burnettk 2023-03-28 16:55:13 -04:00
jasquat b9a4129a33 run snyk in ci w/ burnettk 2023-03-28 16:42:48 -04:00
jasquat 8cd66d976a run safety in ci w/ burnettk 2023-03-28 15:56:57 -04:00
burnettk 0d07eba5ee do sonar for backend, too 2023-03-28 08:22:17 -04:00
jasquat 3461056beb Merge remote-tracking branch 'origin/main' into feature/use_tasks_as_logs 2023-03-17 12:40:26 -04:00
burnettk 281a07ed29 see if this still works 2023-03-16 23:43:59 -04:00
Kevin Burnett 79ce0203a5 Merge pull request #151 from sartography/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2023-03-16 20:20:13 -07:00
jasquat 80d9fa8ad6 merged in save_to_task_data branch and pyl with some cleanup w/ burnettk 2023-03-16 12:50:52 -04:00
jasquat 39b90e13f3 build image for save to task data branch w/ burnettk 2023-03-16 11:31:43 -04:00
jasquat 24d2dff5e3 pin to specific version of poetry 2023-03-06 14:22:59 -05:00
jasquat 43513de4f5 use the correct db collation for backend ci 2023-03-03 13:13:01 -05:00
jasquat 40f1d15bdb build docker images for this branch w/ burnettk 2023-03-01 12:27:28 -05:00
jasquat 586ac6b091 remove docker push image from backend in favor of docker image from dedicated action file 2023-02-28 09:22:50 -05:00
burnettk a1ec494ab3 let env var work on windows and fixing typing issue on python 3.9 w/ messaging stuff 2023-02-27 19:16:06 -05:00
jasquat b2782f8975 run poetry install for sqlite w/ burnettk 2023-02-27 17:21:34 -05:00
jasquat 338bc6a8ad do not override env vars w/ burnettk 2023-02-27 17:15:21 -05:00
jasquat dca7815045 syntax error w/ burnettk 2023-02-27 17:10:52 -05:00
jasquat edfbc77c30 attempt to set the sample process model dir w/ burnettk 2023-02-27 17:10:14 -05:00
jasquat c428158de6 attempt to run migrations from scratch for sqlite in ci since it does not support the migrations w/ burnettk 2023-02-27 17:00:34 -05:00
burnettk 5eb9da00f1 fix postgres db name and comment out debug job 2023-02-24 16:57:53 -05:00
jasquat 7e1f7942c3 added remaining dependabot items and commented them out and an auto merger w/ burnettk 2023-02-24 14:40:09 -05:00
dependabot[bot] daf920666b Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 19:31:39 +00:00
dependabot[bot] ae575eaa93 Bump actions/download-artifact from 3.0.1 to 3.0.2
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 19:31:31 +00:00
jasquat c66a078879 updated actions checkout in images as well w/ burnettk 2023-02-24 14:27:59 -05:00
jasquat 349bba87e9 updated actions checkout to remove deprecations warnings w/ burnettk 2023-02-24 14:14:17 -05:00
jasquat 4c9fa21fe4 set-output is deprecated w/ burnettk 2023-02-24 14:00:21 -05:00
jasquat 4bbb714792 added some examples and print the tags after creating the docker images w/ burnettk 2023-02-24 13:44:21 -05:00
jasquat 6e03c264ca added github action to push images for main branch on all builds w/ burnettk 2023-02-24 11:42:34 -05:00
jasquat 0b44f76581 added some docker tag notes to github action file w/ burnettk 2023-02-23 17:16:35 -05:00
jasquat b9220716a9 put ci files back and move quickstart tests to releases action w/ burnettk 2023-02-16 15:40:30 -05:00
jasquat 67cf758052 added needs placeholder for quickstart test w/ burnettk 2023-02-16 15:28:42 -05:00
jasquat 285c5dec03 run only one cypress test and try v5 w/ burnettk 2023-02-16 15:21:22 -05:00
jasquat b22c33e1d6 put the env vars in the env section of the github action configs w/ burnettk 2023-02-16 15:19:01 -05:00
jasquat b7478316f8 we are not using keycloak here w/ burnettk 2023-02-16 15:09:54 -05:00
jasquat 4e46ff0778 fixed runs-on label w/ burnettk 2023-02-16 15:07:29 -05:00
jasquat 0839214fa5 added test for quickstart guide w/ burnettk 2023-02-16 15:05:55 -05:00
jasquat 8a421bfb2c corrected cypress env var 2023-02-16 13:31:08 -05:00
jasquat a98892be32 added some support for using the backend openid server for cypress tests w/ burnettk 2023-02-16 12:09:44 -05:00
jasquat c9c1ae4c16 fixed some env vars for ci 2023-02-16 07:59:51 -05:00
jasquat 1748a0ae7f link to the spiff step from a task on the frontend and use the correct db in ci 2023-02-09 17:07:36 -05:00
jasquat ce094401ee use default keycloak realm for ci w/ burnettk 2023-01-23 16:54:11 -05:00
jasquat 9e3c0823fd use the correct place for keycloak w/ burnettk 2023-01-19 15:40:36 -05:00
jasquat 306676aa11 added script to add test keycloak users and moved all keycloak stuff to keycloak directory w/ burnettk 2023-01-19 12:18:05 -05:00
jasquat 33653fb1b4 checkout sample to test out docker build w/ burnettk 2023-01-09 14:35:36 -05:00
jasquat 76551f5301 some updates to test w/ burnettk 2023-01-09 10:19:31 -05:00
jasquat fd0d411bc4 do not run setup for backend tests w/ burnettk 2023-01-06 16:33:20 -05:00
Dan 05fe43c8cb Reenable the tests. 2022-11-22 15:23:32 -05:00
Dan 8c3be88e57 more tweaking 2022-11-22 13:32:57 -05:00
Dan 5c3fe94375 Just do it on tags. 2022-11-22 13:29:12 -05:00
Dan e8a6d1cf21 Getting the darn thing to trigger. 2022-11-22 13:28:01 -05:00
Dan cc4b1a2edd can I even do this on a branch? 2022-11-22 13:26:28 -05:00
Dan fd711cb1b2 updating the action. 2022-11-22 13:24:25 -05:00
Dan ef582919bd twiddling. 2022-11-22 13:17:43 -05:00
Dan 8cf2aff296 avoid running tests while doing builds. 2022-11-22 13:16:01 -05:00
Dan eaa64f3ba8 tweeking. 2022-11-22 13:13:48 -05:00