Commit Graph

4861 Commits

Author SHA1 Message Date
Georges-Antoine Assi
76f0fc6cd8 i18n: mention the collections page in the autogenerated toggle
The en_US/en_GB description gained the collections page; carry that into
the other 16 locales so the toggle doesn't describe two of its three
surfaces everywhere but English.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 22:08:58 -04:00
Georges-Antoine Assi
4166ca6477 test(collections): pin the ?kind=virtual reset to the URL
The fallback test only read the rendered list, so it passed whether the
view cleared the query param or merely reset its local filter, and it
seeded the preference before mount so the runtime flip went uncovered.

Hold the setting in a live ref the tests can flip after mount, assert the
router.replace that drops the param, and add the turn-it-off-while-
filtered case.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 22:08:13 -04:00
Spinnich
69501c00a8 fix(collections): honor "Show autogenerated collections" on /collections
The v2 collections index fetched and rendered virtual collections
regardless of the `showVirtualCollections` UI setting, so users who
turned the toggle off still got them on the page the v2 UI makes the
primary home for collections. The v2 home page already gates on it,
leaving the two sibling views disagreeing about the same preference.

Read the setting (and the virtual collection type) from useUISettings
rather than raw localStorage, skip the fetch and the list entries when
it is off, drop the virtual option from the toolbar's kind cluster, and
snap a stale `?kind=virtual` back to `all`.

Fixes #4348

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 22:31:40 +00:00
Georges-Antoine Assi
5837ac3df9 refactor(config): name the two default dir lists for what they exclude
DEFAULT_EXCLUDED_DIRS only ever seeded EXCLUDED_PLATFORMS, but its name
implied it was the general directory list, which is how the media folders
came to be added to it in the first place. Rename it and its superset to
DEFAULT_EXCLUDED_PLATFORM_DIRS and DEFAULT_EXCLUDED_MULTI_FILE_DIRS, and
spell out what a multi-file ROM is.

DEFAULT_EXCLUDED_FILES and DEFAULT_EXCLUDED_EXTENSIONS keep their generic
names: each still feeds both a single-file and a multi-file-parts exclusion.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-04 16:42:43 -04:00
Georges-Antoine Assi
65b2a050c1 refactor(gamelist): give the ES-DE media folder names one home
Fold the exporter's folder map and the importer's ESDE_MEDIA_MAP into a
single GAMELIST_MEDIA_DIRS, so writing, reading and skipping a media type
is one edit. This also picks up thumbnails/, which the scan exclusions were
missing, and drops the hand-appended "images" literal.

Serve the multi-file defaults pre-unioned as DEFAULT_EXCLUDED_MULTI_DIRS so
neither UI has to re-join two lists; v1 was still mapping EXCLUDED_MULTI_FILES
to DEFAULT_EXCLUDED_DIRS and rendering the media dirs as deletable.

Collapse the per-tag asset loop and the bespoke <mix> block into one table
keyed by tag, and skip fnmatch for the exclusion patterns that hold no glob
characters, now that the multi-file list is more than twice as long.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-04 16:19:55 -04:00
Georges-Antoine Assi
aff25e5013 Merge branch 'master' into claude/github-issue-4226-eab53e 2026-09-04 16:06:33 -04:00
Georges-Antoine Assi
5cc6a98c1b refactor(v2): name the rom refetch for what it touches
`refetchCurrentRom` no longer reads or writes `currentRom`: `syncCachedRom`
owns that write and applies the identity guard. The name promised a function
that acts on the open rom; it fetches the rom it is given and applies it
wherever it is cached, so `refetchRom` is what it does.

Also trims the two comments that had grown past what they explain.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-04 15:54:44 -04:00
Georges-Antoine Assi
ccc950f72e refactor(scan): let the terminal event own the progress flush
`scan_platforms` ends in four places, and three of them had to remember to
flush the counters a coalesced increment held back. The fourth, the early
return on a folder structure it cannot read, did not, and was correct only
because it sits above the first report. `finish` pairs the flush with the
emit so every exit gets both, including that one.

The failure path's guard around the flush goes with it. It was protecting
against an emit that fails, one line above an emit that would fail the same
way and is not protected, and `update_job_meta` already swallows its own
errors, so it bought nothing.

