Commit Graph

4284 Commits

Author SHA1 Message Date
Zoe Roux d1bf1f3339 Fix scanner's create requests 2025-06-07 17:45:39 +02:00
Zoe Roux 62e0a123aa Update api's packages 2025-06-07 17:45:39 +02:00
Zoe Roux 55d1551cd3 Fix uv's shell.nix (& add python-slugify) 2025-06-07 17:45:39 +02:00
Zoe Roux a22edc11ce Handle crew & fix some themoviedb bugs 2025-06-07 17:45:39 +02:00
Zoe Roux af566150f5 Use watch mode for transcoder 2025-06-07 17:45:39 +02:00
Zoe Roux 4828fa08cf Use docker-compose watch mode for auth 2025-06-07 17:45:39 +02:00
Zoe Roux e5b1842432 Add format workflow for auth 2025-06-07 17:45:39 +02:00
Zoe Roux 7857b14a14 Hardcode keibi's prefix to /auth 2025-06-07 17:45:39 +02:00
Zoe Roux 12d9ad3183 wip: Reconnect to database on connection failure 2025-06-07 17:45:39 +02:00
Zoe Roux df23cf54d7 Fix listener 2025-06-07 17:45:39 +02:00
Zoe Roux 9c451a865e Cleanup task handling/cancellation of background tasks 2025-06-07 17:45:39 +02:00
Zoe Roux 5b2ccba175 Fix watch of docker-compose 2025-06-07 17:45:39 +02:00
Zoe Roux ae0f55ae9b Clear failed requests before scanning 2025-06-07 17:45:39 +02:00
Zoe Roux c9fcbc8e8f Implement proper shutdown of scan/monitor tasks 2025-06-07 17:45:39 +02:00
Zoe Roux 1747454845 Fix dockerfiles 2025-06-07 17:45:39 +02:00
Zoe Roux 095d309bb6 Use docker compose watch for api 2025-06-07 17:45:39 +02:00
Zoe Roux 10e200ea5a Remove docker.dev for docker watch for scanner 2025-06-07 17:45:38 +02:00
Zoe Roux af75985a14 Switch to uv 2025-06-07 17:45:38 +02:00
Zoe Roux 34c891128e Provider cleanup 2025-06-07 17:45:38 +02:00
Zoe Roux cafc40d5f2 Fix tmdb stuff 2025-06-07 17:45:38 +02:00
Zoe Roux d13fa1bdf1 Fix example .env & postgres vars for v5 2025-06-07 17:45:38 +02:00
Zoe Roux 90b6e2264d Create request in db 2025-06-07 17:45:38 +02:00
Zoe Roux a9b7d18a6e Fix request creation 2025-06-07 17:45:38 +02:00
Zoe Roux 2fc696dde9 Add database migration script 2025-06-07 17:45:38 +02:00
Zoe Roux f3310e23f3 Stop trying to use the non-working DI of fastapi 2025-06-07 17:45:38 +02:00
Zoe Roux ebda81db97 Fix identify 2025-06-07 17:45:38 +02:00
Zoe Roux d6d71421fd Fix scanner's teardown 2025-06-07 17:45:38 +02:00
Zoe Roux d873c74545 Fix scanner/api communications 2025-06-07 17:45:38 +02:00
Zoe Roux 07972b0773 Cleanup missing auth header error 2025-06-07 17:45:38 +02:00
Zoe Roux e2f02a279d fastapi's di is utter garbage 2025-06-07 17:45:38 +02:00
Zoe Roux 444249dfc4 Singleton try 2025-06-07 17:45:38 +02:00
Zoe Roux 6d70870ef3 Proper app cleanup 2025-06-07 17:45:38 +02:00
Zoe Roux 0839f5afb7 Small fixes & error handling 2025-06-07 17:45:38 +02:00
Zoe Roux 9eae11d3b5 Use fastapi router 2025-06-07 17:45:38 +02:00
Zoe Roux cd874e382f Handle database connection vars 2025-06-07 17:45:38 +02:00
Zoe Roux 0cafe1ef40 Cleanup startup events 2025-06-07 17:45:38 +02:00
Zoe Roux d666cda744 Fix jwks validation in scanner 2025-06-07 17:45:38 +02:00
Zoe Roux 19f346ffb6 Add kid in jwks & jwts 2025-06-07 17:45:38 +02:00
Zoe Roux a29dff1014 Validate jwts in the scanner 2025-06-07 17:45:38 +02:00
Zoe Roux 45a1198f30 Add put /scan to trigger a scan 2025-06-07 17:45:38 +02:00
Zoe Roux 1e65053c37 Map Language for pydantic 2025-06-07 17:45:38 +02:00
Zoe Roux b0dad090ae Start scan & monitor on master instance of scanner 2025-06-07 17:45:38 +02:00
Zoe Roux 53867792f3 Switch to asyncpg & create initial listener 2025-06-07 17:45:38 +02:00
Zoe Roux 21435da93f wip: Link videos found after request started 2025-06-07 17:45:38 +02:00
Zoe Roux 2bf9464c18 Implement request processor (listen for requests) 2025-06-07 17:45:38 +02:00
Zoe Roux f5f4ad439c Create a psycopg pool 2025-06-07 17:45:38 +02:00
Zoe Roux d1e38c9e1c Create request migration 2025-06-07 17:45:38 +02:00
Zoe Roux 249019d6f5 Move old stuff to one dir 2025-06-07 17:45:38 +02:00
Zoe Roux 608e0cf12e Move stuff around 2025-06-07 17:45:38 +02:00
Zoe Roux f1f7dde507 Match guessed's entries to tmdb's entries 2025-06-07 17:45:38 +02:00