Commit Graph

55 Commits

Author SHA1 Message Date
zurdi
30a0be2c4c Merge branch 'master' into HEAD 2025-04-10 22:56:55 +00:00
Georges-Antoine Assi
672a5c6644 Merge branch 'master' into true-pagination 2025-04-05 20:41:03 -04:00
Georges-Antoine Assi
51cd16634c add dedicated emulatorjs save quick button 2025-03-26 10:56:48 -04:00
Georges-Antoine Assi
7f7b97a9cc Merge branch 'master' into true-pagination 2025-03-25 17:39:36 -04:00
Georges-Antoine Assi
581cdf742c fix pagination speeds 2025-03-21 00:07:27 -04:00
Georges-Antoine Assi
887ccf9f26 [ROMM-1761] Show platform disk size in sidebar 2025-03-20 18:12:10 -04:00
zurdi
9d96501b9e Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-01-31 00:12:44 +00:00
Georges-Antoine Assi
b659ebe97f [ROMM-1529] 2025-01-23 19:29:16 -05:00
zurdi
4aa2d49221 feat: fully integrated screenscrapper 2025-01-03 03:08:02 +00:00
zurdi
9645fab707 feat: Added custom name for platforms 2024-12-24 02:30:27 +00:00
Georges-Antoine Assi
d0ccd6a0cd Merge branch 'master' into feat/retro_achievements 2024-12-14 21:24:49 -05:00
Georges-Antoine Assi
d172f2f3ef hotfix some sqlalchemy models 2024-12-09 19:21:00 -05:00
zurdi
5eefdda9d8 refactor aspect_ratio field to use string type and update related components 2024-12-03 10:51:29 +00:00
zurdi
b670b68df3 added default aspect ratio in platform table 2024-12-01 18:22:27 +00:00
zurdi
be87d92cf7 fixed platform info migration and models 2024-11-28 12:28:29 +00:00
zurdi
80b7cc7333 added basic platform info from the igdb api call 2024-11-27 11:43:06 +00:00
SaraVieira
11b46494a7 start work on retro achievements 2024-08-31 19:09:20 +01:00
Michael Manganiello
004c0b634e fix: Make some DB columns non-nullable
This change makes some database columns non-nullable, and includes the
migration to seamlessly upgrade the schema.

It includes:
* User and Platform names
* Every boolean column
2024-07-07 11:07:27 -03:00
Michael Manganiello
e1bcd9cc06 misc: Use Python future annotations
Simplify annotations by using `__future__.annotations`, so there's no
need to add typing using types as strings.
2024-06-30 12:19:37 -03:00
Michael Manganiello
b99ededced misc: Migrate to SQLAlchemy declarative models
This change applies the guided migration process recommended by
SQLAlchemy [1], up to step 4, to have declarative ORM models that better
support Python typing.

The change was tested by running `alembic check`, which does not find
any schema changes.

Errors reported by `mypy` go down to 170, from the original 223 in the
current `master` commit.

[1] https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#migrating-an-existing-mapping
2024-06-25 23:03:20 -03:00
Georges-Antoine Assi
b075e93321 Merge branch 'master' into trunk-io 2024-05-24 16:47:19 -04:00
Georges-Antoine Assi
ac59fa16eb hotfix scanning rom_count field 2024-05-24 09:56:41 -04:00
Georges-Antoine Assi
7c5da34ddf fix slow fetching of platform 2024-05-23 23:18:19 -04:00
Georges-Antoine Assi
10479bdc9f run formatter 2024-05-23 10:06:43 -04:00
Georges-Antoine Assi
fcb34f9088 Merge branch 'master' into trunk-io 2024-05-23 10:06:13 -04:00
Georges-Antoine Assi
a7cf0d389a run trunk format on all files 2024-05-21 10:18:13 -04:00
Georges-Antoine Assi
0922e5e1e2 add comments for some changes 2024-05-18 21:00:15 -04:00
Georges-Antoine Assi
66510c0327 Improve fetch times of platforms endpoint 2024-05-18 17:24:07 -04:00
Georges-Antoine Assi
2749aaee4a rename back to old names 2024-05-05 16:59:30 -04:00
Georges-Antoine Assi
9ad28f3294 more refactoring again 2024-05-05 16:32:40 -04:00
Georges-Antoine Assi
def2608c28 refactor db handlers 2024-05-05 15:46:07 -04:00
Georges-Antoine Assi
1a2c914045 refactor handlers out into own files 2024-05-05 12:45:56 -04:00
Georges-Antoine Assi
eca1eb1136 model and scanning 2024-05-01 15:27:16 -04:00
Georges-Antoine Assi
ce9deb4f3c Rebuild moby api on new code 2024-02-13 18:46:31 -05:00
Zurdi
37c359fa97 path_cover and url_cover refactored 2024-02-01 00:22:44 +01:00
Georges-Antoine Assi
092df45e4a Misc hotfixes from backend refactor 2024-01-18 16:55:35 -05:00
Georges-Antoine Assi
81b5bcf9ba refactor handler names 2024-01-18 14:04:35 -05:00
Zurdi
1d2c9e7d05 standarized GET endpoints for roms and platforms 2024-01-14 02:34:37 +01:00
Zurdi
4b9e76f550 backend structure refactor 2024-01-12 23:44:27 +01:00
Georges-Antoine Assi
5762270f62 Merge branch 'master' into romm-55 2024-01-09 13:06:51 -05:00
Zurdi
eea7e41940 docstrings added to endpoints + organized imports + formatted code 2024-01-09 16:22:31 +01:00
Georges-Antoine Assi
91d2562597 Support screenshots outside platforms 2024-01-06 17:24:51 -05:00
Georges-Antoine Assi
05da20963f remove support for bios and emulatores 2024-01-06 10:21:43 -05:00
Georges-Antoine Assi
678b6c2c98 Add support for emulator files related to platforms 2023-11-29 14:41:12 -05:00
Georges-Antoine Assi
009c0f391a Switch to eager loading 2023-11-21 23:45:24 -05:00
Georges-Antoine Assi
f560d03b86 Get saves and states loading 2023-11-14 00:00:33 -05:00
zurdi
5121996a90 some typed attributes added 2023-11-08 17:40:21 +01:00
Georges-Antoine Assi
04ba6f493b Switch igdb/sgdb IDs to int + update fastapi/pydantic 2023-09-14 10:06:43 -04:00
Georges-Antoine Assi
08846d304f Mega cool refactor of dbhandler 2023-09-13 22:30:34 -04:00
Georges-Antoine Assi
a1c62553f1 Imrpvements to file upload + api fixes 2023-09-13 18:36:41 -04:00