Commit Graph

454 Commits

Author SHA1 Message Date
Vargash
0b8dffa99d feat: add family and players tags to gamelist export 2026-03-31 10:31:46 +02:00
Vargash
e4ef3b710c fix: correctly normalize average rating metadatum from 0-100 to 0-1 2026-03-31 09:56:11 +02:00
Eric Daras
8540514b46 add outbound HTTP proxy support for backend requests 2026-03-27 07:02:14 +01:00
nendo
e21ea088ed Revert double-encoding in ZipResponse Content-Disposition 2026-03-25 06:51:24 +09:00
nendo
2bad483a84 Fix mod_zip UTF-8 filename handling for non-ASCII downloads
Add X-Archive-Charset: UTF-8 header so mod_zip sets the EFS flag on ZIP
entries, ensuring extractors interpret filenames as UTF-8 instead of
CP437. Also URL-encode the Content-Disposition filename to match
FileRedirectResponse behavior.
2026-03-25 06:26:59 +09:00
Georges-Antoine Assi
f107dc2752 changes from bot rview 2026-03-22 17:17:14 -04:00
Georges-Antoine Assi
6c88333efa cleanup 2026-03-22 09:50:10 -04:00
Georges-Antoine Assi
5bf3a435ee moer fixes 2026-03-21 22:57:44 -04:00
Georges-Antoine Assi
26affaaf36 cleanup 2026-03-21 22:46:05 -04:00
Georges-Antoine Assi
4536deff65 more twekas 2026-03-21 22:30:10 -04:00
Georges-Antoine Assi
49a73e8944 export media to assets folder 2026-03-21 21:55:11 -04:00
Georges-Antoine Assi
770b8f94ac feat: add Pegasus Frontend metadata export support
Add metadata.pegasus.txt export alongside the existing gamelist.xml
export. Restructure the export system: rename the gamelist endpoint to
a general-purpose export endpoint (`/api/export/`) with sub-routes for
each format (`/gamelist-xml`, `/pegasus`). Move config from flat
`scan.export_gamelist` to nested `scan.export.gamelist_xml` and
`scan.export.pegasus` for auto-export on scan.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 16:09:20 -04:00
Georges-Antoine Assi
c61f52ebed clean create web device 2026-03-15 20:25:38 -04:00
Georges-Antoine Assi
e1b07cacfc make devices actually unique 2026-03-15 20:09:33 -04:00
Georges-Antoine Assi
29112b4ddc create device on login web 2026-03-15 11:25:39 -04:00
Georges-Antoine Assi
55ca39cacb fix deprecations in pydantic 2026-03-15 09:34:48 -04:00
nendo
ea5b7546aa refactor: address PR #3114 review feedback
- Use atomic getdel for pairing code exchange
- Add cascade="all, delete-orphan" to User.client_tokens
- Move generate/hash_client_token into AuthHandler as static methods
- Extract endpoint helpers to utils/client_tokens.py
2026-03-11 10:56:35 +09:00
Georges-Antoine Assi
478b7b970a run fmt 2026-03-10 16:53:36 -04:00
Jamie Bond
1e6f0d6000 Add property for path_video and refactor places which use similar logic to access video paths 2026-03-10 20:32:54 +01:00
Georges-Antoine Assi
fcf015ea31 remove config option and always use if it exists 2026-03-08 11:05:08 -04:00
Jamie Bond
462f4b4c01 Add type annotation for config 2026-03-07 22:48:21 +01:00
Jamie Bond
4df846740a Move get_config outside of _create_game_element and pass it in, to prevent it being called on each loop 2026-03-07 22:08:38 +01:00
Jamie Bond
32ca65cfc9 Add config option to use local video paths in gamelist.xml export instead of YouTube
Bump joserfc from 1.3.5 to 1.6.3
2026-03-07 21:27:27 +01:00
Georges-Antoine Assi
3fc8c68c49 last change 2026-03-07 10:23:33 -05:00
Georges-Antoine Assi
13f7586590 changes from grp review 2026-03-07 10:07:50 -05:00
Georges-Antoine Assi
b3659a1226 changes from bot review 2026-03-07 08:58:42 -05:00
Georges-Antoine Assi
46915eee5b fix types and tests 2026-03-06 19:52:09 -05:00
Georges-Antoine Assi
b030b98062 attempt to fix vuln reported in PR 2026-03-06 19:42:56 -05:00
Georges-Antoine Assi
b3339c177b Run formatter on alembic files 2026-02-17 15:12:33 -05:00
Cobaltboy
8dbacfd6a5 Merge branch 'rommapp:master' into feat_auto_export_gamelist 2026-02-04 11:12:20 +05:30
Cobaltboy
90694133c6 Added Automatic Gamelist export support 2026-02-03 19:42:45 +05:30
nendo
132e0ad256 refactor(utils): extract to_utc function to utils/datetime.py
Move UTC datetime normalization to a dedicated utils module for
reusability across the codebase.
2026-02-03 20:07:47 +09:00
Georges-Antoine Assi
12c1572f50 Merge pull request #2930 from Delgan/fix-file-not-found-in-7z-archive
Fix files possibly not found in 7z archives
2026-01-22 13:51:32 -05:00
Delgan
c23ab1d97b Revert pointless size reset 2026-01-22 19:48:35 +01:00
Georges-Antoine Assi
dcb3f24c6e run trunk check 2026-01-22 11:57:23 -05:00
Delgan
f1d68d4e0e Decompress 7z archives on the fly rather than extracting to disk
Reduce I/Os.
2026-01-22 01:02:33 +01:00
Delgan
16e802d232 Fix 7z extraction of file ending/starting with whitespace 2026-01-22 00:17:47 +01:00
Delgan
97c888e969 Update backend/utils/archive_7zip.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-21 23:32:00 +01:00
Delgan
34f656e586 Fix files possibly not found in 7z archives
Some archives have an empty "Attributes" field, i.e. `Attributes = `.

