Commit Graph

1827 Commits

Author SHA1 Message Date
Michael Manganiello
3d8342ff7d Merge pull request #1650 from rommapp/misc/strip-credential-envvars
misc: Strip environment variables related to third-party credentials
2025-02-22 20:39:37 -03:00
Michael Manganiello
fac368641c misc: Strip environment variables related to third-party credentials
For client_id/client_secret combinations, and API keys, we are certain
that they should not have leading/trailing whitespaces. We can strip
them to avoid any potential issues for users who might have added them
incorrectly in their Docker Compose configuration.

This change does NOT affect users/passwords, where leading/trailing
whitespaces might be intentional and valid.
2025-02-22 19:57:29 -03:00
Georges-Antoine Assi
cdfcf81d57 [HOTFIX] format collections migration 2025-02-21 15:28:13 -05:00
zurdi
8e65a60a60 fix: handle missing hidden_folder query parameter gracefully 2025-02-21 12:56:13 +00:00
zurdi
5352a48fe8 fix: update M3U encoding to handle hidden folders correctly 2025-02-21 12:15:27 +00:00
zurdi
da302c07ac fix: correct M3U file path handling for hidden folders 2025-02-21 12:12:22 +00:00
zurdi
f307fb899e fix: generation of .m3u files 2025-02-21 01:19:09 +00:00
Georges-Antoine Assi
8ece8adb68 refactor ssrom creator 2025-02-20 09:49:01 -05:00
Georges-Antoine Assi
5f96c2eb55 [HOTFIX] Fix empty ss metadata companies + cleanup 2025-02-20 09:41:38 -05:00
Michael Manganiello
9602d58865 misc: Add support for WEB_CONCURRENCY environment variable
The `WEB_CONCURRENCY` environment variable is a more common way to
configure the number of workers for Gunicorn [1] or other web servers.

This change maintains `GUNICORN_WORKERS` compatibility, while notifying
users that it is deprecated and should be replaced with
`WEB_CONCURRENCY`.

It would also allow us to replace Gunicorn with another web server in
the future without changing the variable name.

[1] https://docs.gunicorn.org/en/stable/settings.html#workers
2025-02-19 00:31:34 -03:00
Michael Manganiello
ed0ab3cd4a misc: Use FRONTEND_RESOURCES_PATH setting in missing places 2025-02-18 21:53:09 -03:00
zurdi
53d4761547 misc: migrate IGDB API fields to new version 2025-02-18 17:10:09 +00:00
zurdi
38377bf8fe Rename variable for manual URL to path in update_rom function for clarity 2025-02-18 01:15:51 +00:00
zurdi
c9a92efcbc Enhance ROM identification logic by adding properties for partially and fully identified states 2025-02-18 00:25:08 +00:00
zurdi
cfbcd82547 fix: changes based on review 2025-02-17 11:10:24 +00:00
zurdi
c670136bf3 Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-02-16 23:58:09 +00:00
Georges-Antoine Assi
8668714452 [ROMM-1616] Support custom icons for platform versions 2025-02-16 11:56:01 -05:00
zurdi
b37bd53ef7 Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-02-16 16:43:34 +00:00
Georges-Antoine Assi
1b9ebdd83f [HOTFIX] Define virtual collections correctly 2025-02-14 17:59:36 -05:00
Georges-Antoine Assi
0b06012956 Merge pull request #1610 from rommapp/reset-stores-on-logout
Reset stores on logout + move hash calc out of background on scan
2025-02-14 09:44:12 -05:00
zurdi
5733770cd8 Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-02-14 12:09:39 +00:00
Georges-Antoine Assi
49aae2623c Reset stores on logout 2025-02-13 23:32:04 -05:00
Michael Manganiello
7ba7da8d34 fix: Migration 0034 compatibility with MySQL
`DISTINCT` cannot be used within `JSON_ARRAYAGG` in MySQL, so it was
removed.

Also, the PostgreSQL query was simplified and now generates JSONB
columns, to be consistent with all the other tables.
2025-02-14 00:17:06 -03:00
zurdi
81ad78badc Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-02-12 16:07:19 +00:00
zurdi
bd8a1f2547 fix: ss migrations 2025-02-12 12:54:00 +00:00
zurdi
c33217bc24 Add ss_url_cover field to search response 2025-02-12 12:41:16 +00:00
zurdi
2e3858d032 Merge branch 'master' into feature/screenscraper-integration 2025-02-12 12:41:08 +00:00
Georges-Antoine Assi
d8829cdc3b add link to muos docs 2025-02-11 19:07:37 -05:00
Georges-Antoine Assi
72571cdb6d fix for local development 2025-02-11 19:05:24 -05:00
Georges-Antoine Assi
b8f11e860e Merge branch 'master' into muos-10 2025-02-11 18:15:11 -05:00
Georges-Antoine Assi
7d54ef877b [HOTFIX] Remove single forward-slash endpoints 2025-02-11 13:48:24 -05:00
Georges-Antoine Assi
c1cf7c958c Merge pull request #1562 from rommapp/romm-994
[ROMM-994] Autogenerated collections
2025-02-11 10:40:07 -05:00
Georges-Antoine Assi
52106b16c5 nest downloads under hidden 2025-02-11 09:54:15 -05:00
Georges-Antoine Assi
c78e3ee3a7 Merge branch 'master' into retrodeck-bios-files 2025-02-10 18:45:31 -05:00
zurdi
d6dfc00e49 Refactor manual upload endpoint to improve file handling and directory creation 2025-02-10 17:53:10 +00:00
zurdi
e51dfc3eec Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-02-10 08:59:28 +00:00
Georges-Antoine Assi
75eb0374a2 fix bad merge 2025-02-09 20:38:04 -05:00
Georges-Antoine Assi
c9dcf5ba38 Merge branch 'master' into romm-994 2025-02-09 20:30:48 -05:00
Georges-Antoine Assi
ec14c2c43a fix postgres dv view 2025-02-09 15:21:44 -05:00
Georges-Antoine Assi
3088e4566c changes from self-view 2025-02-09 11:22:10 -05:00
Michael Manganiello
70825830c4 misc: Set prefix and tags to API routers
Improve OpenAPI documentation by setting tags to each API router. Also,
set a prefix to each router to group the endpoints by their
functionality.
2025-02-09 11:31:13 -03:00
Georges-Antoine Assi
b829a54d9f fix trunk 2025-02-08 23:21:00 -05:00
Georges-Antoine Assi
88dc964ac4 Merge branch 'master' into romm-994 2025-02-08 21:28:38 -05:00
zurdi
d2c2fe6f12 Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-02-08 20:40:27 +00:00
Georges-Antoine Assi
5d9cbaa9db Merge pull request #1591 from rommapp/simpler-rom-response-object
Simpler rom response object
2025-02-07 23:12:05 -05:00
Georges-Antoine Assi
0d32bb7dd3 Simpler rom response object 2025-02-07 22:43:04 -05:00
Georges-Antoine Assi
c27eca2645 Merge pull request #1586 from rommapp/kiosk-mode
Read-only kiosk mode for viewers
2025-02-07 11:51:58 -05:00
Georges-Antoine Assi
630f6de2e4 [ROMM-1588] Skip hash calc on file not found/permission erros 2025-02-07 11:24:27 -05:00
zurdi
46678b1ef2 feat: implement manual upload functionality for ROMs 2025-02-07 13:24:08 +00:00
Georges-Antoine Assi
0f8d51193a kiosk mode allows viewing without auth 2025-02-07 00:18:52 -05:00