656ddbd005
fix: defer resp.Body.Close in handleResponseRetry
2026-06-25 02:35:51 +02:00
06b50509e8
feat: add http roundtripper mock and deterministic integration tests for allanime
2026-06-25 02:35:51 +02:00
c9bdc4a75e
fix: unblock jikan limiter waits
2026-06-25 02:35:51 +02:00
e836d464cb
test: harden allanime crypto tests
2026-06-25 02:35:51 +02:00
ec10fa56b4
fix: replace package-level traceEnabled with per-client field
2026-06-25 02:35:51 +02:00
9e25745804
refactor: split jikan client into transport/cache/rate subpackages
2026-06-25 02:35:51 +02:00
b88a859b66
fix: log jikan cache set failures instead of silently discarding
2026-06-25 02:35:50 +02:00
a1c5726eee
refactor: use errors.New for static error strings
2026-06-25 02:35:50 +02:00
fda2346d9a
fix: log silent gaps in fetchRelationResults
2026-06-25 02:35:50 +02:00
8fd7c1104c
Merge branch 'upstream/main' into main
Build and Push Container Image / build-and-push (push) Successful in 9m21s
2026-06-15 21:37:41 +02:00
ef36578c4b
feat: propagate stream source type from provider to client
2026-06-14 21:37:38 +02:00
7b56f587e5
test: add parseOKRUSources unit test
2026-06-14 21:17:30 +02:00
43d31865ed
test: add test for embed source skipping in resolveDirectSource
2026-06-14 21:17:27 +02:00
08a16f3302
feat: detect embeds in source references and route to extraction
2026-06-14 21:16:38 +02:00
dcebe90620
feat: add embed video parsing helpers for allanime
2026-06-14 21:16:28 +02:00
d28b187ac0
chore: update allanime site url and referer constants
2026-06-14 21:16:10 +02:00
e3d82389e4
trim: keep only entrypoint in client.go
2026-06-13 22:24:10 +02:00
f99b30bf43
extract: add stream source resolution
2026-06-13 22:24:06 +02:00
21a1965fdd
extract: add availability parsing
2026-06-13 22:24:02 +02:00
fdb79633df
extract: add search and provider-id resolution
2026-06-13 22:23:58 +02:00
4876995652
extract: add decrypt and deobfuscation helpers
2026-06-13 22:23:53 +02:00
263bfafd04
style: use http status constant
2026-06-13 21:32:23 +02:00
ea411e5feb
perf: preallocate fetchedAnimes in fetchBaselineAnime
2026-06-13 21:30:49 +02:00
ef1cd20f0b
refactor: remove animeschedule.net integration
2026-06-13 21:22:56 +02:00
36c0e87ae8
feat: add watch order mode toggle
2026-06-12 13:39:50 +02:00
164232cf0d
fix: prefer original over japanese in jikan displaytitle
2026-06-12 13:17:51 +02:00
ed90b5c7aa
fix: remove nil error return
2026-06-11 14:51:57 +02:00
7968fb57f6
refactor: split parseProviderResponse into smaller helpers
2026-06-11 14:35:31 +02:00
ba578d969a
refactor: split seedRandomPool to reduce gocognit
2026-06-11 14:33:29 +02:00
5998b59e81
refactor: extract helpers from fetchWithRetry to reduce gocognit
2026-06-11 14:32:02 +02:00
c5acc63370
refactor: extract helpers from FetchWeek to reduce gocognit
2026-06-11 14:29:59 +02:00
76af597f4d
refactor: shorten TestBuildSourceReferences below funlen threshold
2026-06-11 13:03:19 +02:00
0227c8688b
refactor: extract duplicate table-test loop into helper
2026-06-11 13:02:06 +02:00
55095791c7
refactor: reduce cyclomatic complexity of parseM3U8
2026-06-11 12:40:41 +02:00
983d805240
refactor: extract string slice helper in allanime client
2026-06-11 12:38:38 +02:00
0beec5fd56
refactor: reduce cyclomatic complexity of resolveSourceReferences
2026-06-11 12:36:35 +02:00
650fac1c90
refactor: reduce graphqlRequestWithHash complexity
2026-06-11 12:35:11 +02:00
870f8086e2
refactor: extract show resolution helpers from GetStreams
2026-06-11 12:33:12 +02:00
7af597d8fc
refactor: reduce DurationSeconds complexity with token parsing
2026-06-11 12:31:33 +02:00
02bbc6c4d4
refactor: use url.Values in allanime graphql request
2026-06-11 12:29:23 +02:00
5ada1f72e4
feat: add shared query param helpers for jikan
2026-06-11 12:27:56 +02:00
4b95f85d4d
chore: remove stray blank line in test
2026-06-11 12:19:59 +02:00
c36f02862d
refactor: split getFullRelations into smaller helpers
2026-06-11 12:19:43 +02:00
704058a512
refactor: extract helpers from TestGetWithCacheReturnsStaleAndRefreshesAsync
...
Split setup (newTestCacheDB, insertCachedResponse) and async
polling (waitForFreshCache) out of the test to reduce its
cyclomatic complexity below 10. Switch DB calls to ExecContext
/ QueryRowContext to fix noctx lint.
2026-06-11 12:17:40 +02:00
9b19661fa3
refactor: extract skip/level helpers from logJikanCache
2026-06-11 12:15:00 +02:00
ca957b5cdc
refactor: reduce cyclomatic complexity in fetchWeekAPI
2026-06-11 12:13:22 +02:00
03ccd54c85
refactor: extract parseAirType from parseMeta
2026-06-11 12:09:57 +02:00
c70adbd0ec
fix: only report new lint issues with --new-from-rev
2026-06-11 12:06:04 +02:00
f32bcf1288
fix: close response body in FetchHTMLDocument
2026-06-11 11:25:51 +02:00
c13895b7cd
feat: timezone-aware schedule with browser tz and JST client conversion
2026-06-08 08:32:09 +02:00