Commit Graph

4912 Commits

Author SHA1 Message Date
Georges-Antoine Assi
55de45ccff Merge pull request #1461 from rommapp/romm-1427
[ROMM-1427] Add option to remove game from continue playing
2025-01-10 10:39:34 -05:00
Georges-Antoine Assi
3194609900 Update backend/endpoints/rom.py
Co-authored-by: Zurdi <34356590+zurdi15@users.noreply.github.com>
2025-01-10 10:34:57 -05:00
Georges-Antoine Assi
a891994305 Merge pull request #1459 from rommapp/romm-1442
[ROMM-1442] Add OIDC_TLS_CACERTFILE path to mounted certfile
2025-01-10 10:31:49 -05:00
Georges-Antoine Assi
cf23623dd6 Merge pull request #1460 from rommapp/romm-1431-2
[ROMM-1431] Revert adding .3ds to valid FBI files
2025-01-10 10:31:12 -05:00
Georges-Antoine Assi
d6818cea11 Merge pull request #1457 from rommapp/romm-1447
[ROMM-1447] Add revision to formatTitle for version switcher
2025-01-10 10:30:47 -05:00
Georges-Antoine Assi
3cf7b33400 Merge pull request #1456 from rommapp/romm-1452
[ROMM-1452] Mark naive datetimes as UTC
2025-01-10 10:30:19 -05:00
Georges-Antoine Assi
a120f1070f [ROMM-1427] Add option to remove game from continue playing 2025-01-09 21:56:48 -05:00
Georges-Antoine Assi
8e2cb1b3b4 [ROMM-1431] Revert adding .3ds to valid FBI files 2025-01-09 21:28:22 -05:00
Georges-Antoine Assi
45e11acfa2 [ROMM-1442] Add OIDC_TLS_CACERTFILE path to mounted certfile 2025-01-09 21:20:10 -05:00
Georges-Antoine Assi
ebc91b0502 fix bad git push 2025-01-09 21:10:20 -05:00
Georges-Antoine Assi
b8f7a069a3 [ROMM-1452] Mark naive datetimes as UTC 2025-01-09 21:02:56 -05:00
Georges-Antoine Assi
913440ce78 [ROMM-1447] Add revision to formatTitle for version swticher 2025-01-09 20:56:19 -05:00
Michael Manganiello
de746881e4 Merge pull request #1450 from rommapp/fix/improve-oidc-email-verified-check
fix: Improve OIDC email verified check
2025-01-09 01:50:11 -03:00
Michael Manganiello
8c8cd759d9 misc: Add tests 2025-01-09 01:48:14 -03:00
Michael Manganiello
7fedaca59a fix: Improve OIDC email verified check
The OIDC email verified check now fails if the email is explicitly
unverified, or if the `email_verified` claim is supported and the email
is not explicitly verified.

Previously, the OIDC implementation failed for any OIDC provider that
did not include the `email_verified` claim in the userinfo response.
Providers like Synology do not include this claim, so the check always
failed with error "Email is not verified."

I haven't found a formal specification for the `email_verified` claim,
and how it should be handled, but this implementation should be more
robust and work with more OIDC providers.

Fixes #1446.
2025-01-09 00:55:20 -03:00
Michael Manganiello
415c7a7d94 Merge pull request #1449 from rommapp/misc/move-auth-constants
misc: Move auth constants to separate file
2025-01-08 23:29:40 -03:00
Michael Manganiello
b77a60e882 Merge pull request #1448 from rommapp/fix/postgresql-json-contains
fix: Use proper JSON contains function for PostgreSQL
2025-01-08 22:18:10 -03:00
Michael Manganiello
865370ec13 misc: Move auth constants to separate file
This simplifies avoiding circular imports when trying to use auth
handlers.
2025-01-08 22:16:31 -03:00
Michael Manganiello
7825bce7b8 fix: Use proper JSON contains function for PostgreSQL
Fix `json_array_contains_value` function to use the `@>` operator for
checking if a JSON array contains a value in PostgreSQL. This is
necessary because the `has_key` function only works for string values.

Also, remove `get_rom_collections` method, as it was doing the same
thing as `get_collections_by_rom_id`.

