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
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
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
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
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
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
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
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>
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
_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
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
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
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