Also: `refetchCurrentRom` wrote `currentRom` twice, once directly and again
through `syncCachedRom`, which owns that write and applies the same identity
guard. `useRomScanRefresh` kept an `alive` check that `useSocketEvent`'s
unsubscribe already covers; its test was passing on the check rather than the
unsubscribe, so the socket mock now actually unsubscribes. DeleteManualDialog
was the tenth surface still spelling out the refetch by hand, and seven
components kept a rom store binding nothing reads any more.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-04 15:42:20 -04:00
Georges-Antoine Assi
51e0f0fc2e Merge remote-tracking branch 'origin/master' into perf/scan-progress-coalesce
# Conflicts:
#	backend/endpoints/sockets/scan.py
2026-09-04 15:23:43 -04:00
Sam Dornan
ca4e6d28b4 fix(config): keep scraper media folders out of platform exclusion
DEFAULT_EXCLUDED_DIRS feeds both EXCLUDED_PLATFORMS and
EXCLUDED_MULTI_FILES, so listing the gamelist media folders there also
hid any platform directory that happened to share a name. The media
folders now live in DEFAULT_EXCLUDED_MEDIA_DIRS and only join the
multi-file exclusions.

The config response exposes the new list so the settings UI keeps
treating those entries as read-only defaults instead of offering a
remove action that the next config load would undo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-04 10:24:15 -05:00
Georges-Antoine Assi
8db38f3322 Merge remote-tracking branch 'origin/master' into feature/sigil-title-ids-followups
# Conflicts:
#	backend/handler/filesystem/roms_handler.py
#	backend/tests/endpoints/sockets/test_scan.py
2026-09-04 10:33:45 -04:00
Georges-Antoine Assi
e186710d82 Merge pull request #4322 from sdornan/claude/github-issue-4321-54e972
fix(v2): read the date picker's value in UTC, not local time
2026-09-03 22:32:10 -04:00
Georges-Antoine Assi
0e0e4fefa9 Merge branch 'master' into fix/threaded-core-https-error-message
Conflict in the v2 EmulatorJS player was an import collision only: master
added useUnloadGuard where this branch added useSnackbar. Kept both.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 22:05:10 -04:00
Georges-Antoine Assi
55a1152256 cleanup 2026-09-03 22:01:56 -04:00
Georges-Antoine Assi
97db058105 Merge pull request #4308 from rommapp/feat/confirm-before-leaving-player
feat(player): confirm before leaving a running game
2026-09-03 21:45:42 -04:00
Georges-Antoine Assi
7b3b537f22 fix(player): disarm the unload guard when a launch fails
A failed EmulatorJS loader (both attempts exhausted) or a Ruffle launch
that cannot create a player left gameRunning set, so the browser asked
for a leave confirmation with no game behind it and input stayed muted.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 21:36:17 -04:00
Georges-Antoine Assi
1113387fd0 Enhance useUnloadGuard with server-side check
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-09-03 21:35:49 -04:00
Georges-Antoine Assi
a80858bb2b refactor(v2): give the post-write rom refetch one home
Nine surfaces each spelled out "fetch the rom, write it to currentRom,
sync the caches", and they had drifted: the notes tab never synced the
gallery cache, the walkthrough subtab updated the v1 store instead of it,
and only the scan refresh guarded against the user opening another game
while the request was in flight. `useRomSync.refetchCurrentRom` does it
once, with the guard, so every asset write reconciles the same way.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 21:21:33 -04:00
Georges-Antoine Assi
102c5737e1 fix(v2): write the ascii range with escapes so git reads the file as text
The character class held a raw NUL and a raw DEL byte, and a NUL in the
first 8000 bytes makes git treat the whole file as binary: GitHub renders
no diff for it and a merge cannot go three ways. The class is unchanged.

Also drop the second paragraph of the quick scan description.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 20:40:54 -04:00
Georges-Antoine Assi
53ac1d9711 fix(scan): announce a restored rom from the platform loop
The platform sync clears `missing_from_fs` before the batch loop runs, so
a rom being scanned can no longer tell that it was missing, and the fold
left the skip path (which could tell) unreachable for a quick scan. A rom
whose file came back byte for byte therefore emitted nothing and kept its
stale badge. Collect the restored roms from the snapshot the loop already
takes, for the ones it visits as well as the ones it skips.

