Commit Graph
169 Commits
Author SHA1 Message Date
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
Alex 442e0f9221 chore(deps): add 3 day npm release age gate (#1270) 2026-05-12 10:04:49 +01: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
Zach 96b3a7745c docs(github): clarify and expand on the pull request template (#1075) 2026-05-03 17:30:50 -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 1d32e5f4f5 ci: temp disable dependabot typescript updates (#761) 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 11cb206504 feat(community)!: move issue intake to GitHub Discussions (#565)
BREAKING CHANGE: Grimmory no longer accepts new bug reports, feature requests,
documentation requests, or support requests through GitHub issue forms.
Community intake now starts in GitHub Discussions, and issues are reserved for
accepted, actionable work.

This change represents the a major step towards transitioning towards our own identity and mission with self determination for our project.
2026-04-22 17:27:39 -04:00
Zach e65536de1c feat: add discord automated release notifications (#564) 2026-04-22 17:27:39 -04:00
Allie f2b35070a0 chore(github): update bug report template with build selection (#529) 2026-04-22 17:27:36 -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 e4fc279528 chore(docs): update Discord invite links
- Community links:
  - replace the old Discord invite code with the new `9YJ7HB4n8T` invite in the repository README
  - update the contributor guide to point at the same server
  - align the issue-template support link with the same canonical invite

- Consistency:
  - keep the public docs and issue intake flow on a single Discord destination so users and contributors land in the right community space
2026-04-22 17:26:36 -04:00
James Cox dee8cd9659 chore(docs): align Discord links with the README
- Community links:
  - update the issue-template support link to use the canonical Grimmory Discord invite from `README.md`
  - update the contributing guide to point at the same Discord server

- Consistency:
  - remove the stale invite URL so issue intake, contributor docs, and the repository landing page all reference the same community link
2026-04-22 17:26:36 -04:00
James Cox 511f84cc48 feat(issues): add typed Grimmory issue templates
- Issue intake:
  - rebrand the bug and feature request forms from Booklore to Grimmory
  - remove the old `[Bug]` and `[Feature]` title prefixes so issue titles can stay natural
  - default issue intake to `needs-triage` while relying on GitHub Issue Types for the primary classification

- New templates:
  - add a dedicated enhancement template for smaller quality-of-life and UX improvements
  - add a documentation template for doc fixes, missing guides, and confusing setup flows
  - add a performance template for runtime, UI, build, and operational performance problems

- Type alignment:
  - map the templates onto the repo's issue-type taxonomy with `Bug`, `Feature`, `Enhancement`, `Documentation`, and `Performance`
  - keep the larger feature template distinct from the smaller enhancement template so incoming requests are easier to triage
2026-04-22 17:26:36 -04:00