Commit Graph

6145 Commits

Author SHA1 Message Date
milktoastrat
fada233a9f Add ABC80 platform ICO and SVG files 2025-06-18 12:49:39 -04:00
milktoastrat
a356d78b59 Add 1292 APVS platform ICO and SVG files 2025-06-18 12:45:30 -04:00
milktoastrat
f0bc3b9944 Add Mega Duck platform ico and svg files 2025-06-18 12:32:37 -04:00
milktoastrat
900e670757 Add Switch 2 platform ico and svg files 2025-06-18 12:27:36 -04:00
milktoastrat
c4c75c6a33 Add Switch platform ico and svg files 2025-06-18 12:16:14 -04:00
milktoastrat
dd9ece30e0 Add platform icons 2025-06-12 19:32:21 -04:00
Georges-Antoine Assi
2e9629d827 Merge pull request #1969 from rommapp/master
v3.10.2
3.10.2
2025-06-11 09:07:12 -04:00
Georges-Antoine Assi
146992d2e0 Merge pull request #1973 from rommapp/fix-ra-platform-ids
Fix RA platform IDs for matching
2025-06-11 08:59:50 -04:00
Georges-Antoine Assi
5e6229a59d Fix RA platform IDs for matching 2025-06-11 08:51:47 -04:00
Michael Manganiello
c113fa2621 Merge pull request #1970 from rommapp/misc/upgrade-ralibretro-current
misc: Upgrade RALibretro to the current upstream version
2025-06-11 08:57:19 -03:00
Michael Manganiello
51528d8b3b Merge pull request #1972 from rommapp/feat/retroachievements-display-hardcore-earned
feat: Display achievements earned in hardcore mode
2025-06-11 08:57:06 -03:00
zurdi
369087639b Set default value of enable3DEffect to false if not specified in localStorage 2025-06-11 08:55:06 +00:00
Georges-Antoine Assi
bd1391e225 remove ipdb 2025-06-10 22:32:52 -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
Michael Manganiello
a85a696505 misc: Upgrade RALibretro to the current upstream version
Bump `RALibretro` to the latest commit from the upstream repository.
Removes the need to use an older version of Alpine Linux, but requires
some changes to the `RALibretro` source code to compile successfully.

The `nginx` image is still not available for Alpine 3.22, but we can
also upgrade to its latest patch version (`1.27.5`).
2025-06-10 20:48:15 -03:00
Georges-Antoine Assi
55b6df5e2c Merge pull request #1962 from rommapp/home-fallback-empty
Add fallback for homepage when library is empty
2025-06-10 19:26:40 -04:00
Georges-Antoine Assi
3041d6d97a Corrected IGDB age ratings 2025-06-10 17:15:49 -04:00
Georges-Antoine Assi
6633a4c88d Create the parent folder on game upload 2025-06-10 16:44:59 -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
Georges-Antoine Assi
391d2856e9 Add support for doom and acpc 2025-06-09 23:43:57 -04: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
Georges-Antoine Assi
7dfedc93a7 squeeze the homepage a bit more and refactor 2025-06-09 22:49:06 -04:00
Georges-Antoine Assi
bf0f0d4778 Add fallback for homepage when library is empty 2025-06-09 22:11:52 -04:00
Michael Manganiello
7285c2b8cf Merge pull request #1961 from rommapp/fix/retroachievements-progress-pagination
fix: Iterate through user completion progress in RetroAchievements
2025-06-09 22:51:51 -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
4a180622b6 Merge pull request #1955 from rommapp/misc/streaming-fork-data-upstream
misc: Move back to upstream streaming-form-data dependency
2025-06-09 15:23:18 -03:00
Michael Manganiello
c008cab4d7 misc: Move back to upstream streaming-form-data dependency
The breaking code in `streaming-form-data` has been fixed, and Poetry
also was patched based on @gantoine's proposed fix. This allows us
to use the official releases again instead of a fork.
2025-06-09 15:18:29 -03:00
Michael Manganiello
6768e25321 Merge pull request #1956 from rommapp/fix/retroachievements-api-use-aiohttp
fix: Use aiohttp for RetroAchievements API calls
2025-06-09 14:51:10 -03:00
Georges-Antoine Assi
15ac30cdc0 Action bar content should always be white 2025-06-09 11:30:14 -04:00
Georges-Antoine Assi
d18f85b943 Fix and uupdate more rahasher IDs 2025-06-09 10:18:50 -04:00
Georges-Antoine Assi
0abb41d9db Use correct ID for genesis/metadrive 2025-06-09 09:51:55 -04:00
Michael Manganiello
fe1a9ce2a7 fix: Use aiohttp for RetroAchievements API calls
This change replaces the `httpx` client with `aiohttp` for the
RetroAchievements API service.

