Michael Manganiello
95a66a182e
misc: Improve typing for feed schemas
...
* Add typing for nested objects in Tinfoil and Webrcade feed schemas.
* Do not send Rom background and thumbnail, if not available.
* Correctly build URLs using `starlette` utils.
* Deprecate the `ROMM_HOST` setting, no longer needed.
* Fix FastAPI custom router to prefer routes without trailing slash.
* Fix Webrcade background URL pointing to gallery screenshot.
2024-08-07 22:56:16 -03:00
Georges-Antoine Assi
cbeac18fea
Drop ROMM_AUTH_USERNAME and ROMM_AUTH_PASSWORD env variables
2024-08-07 12:27:58 -04:00
Michael Manganiello
749e4d65c1
misc: Use PYTEST_VERSION variable to detect Pytest runs
...
Pytest v8.2 introduced the `PYTEST_VERSION` environment variable [1],
that can be used to check if code is running from within a pytest run.
This way, we can avoid checking the loaded `sys` modules.
[1] https://docs.pytest.org/en/stable/changelog.html#id57
2024-07-27 12:03:44 -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
fcb34f9088
Merge branch 'master' into trunk-io
2024-05-23 10:06:13 -04:00
Georges-Antoine Assi
b2085f87a8
bunch of fixes for trunk
2024-05-21 17:10:11 -04:00
Georges-Antoine Assi
66510c0327
Improve fetch times of platforms endpoint
2024-05-18 17:24:07 -04:00
HellLord
98f60fb001
adds more configuration for external redis
...
add env vars: REDIS_USERNAME, REDIS_DB
Co-Authored-By: Zurdi <34356590+zurdi15@users.noreply.github.com >
Co-Authored-By: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com >
2024-04-14 22:01:31 +06:00
Georges-Antoine Assi
eda6d78c4b
add env to disable auth on download endpoint
2024-04-04 15:27:07 -04:00
Georges-Antoine Assi
4174b9753e
remove mame from scheduled tasks and embed fixture
2024-03-26 16:49:02 -04:00
Zurdi
d283214643
Merge branch 'master' into mobygames-new-api
2024-03-26 09:11:40 +01:00
Georges-Antoine Assi
41d0d2eb46
more dir creating up in dockerfile + add redis password
2024-03-25 15:30:27 +00:00
zurdi
8006b4782b
Merge remote-tracking branch 'origin/master' into mobygames-new-api
2024-03-19 18:18:41 +01:00
Marcos Vanetta
28c0bbeaa0
Allow redis to run in a different host
2024-03-16 13:59:14 -05:00
Georges-Antoine Assi
bd07c1d21f
add button to stop running scan
2024-03-14 21:17:03 -04:00
Georges-Antoine Assi
41c85b3f80
Merge branch 'master' into mobygames-new-api
2024-03-10 18:05:02 -04:00
Georges-Antoine Assi
07cc82b627
Fix auth handling on user update
2024-03-06 09:53:29 -05:00
Georges-Antoine Assi
a36d49979e
[WIP] build redis into container
...
expose port right
2024-03-01 10:36:02 -05:00
Georges-Antoine Assi
1c8b86c664
More cleanup of docker-compose
2024-03-01 09:59:02 -05:00
Georges-Antoine Assi
ac7f045501
Merge branch 'master' into mobygames-new-api
2024-02-19 10:32:00 -05:00
Georges-Antoine Assi
794d99add1
add option to disable CSRF protection
2024-02-15 16:58:27 -05:00
Georges-Antoine Assi
ce9deb4f3c
Rebuild moby api on new code
2024-02-13 18:46:31 -05:00
Georges-Antoine Assi
8e6769cd6a
Merge branch 'master' into asset-refactor
2024-02-06 16:54:55 -05:00
Georges-Antoine Assi
6bcadec702
everything we need for 3.0
2024-02-01 18:13:16 -05:00
Georges-Antoine Assi
eb18388a81
Mega refactor of asset
2024-02-01 17:59:06 -05:00
Zurdi
37c359fa97
path_cover and url_cover refactored
2024-02-01 00:22:44 +01:00
Zurdi
8fee257a8d
refactor default assets path
2024-01-31 20:03:03 +01:00
Georges-Antoine Assi
5762270f62
Merge branch 'master' into romm-55
2024-01-09 13:06:51 -05:00
Zurdi
eea7e41940
docstrings added to endpoints + organized imports + formatted code
2024-01-09 16:22:31 +01:00
Georges-Antoine Assi
3767401075
Merge branch 'master' into romm-55
2023-12-28 13:46:08 -05:00
Georges-Antoine Assi
4b97e21f46
Merge branch 'master' into webrcade-feed
2023-12-27 19:34:58 -05:00
Georges-Antoine Assi
1adad64a9e
Merge uplaoded and igdb screenshots
2023-11-14 09:40:36 -05:00
Georges-Antoine Assi
a7bf12c6ed
Refactor how config is stored and loaded
2023-11-14 09:14:27 -05:00
Georges-Antoine Assi
f7df912e20
Finish scanning for saves/states
2023-11-13 13:02:54 -05:00
Georges-Antoine Assi
1967879f0c
Models for saves and states + scannig
2023-11-13 00:09:38 -05:00
zurdi
66c1e3c04b
resize igdb cover when needed
2023-11-03 17:01:03 +01:00
Georges-Antoine Assi
80ffca8f77
Update env variables to include new tasks
2023-10-31 12:51:02 -04:00
Georges-Antoine Assi
5eced8a94c
Merge branch 'master' into scheduled-tasks
2023-10-30 11:19:47 -04:00
zurdi
7562cee594
[ROMM-412] Support for secured redis added
2023-10-29 20:15:12 +01:00
Georges-Antoine Assi
89a87249cb
Merge branch 'master' into scheduled-tasks
2023-10-27 15:27:22 -04:00
Georges-Antoine Assi
8457ab3508
Add endpoint to generate webrcade feed
2023-09-17 11:23:01 -04:00
Georges-Antoine Assi
50199611eb
Add mame xml and scheduled tasks
2023-09-15 13:11:41 -04:00
Georges-Antoine Assi
6c5e2bf309
Custom roms folder name env
2023-09-03 22:00:58 -04:00
Georges-Antoine Assi
0a756f8fd8
Add watchdog and watch roms
2023-08-26 19:28:36 -04:00
Georges-Antoine Assi
3d116e971d
Run scheduler and schedule tasks
2023-08-26 13:17:43 -04:00
Georges-Antoine Assi
01c0baf8f8
Merge branch 'master' into scheduled-tasks
2023-08-26 12:09:43 -04:00
Georges-Antoine Assi
619b2fe3d8
Add tasks to config int
2023-08-26 12:07:54 -04:00
Georges-Antoine Assi
2b8d388866
Clarify some environment variables
2023-08-25 16:47:18 -04:00
zurdi
a39897b4f7
redis enabled as experimental
2023-08-24 17:21:33 +02:00
Georges-Antoine Assi
8b7b5c37fc
Use semantic version for package
2023-08-24 10:14:59 -04:00