Commit Graph

133 Commits

Author SHA1 Message Date
jasquat 4b771ac706
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 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 3becffc14f.

* 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 b2158a5e79
notify slack if build docs failed w/ burnettk 2023-06-26 11:38:45 -04:00
jasquat b90b06f2f8
remove unnecessary pip upgrade for docs w/ burnettk 2023-06-26 11:36:20 -04:00
jasquat eeddf4964d
added build command for docs and created github action w/ burnettk 2023-06-26 11:33:27 -04:00
jasquat f94bce088b
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 dd1195a44b
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 a7ff273a96
let dependabot update packages in one directory just to dip our toes (#300)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-06-06 16:26:05 -07:00
burnettk 43144434fa
stop codecov comments and commit WIP 2023-05-30 15:07:00 -04:00
Kevin Burnett dbaffff172
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 010623a148
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 03424d9643
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] 9966797478
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 d48020e4f1
actually stop running tests against 3.9 2023-05-27 18:34:04 -04:00
jasquat 692e584dac
only test admin permissions in ci since it takes longer run w/ burnettk 2023-05-24 11:10:40 -04:00
burnettk c1d56ff39e
record if the workflow run that triggered us was a push 2023-05-19 11:33:56 -04:00
burnettk 69d2bb938a
debug github context 2023-05-19 10:30:57 -04:00
burnettk 6852f5f84c
remove docs-build matrix build 2023-05-19 09:15:19 -04:00
burnettk 1e957f6c8a
avoid doing stuff outside of nox 2023-05-19 07:05:58 -04:00
jasquat 20cd2f08fd
ignore windows tests in ci w/ burnettk 2023-05-17 14:06:50 -04:00
dependabot[bot] 26fa06d605
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 d0623ea160
more screwing with labels 2023-05-13 22:43:58 -04:00
burnettk beb1c8bf47
update failure message to include branch 2023-05-02 12:12:39 -04:00
jasquat e50a8307b0
do not notify if skipped w/ burnettk 2023-05-02 12:01:34 -04:00
jasquat f4870003cf
only run frontend tests if backend passes w/ burnettk 2023-05-02 11:49:06 -04:00
burnettk 8bd0267780
notify on more things and include conclusion 2023-05-02 08:39:13 -04:00
burnettk c0a4b26f4d
notify slack on failure 2023-05-02 08:10:41 -04:00
burnettk aea62e3f71
notify slack on failure 2023-05-01 22:03:23 -04:00
burnettk 3f4e6757ba
notify slack 2023-05-01 20:20:41 -04:00
dependabot[bot] 60a846aba1
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 48ec8613ab
appease actionlint 2023-04-23 23:41:28 -04:00
burnettk 71f9b46002
pin to working version of sonarcloud github action 2023-04-23 23:40:28 -04:00
dependabot[bot] e0dca494e3
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] 65d0b9ef8d
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] 9e89f10556
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 715b0211d3
removed some debug info w/ burnettk 2023-04-11 15:50:42 -04:00
jasquat 10d0bb8dae
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 092f558632
replace periods with underscores in version info w/ burnettk 2023-04-07 16:09:30 -04:00
jasquat 912bfb8285
try getting version info from evn var instead w/ burnettk 2023-04-07 15:59:46 -04:00
jasquat ff70c20acd
create the app verison file in the correct directory w/ burnettk 2023-04-07 15:48:18 -04:00
jasquat 4c02eb3cbb
we need the app_version file in the backned more w/ burnettk 2023-04-07 15:37:21 -04:00
jasquat 4af5301fe3
remove bad github action lines w/ burnettk 2023-04-07 15:34:11 -04:00
jasquat 3ff855350a
attempt to get git docker labels into version json file w/ burnettk 2023-04-07 15:32:28 -04:00
jasquat 6d8d9b8d57
ignore dccache files w/ burnettk 2023-03-28 17:14:58 -04:00
jasquat cef069d028
run snyk on backend and added marshmallow dep to remove warning w/ burnettk 2023-03-28 16:55:13 -04:00
jasquat ed7ccb4aad
run snyk in ci w/ burnettk 2023-03-28 16:42:48 -04:00
jasquat 438d44592f
run safety in ci w/ burnettk 2023-03-28 15:56:57 -04:00
burnettk 4a9f4b8cb0
do sonar for backend, too 2023-03-28 08:22:17 -04:00
jasquat 761526f999
Merge remote-tracking branch 'origin/main' into feature/use_tasks_as_logs 2023-03-17 12:40:26 -04:00
burnettk ed1b45c453
see if this still works 2023-03-16 23:43:59 -04:00