browsertrix/.github/workflows
Emma Segal-Grossman a35c311571
Redirect previous crawl paths to new paths under their workflow (#2214)
Closes #2213 

This ended up being a bit of a variety PR, but primarily this fixes
issues around archived item pages for crawls at URL locations we no
longer support — specifically, crawls, which now live at
`/orgs/{oid}/workflows/{workflow_id}/crawl/{crawl_id}`, rather than
`/orgs/{oid}/items/crawl/{crawl_id}`, including the QA pages at
sub-paths of these. Attempting to view a crawl at the old (unsupported)
URL will now redirect you to the correct URL!

Other changes include:
- Updated links in various parts of the app — nothing should link to the
old URL pattern anymore for crawls!
- Improved `APIRouter` and `ViewState` typing
- A couple extra `APIRouter` tests
- An addition to the route definition for crawls at
`/orgs/{oid}/items/crawl/{crawl_id}` that allows for redirections from
QA review page URLs, rather than 404 errors — this was the actual
reported problem!
- Caching in CI for playwright tests
- `needsLogin` conversion from the deprecated `LiteElement` to
`BtrixElement`, along with all the components that use it


---------

Co-authored-by: emma-sg <emma-sg@users.noreply.github.com>
2024-12-06 16:06:59 -08:00
..
ansible-lint.yaml Update ansible pipfile (#2088) 2024-09-20 11:41:21 -07:00
deploy-dev.yaml ci fix: deploy-dev.yaml fix, install poetry earlier, add decrypt values to sparse checkout 2024-02-23 18:40:36 -08:00
docs-publish.yaml Add site_url (#2130) 2024-12-04 21:56:19 +00:00
frontend-build-prepare.yaml Redirect previous crawl paths to new paths under their workflow (#2214) 2024-12-06 16:06:59 -08:00
k3d-ci.yaml Ensure email comparisons are case-insensitive, emails stored as lowercase (#2084) (#2086) (fixes from 1.11.7) 2024-09-19 12:20:34 -07:00
k3d-log-ci.yaml
k3d-nightly-ci.yaml Fix nightly tests: modify kubectl exec syntax for creating new minio bucket (#2097) 2024-10-21 17:41:19 -07:00
lint.yaml quickfix: pin mypy version to avoid issues with latest release 2024-07-19 18:30:57 -07:00
microk8s-ci.yaml Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
password-check.yaml Add Repository Index + Chart Rename + Docs Rename (#1708) 2024-04-21 09:42:25 -07:00
project-assign-issue.yml
publish-helm-chart.yaml Configure browsertrix proxies (#1847) 2024-10-02 18:35:45 -07:00
release.yaml Add Repository Index + Chart Rename + Docs Rename (#1708) 2024-04-21 09:42:25 -07:00
ui-tests-playwright.yml Redirect previous crawl paths to new paths under their workflow (#2214) 2024-12-06 16:06:59 -08:00