Commit Graph

338 Commits

Author SHA1 Message Date
Zoe Roux 5994b8bc02 Fix aliases issues in jsonBuildObject 2025-04-06 22:02:24 +02:00
Zoe Roux 5a6e29e57a Fix guess's sub/sid format 2025-04-06 19:52:54 +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 22754442ad Create migration for watchlist/history/profiles 2025-04-06 18:24:49 +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 e489d0c445 Add watchlist table 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 be2e5e5ccf Fix drizzle patch for lateral join 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 781a6a8196 Add history table 2025-04-06 14:54:49 +02:00
Zoe Roux 026ad817bc Format stuff 2025-04-06 14:24:43 +02:00
Zoe Roux dcbe817d60 Use additionalProperties (elysiajs/elysia#1159) 2025-04-06 14:24:03 +02:00
Zoe Roux 0aab4cd84c Forge jwt for tests 2025-04-06 14:24:03 +02:00
Zoe Roux 49f700ca6e Check for permissions on each routes 2025-04-06 14:24:03 +02:00
Zoe Roux 411f6dcfba Use pages for users paginations 2025-04-04 22:44:44 +02:00
Zoe Roux 65a7f62fd1 Validate issuer & allow unlogged routes 2025-04-04 22:44:44 +02:00
Zoe Roux d0d12cc5f6 Add common swagger that combine auth & api 2025-04-04 22:44:44 +02:00
Zoe Roux 0e81c11f75 Use echo-jwt 4.2 to prevent breaking change 2025-03-25 10:53:27 +01:00
Zoe Roux 1f8652e06c Validate jwt claims 2025-03-25 10:27:03 +01:00
Zoe Roux bcded031e2 Use jwks in elysia 2025-03-25 10:27:03 +01:00
Zoe Roux 6391a99bb9 Switch to jwks instead of custom /info 2025-03-25 10:27:03 +01:00
Zoe Roux 068b19c936 Create auth middleware in elysia 2025-03-25 10:27:03 +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 631967567f Add traefik middleware for phantom-tokens 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 0a729ccf75 Migrate mqueue 2025-03-18 22:05:45 +01:00
Zoe Roux f11e1b56db Fix tests
Also fix sharp on nixos
2025-03-18 22:05:45 +01:00
Zoe Roux 71b57c50e7 Handle image in jsonb 2025-03-18 22:05:45 +01:00
Zoe Roux 6e642db7db Cleanup original images handling 2025-03-18 22:05:45 +01:00
Zoe Roux 9ef114b91a Use reworked image queue in every insert 2025-03-18 22:05:45 +01:00
Zoe Roux 71b8cbca4a Create task runner to download images 2025-03-18 22:05:45 +01:00
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