Commit Graph

1272 Commits

Author SHA1 Message Date
1ad3be5160 refactor: extract helpers to reduce cyclomatic complexity in audit test 2026-06-11 12:56:19 +02:00
01ee9b1022 refactor: reduce cyclomatic complexity of GetAiringSchedule 2026-06-11 12:53:59 +02:00
e77debb085 refactor: extract candidate score adjustments into helpers 2026-06-11 12:48:58 +02:00
c575bfae47 refactor: extract section path in anime details handler 2026-06-11 12:47:31 +02:00
0262f22876 refactor: reduce cyclomatic complexity of HandleBrowse 2026-06-11 12:45:54 +02:00
e04b11f97f refactor: reduce cyclomatic complexity of HandleProducers 2026-06-11 12:42:35 +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
b72bace16a refactor: use url.Values in proxy token url 2026-06-11 12:29:29 +02:00
de939cc5f3 refactor: use url.Values in avatar url 2026-06-11 12:29:28 +02:00
4d6736a439 refactor: use url.Values in command palette search url 2026-06-11 12:29:27 +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
5f346d8dec fix: run linter at package level, not file level 2026-06-11 12:05:38 +02:00
3ade952653 fix: scope pre-commit hooks to staged files 2026-06-11 12:05:18 +02:00
37d7e0f6f0 chore: scope pre-commit hooks to staged files 2026-06-11 11:28:26 +02:00
f32bcf1288 fix: close response body in FetchHTMLDocument 2026-06-11 11:25:51 +02:00
7f98fbfa7a chore: remove unused CORSMiddleware wrapper 2026-06-11 11:18:05 +02:00
827b77cb20 fix: remove leading space in class attributes 2026-06-09 19:11:48 +02:00
b67727c21c test: add template function and renderer tests 2026-06-09 19:10:25 +02:00
470039d9e9 refactor: use posterURL in templates 2026-06-09 19:10:16 +02:00
ea518a7d0a refactor: simplify browseURL, add posterURL helper 2026-06-09 19:10:10 +02:00
bd89715ea0 chore: remove unused template files
- delete dropdown.gohtml (unused — codebase uses <ui-dropdown> directly)
- delete footer.gohtml (never referenced)
- update components/README.md to reflect actual files
2026-06-09 19:09:10 +02:00
49512a6708 refactor: replace scrollbar hacks with scrollbar-hidden class 2026-06-09 18:21:27 +02:00
070375eaa5 refactor: reorder head and use non-blocking font loading 2026-06-09 18:21:16 +02:00
1d4364d63e refactor: deduplicate sidebar navigation into data-driven loop 2026-06-09 18:21:08 +02:00
15876a4f86 refactor: consolidate css token system and add base utilities 2026-06-09 18:21:02 +02:00
1a35bd81bd fix: preserve schedule source items 2026-06-09 12:36:26 +02:00
21fd1110d4 feat: populate duration_seconds on anime upsert and add backfill fix 2026-06-08 02:26:56 +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
a4fa0beff5 refactor: update playback domain types and interfaces 2026-06-08 02:13:12 +02:00
39df0ff99a style: migrate watch page to v4 syntax 2026-06-07 17:45:56 +02:00
80a3481ebe style: migrate schedule page to v4 syntax 2026-06-07 17:45:48 +02:00
6efea21632 style: migrate index page to v4 syntax 2026-06-07 17:45:40 +02:00
4c90f759c9 style: migrate filter_bar and video_player to v4 syntax 2026-06-07 17:45:32 +02:00
470f9e3532 style: migrate anime page, watchlist_actions, and watchlist to v4 syntax 2026-06-07 17:45:24 +02:00
e355933ba8 style: migrate z-index/scrollbar in continue_watching, size shorthands in login 2026-06-07 17:45:08 +02:00