Commit Graph

134 Commits

Author SHA1 Message Date
wren acad3d4bf3 Merge branch 'wren-dev' 2026-05-21 22:03:57 +08:00
wren 1f1bccf3b3 feat: add tenant-scoped rule and permission management 2026-05-21 22:03:08 +08:00
wren 4847bccdec merge: 合并模板对比持久化与附件版本处理 2026-05-20 10:56:06 +08:00
wren a2c2bf1969 feat: 完善模板对比持久化与附件版本处理 2026-05-20 10:55:28 +08:00
wren 0a3b1d09d3 merge: 合并合同模板上传与地区隔离改造 2026-05-19 23:04:36 +08:00
wren 7c6f134808 feat: 支持合同模板上传与地区隔离 2026-05-19 22:59:11 +08:00
wren 980996d933 docs: 补充合同模板与文档质量方案文档 2026-05-19 20:50:41 +08:00
wren c10914dc58 Merge remote-tracking branch 'gitea/wren-dev' into wren-dev 2026-05-19 20:48:48 +08:00
wren d58755a063 feat: 支持合同模板上传与对比记录持久化 2026-05-19 20:47:54 +08:00
wren ebcfe4281a Merge remote-tracking branch 'gitea/main' into wren-dev 2026-05-19 20:43:58 +08:00
wren 01ffb183a7 Merge remote-tracking branch 'gitea/main' into sync/wren-dev-main-20260519 2026-05-19 19:07:07 +08:00
wren 16e8668150 feat: add contract template v3 api and legacy oss migration 2026-05-19 18:38:17 +08:00
wren 5cd6b218e0 merge: rag chat stabilization from wren-dev 2026-05-19 15:59:20 +08:00
wren afaba4dd99 feat: stabilize rag chat conversations and auto title sync 2026-05-19 15:52:05 +08:00
wren 76765264e0 Merge branch 'wren-dev' 2026-05-19 14:28:32 +08:00
wren 2217b52502 Merge remote-tracking branch 'gitea/main'
# Conflicts:
#	fastapi_modules/fastapi_leaudit/services/impl/govdocServiceImpl.py
2026-05-19 14:28:20 +08:00
wren 564f2bebc8 feat: support cross-review supplement opinions export 2026-05-19 14:12:02 +08:00
wren 722234678a merge: integrate wren-dev govdoc fixes 2026-05-18 16:32:24 +08:00
wren 3fb72d94ad fix: restore govdoc version linkage and detail sidebar 2026-05-18 16:30:22 +08:00
TanWenyan 2117b115d0 Merge pull request 'feat: integrate govdoc platform updates' (#5) from feat/govdoc-module-integration into main
Reviewed-on: #5
2026-05-18 16:10:26 +08:00
TanWenyan 7e39b04f8b Merge pull request 'fix: correct OCR API path from /ocr to /chandra/ocr for hub endpoint' (#4) from fix/cross-review-common-permissions into main
Reviewed-on: #4
2026-05-18 16:09:03 +08:00
wren ff6665e936 fix: improve govdoc reports and versioned document list 2026-05-18 16:08:40 +08:00
TanWenyan 7602a89abb Merge pull request 'fix: restore rag chat retrieval sources and follow-up metadata' (#3) from fix/chat-rag-retrieval-and-history into main
Merge pull request #3 from fix/chat-rag-retrieval-and-history

fix: restore rag chat retrieval sources and follow-up metadata
2026-05-18 15:30:00 +08:00
wren 752b66ff82 fix: restore rag chat sources and follow-up metadata 2026-05-18 15:25:05 +08:00
wren 5dc15f172b Merge remote-tracking branch 'gitea/main' into feat/govdoc-module-integration 2026-05-18 14:35:47 +08:00
wren 1bacfe41b7 feat: integrate govdoc platform updates 2026-05-18 14:35:25 +08:00
TanWenyan cb5d199128 Merge pull request 'feat: 接入内部公文模块后端链路与规则集' (#2) from feat/govdoc-module-integration into main
Reviewed-on: #2
2026-05-17 19:31:49 +08:00
wren a73826dc1d feat: integrate govdoc module into leaudit platform 2026-05-17 19:24:16 +08:00
wren cb13e61d3d docs: add govdoc migration analysis and implementation notes 2026-05-17 19:24:00 +08:00
wren adc1e0b8dc feat: 交叉评查后端优化 — 评查地区、文档评查统计、currentScore、错误提示
- GetUserTasks: 新增 task_regions CTE,从任务成员 sso_users.area 去重收集 evaluationRegion
- GetTaskDocuments: 新增 es LATERAL 子查询聚合 leaudit_rule_results 的 pass_count/warning_count/error_count/score_percent;path/uploadTime 改为从 leaudit_document_files 获取;新增 fileExt
- ReviewPointResultVO: 新增 currentScore 字段
- _loadReviewPointResults: SQL 新增 approved_delta LATERAL 子查询,currentScore = base_score + SUM(approved_deltas)
- CrossReviewTaskItemVO: 新增 evaluationRegion
- CrossReviewTaskDocumentVO: 新增 18 个评查统计字段 + path/uploadTime/fileExt
- 文档更新:交叉评查核心模块业务逻辑文档补充评查地区、评查统计、版本号本地化等章节
2026-05-15 14:15:29 +08:00
wren 397cbb111a docs: add cross-checking core module business logic & tab implementation plan 2026-05-14 16:41:13 +08:00
wren ccbd3ac8f3 fix: improve error message with actual typeId/groupId mismatch details for debugging 2026-05-13 20:18:25 +08:00
wren aa8137bd5a fix: scope version group total count to current cross-review task only 2026-05-13 19:19:59 +08:00
wren 4246fd7037 fix: keep old versions visible in cross-review task instead of retiring them 2026-05-13 18:47:03 +08:00
wren 8f28e6bd4e feat: add version group tracking to cross-review task documents with auto-chaining on re-upload 2026-05-13 18:16:52 +08:00
wren 2435e3697d fix: mark documents as cross_review when added to cross-review task 2026-05-13 18:06:16 +08:00
wren ed60a1f8da feat: add review_scope field to distinguish cross-review vs standard documents 2026-05-13 17:46:17 +08:00
wren 72bc24dfcd fix: exclude cross-review task documents from regular document list 2026-05-13 17:43:18 +08:00
wren 7407448d43 fix: trigger audit runs when creating cross-review task for pre-uploaded documents 2026-05-13 17:35:28 +08:00
wren 400fa1a517 fix: bump nginx proxy buffers to 256k/512k for large session cookies 2026-05-13 17:21:04 +08:00
wren 0365f1f6a0 fix: increase nginx proxy buffer size to prevent 502 on login with large cookies 2026-05-13 17:18:16 +08:00
wren d739caa2ed fix: add document:document:update permission for edit document save button 2026-05-13 16:57:10 +08:00
wren 913db5f514 fix: add file size and result stats to history version query and VO 2026-05-13 16:49:55 +08:00
wren 0a8f46008d fix: remove sha256 duplicate check so re-upload always creates new version in group 2026-05-13 16:41:11 +08:00
wren 9eec45cbd0 fix: remove sha256 duplicate check so re-upload always creates new version in group 2026-05-13 16:32:42 +08:00
wren 52b4cd61bb fix: switch OCR to hub endpoint with correct /chandra/ocr path 2026-05-13 15:28:34 +08:00
wren b532ffc3b9 feat(govdoc): 补 structure/outline API 端点 2026-05-13 15:25:13 +08:00
wren 2e0e23fc6a fix: correct LLM/VLM base URL to /qwen/v1 path for hub endpoint 2026-05-13 15:21:09 +08:00
wren 46ffca4fc4 fix: correct OCR API path from /ocr to /chandra/ocr for hub endpoint 2026-05-13 15:13:39 +08:00
TanWenyan eb5acc8da9 Merge pull request 'fix: add proposal create/vote/delete and document complete permissions to common role' (#1) from fix/cross-review-common-permissions into main
Reviewed-on: #1
2026-05-13 15:02:59 +08:00