zurdi
b856fd1c62
fix: trunk check
2025-07-22 21:12:27 +00:00
Zurdi
8ffe3afbe6
Update backend/tasks/manual/cleanup_orphaned_resources.py
...
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com >
2025-07-22 21:43:18 +02:00
zurdi
7bc7b0341c
test: Enhance heartbeat and task tests
2025-07-22 17:25:24 +00:00
zurdi
7aeccb5468
feat: Added clean resources task + revamped the whole task system
2025-07-22 16:31:36 +00:00
Georges-Antoine Assi
9e722f5806
fix scan test
2025-07-18 11:53:22 -04:00
Georges-Antoine Assi
48eab4c957
fix a bunch of tests
2025-07-17 15:48:46 -04:00
Georges-Antoine Assi
58fa6458a7
fix pytest
2025-07-11 19:36:02 -04:00
Georges-Antoine Assi
2bd5ff0cac
add sgdb to scan page
2025-07-11 18:55:56 -04:00
Georges-Antoine Assi
c1098fc16b
Misc metadata fixes
2025-07-11 18:17:14 -04:00
Georges-Antoine Assi
eb4c7af4e9
remove conftest
2025-07-06 00:00:35 -04:00
Georges-Antoine Assi
b797e63fdf
augment pytest with coverage
2025-07-05 23:20:52 -04:00
Georges-Antoine Assi
48c355fa94
complete tests for tasks folder
2025-07-05 23:10:47 -04:00
Georges-Antoine Assi
19245ca158
add test for update switch titledb
2025-07-05 22:35:21 -04:00
Georges-Antoine Assi
13b6fe2157
add test for updaing launchbox data
2025-07-05 22:04:03 -04:00
Georges-Antoine Assi
7181f5b259
add comment to lb update
2025-06-12 16:16:51 -04:00
Georges-Antoine Assi
06be0f0ee7
Store all imaegs in metadata + fix getting exact game
2025-06-12 10:53:33 -04:00
Georges-Antoine Assi
41ce4f06ac
use env var to toggle lb
2025-05-24 20:35:59 -04:00
Georges-Antoine Assi
69b898a397
extract and load images from launchbox
2025-05-23 11:24:50 -04:00
Georges-Antoine Assi
eb37ac0ef2
start mapping platforms slugs to lb platforms
2025-05-20 16:08:14 -04:00
Georges-Antoine Assi
d2b201fa31
fix loading redis stores
2025-05-19 22:46:59 -04:00
Georges-Antoine Assi
edd8286a44
Merge branch 'master' into romm-403
2025-01-31 12:15:31 -05:00
Georges-Antoine Assi
152c1365ce
add launchbox metadata examples for testing
2025-01-21 00:09:06 -05: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
7bde4aee70
complete the rst of the files
2024-12-20 23:45:25 -05:00
Michael Manganiello
0fdbbe4625
misc: Upgrade Python to v3.12 and Alpine to v3.20
...
Included upgrades:
* Python: v3.12
* Alpine: v3.20 (which uses Python 3.12)
* nginx: v1.27.1
2024-08-15 20:14:32 -03:00
Michael Manganiello
fe5759fec7
fix: Initialize context on scheduled task
...
Only for this scheduled task, the run was failing because there was no
context initialization that created the httpx session.
Other schedules work as expected, because they do have context
initialization in the functions they call to (e.g. `scan_platforms`).
2024-07-27 01:22:29 -03: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
Michael Manganiello
6eb8e6aeff
misc: Add Redis async cache
...
Introduce an asynchronous Redis instance to be used in async functions.
Also, this change migrates most of the sync cache usage to the new async
cache.
2024-07-21 18:23:19 -03:00
Michael Manganiello
04b64f1d97
fix: Filter Switch titledb entries with empty id
...
The existing code was failing after changes on the upstream JSON file
that included entries with `null` ID.
2024-07-18 11:00:30 -03:00
Michael Manganiello
3bd37165d4
fix: Call Redis HSET in bulk
2024-06-26 00:17:49 -03: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
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
16db9b03bc
[HOTFIX] Fix nightly scans resetting igdb/moby IDs
2024-04-02 15:22:25 -04:00
Georges-Antoine Assi
770313c1f1
hset all in cache for quick access
2024-03-26 19:03:42 -04:00
Georges-Antoine Assi
1fe7d3589a
autoload indexes in memory
2024-03-26 18:05:58 -04:00
Georges-Antoine Assi
efcd3c00d1
store swtich files in redis
2024-03-26 17:18:46 -04:00
Georges-Antoine Assi
4174b9753e
remove mame from scheduled tasks and embed fixture
2024-03-26 16:49:02 -04:00
Georges-Antoine Assi
10be0238cf
fix saving fixtures
2024-03-06 20:04:05 -05:00
Georges-Antoine Assi
6bcadec702
everything we need for 3.0
2024-02-01 18:13:16 -05:00
Zurdi
3c33d46ff2
Merge branch 'master' into refactor/backend
2024-01-15 13:36:38 +01:00
Zurdi
4b9e76f550
backend structure refactor
2024-01-12 23:44:27 +01:00
Georges-Antoine Assi
b0276e7521
Remove file hash from mame file url
2024-01-12 13:21:33 -05:00
Zurdi
33b6364c8a
endpoints and responses restructured
2024-01-11 23:57:06 +01:00
Zurdi
eea7e41940
docstrings added to endpoints + organized imports + formatted code
2024-01-09 16:22:31 +01:00
Georges-Antoine Assi
48c350d403
Await call to scan_platform
2024-01-02 10:28:53 -05:00
Georges-Antoine Assi
1e72672b20
Option to manually run tasks
2023-12-04 13:40:33 -05:00
Georges-Antoine Assi
b99cce243b
Save the entire value object
2023-11-04 22:04:27 -04:00