Commit Graph
1127 Commits
Author SHA1 Message Date
雅丶涵 083b696218 Merge 7d5f91d80f into f55a1f50de 2026-07-12 03:17:32 +08:00
mtvpls-turso 7d5f91d80f 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:16:59 +00:00
mtvpls-turso b7df796f9d 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 19:16:59 +00:00
mtvpls f55a1f50de 修复edgeone动态路由404 2026-07-11 09:58:26 +08: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 fd8bf3d587 add guangya netdisk name mapping 2026-07-04 11:57:50 +08:00
mtvpls c705b2fd16 公告增加每次显示模式 2026-07-03 11:41:43 +08:00
mtvpls ba34019bde 通知增加区域switch,增加免责声明 2026-07-01 10:21:51 +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 418d57ae8a 移除第三方登录的多个或 2026-06-29 17:54:46 +08:00
mtvpls 5d315ef12f 修正权限放行 2026-06-29 17:11:59 +08:00
mtvpls 5d605710f3 接入tgbot 2026-06-29 16:40:03 +08:00
mtvpls b1aad6a9bc 增加本地播放/离线播放状态标识 2026-06-29 09:49:07 +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 6362c8f251 调整播放失败提示 2026-06-22 11:35:38 +08:00
mtvpls 5bf15e4086 修复ai总开关关闭后ai评论仍然显示 2026-06-22 09:20:14 +08:00
mtvpls 741e49e75a 修复多个下载内容导出混乱成一个 2026-06-21 22:42:28 +08:00
mtvpls 1a24f3316f 增加下载内容导出功能 2026-06-21 16:26:06 +08:00
mtvpls 99b58b2e6a 下载增加indexdb模式 2026-06-21 10:59:05 +08:00
mtvpls f7b6181471 修复搜索页带类型参数时仍后台搜索影视类型 2026-06-20 12:57:11 +08:00
mtvpls ec71a252c9 动漫磁力搜索增加nyaa;动漫磁力搜索前可选站点 2026-06-20 12:43:16 +08:00
mtvpls 20c073430b 移除复制地址按钮;扫码登录成功返回上一页 2026-06-19 16:35:14 +08:00
mtvpls 0b6c6e78e6 修复局域网遥控按键溢出以及菜单键失效 2026-06-19 16:15:00 +08:00
mtvpls e9ac8f3067 优化局域网遥控 2026-06-19 15:59:44 +08:00
mtvpls 9881ad3238 web tv增加局域网遥控 2026-06-19 15:26:18 +08:00
mtvpls acb5850260 增加edgeone action 2026-06-18 16:24:51 +08:00
mtvpls 6bf306d034 edgeone middleware环境变量正确读取解析 2026-06-18 15:38:24 +08:00
mtvpls ce944e6bc5 变更命令 2026-06-18 13:27:38 +08:00
mtvpls 8997228be4 edgeone部署支持 2026-06-18 11:25:07 +08:00
mtvpls 5e78189e69 Update .nvmrc 2026-06-17 23:14:47 +08:00
mtvpls d7727455dc 用户变动撤销所有刷新token,立即失效accesstoken 2026-06-17 11:35:46 +08:00
mtvpls 84afb97f9f 优化预加载策略 2026-06-17 10:14:03 +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 c42f474b12 恢复pnpm lock追踪 2026-06-15 22:22:54 +08:00
mtvpls 7a34950a7e emby支持高级字幕 2026-06-14 20:33:11 +08:00
mtvpls c45fdded59 支持高级字幕(ass,ssa)渲染 2026-06-13 20:34:26 +08:00
mtvpls e20d5bf77e webtv优化选集面板聚焦 2026-06-12 21:21:17 +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 8f20646e0b 增加倍数快捷键,增加快捷键说明 2026-06-11 20:05:51 +08:00
mtvpls 99bcc8ed77 cloudflare下排除无用nodejs包 2026-06-11 11:57:29 +08:00
mtvpls 25b068f673 忽略pnpm-lock 2026-06-11 10:31:35 +08:00
mtvpls 336bfe736d 新增进度条缩略图功能 2026-06-11 02:25:54 +08:00
mtvpls a37d64647f 升级artplayer到5.4.0,增加画面翻转功能 2026-06-11 00:33:24 +08:00
mtvpls d5d6c1e87b 首页轮播图标题自适应大小 2026-06-10 22:21:33 +08:00