Commit Graph

9735 Commits

Author SHA1 Message Date
Georges-Antoine Assi
797d33abfb Merge pull request #3525 from rommapp/dependabot/npm_and_yarn/frontend/js-yaml-4.2.0
build(deps-dev): bump js-yaml from 4.1.1 to 4.2.0 in /frontend
2026-06-15 18:32:37 -04:00
Georges-Antoine Assi
e55ce4d139 Merge pull request #3523 from rommapp/copilot/bugfix-bypass-autologin-feature
Fix bypass_autologin overwritten by 403 interceptor during app initialization
4.9.1
2026-06-15 13:51:21 -04:00
dependabot[bot]
d124747eaa build(deps-dev): bump js-yaml from 4.1.1 to 4.2.0 in /frontend
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.1 to 4.2.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/commits)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.2.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-15 17:47:57 +00:00
Georges-Antoine Assi
ccb8d400e9 run fmt 2026-06-15 13:47:32 -04:00
Georges-Antoine Assi
05c1f88869 Merge pull request #3524 from rommapp/override-rolldown
Override rolldown version
2026-06-15 13:43:25 -04:00
Georges-Antoine Assi
2cb60a67eb override rolldown 2026-06-15 13:26:49 -04:00
copilot-swe-agent[bot]
0bdba15aca Fix bypass_autologin being overwritten by 403 interceptor during app init
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com>
2026-06-15 17:09:44 +00:00
copilot-swe-agent[bot]
2d34e8d040 Initial plan 2026-06-15 16:52:21 +00:00
Georges-Antoine Assi
26b9ca8f03 Merge pull request #3516 from rommapp/copilot/bug-fix-assign-system-folder
Fix config.yml serialization breaking folder-to-platform mappings
4.9.1-beta.1
2026-06-13 16:16:36 -04:00
Georges-Antoine Assi
2246ea3879 fix tests 2026-06-13 15:39:55 -04:00
Georges-Antoine Assi
45416c99f1 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-13 13:45:11 -04:00
Georges-Antoine Assi
694a439629 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-13 13:45:04 -04:00
Georges-Antoine Assi
fe4193d01d write stirng to update config file 2026-06-13 07:33:17 -04:00
copilot-swe-agent[bot]
fd61895e07 Fix config.yml gamelist media serialization
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com>
2026-06-13 11:14:20 +00:00
copilot-swe-agent[bot]
e7734d2026 Initial plan 2026-06-13 11:07:21 +00:00
Georges-Antoine Assi
783c3d844d Merge pull request #3514 from rommapp/dependabot/npm_and_yarn/frontend/multi-d21acff082
build(deps): bump esbuild, vite, @tailwindcss/vite, @vitejs/plugin-vue, vite-plugin-pwa and vite-plugin-static-copy in /frontend
2026-06-12 19:01:50 -04:00
Georges-Antoine Assi
145916e491 Merge pull request #3513 from rommapp/dependabot/uv/tornado-6.5.6
build(deps): bump tornado from 6.5.5 to 6.5.6
2026-06-12 19:01:01 -04:00
dependabot[bot]
12f1619e04 build(deps): bump esbuild, vite, @tailwindcss/vite, @vitejs/plugin-vue, vite-plugin-pwa and vite-plugin-static-copy
Removes [esbuild](https://github.com/evanw/esbuild). It's no longer used after updating ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite), [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite), [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue), [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) and [vite-plugin-static-copy](https://github.com/sapphi-red/vite-plugin-static-copy). These dependencies need to be updated together.


Removes `esbuild`

Updates `vite` from 6.4.2 to 8.0.16
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.0.16/packages/vite)

Updates `@tailwindcss/vite` from 4.2.1 to 4.3.1
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/@tailwindcss-vite)

