509 Commits

Author SHA1 Message Date
204344955e Add KYOO_PREFIX handling in api's redirect 2025-03-25 10:27:03 +01:00
631967567f Add traefik middleware for phantom-tokens 2025-03-25 10:27:03 +01:00
4ce8ce7f6d Add /studios/:id/logo & /staff/:id/image 2025-03-19 18:19:23 +01:00
27c5b34c5a Cleanup shows route & handle random 2025-03-19 18:19:23 +01:00
6ff00a1133 Add all movies image routes 2025-03-19 18:19:23 +01:00
7d3413a3d5 Extract get image logic to a function 2025-03-19 18:19:23 +01:00
9905587c83 Add first /poster route 2025-03-19 18:19:23 +01:00
47554590a9 Add image handler by id with quality control 2025-03-19 18:19:23 +01:00
c114af0856 Properly handle image download failures 2025-03-19 18:19:23 +01:00
51558db1b2 Add image downloading test 2025-03-18 22:07:37 +01:00
0a729ccf75 Migrate mqueue 2025-03-18 22:05:45 +01:00
f11e1b56db Fix tests
Also fix sharp on nixos
2025-03-18 22:05:45 +01:00
71b57c50e7 Handle image in jsonb 2025-03-18 22:05:45 +01:00
6e642db7db Cleanup original images handling 2025-03-18 22:05:45 +01:00
9ef114b91a Use reworked image queue in every insert 2025-03-18 22:05:45 +01:00
71b8cbca4a Create task runner to download images 2025-03-18 22:05:45 +01:00
67511a3aa8 Add function to download images, resize them & blurhash 2025-03-18 22:05:45 +01:00
1a11bc3492 wip: Add image downloading 2025-03-18 22:05:45 +01:00
5ae04c6dac Add with=firstEntry 2025-03-10 19:32:47 +01:00
f6b10738da Migrate & test 2025-03-10 18:56:52 +01:00
2cebdcd63e Add /news route 2025-03-10 18:56:52 +01:00
6dec212a2c Add DELETE /videos 2025-03-10 18:56:52 +01:00
621d4752ba Add availableSince field on entries (will be used for /news) 2025-03-10 18:56:52 +01:00
878d72f3a4 Cleanup availableCount & episodeCount update transaction 2025-03-10 18:56:52 +01:00
dfaf5480ad Add tests & fix roles/staff 2025-03-10 14:10:28 +01:00
e3a537896a Add staff migrations & basic tests 2025-03-10 11:29:12 +01:00
25f042fbd7 Add staff examples 2025-03-10 10:22:31 +01:00
43a128ebe8 Add staff seeding 2025-03-10 01:31:51 +01:00
46833ac06f Rework sort to handle multiples tables 2025-03-10 00:22:32 +01:00
039880d812 Add /series/:id/staff 2025-03-10 00:22:32 +01:00
18532b80b1 Add /movies/:id/staff 2025-03-10 00:22:32 +01:00
cba47ca346 Add /staff/:id/roles 2025-03-10 00:22:32 +01:00
7e6592fa2e Implement routes in /shows 2025-03-10 00:22:32 +01:00
8d7d5f3e7e Add /staff routes 2025-03-10 00:22:32 +01:00
bcec4c31d1 Add staff types & db schema 2025-03-10 00:22:32 +01:00
b093df96ec Add with=videos support for movies 2025-03-09 18:44:12 +01:00
4b46963eff Rework /studios/:id to use relational query 2025-03-09 18:16:04 +01:00
34926dab51 Fix entries's video retrieval 2025-03-09 18:16:04 +01:00
d61573668b Use original with collections too 2025-03-09 18:16:04 +01:00
aab38f6a89 Rework & type relations 2025-03-09 18:16:04 +01:00
f9ff6c00d7 Add studios in new with= handling 2025-03-09 18:16:04 +01:00
fc60fcc7c4 Cleanup video join in entries 2025-03-09 18:16:04 +01:00
c161d680e3 Add with=translations in the sql builder logic 2025-03-09 18:16:04 +01:00
3f77a1bda5 Fix tests 2025-03-09 18:16:04 +01:00
fd57f506c1 Proper error handling for missing original 2025-03-09 18:16:04 +01:00
cca0da4bf6 Use sql builder instead of orm for /movie 2025-03-09 18:16:04 +01:00
16fb638231 Make guess field of video mandatory 2025-03-09 18:16:04 +01:00
ac7b589d76 Fix preferOriginal 2025-03-09 18:16:03 +01:00
3f188e27a1 Only specify kind in movie/serie/collection in /shows 2025-03-09 18:16:03 +01:00
74f2229dcd Migrate original handling 2025-03-09 18:16:03 +01:00