This repository has been archived by the owner on Jan 1, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Varnish fixes and Redirect 404. (#1268)
* chore(deps): bump socket.io-parser and socket.io Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together. Updates `socket.io-parser` from 4.2.2 to 4.2.3 - [Release notes](https://github.com/socketio/socket.io-parser/releases) - [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md) - [Commits](socketio/socket.io-parser@4.2.2...4.2.3) Updates `socket.io` from 4.5.1 to 4.6.1 - [Release notes](https://github.com/socketio/socket.io/releases) - [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md) - [Commits](socketio/socket.io@4.5.1...4.6.1) --- updated-dependencies: - dependency-name: socket.io-parser dependency-type: indirect - dependency-name: socket.io dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * fix: pin composer version till preserve-paths package is updated Refs: updates * fix: pin composer version in dockerfile too Refs: updates * chore: Update all outdated drupal/* packages. * chore: Port tests to GHA (#1259) * chore: Ensure the composer action uses the new *variables* instead of secrets. * chore: Drop in a modified tests GHA that runs what the old Travis one did. Not much. Refs: OPS-7509 * chore: Ensure the tests can build the docker image, so they can run phpcs. Refs: OPS-7509 * chore: Drop travis yaml. Refs: OPS-7509 * fix: Look for code in the Drupal 7 locations. * fix: Do what we used to do and cross fingers. * Update .github/workflows/run-tests.yml * Delete default.services.yml * Update .github/workflows/run-tests.yml * feat: Do not redirect archive.org to RW Response (#1261) * feat: Ensure user-agents with "archive" skip all redirects to RW Response pages. Refs: OPS-9290 * chore: Treat the archive.org bot as if it were a human, so a higher permitted rate. It has its own varnish cache entry, which should help a bit. This will allow faster crawling, so we may get an achived up before 2024. Refs: OPS-9290 * fix: Ensure Drupal and varnish do not cache the special-case generated content and just redirect as usual for visitors not archive.org. And optimise the function a bit with an early return. (#1264) Refs: OPS-9290 * fix: phpcbf sorting Refs: OPS-9379 * feat: Add Redirect 404 module to redirect to RW Response on page not found. (#1266) This is to help people migrate off HR.info. Refs: OPS-9382 * chore: Configure and enable redirect_404. (#1267) * chore: Configure and enable redirect_404. Refs: OPS-9382 * chore: Drop oin a custom rule that makes *nginx* redirect to the Response 404 page if a document cannot be found. Refs: OPS-9382 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andy Footner <[email protected]> Co-authored-by: unocha-jenkins <[email protected]>
- Loading branch information