Commit Graph

130 Commits

Author SHA1 Message Date
f5b38c519b test: add tests for deferred mode sources and local anime lookup 2026-07-06 07:09:32 +02:00
a595ade533 refactor: split watch data build into focused helper functions 2026-07-06 07:09:27 +02:00
8ec647943e test: replace episode metadata tests with deferred playback test 2026-07-06 07:09:23 +02:00
722f936734 feat: defer provider resolution in watch page handler 2026-07-06 07:09:18 +02:00
137c6ab644 test: use wg.Go in concurrent resolve test 2026-07-05 23:25:17 +02:00
7d59674649 test: add forced source refresh and manifest cache integration tests 2026-07-05 23:08:50 +02:00
7278676a2e refactor: sanitize proxy error messages and observability 2026-07-05 23:08:44 +02:00
0abee703a1 feat: wire source cache and manifest cache into playback pipeline 2026-07-05 23:08:39 +02:00
8c2562496a feat: add HLS manifest cache with TTL-based expiry 2026-07-05 23:08:34 +02:00
a0d11e3a7b feat: add source cache with stale-while-revalidate 2026-07-05 23:08:26 +02:00
094d560c30 test: cover error sanitization for metadata and skip segment endpoints 2026-06-27 22:43:42 +02:00
c5ae4e7d69 test: update watch page test for stable error message 2026-06-27 22:43:37 +02:00
02dcde5786 fix: sanitize internal error messages from api responses 2026-06-27 22:43:31 +02:00
b648afa471 feat: warn on uncertain episode availability 2026-06-27 19:04:13 +02:00
0480b70dfc test: add episode metadata route test 2026-06-27 15:33:42 +02:00
b4c759103b refactor: rename api endpoint from thumbnails to metadata 2026-06-27 15:33:37 +02:00
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