Commit Graph

67 Commits

Author SHA1 Message Date
Georges-Antoine Assi
49c50ad810 Move hash calc for roms to bacakground task 2024-12-19 22:21:51 -05:00
zurdi
eae8d34d8f fix: convert zlib error to string for better logging in ROM hash calculation 2024-12-04 00:10:44 +00:00
zurdi
7614df07b1 fix: handle zlib error when calculating ROM hashes for corrupted files 2024-12-04 00:06:06 +00:00
zurdi
a51dd03e1a Added full offline support and configurable logging level and API requests debug logs 2024-11-27 17:12:13 +00:00
Georges-Antoine Assi
4a664ab790 [ROMM-1181] Skip hashing games on desktop platorms 2024-09-08 23:08:50 -04:00
Georges-Antoine Assi
b3a50021b7 run quick before hash scan 2024-08-12 11:57:47 -04:00
Georges-Antoine Assi
bc08e05a19 changes from self review 2024-08-11 23:09:58 -04:00
Georges-Antoine Assi
75b856bf94 only calc hashes in certian conditions 2024-08-11 22:54:35 -04:00
Georges-Antoine Assi
1ea1b326d3 move hashes to rom model 2024-08-11 22:38:22 -04:00
Georges-Antoine Assi
c3b754a2aa fix file meta order 2024-08-11 20:05:04 -04:00
Georges-Antoine Assi
56037070fb only calc hashes exlpicit 2024-08-11 19:36:52 -04:00
Georges-Antoine Assi
7e086cec67 fixes from code review 2024-08-11 19:06:16 -04:00
Georges-Antoine Assi
9386ca9e4a changes from self-review 2024-07-27 16:31:32 -04:00
Georges-Antoine Assi
3a9cef24e0 get it all wokring 2024-07-27 13:30:52 -04:00
Georges-Antoine Assi
ecc021e824 Merge branch 'master' into calc-file-hashes-roms 2024-07-27 12:17:18 -04:00
Michael Manganiello
aced1f1ff2 misc: Migrate IGDBBaseHandler to async
Convert `IGDBBaseHandler` methods to be asynchronous, and use an `httpx`
async client, instead of `requests` sync client.

This change also removes the direct dependency with `requests`, as the
project no longer uses it, preferring `httpx` instead.
2024-07-26 21:19:01 -03:00
Georges-Antoine Assi
efc0b75cdb Merge branch 'master' into calc-file-hashes-roms 2024-07-25 22:42:46 -04:00
Michael Manganiello
7c6dfa8e50 feat: Use ContextVar to share httpx AsyncClient instance between requests 2024-07-23 01:29:32 -03:00
Michael Manganiello
6d8a8714f5 misc: Migrate MobyGamesHandler to async
Convert `MobyGamesHandler` methods to be asynchronous, and use an
`httpx` async client, instead of `requests` sync client.
2024-07-22 01:09:36 -03:00
Georges-Antoine Assi
2b2ff875ee Calculate hashes for rom files 2024-07-15 18:27:29 -04:00
Michael Manganiello
33ac3ca56d misc: Apply changes generated by pyupgrade
Changes automatically made by
[`pyupgrade`](https://github.com/asottile/pyupgrade), using the
`--py311-plus` flag, to be compatible with Python 3.11.
2024-06-23 18:17:08 -03:00
Zurdi
242dbb9da5 cover path migration to id 2024-06-17 13:45:35 +02:00
Georges-Antoine Assi
2c3bd796de manual fixes 2024-06-02 14:00:12 -04:00
Georges-Antoine Assi
c4ef4d92d2 run truck fixes 2024-05-31 19:00:04 -04:00
Georges-Antoine Assi
9b62641d55 Merge branch 'master' into trunk-io 2024-05-31 18:42:43 -04:00
Georges-Antoine Assi
63e58d3e15 [ROMM-867] Only scan platform when selected 2024-05-25 18:15:23 -04:00
Georges-Antoine Assi
1840390c8a finish mypy fixes 2024-05-21 21:28:17 -04:00
Georges-Antoine Assi
2b60402a04 start fixing mypy issues 2024-05-21 19:22:14 -04:00
Georges-Antoine Assi
b2085f87a8 bunch of fixes for trunk 2024-05-21 17:10:11 -04:00
Georges-Antoine Assi
a7cf0d389a run trunk format on all files 2024-05-21 10:18:13 -04:00
Georges-Antoine Assi
880345f20c ruff-only pre-commit 2024-05-18 12:05:57 -04:00
Georges-Antoine Assi
2749aaee4a rename back to old names 2024-05-05 16:59:30 -04:00
Georges-Antoine Assi
dc33054ba1 more name refactoring 2024-05-05 16:45:58 -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
16db9b03bc [HOTFIX] Fix nightly scans resetting igdb/moby IDs 2024-04-02 15:22:25 -04:00
Georges-Antoine Assi
716c77285f misc fixes 2024-03-26 19:42:33 -04:00
Georges-Antoine Assi
899bd16ea9 changes from self review 2024-03-14 19:39:19 -04:00
Georges-Antoine Assi
f5bacba675 use data in fixtures to populate games 2024-03-12 15:31:39 -04:00
Georges-Antoine Assi
579dedb96b only provider scan if platform has provider id 2024-03-10 19:11:03 -04:00
Georges-Antoine Assi
3e6343039c add option in scan page to select metadata source 2024-03-06 23:17:42 -05:00
Georges-Antoine Assi
6c072d98ff allow running without apis enabled 2024-03-06 22:31:42 -05:00
Georges-Antoine Assi
0ad80a5662 Merge branch 'master' into mobygames-new-api 2024-03-06 19:41:26 -05:00
Georges-Antoine Assi
9824f16f69 add sony serial index files 2024-02-21 19:16:15 -05:00
Georges-Antoine Assi
89417f4573 call get_config less often 2024-02-21 12:08:39 -05:00
Zurdi
450d2593c6 fix read config when updated from UI 2024-02-21 11:44:18 -05:00
Georges-Antoine Assi
5e27343971 improved performance on rescans 2024-02-19 17:07:11 -05:00
Georges-Antoine Assi
ce9deb4f3c Rebuild moby api on new code 2024-02-13 18:46:31 -05:00