Commit Graph

118 Commits

Author SHA1 Message Date
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 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
wren 01b02da685 fix: add proposal create/vote/delete and document complete permissions to common role 2026-05-13 15:02:18 +08:00
wren 5d777599bf feat(govdoc): 新增内部公文模块全链路(后端58+前端11文件) 2026-05-13 14:37:12 +08:00
wren 99699e20e1 fix: add proposal create/vote/delete and document complete permissions to common role 2026-05-13 12:34:37 +08:00
wren 5e1a55430a fix: improve cross-review upload and OCR failure handling 2026-05-12 17:57:47 +08:00
wren cf8d4d4261 Remove accidental frontend gitlink 2026-05-12 16:54:32 +08:00
wren d47f499e57 Optimize RBAC org tree loading 2026-05-12 16:53:22 +08:00
wren cd21a82168 fix: cover archived stuck documents in scanner 2026-05-12 12:09:00 +08:00
wren 3823c9a2e4 fix: harden cross-review task state handling 2026-05-12 11:30:56 +08:00
wren 2ca44f6312 fix: harden rag streaming and queue status reporting 2026-05-11 20:39:24 +08:00
wren e749abd9ed fix: repair upload status and queue filtering 2026-05-11 20:26:27 +08:00
wren 0dfd0d3bc9 docs: add rag dataset document management notes 2026-05-11 19:37:13 +08:00
wren 8206ed7d43 feat: improve rag dataset document management 2026-05-11 19:25:50 +08:00
wren 2aa5a6d1d6 fix: tighten rag permissions and area scope 2026-05-11 18:01:09 +08:00
wren f788149ca7 docs(collabora): organize deployment guides and fix proxy chain 2026-05-11 17:54:39 +08:00
wren dcc0f3c30d feat: restore rag dataset management and linkage 2026-05-11 17:21:33 +08:00
wren da2bb8310d fix(entry-modules): persist route path updates 2026-05-11 11:28:08 +08:00