Commit Graph

196 Commits

Author SHA1 Message Date
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
1327cb3b86 refactor: try sub and dub modes in allanime resolution, drop fallback 2026-06-08 08:32:09 +02:00
63802bfc5a feat: warm anime recommendations in background 2026-06-08 08:32:09 +02:00
3f482b69be feat: stale-while-revalidate cache for watch order 2026-06-08 08:32:09 +02:00
4a1467467c refactor: dedupe html fetch 2026-06-08 08:32:09 +02:00
34f52428a2 refactor: dedupe html headers 2026-06-08 08:32:09 +02:00
be27625a3c refactor: dedupe jikan refresh 2026-06-08 08:32:09 +02:00
085fe3e83d test: dedupe jikan bool cases 2026-06-08 08:32:09 +02:00
0e92c2ce25 refactor: dedupe season fetch 2026-06-08 08:32:09 +02:00
fa078c7de6 refactor: dedupe allanime requests 2026-06-08 08:32:09 +02:00
433ed28514 refactor: dedupe allanime sources 2026-06-08 08:32:09 +02:00
e3051d8860 docs: add package comments to integrations 2026-06-08 08:32:09 +02:00
555c4f2f9b refactor: extract generic graphql client 2026-06-08 08:32:09 +02:00
704b03655b fix: episode refresh resilience and allanime fallback 2026-06-08 08:32:09 +02:00
0d25099b91 feat: prefer english titles from animeschedule api 2026-06-08 08:32:09 +02:00
324dcc29b5 refactor: replace regex parser with JSON walker in allanime extractor 2026-06-08 08:32:09 +02:00
7e6153afa1 refactor: update watchorder imports for flattened pkg/net 2026-06-08 08:32:09 +02:00
4b690ebd99 refactor: update allanime client imports for flattened pkg/net 2026-06-08 08:32:09 +02:00
5b8988ff14 refactor: update jikan imports for flattened pkg/net 2026-06-08 08:32:09 +02:00
e3fe31fff7 refactor: update animeschedule imports for flattened pkg/net 2026-06-08 08:32:09 +02:00
34b8b96a62 refactor: move utls client from package var to provider field 2026-06-08 08:32:09 +02:00
f44d6def6b chore: formatting 2026-06-08 08:32:08 +02:00
23eb2f9a1b fix: remove redundant type declaration 2026-06-08 08:32:08 +02:00
c23b298f26 chore: remove debug logging from animeschedule integration 2026-06-08 08:32:08 +02:00
feeeb89cfc feat: add animeschedule integration 2026-06-08 08:32:08 +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