Commit Graph

24 Commits (ffafbf0a2655d355b20bfbcfa98929b84cd6ce75)

Author SHA1 Message Date
墨梓柒 ffafbf0a26
WebUI后端整体重构 2026-01-13 07:24:27 +08:00
SengokuCola e1482977b1
Revert "Helm chart" 2025-12-28 00:07:03 +08:00
SengokuCola 5474d666dd
Merge pull request #1464 from Mai-with-u/helm-chart
Helm chart
2025-12-28 00:00:21 +08:00
墨梓柒 ade25d4717
feat:添加规划器和回复器监控API路由 2025-12-23 23:13:05 +08:00
SengokuCola e126d4bfff Merge branch 'dev' 2025-12-21 16:59:10 +08:00
墨梓柒 a13f605977
更新 WebUI 配置,移除 host 和 port 字段,改为从环境变量读取;更新配置模板版本至 7.2.5,并添加相关说明。 2025-12-20 12:35:15 +08:00
墨梓柒 35c16d2bf3
fix: 修复日志信息格式,统一 IPv6 本地访问提示 2025-12-19 16:51:57 +08:00
墨梓柒 849ffb06dc
feat: 更新 WebUI 服务器配置,支持 IPv4 和 IPv6 地址显示 2025-12-19 16:51:14 +08:00
墨梓柒 3231995ebd
feat: 增强 WebUI 配置,支持防爬虫和安全 Cookie 设置 2025-12-19 00:44:22 +08:00
墨梓柒 74a2f4346a
Ruff Format 2025-12-14 21:39:09 +08:00
陈曦 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
陈曦 32a6d1a520 fix:修改webui默认配置暴露端口为127.0.0.1
将 WebUI 服务的默认监听地址从 0.0.0.0 修改为 127.0.0.1,以提升安全性,默认仅允许本地访问。同步调整了相关日志提示以及 template.env 中的注释说明,明确如何在需要时显式开启对外访问。
2025-12-14 16:40:37 +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