Commit Graph

78 Commits

Author SHA1 Message Date
zurdi
375898221d added ipykernel to dev dependencies 2024-06-27 12:50:43 +02: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
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
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
Georges-Antoine Assi
9b62641d55 Merge branch 'master' into trunk-io 2024-05-31 18:42:43 -04:00
Georges-Antoine Assi
95412760be Remove pagination from roms endpoints 2024-05-31 12:15:52 -04:00
Zurdi
44f10a560c Solve merge into release conflicts 2024-05-31 16:46:35 +02:00
Georges-Antoine Assi
2b60402a04 start fixing mypy issues 2024-05-21 19:22:14 -04:00
Georges-Antoine Assi
2a980a04e6 last bits of fixes 2024-05-21 17:52:13 -04:00
Georges-Antoine Assi
a7cf0d389a run trunk format on all files 2024-05-21 10:18:13 -04:00
dependabot[bot]
ee28b7ee8d ---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 05:33:54 +00:00
Georges-Antoine Assi
b1a14a6f22 add authlib jose 2024-05-12 21:33:53 -04:00
Georges-Antoine Assi
5bce52f9d4 drop numpy and jose 2024-05-12 21:13:41 -04:00
dependabot[bot]
3c5bff39fe Bump gunicorn from 21.2.0 to 22.0.0
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 21.2.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/21.2.0...22.0.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 02:51:23 +00:00
dependabot[bot]
60f02eec98 Bump pillow from 10.2.0 to 10.3.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-03 16:47:54 +00:00
Georges-Antoine Assi
82fa7ae025 add yarl explicit dep 2024-03-26 21:17:40 -04:00
Georges-Antoine Assi
fd196165b8 add fake redis for tests 2024-03-26 20:37:38 -04:00
Georges-Antoine Assi
770313c1f1 hset all in cache for quick access 2024-03-26 19:03:42 -04:00
Psych0D0g
8f5536c69b switch to gunicorn for handling backend app 2024-03-25 21:56:19 +01:00
zurdi
b2392d0acc replaced old zurdi15/romm url to rommapp/romm 2024-03-25 02:49:08 +01:00
Georges-Antoine Assi
6bee52cc98 implement session middlware 2024-03-17 11:37:37 -04:00
Georges-Antoine Assi
e62ef192dc Bump python to 3.11 + packages 2024-03-17 00:23:48 -04:00
Georges-Antoine Assi
7ca551b743 switched to jwt backed sessions 2024-02-16 10:00:54 -05:00
Georges-Antoine Assi
77aca3fad7 siwtch to build on tag 2024-02-10 12:43:39 -05:00
Georges-Antoine Assi
b76ecb29d2 Repo cleanup prep for 3.0 release 2024-02-10 10:05:20 -05:00
Zurdi
045ed5425a added poetry_npm support 2023-12-13 14:21:48 +01:00
Georges-Antoine Assi
be0b36c439 Multi lang and multi region support 2023-12-03 11:27:35 -05:00
Georges-Antoine Assi
821e7cc930 Merge branch 'master' into models-refactor 2023-11-03 21:42:06 -04:00
zurdi
66c1e3c04b resize igdb cover when needed 2023-11-03 17:01:03 +01:00
zurdi
546cbe1b4a version upgraded to 2.1.0 + updated readme/changelog 2023-10-31 16:30:12 +01:00
Georges-Antoine Assi
5eced8a94c Merge branch 'master' into scheduled-tasks 2023-10-30 11:19:47 -04:00
Zurdi
248dcb791d Update pyproject.toml 2023-10-29 12:48:00 +01:00
Georges-Antoine Assi
89a87249cb Merge branch 'master' into scheduled-tasks 2023-10-27 15:27:22 -04:00
Lukas Wingerberg
10f34a6495 add venv to docker and refactor to get rid of python build dependencies that are not needed at runtime 2023-10-22 15:56:05 +02:00
Lukas Wingerberg
8015558398 refactor to alpine base and fix some more paths to work on readonly rootfs 2023-10-22 12:45:34 +02:00
Georges-Antoine Assi
50199611eb Add mame xml and scheduled tasks 2023-09-15 13:11:41 -04:00
Georges-Antoine Assi
04ba6f493b Switch igdb/sgdb IDs to int + update fastapi/pydantic 2023-09-14 10:06:43 -04:00
Georges-Antoine Assi
0a756f8fd8 Add watchdog and watch roms 2023-08-26 19:28:36 -04:00
Georges-Antoine Assi
2faf33768d Merge branch 'master' into scheduled-tasks 2023-08-25 19:22:38 -04:00
Georges-Antoine Assi
8b7b5c37fc Use semantic version for package 2023-08-24 10:14:59 -04:00
zurdi
0a7c631fc3 version upgraded to 2.0 2023-08-24 10:35:11 +02:00
Georges-Antoine Assi
3965ca1997 Add basic auth + fix tests and typing 2023-08-23 11:21:01 -04:00
Georges-Antoine Assi
6a09c2da33 Add scheduled tasks for library scan + titledb update 2023-08-22 22:36:31 -04:00
zurdi
0d39e63b6b python-multipart added to pyproject 2023-08-18 00:06:06 +02:00
Georges-Antoine Assi
7f18755300 Merge branch 'simple-authentication-front' into simple-authentication 2023-08-17 13:13:14 -04:00
zurdi
e45a4a78a3 romm version upgraded to 1.10 2023-08-14 00:18:17 +02:00
Georges-Antoine Assi
bd186b0228 Add endpoint tests 2023-08-13 12:18:38 -04:00
Georges-Antoine Assi
da4c318f6c Add tests for auth utils 2023-08-13 11:10:59 -04:00
Georges-Antoine Assi
cd1ad91ed7 Merge branch 'master' into simple-authentication 2023-08-12 23:47:09 -04:00
Georges-Antoine Assi
3b4c8c1a8b Merge branch 'master' into revert-sed 2023-08-11 23:42:01 -04:00