Georges-Antoine Assi
1b9ebdd83f
[HOTFIX] Define virtual collections correctly
2025-02-14 17:59:36 -05:00
zurdi
2e3858d032
Merge branch 'master' into feature/screenscraper-integration
2025-02-12 12:41:08 +00:00
Georges-Antoine Assi
c1cf7c958c
Merge pull request #1562 from rommapp/romm-994
...
[ROMM-994] Autogenerated collections
2025-02-11 10:40:07 -05:00
Georges-Antoine Assi
c78e3ee3a7
Merge branch 'master' into retrodeck-bios-files
2025-02-10 18:45:31 -05:00
Georges-Antoine Assi
88dc964ac4
Merge branch 'master' into romm-994
2025-02-08 21:28:38 -05:00
zurdi
d2c2fe6f12
Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration
2025-02-08 20:40:27 +00:00
Georges-Antoine Assi
0f8d51193a
kiosk mode allows viewing without auth
2025-02-07 00:18:52 -05:00
zurdi
0660502f5a
feat: screenscraper manual support
2025-02-06 18:53:23 +00:00
Georges-Antoine Assi
6c95a03746
Read-only kiosk mode for viewers
2025-02-06 09:04:41 -05:00
zurdi
9ae3b7da6f
feat: added manuals to ss migration
2025-02-06 13:49:09 +00:00
zurdi
9d96501b9e
Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration
2025-01-31 00:12:44 +00:00
Georges-Antoine Assi
06c421cdb7
fixup lazy loading
2025-01-29 10:29:24 -05:00
Georges-Antoine Assi
cd724b7d1a
migrate collections over to join table
2025-01-28 23:47:09 -05:00
Georges-Antoine Assi
21d2ce951e
more fixes to loading games
2025-01-27 22:29:38 -05:00
Georges-Antoine Assi
84c46c68eb
autogen cover for collections
2025-01-27 22:20:52 -05:00
Georges-Antoine Assi
10fbead892
autogenerate cover art
2025-01-27 20:26:33 -05:00
Georges-Antoine Assi
e2c0a5f54d
cleanup path covers
2025-01-27 18:43:01 -05:00
Georges-Antoine Assi
dbe4b71c7a
super naive appraoch to loading virtual collections
2025-01-27 18:15:52 -05:00
Georges-Antoine Assi
a35701396c
Merge branch 'master' into rom-hashing-background-task
2025-01-25 23:30:15 -05:00
Georges-Antoine Assi
b659ebe97f
[ROMM-1529]
2025-01-23 19:29:16 -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
346bbb2db3
Add category column to rom file
2025-01-16 10:49:47 -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
195b0cf742
[HOTFIX] Change all DateTime columns to TIMESTAMP
2025-01-13 21:53:00 -05:00
Georges-Antoine Assi
aacad9c697
[HOTFIX] Safe cast values to int for first_release_date
2025-01-11 19:37:39 -05:00
Georges-Antoine Assi
b4b0d3fb85
[HOTFIX] Safe cast values to float
2025-01-11 19:22:31 -05:00
Georges-Antoine Assi
e84f7afef0
Make field nulalble
2025-01-11 17:19:42 -05:00
Georges-Antoine Assi
b5d2caddf4
add average rating as a column
2025-01-09 22:38:28 -05:00
Georges-Antoine Assi
9e4e716812
Rework columns in table view
2025-01-09 19:36:05 -05:00
zurdi
a7a2e3b253
Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration
2025-01-09 15:13:49 +00: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
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
zurdi
4aa2d49221
feat: fully integrated screenscrapper
2025-01-03 03:08:02 +00:00
Michael Manganiello
3f4a36a5ce
feat: PostgreSQL compatibility
...
This change introduces PostgreSQL compatibility, by implementing the
following changes:
* Use `JSONB` instead of `JSON` for PostgreSQL databases. This is
achieved by creating a custom `CustomJSON` type that uses `JSONB` on
PostgreSQL and `JSON` on other databases, leveraging the variant
mechanism of SQLAlchemy.
* Add `is_postgresql` function to check if the current database is
PostgreSQL. Commonly used for migrations, but can be used to determine
how to build queries based on the database engine.
* Add `json_array_contains_value` function to check if a JSON array
includes a specific value. This function is needed as it's
engine-specific.
Support for PostgreSQL is on a best-effort basis, and it relies on the
community for continued support and testing. The project's main database
is MariaDB.
Closes #667 .
2024-12-31 12:36:33 -03:00
Michael Manganiello
3cce2844b9
fix: Remove MySQL specific dialect from migrations
...
Avoid using SQLAlchemy's specific MySQL dialect in migrations.
This change also fixes migration `0014` downgrade logic, which was
broken.
2024-12-29 20:30:36 -03:00
Georges-Antoine Assi
84813bd962
Merge branch 'master' into rom-hashing-background-task
2024-12-27 12:02:04 -05:00
zurdi
980cb3169a
feat: add platform_custom_name and platform_display_name to ROM schemas and update related components
2024-12-25 19:57:43 +00:00
zurdi
9645fab707
feat: Added custom name for platforms
2024-12-24 02:30:27 +00:00
Georges-Antoine Assi
b398e70625
refactor downlaod roms endpoins
2024-12-21 17:40:45 -05:00
Georges-Antoine Assi
2e4e557eef
fixup running scans and loading
2024-12-21 12:06:37 -05:00
Georges-Antoine Assi
2b600c2725
rename rom.file_size_bytes
2024-12-21 09:26:33 -05:00
Georges-Antoine Assi
55eee458a1
actaully complete backend
2024-12-21 00:37:37 -05:00
Georges-Antoine Assi
7bde4aee70
complete the rst of the files
2024-12-20 23:45:25 -05:00
Georges-Antoine Assi
3fcce6606c
complete updating the endpoints and models
2024-12-20 22:41:56 -05:00
Georges-Antoine Assi
e1ef8225c3
Create migration for new romfile
2024-12-20 10:42:53 -05:00
Georges-Antoine Assi
d0ccd6a0cd
Merge branch 'master' into feat/retro_achievements
2024-12-14 21:24:49 -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
cae4089ccf
add email field
2024-12-09 19:57:13 -05:00