Fixes #1441.
2025-01-08 21:07:01 -03:00
Michael Manganiello
fb02db6926 Merge pull request #1440 from rommapp/fix/oidc-server-metadata-url-trailing-slash
fix: Do not fail when OIDC server application URL has a trailing slash
2025-01-08 13:42:52 -03:00
Zurdi
3f2021ebde Merge pull request #1443 from jvanbruegge/fix-lint
ci: fix escaping of strings in jq command
2025-01-08 12:39:09 +01:00
Zurdi
13f2afb4cb Merge pull request #1444 from rommapp/fix/add-deutsch
fix: Add german language to selector
2025-01-08 12:37:29 +01:00
zurdi
e68cb5e5b4 add German language option to language store 2025-01-08 11:34:35 +00:00
Jan van Brügge
90656c9dd5 ci: fix escaping of strings in jq command 2025-01-08 10:10:31 +00:00
Michael Manganiello
47fb3bdd33 fix: Do not fail when OIDC server application URL has a trailing slash
Use `authlib` util `get_well_known_url` to get the well-known URL for
the OIDC server metadata. This will ensure that the URL is correctly
formatted and does not fail when the OIDC server application URL has a
trailing slash.

Fixes #1430.
2025-01-08 01:32:24 -03:00
Georges-Antoine Assi
4ab6fe6613 Merge pull request #1436 from rommapp/remove-sass-lib
Remove SASS library from frontend
2025-01-07 19:22:35 -05:00
Georges-Antoine Assi
0ed8e83051 remove some comments 2025-01-07 19:19:55 -05:00
Georges-Antoine Assi
642e46eae5 run npm i 2025-01-07 19:17:04 -05:00
Georges-Antoine Assi
b067280742 Merge branch 'master' into remove-sass-lib 2025-01-07 19:06:43 -05:00
Georges-Antoine Assi
37ea8dd8d8 Merge pull request #1433 from rommapp/romm-1431
[ROMM-1431] Allow downloading .3DS files with QR code
2025-01-07 19:06:23 -05:00
Georges-Antoine Assi
ec73fde12c Merge pull request #1435 from rommapp/romm-1432
[ROMM-1432] Make neogeo aes and mvs games playable in emulatorjs
2025-01-07 19:06:12 -05:00
Georges-Antoine Assi
334631a0d0 Merge pull request #1434 from jvanbruegge/lockfile-fix
Fix lockfile to add integrity
2025-01-07 19:05:50 -05:00
Georges-Antoine Assi
00b04a6f88 Remove SASS lib from frontend 2025-01-07 18:58:07 -05:00
Georges-Antoine Assi
c9bfa7fc62 regenerate package-lock.json 2025-01-07 18:48:07 -05:00
Georges-Antoine Assi
603f6864ac [ROMM-1432] Make neogeo aes and mvs games playable in emulatorjs 2025-01-07 18:30:01 -05:00
Jan van Brügge
1f52bde2ce ci: add check for integrity in lockfile 2025-01-07 23:29:58 +00:00
Jan van Brügge
3c9c4a9392 frontend: add integrity to package-lock.json
There is a bug in the npm cli such that this does not always happens.
The changes were made with https://github.com/jeslie0/npm-lockfile-fix
2025-01-07 23:24:35 +00:00
Georges-Antoine Assi
f533424652 [ROMM-1431] Allow downloading .3DS files with QR code 2025-01-07 18:11:34 -05:00
Georges-Antoine Assi
c8275a0deb Merge pull request #1429 from rommapp/romm-1414
[ROMM-1414] Env var to disable user/pass login button
2025-01-07 17:37:52 -05:00
Georges-Antoine Assi
04c31374af disable login endpoint as wel 2025-01-07 17:28:13 -05:00
Georges-Antoine Assi
bd51affb7c fix login button 2025-01-07 16:51:05 -05:00
Georges-Antoine Assi
6120418f33 Merge branch 'master' into romm-1414 2025-01-07 16:48:04 -05:00
Georges-Antoine Assi
3397eaccd5 hide login button 2025-01-07 16:47:54 -05:00
Georges-Antoine Assi
390156b5ff add translations info to CONTRIBUTING 2025-01-07 12:24:49 -05:00
Georges-Antoine Assi
e5f7a0f335 fix trunk check issue in init script 2025-01-07 10:50:19 -05:00
Georges-Antoine Assi
b904b30eed Merge pull request #1425 from rommapp/hotfix-poetry-lock
hotfix poetry lock
2025-01-06 13:06:13 -05:00
Georges-Antoine Assi
6f120d9c4f hotfix poetry lock 2025-01-06 13:04:21 -05:00
Georges-Antoine Assi
325be23cc3 Merge pull request #1423 from rommapp/fork-streaming-form-data
Fork streaming-form-data and fix pyproject.toml
3.7.0-beta.3
2025-01-05 21:34:43 -05:00
Georges-Antoine Assi
ac1524fa4c Fork streaming-form-data and fix pyproject 2025-01-05 21:25:47 -05:00
Michael Manganiello
6b2daae6ee Merge pull request #1422 from rommapp/feat/stop-installing-dev-deps
feat: Stop installing development dependencies in Docker images
3.7.0-beta.2
2025-01-05 18:58:31 -03:00