Commit Graph
131 Commits
Author SHA1 Message Date
dependabot[bot] b5ebaa27b1 chore(deps): bump github/codeql-action from 4.35.4 to 4.36.1 (#1616)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-02 21:36:22 -04:00
dependabot[bot] 20df5d3951 chore(deps): bump docker/setup-qemu-action from 4.0.0 to 4.1.0 (#1617)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-02 21:36:07 -04:00
dependabot[bot] 70d0da1b2c chore(deps): bump docker/login-action from 4.1.0 to 4.2.0 (#1613)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-02 21:35:30 -04:00
Thibault Martin ee9c24333d test(helm): lint helm charts with ct (#1403) 2026-05-26 06:22:10 +00:00
Zach 273be54827 ci(nightly): make Discord notification optional for manual runs (#1322) 2026-05-14 22:19:26 +00:00
dependabot[bot] 342b7d916f chore(deps): bump azure/setup-helm from 4.3.0 to 5.0.0 (#1275)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-13 12:32:36 -04:00
dependabot[bot] 15d034efb2 chore(deps): bump taiki-e/install-action from 2.75.27 to 2.77.6 (#1277)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-13 12:26:37 -04:00
dependabot[bot] 82704a26ae chore(deps): bump github/codeql-action from 4.35.3 to 4.35.4 (#1274)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-12 11:36:41 +02:00
James Ward ea02bafa33 ci: use last release as nightly base tag (#1226) 2026-05-09 15:07:38 -04:00
Zach 7e558250fd ci(docker): rotate Docker Hub auth secrets for token-based publishing (#1179) 2026-05-07 03:08:21 -04:00
Thibault MartinandJames Ward 34eb6ce412 ci(release): publish Helm chart as OCI artifact on release (#993)
Co-authored-by: James Ward <james@notjam.es>
2026-05-02 04:36:30 -04:00
dependabot[bot] e1a8109599 chore(deps): bump github/codeql-action from 4.35.2 to 4.35.3 (#1036)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-01 16:15:13 -04:00
dependabot[bot] c355927b91 chore(deps): bump taiki-e/install-action from 2.75.19 to 2.75.27 (#1037)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-01 20:12:47 +00:00
James Ward f44661318b ci: skip discord notification on release when no token (#1020) 2026-04-30 22:40:28 -04:00
James Ward 54340628c1 ci: get OpenAPI json export operating on nightly (#1022) 2026-05-01 01:50:25 +00:00
James Ward aa82cd2463 ci: support building images in forks (#1002) 2026-04-30 03:25:14 -04:00
Zach 1757d786c1 chore(ci): publish an openapi json artifact with nightly releases (#999) 2026-04-29 22:16:33 -04:00
Zach 7c466ae17d fix(ci): skip nightly Discord notifications when no release is predicted (#770) 2026-04-22 21:32:48 -04:00
James Ward 10afe3c826 ci: match release automation to desired behavioral workflow (#739) 2026-04-22 17:27:47 -04:00
dependabot[bot] a0e2f600b1 chore(deps): bump actions/upload-artifact from 7.0.0 to 7.0.1 (#763)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 17:27:46 -04:00
dependabot[bot] 317557ceca chore(deps): bump actions/cache from 5.0.4 to 5.0.5 (#762)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 17:27:46 -04:00
James Ward ff73eea697 ci: split release from build (#749) 2026-04-22 17:27:46 -04:00
dependabot[bot] 365d44e26f chore(deps): bump taiki-e/install-action from 2.71.0 to 2.75.19 (#756)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 17:27:45 -04:00
dependabot[bot] d2b32edd3c chore(deps): bump docker/login-action from 4.0.0 to 4.1.0 (#757)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 17:27:45 -04:00
dependabot[bot] 983438108d chore(deps): bump docker/build-push-action from 7.0.0 to 7.1.0 (#759)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 17:27:45 -04:00
dependabot[bot] 6d6003c5cd chore(deps): bump actions/setup-node from 6.3.0 to 6.4.0 (#758)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 17:27:45 -04:00
dependabot[bot] 70b2463663 chore(deps): bump github/codeql-action from 4.35.1 to 4.35.2 (#754)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 17:27:45 -04:00
James Ward 1a664dda14 chore: rename springboot app folder to backend (#752) 2026-04-22 17:27:44 -04:00
James Ward 2dbfe821a9 ci: use env vars for input to scripts (#733) 2026-04-22 17:27:44 -04:00
James Ward f05feaea08 ci: drop publish-test-results.yml workflow (#737) 2026-04-22 17:27:43 -04:00
Zach 52ed009098 fix(devex): add GitHub sign-in note to rc and nightly Discord posts (#572) 2026-04-22 17:27:40 -04:00
Zach c6d567e374 fix(release): always publish nightly images on manual runs (#571) 2026-04-22 17:27:40 -04:00
Zach e65536de1c feat: add discord automated release notifications (#564) 2026-04-22 17:27:39 -04:00
Zach 6ab2ad6ec2 chore(frontend): fix build warnings + set threshold to zero (#421) 2026-04-22 17:27:08 -04:00
dependabot[bot] f7600e6537 chore(deps): bump taiki-e/install-action from 2.69.10 to 2.71.0 (#331)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.69.10 to 2.71.0.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/7627fb428e65e78e2ec9a24ae5c5bd5f8553f182...a1df9120380005ebdc788c62449b841b205541dd)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.71.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 17:27:04 -04:00
James Ward 4d2b803905 ci: apt update before installing libarchive (#375)
For whatever reason, libarchive is not in the apt cache correctly.  This works around the issue.
2026-04-22 17:27:02 -04:00
dependabot[bot]andbrios 4be3311a87 chore(deps): bump github/codeql-action from 4.34.1 to 4.35.1 (#332)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.34.1 to 4.35.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/38697555549f1db7851b81482ff19f1fa5c4fedc...c10b8064de6f491fea524254123dbe5e09572f13)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: brios <127139797+balazs-szucs@users.noreply.github.com>
2026-04-22 17:27:00 -04:00
James Ward 1e0b4d0fd5 refactor(api): use NightCompress library for reading CBX (#113)
* build: drop unrar from dockerfile

* build: add libarchive to dockerfile

* ci: add libarchive for tests

* build: try adding to the gradle build

* refactor: use nightcompress for reading CBX

* test: disable tests using nightcompress when unavailable

* ci: drop showing java information

* build: add libarchive to dev compose

* build: fix libarchive link in alpine

seems alpine doesn't create libarchive.so and this seems to be the
easiest approach to fix that

* build: use expected order for allowing java to use native libs

* fix: ensure we initialize NightCompress before using it

* fix: properly find input stream

* fix: return amount of data copied

* test: add helper to turn off tests in ArchiveService

* test: rewrite CbxMetadataExtractorTest to mock archiveService

* refactor: expose `Path` to make `CbxMetadataExtractor` easier to test

* test: drop now useless test

* test: add archiveservice to rar5 integration

* test: mock out archiveservice in cbxreader test

* test: use real archiveservice in cbxconverstionintegration

* file: the cbxconversionservicetest also seems to be integration

* test: remove unused imports from cbxmetadataextractortest

* test: cbxcomicinfocompliance is also an integration

* test: cbxmetadatawriter is also integration

* chore: drop unused properties

* test: make cbxmetadataextractortest do something for covers

before it was basically useless because of fallback

* fix: invert check

* chore: better comment

* test: fix more cbxmetadataextractor tests that never worked

* test: we only ever raise ioexception

* fix: handle `null` comicinfo when parsing

* test: properly test for no files comicinfo

* build: manual link of dev docker compose

* test: if you use any matchers, all must be

* build: drop unrar from dev compose

* test: if you use any matchers, all must be

* test: always get a fresh stream

* test: drop more toFile
2026-04-22 17:26:59 -04:00
Peter Fortuin cb8fa67ecd chore(lint): set LINT_ERROR_THRESHOLD to zero (#238) 2026-04-22 17:26:54 -04:00
dependabot[bot] c0fca03ae8 chore(deps): bump taiki-e/install-action from 2.69.7 to 2.69.10
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.69.7 to 2.69.10.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/0d865d5cc6d507df4765f1f866bfae8bab4e2a73...7627fb428e65e78e2ec9a24ae5c5bd5f8553f182)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.69.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-22 17:26:42 -04:00
dependabot[bot] 3a1cd68edc chore(deps): bump docker/setup-qemu-action from 3.7.0 to 4.0.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/c7c53464625b32c7a7e944ae62b3e17d2b600130...ce360397dd3f832beb865e1373c09c0e9f86d70a)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-22 17:26:42 -04:00
dependabot[bot] 40d0076a92 chore(deps): bump actions/cache from 4.2.4 to 5.0.4
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.4 to 5.0.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/0400d5f644dc74513175e3cd8d07132dd4860809...668228422ae6a00e4ad889ee87cd7109ec5666a7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-22 17:26:42 -04:00
James Cox dcd264cf6b fix(ci): align github actions with yarn 4 frontend tooling
- Test suite workflow:
  - stop relying on setup-node's Yarn 1 cache integration for the frontend job
  - enable Corepack explicitly before the frontend install and test steps so the reusable test suite runs with Yarn 4
- Frontend threshold workflow:
  - switch the job from the old booklore-ui/npm path to frontend/Corepack/Yarn commands
  - keep the existing threshold logic, but run install, typecheck, build, and ESLint through the current frontend command surface
- Release workflows:
  - enable Corepack before installing Yarn-based release tooling in the stable and preview release jobs
  - remove the setup-node Yarn cache settings that fail against packageManager-pinned Yarn 4 projects
- Validation:
  - run just ui install-ci
  - verify the threshold workflow commands produce lint-results.json and build-output.log locally
  - run just ui deps and confirm just ui check now reaches the existing ESLint backlog instead of failing on Yarn 1 CI setup
2026-04-22 17:26:41 -04:00
James Cox 4855f36d46 build(yarn): migrate frontend and release tooling to yarn 4
- Frontend package management:
  - add a repo-root `.yarnrc.yml` that pins Yarn to the `node-modules` linker with a local cache
  - add the modern Yarn package manager declaration to `frontend/package.json`
  - replace the frontend npm lockfile with `frontend/yarn.lock`
  - move the frontend Just recipes to Corepack-managed Yarn commands for install, audit, build, test, and lint
  - run the production build in CI-style mode so non-interactive Yarn builds behave consistently
- Release automation:
  - add the modern Yarn package manager declaration to `tools/release/package.json`
  - replace the release tooling npm lockfile with `tools/release/yarn.lock`
  - switch the release Just recipes from `npm` and `npx` to Corepack-managed Yarn scripts
- CI and local runtime wiring:
  - switch the frontend and release GitHub Actions caches from npm lockfiles to Yarn lockfiles
  - update the root `doctor` output and contributor prerequisites to report Yarn and Corepack instead of npm
  - update the dev compose UI container to Node 24 with immutable Yarn installs
  - restore the Docker frontend build stage to install and build through Yarn, including the shared cache path
- Repository hygiene:
  - ignore the repo-local Yarn cache and per-project Yarn state directories created by modern Yarn installs

- Validation:
  - `just ui install-ci`
  - `just release install`
  - `just ui build`
  - `just image-build linux/amd64 codex-yarn-port-test` was not runnable because the local Docker daemon was unavailable
2026-04-22 17:26:40 -04:00
James Cox 42d9dcb4d3 refactor(frontend): repoint repo tooling to the frontend path
- Tooling and automation:
  - update Dependabot and the frontend test workflow to read frontend-owned paths
  - keep published frontend test reports aligned with the renamed project directory
  - extend ignore rules for frontend-generated test output and local dependencies
- Local developer entrypoints:
  - repoint the root Justfile ui module at frontend/Justfile
  - update the dev compose bind mount to use ./frontend
  - update the Weblate setup script to source translations from frontend/src/i18n
- Build integration:
  - repoint the Docker frontend build stage to /workspace/frontend and the renamed source paths
  - update the backend Gradle fallback dist location to ../frontend/dist/grimmory/browser
- Repository guidance:
  - rewrite root docs and AGENTS references that still pointed at booklore-ui so contributor guidance matches the new directory name

- Validation:
  - not run; this commit is scoped to staged path rewrites only
2026-04-22 17:26:39 -04:00
James Cox 3f9d3e0d8a fix(ci): reduce workflow cache churn
- GitHub Actions caching:
  - replace implicit setup-java cache writes with explicit Gradle cache restore/save steps
  - only persist the shared Gradle cache from long-lived develop and release workflows
  - remove the unnecessary QEMU setup from the single-arch smoke build
  - disable QEMU image caching in multi-arch publish workflows to stop repeated binfmt cache entries
- CodeQL workflow:
  - replace the generated advanced template with a pinned repo-owned CodeQL workflow
  - add per-ref concurrency to cancel superseded CodeQL runs before they create more caches
  - restrict dependency caching to Java, using restore-only on pull requests and full caching on long-lived runs
  - disable trap caching and turn off PR overlay database caching to avoid repetitive low-value CodeQL caches
- Validation:
  - validated the edited workflow YAML with yq
  - did not execute the workflows locally
2026-04-22 17:26:38 -04:00
James Cox 2ad937a761 chore(codeql): Initialize a codeql config so we can sort out the caching properly. 2026-04-22 17:26:38 -04:00
Peter Fortuin 49101b79cf fix: clean up import in AuthenticationSettingsComponent 2026-04-22 17:26:37 -04:00
James Cox 69d50d4fb5 feat(devex): add a unified just command surface
- Command surface:
  - add a root `Justfile` with namespaced `api`, `ui`, and `release` modules so humans and agents can use the same entrypoints from the repo root
  - add project-local Justfiles for `booklore-api`, `booklore-ui`, and `tools/release` so each area remains self-contained and can still be driven from inside its own directory
  - standardize local developer workflows around `just check`, `just test`, `just api run`, `just ui dev`, `just db-up`, and `just image-build`

- Workflow integration:
  - update the reusable test suite workflow to install `just` and run backend and frontend CI steps through the Justfiles instead of hardcoded shell commands
  - update the semantic-release workflows to install `just` and invoke release tooling via `just release install`, `just release preview`, and `just release run`
  - keep the Docker image publication workflows on the native Docker actions while moving the project-command logic into the canonical command surface

- Documentation:
  - split backend and frontend implementation guidance into `booklore-api/README.md`, `booklore-api/CONTRIBUTING.md`, `booklore-ui/README.md`, and `booklore-ui/CONTRIBUTING.md`
  - simplify the top-level `README.md` and `CONTRIBUTING.md` so they stay focused on overview, policy, and navigation while pointing to component-specific guides for deeper detail
  - align contributor-facing examples on the `just` interface instead of mixing ad hoc Gradle, npm, Docker, and Compose commands

- Developer environment:
  - add `mise.toml` to pin the expected Java and Node toolchain versions for local work
  - switch the development Compose defaults from the old Booklore database values to Grimmory-oriented defaults
  - keep the command layout ready for a future API/UI split without forcing that packaging change yet
2026-04-22 17:26:35 -04:00
Peter Fortuin 6ff7275db8 fix(transloco-loader): update deepMerge function type definitions (#167) 2026-04-22 17:26:35 -04:00