Commit Graph

30 Commits

Author SHA1 Message Date
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 a8fb84daf0 Format code 2025-01-18 16:39:40 +01:00
Zoe Roux a734a40668 Add tests for preferOriginal in /movies 2025-01-17 18:49:24 +01:00
Zoe Roux a558f47558 Test & Fix prefer original for /movies/{id} 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 46570410ea Add seed in response if it was not specified 2025-01-13 14:16:43 +01:00
Zoe Roux 86d37514dc Fix after handling 2025-01-13 14:16:43 +01:00
Arthur Jamet 2afccaa813 v5 api: Random query parameter becomes sort value 2025-01-13 14:16:43 +01:00
Arthur Jamet 0e230114a7 v5 api: Sort Movies Randomly, passing seed as query parameter 2025-01-13 14:16:42 +01:00
Zoe Roux fe6f4fd43b Fix null sorting 2025-01-10 12:16:33 +01:00
Zoe Roux c71650d386 Test sort order with null values 2025-01-10 12:16:33 +01:00
Zoe Roux e78f28ea71 Add test helpers 2025-01-10 12:16:32 +01:00
Zoe Roux 81958f6c3b Fix after when sorting with remmapped keys 2025-01-10 12:16:32 +01:00
Zoe Roux 6e293efc2b Remove page's prev & weird reverse handling 2025-01-10 12:16:32 +01:00
Zoe Roux 371d9148f4 wip 2025-01-10 12:16:32 +01:00
Zoe Roux 0499be4194 Fix comment newline handling 2025-01-10 12:16:32 +01:00
Zoe Roux 3d6912b60d Handle filter parsing with typebox 2025-01-10 12:16:32 +01:00
Zoe Roux c71da66bb6 Add more complex tests 2025-01-10 12:16:32 +01:00
Zoe Roux 8531049716 Add tests for the filter parser 2025-01-10 12:16:32 +01:00
Zoe Roux a4853cb186 Test missing accept-language endpoint 2025-01-10 12:16:32 +01:00
Zoe Roux eea0f688a0 Make movie get work 2025-01-10 12:16:32 +01:00
Zoe Roux 9e1afca9ec Fix existing get movie & add test 2025-01-10 12:16:32 +01:00
Zoe Roux 0c0628529c Validate language tags 2025-01-10 12:16:32 +01:00
Zoe Roux cdceb1a734 Add proper error type & error handling 2025-01-10 12:16:32 +01:00
Zoe Roux c8c6cccf6a Handle and test slug reconciliation & conflicts 2025-01-10 12:16:32 +01:00
Zoe Roux caa394e0da Create tests & cleanup for movies seeding 2025-01-10 12:16:32 +01:00
Zoe Roux 5e1e2fb6e2 Add tests setup for post /movies 2025-01-10 12:16:32 +01:00