Commit Graph

749 Commits

Author SHA1 Message Date
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
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
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
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
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
b9b6e17fd0 Merge pull request #1891 from ianfhunter/patch-1
During a scan, if an image fails to be read, the scan is aborted
2025-05-15 09:33:00 -04:00
Georges-Antoine Assi
9f27c81f73 run trunk check 2025-05-15 09:30:11 -04:00
Ian Hunter
6a52d43169 Update resources_handler.py 2025-05-15 12:28:15 +01:00
zurdi
44bfcaa23c fix: fixed assets path for screenshots 2025-05-14 16:28:46 +00:00
zurdi
7c66c686a9 Merge remote-tracking branch 'origin/master' into refactor/saves-states-path 2025-05-14 15:39:20 +00:00
zurdi
5f94440c9d Merge branch 'master' into refactor/saves-states-path 2025-05-14 13:35:28 +00:00
zurdi
6e0ea30a55 Merge remote-tracking branch 'origin/master' into feature/reset-password 2025-05-13 23:12:15 +00:00
zurdi
0d70ca5572 Merge remote-tracking branch 'origin/master' into feature/create-user-by-invite-link 2025-05-13 23:12:06 +00:00
zurdi
0d09f510de feat: implement invite link creation with role assignment and user registration 2025-05-13 22:28:46 +00:00
Zurdi
702ba6b213 Merge pull request #1884 from rommapp/feature/filter-by-playable
feat: Add show playables filter
2025-05-13 22:49:35 +02:00
zurdi
1c7f8fff88 feat: add InviteLink dialog and update invite link handling in user table 2025-05-13 17:52:33 +00:00
zurdi
500ff5e67f add: endpoint to generate invite link token 2025-05-13 17:40:07 +00:00
zurdi
1103700d00 feat: implement one-time use for password reset tokens with Redis 2025-05-13 09:36:14 +00:00
zurdi
d27f4d626b feat: Reset forgotten password added 2025-05-13 09:35:53 +00:00
zurdi
eec1379d02 refactor: remove RETROACHIEVEMENTS_USERNAME from docker env variables 2025-05-13 09:35:34 +00:00
zurdi
5ba5bb8543 feat: add show playables filter 2025-05-13 09:34:04 +00:00
zurdi
5f1d39c8f8 refactor: remove RETROACHIEVEMENTS_USERNAME from docker env variables 2025-05-13 09:31:06 +00:00
zurdi
6da852ae58 refactor: update RAHasherService to use platform ID and improve hash calculation logic 2025-05-10 22:16:29 +00:00
zurdi
910dea3470 feat: integrate RAHasher for retroachievement hash calculation and improve UI responsiveness 2025-05-10 21:55:12 +00:00
zurdi
e270889aa5 Merge branch 'fix/reduce-ram-usage' into feature/retroachievements 2025-05-09 17:02:04 +00:00
zurdi
b5ca8b437b refactor: enhance logging by adding module name context and improving message formatting 2025-05-09 13:08:55 +00:00
zurdi
6f08912fc0 refactor: remove unnecessary logging highlights and improve log messages for clarity 2025-05-09 10:25:11 +00:00
zurdi
e6c4a43c1e refactor: improve logging messages and formatting for clarity and consistency across multiple modules 2025-05-09 09:35:13 +00:00
zurdi
14761c2c83 refactor: enhance logging with highlighted output for improved readability 2025-05-09 09:05:59 +00:00
zurdi
53f9386208 refactor: enhance logging messages and formatting for improved clarity and consistency 2025-05-08 23:35:33 +00:00