Commit Graph

5404 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
f0b2bfea52 Merge pull request #1649 from rommapp/fix/nginx-conf.d-writable
fix: Make nginx configuration files writable by everyone
2025-02-22 20:04:50 -03:00
Georges-Antoine Assi
fd40011401 Merge pull request #1645 from rommapp/hotfix-collections-migration
[HOTFIX] Fix collections migration in both directions
2025-02-22 18:00:03 -05: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
Michael Manganiello
85293d320a fix: Make nginx configuration files writable by everyone
As the container entrypoint runs `envsubst` to replace environment
variables in the nginx configuration files, the `/etc/nginx/conf.d` and
its contents must be writable by everyone.

This is needed because a user can set a custom UID/GID to run the
container, and the `envsubst` command will run as that user.
2025-02-22 17:25:15 -03:00
Georges-Antoine Assi
f3a7ed07a9 update trunk plugins 2025-02-21 15:29:18 -05:00
Georges-Antoine Assi
cdfcf81d57 [HOTFIX] format collections migration 2025-02-21 15:28:13 -05:00
Michael Manganiello
4e8c107d2e Merge pull request #1643 from rommapp/fix/ROMM_BASE_PATH-library
fix: nginx configuration for library access when ROMM_BASE_PATH is set
2025-02-21 11:53:10 -03:00
Michael Manganiello
8487d39326 fix: nginx configuration for library access when ROMM_BASE_PATH is set
The nginx configuration was not updated to use the `ROMM_BASE_PATH`
environment variable when serving the library files.

We no longer hardcode the base path to `/romm`, but instead use the
provided path.
2025-02-21 11:44:48 -03:00
zurdi
8e65a60a60 fix: handle missing hidden_folder query parameter gracefully 3.8.0-alpha.6 2025-02-21 12:56:13 +00:00
Zurdi
316487d4f5 Merge pull request #1641 from rommapp/fix/hidden_folder
fix: build m3u file if not DEV_MODE
3.8.0-alpha.5
2025-02-21 13:26:10 +01: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
Michael Manganiello
ea4dccce71 Merge pull request #1636 from rommapp/fix/ROMM_BASE_PATH-assets
fix: Support for assets when using custom ROMM_BASE_PATH
3.8.0-alpha.4
2025-02-21 08:15:29 -03:00
zurdi
f307fb899e fix: generation of .m3u files 3.8.0-alpha.2 2025-02-21 01:19:09 +00:00
Georges-Antoine Assi
9ec82c2757 Merge pull request #1639 from baxysquare/release
Added Systematic Icon Set
2025-02-20 13:07:20 -05:00
Georges-Antoine Assi
f5a9c34885 format svgs 2025-02-20 13:06:01 -05:00
BAXY Square
cebac639f2 Update default.svg 2025-02-20 10:53:37 -07:00
Georges-Antoine Assi
678f266b0f format svgs 2025-02-20 11:55:47 -05:00
Georges-Antoine Assi
119e4700c1 Merge pull request #1640 from grasspuddle/patch-1
Update config.batocera-retrobat.yml
2025-02-20 11:34:59 -05:00
Georges-Antoine Assi
e6a283c65b Merge pull request #1638 from rommapp/hotfix-ss-metadata
Hotfix ss metadata
2025-02-20 11:17:30 -05:00
grasspuddle
2d925c4bd0 Update config.batocera-retrobat.yml
1. added PS4
2. changed sega32x to match ROMM correctly
2025-02-20 11:16:58 -05:00
BAXY Square
e8b4c5ae9c Added Systematic Icon Set
Went through and renamed the SVG source icons from the Systematic theme that is part of the Libretro project, so they matched with existing folders and icons in the RomM project.
2025-02-20 08:23:17 -07: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
c05593db14 fix: Support for assets when using custom ROMM_BASE_PATH
When using a custom ROMM_BASE_PATH, the symbolic links used by nginx to
serve assets were not being updated to point to the correct location,
and always used the default `/romm` base path.

This change introduces a fix in the `docker-entrypoint.sh` script, so
those symbolic links are updated to point to the correct location set by
the `ROMM_BASE_PATH` environment variable.

