Commit Graph
496 Commits
Author SHA1 Message Date
mtvpls 1be8671d03 v2242 2026-08-03 19:55:17 +08:00
mtvpls 62deb0655b 优化openlist集数识别规则 2026-08-02 01:40:57 +08:00
mtvpls e170a6ca51 anime4k超分使用自管理的 WebGPU 渲染器兼容firefox 2026-08-02 00:00:53 +08:00
mtvpls 2c8941edf9 v22411 2026-07-31 22:27:32 +08:00
mtvpls 27667b0b1b 修复TV端登录失效误跳/login:按路径跳转到/tv/login 2026-07-31 22:20:52 +08:00
mtvpls dfafa98c7a v2241 2026-07-31 22:08:27 +08:00
mtvpls af2a7f9fc7 增加磁链测活功能 2026-07-30 15:13:09 +08:00
mtvpls a68bc35ab6 修复OpenList多根路径扫描进度未汇总:先统计总数再连续累加,全部完成后再标记任务结束 2026-07-27 22:13:30 +08:00
mtvpls 333c482e19 增强追番订阅:关键词表达式、字幕组快捷、右键添加与缺集补搜
- 过滤/排除支持 & | (),兼容旧逗号语义
- 字幕组快捷单选填入;同名订阅拒绝重复
- 单集只下一次、缺集按「番名+补零集数」重搜
- VideoCard 管理员可添加追番;PlayRecord 增加 is_anime 及迁移
2026-07-26 14:48:58 +08:00
mtvpls ca798177b9 统一API Base URL保存与请求时去除末尾斜杠 2026-07-25 10:57:04 +08:00
mtvpls 996740a107 v224 2026-07-21 20:30:31 +08:00
mtvpls 08c2ff36f9 优化动漫数据源图片降级策略 2026-07-21 16:13:00 +08:00
mtvpls d54cf65927 增加桜色动漫数据源 2026-07-21 15:51:40 +08:00
mtvpls d9e1b343e3 openlist增加路径元信息配置分类和自动刷新链接功能 2026-07-18 15:51:30 +08:00
mtvpls 1bbea13c62 增加客户端去广告配置 2026-07-17 19:14:01 +08:00
mtvpls bd779b237c 动漫订阅增加排除关键词 2026-07-17 09:56:33 +08:00
mtvpls 9f63e18550 设备识别移除tgbot 2026-07-15 15:19:47 +08:00
mtvpls 93d6c773b8 Revert "feat: extend image proxy to all images, not just douban"
This reverts commit d682cee427.
2026-07-14 01:30:52 +08:00
anglesgirl d682cee427 feat: extend image proxy to all images, not just douban
Modify processImageUrl to proxy non-douban/non-TMDB/non-Bangumi images
(like video source covers) through /api/image-proxy, solving broken
cover image issues from third-party APIs.

- Add http/https protocol check (skip relative paths, data URIs)
- Non-douban images now go through /api/image-proxy with caching
- Users can disable via localStorage 'proxyAllImages' = 'false'
- Default: enabled

This matches the change previously made on the dev branch.
2026-07-12 04:11:50 +00:00
mtvpls-turso 392211264f feat: add Microsoft Clarity analytics provider
Add Microsoft Clarity as a fourth analytics provider option alongside
Umami, Google Analytics, and Custom. Clarity provides free heatmaps,
session recordings, and user analytics.

- admin.types.ts: Add 'clarity' to AnalyticsProvider union type
- api/admin/site/route.ts: Add 'clarity' to validation
- admin/page.tsx: Add Clarity option to dropdown + Project ID input UI
- layout.tsx: Inject Clarity tracking script with project ID
2026-07-11 19:01:16 +00:00
mtvpls-turso d98f5082a5 feat: add traffic analytics configuration (Umami/GA/Custom)
Add traffic analytics support to the admin panel with three provider
options:
- Umami (open-source, self-hosted) — script URL + website ID
- Google Analytics 4 — Measurement ID (G-XXXXXXXXXX)
- Custom — any third-party analytics script (百度统计, Plausible, 51la, etc.)

Changes:
- admin.types.ts: Add AnalyticsEnabled, AnalyticsProvider,
  AnalyticsScriptUrl, AnalyticsWebsiteId, AnalyticsCustomScript to
  SiteConfig interface
- config.ts: Add default values in getInitConfig() and configSelfCheck()
- api/admin/site/route.ts: Add analytics fields to destructuring, type
  validation, and SiteConfig update
- admin/page.tsx: Add SiteConfig interface fields, state initialization,
  config sync, and analytics configuration UI with provider-specific
  input fields
- layout.tsx: Inject analytics scripts into <head> based on provider
  type (Umami: async script with data-website-id; GA: gtag.js + config;
  Custom: dangerouslySetInnerHTML)
