Commit Graph

365 Commits

Author SHA1 Message Date
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
Georges-Antoine Assi
c75e22190b format release date in ms for gamelist exporter 2025-11-11 21:10:45 -05:00
Jamie Bond
005b2f1ed7 Add SEVEN_ZIP_TIMEOUT 2025-10-27 01:29:29 +01:00
Georges-Antoine Assi
64c2689862 changes from self review 2025-10-23 17:15:19 -04:00
Georges-Antoine Assi
ad5525c484 [ROMM-2547] Flashpoint scrape by ID 2025-10-18 22:18:42 -04:00
Georges-Antoine Assi
79f582e037 add to env template 2025-10-09 14:28:30 -04:00
Georges-Antoine Assi
14b850c3ae run trunk fmt 2025-10-09 14:27:44 -04:00
Marius Luca
1604406e2b - add a configurable ROMM_TMP_PATH environment variable for controlling where large file operations take place like 7z extraction 2025-10-09 16:50:25 +03:00
Georges-Antoine Assi
c7d3bb7d80 fixups 2025-10-05 14:56:10 -04:00
Georges-Antoine Assi
3ee14fd23f force ascii on password and email 2025-10-05 14:52:00 -04:00
Georges-Antoine Assi
ae9b01e38d update rules 2025-10-05 14:42:57 -04:00
Georges-Antoine Assi
f6d7f9d1c1 [ROMM-2509] Validate user email and username 2025-10-05 14:11:34 -04:00
Georges-Antoine Assi
0d89c15f1b generate hltb correctly 2025-09-16 10:48:26 -04:00
Georges-Antoine Assi
4ed1d82a46 add platform checks 2025-09-15 10:28:32 -04:00
Georges-Antoine Assi
3c4113f8a8 Merge branch 'master' into flashpoint-metadata-handler 2025-09-11 21:27:48 -04:00
Michael Manganiello
336b3d58c1 fix: Database JSON array utils
Fix existing JSON array util `json_array_contains_value`, and add two
new utils: `json_array_contains_any` and `json_array_contains_all`.
These utils have been tested with arrays of strings and integers, on the
following database engine versions:

- PostgreSQL: 12, 13, 14, 15, 16, 17, 18
- MySQL: 8.0, 8.4, 9.0, 9.4
- MariaDB: 10.5, 10.6, 10.11, 11.4, 11.8, 12.0
2025-09-08 21:39:46 -03:00
Michael Manganiello
e4e3928d1b misc: Apply import sorting 2025-09-04 11:17:00 -03:00
Michael Manganiello
2a0b273955 fix: Invalidate fixture cache on file change
The cache for fixture files was being set without a TTL, which meant
that updates to the fixture files were not reflected in the cache.

This change saves the MD5 hash of the fixture file in a different key,
and compares it to the current hash of the file before deciding whether
to update the cache.

Fixes #2347
2025-08-30 20:38:32 -03:00
Georges-Antoine Assi
ef2546ec08 fix base handler filename 2025-08-27 12:40:16 -04:00
Georges-Antoine Assi
bf0d864d84 Add flashpoint as a metadata handler 2025-08-27 11:04:13 -04:00
Georges-Antoine Assi
dea606ad80 Merge pull request #2261 from rommapp/hash-largest-file
Always hash the largest file in compressed multi file roms
2025-08-13 13:21:59 -05:00
Georges-Antoine Assi
4936ea5121 changes from code review 2025-08-13 14:11:33 -04:00
Georges-Antoine Assi
8fb4769776 changes from code review 2025-08-13 14:03:45 -04:00
Georges-Antoine Assi
81a04e4ab4 Always hash the largest file in compressed multi file roms 2025-08-13 13:43:07 -04:00
Michael Manganiello
80291f4be1 misc: Move cache initialization to startup script
Guarantee that cache is initialized during startup, and only once,
instead of every time a `MetadataHandler` object is instantiated.

Also, improve logic to determine `fixtures` paths.
2025-08-13 12:26:15 -03:00
Georges-Antoine Assi
d005dba90b fix a bunch of shit 2025-08-09 11:16:12 -04:00
Michael Manganiello
ba21cbc1e1 misc: Separate tests folder from backend code
Create separate `tests/` folder for all tests. This will also simplify
not copying tests code into the Docker image.
2025-08-08 12:49:13 -03:00
Georges-Antoine Assi
c47be7240b changs from bot review 2025-08-07 18:15:49 -04:00
Georges-Antoine Assi
9e37d87610 fix complex game names 2025-08-07 18:02:04 -04:00
Georges-Antoine Assi
b247a5c5bb small tweaks 2025-08-07 17:39:57 -04:00
Georges-Antoine Assi
926fe26fd9 [exp] use cli 7z to cacl hash files 2025-08-07 13:12:32 -04:00