Fixes #1626.
2025-02-20 00:21:32 -03:00
Michael Manganiello
b05c87b03f Merge pull request #1635 from rommapp/fix/nginx-alias-traversal
fix: Nginx alias_traversal warning
2025-02-19 10:08:40 -03:00
Michael Manganiello
3c4046e2c3 fix: Nginx alias_traversal warning
Warning triggered by [gixy](https://github.com/yandex/gixy).

Related documentation:
https://github.com/yandex/gixy/blob/master/docs/en/plugins/aliastraversal.md
2025-02-19 09:43:26 -03:00
Michael Manganiello
c32343c51e Merge pull request #1634 from rommapp/feat/allow-configuring-app-port
feat: Allow configuring app port using ROMM_PORT environment variable
2025-02-19 07:49:35 -03:00
Michael Manganiello
fbff92403f feat: Allow configuring app port using ROMM_PORT environment variable
By using the `ROMM_PORT` environment variable, users can now configure
the port on which the application listens, which defaults to `8080`.
2025-02-19 01:02:25 -03:00
Michael Manganiello
f6be1a6df3 Merge pull request #1632 from rommapp/misc/nginx-templates
misc: Use nginx templates to allow for environment variable usage
2025-02-19 00:55:34 -03:00
Michael Manganiello
4f5b7aa6d4 Merge pull request #1633 from rommapp/misc/add-WEB_CONCURRENCY-support
misc: Add support for WEB_CONCURRENCY environment variable
2025-02-19 00:55:13 -03: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
98254d50b8 misc: Use nginx templates to allow for environment variable usage
Using the `envsubst` command, we can replace environment variables in
the nginx template files. This allows for more flexibility when
configuring the nginx server.

The Docker image we use as base for Nginx does provide the
`20-envsubst-on-templates.sh` script that will replace environment
variables in the template files.

This change does not include any behavior change, but unblocks future
changes that require environment variables in the nginx configuration.
2025-02-18 22:36:51 -03:00
Michael Manganiello
d24f9810f1 Merge pull request #1631 from rommapp/misc/use-FRONTEND_RESOURCES_PATH-missing-places
misc: Use FRONTEND_RESOURCES_PATH setting in missing places
2025-02-18 22:03:30 -03:00
Michael Manganiello
ed0ab3cd4a misc: Use FRONTEND_RESOURCES_PATH setting in missing places 2025-02-18 21:53:09 -03:00
Zurdi
61a9f832b8 Merge pull request #1629 from rommapp/refactor/igdb-migration
misc: migrate IGDB API fields to new version
2025-02-18 20:16:00 +01:00
zurdi
890022307f fix: update snackbar color in AdminMenu.vue for consistency 2025-02-18 17:16:08 +00:00
zurdi
53d4761547 misc: migrate IGDB API fields to new version 2025-02-18 17:10:09 +00:00
Zurdi
22029ded0a Merge pull request #1627 from rommapp/fix/remove-from-collection
fix: Remove from collection dialog
2025-02-18 16:23:33 +01:00
zurdi
1a69a0a442 Remove unnecessary assignment of currentCollection in RemoveRoms.vue 2025-02-18 15:00:04 +00:00
zurdi
e447eca572 Remove unnecessary check for currentCollection in RemoveRoms.vue 2025-02-18 14:46:59 +00:00
Zurdi
e0f9a2b622 Merge pull request #1625 from rommapp/fix/partial-metadata-scan
fix: Partial metadata scan
2025-02-18 12:24:14 +01: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
9933ad25eb Update scan type in FabOverlay.vue from "quick" to "partial" for improved filtering and change button title to "Refresh metadata" 2025-02-18 00:46:15 +00:00
zurdi
d2c304fb54 Update scan type in AdminMenu.vue from "quick" to "partial" for improved filtering 2025-02-18 00:40:17 +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
c29facebe6 Refactor GameDetails.vue to use dynamic import for PdfViewer component 3.8.0-alpha.1 2025-02-17 17:13:46 +00:00
Zurdi
0732a72e36 Merge pull request #1416 from rommapp/feature/screenscraper-integration
feat: Screenscraper integration
2025-02-17 16:00:24 +01:00
Georges-Antoine Assi
2570e8af1a fix ts error 2025-02-17 09:35:34 -05:00