Commit Graph

9275 Commits

Author SHA1 Message Date
Georges-Antoine Assi
56b3094f23 Merge branch 'master' into 3.8-beta-fixes 2025-02-28 10:09:45 -05:00
Georges-Antoine Assi
8d1ecec13d improved perf of gallery view 2025-02-27 19:10:28 -05:00
Georges-Antoine Assi
7de4694938 Merge pull request #1664 from rommapp/romm-1663
[ROMM-1663] Update Nintendo 64DD slug from nintendo-64dd to 64dd
2025-02-27 16:33:18 -05:00
Georges-Antoine Assi
43257cd386 fix romfile migration for empty files 2025-02-27 11:49:33 -05:00
Georges-Antoine Assi
1cb66e28ec fix removing game from collection 2025-02-27 11:21:51 -05:00
Georges-Antoine Assi
62953e45ff fix logout 2025-02-27 11:06:02 -05:00
Georges-Antoine Assi
39e09d0d57 Switch partial scan to quick so it only scans selected IDs 2025-02-27 11:00:40 -05:00
Georges-Antoine Assi
07a083fb49 use correct char for ending list 2025-02-26 12:39:01 -05:00
Georges-Antoine Assi
b6dd6de1df small tweak to layout 2025-02-26 12:36:33 -05:00
Georges-Antoine Assi
c4dd62eb91 add multi fodler deep to fs strucutre readme 2025-02-26 12:28:45 -05:00
zurdi
7ae371356d Merge remote-tracking branch 'origin/master' 2025-02-26 12:36:34 +00:00
zurdi
454a5c7d2f feat: enhance build workflow to validate SemVer tags and trigger documentation and website builds on release 2025-02-26 12:23:46 +00:00
Georges-Antoine Assi
1c0bde8385 update wiki links in readme 2025-02-25 21:13:28 -05:00
Georges-Antoine Assi
561c164bc9 [ROMM-1663] Update Nintendo 64DD slug from nintendo-64dd to 64dd 2025-02-25 17:33:56 -05:00
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