Commit Graph

4671 Commits

Author SHA1 Message Date
Michael Manganiello
7bfa08df14 fix: Typo in parallel_n64 core name
Fixes #1219. Typo found by @Subtixx in that same issue.
2024-12-17 00:07:21 -03:00
Michael Manganiello
7fb34d7e8b Merge pull request #1361 from rommapp/fix/i18n-pluralization
fix: Improve i18n pluralization
2024-12-14 13:51:56 -03:00
Michael Manganiello
b340260a66 fix: Improve i18n pluralization
Add some `-n` i18n key variations, which are intended to be used with
the `t` function to provide the correct pluralization for the given
number.

Also started using `scan.roms-scanned-n`, which wasn't being used.
2024-12-14 12:16:58 -03:00
Michael Manganiello
4d6013dbc7 Merge pull request #1360 from rommapp/misc/igdb-remove-unneeded-redis-key
misc: Remove unneeded Redis key for Twitch token expiration
2024-12-13 17:05:17 -03:00
Michael Manganiello
099f6e6fe2 misc: Remove unneeded Redis key for Twitch token expiration
The key `romm:twitch_token_expires_at` is not needed, as we already
set an expiration time for the token key itself. If the token is still
present in Redis, it is valid. If not, it means we either never fetched
it, or it was too close to expiration.

With this change, fetching the Twitch token makes a single Redis call
instead of two.
2024-12-13 14:33:56 -03:00
Michael Manganiello
f78611e8bb Merge pull request #1359 from rommapp/misc/sort-roms-at-handler
misc: Sort roms in get_roms method
2024-12-13 14:29:01 -03:00
Michael Manganiello
df09a55f69 Merge pull request #1358 from rommapp/misc/use-async-cache-for-igdb-handler
misc: Use async cache in IGDB handler
2024-12-13 14:28:46 -03:00
Zurdi
6854f82b99 Merge pull request #1353 from rommapp/feature/multi-language-support
feat: Multi language support
2024-12-13 15:52:23 +01:00
Michael Manganiello
bcaecbd311 misc: Sort roms in get_roms method
The `get_roms` method is used during scanning and to generate feeds.
Sorting by filename is not perfect (e.g. prefixes like "The" or "A"),
but should be good enough for users to better visualize how the scanning
process is going, and how close it's to finish.
2024-12-13 10:01:49 -03:00
Michael Manganiello
09c32f2376 misc: Use async cache in IGDB handler
One of the only places we are still using the sync cache, can be easily
changed to use the async one.
2024-12-13 09:21:47 -03:00
Georges-Antoine Assi
a7e20cd947 Merge pull request #1357 from rommapp/hotfix-update-user
[HOTFIX] Lower permission on update user endpoint and check perms internally
2024-12-12 21:25:58 -05:00
Georges-Antoine Assi
0a4643f4a3 Merge branch 'master' into feature/multi-language-support 2024-12-12 17:43:06 -05:00
Georges-Antoine Assi
6efc362987 add german language 2024-12-12 17:40:49 -05:00
Georges-Antoine Assi
fa1eceed7a [HOTFIX] Lower permission on update user endpoint and check perms internally 2024-12-12 10:47:27 -05:00
Zurdi
125627f513 Merge pull request #1355 from rommapp/fix/setup-wizard-redirect
fix: Setup wizard redirection
2024-12-12 01:15:44 +01:00
zurdi
1fecbe7c98 fix: setup view redirection 2024-12-11 16:15:40 +00:00
zurdi
12cf599090 fix: fixed typescript null on state 2024-12-10 18:41:32 +00:00
Georges-Antoine Assi
b85f12e374 Merge pull request #1351 from rommapp/hotfix-sqlalchm-models
Hotfixes for some sqlalchemy models
2024-12-10 11:28:58 -05:00
zurdi
ba329d54d5 fix: typescript check for locales index 2024-12-10 10:45:32 +00:00
Georges-Antoine Assi
d172f2f3ef hotfix some sqlalchemy models 2024-12-09 19:21:00 -05:00
Georges-Antoine Assi
530e7ddb57 Merge pull request #1350 from rommapp/romm-1348
[ROMM-1348] Log when a user downloads a game
2024-12-09 18:59:33 -05:00
Georges-Antoine Assi
f9129d4ded improvements to franch tranlsation 2024-12-09 18:57:44 -05:00
zurdi
50ae9b34e3 Merge remote-tracking branch 'refs/remotes/origin/feature/multi-language-support' into feature/multi-language-support 2024-12-09 23:40:16 +00:00
zurdi
ff992fac9f feat: reorder language options and sort by name 2024-12-09 23:39:39 +00:00
Zurdi
95ca5ccba6 Update rom.json 2024-12-09 19:10:37 +01:00
Zurdi
4e0d9ff266 Update play.json 2024-12-09 19:10:19 +01:00
Zurdi
1bfd88ba79 Update common.json 2024-12-09 19:09:48 +01:00
Zurdi
d7fad606ad Update collection.json 2024-12-09 19:09:38 +01:00
Zurdi
42830e5a80 Update collection.json 2024-12-09 19:09:22 +01:00
zurdi
8de555de48 feat: added all translations across webUI 2024-12-09 17:39:43 +00:00
zurdi
ad23a71207 feat: enhance collection management translations 2024-12-09 14:55:16 +00:00
Georges-Antoine Assi
60283c31b0 single log entry 2024-12-09 09:54:01 -05:00
zurdi
1cbbaab9fd feat: update localization files for improved capitalization 2024-12-09 12:34:21 +00:00
zurdi
1af040b653 feat: added user interface and library management to internationalization 2024-12-09 11:44:06 +00:00
zurdi
a5b98711f3 feat: add Brazilian Portuguese localization files 2024-12-09 10:41:26 +00:00
zurdi
0f99b047c7 feat: add localization support with new language files and update existing components for internationalization in home and scan views and main app bar drawers 2024-12-09 10:31:48 +00:00
Georges-Antoine Assi
b3366728a6 fix when user is not authenticasted 2024-12-08 23:07:43 -05:00
Michael Manganiello
3bd9a8ea67 Merge pull request #1349 from rommapp/feat/support-for-file-env-variables
feat: Add support for _FILE suffix in environment variables
2024-12-09 00:04:46 -03:00
Georges-Antoine Assi
613b581700 [ROMM-1348] Log when a user downloads a game 2024-12-08 21:40:41 -05:00
zurdi
716efa4722 feat: add internationalization support with multiple language files and language selector component 2024-12-08 23:50:37 +00:00
Michael Manganiello
9997b69ff6 feat: Add support for _FILE suffix in environment variables
This change allows setting environment variables with a `_FILE` suffix,
which will be used to load the contents of the file specified in the
variable into the variable without the suffix.