Cleanups on the same paths:
- hoist the quick reconcile above the metadata prelude it never reads,
  which was a config file parse and a tag parse per rom
- drop the unreachable quick clause from `_should_hash_incrementally`:
  `refresh_rom_files` owns that policy
- drop `RomFilesRefresh.files`, which nothing reads
- take the refresh lock without a guard that had nothing to protect
- fold the single-caller upload destination helpers into one
- give "a quick scan needs no metadata source" one home, and read the
  refresh title from the key rom.json already owns

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 20:32:30 -04:00
Georges-Antoine Assi
72580fc5b2 refactor(scan): fold the files scan into the quick scan
A quick scan skipped every rom it already knew, so a file dropped into a
game folder went unnoticed until a complete or hashes rescan. This branch
answered that with a seventh scan type; letting quick reconcile the files
of the roms it knows says the same thing with less to learn.

Quick now visits every rom. New ones take the metadata pipeline as
before; existing ones only have their files reconciled against disk,
keeping the stored hashes of files whose size and mtime are unchanged. No
provider is contacted for an existing rom, so quick no longer needs a
metadata source picked, in the scan view, the platform dialog and the per
rom refresh alike.

The watcher schedules a quick scan again, and the per rom "Refresh files"
action sends quick scoped to that rom.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 20:14:46 -04:00
Georges-Antoine Assi
24b6870485 fix(v2): let a files scan start without a metadata source
A files scan contacts no provider, but the scan view and the per platform
dialog both kept their start button disabled until one was picked, so the
option they had just gained could not be used. The refresh dialog already
exempted the type.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 19:06:45 -04:00
Georges-Antoine Assi
bf5a7a9e64 chore(review): cut the scan comments back to what the code cannot say
The per-ROM scan type list restated each option's own subtitle, and the
useScanTrigger header named two callers when four now share it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 18:06:47 -04:00
Georges-Antoine Assi
13ac6668b7 chore(review): tighten the files scan and folder upload code
Backend:
- Drop the HashPolicy enum: FULL had no caller and INCREMENTAL was the
  default, so refresh_rom_files uses the existing_files knob directly.
- Narrow RomFilesRefresh to the counters callers read.
- Build ParsedRomFiles once so the incremental return stops dropping the
  title id fields.
- Give the assembling suffix one home in config, read by both the
  assembler and the scanner's excluded extensions.
- Fold the duplicated destination collision check into one helper, and
  branch /start on the upload target itself.
- Load the lighter rom for the refresh emit and the upload endpoints,
  keep the flat file stat off the event loop, and reuse the directory
  listing for the RA hash lookup.

Frontend:
- Route the platform scan dialog and the scan view through
  useScanTrigger, so a scan started while one runs is refused rather
  than emitted and rejected by the backend.
- Rename the socket payload type to ScanRequest, away from the
  useScanProviders type of the same name.
- Drop the dead uploading prop and folder icon, reuse singleRomTitle,
  and resolve each file's relative path once per listing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 18:00:01 -04:00
