Commit Graph

426 Commits

Author SHA1 Message Date
Zoe Roux 26410734fc Ensure stable sort when no lang is specified 2025-06-23 01:49:10 +02:00
Zoe Roux 985a13c1e4 Fix date handling (force iso on drizzle side) 2025-06-23 01:36:18 +02:00
Zoe Roux aa5ba7f2a9 Allow /api/shows to be filtered by kind 2025-06-22 19:28:26 +02:00
Zoe Roux 16f6399c4f Fix image's api from 500ing when image is not available + optimize etag 2025-06-22 19:27:53 +02:00
Zoe Roux 4ff0a1fe09 Update biome 2025-06-22 19:27:44 +02:00
Zoe Roux 2f0e077fa1 Allow shows to be sorted by names 2025-06-21 16:03:23 +02:00
Zoe Roux 2f6943cd6f Fix lots of stuff 2025-06-07 19:02:06 +02:00
Zoe Roux 489336c77a Add tests for video linking 2025-06-07 17:48:10 +02:00
Zoe Roux 6e2743a4be Add link video route 2025-06-07 17:45:39 +02:00
Zoe Roux d9d411b377 Rename unmatched route (from unknowns) 2025-06-07 17:45:39 +02:00
Zoe Roux be4b4f016b Add isAvailable filter for both entries & shows 2025-06-07 17:45:39 +02:00
Zoe Roux 9e3a9af0ef Properly handle image cache 2025-06-07 17:45:39 +02:00
Zoe Roux 953ac5ffa8 Use trailer instead of trailerUrl on seed, allow seasonNumber = 0 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 a22edc11ce Handle crew & fix some themoviedb bugs 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 a9b7d18a6e Fix request creation 2025-06-07 17:45:38 +02:00
Zoe Roux ebda81db97 Fix identify 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 cd874e382f Handle database connection vars 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 4353b5e911 Fix api tests 2025-06-07 17:45:37 +02:00
Zoe Roux b6ed8f0684 Type series & all related types 2025-06-07 17:45:37 +02:00
Zoe Roux b28f00aa22 Type movie & all related types 2025-06-07 17:45:37 +02:00
Zoe Roux f8612fed96 wip: Start scan request processor 2025-06-07 17:45:37 +02:00
Zoe Roux 4eed03a566 Match new videos with known metadata 2025-06-07 17:45:37 +02:00
Zoe Roux 11d0461d55 Filter videos & push them to the api 2025-06-07 17:45:37 +02:00
Zoe Roux ab5d2ad4e8 Update elysia & fix type issues 2025-06-07 17:45:37 +02:00
Zoe Roux 4480757df5 Type Video in the scanner 2025-06-07 17:45:37 +02:00
Zoe Roux aba86601cd Add scanner's openapi to scalar 2025-06-07 17:45:37 +02:00
Zoe Roux eb2b2a95a0 Fix api listen url print 2025-06-07 17:45:37 +02:00
Zoe Roux 943d2ac10b Split shell.nix into project specific ones 2025-06-07 17:45:37 +02:00
Zoe Roux a96813fe30 Return deleted paths in DELETE /videos 2025-05-04 15:35:59 +02:00
Zoe Roux 4df171386b Test deletions 2025-05-04 15:35:37 +02:00
Zoe Roux 46d98e038d Update availableSince of entries on POST /videos 2025-05-04 15:35:37 +02:00
Zoe Roux 205dda652a Update available count of shows when inserting videos 2025-05-04 15:35:37 +02:00
Zoe Roux e26bc931f5 Fix & test GET /videos 2025-05-04 15:35:37 +02:00
Zoe Roux 45e769828b Add unique constraint on [rendering, version, part] 2025-05-04 15:35:37 +02:00
Zoe Roux 466b67afe5 Put POST /videos in a transaction, handle dups 2025-05-04 15:35:37 +02:00
Zoe Roux 379765b28f Fix typechecking 2025-05-04 15:35:37 +02:00
Zoe Roux 71b3ee61af Add support for externalId in POST /videos 2025-05-04 15:35:37 +02:00
Zoe Roux 7203155747 Use .Composite for models (better swagger) 2025-05-04 15:35:37 +02:00
Zoe Roux 9cb9301a35 Update packages (drizzle included) 2025-05-04 15:35:37 +02:00
Zoe Roux 6a5862ddd2 Fix & test movie, episodes & slug linking 2025-05-04 15:35:37 +02:00
Zoe Roux 060c4d74b4 Type value lists 2025-05-04 15:35:37 +02:00
Zoe Roux 07a41bb175 Fix POST /videos 2025-05-04 15:35:37 +02:00
Zoe Roux d2bb37b3a7 Add more tests 2025-05-04 15:35:37 +02:00
Zoe Roux ce66dba0c8 Add unmatched paths in GET /videos (for scanner) 2025-05-04 15:35:37 +02:00
Zoe Roux 6194d806cc Delete unknown entries, rework them as part of unmatched videos 2025-05-04 15:35:37 +02:00