Commit Graph

788 Commits

Author SHA1 Message Date
Georges-Antoine Assi
338a95753c enable rashasher for multi file games 2025-06-14 09:38:29 -04:00
Georges-Antoine Assi
5837cb2e59 raise error if no metadata source provided 2025-06-14 00:09:09 -04:00
Georges-Antoine Assi
82ae99f0b2 fix pytest 2025-06-13 23:58:02 -04:00
Georges-Antoine Assi
f102726c70 fix launchbox order 2025-06-13 22:29:27 -04:00
Georges-Antoine Assi
56117e8105 really fix it this time 2025-06-13 22:27:36 -04:00
Georges-Antoine Assi
90a059a600 fix allt he shit 2025-06-13 21:30:13 -04:00
Georges-Antoine Assi
15896566ca progress on reveritng parts 2025-06-13 19:46:07 -04:00
Georges-Antoine Assi
f3e88849f9 run trunk 2025-06-13 17:27:30 -04:00
Georges-Antoine Assi
bd7ff8e3b6 Merge branch 'master' into hash-calc-scan-refactor 2025-06-13 12:05:58 -04:00
Georges-Antoine Assi
318661bc45 Merge branch 'master' into romm-403 2025-06-13 11:51:45 -04:00
zurdi
7d27e368f1 feat: add SESSION_MAX_AGE_SECONDS configuration for session middleware 2025-06-13 12:54:31 +00:00
Georges-Antoine Assi
419b9eee3b fix pytest 2025-06-12 21:16:45 -04:00
Georges-Antoine Assi
d2ff41da62 make sure to set hashes on roms 2025-06-12 21:11:54 -04:00
Georges-Antoine Assi
5b80e0ca39 Calculate hashes before fetching metadata 2025-06-12 20:55:49 -04:00
zurdi
8370b79a83 feat: add 'missing_from_fs' property to various schemas and update related logic for better tracking of missing files 2025-06-12 22:18:06 +00:00
zurdi
a3a3779bad fix: correct assertions in platform and ROM tests to reflect expected behavior 2025-06-12 14:53:35 +00:00
Georges-Antoine Assi
06be0f0ee7 Store all imaegs in metadata + fix getting exact game 2025-06-12 10:53:33 -04:00
Georges-Antoine Assi
e7cfd02d24 Merge branch 'master' into romm-403 2025-06-12 09:57:57 -04:00
zurdi
fdb795dff1 feat: add missing filter options in API and database handlers for ROMs 2025-06-12 13:41:19 +00:00
zurdi
8b0a06c3e6 feat: add 'missing' column to multiple tables and update related handlers for missing entries 2025-06-12 12:20:56 +00:00
zurdi
dab9421ec6 fix: update rom missing status handling in scan and platform handlers 2025-06-12 08:11:08 +00:00
zurdi
b52ea89115 feat: add 'missing' flag to platforms and roms, update related handlers and schemas 2025-06-12 01:20:20 +00:00
Georges-Antoine Assi
5e6229a59d Fix RA platform IDs for matching 2025-06-11 08:51:47 -04:00
Michael Manganiello
bdc5fa5c41 feat: Display achievements earned in hardcore mode
Differentiate between achievements earned in softcore and hardcore
modes, by using the characteristic gold color for hardcore ones.

Also, update the progress bar to show both softcore and hardcore
completion percentages.
2025-06-10 22:19:41 -03:00
Georges-Antoine Assi
3041d6d97a Corrected IGDB age ratings 2025-06-10 17:15:49 -04:00
Michael Manganiello
0e8daf61ef Merge pull request #1963 from rommapp/feat/get-roms-optional-flags-instead-of-bools
feat: Use optional flags instead of booleans for Rom filtering
2025-06-10 14:46:20 -03:00
Michael Manganiello
47a7f84b9a feat: Use optional flags instead of booleans for Rom filtering
This change replaces boolean flags for filtering Roms with optional
flags. This allows clients to specify whether they want to include
or exclude certain types of Roms, such as matched, favourite,
duplicate, or playable.

