Commit Graph

244 Commits

Author SHA1 Message Date
Georges-Antoine Assi
d58691a79b always delete saves from fs + split delete dialogs 2025-03-27 23:37:42 -04:00
Georges-Antoine Assi
b6e0df7097 complete refactor of seleting saves and states 2025-03-26 18:49:12 -04:00
Georges-Antoine Assi
51cd16634c add dedicated emulatorjs save quick button 2025-03-26 10:56:48 -04:00
Georges-Antoine Assi
887ccf9f26 [ROMM-1761] Show platform disk size in sidebar 2025-03-20 18:12:10 -04:00
Georges-Antoine Assi
dfe3004f5d Direct download for rom files 2025-03-18 09:52:00 -04:00
Georges-Antoine Assi
384437b9e6 [HOTFIX] Fix dowbnloading multi-files in windows 2025-03-17 15:51:39 -04:00
Georges-Antoine Assi
79505bfce2 fix py type error 2025-03-02 13:37:28 -05:00
Georges-Antoine Assi
561c164bc9 [ROMM-1663] Update Nintendo 64DD slug from nintendo-64dd to 64dd 2025-02-25 17:33:56 -05:00
zurdi
c9a92efcbc Enhance ROM identification logic by adding properties for partially and fully identified states 2025-02-18 00:25:08 +00:00
zurdi
cfbcd82547 fix: changes based on review 2025-02-17 11:10:24 +00:00
zurdi
b37bd53ef7 Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-02-16 16:43:34 +00:00
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