Commit Graph

427 Commits

Author SHA1 Message Date
Zoe Roux af4742ae0b Fix sqlarr of api (#1188) 2025-11-30 19:29:46 +00:00
acelinkio e7d9002156 kyoo_api logs redact password & other sensitive fields (#1182) 2025-11-28 16:42:27 +00:00
acelinkio 28d2e193aa kyoo_api extension install specify schema (#1183) 2025-11-28 16:39:47 +00:00
Zoe Roux 60d59d7f7b Wrap every insert with a trace 2025-11-28 17:25:29 +01:00
Zoe Roux 464d720ef9 Fix unnest issues 2025-11-28 17:11:43 +01:00
Zoe Roux 8fc279d2ed Use unnest everywhere 2025-11-28 17:11:43 +01:00
Zoe Roux a45e992339 Properly type unnestValues return 2025-11-28 17:11:43 +01:00
Zoe Roux 5f8ddd435a Use unnest for entries 2025-11-28 17:11:43 +01:00
Zoe Roux d822463fe0 Add a trace for api migrations 2025-11-28 17:11:43 +01:00
Zoe Roux a4f5ef33ff Fix deadlock on image downloading 2025-11-23 23:20:40 +01:00
Zoe Roux 20ab1dae6c Force tests to run on kyoo_test database 2025-11-23 23:16:58 +01:00
Zoe Roux 7ebc0fe504 Fix type issues 2025-11-23 22:44:59 +01:00
Zoe Roux 019aceb8d9 Batch images task insertion and add priority 2025-11-23 22:44:59 +01:00
Zoe Roux 3602905e86 Properly handle spans of image downloading 2025-11-23 17:49:23 +01:00
Zoe Roux 1f7844b8a5 Fix api images path (#1175) 2025-11-23 14:57:07 +01:00
Zoe Roux 27d25f4829 Fix transcoder service name in otel (#1165) 2025-11-19 19:27:50 +00:00
Zoe Roux 34761b43ae Fix need rendering compute on videos slug (#1163) 2025-11-19 16:28:47 +00:00
Zoe Roux fea9c16515 Instrument drizzle 2025-11-17 23:03:49 +01:00
Zoe Roux 01883d08cc Instrument elyzia 2025-11-17 23:03:49 +01:00
Zoe Roux 5e63b57440 Fix pagination URLs when behind SSL-terminating reverse proxy 2025-11-13 14:04:05 +01:00
Zoe Roux 61b38d5b03 Add /ready for api 2025-11-09 19:25:08 +01:00
Zoe Roux 40c13e7ddf Cleanup casing in api extension setup 2025-11-09 19:21:29 +01:00
Zoe Roux 03bb51661a Format stuff 2025-11-04 09:48:21 +01:00
Zoe Roux 572ddc69ad Fix video controller permissions 2025-11-04 09:48:21 +01:00
Zoe Roux c1b243df9c Fix image downloading error handling 2025-11-04 09:48:21 +01:00
Antoine d98ac3b452 fix(api): don't crash if not superuser (#1133) 2025-11-03 12:34:30 +01:00
Zoe Roux a0be0555e0 Update api packages 2025-10-26 22:31:40 +01:00
Zoe Roux 5fdc96db64 Format stuff 2025-10-24 16:18:35 +02:00
Zoe Roux a7d5f94dfb Allow clientId to be specified in query params 2025-10-22 09:16:45 +02:00
Zoe Roux da5823deb2 Fix /videos/:id?with=show date formatting 2025-10-22 09:16:44 +02:00
Zoe Roux 4d8806fc7f Make history's time non nullable (it was never null anyways) 2025-10-22 09:16:44 +02:00
Zoe Roux ebbed77650 Add /videos/:id/direct & /videos/:id/master.m3u8 routes 2025-10-22 09:16:44 +02:00
Zoe Roux e3ae961b68 Add progress to /videos/:id 2025-10-22 09:16:44 +02:00
Zoe Roux c33ba01e54 Add with=show to /videos/:id 2025-10-22 09:16:44 +02:00
Zoe Roux 8ffed25580 Add /api/videos/:id/info route to redirect to the transcoder 2025-10-22 09:16:43 +02:00
Zoe Roux 28702b9cdb Test /videos/id with multi-part episodes 2025-07-19 17:55:13 +02:00
Zoe Roux f99a144bc4 Add tests for /videos/:id 2025-07-19 17:40:33 +02:00
Zoe Roux dc0c412eda fixup! Add helper function for entries' translations 2025-07-19 16:40:31 +02:00
Zoe Roux fcac650322 Fix swagger's href 2025-07-19 15:54:07 +02:00
Zoe Roux 5379536db2 Add /videos/:id?with=next,previous route 2025-07-19 15:53:01 +02:00
Zoe Roux 8c8a974054 Add helper function for entries' translations 2025-07-19 15:46:10 +02:00
Zoe Roux 616c7140d3 Fix firstEntry type in api response 2025-07-19 15:46:10 +02:00
Zoe Roux 460e4596f7 Generate swagger for transcoder 2025-07-19 00:39:49 +02:00
Zoe Roux 4188e7bcd3 Hardcode /api prefix for the api 2025-07-19 00:39:49 +02:00
Zoe Roux 5ed43c85de Add next up in series detail page 2025-07-15 00:11:28 +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 8513cc057b Fix seasons entriesCount computation 2025-07-15 00:11:28 +02:00
Zoe Roux dbf63e1b22 Add entry & extra types in front 2025-07-15 00:11:28 +02:00
Zoe Roux aea2535cc6 Add entriesCount & availableCount to seasons 2025-07-14 03:27:46 +02:00
Zoe Roux 4c1ad4da5b Fix progress date format 2025-07-14 03:05:50 +02:00