Commit Graph

18 Commits

Author SHA1 Message Date
KodeStar f69cbba6cd Update dependencies flagged by security advisories and require PHP 8.4
Bumps the packages reported by CVE/GHSA scans in #1564 to their patched
releases (with transitive dependencies):

- symfony/http-foundation 7.3.1 -> 7.4.14 (CVE-2025-64500 / GHSA-3rg7-wf37-54rm)
- phpunit/phpunit 10.5.47 -> 10.5.64 (CVE-2026-24765 / GHSA-vvj3-c3rp-c85p)
- aws/aws-sdk-php 3.349.3 -> 3.388.0 (GHSA-27qh-8cxx-2cr5)
- enshrined/svg-sanitize 0.21.0 -> 0.22.0 (GHSA-22wq-q86m-83fh)

Some transitive dependencies now require PHP 8.4, which matches the runtime
shipped in the official LinuxServer image, so the composer requirement is
raised to ^8.4, CI is pinned to PHP 8.4, and the readme is updated to match.

The remaining advisories in the report (php84, curl, libpq, git, sqlite,
busybox, coreutils) come from the LinuxServer base image, not this
repository, and are addressed by rebuilding the image on an updated base.

Refs #1564
2026-07-08 16:30:22 +01:00
KodeStar 5247349d33 Fix CI: pin Node 24 and install frontend deps with npm ci
CI ran `yarn && yarn dev` with no committed yarn.lock, so every run resolved
the latest matching versions and dependency drift broke the pipeline in two
independent ways:

- select2 4.1.0 added engines.node ">=24" but the runner used node 22, so
  `yarn install` failed outright on every pull request.
- webpack 5.108 removed lib/SizeFormatHelpers, which laravel-mix 6 still
  requires, so `yarn dev` would have failed the build regardless of node.

Switch the workflow to `npm ci`, which installs the exact, known-good
versions already pinned in package-lock.json (select2 4.0.13, webpack
5.100.1) and is verified to build and lint cleanly. Pin the runner to node
24 via actions/setup-node so the toolchain is explicit rather than tracking
the runner default. Also pin select2 to ~4.0.13 in package.json so a future
`npm install` cannot pull the incompatible 4.1.0 back in.
2026-07-08 16:06:35 +01:00
Chris Hunt d1801d1088 Update cache version 2025-07-11 16:33:05 +01:00
KodeStar 36d1d55934 Revert "Replace Mix with Vite" 2024-02-17 21:02:45 +00:00
KodeStar afc07ab9bc Update ci.yml 2024-02-17 19:59:33 +00:00
KodeStar 39f23103e4 Update ci.yml 2024-02-17 10:19:12 +00:00
KodeStar e7d581244c Update ci.yml 2024-02-17 10:14:55 +00:00
KodeStar 2fea82c21e Change to php 8.3 2024-02-17 10:08:50 +00:00
Chris Hunt 274894562c Update php version in CI tests 2024-02-17 10:04:01 +00:00
aptalca c72fee9644 handle issue-pr close and review submitted actions 2023-04-14 15:31:46 -04:00
aptalca 1c41e3d1ef add issue-pr workflows 2023-04-06 15:25:53 -04:00
Attila Kerekes 3c9f361f5f chore: Add eslint github check (#1067) 2022-12-11 18:44:37 +01:00
Attila Kerekes 5eb1f55b82 chore: Add php code sniffer github check (#1066) 2022-12-11 11:58:58 +01:00
Attila Kerekes 45cc84c99c test: Add feature tests 2022-12-04 17:21:03 +00:00
Chris Hunt 30663e4d5e Change php version 2022-11-14 20:28:46 +00:00
Chris Hunt 8972a11c0a SImplify action 2022-11-14 19:43:43 +00:00
Chris Hunt cb314a4fd9 Change action to pull request 2022-11-14 19:42:37 +00:00
Chris Hunt 0966639699 Add actions 2022-11-14 19:22:46 +00:00