2026-07-11 18:47:11 +00:00
mtvpls-turso aab6db64cc fix: use @libsql/client/http subpath to avoid native module deps
The main @libsql/client entry point pulls in the native libsql module
and isomorphic-ws/isomorphic-fetch, which webpack cannot parse in
EdgeOne builds. Using the http subpath provides a pure HTTP client
that works in edge/serverless environments without native dependencies.

Also add libsql, @libsql/isomorphic-fetch, @libsql/isomorphic-ws to
the edge build alias list in next.config.js as a safety net.
2026-07-11 17:28:55 +00:00
mtvpls-turso d094e379d9 fix: use require() for @libsql/client to fix EdgeOne webpack ESM resolution
The @libsql/client package uses conditional exports (edge-light, workerd)
that cause webpack to resolve to the web.js entry point during EdgeOne
builds, resulting in 'TypeError: e is not a constructor'.

Switching from static import to dynamic require() bypasses webpack's
ESM conditional export resolution and uses the CommonJS entry point
consistently.
2026-07-11 17:23:56 +00:00
mtvpls-turso 8e464c463b feat: add Turso (libSQL) storage support for EdgeOne deployment
- Add TursoAdapter implementing DatabaseAdapter interface using @libsql/client
- Add 'turso' storage type to db.ts storage selector (reuses D1Storage)
- Add init-turso.js script for database migration and admin initialization
- Add @libsql/client dependency to package.json
- Update next.config.js to exclude @libsql/client from client-side bundle
- Update edgeone-deploy.yml workflow with TURSO_URL and TURSO_TOKEN secrets
- Update edgeone-build.mjs runtime env keys to include Turso variables
- Update .env.edgeone.example with Turso deployment instructions
- Update README.md with Turso as recommended storage for EdgeOne

Turso provides free SQLite-compatible cloud database (libSQL) with:
- 500 databases, 9GB storage, 1B row reads/month on free tier
- HTTP API compatible with edge/serverless environments
- Full SQLite syntax compatibility, reuses existing migrations
2026-07-11 17:04:27 +00:00
mtvpls 71105f0ca9 tgbot站点名改为自定义站点名 2026-07-09 09:59:19 +08:00
mtvpls 7e5d366fcd v223.3 2026-07-06 09:51:11 +08:00
mtvpls c705b2fd16 公告增加每次显示模式 2026-07-03 11:41:43 +08:00
mtvpls 94f4c38575 移除tgbot解除绑定,增加候选指令功能 2026-06-30 11:26:41 +08:00
mtvpls c1716615e2 tg注册 2026-06-29 22:41:36 +08:00
mtvpls 5d315ef12f 修正权限放行 2026-06-29 17:11:59 +08:00
mtvpls 5d605710f3 接入tgbot 2026-06-29 16:40:03 +08:00
mtvpls 528ded1b3f v223.2 2026-06-25 22:21:43 +08:00
mtvpls 5625dd204c 增加自定义X-Emby-Authorization 2026-06-24 11:58:21 +08:00
mtvpls 1a24f3316f 增加下载内容导出功能 2026-06-21 16:26:06 +08:00
mtvpls 99b58b2e6a 下载增加indexdb模式 2026-06-21 10:59:05 +08:00
mtvpls ec71a252c9 动漫磁力搜索增加nyaa;动漫磁力搜索前可选站点 2026-06-20 12:43:16 +08:00
mtvpls d7727455dc 用户变动撤销所有刷新token,立即失效accesstoken 2026-06-17 11:35:46 +08:00
mtvpls 88c4c6a783 uc和夸克增加自动续期机制 2026-06-16 10:19:46 +08:00
mtvpls 91bcb593e5 v223.1 2026-06-15 23:34:13 +08:00
mtvpls 7a34950a7e emby支持高级字幕 2026-06-14 20:33:11 +08:00
mtvpls 98e114ca42 web tv模式增加上下键可改为菜单模式 2026-06-12 20:55:06 +08:00
mtvpls 33aa0443e8 fix changelog 2026-06-11 21:12:51 +08:00
mtvpls 3699d468c6 223 2026-06-11 20:37:47 +08:00
mtvpls 99bcc8ed77 cloudflare下排除无用nodejs包 2026-06-11 11:57:29 +08:00
mtvpls 65d89be93a 增加视频特殊源配置功能 2026-06-09 15:25:22 +08:00
mtvpls 7fea2da185 增加自定义字幕上传 2026-06-07 20:42:30 +08:00
mtvpls 0cd3b34e11 离线下载增加代理配置 2026-06-07 14:24:23 +08:00
mtvpls 63fb51ce99 优化视频下载 2026-06-04 14:09:12 +08:00
mtvpls d600317ade 增加浏览器离线通知功能 2026-06-02 20:50:33 +08:00
mtvpls 16e48bef8b 修复即将上映需多次点击才显示,即将上映增加预告片 2026-06-02 10:34:13 +08:00