zurdi
ac2980fe9f fix(v2): keep the bottom nav pinned to the bottom on short views
`.r-v2-shell__app` had no minimum height, so a view shorter than the
viewport left the BottomNav anchor short and the sticky pill floated above
the real bottom edge. Match the shell's min-height so it always reaches it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WbesTQXohyAWWcLV5iiEN
2026-09-03 17:15:34 -04:00
zurdi
682e06c2f6 fix(v2): tidy the files-tab selection actions and add per-row delete
The selection actions become icon-only (download, copy link, delete, clear)
so they sit on the checkbox row instead of wrapping off-screen on narrow
viewports, and each file row gains a delete button gated on the delete grant.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WbesTQXohyAWWcLV5iiEN
2026-09-03 17:15:34 -04:00
zurdi
d09016a485 refactor(upload): keep the start headers and take the rom target as a JSON body
`POST /api/roms/upload/start` keeps its X-Upload-* headers so existing
clients are unaffected; the new rom_id and folder travel in an optional
JSON body instead of extra headers.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WbesTQXohyAWWcLV5iiEN
2026-09-03 17:15:34 -04:00
zurdi
452f0a41de refactor(upload): take the chunked upload start fields as a JSON body
`POST /api/roms/upload/start` reads platform_id, filename, total_size,
total_chunks and the optional rom_id and folder from a JSON payload instead
of X-Upload-* headers. Header values are limited to ISO-8859-1, which also
rejected non-Latin filenames in the browser.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WbesTQXohyAWWcLV5iiEN
2026-09-03 17:15:34 -04:00
zurdi
bdaee9d0f0 chore(review): apply review polish to comments and tests
Drop em-dashes from the new comments, hash with usedforsecurity=False in
tests, and replace double type assertions with typed factories.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WbesTQXohyAWWcLV5iiEN
2026-09-03 17:15:34 -04:00
zurdi
a29d875b9d i18n: add files scan and folder upload strings
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WbesTQXohyAWWcLV5iiEN
2026-09-03 17:15:33 -04:00
zurdi
af57e8d574 feat(v2): refresh files scan and uploads into rom folders
Adds the files scan to the scan launchers and a direct "Refresh files"
action in the game menu, shares the socket trigger between them, refetches
the open game when a scan finishes, and routes every Files tab upload
through the chunked upload with a destination dialog for new folders.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WbesTQXohyAWWcLV5iiEN
2026-09-03 17:15:33 -04:00
Georges-Antoine Assi
e19394e969 feat(scan): surface title id extraction and feed it to metadata matching
The optional binding used to no-op in silence: an absent sigil was
indistinguishable from a file with no title id. `SigilService.is_enabled`
plus `FILESYSTEM.TITLE_ID_EXTRACTION_ENABLED` on the heartbeat put the
feature on the same footing as every other optional capability, and give
a client of `PUT /roms/{id}/identity` a way to ask whether the server
reads binaries at all.

The extracted id also reaches the layer that already matches on Switch
product ids. Until now that layer could only scrape one out of the
filename, which made `embed_switch_title_ids` the de facto transport:
users had to let RomM rewrite their filenames for matching to improve.
`switch_product_id` prefers the id read from the binary, so extraction
helps everyone with the binding and the rename stays cosmetic.

MobyGames' `get_rom` takes the rom, like its IGDB and ScreenScraper
siblings, and the product-id lookup now happens only on Switch.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 17:26:19 -04:00
Georges-Antoine Assi
97a16e2c79 refactor: tighten comments and tests on the sigil branch
Reverts the FileRow hash-chip loop. It was left over from the per-file
version chip that no longer exists, so it is unrelated to title ids.

Cuts the comments that restate the code or defend an obvious choice, and
the `Args:` block on `get_matching_missing_rom` that repeated its own
parameter names. The CNMT content-type rationale now lives only on
`CONTENT_TYPE_CATEGORIES`.

Tests exercise the production path: the title id regex is checked with
`fullmatch`, the way the caller uses it, and `test_identity` builds its
auth header the way every other endpoint test does.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 17:13:20 -04:00
Georges-Antoine Assi
7036ae0e9c Merge remote-tracking branch 'origin/master' into feature/sigil-title-ids 2026-09-02 16:34:48 -04:00
Georges-Antoine Assi
bcafc3d504 refactor(scan): tighten the sigil title id plumbing
Rename embedding now goes through the handler's own rename primitive
(`rename_fs_rom`), so it inherits the library-root path validation and
per-path locking every other write in that class gets, and builds the new
name with the repo's multi-part extension helpers.

Extraction no longer reads files it can never parse: archives, manuals,
soundtracks and screenshots are skipped, and on non-Switch platforms it
stops after the first result, since only Switch looks at a per-file
content type.

