Commit Graph

776 Commits

Author SHA1 Message Date
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
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
Georges-Antoine Assi
78b18586f7 fix scanning with lb 2025-05-20 17:48:55 -04:00
Georges-Antoine Assi
97edbbdcf9 complete launchbox handler 2025-05-20 16:50:14 -04:00
Georges-Antoine Assi
eb37ac0ef2 start mapping platforms slugs to lb platforms 2025-05-20 16:08:14 -04:00
Georges-Antoine Assi
3320df1677 Merge branch 'master' into romm-403 2025-05-19 20:15:15 -04:00
Georges-Antoine Assi
becd203801 Merge pull request #1899 from rommapp/romm-1895
[ROMM-1895] Fix hiding hidden roms in lists
2025-05-19 15:51:08 -04:00
Georges-Antoine Assi
1e0c5527ee fix conftest to create romuser 2025-05-19 12:47:47 -04:00
Georges-Antoine Assi
6d590dd03f fix check isues 2025-05-19 12:28:32 -04:00
Georges-Antoine Assi
51ad1ed214 make it a bit more robust 2025-05-19 12:18:00 -04:00
Georges-Antoine Assi
e8416cfcaf [ROMM-1895] Fix hiding hidden roms in lists 2025-05-19 12:13:58 -04:00
Georges-Antoine Assi
be3718dfdd support sorting games by file size 2025-05-19 11:46:03 -04:00
zurdi
171ee954c8 Merge remote-tracking branch 'origin/master' into refactor/saves-states-path 2025-05-16 17:13:35 +00:00
Georges-Antoine Assi
7d572ac0bf Merge branch 'master' into romm-403 2025-05-15 21:48:41 -04:00