The boolean flags are still supported for backwards compatibility,
but they are marked as deprecated. Clients should transition to
using the new optional flags in future versions.

The main reason for this change is to allow the exclusion of certain
results, without the need to add additional boolean flags, which are
also confusing if both its `True` and `False` values are used within
the same request.
2025-06-10 00:19:21 -03:00
Michael Manganiello
a44db9767a fix: Iterate through user completion progress in RetroAchievements
Iterate through all pages of user completion progress in the
RetroAchievements service, instead of limiting the data retrieval to the
first 500 results.
2025-06-09 19:19:39 -03:00
Georges-Antoine Assi
2e677decea Merge branch 'master' into romm-403 2025-06-09 17:20:17 -04:00
Georges-Antoine Assi
62b10d89a8 fix a couple platform IDs 2025-06-09 12:24:18 -04:00
Michael Manganiello
e885586edb misc: Create RetroAchievements service adapter
Add a new service adapter for the RetroAchievements API, to separate
concerns with RomM's handler for metadata. This adapter is agnostic
to the handler and only provides methods to interact with the
API, and correctly return typed responses.

The API authorization was also improved to be handled by a specific
`httpx.Auth` class that sets the `y` parameter for each request.
2025-06-09 00:47:05 -03:00
Georges-Antoine Assi
dcf622ed56 Merge branch 'master' into romm-403 2025-06-08 20:06:44 -04:00
Michael Manganiello
3f8baed220 misc: Add typing to RetroAchievements API responses
Include detailed type information for RetroAchievements API responses,
based on the official API documentation.
2025-06-07 17:56:29 -03:00
Georges-Antoine Assi
fd18d8e1c9 small tweaks from copilot comments 2025-06-06 12:12:38 -04:00
Georges-Antoine Assi
d059193c43 Cleanup lingeting t_thumb in cover and screenshto art 2025-06-06 10:58:57 -04:00
Georges-Antoine Assi
54a62413c0 use single quotes 2025-06-05 23:16:05 -04:00
Georges-Antoine Assi
f87f403555 search for hash instead of matching 2025-06-05 23:12:55 -04:00
Georges-Antoine Assi
d6406771cb Star multifile games 2025-06-05 22:44:35 -04:00
Georges-Antoine Assi
8c817c7f4b stop RA from crashing when not available 2025-06-05 11:44:47 -04:00
Georges-Antoine Assi
41ce4f06ac use env var to toggle lb 2025-05-24 20:35:59 -04:00
Georges-Antoine Assi
3278672661 Merge branch 'master' into romm-403 2025-05-23 20:02:45 -04:00
Georges-Antoine Assi
ee4a6033ac Merge branch 'master' into romm-403 2025-05-23 15:47:40 -04:00
Georges-Antoine Assi
1fb58973d1 better order of box art 2025-05-23 15:34:47 -04:00
Georges-Antoine Assi
32988a8c93 fix IDs and generate platforms 2025-05-23 14:50:56 -04:00
Georges-Antoine Assi
fd705e41ce add and store fake launchbox IDs 2025-05-23 14:13:19 -04:00
Georges-Antoine Assi
69b898a397 extract and load images from launchbox 2025-05-23 11:24:50 -04:00
zurdi
1603e61245 feat: add Retroachievements filter and related UI components 2025-05-23 01:11:00 +00:00
Zurdi
fb75715f06 Merge pull request #1886 from rommapp/feature/more-frontend-accessibility-info
misc: Improve accessibility
2025-05-23 00:30:28 +02:00
zurdi
96cdf4ee5f fix: hidden games on PR #1899 2025-05-22 10:48:09 +00:00
mjmfighter
c709b8ae2e fix: correct user creation logic in OpenIDHandler 2025-05-21 23:07:53 -05:00