Commit Graph

9272 Commits

Author SHA1 Message Date
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
Georges-Antoine Assi
34d49e6494 changes from self review 2024-12-13 11:33:39 -05:00
Georges-Antoine Assi
1ca4d894dd Merge branch 'master' into openid-connect 2024-12-13 11:24:04 -05: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
2d5bc34e9c add tests for oidc handler 2024-12-12 17:37:30 -05:00
Georges-Antoine Assi
9e844801ed disable oidc in pytest 2024-12-12 16:42:50 -05:00
Georges-Antoine Assi
776d3c6547 fix user endpoint tests 2024-12-12 16:17:54 -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
Georges-Antoine Assi
e953398cab add email to user create 2024-12-12 10:43:45 -05:00
Georges-Antoine Assi
82ac766c9e oidc login using email 2024-12-12 10:08:27 -05:00
Georges-Antoine Assi
bb43767249 Merge branch 'master' into openid-connect 2024-12-11 23:20:40 -05:00
Georges-Antoine Assi
0e2866f0f5 dont setup OIDC if disabled 2024-12-11 23:20:21 -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
bded119b48 Merge remote-tracking branch 'origin/master' into fix/user-protected-urls 2024-12-10 11:46:11 +00:00
zurdi
443def9cd9 Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2024-12-10 11:40:44 +00:00
zurdi
ba329d54d5 fix: typescript check for locales index 2024-12-10 10:45:32 +00:00
Georges-Antoine Assi
cae4089ccf add email field 2024-12-09 19:57:13 -05:00
Georges-Antoine Assi
2cd9041e85 Merge branch 'master' into openid-connect 2024-12-09 19:25:44 -05: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