Updates `@vitejs/plugin-vue` from 5.2.4 to 6.0.7
- [Release notes](https://github.com/vitejs/vite-plugin-vue/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@6.0.7/packages/plugin-vue)

Updates `vite-plugin-pwa` from 0.21.2 to 1.3.0
- [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases)
- [Commits](https://github.com/vite-pwa/vite-plugin-pwa/compare/v0.21.2...v1.3.0)

Updates `vite-plugin-static-copy` from 3.2.0 to 3.4.0
- [Release notes](https://github.com/sapphi-red/vite-plugin-static-copy/releases)
- [Changelog](https://github.com/sapphi-red/vite-plugin-static-copy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sapphi-red/vite-plugin-static-copy/compare/vite-plugin-static-copy@3.2.0...vite-plugin-static-copy@3.4.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version:
  dependency-type: indirect
- dependency-name: vite
  dependency-version: 8.0.16
  dependency-type: direct:development
- dependency-name: "@tailwindcss/vite"
  dependency-version: 4.3.1
  dependency-type: direct:development
- dependency-name: "@vitejs/plugin-vue"
  dependency-version: 6.0.7
  dependency-type: direct:development
- dependency-name: vite-plugin-pwa
  dependency-version: 1.3.0
  dependency-type: direct:development
- dependency-name: vite-plugin-static-copy
  dependency-version: 3.4.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-12 22:36:20 +00:00
dependabot[bot]
321efc3518 build(deps): bump tornado from 6.5.5 to 6.5.6
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.5.5 to 6.5.6.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.5.5...v6.5.6)

---
updated-dependencies:
- dependency-name: tornado
  dependency-version: 6.5.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-12 22:07:55 +00:00
Georges-Antoine Assi
788527ad61 Merge pull request #3508 from rommapp/copilot/bug-fix-romm-folder-structure
fix: Structure A always takes priority over Structure B in library detection
2026-06-12 15:14:49 -04:00
Georges-Antoine Assi
49ef5097e4 fix: split structure detection into has_structure_path_a, fail loudly on bad layouts
Extract has_structure_path_a as its own cached property and have
has_structure_path_b delegate to it, removing duplicated isdir checks.
detect_library_structure and get_platforms_directory now read the named
properties instead of re-implementing the roms-path check inline.

Keep the inconclusive/bad-structure fallback defaulting to Structure A so
a malformed library raises FolderStructureNotMatchException rather than
listing the bare library root as a flat list of platforms.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 14:59:01 -04:00
copilot-swe-agent[bot]
788d454d98 fix: prioritize Structure A over Structure B in library structure detection
When a top-level `roms/` folder exists (Structure A), never detect the
library as Structure B, even if individual `<platform>/roms/` directories
also exist. This prevents existing Structure A libraries from being broken
after upgrading to 4.9.0.

- `has_structure_path_b` in `config_manager.py` now returns `False` early
  when `{LIBRARY_BASE_PATH}/{ROMS_FOLDER_NAME}` is an existing directory
- `detect_library_structure()` in `platforms_handler.py` now explicitly
  checks Structure A (`os.path.exists(roms_path)`) before consulting
  `cnfg.has_structure_path_b`
- Updated test to assert Structure A wins when both layouts coexist

Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com>
2026-06-12 16:35:01 +00:00
copilot-swe-agent[bot]
4ccad8ba17 Initial plan 2026-06-12 16:13:37 +00:00
Georges-Antoine Assi
2920ca96cf Merge pull request #3504 from rommapp/dependabot/uv/urllib3-2.7.0
Bump urllib3 from 2.6.3 to 2.7.0
4.9.0
2026-06-10 15:50:29 -04:00
dependabot[bot]
d38709a8d8 Bump urllib3 from 2.6.3 to 2.7.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.6.3...2.7.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.7.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-10 18:54:12 +00:00
Georges-Antoine Assi
2e89f85625 Merge pull request #3500 from Spinnich/fix/ra-hash-folder-disc-games
fix(ra): hash folder-based disc ROMs (.cue + .bin) for RetroAchievements
4.9.0-beta.3
2026-06-10 07:27:55 -04:00
Georges-Antoine Assi
8b9c3d3166 Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-10 07:01:19 -04:00
Georges-Antoine Assi
99e8f08513 Use mD5/shA1 keys in Hasheous lookup payload
Match the json-patch camelCase key names the Hasheous endpoint expects,
and update the lookup_rom test assertions accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 09:36:31 -04:00
Spinnich
f4e39c19bc fix(ra): hash folder-based disc ROMs (.cue + .bin) for RetroAchievements
Folder-stored disc games (the standard Redump .cue + .bin layout, .gdi
sets, multi-bin, etc.) never matched RetroAchievements. roms_handler
builds an `ra_path` ending in `/*` when the folder has no .chd, and
RAHasherService only rescued that glob for folders containing archives.
A folder of plain uncompressed tracks fell through, so the literal `*`
reached RAHasher via create_subprocess_exec (no shell to expand it),
which failed with "Could not open track" and stored an empty ra_hash.

Resolve the `/*` glob to a single real file before spawning RAHasher:
prefer a disc descriptor (.cue/.gdi/.m3u), which RAHasher follows to the
referenced tracks, otherwise fall back to the largest file in the folder
(raw .iso/.bin, or the main file of a multi-file cartridge set). This
mirrors the existing "pick the largest .chd" handling for CHD folders.

Fixes #3497.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 13:13:07 +00:00
Georges-Antoine Assi
69a7a13603 Merge pull request #3498 from rommapp/hasheous-lookup-all-hashes
Send all top-level file hashes to Hasheous lookup
2026-06-09 08:08:36 -04:00
Georges-Antoine Assi
08e8821b4b Fix mypy types in Hasheous _request and lookup_rom
Annotate request_kwargs as dict[str, Any] to accept the list json payload,
and file_hashes as dict[str, str | None] so the chd_sha1_hash branch and the
md5/sha1/crc branch unify cleanly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 07:54:33 -04:00
Georges-Antoine Assi
650ab6925c Send all top-level file hashes to Hasheous lookup
The Hasheous ByHash endpoint now accepts an array of hash objects rather
than a single one. Send the hashes of every top-level file (using
chd_sha1_hash exclusively for files that have one) to improve lookup
accuracy, instead of picking only the largest file.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 07:43:44 -04:00
Georges-Antoine Assi
f4960386e5 Merge pull request #3495 from rommapp/copilot/fix-smart-collection-crash
Fix smart collection status filter normalization for multi-value legacy payloads
4.9.0-beta.2
2026-06-08 12:01:28 -04:00
Georges-Antoine Assi
8366e288af run fmt 2026-06-08 11:53:42 -04:00
Georges-Antoine Assi
3f26398093 Merge pull request #3494 from rommapp/copilot/fix-safari-bezel-asset-error
Handle missing console bezel assets without rendering Safari broken-image overlay
2026-06-08 11:52:34 -04:00
Georges-Antoine Assi
3df3a8c712 Merge pull request #3490 from tmgast/feature/roms-list-include-expansions
Add opt-in files/siblings expansion to GET /api/roms
2026-06-08 11:31:41 -04:00
Georges-Antoine Assi
f077484b55 fix tests 2026-06-08 11:22:14 -04:00
Georges-Antoine Assi
cd101758fd cleanup for simplicity 2026-06-08 11:13:15 -04:00
Georges-Antoine Assi
036cf108f4 sinmplify siblings 2026-06-08 10:25:27 -04:00
copilot-swe-agent[bot]
7ab4052f93 Fix legacy smart collection status list normalization
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com>
2026-06-08 12:25:56 +00:00
copilot-swe-agent[bot]
a7751c55cd fix(console): hide bezel overlay when bezel asset fails to load
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com>
2026-06-08 12:17:15 +00:00
copilot-swe-agent[bot]
ed700c0075 Initial plan 2026-06-08 12:15:31 +00:00
copilot-swe-agent[bot]
0ff47ca5c2 Initial plan 2026-06-08 12:12:04 +00:00
nendo
cfdeab589a Derive sibling_ids from expanded siblings 2026-06-08 11:26:15 +09:00
nendo
f722d9234f Remove comment on files field 2026-06-08 10:57:54 +09:00
Georges-Antoine Assi
31512136a5 Merge pull request #3485 from rommapp/claude/fervent-bohr-4Db3f
Add rate limiting to metadata service API requests
2026-06-07 16:03:39 -04:00
Georges-Antoine Assi
5a5ae26590 changes from bot review 2026-06-07 15:16:40 -04:00
Georges-Antoine Assi
6acea1339f cahnges from bot review 2026-06-07 13:54:01 -04:00
Georges-Antoine Assi
41fd1eb6f1 wrap debugpy in DEV_MODE 2026-06-07 13:03:23 -04:00
Georges-Antoine Assi
e1bb3901b4 add debuggability 2026-06-07 09:16:50 -04:00