Commit Graph

8 Commits (edfc8d053abfe181ef37f025d3ed3120af9579da)

Author SHA1 Message Date
墨梓柒 3231995ebd
feat: 增强 WebUI 配置,支持防爬虫和安全 Cookie 设置 2025-12-19 00:44:22 +08:00
墨梓柒 48f2d1c33c
feat: 增强 Cookie 设置日志,提供 HTTPS 配置建议 2025-12-16 13:19:47 +08:00
墨梓柒 a5880522e7
feat: 增强认证 Cookie 设置,支持协议检测和跳过注释行 2025-12-16 13:04:37 +08:00
墨梓柒 4482be7142
feat: 更新认证 Cookie 设置和状态检查日志记录 2025-12-16 12:50:13 +08:00
墨梓柒 74a2f4346a
Ruff Format 2025-12-14 21:39:09 +08:00
墨梓柒 ea420f9f59
添加认证依赖和请求频率限制模块,增强安全性和防止API滥用 2025-12-14 19:39:56 +08:00
墨梓柒 e680a4d1f5
Ruff format 2025-12-13 17:14:09 +08:00
墨梓柒 c790dcb705
feat: Enhance authentication mechanism to support token retrieval from both Cookie and Header
- Added a new auth module to manage authentication-related functions.
- Updated existing routes in expression_routes, person_routes, plugin_routes, and routes to utilize the new authentication methods.
- Implemented CORS middleware in webui_server for development environment support.
- Introduced functions to set and clear authentication cookies.
- Enhanced token verification to prioritize Cookie over Header for improved security and flexibility.
2025-11-30 15:53:39 +08:00