Commit Graph

120 Commits

Author SHA1 Message Date
Zoe Roux c2c9bbe555 Prevent duplicated staff members 2025-12-04 17:58:32 +01: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 5f8ddd435a Use unnest for entries 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 34761b43ae Fix need rendering compute on videos slug (#1163) 2025-11-19 16:28:47 +00:00
Zoe Roux 5e63b57440 Fix pagination URLs when behind SSL-terminating reverse proxy 2025-11-13 14:04:05 +01:00
Zoe Roux 335b003b7c Test multi entry video with /videos/:id 2025-07-19 18:03:05 +02:00
Zoe Roux e0d5754519 Test multi-versions in /videos/:id 2025-07-19 17:57:19 +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 7939cc1c79 Fix api tests 2025-07-19 00:39:49 +02:00
Zoe Roux 4c1ad4da5b Fix progress date format 2025-07-14 03:05:50 +02:00
Zoe Roux 7b3f3cc1c1 Update code for biome v2 2025-07-14 02:56:51 +02:00
Zoe Roux 489336c77a Add tests for video linking 2025-06-07 17:48:10 +02:00
Zoe Roux 953ac5ffa8 Use trailer instead of trailerUrl on seed, allow seasonNumber = 0 2025-06-07 17:45:39 +02:00
Zoe Roux 4353b5e911 Fix api tests 2025-06-07 17:45:37 +02:00
Zoe Roux ab5d2ad4e8 Update elysia & fix type issues 2025-06-07 17:45:37 +02:00
Zoe Roux a96813fe30 Return deleted paths in DELETE /videos 2025-05-04 15:35:59 +02:00
Zoe Roux 4df171386b Test deletions 2025-05-04 15:35:37 +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 466b67afe5 Put POST /videos in a transaction, handle dups 2025-05-04 15:35:37 +02:00
Zoe Roux 379765b28f Fix typechecking 2025-05-04 15:35:37 +02:00
Zoe Roux 71b3ee61af Add support for externalId in POST /videos 2025-05-04 15:35:37 +02:00
Zoe Roux 6a5862ddd2 Fix & test movie, episodes & slug linking 2025-05-04 15:35:37 +02:00
Zoe Roux 07a41bb175 Fix POST /videos 2025-05-04 15:35:37 +02:00
Zoe Roux d2bb37b3a7 Add more tests 2025-05-04 15:35:37 +02:00
Zoe Roux 39dcfb4418 Test POST /videos 2025-05-04 15:35:37 +02:00
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 09dd78b272 Fix nextEntry & lastPlayedAt calculations on history/watchlist 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 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 df7d109c34 Cleanup default watchlist sort 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 b3edf31afc Create simple watchlist tests 2025-04-07 12:40:11 +02:00
Zoe Roux 026ad817bc Format stuff 2025-04-06 14:24:43 +02:00
Zoe Roux 0aab4cd84c Forge jwt for tests 2025-04-06 14:24:03 +02:00
Zoe Roux 50549f20de Rename base file 2025-03-25 10:27:03 +01:00
Zoe Roux 51558db1b2 Add image downloading test 2025-03-18 22:07:37 +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 dfaf5480ad Add tests & fix roles/staff 2025-03-10 14:10:28 +01:00