But because we the line is strip, it became `Attributes =` and the
`elif` branch was never taken, resulting with `largest_file` being
`None` after processing.
2026-01-21 23:12:45 +01:00
zurdi
06a1598bcc Merge remote-tracking branch 'origin/master' into romm-1371 2026-01-02 11:12:36 +00:00
zurdi
ab637203ac Merge branch 'master' into feat/rom-filter-multivalue 2025-12-24 12:39:45 +00:00
zurdi
ecf4ae542f fix: correct spelling of 'get_platform_fs_structure' in multiple files 2025-12-21 16:48:45 +00:00
zurdi
cc63d19e5c fix: update heartbeat and platforms endpoints to enhance authentication and logging 2025-12-21 16:36:56 +00:00
zurdi
9c8e73e485 feat: refactor platform handling and library structure detection 2025-12-18 01:04:00 +00:00
Georges-Antoine Assi
d189faf25d [ROMM-2746] Drop + from filenames on update 2025-12-07 17:45:21 -05:00
zurdi
c1d43f67f8 Refactor ROM retrieval to support multi-value platform filtering across various handlers and endpoints 2025-11-27 22:52:33 +00:00
zurdi
c6717ee635 Refactor gallery filter components to use toggle buttons for filter states, allowing null values for all filters. Update filter logic in the store and API services to accommodate new states. Enhance UI for better visibility and interaction with filter options in the gallery app. 2025-11-27 12:56:01 +00:00
Georges-Antoine Assi
bb351199f1 update function defs 2025-11-24 19:36:27 -05:00
Vargash
5b195065fe Use wheel as backup mediatype for logo if wheel-hd is not available 2025-11-24 15:47:48 +01:00
Vargash
1b8dc15893 Exclude gamelist.xml from gamelist export 2025-11-23 19:50:34 +01:00