Commit Graph

849 Commits

Author SHA1 Message Date
Georges-Antoine Assi
4158b278eb fix check issues 2025-07-04 17:55:45 -04:00
Georges-Antoine Assi
e8f8f1621c complete migration to uv 2025-07-04 09:54:04 -04:00
Georges-Antoine Assi
e23c86358c IGDB ID should be an int for hasheous 2025-07-01 15:33:28 -04:00
Michael Manganiello
252722e3bc misc: Apply pyupgrade changes for Python 3.12 compatibility
Command applied:
```
find ./backend/ -type f -name "*.py" -exec pyupgrade --py312-plus {} \;
```
2025-06-29 12:27:16 -03:00
Michael Manganiello
4209ee4481 misc: Create MobyGames service adapter
Add a new service adapter for the MobyGames 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.
2025-06-27 01:15:49 -03:00
Michael Manganiello
1321c87351 Merge pull request #2017 from rommapp/misc/remove-unused-roms-handler-methods
misc: Remove unused methods from Roms handler
2025-06-26 22:08:12 -03:00
Michael Manganiello
bf9fb12f91 misc: Create SteamGridDB service adapter
Add a new service adapter for the SteamGridDB 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.
2025-06-25 09:42:32 -03:00
Michael Manganiello
57f1f2a013 misc: Remove unused methods from Roms handler
These methods are no longer used in the codebase and have been removed
to clean up the code.
2025-06-25 09:31:01 -03:00
Georges-Antoine Assi
35ad51fefb Add more platforms for ssfr 2025-06-24 21:51:18 -03:00
Michael Manganiello
8647057e54 misc: Remove _request method from RAHandler
This logic was moved to the RetroAchievements service in #1951.
2025-06-20 12:41:29 -03:00
Michael Manganiello
3f9957ab40 fix: Query filters and boolean default values 2025-06-19 14:20:52 -03:00
Michael Manganiello
fb8f234ba4 misc: Remove deprecated boolean parameters from get_roms endpoint
These parameters were replaced by optional versions that allow for more
flexibility. This change removes code already marked as deprecated.
2025-06-19 13:54:47 -03:00
Michael Manganiello
da8e7fd90c misc: Create ScreenScraper service adapter
Add a new service adapter for the ScreenScraper 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.
2025-06-19 10:17:27 -03:00
zurdi
a4c60e73a1 fix: update linter versions and improve query filter logic in roms_handler 2025-06-18 16:29:07 +00:00
Zurdi
08682d4f9a Update backend/handler/database/roms_handler.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-18 18:23:51 +02:00
zurdi
ac036ca081 Merge remote-tracking branch 'origin/master' into misc/random_fixes 2025-06-18 15:35:09 +00:00
Georges-Antoine Assi
40b52924be Merge pull request #1994 from rommapp/tgdb-handler
Add TheGamesDB handler for platforms
2025-06-18 11:33:19 -04:00
zurdi
b08ac38207 add: verified filter 2025-06-18 13:29:35 +00:00
zurdi
e12114e9ef fix: update badge path handling and improve user progression refresh logic 2025-06-18 10:25:51 +00:00
zurdi
2bf7aa4ba8 Merge remote-tracking branch 'origin/master' 2025-06-18 09:29:49 +00:00
zurdi
6fe80db114 fix: playmatch scanner 2025-06-18 09:29:05 +00:00
Georges-Antoine Assi
60bbfc9b93 return if disabled 2025-06-17 19:01:18 -04:00
Georges-Antoine Assi
0206bf5b53 remove fetching platforms 2025-06-17 18:55:10 -04:00
Georges-Antoine Assi
0df705b6f2 add back to scan page 2025-06-17 18:54:48 -04:00
Georges-Antoine Assi
da74354eed fix ra platform id 2025-06-17 18:50:25 -04:00
Georges-Antoine Assi
1a6654e436 add env var 2025-06-17 18:47:30 -04:00
Georges-Antoine Assi
822c7cc659 populate platform data 2025-06-17 18:31:08 -04:00
Georges-Antoine Assi
be5678da08 setup platforms for tgdb 2025-06-17 17:04:14 -04:00
Georges-Antoine Assi
d39614e87a Merge pull request #1990 from rommapp/hasheous-matching
Hasheous matching
2025-06-17 16:24:58 -04:00
Georges-Antoine Assi
4015ab30a4 small syntax bug 2025-06-17 14:35:01 -04:00
Georges-Antoine Assi
66741474cf catch 404 errors in hasheous 2025-06-17 12:46:07 -04:00
Georges-Antoine Assi
28d9807cb9 changes from self review 2025-06-17 12:18:26 -04:00
zurdi
b1aa232ed6 fix: RA metadata file from new platform 2025-06-17 09:40:20 +00:00
Georges-Antoine Assi
66cf16d386 use hasheous as a populator to igdb and ra 2025-06-16 22:29:30 -04:00
Georges-Antoine Assi
00525b432c implement fetching igdb game 2025-06-16 14:50:49 -04:00
Georges-Antoine Assi
2b1297bd1a playmatch only runs under IGDB 2025-06-16 14:28:19 -04:00
Georges-Antoine Assi
0609747c6c finish migration platforms 2025-06-16 14:13:23 -04:00
Georges-Antoine Assi
187862992c start manual match of platforms 2025-06-16 08:58:03 -04:00
Georges-Antoine Assi
056a6a06ac complete hasheous scanning 2025-06-15 22:53:12 -04:00
Georges-Antoine Assi
37fd3031bf updates to hasheous 2025-06-15 22:17:05 -04:00
Georges-Antoine Assi
88130a60f8 First batch of work for hasheous 2025-06-15 21:52:36 -04:00
Georges-Antoine Assi
a94e6dc3d0 fix trunk 2025-06-15 18:35:51 -04:00
Yukine
4511cf9ec1 feat(pm_handler): add RomM version to user-agent header 2025-06-15 23:57:34 +02:00
Georges-Antoine Assi
f3f1b2e136 always check IDs before updating 2025-06-15 17:32:28 -04:00
Georges-Antoine Assi
167ef44fef explicit require igdb + enable in env 2025-06-15 17:25:18 -04:00
Georges-Antoine Assi
cf80fb6532 incr improvements towards playmatch self 2025-06-15 14:41:14 -04:00
Georges-Antoine Assi
77ef4eb4ba move pm to own scanner 2025-06-15 13:45:27 -04:00
Georges-Antoine Assi
c46d81bba5 Merge branch 'master' into feature/add-playmatch-integration 2025-06-15 12:56:12 -04:00
Georges-Antoine Assi
ffe4afe8fd remove some comments 2025-06-15 00:00:03 -04:00
Georges-Antoine Assi
e4243af353 only scan multi once 2025-06-14 23:58:48 -04:00