ducky
04a509d45e
feat(purchase): 增加购买订阅 iframe 页面与配置
...
- 新增 /purchase 页面(iframe + 新窗口兜底)
- 管理员系统设置可配置开关与URL
- 非 simple mode 才在侧边栏展示入口
2026-01-28 13:54:32 +08:00
shaw
9cc8352593
feat(auth): 密码重置邮件队列化与限流优化
...
- 邮件发送改为异步队列处理,避免并发导致发送失败
- 新增 Email 维度限流(30秒冷却期),防止邮件轰炸
- Token 验证使用常量时间比较,防止时序攻击
- 重构代码消除冗余,提取公共验证逻辑
2026-01-24 22:55:28 +08:00
shaw
192efb84a0
feat(promo-code): complete promo code feature implementation
...
- Add promo_code_enabled field to SystemSettings and PublicSettings DTOs
- Add promo code validation in registration flow
- Add admin settings UI for promo code configuration
- Add i18n translations for promo code feature
2026-01-20 15:56:26 +08:00
shaw
b1a980f344
feat: 添加隐藏CCS导入按钮的设置选项
...
在管理后台设置页面新增开关,允许管理员隐藏API Keys页面的"导入CCS"按钮
2026-01-19 19:25:16 +08:00
Edric Li
5265b12cc7
feat(settings): add home content customization and config injection
...
- Add home_content setting for custom homepage (HTML or iframe URL)
- Inject public settings into index.html to eliminate page flash
- Support ETag caching with automatic invalidation on settings update
- Add Vite plugin for dev mode settings injection
- Refactor HomeView to use appStore instead of local API calls
2026-01-10 18:37:44 +08:00
shaw
f060db0b30
fix: 加固 LinuxDo OAuth 登录安全与配置校验
2026-01-09 19:32:06 +08:00
admin
152d0cdec6
feat(auth): 添加 Linux DO Connect OAuth 登录支持
...
- 新增 Linux DO OAuth 配置项和环境变量支持
- 实现 OAuth 授权流程和回调处理
- 前端添加 Linux DO 登录按钮和回调页面
- 支持通过 Linux DO 账号注册/登录
- 添加相关国际化文本
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-09 18:26:32 +08:00
ianshaw
01f990a5c9
style(frontend): 统一核心模块代码风格
...
- Composables: 优化 OAuth 相关 hooks 代码格式
- Stores: 规范状态管理模块格式
- Types: 统一类型定义格式
- Utils: 优化工具函数格式
- App.vue & style.css: 调整全局样式和主组件格式
2025-12-26 00:10:44 -08:00
shaw
2e7818d688
feat(settings): 添加文档链接配置功能
...
- 后台系统设置新增文档链接(doc_url)配置项
- 首页顶部导航栏显示文档链接图标(条件渲染)
- Footer区域添加文档链接和GitHub链接
- 支持中英文国际化
2025-12-24 21:30:19 +08:00
shaw
22414326cc
fix: 修复前端切换页面时logo跟标题闪烁的问题
2025-12-19 22:33:36 +08:00
dexcoder6
406d3f3cab
fix(frontend): 修复移动端菜单栏和使用记录页面 UI 问题
...
- 修复移动端无法打开菜单栏的问题
- 在 app.ts 中添加 mobileOpen 状态管理
- 修复 AppHeader.vue 中移动端菜单按钮调用错误的方法
- 修复 AppSidebar.vue 使用本地 ref 而非全局状态的问题
- 添加移动端菜单自动关闭功能
- 点击菜单项后自动关闭侧边栏
- 添加 150ms 延迟以显示关闭动画
- 修复使用记录页面总消费卡片溢出问题
- 调整总消费卡片布局,将删除线价格移至说明行
- 添加 min-w-0 flex-1 防止内容溢出
- 保持与其他卡片高度一致
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2025-12-19 15:55:42 +08:00
shaw
145171464f
fix: 修复前端多个 bug
...
1. 版本号闪烁问题
- 将版本信息缓存到 Pinia store,避免每次路由切换都重新请求
- 添加加载占位符,版本为空时显示骨架屏
2. 管理员登录跳转问题
- 管理员登录后现在正确跳转到 /admin/dashboard
- 普通用户仍跳转到 /dashboard
3. Dashboard 页面空白报错
- 修复 API 返回 null 时访问 .length 导致的 TypeError
- 为 computed 属性添加可选链操作符保护
- 为数据赋值添加空数组默认值
2025-12-18 22:11:29 +08:00
shaw
642842c29e
First commit
2025-12-18 13:50:39 +08:00