Commit Graph

397 Commits

Author SHA1 Message Date
Zoe Roux 4480757df5 Type Video in the scanner 2025-06-07 17:45:37 +02:00
Zoe Roux aba86601cd Add scanner's openapi to scalar 2025-06-07 17:45:37 +02:00
Zoe Roux eb2b2a95a0 Fix api listen url print 2025-06-07 17:45:37 +02:00
Zoe Roux 943d2ac10b Split shell.nix into project specific ones 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 46d98e038d Update availableSince of entries on POST /videos 2025-05-04 15:35:37 +02:00
Zoe Roux 205dda652a Update available count of shows when inserting videos 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 7203155747 Use .Composite for models (better swagger) 2025-05-04 15:35:37 +02:00
Zoe Roux 9cb9301a35 Update packages (drizzle included) 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 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 d2bb37b3a7 Add more tests 2025-05-04 15:35:37 +02:00
Zoe Roux ce66dba0c8 Add unmatched paths in GET /videos (for scanner) 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 1369da1845 Rework 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
Zoe Roux c504cbbff5 Type videos's for to map to entries 2025-05-04 15:35:37 +02:00
solidDoWant 5ced62aab3 Support standard libpq environment variables for Auth service (#901) 2025-04-24 09:38:20 +02:00
solidDoWant 9945d49be9 comment out env vars
Signed-off-by: solidDoWant <fred.heinecke@yahoo.com>
2025-04-23 21:08:18 +00: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
solidDoWant 099d893da9 Add support for storing images in S3 (#896) 2025-04-20 16:47:49 +00:00
renovate[bot] 0d6219aca7 fix(deps): update dependency sharp to ^0.34.0 2025-04-14 07:29:59 +00: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 e1b428e8ce Fix nextEntry calculation when adding to watchlist 2025-04-08 23:39:50 +02:00
Zoe Roux 144e08a99c Fix with=nextEntry 2025-04-08 23:39:50 +02:00
Zoe Roux d6d3540b16 Fix history percent calculation 2025-04-08 23:39:50 +02:00
Zoe Roux 09dd78b272 Fix nextEntry & lastPlayedAt calculations on history/watchlist 2025-04-08 23:39:50 +02:00
Zoe Roux 67d7643261 Add lastPlayedAt in watchlists & sort nextup with it 2025-04-08 23:39:50 +02:00
Zoe Roux d8566355bb Add nextup routes 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 c0e00c0fd4 Handle duplicated entries in the history 2025-04-07 21:40:41 +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 e2fa3af1e8 Add route to batch populate the history 2025-04-07 19:07:05 +02:00
Zoe Roux fef9e844a1 Add /profile/:id/history api 2025-04-07 18:27:13 +02:00
Zoe Roux 4ba7750012 Create history api 2025-04-07 18:27:13 +02:00
Zoe Roux df7d109c34 Cleanup default watchlist sort 2025-04-07 18:27:13 +02:00
Zoe Roux 880a85ff8d Move watchlist controller to profile dir 2025-04-07 18:27:13 +02:00