Commit Graph

465 Commits

Author SHA1 Message Date
wizardchen 0bbd1450cc feat: 增强FAQ搜索功能,支持指定搜索字段(标准问题/相似问法/答案) 2025-12-24 15:46:16 +08:00
wizardchen e45b82e9be feat: 增强知识库搜索功能,支持多知识库和指定文件ID搜索;优化SearchKnowledgeRequest结构,向后兼容单知识库ID参数 2025-12-24 15:46:16 +08:00
wizardchen aa81662872 fix: 修复GORM批量插入时零值字段被忽略的问题,确保IsEnabled和Flags字段正确插入 2025-12-24 15:46:16 +08:00
wizardchen b2eec004c9 feat: 新增FAQ列表排序功能,支持按更新时间升序/降序排列;优化标签名称批量查询,提升查询效率 2025-12-24 15:46:16 +08:00
wizardchen 529b31da23 feat: 新增FAQ条目获取接口,支持按ID查询单个FAQ条目;增强标签删除功能,支持content_only模式仅删除标签下内容 2025-12-24 15:46:16 +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
wizardchen 36f0968df0 feat: 修复数据库迁移中AUTO_RECOVER_DIRTY环境变量判断逻辑,默认启用自动恢复 2025-12-16 12:24:31 +08:00
wizardchen 95dfcf81cd feat: 支持聊天消息中的图片预览功能,更新Agent提示以包含图文结果输出 2025-12-16 12:24:31 +08:00
wizardchen 8018bc2763 feat: 知识搜索和列表工具中的图片信息展示 2025-12-16 12:24:31 +08:00
wizardchen efe7b5d0f1 feat: 优化异步任务重试逻辑,仅在最后一次重试时更新失败状态,改进混合搜索结果融合策略 2025-12-16 12:24:31 +08:00
wizardchen b20174efe2 Merge remote-tracking branch 'github_public/main' 2025-12-15 20:36:54 +08:00
wizardchen 46fc21f182 feat: 更新Dockerfile,调整uvx权限,升级node版本 2025-12-15 20:33:03 +08:00
wizardchen de9b6dfd31 feat: 新增FAQ条目答案策略字段,支持'all'和'random'两种模式 2025-12-15 20:33:03 +08:00
wizardchen 8b6731439a feat: 新增FAQ条目推荐字段和按标签批量更新功能 2025-12-15 20:33:03 +08:00
wizardchen 6426fafdef chore: release v0.2.2 2025-12-15 20:32:31 +08:00
wizardchen 7aed2415e6 feat: 更新Dockerfile,调整uvx权限,升级node版本 2025-12-15 19:13:58 +08:00
wizardchen 3665d35dc5 feat: 新增FAQ条目答案策略字段,支持'all'和'random'两种模式 2025-12-15 17:22:09 +08:00