214 Commits

Author SHA1 Message Date
Zoe Roux
7bd1de3df6
Fix nextEntry query in history (alias mismatch) 2025-04-09 00:00:16 +02:00
Zoe Roux
20f8640790
Test nextup 2025-04-08 23:47:55 +02:00
Zoe Roux
e1b428e8ce
Fix nextEntry calculation when adding to watchlist 2025-04-08 23:39:50 +02:00
Zoe Roux
144e08a99c
Fix with=nextEntry 2025-04-08 23:39:50 +02:00
Zoe Roux
d6d3540b16
Fix history percent calculation 2025-04-08 23:39:50 +02:00
Zoe Roux
09dd78b272
Fix nextEntry & lastPlayedAt calculations on history/watchlist 2025-04-08 23:39:50 +02:00
Zoe Roux
67d7643261
Add lastPlayedAt in watchlists & sort nextup with it 2025-04-08 23:39:50 +02:00
Zoe Roux
d8566355bb
Add nextup routes 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
4cf67c3247
Sql cleanups 2025-04-08 00:22:23 +02:00
Zoe Roux
69006478cb
Update watchlist when inserting into history 2025-04-07 22:53:07 +02:00
Zoe Roux
c0e00c0fd4
Handle duplicated entries in the history 2025-04-07 21:40:41 +02:00
Zoe Roux
e32fc229f8
Fix history population (drizzle patch) 2025-04-07 21:24:04 +02:00
Zoe Roux
c48815a71a
Add history tests 2025-04-07 19:34:10 +02:00
Zoe Roux
e2fa3af1e8
Add route to batch populate the history 2025-04-07 19:07:05 +02:00
Zoe Roux
fef9e844a1
Add /profile/:id/history api 2025-04-07 18:27:13 +02:00
Zoe Roux
4ba7750012
Create history api 2025-04-07 18:27:13 +02:00
Zoe Roux
df7d109c34
Cleanup default watchlist sort 2025-04-07 18:27:13 +02:00
Zoe Roux
880a85ff8d
Move watchlist controller to profile dir 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
db0b244286
Handle profiles creation in kyoo db schema 2025-04-07 12:41:41 +02:00
Zoe Roux
59533e5f0c
Handle 404 for user accounts 2025-04-07 12:40:11 +02:00
Zoe Roux
bf361a79d1
Better movie/serie watchlist types 2025-04-07 12:40:11 +02:00
Zoe Roux
83d8462003
Add watchstatus create/edit apis 2025-04-07 12:40:11 +02:00
Zoe Roux
4b0100c52d
Create watchlist read api 2025-04-07 12:40:11 +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
c3abd7c61b
Handle watch status on entries 2025-04-06 18:25:41 +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
6ecaec2dee
Add progress status in every entry 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
4ce8ce7f6d
Add /studios/:id/logo & /staff/:id/image 2025-03-19 18:19:23 +01:00
Zoe Roux
27c5b34c5a
Cleanup shows route & handle random 2025-03-19 18:19:23 +01:00
Zoe Roux
6ff00a1133
Add all movies image routes 2025-03-19 18:19:23 +01:00
Zoe Roux
7d3413a3d5
Extract get image logic to a function 2025-03-19 18:19:23 +01:00
Zoe Roux
9905587c83
Add first /poster route 2025-03-19 18:19:23 +01:00
Zoe Roux
47554590a9
Add image handler by id with quality control 2025-03-19 18:19:23 +01:00
Zoe Roux
c114af0856
Properly handle image download failures 2025-03-19 18:19:23 +01:00
Zoe Roux
51558db1b2
Add image downloading test 2025-03-18 22:07:37 +01:00
Zoe Roux
f11e1b56db
Fix tests
Also fix sharp on nixos
2025-03-18 22:05:45 +01:00