393 Commits

Author SHA1 Message Date
Zoe Roux
67511a3aa8
Add function to download images, resize them & blurhash 2025-03-18 22:05:45 +01:00
Zoe Roux
1a11bc3492
wip: Add image downloading 2025-03-18 22:05:45 +01:00
Zoe Roux
5ae04c6dac
Add with=firstEntry 2025-03-10 19:32:47 +01:00
Zoe Roux
f6b10738da
Migrate & test 2025-03-10 18:56:52 +01:00
Zoe Roux
2cebdcd63e
Add /news route 2025-03-10 18:56:52 +01:00
Zoe Roux
6dec212a2c
Add DELETE /videos 2025-03-10 18:56:52 +01:00
Zoe Roux
621d4752ba
Add availableSince field on entries (will be used for /news) 2025-03-10 18:56:52 +01:00
Zoe Roux
878d72f3a4
Cleanup availableCount & episodeCount update transaction 2025-03-10 18:56:52 +01:00
Zoe Roux
dfaf5480ad
Add tests & fix roles/staff 2025-03-10 14:10:28 +01:00
Zoe Roux
e3a537896a
Add staff migrations & basic tests 2025-03-10 11:29:12 +01:00
Zoe Roux
25f042fbd7
Add staff examples 2025-03-10 10:22:31 +01:00
Zoe Roux
43a128ebe8
Add staff seeding 2025-03-10 01:31:51 +01:00
Zoe Roux
46833ac06f
Rework sort to handle multiples tables 2025-03-10 00:22:32 +01:00
Zoe Roux
039880d812
Add /series/:id/staff 2025-03-10 00:22:32 +01:00
Zoe Roux
18532b80b1
Add /movies/:id/staff 2025-03-10 00:22:32 +01:00
Zoe Roux
cba47ca346
Add /staff/:id/roles 2025-03-10 00:22:32 +01:00
Zoe Roux
7e6592fa2e
Implement routes in /shows 2025-03-10 00:22:32 +01:00
Zoe Roux
8d7d5f3e7e
Add /staff routes 2025-03-10 00:22:32 +01:00
Zoe Roux
bcec4c31d1
Add staff types & db schema 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
34926dab51
Fix entries's video retrieval 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
fc60fcc7c4
Cleanup video join in entries 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
fd57f506c1
Proper error handling for missing original 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
16fb638231
Make guess field of video mandatory 2025-03-09 18:16:04 +01:00
Zoe Roux
ac7b589d76
Fix preferOriginal 2025-03-09 18:16:03 +01:00
Zoe Roux
3f188e27a1
Only specify kind in movie/serie/collection in /shows 2025-03-09 18:16:03 +01:00
Zoe Roux
74f2229dcd
Migrate original handling 2025-03-09 18:16:03 +01:00
Zoe Roux
67dc251489
Rework original handling in seeding 2025-03-09 18:16:03 +01:00
Zoe Roux
b69cb05088
Type guess info in db schema 2025-03-09 18:16:03 +01:00
Zoe Roux
6b0e3e7577
Add original name & latinName in series/movie 2025-03-09 18:16:03 +01:00
Zoe Roux
0e4f678e2c
Fix test 2025-03-08 14:55:40 +01:00
Zoe Roux
269003c25d
Add back isAvailable for movies 2025-03-08 14:51:14 +01:00
Zoe Roux
bbbf7b32e0
Exclude extras & test availableCount/entryCount 2025-03-08 14:51:14 +01:00
Zoe Roux
54ee704ab9
Create migration & fix update statment 2025-03-08 14:51:14 +01:00
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
fd2f3be663
Dont send videos with extras 2025-03-06 14:28:19 +01:00
Zoe Roux
e86ab9c081
Fix entries test with videos 2025-03-06 14:28:18 +01:00
Zoe Roux
66fadb2b20
Remove schema from validation errors 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