Commit Graph

5432 Commits

Author SHA1 Message Date
Georges-Antoine Assi
508fa33b2c Bump vite and eslbuild 3.8.0-beta.1 2025-02-25 12:06:46 -05:00
Georges-Antoine Assi
2cb87e6e7b Merge pull request #1661 from rommapp/catch-metadata-errors-scan
Catch JSON parse errors during scan
2025-02-25 10:27:39 -05:00
Georges-Antoine Assi
7fafd452ed update sgdb handler 2025-02-24 21:57:14 -05:00
Georges-Antoine Assi
d37a0168ca undo scan handler change 2025-02-24 21:52:45 -05:00
Georges-Antoine Assi
0592985e5c wrap all in json error checks 2025-02-24 20:48:58 -05:00
Georges-Antoine Assi
a14a9bcf50 improve error msg 2025-02-24 20:36:21 -05:00
Georges-Antoine Assi
6932f864c6 reraise error 2025-02-24 19:52:35 -05:00
Georges-Antoine Assi
4d54763a5f [EXP] catch metadata scan errors 2025-02-24 15:17:05 -05:00
zurdi
9ea8e747ea feat: modify build workflow to trigger actions only on release events 2025-02-24 15:55:36 +00:00
zurdi
80388eef4c Merge remote-tracking branch 'origin/master' 3.8.0-alpha.8 2025-02-24 14:27:43 +00:00
zurdi
b927f214d5 feat: update build workflow to trigger documentation and website builds on release 2025-02-24 14:27:20 +00:00
Georges-Antoine Assi
7906ecc614 Merge pull request #1659 from rommapp/dev-mode-sync-scan
[HOTFIX] Misc fixe for alpha.7
2025-02-24 09:09:26 -05:00
Georges-Antoine Assi
ea4746f2b2 load more on touch move 2025-02-24 00:40:50 -05:00
Georges-Antoine Assi
fd05737f6b [HOTFIX] Fix platform versions endpoint + run scans sync in DEV_MODE 2025-02-23 23:43:01 -05:00
dependabot[bot]
6cdc467850 Merge pull request #1657 from rommapp/dependabot/npm_and_yarn/frontend/master/eslint-9.21.0 2025-02-24 03:34:26 +00:00
dependabot[bot]
92c5168e3f Bump eslint from 9.20.1 to 9.21.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.20.1 to 9.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.20.1...v9.21.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 03:32:31 +00:00
dependabot[bot]
f90d4ae336 Merge pull request #1658 from rommapp/dependabot/npm_and_yarn/frontend/master/vite-6.1.1 2025-02-24 03:31:33 +00:00
dependabot[bot]
9cfddcc0e3 Merge pull request #1656 from rommapp/dependabot/npm_and_yarn/frontend/master/globals-16.0.0 2025-02-24 03:31:00 +00:00
dependabot[bot]
ba5e08ee0e Merge pull request #1655 from rommapp/dependabot/npm_and_yarn/frontend/master/multi-6e6cfcd2df 2025-02-24 03:29:36 +00:00
dependabot[bot]
7793ad268b Merge pull request #1654 from rommapp/dependabot/npm_and_yarn/frontend/master/nanoid-5.1.2 2025-02-24 03:28:58 +00:00
dependabot[bot]
7cda4b6c1f Bump vite from 6.1.0 to 6.1.1 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.1.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 02:10:36 +00:00
dependabot[bot]
63a4bfdab7 Bump globals from 15.15.0 to 16.0.0 in /frontend
Bumps [globals](https://github.com/sindresorhus/globals) from 15.15.0 to 16.0.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.15.0...v16.0.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 02:10:19 +00:00
dependabot[bot]
dea3c06b6c Bump @eslint/js and @types/eslint__js in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) and [@types/eslint__js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint__js). These dependencies needed to be updated together.

Updates `@eslint/js` from 9.20.0 to 9.21.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.21.0/packages/js)

Updates `@types/eslint__js` from 8.42.3 to 9.14.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint__js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@types/eslint__js"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 02:10:14 +00:00
dependabot[bot]
d121cc0cfd Bump nanoid from 5.0.9 to 5.1.2 in /frontend
Bumps [nanoid](https://github.com/ai/nanoid) from 5.0.9 to 5.1.2.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.0.9...5.1.2)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 02:10:05 +00:00
Michael Manganiello
7c02b04d1a Merge pull request #1652 from rommapp/fix/single-file-foder-roms-fix-download
fix: Download for single-file games in folder
3.8.0-alpha.7
2025-02-23 13:31:18 -03:00
Michael Manganiello
3e49ba5e1b fix: Download for single-file games in folder
When trying to download a game that is contained in a folder, but is
single-file (what we consider "non-multi" game), the download would
fail, trying to make nginx proxy the folder instead of that single file.

This commit removes custom logic related to `multi` games, so the logic
ends up executing the `if len(files) == 1` block, which is the correct
one for single-file games.

A simple way to reproduce this issue is to create a game folder with a
single file inside it, and try to download or run EmulatorJS with that
game. Both `DEV_MODE=true` and `DEV_MODE=false` were failing in this
scenario.

Fixes #1644.
2025-02-23 12:37:58 -03:00
Georges-Antoine Assi
f32c55c14a Merge pull request #1651 from rommapp/hotfix-gallery-ejs-perf
[HOTFIX] Calculate gl support once on load
2025-02-22 20:25:29 -05:00
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
Georges-Antoine Assi
602ea8b410 [HOTFIX] Calculate gl support once on load 2025-02-22 18:08:36 -05: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