Commit Graph

395 Commits

Author SHA1 Message Date
Vargash
f4c965be33 feat: add new export.gamelist.media.image configuration
also fix broken title_screen/miximage/physical key name usage
2026-03-31 11:16:40 +02:00
Vargash
ec30b18bba feat: add bezel tag to gamelist export 2026-03-31 11:04:13 +02:00
Vargash
3e072873e1 feat: new export.gamelist.media.thumbnail configuration 2026-03-31 11:00:49 +02:00
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
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
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
Vargash
4c74d7091e Manage fanart_path and use it as fanart for gamelist 2025-11-23 19:49:24 +01:00
Vargash
d9ca6a4f45 Manage box2d_back mediatype and use it as boxback for gamelist 2025-11-23 19:35:30 +01:00
Vargash
089b11c29a Manage wheel mediatype and use it as marquee for gamelist 2025-11-23 19:22:05 +01:00
Vargash
6efe21ec12 Change xml tags to match batocera's 2025-11-23 13:53:29 +01:00
Vargash
8ea6f2a897 Use raw attr path_cover_l to remove double path and ?ts param 2025-11-23 00:33:41 +01:00
Georges-Antoine Assi
2be1bab224 changes from bot review 2025-11-17 15:46:14 -05:00
Georges-Antoine Assi
8d91362a24 cahgnes from self review 2025-11-17 15:35:08 -05:00
Georges-Antoine Assi
95c506aec0 Add github action to update HLTB API url 2025-11-17 15:27:48 -05:00
Georges-Antoine Assi
5c0bd9c418 [ROMM-2657] Safe access env vars with defaults 2025-11-15 14:54:21 -05:00