Commit Graph

10568 Commits

Author SHA1 Message Date
Georges-Antoine Assi
759ebb04d8 Merge pull request #3748 from rommapp/gantoine-patch-1
Remove RommBrowser from README
2026-07-14 20:32:46 -04:00
Georges-Antoine Assi
7d952a3291 Merge pull request #3747 from rommapp/posthog-code/fix-upload-platform-selection
fix: resolve upload platform selection collisions
2026-07-14 18:55:33 -04:00
Georges-Antoine Assi
5d741766a1 Remove RommBrowser from README
Removed RommBrowser entry from the Desktop section of the README.
2026-07-14 18:52:45 -04:00
Georges-Antoine Assi
4c5915d4de fix: use unique platform keys for uploads
Generated-By: PostHog Code
Task-Id: fcbd5fb2-f07c-4741-8cce-e53650f808d0
2026-07-14 17:07:18 -04:00
Georges-Antoine Assi
76bb94878f Merge pull request #3745 from rommapp/posthog-code/live-scan-platform-games
fix: remove deleted games from gallery store
5.0.0-beta.5
2026-07-14 10:15:11 -04:00
Georges-Antoine Assi
c43cd261c9 fix: refresh gallery metadata after deletions
Generated-By: PostHog Code
Task-Id: b131c873-6e03-47dd-bf51-c99f01ef1f5f
2026-07-14 10:04:01 -04:00
Georges-Antoine Assi
e20f842a1a fix: refresh gallery after scanned ROMs
Generated-By: PostHog Code
Task-Id: b131c873-6e03-47dd-bf51-c99f01ef1f5f
2026-07-14 09:49:14 -04:00
Georges-Antoine Assi
ea6f3fba8f perf: avoid array allocation in live ROM lookup
Generated-By: PostHog Code
Task-Id: b131c873-6e03-47dd-bf51-c99f01ef1f5f
2026-07-14 09:43:07 -04:00
Georges-Antoine Assi
807ae86bcf fix: skip live gallery inserts for filtered views
Generated-By: PostHog Code
Task-Id: b131c873-6e03-47dd-bf51-c99f01ef1f5f
2026-07-14 09:41:19 -04:00
Georges-Antoine Assi
d0e5efc85b revert: stop updating gallery store in legacy dialog
Generated-By: PostHog Code
Task-Id: b131c873-6e03-47dd-bf51-c99f01ef1f5f
2026-07-14 09:39:39 -04:00
Georges-Antoine Assi
4f12eeb7d4 fix: remove deleted games from gallery store
Generated-By: PostHog Code
Task-Id: b131c873-6e03-47dd-bf51-c99f01ef1f5f
2026-07-14 09:36:19 -04:00
zurdi
7f94fdbfb6 Add official apps section to README 2026-07-14 07:19:12 +00:00
Georges-Antoine Assi
dc07c1cf25 fix: show scanned games in active platform list
Generated-By: PostHog Code
Task-Id: b131c873-6e03-47dd-bf51-c99f01ef1f5f
2026-07-13 21:46:03 -04:00
Georges-Antoine Assi
66596c8561 Merge pull request #3737 from rommapp/posthog-code/hide-cover-art-attribution-link
fix(ui): remove cover-art attribution link on details pages
5.0.0-beta.4
2026-07-13 14:42:36 -04:00
Georges-Antoine Assi
e8a737025c Merge pull request #3740 from rommapp/posthog-code/screenscraper-dev-creds-build-time
feat: inject ScreenScraper dev credentials at build time
2026-07-13 14:35:14 -04:00
Georges-Antoine Assi
bf3366fa41 Merge pull request #3738 from QuaiGoner/patch-2
Update README featured projects
2026-07-13 14:23:19 -04:00
Georges-Antoine Assi
600cbcc38f remove unused link 2026-07-13 14:21:39 -04:00
Georges-Antoine Assi
7b8d523861 Fix links for mobile and handheld apps in README
Updated links for archived Android app and corrected DeckyRommSync reference.
2026-07-13 14:09:32 -04:00
Georges-Antoine Assi
355ee14352 feat: inject ScreenScraper dev credentials at build time
Remove the hardcoded (base64-obfuscated) ScreenScraper developer
credentials from the source tree and read them from the
SCREENSCRAPER_DEV_ID / SCREENSCRAPER_DEV_PASSWORD environment variables
instead.

The official images bake the values in at build time from CI secrets via
Docker build args; local builds and source runs read them from the
environment. env.template documents the vars (commented out) so an empty
value never overrides the image's built-in credentials.

Generated-By: PostHog Code
Task-Id: 05a9b58b-4c64-4f75-af3e-d27cc4c5702f
2026-07-13 13:06:31 -04:00
Georges-Antoine Assi
7caa3f1297 fix(ui): remove cover-art attribution link on details pages
The "Cover art provided by X" line linked to rom.url_cover, which for
ScreenScraper contains a media download URL with embedded credentials.
Render the source name as plain text so credentials are not exposed in
the UI, while the URL stays stored in the database unchanged.

