Commit Graph

42 Commits

Author SHA1 Message Date
Zoe Roux 080da9bc27 Fix tests & misc errors 2025-04-07 15:40:32 +02:00
Zoe Roux aa9476680c Allow filter & sort by watchStatus 2025-04-07 12:40:11 +02:00
Zoe Roux 5994b8bc02 Fix aliases issues in jsonBuildObject 2025-04-06 22:02:24 +02:00
Zoe Roux 74ee45244b Support nextEntry in /series/{id} 2025-04-06 19:32:48 +02:00
Zoe Roux 11e1c59698 Handle watchstatus on movies/series 2025-04-06 18:25:28 +02:00
Zoe Roux 54131b6762 wip: nextEntry 2025-04-06 14:54:50 +02:00
Zoe Roux 1943eca52b Use the same subquery (videos/progress) for entries & firstEntry 2025-04-06 14:54:50 +02:00
Zoe Roux be35a4f0d9 Add percent in movie's watchlist 2025-04-06 14:54:50 +02:00
Zoe Roux 32cc6e7910 Add watch status type in movies/series 2025-04-06 14:54:50 +02:00
Zoe Roux 31a749b5ed Add progress in /series/:id?width=firstEntry 2025-04-06 14:54:50 +02:00
Zoe Roux dcbe817d60 Use additionalProperties (elysiajs/elysia#1159) 2025-04-06 14:24:03 +02:00
Zoe Roux 0e81c11f75 Use echo-jwt 4.2 to prevent breaking change 2025-03-25 10:53:27 +01:00
Zoe Roux 50549f20de Rename base file 2025-03-25 10:27:03 +01:00
Zoe Roux e6e2f8ce91 Add /health route in the api 2025-03-25 10:27:03 +01:00
Zoe Roux 204344955e Add KYOO_PREFIX handling in api's redirect 2025-03-25 10:27:03 +01:00
Zoe Roux 5ae04c6dac Add with=firstEntry 2025-03-10 19:32:47 +01:00
Zoe Roux e3a537896a Add staff migrations & basic tests 2025-03-10 11:29:12 +01:00
Zoe Roux 46833ac06f Rework sort to handle multiples tables 2025-03-10 00:22:32 +01:00
Zoe Roux b093df96ec Add with=videos support for movies 2025-03-09 18:44:12 +01:00
Zoe Roux 4b46963eff Rework /studios/:id to use relational query 2025-03-09 18:16:04 +01:00
Zoe Roux d61573668b Use original with collections too 2025-03-09 18:16:04 +01:00
Zoe Roux aab38f6a89 Rework & type relations 2025-03-09 18:16:04 +01:00
Zoe Roux f9ff6c00d7 Add studios in new with= handling 2025-03-09 18:16:04 +01:00
Zoe Roux c161d680e3 Add with=translations in the sql builder logic 2025-03-09 18:16:04 +01:00
Zoe Roux 3f77a1bda5 Fix tests 2025-03-09 18:16:04 +01:00
Zoe Roux cca0da4bf6 Use sql builder instead of orm for /movie 2025-03-09 18:16:04 +01:00
Zoe Roux ac7b589d76 Fix preferOriginal 2025-03-09 18:16:03 +01:00
Zoe Roux 269003c25d Add back isAvailable for movies 2025-03-08 14:51:14 +01:00
Zoe Roux c58cb3ef78 Cleanup preferOriginal handling 2025-03-08 14:51:14 +01:00
Zoe Roux e86ab9c081 Fix entries test with videos 2025-03-06 14:28:18 +01:00
Zoe Roux 750434465d Add ?with=studios in movies & series 2025-03-03 17:54:35 +01:00
Zoe Roux 7492bff7c8 Use guards instead of adding type info multiples times 2025-03-03 09:39:13 +01:00
Zoe Roux adaa892a26 Add GET /studios/:id/shows 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