Commit Graph

9272 Commits

Author SHA1 Message Date
zurdi
9b2f487d01 fixed typecheck 2024-12-02 09:45:46 +00:00
zurdi
94d7de996e fixed RDialog dimensions 2024-12-02 09:35:09 +00:00
Michael Manganiello
0a4c81d5c1 misc: Retrieve roms by filename from database in bulk during scan
The scanning process could try to fetch thousands of roms from the
database, one by one, which is very inefficient, especially when only a
few new roms are added to the library, as the overhead of database calls
is very high compared to metadata API calls.

This change introduces a new method in the roms handler to retrieve roms
by their file names in bulk, which is used during the scan process to
fetch a batch of roms at once, instead of one by one.

It also avoids the `@with_details` decorator when fetching roms during
the scanning process, as those details are not needed, and they were
adding unnecessary joins and data decoding.
2024-12-02 00:00:47 -03:00
zurdi
0428ddb6f0 fixed min-height on RDialog 2024-12-02 00:35:04 +00:00
zurdi
16b828c082 fixed mandatory aspect-ratio on game card 2024-12-02 00:03:16 +00:00
zurdi
ec41d72a8f set gameCard aspect ratio based on platform 2024-12-01 23:51:46 +00:00
zurdi
00ba3a18d8 fixed firmware pagnation warning 2024-12-01 22:38:18 +00:00
zurdi
151cd97341 fixed update aspect ratio at platform change 2024-12-01 22:27:55 +00:00
Michael Manganiello
e0acda4fff Merge pull request #1334 from rommapp/fix/speed-up-scan-when-no-fs-changes
fix: Speed up scan for matched roms without filesystem changes
2024-12-01 18:12:18 -03:00
Michael Manganiello
00f75841f8 fix: Speed up scan for matched roms without filesystem changes
When the scanning process fiends that a rom should not be scanned, it
was still updating the rom data in the database.

This database update is only needed when the existing data is different
to the newly found filesystem data, so we can avoid most of the updates
for already existing library roms.
2024-12-01 17:35:46 -03:00
zurdi
b670b68df3 added default aspect ratio in platform table 2024-12-01 18:22:27 +00:00
zurdi
31fa703434 added show status flag option 2024-12-01 17:44:46 +00:00
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
Georges-Antoine Assi
f2f8956ad4 more cleanup of unneded oauth code 2024-11-29 09:26:03 -05: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
12c8e9635d Merge pull request #1326 from rommapp/dependabot/npm_and_yarn/frontend/vite-3.2.11
build(deps-dev): Bump vite from 3.2.10 to 3.2.11 in /frontend
2024-11-29 09:32:01 +01:00
dependabot[bot]
6bb65dfcb6 build(deps-dev): Bump vite from 3.2.10 to 3.2.11 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.2.10 to 3.2.11.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v3.2.11/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.2.11/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-29 04:13:51 +00:00
Georges-Antoine Assi
f64848ba22 Merge pull request #1248 from rommapp/master
v3.6.0
2024-11-28 23:12:44 -05: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
bf41d9ff05 fixed total crash on a fresh installation having session cookies from previous installation 2024-11-28 12:30:13 +00:00
zurdi
be87d92cf7 fixed platform info migration and models 2024-11-28 12:28:29 +00:00
Georges-Antoine Assi
1866cfdbae revert one oauth to oidc change 2024-11-27 23:39:53 -05:00
Georges-Antoine Assi
a2179604bf fix trunk error 2024-11-27 23:36:41 -05:00
Georges-Antoine Assi
3abf50b056 changes from self review 2024-11-27 23:28:54 -05:00
Georges-Antoine Assi
11923786be fetch and use rsa key 2024-11-27 22:40:02 -05: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