For example, setting `ROMM_AUTH_SECRET_KEY_FILE=/run/secrets/romm_auth_secret_key`
and creating a file with the secret key at the specified path will set
`ROMM_AUTH_SECRET_KEY` to the contents of the file.

A common use case for this is to use secrets in Docker Compose [1], to
avoid exposing secrets in the `docker-compose.yml` or `env` files.

[1] https://docs.docker.com/compose/how-tos/use-secrets/
2024-12-08 20:05:06 -03:00
Zurdi
fda2811886 Merge pull request #1347 from rommapp/refactor/frontend-layouts
chore: Refactor frontend layouts
2024-12-08 18:22:47 +01:00
Michael Manganiello
f1ab581b48 Merge pull request #1346 from rommapp/misc/fix-mypy-issues
misc: Fix some typing issues
2024-12-08 12:54:36 -03:00
zurdi
94548bb599 chore: update dependencies and optimize AdditionalContent.vue layout 2024-12-08 10:05:36 +00:00
zurdi
4a486419fa Merge remote-tracking branch 'origin/refactor/frontend-layouts' into refactor/frontend-layouts 2024-12-08 09:58:55 +00:00
zurdi
3cbefeaf04 refactor: update dialog messages to specify deletion from RomM database 2024-12-08 09:58:14 +00:00
Zurdi
7d1d26e49e Actualizar DeleteCollection.vue 2024-12-08 10:01:36 +01:00
Zurdi
d687acccfe Actualizar AdditionalContent.vue 2024-12-08 09:22:47 +01:00
zurdi
e6648d9ed1 refactor: rename platformAspectRatio to aspectRatio in showSearchCoverDialog emissions and related components 2024-12-07 17:00:46 +00:00
zurdi
fd4ea3b9d2 refactor: update showSearchCoverDialog emission to include platformAspectRatio as null 2024-12-07 16:59:25 +00:00