Commit Graph

153 Commits

Author SHA1 Message Date
Zoe Roux cf59695e09 Fix need-rendering test 2025-01-30 20:03:42 +01:00
Zoe Roux 1a2ab48c73 Start the smart video controller 2025-01-30 20:03:42 +01:00
Zoe Roux 7906374553 Add history & from in the guess type 2025-01-30 20:03:42 +01:00
Zoe Roux e9c7cfe832 Fix entries insertion (special numbers not saved) 2025-01-30 20:03:42 +01:00
Zoe Roux b0637aeb6a Type guess from videos 2025-01-30 20:03:42 +01:00
Zoe Roux b262aeed5d Better need rendering calculation when inserting entries 2025-01-30 20:03:42 +01:00
Zoe Roux f2c1982afa Test videos creation of slugs 2025-01-30 20:03:42 +01:00
Zoe Roux e5bb462e36 Update test helpers 2025-01-30 20:03:42 +01:00
Zoe Roux fabf6b6863 Define relations on evj 2025-01-30 20:03:42 +01:00
Zoe Roux 2588eef23b Create values helper & fix video join insertion 2025-01-30 20:03:42 +01:00
Zoe Roux 8d6121d8b0 Handle video joint creation with entries 2025-01-30 20:03:42 +01:00
Zoe Roux 2510420cea Fix seed entries type 2025-01-30 20:03:42 +01:00
Zoe Roux 0939289e2c Add seed entry capabilities 2025-01-30 20:03:42 +01:00
Zoe Roux 5ca0ef08d4 Make processImages synchronous 2025-01-30 20:03:42 +01:00
Zoe Roux 962672e4ed Start series insert 2025-01-30 20:03:42 +01:00
Zoe Roux 470a8deae9 Start entry insert 2025-01-30 20:03:42 +01:00
Zoe Roux ec3d48ac79 Extract movie insert to a show insert method 2025-01-30 20:03:42 +01:00
Zoe Roux b9c022f614 Add seed entry types 2025-01-30 20:03:42 +01:00
Zoe Roux d4257c1d02 Properly register examples for seasons 2025-01-30 20:03:42 +01:00
Zoe Roux e2d34a993b Format stuff 2025-01-25 15:12:22 +01:00
Zoe Roux 7868731922 Add seasons index and fix nullability 2025-01-25 15:12:22 +01:00
Zoe Roux bb2630431a Add seasons controller 2025-01-25 15:12:22 +01:00
Zoe Roux a6ac5dfb75 Cleanup translation schema for series + example 2025-01-25 15:12:22 +01:00
Zoe Roux 9f929eeb7a Move description to common types 2025-01-25 15:12:22 +01:00
Zoe Roux 9abe7f191a Test & fix search 2025-01-24 22:48:03 +01:00
Zoe Roux 5bf30af564 Format stuff + update packages 2025-01-24 22:48:03 +01:00
Zoe Roux 1634624701 Fix search sort 2025-01-24 22:48:03 +01:00
Zoe Roux ce81caaf14 Allow filter on tags 2025-01-24 22:48:03 +01:00
Zoe Roux 426665c9d9 Allow filter string to match without quotes 2025-01-24 22:48:03 +01:00
Zoe Roux 1c0fdf6f89 wip 2025-01-24 22:48:03 +01:00
Zoe Roux eaec881594 wip: Replace tsvector with trigram search 2025-01-24 22:48:03 +01:00
Zoe Roux 59aca6d520 Generate search vectors 2025-01-24 22:48:03 +01:00
Zoe Roux 988b705a30 Fix schema utils to make drizzle-kit work 2025-01-24 22:48:03 +01:00
Zoe Roux a51de86c95 Stupid implementation of search, lots to fix 2025-01-24 22:48:03 +01:00
Zoe Roux 23dc0a2f88 Add search vector & index 2025-01-24 22:48:03 +01:00
Zoe Roux 26470136af Add indexes on the movie type 2025-01-24 22:48:03 +01:00
Zoe Roux a8fb84daf0 Format code 2025-01-18 16:39:40 +01:00
Zoe Roux 956ab51e1b Add a flag to retrieve all translations 2025-01-17 23:16:31 +01:00
Zoe Roux 02ddd1401b Add isAvailable 2025-01-17 23:16:31 +01:00
Zoe Roux a558f47558 Test & Fix prefer original for /movies/{id} 2025-01-17 18:49:24 +01:00
Zoe Roux 7047304ae5 Handle 404 error better 2025-01-17 18:49:24 +01:00
Zoe Roux 9fc5f8a706 Fix /movies select distinct 2025-01-17 18:49:24 +01:00
Zoe Roux 7fcaf6490d Add original translation support on the /movies/{id} route 2025-01-17 18:49:24 +01:00
Zoe Roux f3f69a0def Rewrite /movies/{id} to use the relational api 2025-01-17 18:49:24 +01:00
Zoe Roux 5ca1b19148 Add preferOriginal query param for /movies 2025-01-17 18:49:24 +01:00
Zoe Roux 7cc6e7e2d4 Handle fallback when creating new translations 2025-01-17 18:49:24 +01:00
Zoe Roux d1609ddfbf Fix & test random slug reservation 2025-01-13 14:16:43 +01:00
Zoe Roux 1cdb372079 Fix & test /movies/random 2025-01-13 14:16:43 +01:00
Zoe Roux b6f996139f Reserve the random slug 2025-01-13 14:16:43 +01:00
Zoe Roux 46570410ea Add seed in response if it was not specified 2025-01-13 14:16:43 +01:00