mirror of
https://github.com/wuzf/2fa.git
synced 2026-09-28 19:58:13 +08:00
Bump package manifests, README badges, and logger/monitoring defaults to 1.5.0 covering this cycle's user-facing changes: - New POST /api/logout with CSRF guards (X-Requested-With + Origin + Sec-Fetch-Site) and the sensitive rate-limit preset; frontend logout() always clears local state (cache, OTP timers, secrets, search) so users can sign out even when the server is unreachable - Bulk import is now chunked into 100-item batches with a pending_backup_hash trail so large imports stay within rate limits and never lose backup coverage on partial failures - Restore flow now accepts directly uploaded backup files - P1 responsive refactor: mobile bottom-sheet modals, sort moved into a search-row popover, FAB consolidated to bottom-right; theme and PWA install entries relocated under Settings > Preferences - Native confirm() replaced with a themed showConfirmDialog (focus trap, ARIA, danger variant, re-entrancy guard); body-scroll lock is reference-counted so stacked modals stop leaking the lock Docs: - API_REFERENCE.md gains the /api/logout endpoint in the public list, endpoint table, dedicated section, and the rate-limiting matrix - README.md / README_EN.md mention the Sign Out entry under Settings
📚 2FA 项目文档
完整的项目文档、部署指南和开发文档。
🚀 快速导航
新用户
开发者
📦 文档列表
| 文档 | 说明 | 适用对象 |
|---|---|---|
| DEPLOYMENT.md | 部署指南 | 所有用户 |
| CLOUD_DRIVE_SETUP.md | 网盘备份配置 | 部署者 / 管理员 |
| DEVELOPMENT.md | 开发文档 | 开发者 |
| ARCHITECTURE.md | 架构文档 | 开发者 |
| API_REFERENCE.md | API 参考 | 集成开发者 |
| PWA_GUIDE.md | PWA 指南 | 终端用户 |
📌 我想...
- 部署应用 → DEPLOYMENT.md
- 配置 OneDrive / Google Drive 备份 → CLOUD_DRIVE_SETUP.md
- 本地开发 → DEVELOPMENT.md
- 了解架构 → ARCHITECTURE.md
- 调用 API → API_REFERENCE.md
- 安装 PWA → PWA_GUIDE.md
- 运行测试 → DEVELOPMENT.md
- 故障排查 → DEVELOPMENT.md
🔗 其他资源
- 项目主 README - 项目介绍和特性
- GitHub Issues - 问题反馈
维护者: wuzf 许可证: MIT