Commit Graph

114 Commits

Author SHA1 Message Date
3c4f5375ed test: add proxy target rejection tests 2026-06-26 23:56:29 +02:00
5338c61a5d feat: validate proxy targets during signing and proxy fetch 2026-06-26 23:56:23 +02:00
f8e3f89e42 feat: add proxy target validation package 2026-06-26 23:56:20 +02:00
4bb31e6f00 test: add playback progress service tests for save, complete and load 2026-06-24 16:11:36 +02:00
ad69ac7e6c refactor: simplify test stubs with interface embedding 2026-06-24 12:08:43 +02:00
e1da6ddb19 refactor: inline imageurl in go callers 2026-06-23 17:32:27 +02:00
6e7e1fc001 refactor: shorten verbose variable names across codebase 2026-06-23 17:23:27 +02:00
649c754a78 refactor: remove dbtx package 2026-06-20 19:14:36 +02:00
eb6c74f3a3 refactor: update skip segments errlog import 2026-06-20 19:03:50 +02:00
d649989fc2 refactor: update playback service errlog import 2026-06-20 19:03:37 +02:00
b6319af4e0 refactor: update proxy subtitle errlog import 2026-06-20 19:03:30 +02:00
90d1296d78 refactor: update proxy stream errlog import 2026-06-20 19:03:23 +02:00
3609c80cbc Handle AniSkip response close errors 2026-06-20 18:29:51 +02:00
37db709b64 Handle warm stream close errors 2026-06-20 18:29:49 +02:00
fe92fefe5c Handle proxy subtitle errors 2026-06-20 18:29:37 +02:00
c0746b7300 Handle proxy stream errors 2026-06-20 18:29:35 +02:00
47d3c17570 Handle Gin private error recording 2026-06-20 18:29:34 +02:00
fcfabd0980 Validate playback route parameters 2026-06-20 18:29:32 +02:00
9380e27a8f Fallback to local skip segment overrides 2026-06-19 22:55:01 +02:00
068ff8ec54 fix: extract copyProxyResponseBody to reduce cyclomatic complexity 2026-06-19 13:39:43 +02:00
6d3773794d fix: stop stale request retries 2026-06-18 20:25:30 +02:00
1ef16a42ff fix: fall back to ipv4 when ipv6 is unreachable 2026-06-16 20:02:39 +02:00
a8a179185d refactor: populate watch page data before error return 2026-06-16 17:25:04 +02:00
b856af7b7e fix: log discarded io.Copy error in proxy stream handler 2026-06-16 11:02:16 +02:00
cda8bd55c2 refactor: wrap bare errors with context in playback package 2026-06-16 10:42:37 +02:00
c8cbaf58a9 fix: log error when fetching relations fails instead of silencing 2026-06-16 10:15:55 +02:00
8cee6af44a fix: log anime fetch errors in watch page and thumbnail handlers 2026-06-16 10:13:58 +02:00
3ccbcd2023 test: cover hls playlist response 2026-06-16 01:18:49 +02:00
3c9eb791b9 fix: return errors from fetchAniSkipSegments instead of swallowing them 2026-06-16 01:09:22 +02:00
367a4592c5 feat: deduplicate proxy token creation 2026-06-16 01:04:21 +02:00
c083e35672 refactor: split playback proxy logic into separate handler files 2026-06-16 00:53:52 +02:00
dd0a8bd306 fix: propagate ensureAnimeRow error instead of silently discarding it 2026-06-16 00:34:02 +02:00
bfae7745a6 fix: log errors from sign proxy token calls instead of discarding them 2026-06-16 00:32:52 +02:00
6187afad71 fix: log audit record failures instead of silently discarding 2026-06-16 00:31:33 +02:00
c67797e72d fix: guard nil resp in warmStreamURL 2026-06-16 00:18:42 +02:00
3e100c1a97 feat: ensure anime row exists before saving progress 2026-06-14 21:53:41 +02:00
ef36578c4b feat: propagate stream source type from provider to client 2026-06-14 21:37:38 +02:00
5dcf39c401 test: add fallbackModes unit tests 2026-06-14 21:17:33 +02:00
3668ccb541 refactor: wire mode fallback into resolveModeSources 2026-06-14 21:17:11 +02:00
7bf0ffbd06 feat: add fallbackModes helper 2026-06-14 21:17:09 +02:00
c57ecf3d4b fix: skip error log on client disconnect in proxy handlers 2026-06-13 22:38:51 +02:00
04c0b8d601 refactor: extract progress and completion 2026-06-13 22:07:52 +02:00
b578bd661e refactor: extract skip segments handling 2026-06-13 22:07:21 +02:00
e2d9ecfb03 refactor: extract watch data building 2026-06-13 22:06:38 +02:00
d6f1c37ac3 refactor: extract proxy token store 2026-06-13 22:06:07 +02:00
1a65ef2a9c style: remove extra newline 2026-06-13 21:32:51 +02:00
7523215a71 style: fix linter nits 2026-06-13 21:31:42 +02:00
aced7bb5d9 refactor: replace wrapper lambda with direct function reference 2026-06-13 21:29:21 +02:00
195d8c0e60 refactor: replace inline lambda with NewPlaybackService 2026-06-13 21:28:42 +02:00
ffe42a352b refactor: pass watch order mode in playback service 2026-06-12 13:40:06 +02:00