Commit Graph

141 Commits

Author SHA1 Message Date
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
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
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
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
41ce4f06ac use env var to toggle lb 2025-05-24 20:35:59 -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
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
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