Commit Graph

9275 Commits

Author SHA1 Message Date
zurdi
39877b13b7 fixed game info details 2024-06-28 00:23:01 +02:00
Zurdi
7d9ce05c3c added main sibling to the front and database 2024-06-27 21:50:04 +02:00
zurdi
b9b861d684 set main sibling added to the backend 2024-06-27 19:26:19 +02:00
zurdi
a07133d678 added filter for static/animated cover 2024-06-27 16:45:56 +02:00
zurdi
375898221d added ipykernel to dev dependencies 2024-06-27 12:50:43 +02:00
zurdi
9a86df5272 reactivity added to all images 2024-06-27 12:46:45 +02:00
zurdi
d3324b6d31 added created_at column 2024-06-27 12:12:35 +02:00
zurdi
24d677095b added cover image reactivity 2024-06-27 12:00:10 +02:00
zurdi
542cc6aa64 added updated_at column to tables 2024-06-27 11:59:45 +02:00
Zurdi
32e0850df8 force aspect ratio for all covers 2024-06-27 00:06:26 +02:00
zurdi
b314799c5a fixed info details on xs 2024-06-26 19:44:43 +02:00
zurdi
7dfbcc9a0b dinamic ratio for small artwork 2024-06-26 19:37:50 +02:00
zurdi
9f93623aee fixed aspect ratio 2024-06-26 19:23:04 +02:00
Zurdi
c8f9015561 Merge branch 'master' into feature/steamgriddb 2024-06-26 18:17:03 +02:00
zurdi
180c373e1e steamgridDB integration added 2024-06-26 17:36:02 +02:00
Georges-Antoine Assi
6bc7f282a3 Merge pull request #958 from adamantike/fix/call-redis-hset-in-bulk
fix: Call Redis HSET in bulk
2024-06-26 09:49:49 -04:00
zurdi
8b1a63d274 removed unused auth store state 2024-06-26 12:53:27 +02:00
zurdi
8295c23980 fixed rom edit dialog 2024-06-26 09:47:16 +02:00
Zurdi
9e99f14e45 Merge pull request #957 from rommapp/fix/ui_tweaks
UI tweaks
2024-06-26 09:15:40 +02:00
Georges-Antoine Assi
6f92a190f7 Merge pull request #954 from adamantike/misc/migrate-to-sqlalchemy-declarative-models
misc: Migrate to SQLAlchemy declarative models
2024-06-25 23:25:39 -04:00
Michael Manganiello
3bd37165d4 fix: Call Redis HSET in bulk 2024-06-26 00:17:49 -03:00
Michael Manganiello
b99ededced misc: Migrate to SQLAlchemy declarative models
This change applies the guided migration process recommended by
SQLAlchemy [1], up to step 4, to have declarative ORM models that better
support Python typing.

The change was tested by running `alembic check`, which does not find
any schema changes.

Errors reported by `mypy` go down to 170, from the original 223 in the
current `master` commit.

