Commit Graph

13 Commits

Author SHA1 Message Date
陈曦
c3c5bc337d Update webui_server.py 2025-12-14 21:00:18 +08:00
Dawn ARC
72786687b9 Merge branch 'Mai-with-u:dev' into dev 2025-12-14 20:26:21 +08:00
墨梓柒
c2a6d491c6 添加 robots.txt 路由,禁止搜索引擎索引,增强隐私保护;为 HTML 文件添加防索引头 2025-12-14 20:11:16 +08:00
墨梓柒
6055b087f0 添加 WebSocket 认证模块,支持临时 token 认证机制,增强安全性并解决 Cookie 不可用问题 2025-12-14 20:08:49 +08:00
墨梓柒
ea420f9f59 添加认证依赖和请求频率限制模块,增强安全性和防止API滥用 2025-12-14 19:39:56 +08:00
陈曦
f6adc8bcf7 Update webui_server.py 2025-12-14 19:28:23 +08:00
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
墨梓柒
00c1e7d601 优化由于WebUI启动时端口占用导致异常退出没有提示的问题 2025-12-08 18:48:11 +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
墨梓柒
3935ce817e Ruff Fix & format 2025-11-29 14:38:42 +08:00
墨梓柒
c78e17406c feat: 添加 WebUI 聊天室功能,包括消息广播和历史记录管理 2025-11-28 14:18:15 +08:00
墨梓柒
72a159b2d7 添加知识库图谱可视化 API 路由,并在 WebUI 服务器中注册相关路由 2025-11-22 15:48:05 +08:00
墨梓柒
4284e0f860 添加独立的 WebUI 服务器支持,重构相关配置和启动逻辑 2025-11-20 19:01:10 +08:00