17 Commits

Author SHA1 Message Date
向宁
dd9c2c85bb feat(validation): 添加请求参数校验器并优化依赖注入配置
- 为 AssignPermissionsEndpoint 添加请求校验器
- 为 AssignRolesEndpoint 添加请求校验器
- 为分片上传相关端点添加请求校验器
- 为聊天功能相关端点添加请求校验器
- 为知识库管理相关端点添加请求校验器
- 为用户和角色管理相关端点添加请求校验器
- 为嵌入向量化相关端点添加请求校验器
- 为认证授权相关端点添加请求校验器
- 为通知系统相关端点添加请求校验器
- 为 Obsidian 同步功能添加请求校验器
- 移除不必要的 using 语句和依赖注入配置
- 统一参数校验失败响应格式为 ValidationErrorResponse
2026-06-14 15:59:57 +08:00
向宁
5b67551fee feat: add notification center, Obsidian integration, RAG retrieval service and SignalR
- Add Notification entity, SignalR hub and NotificationDispatcher
- Add Obsidian document endpoints and document extractors
- Add RagRetrievalService with chunking/retrieval config
- Add ProcessKnowledgeBase and UpdateKnowledgeBase endpoints
- Add EF migrations for RAG enhancements, chunking modes and notification center
- Add unit/integration tests project
2026-06-14 15:01:07 +08:00
向宁
d742ed93ce feat: add EF column comments for all entities, docker-compose with init SQL 2026-05-25 20:33:20 +08:00
向宁
ca7463d42b fix: AI 流式回复过滤思考标签 + 加载历史上下文
- ChatAgentService.RunStreamingAsync 增加状态机过滤 qwen3 <think/> 标签
- RunAsync 同步方法也增加过滤
- StreamMessageEndpoint 从 Redis/DB 加载历史消息构建上下文
2026-05-20 21:07:47 +08:00
向宁
67b030c3c5 feat: add AI chat, RAG Q&A, knowledge base, embeddings, document processing
- AI chat with SSE streaming (Microsoft Agent Framework + Qwen)
- RAG Q&A with hybrid retrieval (vector + keyword RRF fusion)
- Knowledge base CRUD with semantic text chunking
- Embedding generation via Azure.AI.OpenAI / LM Studio
- Document upload with chunked upload support
- Redis caching for chat messages
- Chunk/vector preview endpoints
- gRPC auth service improvements
- Removed demo menus, cleaned up seed data
2026-05-20 20:28:15 +08:00
向宁
9a403634b2 Add .lscache files for RAG.Application, RAG.Domain, and RAG.Infrastructure projects to improve C# Dev Kit performance 2026-05-17 22:55:11 +08:00
向宁
c2d114535d feat: add OpenTelemetry instrumentation (tracing + metrics + logging)
- OTLP gRPC exporter to 192.168.1.154:4316
- ASP.NET Core, HttpClient, EF Core, Runtime instrumentation
- Log export via AddOpenTelemetry logging
2026-05-17 22:02:50 +08:00
向宁
54db985fa5 feat: gRPC auth service, validators, middleware fixes
- Add AuthGrpcService for inter-service token validation
- Add FluentValidation validators for auth/menus/roles/users
- Fix middleware Stream lifecycle issues
- Register ABP ObjectAccessor for container compatibility
- Update connection strings for NUC Box infrastructure
- Add JWT claim mapping fixes
2026-05-17 19:43:43 +08:00
向宁
819eac0edc fix: use network_mode host for container networking
ABP framework requires access to host network for DB/Redis connections
2026-05-17 19:42:53 +08:00
向宁
855a7b6880 feat: add Dockerfile and upgrade Jenkinsfile to full CI/CD
- Multi-stage .NET 10 Dockerfile (build + runtime)
- Jenkinsfile: Docker build → push to registry → deploy with docker-compose
2026-05-17 19:16:56 +08:00
向宁
ac61ace37f feat: 用户列表 API 支持搜索过滤
- GetUserListQuery 增加 Search 参数
- GET /users?search=xxx 按用户名或邮箱模糊搜索
2026-05-17 17:50:40 +08:00
xiangning
88eccbc952 refactor: 切换数据库连接到远程服务器
- PostgreSQL: 192.168.1.154:5432 (auto_agent)
- Redis: 192.168.1.154:31040
- RabbitMQ: 192.168.1.154:31020
- RabbitMQ 注册代码支持 Port 配置
2026-05-11 02:47:38 +08:00
xiangning
fb28bbdbe5 fix: 修复前端-后端连接问题
- CORS 添加 localhost:5666 端口
- Cookie 改为 Secure=false, SameSite=Lax 适配 localhost 开发环境
2026-05-11 02:44:54 +08:00
xiangning
f63482057b ci: 修复 Jenkinsfile ICU 缺失问题,启用 GlobalizationInvariant 2026-05-11 02:35:41 +08:00
xiangning
c5ac69d6d0 ci: Jenkinsfile 添加 .NET 10 SDK 自动安装 2026-05-11 02:32:26 +08:00
xiangning
978247fd55 fix: 更新 Jenkinsfile 路径(backend 为仓库根目录) 2026-05-11 02:30:22 +08:00
xiangning
a6402973ca feat: 初始化 RAG 后端项目
- .NET 10 + ABP 模块化 + FastEndpoints + MediatR CQRS
- 审计系统: AuditInterceptor (IAuditable/ISoftDelete/IHasOperatorIP)
- 全局异常处理: BusinessException/NotFoundException/UnauthorizedException
- 数据库: PostgreSQL 17 + pgvector + EF Core
- CI: Jenkinsfile
2026-05-11 02:30:07 +08:00