Also collapses the two rom-level branches (dropping a closure), gives the
Switch family one home in RomM's own terms instead of deriving it from
sigil's slug string, logs an unrecognized save target layout instead of
dropping it silently, deletes the `ScannedFSRomValues` mirror of `FSRom`,
drops a dead `rom.version` locale key, and slims the sigil Docker builds
to one layer with a filtered clone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 16:34:36 -04:00
Georges-Antoine Assi
8cae30a51d chore(steam): point the logo references at the PNG
Follow-up to the asset swap: the code still pointed at steam.svg.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 15:38:32 -04:00
Tristyn Russelo
5088a3bbc4 Add https-required translations for all remaining locales
The previous commit only added the new play.https-required key to
en_US, which fails the check-translations CI job for every other
supported locale. Adds a natural translation of "Must be run over
HTTPS. Contact the site owner." to all 17 remaining locale files,
matching each file's existing formality register (e.g. informal
du/tu/ty in de_DE/es_ES/pl_PL, formal vy/vous in cs_CZ/fr_FR/ru_RU).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-01 21:47:20 -06:00
Tristyn Russelo
692b88da26 Revert the v1 HTTPS-required fix -- v1 UI is frozen
frontend/src/views/ is frozen per this repo's v1-freeze policy (new
frontend work goes in frontend/src/v2/ only); this reverts Base.vue
to its pre-PR state. The real fix already lives in v2's
EmulatorJS.vue (previous commit), which is what actually serves
players on this instance (uiVersion=v2).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-01 21:47:03 -06:00
Georges-Antoine Assi
50b03f8cc7 refactor(steam): drop redundant work found in review
Remove the roms_facets backfill from 0115: the steam columns are created by
that same revision, so it was a full-table UPDATE writing NULL over NULL at
container start. Migration 0114, which adds provider columns the same way,
has no backfill either.

Collapse the nine hand-written raw_*_metadata blocks in updateRom into a loop
over raw_metadata, so a new provider no longer needs a copy-pasted block.

Reuse the shared disable_metadata_rate_limiters fixture for the Steam adapter
tests instead of a second local one, move STEAM_PLATFORMS up to the constant
block it belongs to, and trim a test docstring that restated the rationale
already sitting next to resolve_steam_rom.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-01 17:05:18 -04:00
Georges-Antoine Assi
a7a15754b0 Merge remote-tracking branch 'origin/master' into claude/steam-metadata-provider
# Conflicts:
#	backend/config/__init__.py
#	backend/config/config_manager.py
#	backend/endpoints/heartbeat.py
#	backend/endpoints/responses/heartbeat.py
#	backend/endpoints/responses/rom.py
#	backend/endpoints/roms/__init__.py
#	backend/handler/database/roms_handler.py
#	backend/handler/metadata/__init__.py
#	backend/handler/scan_handler.py
#	backend/models/rom.py
#	backend/tasks/scheduled/scan_library.py
#	backend/watcher.py
#	env.template
#	frontend/src/__generated__/models/Body_update_rom_api_roms__id__put.ts
#	frontend/src/__generated__/models/DetailedRomSchema.ts
#	frontend/src/__generated__/models/MetadataSourcesDict.ts
#	frontend/src/__generated__/models/SimpleRomSchema.ts
#	frontend/src/locales/bg_BG/settings.json
#	frontend/src/locales/cs_CZ/settings.json
#	frontend/src/locales/de_DE/settings.json
#	frontend/src/locales/en_GB/settings.json
#	frontend/src/locales/en_US/settings.json
#	frontend/src/locales/es_ES/settings.json
#	frontend/src/locales/fr_FR/settings.json
#	frontend/src/locales/hu_HU/settings.json
#	frontend/src/locales/it_IT/settings.json
#	frontend/src/locales/ja_JP/settings.json
#	frontend/src/locales/ko_KR/settings.json
#	frontend/src/locales/pl_PL/settings.json
#	frontend/src/locales/pt_BR/settings.json
#	frontend/src/locales/ro_RO/settings.json
#	frontend/src/locales/ru_RU/settings.json
#	frontend/src/locales/tr_TR/settings.json
#	frontend/src/locales/zh_CN/settings.json
#	frontend/src/locales/zh_TW/settings.json
#	frontend/src/services/api/rom.ts
#	frontend/src/stores/heartbeat.ts
#	frontend/src/v2/components/EditRom/MetadataIdSection.vue
#	frontend/src/v2/components/GameDetails/RelatedGameCard.vue
#	frontend/src/v2/components/GameDetails/providers.ts
#	frontend/src/v2/components/Scan/ScanInfoDialog.vue
#	frontend/src/v2/utils/metadataProviders.ts
#	frontend/src/v2/views/Settings/ScanSettings.vue
2026-09-01 16:49:24 -04:00
Sam Dornan
b25840388f fix(v2): make UTC authoritative in the release-date helpers
Two review findings on the same theme. RDateField spread the caller's
displayFormat over timeZone: "UTC", so a consumer passing a zone could
desync the label from the grid and reintroduce the off-by-one. The
timezone now wins.

