Commit Graph

4941 Commits

Author SHA1 Message Date
Georges-Antoine Assi
bfc0c8a206 Merge pull request #1480 from rommapp/hotfix-remove-continue-playing
[HOTFIX] Fix remove from continue playing
2025-01-12 21:15:24 -05:00
Michael Manganiello
04c78abd43 Merge pull request #1479 from rommapp/misc/optional-deps-pyproject
misc: Migrate optional dependencies to standard pyproject format
2025-01-12 22:36:52 -03:00
Georges-Antoine Assi
d0ba1d6e19 [HOTFIX] Fix remove from continue playing 2025-01-12 14:32:44 -05:00
Michael Manganiello
b683934e09 misc: Migrate optional dependencies to standard pyproject format 2025-01-12 13:55:50 -03:00
Michael Manganiello
5ecb6d398b Merge pull request #1476 from rommapp/misc/poetry-v2
misc: Upgrade Poetry to v2.0
2025-01-12 13:25:36 -03:00
Georges-Antoine Assi
8855e55de5 Merge pull request #1478 from rommapp/romm-1297
[ROMM-1297] Fix loading psx mednafen core
2025-01-12 10:43:42 -05:00
Michael Manganiello
245e225416 misc: Upgrade Poetry to v2.0
Release notes:
https://python-poetry.org/blog/announcing-poetry-2.0.0/
2025-01-12 12:41:55 -03:00
Georges-Antoine Assi
978a40e305 [ROMM-1297] Fix loading psx mednafen core 2025-01-12 10:20:18 -05:00
Michael Manganiello
b298da86d5 Merge pull request #1474 from rommapp/fix/socketio-json-dumps
fix: SocketIO JSON dumps with sane defaults
2025-01-12 02:34:09 -03:00
Michael Manganiello
bcb6c61363 Merge pull request #1475 from rommapp/misc/add-typehints-safe-functions
misc: Add typehints to safe type conversion functions
2025-01-12 02:31:33 -03:00
Michael Manganiello
d837070ad0 fix: SocketIO JSON dumps with sane defaults
Similar to how `engineio` provides a JSON-compatible module, this change
adds a custom JSON encoder with support for additional types.

Changing SocketIO's JSON module fixes the encoding issue when the
scanning process tried to send a datetime, failing and the frontend not
displaying the scanned game (commonly, when it had sibling games)
2025-01-12 00:41:15 -03:00
Michael Manganiello
6b9ff574f8 misc: Add typehints to safe type conversion functions 2025-01-11 23:18:09 -03:00
Michael Manganiello
8872161145 Merge pull request #1472 from rommapp/misc/py7zr-v1.0.0rc2
misc: Move to py7zr v1.0.0rc2
2025-01-11 22:08:00 -03:00
Georges-Antoine Assi
c73126366d Merge pull request #1471 from rommapp/hotfix-first-release-date
[HOTFIX] Safe cast values to int for first_release_date
2025-01-11 20:06:33 -05:00
Georges-Antoine Assi
aacad9c697 [HOTFIX] Safe cast values to int for first_release_date 2025-01-11 19:37:39 -05:00
Michael Manganiello
573ec47159 misc: Move to py7zr v1.0.0rc2
Stop using `py7zr` fork and move to `1.0.0rc2` release, which includes
decompression streaming support.
2025-01-11 21:36:47 -03:00
Georges-Antoine Assi
1f1bd35b13 Merge pull request #1469 from rommapp/hotfix-average-rating
[HOTFIX] Safe cast values to float in average_rating
2025-01-11 19:29:28 -05:00
Georges-Antoine Assi
b4b0d3fb85 [HOTFIX] Safe cast values to float 2025-01-11 19:22:31 -05:00
Georges-Antoine Assi
ddb51f6374 Merge pull request #1455 from rommapp/romm-1453
[ROMM-1433] Rework columns in table view
2025-01-11 17:34:59 -05:00
Georges-Antoine Assi
e84f7afef0 Make field nulalble 2025-01-11 17:19:42 -05:00
Georges-Antoine Assi
c671bbbce1 Merge pull request #1462 from rommapp/romm-1335
[ROMM-1335] Check for webGL when testing emulatorjs supported
2025-01-11 17:15:54 -05:00
Georges-Antoine Assi
9aa99ecf51 Merge pull request #1464 from rommapp/emujs-4.2.1
Bump emulatorjs to 4.2.1
2025-01-10 11:19:06 -05:00
Georges-Antoine Assi
ab85bf7cd6 Bump emulatorjs to 4.2.1 2025-01-10 11:01:30 -05:00
Zurdi
1b08aa0bc2 Merge pull request #1463 from blakadder/openbor
Add OpenBOR icon
2025-01-10 16:47:53 +01:00
blakadder
d444da5197 Add OpenBOR icon
Icon for [OpenBOR game engine](https://github.com/DCurrent/openbor)
2025-01-10 16:40:39 +01:00
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
b5d2caddf4 add average rating as a column 2025-01-09 22:38:28 -05:00
Georges-Antoine Assi
d384117848 [ROMM-1335] Check for webGL when testing emulatorjs supported 2025-01-09 22:05:58 -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
Georges-Antoine Assi
9e4e716812 Rework columns in table view 2025-01-09 19:36:05 -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