Commit Graph

128 Commits

Author SHA1 Message Date
Zoe Roux c58cb3ef78 Cleanup preferOriginal handling 2025-03-08 14:51:14 +01:00
Zoe Roux 194428ecfe Compute the number of entries available for a show 2025-03-08 14:51:14 +01:00
Zoe Roux dcf26b94cd Add entries count in series 2025-03-08 14:51:14 +01:00
Zoe Roux e8ffe31330 Fix docker build 2025-03-06 22:22:35 +01:00
Zoe Roux e86ab9c081 Fix entries test with videos 2025-03-06 14:28:18 +01:00
Zoe Roux 70d0d480f6 Test & fix entry video join 2025-03-06 14:28:18 +01:00
Zoe Roux 477fb24036 Patch drizzle to add leftJoinLateral 2025-03-06 14:26:24 +01:00
Zoe Roux 0558222150 Add videos in /shows/:id/entries 2025-03-06 14:26:24 +01:00
Zoe Roux 750434465d Add ?with=studios in movies & series 2025-03-03 17:54:35 +01:00
Zoe Roux 6cf8947c80 Fix swagger response of /studios/:id 2025-03-03 12:09:50 +01:00
Zoe Roux bf16231350 Add /studios & /studios/random 2025-03-03 11:45:18 +01:00
Zoe Roux 44658ce6b0 Add /studios/:id 2025-03-03 10:01:41 +01:00
Zoe Roux 03d071acb4 Add /studios/:id/{movies,series} 2025-03-03 09:41:24 +01:00
Zoe Roux 7492bff7c8 Use guards instead of adding type info multiples times 2025-03-03 09:39:13 +01:00
Zoe Roux ff5fc69d41 Add get by studio tests 2025-03-03 09:36:38 +01:00
Zoe Roux 97a9a406bb Format stuff 2025-03-02 23:50:15 +01:00
Zoe Roux adaa892a26 Add GET /studios/:id/shows 2025-03-02 23:47:02 +01:00
Zoe Roux 710675180c Add studio insert method 2025-03-02 23:47:02 +01:00
Zoe Roux 1cc26c5985 Fix typescript compilation 2025-03-02 23:47:02 +01:00
Zoe Roux 4f73e76a34 Add /collections/:id/shows 2025-03-02 19:44:45 +01:00
Zoe Roux 68d4958e3a Add /shows & /shows/random routes 2025-03-02 19:44:45 +01:00
Zoe Roux 9f974de245 Add /collections/:id/series & /collections/:id/movies 2025-03-02 19:09:28 +01:00
Zoe Roux d53947265f Add basic collection routes 2025-03-02 19:09:28 +01:00
Zoe Roux 662400da13 Add GET /series/{id} (based on movie's get) 2025-03-02 18:53:31 +01:00
Zoe Roux f143511e14 Add /series/random 2025-03-02 18:12:29 +01:00
Zoe Roux cc221c560d Add GET /series (using the same logic as /movies) 2025-03-02 18:09:25 +01:00
Zoe Roux 24f44de7c0 Move movie controller to shows subdir 2025-03-02 17:39:49 +01:00
Zoe Roux e8c9dfce56 Create insert method 2025-03-02 17:28:38 +01:00
Zoe Roux fc9afa5ede Allow collections to be created with movies or series 2025-03-02 17:28:38 +01:00
Zoe Roux 01183df4e9 Define collection type 2025-03-02 00:19:32 +01:00
Zoe Roux 6402b3cae6 Add unknown video example 2025-03-01 23:48:21 +01:00
Zoe Roux 5483e34c5e Fix season get 2025-03-01 23:48:21 +01:00
Zoe Roux 6a30173628 Fix poster creation of movie entries 2025-03-01 23:48:21 +01:00
Zoe Roux 4ee6493eb8 Fix 404 handling for entries 2025-03-01 23:48:21 +01:00
Zoe Roux fb7635ef56 Cleanup swagger & add examples for entries 2025-03-01 23:48:21 +01:00
Zoe Roux 5e0ba7f630 Fix path params making items not appear in swagger 2025-03-01 23:48:21 +01:00
Zoe Roux 1476505262 Add /unknowns route 2025-03-01 23:48:21 +01:00
Zoe Roux 29696c378a Add /series/:id/extras route 2025-03-01 23:48:21 +01:00
Zoe Roux a5483b4ca1 Fix typing & extra handling when fetching entries from db 2025-03-01 23:48:21 +01:00
Zoe Roux c730d47cd9 Add entries controller 2025-03-01 23:48:21 +01:00
Zoe Roux a370048a12 Update elysia and remove workaround 2025-02-22 19:30:19 +01:00
Zoe Roux b6dff90ccd Disable biome lint 2025-01-30 20:09:21 +01:00
Zoe Roux 4424e9b40a Handle extra seeding 2025-01-30 20:03:42 +01:00
Zoe Roux 32a1e89b27 Add insert seasons 2025-01-30 20:03:42 +01:00
Zoe Roux b1df97f767 Type extra & allow movie entries to specify a slug on seed 2025-01-30 20:03:42 +01:00
Zoe Roux cf59695e09 Fix need-rendering test 2025-01-30 20:03:42 +01:00
Zoe Roux 1a2ab48c73 Start the smart video controller 2025-01-30 20:03:42 +01:00
Zoe Roux e9c7cfe832 Fix entries insertion (special numbers not saved) 2025-01-30 20:03:42 +01:00
Zoe Roux b262aeed5d Better need rendering calculation when inserting entries 2025-01-30 20:03:42 +01:00
Zoe Roux f2c1982afa Test videos creation of slugs 2025-01-30 20:03:42 +01:00