diff --git a/.claude/skills/bump-questarr-version/SKILL.md b/.claude/skills/bump-questarr-version/SKILL.md index 39acbc1d3..70a7692f5 100644 --- a/.claude/skills/bump-questarr-version/SKILL.md +++ b/.claude/skills/bump-questarr-version/SKILL.md @@ -3,7 +3,7 @@ name: bump-questarr-version description: Bump the Questarr version across package.json, lockfile, Docker, Home Assistant, Umbrel, CasaOS and Helm files for a release. --- -Use when preparing a Questarr release (e.g. 1.5.0 -> 1.5.1). Branch from a fresh `origin/main` (`git fetch origin main` first). +Use when preparing a Questarr release (e.g. 1.5.0 -> 1.6.0). Branch from a fresh `origin/main` (`git fetch origin main` first). Files to update to the new version (OLD -> NEW): diff --git a/.github/workflows/weekly-release.yml b/.github/workflows/weekly-release.yml index 9b2ed76ec..d1c95ae19 100644 --- a/.github/workflows/weekly-release.yml +++ b/.github/workflows/weekly-release.yml @@ -48,7 +48,7 @@ jobs: with: node-version: 22.x - # Version scheme: -dev., e.g. v1.5.1-dev.20261019. + # Version scheme: -dev., e.g. v1.6.0-dev.20261019. # Semver sorts it before the stable release it leads to, and it is a valid Docker tag. # A previous run that pushed its tag but did not finish (no GitHub release) is resumed. - name: Compute version diff --git a/Dockerfile b/Dockerfile index 1e3ec1a62..c0cbdde05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,4 +77,4 @@ LABEL org.opencontainers.image.description="Questarr is a smart game library man LABEL org.opencontainers.image.authors="Doezer" LABEL org.opencontainers.image.source="https://github.com/Doezer/questarr" LABEL org.opencontainers.image.licenses="GPL-3.0-only" -LABEL org.opencontainers.image.version="1.5.1" +LABEL org.opencontainers.image.version="1.6.0" diff --git a/README.md b/README.md index 10fbda681..b3b98c0f3 100644 --- a/README.md +++ b/README.md @@ -56,19 +56,19 @@ A video game management application inspired by the -Arr apps (Sonarr, Radarr, P ## List of features -| Feature | Description | -| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **Backlog management** | Track game status, ratings, notes, and your play journal. Use [Backlog roulette](docs/BACKLOG_ROULETTE.md) to pick a game from Library or Playing. | -| **Game Discovery** | Browse IGDB, RSS, and xREL.to, manage ratings and visibility from game details, sync your Steam wishlist, or discover games on disk with [Library Import](docs/LIBRARY_IMPORT.md). | -| **Search & Filter** | Find games by genre, platform, and keyword, with automatic search until a release is found, plus release blacklisting and preferred release groups/platforms. Settings → Appearance → Platforms scopes the app to your chosen platforms, with optional filters to hide shelved/owned games and age-restricted or erotic content. | -| **Download Management** | Automate downloads and [library imports](docs/LIBRARY_IMPORT.md), with archive updates that preserve unrelated installed files, manual review, optional security scanning, and experimental AI matching. | -| **Release Classification** | A local machine-learning model tells the game from the patch, DLC, crack-only or demo release before an automatic download. The local model ships with Questarr and runs offline, no key needed. See [Release classification](#release-classification). | -| **Real-time Notifications** | Choose in-app and [Apprise alerts](docs/NOTIFICATIONS.md), including update controls for Shelved and Completed games. | -| **Rich Game Metadata** | Details enriched with IGDB, Steam, PCGamingWiki, and NexusMods, including trending mods where available. | -| **Statistics** | Visualize collection statistics with Discord sharing support. 🚧 | -| **Security Focused** | General security hardening, SSL support, and [OpenSSF certified](https://www.bestpractices.dev/projects/13450) — see [SECURITY.md](docs/SECURITY.md) for the full process. | -| **Integrations** | One-click install on UNRAID, CasaOS, Umbrel and Cosmos Cloud, a Home Assistant add-on, a Windows installer, and a Helm chart for Kubernetes, plus a [Playnite extension](extensions/playnite-questarr/README.md) to sync your library and request games from the couch. 🚧 | -| **Design** | Clean, minimalist, dark-first UI built with mobile usage in mind. | +| Feature | Description | +| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **Backlog management** | Track game status, ratings, notes, and your play journal. Use [Backlog roulette](docs/BACKLOG_ROULETTE.md) to pick a game from Library or Playing. Group games into manual or smart **Collections**. | +| **Game Discovery** | Browse IGDB, RSS, and xREL.to, manage ratings and visibility from game details, sync your Steam wishlist, or discover games on disk with [Library Import](docs/LIBRARY_IMPORT.md). | +| **Search & Filter** | Find games by genre, platform, and keyword, with automatic search until a release is found, plus release blacklisting, [release scoring](docs/API.md#release-scoring) with custom formats, and preferred platforms. Settings → Appearance → Platforms scopes the app to your chosen platforms, with optional filters to hide shelved/owned games and age-restricted or erotic content. | +| **Download Management** | Automate downloads and [library imports](docs/LIBRARY_IMPORT.md), with archive updates that preserve unrelated installed files, manual review, optional security scanning, and experimental AI matching. | +| **Release Classification** | A manually trained local machine-learning model tells the game from the patch, DLC, crack-only or demo release. The local model ships with Questarr and runs offline, no key needed. See [Release classification](#release-classification). | +| **Real-time Notifications** | Choose in-app and [Apprise alerts](docs/NOTIFICATIONS.md) to know when a game is out, an auto-download has fired... | +| **Rich Game Metadata** | Game details enriched with IGDB, Steam, PCGamingWiki, ProtonDB and NexusMods. See time to beat, trending mods and ratings. | +| **Statistics** | Visualize collection statistics with Discord sharing support. 🚧 | +| **Security Focused** | Security first design, SSL support, and [OpenSSF certified](https://www.bestpractices.dev/projects/13450) — see [SECURITY.md](docs/SECURITY.md) for the full process. | +| **Integrations** | One-click install on UNRAID, CasaOS, Umbrel and Cosmos Cloud, a Home Assistant add-on, a Windows installer, and a Helm chart for Kubernetes, plus a [Playnite extension](extensions/playnite-questarr/README.md) to sync your library and request games from the couch. 🚧 | +| **Design** | Clean, minimalist, dark-first UI built with mobile usage in mind. | ### Supported Indexers/Downloaders @@ -349,6 +349,8 @@ Configure indexers, downloaders, and application preferences. ## Release classification +**Smart release filtering, built in and free.** Questarr recognizes patches, DLC, full games and non-game files (software, movies, soundtracks) right on your server, before anything is downloaded. No account, no API key, nothing leaves your network. Unsure cases can optionally be double-checked by a cloud model, and you stay in control: anything classified as a patch, DLC or non-game file is held for your review instead of being downloaded blindly (you can also hold releases the classifier cannot decide on). + Indexers return a lot of look-alikes: the game, a day-one patch, a DLC, a crack-only folder, a demo, a soundtrack. A fixed list of keywords cannot tell them apart reliably, because release names are inconsistent and the same words mean different things in different titles. Questarr classifies each release with a small machine-learning model and holds back the ones that are probably not the full game. **What you get** @@ -498,7 +500,7 @@ Based on the [Product Requirements Document](docs/PRD.md), here is the release s - **P1 — Smart Game Backlog**: Installed-version tracking and update filtering are available; configurable automatic upgrades remain a priority. - **P2 — Direct Download Support**: Add debrid services (Real-Debrid and similar) as a downloader option, no seeding required. - **P3 — External Library Sync**: Import owned games from Steam/GOG libraries and local filesystem scans, not just wishlists. -- **P4 — Integrations with External Tools**: ✅ Playnite extension shipped (library sync, request-to-download); RomM, Gameyfin, and a generic webhook for anything not explicitly supported are still planned. +- **P4 — Integrations with External Tools**: ✅ Playnite extension shipped (library sync, request-to-download); ✅ RomM shipped (platform folders, rescan, ownership sync); Gameyfin and a generic webhook for anything not explicitly supported are still planned. - ✅ **P5 — Indexer Page Links**: A "View on indexer" link on search results and downloads. - ✅ **P6 — PostgreSQL Support**: PostgreSQL is available as an optional backend, with SQLite remaining the zero-config default. diff --git a/casaos/docker-compose.yml b/casaos/docker-compose.yml index 9073b5397..f2e97b912 100644 --- a/casaos/docker-compose.yml +++ b/casaos/docker-compose.yml @@ -62,7 +62,7 @@ services: completed downloads. Add a matching entry under Settings -> Path Mappings. x-casaos: id: com.doezer.questarr - version: "1.5.1" + version: "1.6.0" architectures: - amd64 - arm64 diff --git a/charts/questarr/Chart.yaml b/charts/questarr/Chart.yaml index fab0ba683..6a1d0cd66 100644 --- a/charts/questarr/Chart.yaml +++ b/charts/questarr/Chart.yaml @@ -5,7 +5,7 @@ type: application # Chart version — bump on every chart change (SemVer). version: 0.1.3 # Version of Questarr shipped by default (image tag adds the v release prefix). -appVersion: "1.5.1" +appVersion: "1.6.0" kubeVersion: ">=1.23.0-0" home: https://github.com/Doezer/questarr icon: https://raw.githubusercontent.com/Doezer/questarr/main/images/Questarr_icon.png diff --git a/charts/questarr/README.md b/charts/questarr/README.md index b2310495f..c0a7d33ff 100644 --- a/charts/questarr/README.md +++ b/charts/questarr/README.md @@ -45,7 +45,7 @@ above `1`, and uses the `Recreate` strategy so two pods never hold the volume at | Key | Default | Description | | ------------------ | ------------------------- | --------------------------------------------------------------------- | | `image.repository` | `ghcr.io/doezer/questarr` | Image repository | -| `image.tag` | `""` | Image tag; defaults to `v` + the chart's `appVersion` (e.g. `v1.5.1`) | +| `image.tag` | `""` | Image tag; defaults to `v` + the chart's `appVersion` (e.g. `v1.6.0`) | | `image.pullPolicy` | `IfNotPresent` | Image pull policy | | `imagePullSecrets` | `[]` | Pull secrets for private registries | | `replicaCount` | `1` | Must stay `1` (see above) | diff --git a/docs/API.md b/docs/API.md index dfbdcf8a3..1b8d655e3 100644 --- a/docs/API.md +++ b/docs/API.md @@ -82,6 +82,7 @@ configuration routes (see | GET | `/api/games/status/:status` | JWT | Query: `includeHidden?` | `Game[]` | | GET | `/api/games/search` | JWT + `sanitizeSearchQuery`, `validateRequest` | Query: `q` (1–200 chars, required), `search?` (≤200), `limit?` (1–100) | `Game[]`; 400 if `q` missing | | POST | `/api/games` | JWT + `sensitiveEndpointLimiter`, `sanitizeGameData`, `validateRequest` | `{ title (1–500), igdbId?, summary? (≤5000), coverUrl? (URL), releaseDate? (YYYY-MM-DD), rating? (0–10), platforms?, genres?, publishers?, developers? }`, re-parsed via `insertGameSchema` (Zod) | 201 `Game`; 409 `{ error, game }` if duplicate; 400 `{ error, details }` on Zod failure | +| GET | `/api/games/:id` | JWT + `sanitizeGameId`, `validateRequest` | — | Game object. 404 if the game does not exist or is in a hidden content category; 403 if it belongs to another user. Registered after `/api/games/discover`, so that literal path is never read as an id. | | PATCH | `/api/games/:id/status` | JWT + `sensitiveEndpointLimiter`, `sanitizeGameId`, `sanitizeGameStatus`, `validateRequest` | `{ status: "wanted"\|"owned"\|"completed"\|"downloading" }` via `updateGameStatusSchema` | Updated `Game`; 404 if not found | | PATCH | `/api/games/:id/hidden` | JWT + `sensitiveEndpointLimiter`, `sanitizeGameId`, `validateRequest` | `{ hidden: boolean }` via `updateGameHiddenSchema` | Updated `Game`; 404 if not found | | PATCH | `/api/games/:id/user-rating` | JWT + `sensitiveEndpointLimiter`, `sanitizeGameId`, `validateRequest` | `{ userRating: number\|null }` (0.5–10, step 0.5) via `updateGameUserRatingSchema` | Updated `Game`; 404 if not found | @@ -155,6 +156,14 @@ scans enabled roots. Settings changes during an active scan queue a rescan. counts and match/review/error counts; updates also arrive as `library-scan-progress`. See [LIBRARY_IMPORT.md](LIBRARY_IMPORT.md) for the operator workflow. +`POST /api/library/scan/unmatched/ignore` skips a Needs Review folder for good. Body: +`{ rootFolderId, folderName }` (`folderName` is not trimmed and must match the scanned +folder exactly). Returns `{ success: true }`, 400 for invalid input, 404 when the folder +is no longer awaiting review. Later scans skip an ignored folder before listing its files, +unless it is already linked to a game. `GET /api/library/scan/ignored` lists the ignored +folders, and `DELETE /api/library/scan/ignored/:id` restores one (404 when unknown) and +queues a rescan of its root folder so it returns to Needs Review. + `POST /api/library/scan/unmatched/search` requires authentication, CSRF for cookie sessions, and the IGDB rate limiter. Body: `{ rootFolderId, folderName, query }` (trimmed strings, limits 200/1000/200 respectively). Returns an array of @@ -193,6 +202,18 @@ curl -X POST http://localhost:5000/api/imports/naming/preview \ -d '{"pattern":"{Title} ({Year})"}' ``` +## RomM Settings + +Mounted under `/api/settings/romm` (JWT). See [LIBRARY_IMPORT.md](LIBRARY_IMPORT.md#romm-integration) +for what each setting does. + +| Method | Path | Auth Required | Request Body | Response | +| ------ | ------------------------- | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| GET | `/api/settings/romm` | JWT | — | `{ enabled, url, apiToken, platformFolders, syncEnabled, scanAfterImport, lastSync }`; `apiToken` is `"********"` when set | +| POST | `/api/settings/romm` | JWT | Partial `{ enabled?, url? (http/https or empty), apiToken? (≤512), platformFolders?, syncEnabled?, scanAfterImport? }` (strict). A `"********"` token keeps the saved one; an empty token clears it | `{ success: true }`; 400 if a saved token exists and the URL changes without a new token | +| POST | `/api/settings/romm/test` | JWT + `sensitiveEndpointLimiter` | `{ url?, apiToken? }` (strict). Never saved. An omitted, empty or `"********"` token tests with the saved token (sent only to the saved URL), so a blank token cannot be used to test without credentials | `{ success: true, platforms }`; 400 if the URL differs from the saved one without a token; 502 if RomM is unreachable | +| POST | `/api/settings/romm/sync` | JWT + `sensitiveEndpointLimiter` | — | `{ success: true, summary }` (`totalRoms` fetched from RomM, matched, marked owned, already owned, not in library); 502 if the sync fails | + ## Indexers | Method | Path | Auth Required | Request Body | Response | @@ -378,6 +399,34 @@ documented under [Settings](#settings). Per-game blacklist management (`POST`/`GET`/`DELETE /api/games/:gameId/blacklist*`) is documented under [Games](#games). +## Activity and System Tasks + +Mounted under `/api/activity` and `/api/system` (JWT). Activity only sees the requester's own downloads and games. + +| Method | Path | Request | Response | +| ------ | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| GET | `/api/activity/history` | Query: `eventType?` (`grabbed`, `completed`, `imported`, `failed`, `needs_review`, `removed`, `blocklisted`), `search?` (≤200), `limit?` (1–200, default 50), `offset?` (≥0) | `{ events, total }`, newest first; 400 on invalid query | +| DELETE | `/api/activity/blocklist` | — | `{ removed }`: unblocks every release of the user's games | +| GET | `/api/system/tasks` | — | `{ tasks }`: each task has `name`, `title`, `description`, `intervalMs`, `running`, `lastStartedAt`, `lastFinishedAt`, `lastDurationMs`, `lastResult` (`success`\|`error`), `lastError`, `lastTrigger` (`schedule`\|`manual`\|`startup`), `nextRunAt` | +| POST | `/api/system/tasks/:name/run` | — | 202 `{ task }` and the job runs in the background (progress over Socket.io: `task:started`, `task:finished`); 404 unknown task; 409 if already running | + +## Release Scoring + +Authenticated endpoints behind the **Settings → Discovery & Downloads → Release Scoring** card. Each user has one release profile and any number of custom formats; both are created with defaults (and the old preferred release groups converted) the first time they are read. + +| Method | Path | Request body | Response | +| ------ | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| GET | `/api/release-scoring` | — | `{ profile, formats, builtInRules: [{ id, label, points, locked, rejects }] }` | +| PUT | `/api/release-profile` | `{ minScore, protocolPreference: "torrent" or "usenet" or "either", requiredTerms[], ignoredTerms[], minSeeders, maxSizeBytes (or null), builtInOverrides: { : { points?, enabled? } }, formatScores: { : number } }` | The saved profile; 400 for an invalid body or an unknown built-in rule id | +| POST | `/api/custom-formats` | `{ name (1–100 chars), specs[] (1–20), score (−10000 to 10000), hardReject?, enabled? }` | 201 with the format; 400 when a spec is invalid (for example a regex RE2 cannot compile) | +| PATCH | `/api/custom-formats/:id` | Any of the fields above; fields that are not sent keep their value | The updated format; 404 if it does not exist | +| DELETE | `/api/custom-formats/:id` | — | 204, and any per-profile score for that format is removed; 404 if it does not exist | +| POST | `/api/custom-formats/install-defaults` | — | 201 `{ added: [...] }`: the recommended formats that were not there yet (matched by name) | + +A spec is `{ field: "title" or "group" or "uploader" or "category" or "protocol" or "indexer", mode: "contains" or "exact" or "regex", value (1–200 chars), negate?, required? }`. Specs on the same field are alternatives unless marked `required`; every field used must be satisfied. Regexes run on RE2 (no lookarounds) and are case-insensitive. Required and ignored terms are case-insensitive words, or a regex written `/pattern/`. + +Locked built-in rules (a title that is a sequel of, or not, the wanted game, and an executable or disguised file) always apply and always reject, so `enabled: false` is ignored for them; the others can be re-weighted or disabled in `builtInOverrides`. Search results from `GET /api/search` carry an `evaluation` (score, score lines, rejections, matched formats and, when xREL is enabled, an `xrel` verdict of `verified`, `nuked`, `not_found` or `unavailable`, the last meaning the lookup failed or timed out, so it does not show the release is absent). Rejected releases stay in the manual results so the UI can say why. Manual results also carry a `trust` verdict, `{ level: "trusted" or "unverified" or "risky", reasons: [{ code, tone, label, detail? }] }`, derived from the rejections, the xREL result and size, the preferred release group and the blacklist rather than from the score. The `sortBy` auto-download rule also accepts `score`. + ## Steam `server/steam-routes.ts` — 2 routes, mounted directly on the app (no prefix @@ -479,7 +528,9 @@ Across handlers, error responses follow one of these consistent shapes: ```json { "error": "Validation failed", - "details": [/* express-validator error objects: { type, msg, path, location, value } */] + "details": [ + /* express-validator error objects: { type, msg, path, location, value } */ + ] } ``` - **Validation failures (Zod schemas)**: handlers that call @@ -488,7 +539,9 @@ Across handlers, error responses follow one of these consistent shapes: ```json { "error": "Invalid data", - "details": [/* ZodError.errors array */] + "details": [ + /* ZodError.errors array */ + ] } ``` (message text varies per handler, e.g. "Invalid game data", "Invalid @@ -525,7 +578,7 @@ for the full actor/data-flow explanation. Summary: | Event | Emitted from | Payload | Consumed by | | ---------------- | ------------------------------------------------------------------------------------------------ | --------------------- | ---------------------------------------------- | | `notification` | `cron.ts` (game updates, download completion, auto-search results, xREL matches) and `routes.ts` | `Notification` object | `client/src/components/NotificationCenter.tsx` | -| `downloadUpdate` | `cron.ts::checkDownloadStatus` | `gameId: string` | `client/src/components/GameDetailsModal.tsx` | +| `downloadUpdate` | `cron.ts::checkDownloadStatus` | `gameId: string` | `client/src/components/GameDetails.tsx` | Every authenticated socket joins a per-user room, `user:`, during the handshake. Delivery depends on whether the event has an owner: diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index d27c0a8a3..8c8743d11 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -202,7 +202,7 @@ event types are: `client/src/components/NotificationCenter.tsx`. - `"downloadUpdate"` — emitted from `cron.ts::checkDownloadStatus` whenever a tracked download's status changes; consumed by - `client/src/components/GameDetailsModal.tsx` to refresh download state for + `client/src/components/GameDetails.tsx` to refresh download state for the affected game. ## 7. Scheduled/background actors (cron jobs) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index ea8a165a1..06bd114d8 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,82 @@ All notable changes to this project will be documented in this file. +## [Unreleased] + +## [1.6.0] - 2026-10-31 + +### Added + +- **Collections**: group games into manual collections or smart collections whose games are computed from rules (status, platform, genre, rating, release year, title), from the new **Collections** page under Library (#1199). +- **Activity, History and Blocklist**: the Activity section gains **History**, a searchable log of what happened to each download (grabbed, completed, imported, failed, needs review, removed, blocklisted), and **Blocklist**, a list of every release you blocked (previously in settings) (#1195). +- **System Tasks**: Similar to what exists in Sonarr/Radarr, this new page under Activity lists the scheduled background jobs (game updates, download status, auto search, xREL, Steam and RomM sync, RSS feeds, history cleanup...) with their last and next run, and a **Run now** button for each (#1195). +- **Leftover archive warning**: after an import, Questarr raises a warning notification when a finished download still holds archives that are still unpacked, with a hint to turn on Auto-unpack or extract them by hand (#1195). +- **Naming templates**: the import rename pattern now accepts the tokens `{Title}`, `{TitleThe}`, `{Year}`, `{Platform}`, `{Version}`, `{Group}`, `{Source}`, `{IgdbId}`, `{SteamAppId}` and `{Region}` (#1197). See [Library import](LIBRARY_IMPORT.md). +- **RomM integration**: If enabled, it places imports in RomM's platform folders (`snes`, `ps2`, `win`...). You can ask RomM to rescan after an import, and mark wishlist games that RomM already has as owned, from **Settings → Import** (#1202). See [Library import](LIBRARY_IMPORT.md#romm-integration). +- **Game videos**: IGDB trailers and gameplay clips are shown in a carousel on the Media tab of the game details page. They play in a privacy-enhanced YouTube embed that loads only on click (#1194). +- **Release scoring**: every search result now gets a score built from a title match, indexer category, platform and quality rules, a per-user **release profile** (minimum score, preferred protocol, required and ignored terms, minimum seeders, maximum size) and your own **custom formats** (conditions on the title, group, uploader, category, protocol or indexer, each adding or removing points, or rejecting the release outright). + - The manual search shows the score, its breakdown and why a release was rejected + - The auto-search only considers accepted releases, keeps the best-scored copy of a duplicate and orders the rest by score, then preferred protocol, then your sort order. + - Releases the xREL PreDB lists as nuked are rejected, and the search shows an xREL badge. + - Configure it under **Settings → Discovery & Downloads → Release Scoring**, + - Preferred Release Groups card: existing preferred groups become a "Preferred release group" format worth +50 (#1196). + - In the manual download dialog, rejected releases are hidden by default with a badge showing how many: untick **Hide rejected releases** to see them, or set the default under **Auto-download rules** (#1231). +- **Release trust badge**: each search result also shows one verdict, **Trusted**, **Unverified** or **Risky**, with the reasons behind it. The verdict comes from the rejection reasons and facts, not from the score, so changing a rule weight cannot turn a nuked release into a trusted one (#1250). Trust levels: + - Risky means a hard signal: nuked on xREL, an executable or script payload, a video, music or book, or a blacklisted release. + - Trusted needs an accepted release with a clear title match and evidence that is hard to fake: listed on xREL with a size within 25 % of yours, or a preferred release group. + - A name alone on xREL, or an xREL lookup that could not run, stays Unverified. +- **Recommended custom formats**: an **Install recommended formats** button adds a starting set that pushes down crack-only, demo and pre-installed releases, rejects trainers, keygens and activators outright, and favors releases that include updates and DLC and a few trusted repackers. Formats you already have are not duplicated (#1224). +- **Scoped API keys**: API keys now have an access level (all, library write, read, game requests or admin) and an optional expiry of 1 to 365 days, chosen in **Settings → Integrations → API Keys**. The **admin** access lets deployment tooling configure Questarr (download clients, indexers, notifications, settings, import paths) from a script without an interactive login; treat such a key like an administrator login (#1289). +- **SeerrNG/Gameyfin Integration**: In API keys, the new **Game requests (SeerrNG)** access lets SeerrNG request PC games from Questarr through a provider API that follows the QuestarrNG contract. Integration routes are limited to 300 requests per minute per key (#1198). See [SeerrNG](SEERRNG.md), [Gameyfin](GAMEYFIN.md) and [API](API.md#api-keys-management). +- **Release classification**: + - Smart release filtering through machine learning, built in and free. Questarr recognizes patches, DLC, full games and non-game files (software, movies, soundtracks) right on your server, before anything is downloaded. No account, no API key, nothing leaves your network. + - Unsure cases can optionally be double-checked by a cloud model, and anything classified as a patch, DLC or non-game file is held for your review instead of being downloaded blindly (you can also hold releases the classifier cannot decide on). + - In detail, Questarr works out whether a release is the full game, a patch, DLC, an expansion, or something to avoid such as a crack only, demo or soundtrack. A release classified as a patch, DLC, crack only, demo or soundtrack is held for your review instead of being downloaded unattended. + - It applies to automatic downloads and to the manual search results alike, so a release gets one type everywhere. + - Questarr tries fast built-in rules first, then a small local model that ships with Questarr, including the Docker image, and runs offline (trained on 964 labeled releases, #1291), and only asks the optional TypeSafe cloud provider when those cannot decide. + - Pick the mode (`hybrid` by default, `local` to never leave your server, `cloud` for the previous cloud-only check), the confidence threshold and whether unclassified releases are held under **Settings → Discovery & Downloads → Release classification**, with no restart needed (#1258, #1263, #1265, #1266, #1267). +- **Review the classification**: Releases the classifier was unsure about can be kept for you to label under **Settings → Discovery & Downloads → Release classification review**, which flags a disagreement between the cloud and local models and notifies you each time 25 more releases wait for review (#1261, #1262, #1270). You can also share your verified labels with the maintainer to help improve the public model: tick **Share my verified labels automatically** (off by default), and only the release name, game title, label and model version are sent, never anything about your library, with **See what will be sent** showing the exact rows (#1271). See [Release classification](RELEASE_CLASSIFICATION.md) (#1264). +- **Update available badge and filter**: library games with newer update releases on your indexers show an **Update available** badge on their card and on the game page, and a new **Update Available** filter in the Library lists only those games. The plain search-results badge shows only when no update release is waiting (#1240). +- **Backlog roulette game length**: choose a short adventure (up to 5 hours), a weekend quest (up to 15 hours) or a longer journey (up to 40 hours) from the IGDB completion estimate; games without a known estimate stay out of length-filtered draws. See [Backlog roulette](BACKLOG_ROULETTE.md) (#1272). +- **Ignored folders in Library Import**: **Ignore** on a Needs Review folder removes it for good, so later scans skip it before listing its files, for example a Proton build next to your games. An **Ignored Folders** list under Needs Review restores a folder, which queues a rescan of its root folder, see [Library Import](LIBRARY_IMPORT.md) (#1239). +- **Notification links**: set `APP_URL` and Apprise alerts include a link to the page they are about, such as the game, the Downloads page or the right settings tab. See [Notifications](NOTIFICATIONS.md#context-links). + +### Changed + +- **Docker image**: development dependencies are pruned in their own build stage and the final layers are no longer recursively re-owned, so the image ships without them (#1260). As a result, the image is significantly smaller. +- **Game details page**: a game now opens on its own page instead of a pop-up. You can bookmark or share its address, open it in a new tab from the card title or with a middle-click on a card. +- **RSS feed errors**: the error detail on a failing feed is now an accessible tooltip instead of the browser's native one (#1230). +- **Weekly pre-releases**: a weekly workflow publishes a `vX.Y.Z-dev.YYYYMMDD` pre-release and the Docker tags `weekly` and `dev`, never `latest` (#1192). Their notes end with a list of contributors, bots excluded (#1222), counted by commit (#1269). See [Operations](OPERATIONS.md). + +### Fixed + +- **Download search while typing**: the manual download dialog waits a little longer after you stop typing before searching, and a search that a newer one replaces is cancelled instead of piling up requests on your indexers (#1293). +- **Library import**: platform names, folders and Game Gear are now handled correctly (#1212). +- **Auto-search paging**: for a wanted game with many update releases, auto-search keeps paging through indexer results until a main release would survive final selection, instead of stopping on a first page made only of updates (#1214). +- **Usenet downloads**: a download marked failed is restored and imported once NZBGet or SABnzbd no longer reports a failure, for example after you fix a wrong archive password and post-process the item again. Questarr checks failed downloads from the last 14 days every 10 minutes. NZBGet failures now say why (wrong password, unpack, par2 repair, missing articles, malformed NZB, disk space) instead of a bare error, including the `SCAN` and `SPACE` statuses (#1235). +- **Archive password over HTTP**: an NZBGet downloader with **Allow insecure LAN** turned on can send an archive password over plain HTTP again; without that option, the error now suggests it. A request carrying a password or credentials over plain HTTP is no longer sent to another host if the server redirects it, apart from a same-host upgrade to HTTPS (#1235). +- **Home Assistant add-on**: the add-on starts the server with `node` directly instead of through npm (#1208). +- **Recently Released sort**: the Library sort lists games already out first, newest first, then unreleased games soonest first, and games without a date last, instead of putting future releases at the top (#1243). +- **Nintendo Switch dumps**: the Library scan reads the title id in file and folder names (for example `Hades [0100535012974000][v0].nsp`), matches flat files as well as folders, attaches an update or DLC to its base game, strips tags such as `[UPD]`, `[NSZ]` and region codes from the title, and retries IGDB without its platform filter when the filtered search is weak (#1241). +- **Library rescans**: folders already linked to a game are skipped instead of reappearing in Needs Review, and new files in them are still attached (#1234). +- **Manual import Auto-Unpack**: the Unpack Archive switch in the manual import dialog follows your saved Auto-unpack default and picks up a changed default, instead of always starting off; a password-protected retry still turns it on (#1278). +- **IGDB platform and genre lists**: an empty list from IGDB (unconfigured or unreachable) is no longer cached, by the server or by the browser, so the filters recover once IGDB answers again, and platforms are filtered on the current `platform_type` field instead of the deprecated one (#1223). +- **Download-search platform filter**: selecting several consoles, for example Wii and PS3, no longer hides the releases of all but one of them; every platform a release name can express is now understood by the filter (#1281). +- **VirusTotal test button**: the test now uses the complete EICAR file hash, so a valid API key is confirmed instead of failing on a malformed hash (#1279). +- **Legacy session token migration**: a pre-1.5.0 token left in `localStorage` is now carried over as an in-memory bearer token for the current tab and removed from `localStorage`, in a post-commit effect instead of during React render. The app waits for it before calling `/api/auth/me`, which also makes it safe under StrictMode. It is not stored as a cookie, so the next reload asks you to sign in again (#1193). + +### Dependencies + +- Routine updates to production and dev dependencies, GitHub Actions, and `framer-motion` 14, and `follow-redirects` pinned to 1.16.2 and `body-parser` to 2.4.0, with `multer` 2.5.0, for high advisories (#1188, #1189, #1190, #1191, #1205, #1206, #1218, #1219, #1220, #1228, #1229, #1236, #1244, #1245, #1246, #1247, #1249, #1252, #1259, #1288, #1290). + +### Contributors + +Thanks to everyone who contributed to this release: + +- @UnderwaterOverground +- @denial3x +- @JEFF7712 + ## [1.5.0] - 2026-10-12 ### Before you upgrade diff --git a/docs/LIBRARY_IMPORT.md b/docs/LIBRARY_IMPORT.md index ea3a15027..cb9bf02b3 100644 --- a/docs/LIBRARY_IMPORT.md +++ b/docs/LIBRARY_IMPORT.md @@ -89,6 +89,26 @@ its connection test. A detection quarantines the download and produces a Securit Alert instead of importing it. See [SECRETS.md](SECRETS.md) for archive limits and credential handling. +## RomM integration + +[RomM](https://romm.app) scans `/roms//...` and recognizes a +platform from the folder name. The **RomM** card in **Settings → Import** lets +Questarr import into that layout and talk to RomM. Questarr does not ship RomM: +you host your own instance. + +| Setting | Behavior | +| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| RomM platform folders | Imports go to `//` using RomM folder names such as `snes`, `ps2` or `win`. Point the library root at RomM's `roms` folder. A platform without a known RomM name keeps its usual folder. Works without the API. | +| Connect to the RomM API | Needed to rescan RomM and to read its library. Enter the RomM URL and an API token created in RomM under **Profile → Client API Tokens** (read access to platforms and ROMs, plus permission to run tasks for the rescan). | +| Rescan RomM after an import | Queues a RomM library scan once an import finishes. A RomM outage never fails or delays an import. | +| Mark games found in RomM as owned | Every 6 hours, wishlist games that RomM already has become owned. A ROM matches a game by IGDB ID, or by normalized title only when the ROM has no IGDB ID. A title shared by several games is never used. Nothing is created, and playing, shelved or completed games are left alone. | + +Use **Test connection** to check the URL and token without saving them, and +**Sync now** to run the ownership sync on demand. The saved token is only ever +sent to the saved URL, so changing the URL means entering the token again. +Questarr warns when the URL uses `http://`, because the token then travels +unencrypted. The token is encrypted at rest and never returned by the API. + ## How completed downloads are imported Questarr checks completed downloads, translates their paths, determines the @@ -161,9 +181,20 @@ configuration does not delete the directory itself. - Progress shows queued/running/completed/failed status and matched, review, and error counts. Library and Discover refresh when matches are saved, including matches saved before a scan fails. +- A folder already linked to a game, by an earlier scan or a manual match, is not + looked up on IGDB again and never returns to **Needs Review**. A rescan still + attaches any new files found in it. +- Nintendo Switch dumps are recognised by the title id in the file or folder name + (for example `Hades [0100535012974000][v0].nsp`). Flat files match like folders do, and an + update or DLC joins its base game. - Under **Needs Review**, choose a suggested IGDB game or enter a different name in **Not listed? Search IGDB by name**. Search alone does not import the game; clicking a candidate confirms it and adds it to your library. +- **Ignore** removes a folder from Needs Review for good, for example a Proton build + next to your games. Later scans skip it before listing its files, unless it is + already linked to a game. Ignored folders are listed under **Ignored Folders**, where + **Restore** brings one back and queues a rescan of its root folder. Ignore and + candidate matching are disabled while the other is in progress. If a folder is inaccessible, check the mount and the service user's permissions, then use its health-recheck button. If IGDB search fails, the folder stays in diff --git a/docs/OPERATIONS.md b/docs/OPERATIONS.md index aa0b39430..573ffee2d 100644 --- a/docs/OPERATIONS.md +++ b/docs/OPERATIONS.md @@ -63,7 +63,7 @@ deployment workflow, and publication remain maintainer actions. `.github/workflows/weekly-release.yml` runs every Monday at 06:00 UTC (and on demand from the Actions tab). If `main` has new commits since the last tag it: -1. tags `main` as `v-dev.` (for example `v1.5.1-dev.20261019`); +1. tags `main` as `v-dev.` (for example `v1.6.0-dev.20261019`); 2. publishes a GitHub **pre-release** whose notes list the merged pull requests (security and dependency fixes first) any commit pushed straight to `main`, and a closing list of the contributors (PR authors and direct committers, bots excluded); 3. dispatches the Deploy workflow for the `dev` environment, which pushes `ghcr.io/doezer/questarr` and `doezer/questarr` images tagged with the release tag, `weekly` (moves only when a new pre-release is built; follow it to stay on the weekly build) and `dev` (moves with the daily dev build) (multi-arch), built from the tag. `latest` is only moved by production deployments. @@ -76,4 +76,4 @@ The release is published as soon as the image build is dispatched, without waiti ### Registry retention -The daily dev build prunes GHCR (`deploy.yml`): versions tagged only `test-sha-*` and untagged versions older than 15 days are deleted. Weekly images are not affected, because they always carry their dated tag (`v1.5.1-dev.20261019`). The flip side is that those dated tags are never purged automatically and pile up at roughly one multi-arch image per week; delete old ones by hand from the package page when needed. Docker Hub is not pruned by any workflow. +The daily dev build prunes GHCR (`deploy.yml`): versions tagged only `test-sha-*` and untagged versions older than 15 days are deleted. Weekly images are not affected, because they always carry their dated tag (`v1.6.0-dev.20261019`). The flip side is that those dated tags are never purged automatically and pile up at roughly one multi-arch image per week; delete old ones by hand from the package page when needed. Docker Hub is not pruned by any workflow. diff --git a/docs/PRD.md b/docs/PRD.md index 2f3a5653b..5e17d6423 100644 --- a/docs/PRD.md +++ b/docs/PRD.md @@ -1,6 +1,6 @@ # Questarr — Product Requirements Document -**Version:** 1.5.1 +**Version:** 1.6.0 **Date:** 2026-10-12 @@ -128,7 +128,7 @@ Steam owned-library and GOG import, with source tracking and periodic resync. ### External integrations -Playnite is available. RomM, Gameyfin, and generic event webhooks remain planned. +Playnite and RomM are available. Gameyfin and generic event webhooks remain planned. ### Ongoing quality diff --git a/docs/docs.json b/docs/docs.json index a1e116ed6..e333c19df 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -26,7 +26,7 @@ }, { "group": "Discovery & notifications", - "pages": ["INDEXERS", "RSS", "NOTIFICATIONS"] + "pages": ["INDEXERS", "RSS", "NOTIFICATIONS", "RELEASE_CLASSIFICATION"] }, { "group": "Deployment", diff --git a/doezer-questarr/umbrel-app.yml b/doezer-questarr/umbrel-app.yml index 3808ef0c2..46be85b84 100644 --- a/doezer-questarr/umbrel-app.yml +++ b/doezer-questarr/umbrel-app.yml @@ -2,7 +2,7 @@ manifestVersion: 1 id: doezer-questarr category: media name: Questarr -version: "1.5.1" +version: "1.6.0" tagline: Discover, track and download your video games description: >- Questarr is a video game management application inspired by the *Arr apps (Sonarr, Radarr, diff --git a/package-lock.json b/package-lock.json index 9d43af786..9a72c32c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "questarr", - "version": "1.5.1", + "version": "1.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "questarr", - "version": "1.5.1", + "version": "1.6.0", "license": "GPL-3.0-only", "dependencies": { "@fontsource-variable/inter": "^5.3.0", diff --git a/package.json b/package.json index 67f2f8aa7..f46dbfa92 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "questarr", - "version": "1.5.1", + "version": "1.6.0", "description": "A video game management application inspired by the -Arr apps. Track and organize your video game collection with automated discovery and download management.", "type": "module", "packageManager": "npm@11.7.0", diff --git a/questarr/Dockerfile b/questarr/Dockerfile index 6d7f6e8e0..3048ec80b 100644 --- a/questarr/Dockerfile +++ b/questarr/Dockerfile @@ -1,7 +1,7 @@ # NOSONAR - ha-entrypoint.sh must run as root to chown /data before su-exec drops to questarr FROM ghcr.io/doezer/questarr:latest ARG BUILD_ARCH=amd64 -ARG QUESTARR_VERSION=1.5.1 +ARG QUESTARR_VERSION=1.6.0 LABEL \ io.hass.name="Questarr" \ diff --git a/questarr/config.yaml b/questarr/config.yaml index 58cf0c03e..9502505f1 100644 --- a/questarr/config.yaml +++ b/questarr/config.yaml @@ -1,5 +1,5 @@ name: Questarr -version: "1.5.1" +version: "1.6.0" slug: questarr description: Questarr is an *Arr-inspired game manager that helps you discover, track, and automatically download the games you want. url: "https://github.com/Doezer/Questarr"