Commit Graph

135 Commits

Author SHA1 Message Date
Zoe Roux a0ff1c3dfb Allow multiple ratings per serie/movie (#1377) 2026-03-18 19:58:43 +00:00
Zoe Roux 9b23d0714c Make external_ids be a list, properly handle anilist 2026-03-18 19:54:06 +01:00
Zoe Roux 9e1ddcc9b8 Split video's entries query for performances 2026-03-11 12:40:33 +01:00
Zoe Roux 63724b4f15 Fix collection style issues 2026-02-19 22:37:13 +01:00
Zoe Roux b7e1c4dc3e Edit slug constraints on (kind, slug) for shows 2026-02-19 22:35:11 +01:00
Zoe Roux d1776665ff Use precision=3 for timestamps to prevent comparison errors 2026-01-16 12:29:03 +01:00
Zoe Roux cb1a17def2 Organize imports 2026-01-05 12:28:43 +01:00
Zoe Roux 243701a5c5 Use real dates instead of iso string everywhere 2026-01-05 12:07:37 +01:00
Zoe Roux 4a02371402 Cleanup date normalization in json builders 2026-01-05 12:07:37 +01:00
Zoe Roux 6d21eeab07 Fix watchlist apis & add delete watchlist api 2026-01-05 12:07:37 +01:00
acelinkio 651d721669 api: logtape, otel, & logging improvements (#1230) 2025-12-22 07:22:02 -08:00
Zoe Roux 1a1ccc9d4c Use an images table to prevent dup downloads 2025-12-21 18:28:03 +01:00
Zoe Roux ab5da0d5c6 Add back entry_pk in history 2025-12-17 11:39:15 +01:00
Zoe Roux 333dc46ebf Remove entry fk in history 2025-12-17 11:39:15 +01:00
Zoe Roux fd29c6f682 Rework history to prevent duplicates in the last day 2025-12-17 11:39:15 +01:00
Zoe Roux d3ccd14fe0 Fix sqlarr 2025-12-04 17:58:32 +01:00
Zoe Roux c2c9bbe555 Prevent duplicated staff members 2025-12-04 17:58:32 +01:00
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 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 fea9c16515 Instrument drizzle 2025-11-17 23:03:49 +01:00
Zoe Roux 40c13e7ddf Cleanup casing in api extension setup 2025-11-09 19:21:29 +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 4d8806fc7f Make history's time non nullable (it was never null anyways) 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 5379536db2 Add /videos/:id?with=next,previous route 2025-07-19 15:53:01 +02:00
Zoe Roux aea2535cc6 Add entriesCount & availableCount to seasons 2025-07-14 03:27:46 +02:00
Zoe Roux 7b3f3cc1c1 Update code for biome v2 2025-07-14 02:56:51 +02:00
Zoe Roux 985a13c1e4 Fix date handling (force iso on drizzle side) 2025-06-23 01:36:18 +02:00
Zoe Roux a22edc11ce Handle crew & fix some themoviedb bugs 2025-06-07 17:45:39 +02:00
Zoe Roux e26bc931f5 Fix & test GET /videos 2025-05-04 15:35:37 +02:00
Zoe Roux 45e769828b Add unique constraint on [rendering, version, part] 2025-05-04 15:35:37 +02:00
Zoe Roux 060c4d74b4 Type value lists 2025-05-04 15:35:37 +02:00
Zoe Roux 07a41bb175 Fix POST /videos 2025-05-04 15:35:37 +02:00
Zoe Roux 6194d806cc Delete unknown entries, rework them as part of unmatched videos 2025-05-04 15:35:37 +02:00
Zoe Roux 39dcfb4418 Test POST /videos 2025-05-04 15:35:37 +02:00
Zoe Roux 621c9cec82 Add GET /videos/ that also list guesses 2025-05-04 15:35:37 +02:00
Fred Heinecke d0a1ee848f bug fixes, PR feedback, remove some vars
Signed-off-by: Fred Heinecke <fred.heinecke@yahoo.com>
2025-04-23 19:54:55 +00:00
Fred Heinecke 634c8808a1 [v5] Added support for storing images in S3
Signed-off-by: Fred Heinecke <fred.heinecke@yahoo.com>
2025-04-22 22:58:50 +00:00
Zoe Roux 67d7643261 Add lastPlayedAt in watchlists & sort nextup with it 2025-04-08 23:39:50 +02:00