Commit Graph

9275 Commits

Author SHA1 Message Date
Michael Manganiello
987aa23184 fix: English translation value for "collections"
Fixes #1508.
2025-01-19 21:28:32 -03:00
Georges-Antoine Assi
277aec332b fix saving staet to romm 2025-01-19 11:56:43 -05:00
Georges-Antoine Assi
1c27208881 Merge branch 'master' into emualtorjs-save-refactor 2025-01-19 10:42:05 -05:00
Michael Manganiello
19c4c61437 Merge pull request #1504 from rommapp/fix/improve-support-older-postgres-versions
fix: Improve support for older PostgreSQL versions
2025-01-18 23:39:54 -03:00
Michael Manganiello
fb622ff990 fix: Improve support for older PostgreSQL versions
Functions like `JSON_ARRAY` and `JSON_OBJECT` have been introduced in
PostgreSQL 16 [1]. Older PostgreSQL versions were failing to run the
migrations due to the usage of these functions.

This change uses `jsonb_build_array` and `jsonb_build_object` functions
in PostgreSQL, which have been available since PostgreSQL 9.5 [2].

[1]: https://www.postgresql.org/docs/release/16.0/
[2]: https://www.postgresql.org/docs/release/9.5.0/#AEN132010
2025-01-18 20:04:14 -03:00
Georges-Antoine Assi
446102d387 complete parsing and setting metadata 2025-01-18 14:20:43 -05:00
Georges-Antoine Assi
0c95eff2e1 fetch and parse launchbox metadata.zip 2025-01-18 10:51:30 -05:00
Georges-Antoine Assi
65ee2ced9b rename migration 2025-01-17 15:24:08 -05:00
Georges-Antoine Assi
429958bfb3 Merge branch 'master' into rom-hashing-background-task 2025-01-17 14:39:45 -05:00
Georges-Antoine Assi
1c2b293206 keep nested folder structure in zip download 2025-01-17 13:56:56 -05:00
Georges-Antoine Assi
74dfee983f remove mods to user table in migration 2025-01-17 11:54:11 -05:00
Georges-Antoine Assi
4b087d9dcb fix issue with duplicate filename 2025-01-17 11:28:03 -05:00
Georges-Antoine Assi
477d99a6bf first batch of review fixes 2025-01-17 11:15:54 -05:00
Georges-Antoine Assi
bf4d5daf0a add monitor for indexdb changes 2025-01-16 23:39:12 -05:00
Georges-Antoine Assi
07c78836d0 Merge pull request #1493 from rommapp/hotfix-datetime-timezones
Hotfix datetime timezones
2025-01-16 23:12:57 -05:00
Georges-Antoine Assi
72e67f225f strip out more code 2025-01-16 20:07:00 -05:00
Georges-Antoine Assi
29171e3e9c Merge branch 'master' into emualtorjs-save-refactor 2025-01-16 19:47:02 -05:00
Georges-Antoine Assi
68af8b0df1 Remove labels from issue templates 2025-01-16 17:18:01 -05:00
Georges-Antoine Assi
5ee3f631eb [ROMM-1495] Fix filters in filter bar 2025-01-16 14:48:41 -05:00
Georges-Antoine Assi
f553e8d06e improve file select content 2025-01-16 14:24:39 -05:00
Georges-Antoine Assi
346bbb2db3 Add category column to rom file 2025-01-16 10:49:47 -05:00
Georges-Antoine Assi
0bb938f912 fix scanning nested folders 2025-01-15 23:24:50 -05:00
Georges-Antoine Assi
9d8baef9de small tweaks from review 2025-01-15 22:54:35 -05:00
Georges-Antoine Assi
0ef2e03a9e fixes from migration 2025-01-15 21:56:24 -05:00
Georges-Antoine Assi
696a1c6122 Merge branch 'master' into rom-hashing-background-task 2025-01-15 21:51:23 -05:00
Georges-Antoine Assi
fefcc63fd1 fix server detault value 2025-01-13 22:10:04 -05:00
Georges-Antoine Assi
195b0cf742 [HOTFIX] Change all DateTime columns to TIMESTAMP 2025-01-13 21:53:00 -05:00
Michael Manganiello
f0049d79d0 fix: Case-insensitive username and email check
Move case-insensitivity to the database layer, for both `username` and
`email` fields.

Fixes #1486.
2025-01-13 23:21:55 -03:00
Georges-Antoine Assi
424266c65c Merge pull request #1491 from rommapp/romm-1484
[ROMM-1484] Manually set control scheme for sega games
2025-01-13 21:14:46 -05:00
Michael Manganiello
b35f8786d9 Merge pull request #1490 from rommapp/fix/set-users-email-null
fix: Set users email to null if empty
2025-01-13 23:10:51 -03:00
Georges-Antoine Assi
9319e3dfe4 [ROMM-1484] Manually set control scheme for sega games 2025-01-13 20:50:53 -05:00
Georges-Antoine Assi
a2cc8eab65 Merge pull request #1485 from rommapp/romm-1273
[ROMM-1273] Use platform versions to check if game playable
2025-01-13 20:45:28 -05:00
Michael Manganiello
6867486419 fix: Set users email to null if empty
When a user does not set an email address, we now set it to `NULL` in
the database. That bypasses the unique constraint on the `email` column,
allowing multiple users to have no email address set.

Fixes #1445.
2025-01-13 22:44:24 -03:00
Michael Manganiello
6e3d5d6d01 Merge pull request #1483 from rommapp/misc/fix-pytest-run
fix: Poetry dependency installation during pytest job
2025-01-13 12:05:48 -03:00
Georges-Antoine Assi
c164a9a32e [ROMM-1273] Use platform versions to check if game playable 2025-01-13 10:02:32 -05:00
Michael Manganiello
56631db636 fix: Poetry dependency installation during pytest job
With Poetry 2.0, we now need to explicitly tell it to install the `test`
extra.
2025-01-13 09:43:22 -03:00
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
Georges-Antoine Assi
6660a9c147 Merge branch 'master' into ui-theme-redesign 2025-01-11 22:45:33 -05: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
Georges-Antoine Assi
d880e64e46 Merge pull request #1470 from rommapp/master
v3.7.2
3.7.2
2025-01-11 20:11:33 -05:00