Commit Graph

88 Commits

Author SHA1 Message Date
f0ad92a8f9 fix: log anime fetch errors in watch page and thumbnail handlers 2026-06-25 02:35:51 +02:00
a2d16caea0 test: cover hls playlist response 2026-06-25 02:35:51 +02:00
eaabdc5475 fix: return errors from fetchAniSkipSegments instead of swallowing them 2026-06-25 02:35:51 +02:00
622418f96c feat: deduplicate proxy token creation 2026-06-25 02:35:51 +02:00
2a04876754 refactor: split playback proxy logic into separate handler files 2026-06-25 02:35:51 +02:00
0a483ad2a2 fix: propagate ensureAnimeRow error instead of silently discarding it 2026-06-25 02:35:50 +02:00
8224934046 fix: log errors from sign proxy token calls instead of discarding them 2026-06-25 02:35:50 +02:00
57a2ff874a fix: log audit record failures instead of silently discarding 2026-06-25 02:35:50 +02:00
0bde5ac778 fix: guard nil resp in warmStreamURL 2026-06-25 02:35:50 +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
25471e0bd5 fix: replace nil context with context.TODO 2026-06-11 17:11:47 +02:00
7f05f026e9 refactor: split fetchSkipSegments and fix warmStreamURL noctx 2026-06-11 14:46:22 +02:00
2ed03a667b refactor: split BuildWatchData into focused helpers 2026-06-11 14:45:15 +02:00
188eec58a2 refactor: reduce cyclomatic complexity of UpsertSkipSegmentOverride 2026-06-11 12:59:58 +02:00
b72bace16a refactor: use url.Values in proxy token url 2026-06-11 12:29:29 +02:00
f8cf4579af test: add HLS playlist rewrite and detection tests 2026-06-08 02:13:41 +02:00
1a1189d035 feat: add HLS playlist rewriting to proxy stream 2026-06-08 02:13:32 +02:00
db4dc20603 refactor: replace HMAC proxy tokens with in-memory store 2026-06-08 02:13:21 +02:00
625c3bbe25 refactor: dedupe repo tx 2026-06-01 22:22:14 +02:00
bfe23276ba refactor: dedupe proxy handlers 2026-06-01 22:14:15 +02:00
e146b0320a docs: add package comments to playback packages 2026-06-01 12:55:43 +02:00
aebdd75942 fix: preserve watchlist progress on complete and status update 2026-05-29 00:03:47 +02:00
5dd49e585a refactor: extract CurrentUser and CurrentUserID helpers 2026-05-28 12:51:11 +02:00
cdebd407e4 refactor: update playback module imports for flattened package structure 2026-05-28 12:39:55 +02:00
8b405845a1 refactor: move playback service from subdirectory 2026-05-28 12:38:34 +02:00
ceec637a43 refactor: move playback repository from subdirectory 2026-05-28 12:38:26 +02:00
9695d7772d refactor: update playback handler imports for flattened pkg/net 2026-05-28 12:36:31 +02:00
dd4c7f80f3 feat: add transactional InTx to playback and watchlist repos 2026-05-28 12:17:19 +02:00
6cc25af18a refactor: switch playback to AnimePlaybackService interface 2026-05-28 12:12:09 +02:00
eb9e682b75 chore: formatting 2026-05-26 22:51:50 +02:00
e9576d7584 refactor: domain anime type 2026-05-26 22:45:16 +02:00
65a7b0f50d refactor: typed proxy key 2026-05-26 22:40:09 +02:00
9938bf6c57 fix: stop swallowing errors 2026-05-26 22:36:41 +02:00
28df1fc5f7 chore: drop empty fxtags 2026-05-26 22:28:57 +02:00
cce840e7f5 fix: harden subtitle cache 2026-05-26 22:25:22 +02:00
57be9a5d70 feat: record audit events for watch progress and completion 2026-05-26 16:14:37 +02:00