Commit Graph

123 Commits

Author SHA1 Message Date
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
Zoe Roux 4cf67c3247 Sql cleanups 2025-04-08 00:22:23 +02:00
Zoe Roux e32fc229f8 Fix history population (drizzle patch) 2025-04-07 21:24:04 +02:00
Zoe Roux aa9476680c Allow filter & sort by watchStatus 2025-04-07 12:40:11 +02:00
Zoe Roux 5a6e29e57a Fix guess's sub/sid format 2025-04-06 19:52:54 +02:00
Zoe Roux c3abd7c61b Handle watch status on entries 2025-04-06 18:25:41 +02:00
Zoe Roux 22754442ad Create migration for watchlist/history/profiles 2025-04-06 18:24:49 +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 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 51558db1b2 Add image downloading test 2025-03-18 22:07:37 +01:00