Commit Graph

4508 Commits

Author SHA1 Message Date
zurdi
fb0769741d added animation to platform icon 2024-12-01 17:32:48 +00:00
zurdi
ac7ae5337c fixed typescript check 2024-12-01 17:30:13 +00:00
zurdi
055a72c08c fixed switch main drawers 2024-12-01 17:07:24 +00:00
zurdi
f2cdc12c79 added platform icon in recent games 2024-12-01 16:59:42 +00:00
zurdi
9a08037a76 improved scan platform btn 2024-12-01 16:57:02 +00:00
zurdi
a765cacdad added scan button to platform info drawer 2024-12-01 10:58:01 +00:00
zurdi
28d1ad6ebf final platform info drawer design 2024-12-01 02:48:41 +00:00
zurdi
6771956846 fixed platform fields in response 2024-11-30 17:51:00 +00:00
zurdi
5d91dd805d added base aspect ratio selection 2024-11-29 14:19:36 +00:00
zurdi
22a8b1b57f fixed typecheck 2024-11-29 11:15:14 +00:00
zurdi
c0bf14a915 fixed path overlap in rom edit dialog 2024-11-29 10:03:52 +00:00
zurdi
8f38e41d8c improved platform info in details view 2024-11-29 01:19:45 +00:00
zurdi
f57e5b8029 fixed title info params 2024-11-29 00:12:40 +00:00
zurdi
faea201628 improved api requests of gallery and details based on stores 2024-11-29 00:01:11 +00:00
zurdi
a4867252d9 removed unnecessary platforms api call from gallery and details view and simplified gallery logic based on stores 2024-11-28 17:28:08 +00:00
zurdi
2c85a6446a removed unnecessary current user api call 2024-11-28 16:35:47 +00:00
zurdi
2bed0a8b23 removed unnecessary config variables from config endpoint 2024-11-28 16:34:00 +00:00
zurdi
c661a98347 removed unnecessary structure path value to the front 2024-11-28 16:24:44 +00:00
zurdi
6a7433e1f9 removed unnecessary video endpoint request 2024-11-28 16:12:05 +00:00
zurdi
cb5d2438d2 Merge remote-tracking branch 'origin/master' into feature/add-platform-info 2024-11-28 15:23:32 +00:00
zurdi
a29a14aefb normalized covers and logos 2024-11-28 15:23:20 +00:00
Zurdi
96e5e300ec Merge pull request #1320 from rommapp/feature/add-offline-support
Added offline support and configurable logging level
3.6.0
2024-11-28 16:18:41 +01:00
zurdi
be87d92cf7 fixed platform info migration and models 2024-11-28 12:28:29 +00:00
zurdi
06e524f650 Merge branch 'master' into feature/add-platform-info 2024-11-27 22:51:16 +00:00
zurdi
213e62b31b added mask to mobygames api 2024-11-27 17:29:10 +00:00
zurdi
9bdea91a92 added LOGLEVEL to pytest conf 2024-11-27 17:20:06 +00:00
zurdi
a51dd03e1a Added full offline support and configurable logging level and API requests debug logs 2024-11-27 17:12:13 +00:00
zurdi
81507fa93c added platform info drawer 2024-11-27 11:43:21 +00:00
zurdi
80b7cc7333 added basic platform info from the igdb api call 2024-11-27 11:43:06 +00:00
Michael Manganiello
96a0ba59d5 Merge pull request #1310 from rommapp/misc/more-igdb-typehints
misc: Add more IGDB typehints
2024-11-19 07:48:58 -03:00
Georges-Antoine Assi
98bdd725dc Merge pull request #1308 from rommapp/readme-discord-bot-donate
Add discord bot + donate btn to readme
2024-11-19 00:01:52 -05:00
Michael Manganiello
d62a8b4f8b misc: Add more IGDB typehints
Add more typehints for IGDB entities, including `GameTimeToBeat`.
2024-11-18 17:51:40 -03:00
Georges-Antoine Assi
69000583b6 Add discord bot + donate btn to readme 2024-11-17 19:07:30 -05:00
Georges-Antoine Assi
8f9eb01d6c Merge pull request #1303 from rommapp/romm-1218
[ROMM-1218] Exempt the right path from CSRF protection for tokens
2024-11-17 15:36:41 -05:00
Georges-Antoine Assi
f5941ec332 [ROMM-1218] Exempt the right path from CSRF protection for tokens 2024-11-17 13:42:48 -05:00
Michael Manganiello
4ecbac73b3 Merge pull request #1300 from rommapp/fix/igdb-game-search-categories
fix: Consider more categories when matching IGDB games
2024-11-17 01:46:23 -03:00
Michael Manganiello
9c2036c9eb Merge pull request #1301 from rommapp/fix/igdb-game-exact-match-alternative-names
fix: Consider IGDB alternative names when checking for exact match
2024-11-17 01:46:14 -03:00
Michael Manganiello
71ac92bfb6 fix: Consider IGDB alternatives when checking for exact match
IGDB provides alternative names for games, which we are currently not
considering when checking for an exact match.

