Commit Graph

4725 Commits

Author SHA1 Message Date
Georges-Antoine Assi
97a9da587f remove uncompressed webrcade images 2024-12-24 17:19:24 -05:00
Georges-Antoine Assi
f3c5e82aa9 Merge pull request #1386 from rommapp/trunk-fmt-zh-cn-json
Run trunk fmt on new chinese json files
2024-12-24 10:42:26 -05:00
Georges-Antoine Assi
5228e4fab7 Run trunk fmt on new chinese json files 2024-12-24 10:40:14 -05:00
Georges-Antoine Assi
88ec23e2bc Merge pull request #1385 from NicksGhost/master
Added Chinese related language files (zh-CN)
2024-12-24 10:39:17 -05:00
Nick.Chu
79c45e9e0b Added Chinese related language files (zh-CN) 2024-12-24 21:29:49 +08:00
Zurdi
594fa5c440 Merge pull request #1382 from rommapp/fix/1380-toggle-check-all
fix: toggle check all in gallery table view
2024-12-24 09:55:50 +01:00
zurdi
865e8a581c fix: toggle check all in gallery table view 2024-12-24 00:59:31 +00:00
Zurdi
4a1b45ba2e Merge pull request #1381 from rommapp/feature/1285-show-matched-roms
feat: Add filter to show matched roms to gallery filter
2024-12-24 00:57:54 +01:00
zurdi
b9d6a64370 Merge remote-tracking branch 'origin/master' into feature/1285-show-matched-roms 2024-12-23 23:18:17 +00:00
zurdi
aeb6f5b62d fix: variable typo 2024-12-23 23:01:19 +00:00
zurdi
964ff7df80 feat: Add filter to show matched toms to gallery filter 2024-12-23 22:57:16 +00:00
Georges-Antoine Assi
f3ea0fb822 Merge pull request #1378 from rommapp/oidc-fixes-1
OIDC Fixes Part I
2024-12-23 17:49:45 -05:00
Georges-Antoine Assi
71ae2fbe3a add a bunch of icons for oidc providers 2024-12-23 15:20:32 -05:00
Georges-Antoine Assi
dbb3b6083b only json() once 2024-12-23 14:03:24 -05:00
zurdi
cdfc01beba refactor: unified login buttons style 2024-12-23 16:06:59 +00:00
zurdi
d8a007ed5a feat: Add OIDC login option and update localization for multiple languages 2024-12-23 16:02:49 +00:00
zurdi
2dff185bf2 refactor: Add OIDC login state management and update button behavior 2024-12-23 16:02:39 +00:00
zurdi
7baf1c7937 Fix typo in OIDC_PROVIDER variable name across configuration and authentication files 2024-12-23 16:02:19 +00:00
Georges-Antoine Assi
8332c7b27b fetch jwks_url from server metadata endppoint 2024-12-23 09:34:38 -05:00
Georges-Antoine Assi
c3f50d1f12 Add oidc provider name and icon to login page 2024-12-23 09:28:00 -05:00
Georges-Antoine Assi
6909a7def0 Merge pull request #1376 from rommapp/expand-non-hashable-platforms
Expand list of non-hashable platforms
2024-12-23 00:08:02 -05:00
Georges-Antoine Assi
6e912054ac Expand list of non-hashable platforms 2024-12-22 21:39:06 -05:00
Georges-Antoine Assi
9d90749122 Merge pull request #1372 from rommapp/hotfix-ejs-4.2.0
[HOTFIX] Update emulatorjs to 4.2.0
3.7.0-alpha.1
2024-12-21 18:34:00 -05:00
Georges-Antoine Assi
73463563ff Update emulatorjs to 4.2.0 2024-12-21 18:18:04 -05:00
Georges-Antoine Assi
651558c78b Merge pull request #1321 from rommapp/openid-connect
[ROMM-540] OIDC Support
2024-12-18 11:15:17 -05:00
Georges-Antoine Assi
37db255328 refactor oidc handler and fix tests 2024-12-18 10:49:45 -05:00
Georges-Antoine Assi
1a9735645e Merge branch 'master' into openid-connect 2024-12-18 00:17:40 -05:00
Michael Manganiello
1f5e1712b8 Merge pull request #1365 from rommapp/fix/parallel_n64-typo
fix: Typo in parallel_n64 core name
2024-12-17 10:01:45 -03:00
Michael Manganiello
067ddd1f21 Merge pull request #1364 from rommapp/misc/remove-print-leftover
misc: Remove print leftover in CallbackIO class
2024-12-17 10:01:36 -03:00
zurdi
97b6d35765 fix: added missing OIDC variables to template 2024-12-17 12:55:05 +00:00
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
3eb9d902d6 misc: Remove print leftover in CallbackIO class 2024-12-16 22:50:28 -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
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