Commit Graph

9275 Commits

Author SHA1 Message Date
Michael Manganiello
195a1892d0 misc: Improve API docs and annotations for rom endpoints
* Add type annotations for FastAPI header, query, and path parameters.
* Add type annotations for request body content.
* Update docstrings to clarify endpoint functionality, and remove
  unnecessary details.
2025-06-29 11:56:01 -03:00
Michael Manganiello
107297317a Merge pull request #2027 from rommapp/misc/upgrade-ralibretro-1.8.1
misc: Upgrade RALibretro to v1.8.1
2025-06-28 21:02:05 -03:00
Michael Manganiello
37db1e7c01 Merge pull request #2028 from rommapp/fix/debounce-on-romuser-changes
fix: Add debounce to RomUser changes
2025-06-28 19:46:16 -03:00
Michael Manganiello
a1970fa13a Merge pull request #2029 from rommapp/misc/specify-language-all-md-blocks
misc: Specify English language for all Markdown blocks
2025-06-28 19:45:37 -03:00
Michael Manganiello
46baeded22 misc: Specify English language for all Markdown blocks
`md-editor-v3` defaults to Simplified Chinese for `MdEditor` and
`MdPreview` components. This change explicitly sets the language to
English (`en-US`) for all instances of these components.

Ideally, this should take the user's language preference into account,
and a common component can be created to avoid forgetting to set common
settings on new instances.
2025-06-28 14:32:05 -03:00
Michael Manganiello
cd7f0f8f9b fix: Add debounce to RomUser changes
Stop bombarding the API with updates when editing personal data, like
notes (which currently trigger an API call on each keystroke), and
status (e.g. changing values on the "Completion %" slider triggers
an API call on each change).

This change introduces a debounce of 500ms before sending updates
to the API.
2025-06-28 13:38:19 -03:00
Michael Manganiello
ab6ccc0999 misc: Upgrade RALibretro to v1.8.1
The previous attempt to upgrade RALibretro before a new tagged version
was available (#1970) needed to be reverted, as the RAHasher tool failed
with segmentation faults in some scenarios.
2025-06-28 13:10:37 -03:00
Georges-Antoine Assi
c76952b17a Merge pull request #2021 from milktoastrat/release
Add and Update Platform Icons
2025-06-27 21:16:15 -04:00
Michael Manganiello
69a2899ab2 Merge pull request #2023 from rommapp/misc/mobygames-service-adapter
misc: Create MobyGames service adapter
2025-06-27 19:54:28 -03:00
Georges-Antoine Assi
c54f45d8f5 run trunk 2025-06-27 09:51:19 -04:00
milktoastrat
b279f2b31c Add and Update Platform Icons 2025-06-27 09:50:00 -04: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
c1d226cb59 Merge pull request #2018 from rommapp/misc/steamgriddb-service-adapter
misc: Create SteamGridDB service adapter
2025-06-25 13:24:45 -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
Michael Manganiello
b6be11d4cf Merge pull request #2012 from rommapp/fix/user-endpoints-use-body
fix: Use request body for user creation and update endpoints
2025-06-25 00:47:51 -03:00
Michael Manganiello
b1ba322408 fix: Use request body for user creation and update endpoints
Stop using query parameters for user creation and update endpoints in
the API. Instead, use the request body to pass user data.

This change stops leaking sensitive information like passwords in the
URL.

Fixes #2010
2025-06-25 00:44:05 -03:00
Georges-Antoine Assi
eecb2963c9 Merge pull request #2016 from Konscription/update-DEVELOPER_SETUP.md
Update DEVELOPER_SETUP.md
2025-06-24 22:09:28 -04:00
Konscription
65cb6a63cd Update DEVELOPER_SETUP.md
added additional pytest example from the vscode tasks, and added comment to explain the flags used.
2025-06-24 21:39:56 -04:00
Georges-Antoine Assi
35ad51fefb Add more platforms for ssfr 2025-06-24 21:51:18 -03:00
Michael Manganiello
f4ca0973b0 Merge pull request #2005 from rommapp/misc/ra-handler-remove-request-method
misc: Remove _request method from RAHandler
2025-06-20 23:16:37 -03:00
Georges-Antoine Assi
7920777151 Merge pull request #2007 from milktoastrat/2025-06-20-icon-update
Add and update platform icons (SVG + ICO)
2025-06-20 21:10:16 -04:00
Georges-Antoine Assi
ca964f3292 run trunk 2025-06-20 22:06:05 -03:00
milktoastrat
ca2e8087fd Merge remote-tracking branch 'upstream/master' into 2025-06-20-icon-update 2025-06-20 19:10:50 -04:00
milktoastrat
2fca3941f7 Merge branch 'release' into 2025-06-20-icon-update 2025-06-20 19:09:18 -04:00
milktoastrat
93f535d62c Add and update platform icons (SVG + ICO) 2025-06-20 19:01:49 -04:00
milktoastrat
5d5df61e6e Add and Update Platform Icons 2025-06-20 18:09:32 -04: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
Georges-Antoine Assi
b274cec8d2 fix formatting 2025-06-19 16:22:47 -04:00
Michael Manganiello
e511584907 Merge pull request #2004 from rommapp/misc/remove-filter-roms-boolean-params
misc: Remove deprecated boolean parameters from get_roms endpoint
2025-06-19 14:25:08 -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
ffbfb74ca9 Merge pull request #2002 from rommapp/misc/screenscraper-service-adapter
misc: Create ScreenScraper service adapter
2025-06-19 11:40:01 -03:00
Michael Manganiello
f37e3ca8da Merge pull request #2003 from rommapp/misc/remove-gunicorn-workers-support
misc: Remove support for deprecated GUNICORN_WORKERS variable
2025-06-19 11:38:34 -03:00
Georges-Antoine Assi
6e951b144a Merge pull request #1960 from rommapp/dev-dockerfile
Provide Dockerfile for devs
2025-06-19 10:04:51 -04:00
Georges-Antoine Assi
e39d56a5bb make trunk happy 2025-06-19 10:00:34 -04:00
Georges-Antoine Assi
393c886a80 final tweaks 2025-06-19 09:54:00 -04:00
Michael Manganiello
c532f177ad misc: Remove support for deprecated GUNICORN_WORKERS variable
The `GUNICORN_WORKERS` environment variable has been deprecated in favor
of `WEB_CONCURRENCY`.
2025-06-19 10:19:40 -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
Georges-Antoine Assi
e0a1df1c6f ignore trunk 2025-06-18 23:53:21 -04:00
Georges-Antoine Assi
0ba3f21d44 wut 2025-06-18 23:51:17 -04:00
Georges-Antoine Assi
cfe958f6d4 changes from copilot 2025-06-18 23:50:36 -04:00
Georges-Antoine Assi
0fc29d33db Update entrypoint.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-18 23:49:44 -04:00
Georges-Antoine Assi
63db074c3f update urllib3 to 2.5.0 2025-06-18 23:24:35 -04:00
Georges-Antoine Assi
f4caf4c7da running app with HMR 2025-06-18 23:23:09 -04:00
Zurdi
a7d765a49b Merge pull request #1999 from rommapp/misc/random_fixes
misc: Random fixes and improvements
2025-06-18 22:40:08 +02:00
zurdi
020e64405f fix: remove unused overflow-y-hidden class from common.css 2025-06-18 20:37:52 +00:00
Zurdi
5954eb9b8e Merge pull request #2000 from milktoastrat/more-platform-icons
Added Platform Icons
2025-06-18 20:01:42 +02:00
milktoastrat
ca816e65a2 Added Platform Icons 2025-06-18 13:09:34 -04:00