This change starts considering alternative names, in addition to the
game's name and slug, when checking for an exact match.
2024-11-16 20:58:20 -03:00
Michael Manganiello
deaac348da fix: Consider more categories when matching IGDB games
This change includes more categories when matching IGDB games. While
testing, some games were incorrectly matched to the wrong game, and the
reason was that the game was a Port (e.g. `Arkanoid`, `Contra`,
`Double Dragon`, `Metal Gear` for NES), a Remake (e.g.
`Adventure Island` for NES), or a Remaster.
2024-11-16 20:44:41 -03:00
Georges-Antoine Assi
dcd240ae34 Merge pull request #1296 from rommapp/romm-1292
[ROMM-1292] Log when db entries are purged
2024-11-16 14:26:49 -05:00
Georges-Antoine Assi
85443ae2d7 include the bullet in the first item 2024-11-16 14:17:32 -05:00
Georges-Antoine Assi
d01fe88db5 [ROMM-1292] Log when db entries are purged 2024-11-16 12:48:13 -05:00
Michael Manganiello
a57d5b3d2d Merge pull request #1278 from rommapp/misc/add-mariadb-healthcheck-recommendation
misc: Add MariaDB healthcheck recommendation to Docker Compose config
2024-11-15 08:14:51 -03:00
Michael Manganiello
0478fd8465 Merge pull request #1282 from rommapp/feat/add-streaming-support-for-7zip-hashing
feat: Add streaming support for 7zip hashing
2024-11-15 00:13:26 -03:00
Zurdi
ec3855bf0c Merge pull request #1287 from MattTW/master
Fix #1283 - properly default groupRoms if it doesn't exist in localStorage
2024-11-11 17:30:50 +01:00
Matt Weinecke
4ec4dcc738 Fix #1283 - properly default groupRoms if it doesn't exist in localStorage 2024-11-11 07:59:53 -08:00
Michael Manganiello
477d9b1744 feat: Add streaming support for 7zip hashing
At the moment, 7zip files are generating memory issues and even OOM
errors on user installations. This is because the current stable release
of `py7zr` does not support decompression streaming, and RomM needs to
decompress the each 7zip file in the library into memory to be able to
calculate hashes.

This change introduces a `py7zr` fork I created to have a stable commit
SHA to refer to in case upstream gets any forced pushes. It includes the
contents of the pull request the `py7zr` creator is working on to
support decompression streaming [1].

The way decompression streaming is implemented in `py7zr` is different
than the other compression utilities. Instead of being able to provide a
`bytes` iterator, we need to provide a `Py7zIO` implementation that
will call a callback on each read and write operation.

[1] https://github.com/miurahr/py7zr/pull/620
2024-11-08 21:31:11 -03:00
Michael Manganiello
7e64a02e08 misc: Add MariaDB healthcheck recommendation to Docker Compose config
This commit adds a healthcheck configuration to the MariaDB service in the
Docker Compose example configuration. The healthcheck script is a simple
shell script that checks if the MariaDB server is ready to accept connections.

The application will wait for the MariaDB service to be healthy before
starting the application service. This should solve issues where the
database takes longer to start than the application, and logs some
`Something went horribly wrong with our database` errors.

This change also stops recommending the `linuxserver/mariadb` image as
an alternative. We have had users that change the image because of the
first time run triggering those errors, but the `linuxserver/mariadb`
image requires a different configuration that could be confusing for new
users (e.g. volume mountpoint needs to be `/config` instead of
`/var/lib/mysql`).
2024-11-06 15:00:59 -03:00
Zurdi
277470b74e Merge pull request #1271 from rommapp/fix/details-personal
fix: Personal tab mobile responsive
2024-11-01 02:12:06 +01:00
Michael Manganiello
9f28c9582b Merge pull request #1272 from rommapp/misc/use-tini-as-container-entrypoint
misc: Use tini as container entrypoint
2024-10-31 21:22:08 -03:00