Commit Graph

57 Commits

Author SHA1 Message Date
Zoe Roux 5e63b57440 Fix pagination URLs when behind SSL-terminating reverse proxy 2025-11-13 14:04:05 +01:00
Zoe Roux fcac650322 Fix swagger's href 2025-07-19 15:54:07 +02:00
Zoe Roux 8c8a974054 Add helper function for entries' translations 2025-07-19 15:46:10 +02:00
Zoe Roux 666e4e2e6b Fix createdAt & updatedAt date formats for series's first & next
entries
2025-07-15 00:11:28 +02:00
Zoe Roux 7b3f3cc1c1 Update code for biome v2 2025-07-14 02:56:51 +02:00
Zoe Roux a697ffb524 Fix ?with=studios invalid date formats 2025-07-07 23:30:44 +02:00
Zoe Roux 26410734fc Ensure stable sort when no lang is specified 2025-06-23 01:49:10 +02:00
Zoe Roux aa5ba7f2a9 Allow /api/shows to be filtered by kind 2025-06-22 19:28:26 +02:00
Zoe Roux 2f0e077fa1 Allow shows to be sorted by names 2025-06-21 16:03:23 +02:00
Zoe Roux be4b4f016b Add isAvailable filter for both entries & shows 2025-06-07 17:45:39 +02:00
Zoe Roux ab5d2ad4e8 Update elysia & fix type issues 2025-06-07 17:45:37 +02:00
Zoe Roux 71b3ee61af Add support for externalId in POST /videos 2025-05-04 15:35:37 +02:00
Zoe Roux 144e08a99c Fix with=nextEntry 2025-04-08 23:39:50 +02:00
Zoe Roux c8742605ff Read `preferOriginal from jwt settings 2025-04-08 09:34:52 +02:00
Zoe Roux 4ba7750012 Create history api 2025-04-07 18:27:13 +02:00
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