The main reason for this change is that `httpx` has an unavoidable log
line with `INFO` level, which includes the request full URL, containing
the user's API key.

`httpx` has had an
[open discussion](https://github.com/encode/httpx/discussions/2765)
regarding this security issue for almost two years.

The change to `aiohttp` is painless, and would allow us to migrate more
of the codebase to it in the future, to avoid leaking sensitive
information in logs.
2025-06-09 09:59:56 -03:00
Michael Manganiello
dddea58075 Merge pull request #1951 from rommapp/misc/retroachievements-service-adapter
misc: Create RetroAchievements service adapter
2025-06-09 08:04:37 -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
Georges-Antoine Assi
39ce329529 Reset pagination when changing search field value 2025-06-08 20:41:36 -04:00
Georges-Antoine Assi
d330dc7544 cleanup search-text-field 2025-06-08 20:33:39 -04:00
Michael Manganiello
c6b6398eab Merge pull request #1946 from rommapp/misc/retroachievements-api-types
misc: Add typing to RetroAchievements API responses
2025-06-08 12:39:22 -03:00
Georges-Antoine Assi
087240ee6e Merge pull request #1945 from rommapp/romm-1943
[ROMM-1943] Consistent use of click handlers
2025-06-07 17:59:33 -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
56cc984be4 [ROMM-1943] Consistent use of click handlers 2025-06-07 11:57:06 -04:00
Michael Manganiello
7e5cb6fc2f Merge pull request #1944 from rommapp/misc/retroachievements-links
misc: Add RetroAchievements links to game and achievement badges
2025-06-07 11:54:42 -03:00
Michael Manganiello
7ccd0f8554 Merge pull request #1942 from rommapp/fix/no-critical-log-on-403-404
fix: Remove critical log messages for 403 and 404 exceptions
2025-06-07 11:44:17 -03:00
Michael Manganiello
5295bccec9 misc: Add RetroAchievements links to game and achievement badges
* Add a link to the game page in the RetroAchievements chip in the title.
* Add links to the achievement pages in the achievement badges.
* Fix the RetroAchievements chip to correctly display the RA logo.
2025-06-07 11:36:33 -03:00
Georges-Antoine Assi
f0d517951f reinstate console click button 2025-06-06 21:08:18 -04:00
Michael Manganiello
9ba787f6d1 fix: Remove critical log messages for 403 and 404 exceptions
These critical log messages are unnecessary and can clutter the logs,
based on user requests. This is even more notorious when RomM is
integrated to an error tracking system like Sentry.
2025-06-06 21:40:31 -03:00
Georges-Antoine Assi
ce823a51d9 Merge pull request #1938 from rommapp/master
v3.10.1
3.10.1
2025-06-06 12:15:35 -04:00
Georges-Antoine Assi
fd18d8e1c9 small tweaks from copilot comments 2025-06-06 12:12:38 -04:00
Georges-Antoine Assi
e73f2758a1 Merge pull request #1940 from rommapp/cleanup-tthumb-cover
Cleanup lingeting t_thumb in cover and screenshto art
2025-06-06 12:06:56 -04:00
Georges-Antoine Assi
5e711b457a fix the mariadb migration 2025-06-06 11:33:09 -04:00
Georges-Antoine Assi
45985f5ef5 Merge pull request #1939 from Konscription/Readme-Typo-Fix
Update README.md
2025-06-06 11:11:52 -04:00