Commit Graph

11 Commits

Author SHA1 Message Date
noelorin 1142174f8f feat(danmaku): derive series danmaku bindings from scrape metadata
- derive unbound series siblings via bgmtv bridge on bind, manual select,
  auto match and playback fetch fallback (skip per-file hash match)
- store bangumi aliases/air year on scrape; aliases join candidate scoring,
  year disambiguates same-name subjects during auto-scrape
- structure filter: hard-converge candidates on equal episode numbers and
  drop movie/OVA/SP specials when the local episode number is known
- season-aware bridge picking converts absolute episode numbers via season
  offset; rebinding a series resets stale danmaku episode identity
2026-09-27 22:28:17 +08:00
noelorin 2e405cd974 feat(settings,auth): admin open-network config with role visibility
users.role (first registrant admin), app_settings store plaintext AppId/Secret, admin-only settings API and UI section, runtime credential override in @app/danmaku.
2026-09-27 11:52:17 +08:00
noelorin 5f5dd968cb Merge branch 'feat/dandanplay-alignment'
# Conflicts:
#	app/web/src/components/pages/WatchBody.tsx
#	packages/trpc/src/services/scrape.service.ts
#	packages/types/src/media-schemas.test.ts
2026-09-27 02:18:49 +08:00
noelorin da6378e421 chore(product): WIP checkpoint library/episode work before merging danmaku branch
Unrelated in-progress changes found on main: LibraryBody expansion, episode helpers, history-guard, nav/e2e. Committed as checkpoint to unblock merge.
2026-09-27 02:13:45 +08:00
noelorin 06e798939a fix(danmaku): review wave — unstick local-xml, hint scoring, prefs sync, byte limits
- I1: selectMatch 删 local-xml + 播放页本地源可重新匹配并清 localStorage
- I2: rankCandidates 接受本地 hint,标题包含/相等与集号相等真实拉开分差
- I3: scrape.matchDandanplay 低置信不写库不覆盖标题/海报,返回候选手选
- I4: 播放页 prefs.data 到达后覆盖 danmakuOn/density/opacity,localStorage 仅回退
- I5: importXml 与 Zod 按 UTF-8 字节 ≤20MB(非 UTF-16 code unit)
2026-09-27 02:01:16 +08:00
noelorin 3467e397e7 feat(models,dao): danmaku prefs/docs tables and match source 2026-09-26 19:33:37 +08:00
noelorin 63e760ba36 chore(product): checkpoint working tree before dandanplay alignment
Includes product polish (auth/dashboard/error pages, i18n, stream/playback fixes), docs site, e2e suites, and related tooling. Excludes local screenshots and caches.
2026-09-26 18:36:16 +08:00
noelorin a7873891f2 fix: caveman-review findings (danmaku match, SSRF, progress ownership, i18n errors, paging, QueryClient) 2026-09-26 00:49:08 +08:00
noelorin e65acd1e9c fix(models,dao): media_items unique key includes mountId 2026-09-25 12:15:50 +08:00
noelorin 2f5000cc97 feat(dao): mount/media/progress/danmaku-cache daos 2026-09-25 02:44:01 +08:00
noelorin a5ba7124dc chore: initial app template scaffold
Astro + tRPC + Drizzle monorepo starter with auth/user vertical slice.
No product domain logic; extend via the user slice pattern.
2026-09-24 15:21:45 +08:00