toReleaseDate coerces before testing for emptiness, so "0" is unset like
0 already was, instead of formatting as 1970-01-01.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-01 12:29:51 -05:00
Sam Dornan
2c6e9f5c8a fix(v2): read the date picker's value in UTC, not local time
RDateField emitted UTC midnight but read the value back with local-time
getters, so west of Greenwich every selection resolved to the previous
day: the field, the grid keys and the selected cell were all off by one.
Move the calendar's arithmetic and its three Intl formatters to UTC, and
keep the Today shortcut on the user's local calendar day.

The read path had the same mismatch. first_release_date is stored as a
UTC-midnight millisecond timestamp, so formatReleaseDate/releaseYear now
give that rule one home and the game details, gallery list and random
pick widget go through them.

Fixes #4321

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-01 12:19:30 -05:00
Zurdi
475340bce8 Merge pull request #4303 from sdornan/claude/handoff-romm-fixes-58e484
fix(logs): stop a multi-line record painting over the rows after it
2026-09-01 12:41:47 +02:00
Zurdi
179b202da7 Merge pull request #4315 from tmgast/fix/manual-upload-assets-path
fix(manual): only ask where a manual goes when the answer is open
2026-09-01 12:32:16 +02:00
Georges-Antoine Assi
d1204e36de revert(frontend): drop the scene id fields from the v1 edit dialog
Last of the accidental v1 edits. v2's MetadataIdSection already offers
the three fields through its FIELDS array and routes them via
parseSceneId, so nothing is lost. Restores the file to its state on
master, which also drops an unrelated parseInt radix/NaN tweak that
belongs in its own change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 21:42:25 -04:00
Georges-Antoine Assi
3ef82470d9 revert(frontend): drop the scene sources from the v1 settings view
Same accident as the setup view: v1 is frozen and v2's Settings metadata
view already lists Demozoo, Pouet and CSDb, with the website and docs
links v1 has no field for. Restores the file to its state on master.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 21:41:08 -04:00
Georges-Antoine Assi
e8b07b45b1 revert(frontend): drop the scene sources from the v1 setup view
v1 is frozen; the three sources were added to the classic setup step by
accident. v2's SetupStepMetadata already offers Demozoo, Pouet and CSDb,
so this restores views/Auth/Setup.vue to its state on master.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 21:37:32 -04:00
Georges-Antoine Assi
b07afa7e02 i18n: translate the Demozoo, Pouet and CSDb strings
The new provider keys landed as English text in every locale, and the
metadata-specialised-hint edit that added "demoscene" was only carried into
de_DE. Translate both, following each locale's existing conventions for
provider id labels and the demoscene term.

Values that stay identical to en_US are deliberate: locales that render every
provider id as "X ID" keep that form, and the languages that use "demoscene"
as a loanword keep it untranslated.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 20:59:23 -04:00
nendo
fd42387652 fix(manual): keep a manual dropped during an upload
Each upload now carries its own ROM and files rather than reading them
back off refs a later drop has already overwritten, and uploads run one
at a time, so a second manual queues instead of being discarded when the
first completes. The dialog no longer disables itself while an upload
runs, since a choice made then simply joins the queue.

The two upload branches differed only by endpoint and message keys, so
they collapse into one table.
2026-08-31 13:14:26 +09:00
nendo
7e5add7042 fix(manual): only ask where a manual goes when the answer is open
Uploading a manual to a single-file ROM warned that it would be
irreversibly converted to a folder ROM, but the dialog already sent such
a ROM straight to the resources path without opening, so the warning
preceded nothing. A ROM that already keeps manuals in its folder now
appends there without asking too, leaving the dialog for the one case
where the destination is still undecided.
2026-08-31 13:01:47 +09:00