Commit Graph

129 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
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
zurdi
5f1d39c8f8 refactor: remove RETROACHIEVEMENTS_USERNAME from docker env variables 2025-05-13 09:31:06 +00:00
zurdi
0c436d32d8 Merge remote-tracking branch 'origin/master' into feature/retroachievements 2025-04-24 16:40:22 +00:00
Georges-Antoine Assi
016e6fb227 [ROMM-1770] Stop squashing old metadata props when manually matching 2025-04-23 22:04:54 -04:00
zurdi
14dbafff79 refactor: Update RAUserGameProgression to use structured EarnedAchievement type 2025-04-23 23:40:36 +00:00
zurdi
53d2cfedb9 refactor: Update RAUserGameProgression to use earned achievements structure 2025-04-23 22:40:17 +00:00
Georges-Antoine Assi
bedf14005e [ROM-1847] Use ss region covers as fallback 2025-04-23 12:38:34 -04:00
zurdi
b64090aad8 Merge branch 'master' into feature/retroachievements 2025-04-22 21:18:54 +00:00
zurdi
8ad3fbadea Refactor extract_metadata_from_igdb_rom to streamline youtube_video_id retrieval 2025-04-22 21:18:33 +00:00
zurdi
06bdb7d83d Merge branch 'master' into feature/retroachievements 2025-04-22 21:10:07 +00:00
zurdi
c533e22e84 fix IGDB youtube video id fetch 2025-04-22 21:09:34 +00:00
zurdi
e17f6b44de feat: Add RetroAchievements integration and user profile syncing
- Implemented RA hash handling in ROM processing.
- Added functionality to refresh RetroAchievements data for users.
- Updated user model to store RA progression data.
- Created a new component for managing RetroAchievements settings in user profiles.
- Enhanced ROM metadata to include merged RA achievements and badge paths.
- Refactored API calls to accommodate new RA features and removed unused API key handling.
- Updated frontend components to reflect changes in RA metadata and user settings.
- Adjusted Docker configuration for database service naming.
2025-04-22 21:08:10 +00:00
Georges-Antoine Assi
998557bcab Use correct ID for wii games 2025-04-20 15:43:46 -04:00
zurdi
15d630ef54 fix: ra cache files path 2025-04-15 16:12:46 +00:00
zurdi
574e16cadd feat: fetch all achievements for a game 2025-04-14 16:29:03 +00:00
zurdi
716dd023c0 added ra_id for platforms and roms 2025-04-11 13:12:38 +00:00
zurdi
30a0be2c4c Merge branch 'master' into HEAD 2025-04-10 22:56:55 +00:00
zurdi
2a5bf1ab5b Add SGDBInvalidAPIKeyException for handling invalid API key errors 2025-04-01 09:52:33 +00:00
Georges-Antoine Assi
b5dbca9be3 use correct id for ssfr fds 2025-03-12 10:37:12 -04:00
Georges-Antoine Assi
c75865f460 fix duplicate 64dd entry 2025-02-28 10:11:07 -05:00
Georges-Antoine Assi
561c164bc9 [ROMM-1663] Update Nintendo 64DD slug from nintendo-64dd to 64dd 2025-02-25 17:33:56 -05:00
Georges-Antoine Assi
7fafd452ed update sgdb handler 2025-02-24 21:57:14 -05:00
Georges-Antoine Assi
0592985e5c wrap all in json error checks 2025-02-24 20:48:58 -05:00
Georges-Antoine Assi
6932f864c6 reraise error 2025-02-24 19:52:35 -05:00
Georges-Antoine Assi
fd05737f6b [HOTFIX] Fix platform versions endpoint + run scans sync in DEV_MODE 2025-02-23 23:43:01 -05:00
Georges-Antoine Assi
8ece8adb68 refactor ssrom creator 2025-02-20 09:49:01 -05:00
Georges-Antoine Assi
5f96c2eb55 [HOTFIX] Fix empty ss metadata companies + cleanup 2025-02-20 09:41:38 -05:00
zurdi
53d4761547 misc: migrate IGDB API fields to new version 2025-02-18 17:10:09 +00:00
zurdi
cfbcd82547 fix: changes based on review 2025-02-17 11:10:24 +00:00
zurdi
0660502f5a feat: screenscraper manual support 2025-02-06 18:53:23 +00:00
zurdi
9ae3b7da6f feat: added manuals to ss migration 2025-02-06 13:49:09 +00:00
zurdi
9e213bc74d Refactor metadata source handling to use string types and update heartbeat store to include Screenscraper option 2025-02-06 10:14:30 +00:00
zurdi
ad179a90eb Fix SLUG_TO_SS_ID declaration and update avatar style in Scan.vue 2025-02-06 01:04:23 +00:00
danblu3
8a27d62da2 Updated IDs for screenscraper 2025-02-05 23:07:24 +00:00
zurdi
2ee6026614 Remove SCREENSCRAPER_API_KEY from configuration and handler, replace with decoded credentials 2025-02-05 12:32:16 +00:00
zurdi
9d96501b9e Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-01-31 00:12:44 +00:00
zurdi
673e3904bb Improve error handling for IGDB connection issues 2025-01-30 17:23:33 +00:00
Georges-Antoine Assi
696a1c6122 Merge branch 'master' into rom-hashing-background-task 2025-01-15 21:51:23 -05:00
zurdi
23102b8aeb fix: trunk check 2025-01-06 13:32:28 +00:00
zurdi
d2247293ad fix: merge conflicts 2025-01-06 12:54:17 +00:00
zurdi
e7342ab457 Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-01-06 12:53:38 +00:00
Michael Manganiello
1c7cbc2328 misc: Change signature for get_matched_rom_by_id function
The previous function name `get_matched_roms_by_id` was misleading as it
returned a list of matched ROMs, but searching by ID should always
return either one result or none.
2025-01-05 15:18:19 -03:00
zurdi
08de3b3ddf fix: typecheck 2025-01-03 03:23:36 +00:00
zurdi
4aa2d49221 feat: fully integrated screenscrapper 2025-01-03 03:08:02 +00:00
zurdi
db4001dea0 feat: base structure for ss support 2025-01-02 10:34:10 +00:00