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
55ee13d4eb
feat: timezone-aware schedule with browser tz and JST client conversion
2026-06-05 15:42:23 +02:00
9d58adea9c
refactor: try sub and dub modes in allanime resolution, drop fallback
2026-06-05 13:20:12 +02:00
3fe1135203
feat: warm anime recommendations in background
2026-06-04 11:28:20 +02:00
342bd096da
feat: stale-while-revalidate cache for watch order
2026-06-04 11:28:13 +02:00
36435b6eb5
refactor: dedupe html fetch
2026-06-01 22:24:27 +02:00
340daeadc6
refactor: dedupe html headers
2026-06-01 22:23:10 +02:00
d5406a6857
refactor: dedupe jikan refresh
2026-06-01 22:21:19 +02:00
9f754012eb
test: dedupe jikan bool cases
2026-06-01 22:20:12 +02:00
58036bea5a
refactor: dedupe season fetch
2026-06-01 22:19:10 +02:00
70be78fd7b
refactor: dedupe allanime requests
2026-06-01 22:17:02 +02:00
7943822194
refactor: dedupe allanime sources
2026-06-01 22:11:29 +02:00
475625de35
docs: add package comments to integrations
2026-06-01 12:55:20 +02:00
7f45e62dce
refactor: extract generic graphql client
2026-05-31 19:02:35 +02:00
6929124ee3
fix: episode refresh resilience and allanime fallback
2026-05-29 21:12:53 +02:00
1242297742
feat: prefer english titles from animeschedule api
2026-05-28 23:24:39 +02:00
fd36b97908
refactor: replace regex parser with JSON walker in allanime extractor
2026-05-28 12:40:51 +02:00
866d293419
refactor: update watchorder imports for flattened pkg/net
2026-05-28 12:36:21 +02:00
91f6ba9db8
refactor: update allanime client imports for flattened pkg/net
2026-05-28 12:36:04 +02:00
3c1e4d34a9
refactor: update jikan imports for flattened pkg/net
2026-05-28 12:35:56 +02:00
186ea65545
refactor: update animeschedule imports for flattened pkg/net
2026-05-28 12:35:47 +02:00
f7e5f46234
refactor: move utls client from package var to provider field
2026-05-28 12:18:52 +02:00
1076fa58b7
chore: formatting
2026-05-27 11:08:19 +02:00