npmrun
3486210305
feat: 添加会话迁移功能并优化登录流程
10 hours ago
npmrun
09b1661008
log
5 days ago
npmrun
f4c2539c68
feat: 添加全局配置以控制注册功能,更新相关组件以适应新逻辑
1 month ago
npmrun
8a0762f7fc
feat: add project management API endpoints and site icon configuration
- Added new API endpoints for project management: create, read, update, and delete projects.
- Implemented pagination for listing projects.
- Introduced siteIcon configuration in global settings.
- Updated file upload to support additional image formats (ICO, SVG).
- Enhanced validation for project input data.
1 month ago
npmrun
5c49335c86
feat: enhance authentication UI with Google login option and improve layout
- Added Google login functionality to the registration page.
- Updated the login and registration forms with a new layout and branding elements.
- Improved user experience with loading states and form validation.
- Removed unused background elements for a cleaner design.
2 months ago
npmrun
365069f711
feat: 添加 Gitea OAuth 支持,更新环境变量和登录页面
2 months ago
npmrun
9143e7d00a
feat: 更新用户信息显示逻辑,支持昵称或用户名;增强 OAuth 登录流程的错误处理与日志记录;优化 API 路径保护逻辑,添加前端页面访问控制
2 months ago
npmrun
d853f2ad25
feat(oauth): 实现 GitHub OAuth2 登录功能
功能概述:
- GitHub OAuth2 登录(新用户自动注册,已注册用户账号绑定)
- OAuth 状态管理(CSRF 防护,5 分钟 TTL)
- 完整的 API 接口(authorize、callback、bindings、status、bind、unbind)
- 登录页集成 GitHub 登录按钮
数据库:
- 新增 oauth_accounts 表存储第三方账号绑定
- 提供数据库迁移 SQL
API 接口:
- GET /api/auth/oauth/:provider/authorize - 生成授权 URL
- GET /api/auth/oauth/:provider/callback - 处理 OAuth 回调
- GET /api/auth/oauth/bindings - 获取绑定列表
- GET /api/auth/oauth/:provider/status - 查询绑定状态
- DELETE /api/auth/oauth/:provider/unbind - 解绑账号
- POST /api/auth/oauth/bind - 绑定账号
文档:
- 设计文档 docs/superpowers/specs/2026-05-26-oauth2-design.md
- 实施计划 docs/superpowers/plans/2026-05-26-oauth2-implementation-plan.md
- API 文档 docs/superpowers/oauth2/API.md
- Provider 配置 docs/superpowers/oauth2/PROVIDERS.md
- 使用指南 docs/superpowers/oauth2/README.md
- 流程图 docs/superpowers/oauth2/FLOW.md
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 months ago
npmrun
b0ad1754c8
feat(auth): add toast notifications to register page
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 months ago
npmrun
7ba33aa7d5
feat(auth): add toast notifications to login page
2 months ago
npmrun
2407eeec7c
docs: add admin users management design spec
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3 months ago