Fixes #3612

Generated-By: PostHog Code
Task-Id: 038e1de3-16ac-4f2b-8ae0-b4dade2f8ef9
2026-07-13 12:59:02 -04:00
Kirill Reprintsev
a4564223ab Update README.md 2026-07-13 23:58:01 +07:00
Georges-Antoine Assi
167f08fbde Merge pull request #3732 from rommapp/hotfix-media-upload
Hotfix upload buttons in media tabs
2026-07-13 12:52:47 -04:00
Georges-Antoine Assi
a5e71aafd6 make them full width 2026-07-13 12:46:35 -04:00
Georges-Antoine Assi
579c606714 readd upload buttons at bottom 2026-07-13 12:44:27 -04:00
Georges-Antoine Assi
5f059149c8 Hotfix upload buttons in media tabs 2026-07-13 08:26:56 -04:00
Georges-Antoine Assi
dc0ea8db7d Merge pull request #3729 from abduznik/patch-1
Add Freegosy to community tab in README
2026-07-12 11:37:31 -04:00
Georges-Antoine Assi
b858c7fb94 run fmt 2026-07-12 10:58:29 -04:00
abduznik
ec59266c77 minor comma that was added by mistake
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-12 16:43:26 +03:00
abduznik
1f69a5bec6 Add Freegosy to community tab in README 2026-07-12 16:39:07 +03:00
Georges-Antoine Assi
275d3a8d01 Merge pull request #3724 from rommapp/posthog-code/discard-chroma-key-placeholder-art
fix(backend): discard ScreenScraper chroma-key green placeholder art
2026-07-11 08:21:48 -04:00
Georges-Antoine Assi
579e12574c fix(backend): discard ScreenScraper chroma-key green placeholder art
ScreenScraper serves a solid chroma-key green (#00FF00) square when a
requested image (box-2D front/back/side) doesn't exist. RomM stored it as
real artwork, so the v2 3D box painted a bright green face and the flat
cover showed green in the gallery.

Detect the placeholder at download time and drop it: covers fall back to
the procedural placeholder, and a discarded box-2D face falls back to the
dark cover placeholder the box already paints (rather than bright green).

- Add _is_chroma_key_placeholder + _discard_if_chroma_key in the resources
  handler; wire into _store_cover and store_media_file.
- store_media_file also cleans up pre-existing green files on rescan.

Generated-By: PostHog Code
Task-Id: 5534668f-a2b6-4575-b6c1-73dcd965062c
2026-07-11 07:57:36 -04:00
Georges-Antoine Assi
bc2b8917e6 Merge pull request #3723 from rommapp/posthog-code/ci-freeze-frontend-v1
ci: fail PRs that modify the frozen frontend v1 UI
2026-07-10 18:28:01 -04:00
Georges-Antoine Assi
cbf134a576 Update .github/workflows/frontend-v1-frozen.yml
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-07-10 18:10:21 -04:00
Georges-Antoine Assi
70cddb8984 ci: fail PRs that modify the frozen frontend v1 UI
The v1 UI (frontend/src/{views,components,console,layouts}) is frozen and
slated for deletion; new frontend work belongs in frontend/src/v2/. This
workflow fails any PR that touches v1 UI files, with an "allow-v1-changes"
label escape hatch for sanctioned critical bug fixes.

Generated-By: PostHog Code
Task-Id: 55fda8a5-426e-479d-8221-26a8437e57bb
2026-07-10 18:00:37 -04:00
Georges-Antoine Assi
dea86e392d Merge pull request #3716 from TowyTowy/fix/2236-metadata-handler-fault-tolerance
fix(scan): make Hasheous and SteamGridDB scan lookups fault-tolerant in the metadata handlers
2026-07-10 10:38:20 -04:00
Georges-Antoine Assi
55d55bb1d1 Merge pull request #3719 from wolfg1969/patch-1
Fixed the translation of "player-count"
2026-07-10 09:51:46 -04:00
Georges-Antoine Assi
db7118ab74 Merge pull request #3717 from rommapp/manual-details-invisible
fix(frontend): restore manual display and extract ManualSubtab
2026-07-10 09:48:14 -04:00
Georges-Antoine Assi
86796fac5b fix(frontend): restore -webkit-line-clamp on now-playing title
Keep the prefixed clamp alongside the unprefixed property so long
soundtrack titles still clamp to two lines in Safari and older Chromium.

Generated-By: PostHog Code
Task-Id: 1d54c00b-3d49-435b-8a16-971389d1382d
2026-07-10 09:44:11 -04:00
Georges-Antoine Assi
8e1a0e9f8b fix(frontend): restore manual upload path for existing-manual ROMs
Wrap the manual viewer in an overlay RDropzone and add an Upload button to
the header (shown whenever a manual exists) so users can add another manual
to a ROM that already has one, via drag-and-drop or the picker. The overlay
fill gets a min-height so the flex chain doesn't collapse the viewer.

Generated-By: PostHog Code
Task-Id: 1d54c00b-3d49-435b-8a16-971389d1382d
2026-07-10 09:41:09 -04:00
wolfg
0b258fb9a3 Fixed the translation of "player-count" 2026-07-10 21:35:05 +08:00
Georges-Antoine Assi
3410095348 refactor(frontend): extract manual viewer into ManualSubtab
Move the Media tab's manual (PDF/Markdown) panel out of MediaTab.vue into
a self-contained ManualSubtab.vue, mirroring ArtworkSubtab. The subtab now
owns its own scroll (flex column filling the content height) so the viewer
keeps its internal scroll and switching subtabs never forces an outer
scrollbar.

Generated-By: PostHog Code
Task-Id: 1d54c00b-3d49-435b-8a16-971389d1382d
2026-07-10 08:10:08 -04:00
Georges-Antoine Assi
008da3f89c force manuals to display again in details view 2026-07-10 08:01:06 -04:00
TowyTowy
27a013b1fd fix(scan): make Hasheous and SteamGridDB scan lookups fault-tolerant
HasheousHandler.lookup_rom and SGDBBaseHandler.get_details_by_names now
resolve to an empty match instead of raising, matching the best-effort
pattern already used by PlaymatchHandler.lookup_rom and
SGDBBaseHandler.get_rom_by_id, so one failing provider can't abort a
scan or discard the other providers' results (#2236).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 10:53:00 +02:00
Georges-Antoine Assi
c81caf7c2b Merge pull request #3713 from rommapp/posthog-code/fix-config-parse-error-surfacing
fix: surface config.yml parse errors instead of silently using defaults
5.0.0-beta.3
2026-07-09 20:47:32 -04:00
Georges-Antoine Assi
2a65371a64 fix: only return config parse error to authenticated users
The raw PyYAML parser error embeds the config file path and line context.
The /config endpoint is unauthenticated, so gate CONFIG_FILE_PARSE_ERROR
behind auth like EJS_NETPLAY_ICE_SERVERS, returning None to anonymous callers.

Generated-By: PostHog Code
Task-Id: 3d4f28a8-5157-4ca4-97a6-f283f5d6329e
2026-07-09 20:18:12 -04:00
Georges-Antoine Assi
d200fa4408 Merge pull request #3714 from rommapp/posthog-code/fix-manual-inline-viewer
fix(backend): serve PDF/Markdown manuals inline so the viewer can render them
2026-07-09 20:14:00 -04:00
Georges-Antoine Assi
8e74790d25 fix: clear stale config parse error on missing/recreated config
_config_file_parse_error was only reset inside _safe_load_yaml, so the
FileNotFoundError paths (get_config and _create_missing_config_file) that
bypass it kept a stale error. Deleting a malformed config could then still
report a YAML error for the new empty config. Reset the flag in both paths.

Generated-By: PostHog Code
Task-Id: 3d4f28a8-5157-4ca4-97a6-f283f5d6329e
2026-07-09 19:58:42 -04:00
Georges-Antoine Assi
d587fc7034 fix(backend): scope inline document serving to manual-category files
Serving any .pdf/.md file inline by extension also flipped game/extra files
from downloads to inline. Gate the document check on RomFileCategory.MANUAL so
only manuals render inline; other files keep the attachment behavior.

Generated-By: PostHog Code
Task-Id: 73be371c-908a-4f9f-9748-7ddba2df71e2
2026-07-09 19:56:53 -04:00
Georges-Antoine Assi
e95281748d fix: show config parse error and writable warnings independently
A mounted config file can be both malformed and not writable at once. The
v-else-if chain hid the not-writable warning when a parse error was present,
even though edit controls stay disabled. Show both alerts independently when
the file is mounted.

Generated-By: PostHog Code
Task-Id: 3d4f28a8-5157-4ca4-97a6-f283f5d6329e
2026-07-09 19:54:33 -04:00
Georges-Antoine Assi
def9258636 fix(backend): serve PDF/Markdown manuals inline so the viewer can render them
Uploaded manual files (RomFile with category="manual") were served from the
content endpoint as application/octet-stream + attachment, so the in-page
manual viewer showed a blank area while nav buttons and download still worked.

Include .pdf and .md in is_allowed_media_file (with explicit MIME overrides)
so they are served inline, and set X-Content-Type-Options: nosniff on inline
responses so a Markdown manual can't be sniffed into HTML.

Fixes #3712

Generated-By: PostHog Code
Task-Id: 73be371c-908a-4f9f-9748-7ddba2df71e2
2026-07-09 19:38:16 -04:00