Commit Graph

476 Commits

Author SHA1 Message Date
root 0b711a6739 feat(i18n): add Korean language support
- Add ko-KR.ts locale file with full Korean translations
- Register Korean language in i18n/index.ts
- Add Korean option to Login page language selector
- Add Korean option to GeneralSettings language selector
- Update zh-CN, en-US, ru-RU locales with koKR language label
2025-12-28 14:39:26 +08:00
임희호 d6f94cd7ec feat(helm): 添加Neo4j模板支持GraphRAG功能
- 新增neo4j.yaml部署和服务模板
- 在app.yaml中添加Neo4j环境变量
- 在pvc.yaml中添加Neo4j持久卷
- 在secrets.yaml中添加Neo4j认证信息
- 在_helpers.tpl中添加Neo4j镜像助手
- 在NOTES.txt中添加GraphRAG说明
- 在values.yaml中添加Neo4j配置
- 简化.helmignore以修复Helm否定模式错误 (helm/helm#8688)

Fixes #483

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 11:36:47 +08:00
wizardchen 10f8830c01 feat: 优化知识库删除流程,引入异步任务处理重操作;新增ProcessKBDelete方法实现后台清理 2025-12-25 22:07:42 +08:00
wizardchen be1ec4de5d refactor: 移除安全校验和长度限制,简化输入处理逻辑 2025-12-25 22:07:42 +08:00
wizardchen 0e5370c7c4 fix: 修复标签ID处理逻辑,正确处理空字符串与UntaggedTagID的判断条件 2025-12-25 22:07:42 +08:00
wizardchen a025ebe7fb feat: 优化标签ID处理逻辑,新增批量更新TagID功能 2025-12-25 22:07:42 +08:00
wizardchen 4c0846f9c7 feat: 增强标签删除功能,支持排除指定ID;新增异步索引删除任务优化删除流程 2025-12-25 22:07:42 +08:00
wizardchen 87ead9dec4 feat: 新增FAQ条目批量更新排除功能,支持在ByTag操作中排除指定ID列表 2025-12-25 22:07:42 +08:00
wizardchen 557081c8f8 fix: 修复不同数据库类型的JSON查询兼容性问题,支持MySQL和PostgreSQL的差异处理 2025-12-25 22:07:42 +08:00
wizardchen 5e16af8cf9 docs: 更新API文档链接至新路径;新增知识搜索API文档;增强FAQ和标签删除接口说明;移除Swagger文档中的硬编码主机配置 2025-12-24 20:47:08 +08:00
wizardchen 762a906a1b feat: 增强FAQ列表搜索功能,支持按指定字段(标准问题/相似问法/答案/全部)进行搜索 2025-12-24 20:47:08 +08:00
wizardchen 1c1033101d feat: 增强FAQ搜索功能,支持指定搜索字段(标准问题/相似问法/答案) 2025-12-24 20:47:08 +08:00
wizardchen 423cb3a2a3 feat: 增强知识库搜索功能,支持多知识库和指定文件ID搜索;优化SearchKnowledgeRequest结构,向后兼容单知识库ID参数 2025-12-24 20:47:08 +08:00
wizardchen ec9d6ee961 fix: 修复GORM批量插入时零值字段被忽略的问题,确保IsEnabled和Flags字段正确插入 2025-12-24 20:47:08 +08:00
wizardchen 8430b9fa2d feat: 新增FAQ列表排序功能,支持按更新时间升序/降序排列;优化标签名称批量查询,提升查询效率 2025-12-24 20:47:08 +08:00
wizardchen c11b3e5b00 feat: 新增FAQ条目获取接口,支持按ID查询单个FAQ条目;增强标签删除功能,支持content_only模式仅删除标签下内容 2025-12-24 20:47:08 +08:00
임희호 4159c9d3a5 fix: Use versioned image tag and remove capabilities drop
- Chart.yaml: appVersion "0.2.5" -> "v0.2.5" (match Docker Hub tag format)
- values.yaml: app.image.tag "" (use appVersion) instead of "latest"
- values.yaml: Remove capabilities drop (nginx requires CAP_CHOWN)

Verified all pods running successfully on local k3s cluster.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 15:29:29 +08:00
임희호 f82a0f360c fix: Disable runAsNonRoot for official images compatibility
Official Docker images (nginx, postgres, redis, paradedb) run as root
by default. Disabled runAsNonRoot and readOnlyRootFilesystem to ensure
compatibility.

Changes:
- global.podSecurityContext: removed runAsNonRoot
- global.containerSecurityContext: removed runAsNonRoot, readOnlyRootFilesystem
- Component securityContext: commented out incompatible settings
- app.image.tag: changed from "" to "latest" (versioned tags not available)

Tested on local Kubernetes cluster (k3s) with all pods running successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 15:29:29 +08:00
임희호 451f543e6d feat: Add Helm chart for Kubernetes deployment
Add comprehensive Helm chart for deploying WeKnora to Kubernetes clusters.

Features:
- Core services: app, frontend, docreader, postgresql, redis
- Optional services: MinIO, Neo4j, Qdrant, Jaeger (matching docker-compose profiles)
- CNCF security best practices (SecurityContext, ServiceAccount, non-root)
- Comprehensive documentation (README.md, NOTES.txt)
- Required secrets validation (no default passwords)

References:
- https://helm.sh/docs/chart_best_practices/
- https://github.com/argoproj/argo-helm
- https://github.com/prometheus-community/helm-charts
- https://github.com/cert-manager/cert-manager

Fixes #478

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 15:29:29 +08:00
wizardchen 2784207de6 chore: release v0.2.5 2025-12-22 15:20:57 +08:00
wizardchen a36bf67166 feat: 新增环境变量DISABLE_REGISTRATION控制用户注册开关 2025-12-22 15:01:09 +08:00
wizardchen d6c3636b20 refactor: 调整默认生产环境配置,禁用非生产环境下的Swagger文档访问 2025-12-22 15:01:09 +08:00
wizardchen ac21f81dda feat: 新增API Key认证支持,优化Swagger文档安全配置 2025-12-22 15:01:09 +08:00
wizardchen 86347d4c16 refactor: 移除bot消息组件中的mentionedItems相关代码,简化组件逻辑 2025-12-22 13:11:31 +08:00
wizardchen 1ac663fc3f feat: 优化输入框placeholder动态显示逻辑,支持基于知识库和网络搜索状态的个性化提示 2025-12-22 13:11:31 +08:00
wizardchen 58ae0d8350 feat: 支持在消息流中展示@的知识库和文件 2025-12-22 13:11:31 +08:00
wizardchen 3c83cf9873 feat: 增强知识库和搜索功能的逻辑 2025-12-22 13:11:31 +08:00
wizardchen f7900a5e9a feat: 新增MCP stdio传输安全验证机制,防止命令注入攻击 2025-12-22 13:11:31 +08:00
wizardchen a20541cd9d feat: 新增用户对话模型选择状态管理,支持store双向绑定 2025-12-22 13:11:31 +08:00
wizardchen da55707022 feat: 基于PostgreSQL官方解析器重构SQL安全验证机制,增强查询防护能力 2025-12-22 13:11:31 +08:00
wizardchen 8ba3be7b01 feat: 优化流式渲染机制,支持Markdown内容逐token解析显示 2025-12-22 13:11:31 +08:00
wizardchen de1ffa7f7c feat: 支持输入框内选择知识库和文件,优化选择交互体验 2025-12-22 13:11:31 +08:00
wizardchen 485d8d7252 fix: 修正FAQ导入任务中knowledge ID的获取 2025-12-22 13:11:31 +08:00
wizardchen 309e9b588b fix: 强制移除knowledge_bases表中的历史vlm_model_id字段 2025-12-22 13:11:31 +08:00
wizardchen ad450e6bce feat: 重构FAQ导入进度,改用Redis存储任务状态 2025-12-22 13:11:31 +08:00
wizardchen 7576f08ad5 fix: 模型管理中禁用ReRank模型Ollama选项并添加提示信息 2025-12-22 13:11:31 +08:00
lyingbug 6b7558c559 Enhance security policy with reporting guidelines
Updated the security policy to include a section on reporting vulnerabilities and guidelines for responsible disclosure.
2025-12-19 20:04:56 +08:00
wizardchen 3546888317 fix: 优化知识库复制时的标签映射逻辑和FAQ克隆功能 2025-12-17 22:04:18 +08:00
wizardchen 282423aba2 fix: 调整Knowledge结构体Metadata字段类型为json.RawMessage 2025-12-17 22:04:18 +08:00
wizardchen 942689783f feat: 知识库复制时添加租户信息到上下文 2025-12-17 22:04:18 +08:00
wizardchen b110082b0f fix: 调整Knowledge结构体Metadata字段类型为string 2025-12-17 22:04:18 +08:00
wizardchen 42f844d0d0 fix: migration from old version 2025-12-17 22:04:18 +08:00
wizardchen 3977d90181 feat: 完善知识库复制时生成问题的SourceID转换逻辑和标签映射功能 2025-12-17 22:04:18 +08:00
wizardchen b70450ddd8 feat: 支持FAQ索引类型分离,新增is_enabled字段过滤和批量更新优化 2025-12-17 22:04:18 +08:00
wizardchen 509582a4d5 feat: 知识库异步复制功能支持进度追踪和增量同步 2025-12-17 22:04:18 +08:00
wizardchen a7df6900eb feat: 完善Swagger API文档生成功能 2025-12-17 22:04:18 +08:00
wizardchen 121e9b3e1b feat: 移除重复的FAQ条目导出 2025-12-17 22:04:18 +08:00
wizardchen ad6bd157fd feat: 新增FAQ条目导出功能,支持CSV格式导出 2025-12-17 22:04:18 +08:00
begoniezhao d9b04a19a6 feat: Update the MinIO, Jaeger, and Neo4j image versions to ensure you are using the correct versions for improved stability. 2025-12-16 17:32:33 +08:00
wizardchen 495a306d0d feat: 修复MCP服务对话框中环境变量保存逻辑 2025-12-16 12:24:31 +08:00