[1] https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#migrating-an-existing-mapping
2024-06-25 23:03:20 -03:00
zurdi
c4dc34a66e extracted details view components 2024-06-26 00:45:35 +02:00
zurdi
a5edc23848 disable play view selectors when onPlay | added reset emulation session 2024-06-26 00:12:27 +02:00
zurdi
7921d7cfb1 small ui tweaks 2024-06-26 00:11:44 +02:00
zurdi
9173d18108 Merge remote-tracking branch 'origin/master' into fix/ui_tweaks 2024-06-25 23:55:37 +02:00
Zurdi
c3329012df Merge pull request #956 from rommapp/fix/front_firmware_permissions
Fixed firmware drawer permissions
2024-06-25 23:17:03 +02:00
Zurdi
0e3693b370 fixed firmware drawer permissions 2024-06-25 22:58:32 +02:00
Georges-Antoine Assi
4cb870b940 Merge pull request #953 from adamantike/misc/remove-mentions-to-poetry-fork
misc: Remove mentions to unneeded Poetry fork
2024-06-25 16:29:35 -04:00
Georges-Antoine Assi
1d4edc1f44 Merge pull request #950 from adamantike/misc/apply-pyupgrade-changes
misc: Apply changes generated by pyupgrade
2024-06-25 16:19:05 -04:00
Georges-Antoine Assi
2458738e91 Merge pull request #952 from adamantike/fix/remove-abandoned-aioredis
fix: Remove abandoned dependency aioredis
2024-06-25 13:22:55 -04:00
Michael Manganiello
3d4a66cbca misc: Remove mentions to unneeded Poetry mention
Poetry 1.8.0 already includes support for `package-mode = false`, so
there's no need to install a Poetry fork anymore.
2024-06-24 07:38:27 -03:00
Michael Manganiello
9283193f49 fix: Use latest 3.11 version supported by trunk
Source: d9eae6887d
2024-06-23 18:34:28 -03:00
Michael Manganiello
87a4ef33ec misc: Upgrade Python to 3.11 in trunk configuration 2024-06-23 18:18:20 -03:00
Georges-Antoine Assi
176c57c792 run trunk fmt 2024-06-23 18:17:19 -03:00
Michael Manganiello
33ac3ca56d misc: Apply changes generated by pyupgrade
Changes automatically made by
[`pyupgrade`](https://github.com/asottile/pyupgrade), using the
`--py311-plus` flag, to be compatible with Python 3.11.
2024-06-23 18:17:08 -03:00
Michael Manganiello
707b2ec6bd fix: Remove abandoned dependency aioredis
`aioredis` is abandoned, and has been replaced by `redis.asyncio`.

Currently, the project doesn't use `aioredis` directly, but depends on
it for `socketio.AsyncRedisManager`. This change is safe, as `socketio`
has been prioritizing `redis.asyncio` over `aioredis` since `v5.6.0` [1].

[1] 0e7691b776
2024-06-23 18:12:38 -03:00
Georges-Antoine Assi
2f1daaec8a Merge pull request #948 from adamantike/fix/improve-docker-layer-caching-on-frontend-changes
fix: Improve Docker layer caching on frontend changes
2024-06-23 12:14:35 -04:00
Georges-Antoine Assi
548ac0174f Merge pull request #951 from adamantike/misc/move-fakeredis-to-test-dependency
misc: Move fakeredis to test dependencies
2024-06-23 11:27:28 -04:00
Georges-Antoine Assi
92d5c60f43 run trunk fmt 2024-06-23 15:09:55 +00:00
Georges-Antoine Assi
74cb0625b2 Merge branch 'master' into misc/move-fakeredis-to-test-dependency 2024-06-23 11:04:07 -04:00
Georges-Antoine Assi
1f143ffd24 Merge pull request #949 from adamantike/misc/compile-constant-regexes
misc: Compile constant regular expressions
2024-06-23 11:00:08 -04:00
Georges-Antoine Assi
0546cee67d Merge branch 'master' into fix/improve-docker-layer-caching-on-frontend-changes 2024-06-23 10:24:02 -04:00
Georges-Antoine Assi
dca2a59d93 Merge pull request #947 from adamantike/misc/simplify-dockerfile-backend
misc: Simplify backend environment configuration in Docker image
2024-06-23 10:22:32 -04:00
Michael Manganiello
ed635d69cc misc: Move fakeredis to test dependencies
`fakeredis` is only needed when running tests, so we can move it to the
`test` dependency group.
2024-06-23 11:10:25 -03:00
Michael Manganiello
fc53d77a58 misc: Compile constant regular expressions
Improve efficiency on reusable regular expressions, by compiling them.
2024-06-23 00:36:22 -03:00
Michael Manganiello
32ef612b0a fix: Improve Docker layer caching on frontend changes
Avoid any changes in the `frontend/` folder to trigger `npm install`.
Instead, split the copies to have separate steps for install and build.
2024-06-22 20:29:52 -03:00
Michael Manganiello
0daa708a05 misc: Simplify backend environment configuration in Docker image
This change moves the virtualenv creation in the `Dockerfile` to a
separate stage, to simplify isolating the process and reduce the need
for uninstalling build dependencies.

The approach is similar to the one explained in [1]. It relies on
building a virtualenv folder, and copying it in the final stage.
Changing the `PATH` environment variable makes the virtualenv usable by
default, without affecting the default Python installation.

Also, added Dockerfile arguments for Alpine, nginx, and Python versions,
as some of them are reused, and also simplifies testing new versions.

An extra side effect is that the image size for the final stage is
reduced from 315MB to 262MB.

[1] https://scribe.rip/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0
2024-06-22 18:19:16 -03:00
Georges-Antoine Assi
5f2e0ea71f add steam rom manager to readme 2024-06-22 09:50:09 -04:00
Zurdi
f650c44d18 Merge pull request #945 from rommapp/dockerfile-redis-install
Install redis instead of building in Dockerfile
3.3.0-beta.2
2024-06-21 19:15:12 +02:00