Commit Graph

72 Commits

Author SHA1 Message Date
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 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 5d777599bf feat(govdoc): 新增内部公文模块全链路(后端58+前端11文件) 2026-05-13 14:37:12 +08:00
wren 5e1a55430a fix: improve cross-review upload and OCR failure handling 2026-05-12 17:57:47 +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 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 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
wren e19f63183b feat(rbac): add lazy organization tree endpoint 2026-05-11 09:38:14 +08:00
wren 1a626a9020 fix: add rbac organization tree contracts 2026-05-11 02:17:50 +08:00
wren 32fb2a4812 fix: stabilize rule config and cross-review backend 2026-05-11 02:03:01 +08:00
wren 0fec8baafd fix(rbac): expose usage stats menu in settings 2026-05-11 00:52:57 +08:00
wren be41863099 feat(rbac): seed usage stats permissions and schema 2026-05-09 20:08:22 +08:00
wren e8a93f25a6 feat(audit): record login events and trigger users 2026-05-09 20:07:44 +08:00
wren 4d56652879 feat(usage-stats): add usage stats backend apis 2026-05-09 20:06:59 +08:00
wren 9c86bf59e5 feat: add rag backend and review access fixes 2026-05-08 10:58:24 +08:00
wren 1c84209f38 feat: migrate cross review to v3 leaudit flow 2026-05-07 18:18:59 +08:00
wren 35e0c45c42 refactor: remove document legacy binding reads 2026-05-07 18:06:20 +08:00
wren 59f2737f80 refactor: remove audit legacy binding fallback 2026-05-07 18:03:40 +08:00
wren ad367ac5bf refactor: drop legacy rule binding fallbacks 2026-05-07 18:01:54 +08:00
wren e1adcf30d2 chore: add legacy binding fallback audit logs 2026-05-07 17:52:01 +08:00
wren f8eb2dc817 feat: migrate rule bindings to group-based flow 2026-05-07 17:43:20 +08:00
wren 75c2111209 fix: align rule rollback version resolution 2026-05-07 10:58:42 +08:00
wren f9de903acc feat: add rule draft permission flow 2026-05-06 20:06:41 +08:00
wren 0b76dce2a5 fix: preserve review field page positions in platform 2026-05-06 16:29:39 +08:00
wren c4694e11f0 feat: add document type root management 2026-05-06 14:20:28 +08:00
wren 201e3adc18 fix: synthesize docx field location chunks 2026-05-06 11:36:02 +08:00
wren 6ff1fb1cf6 fix: repair review detail attachment query 2026-05-06 10:01:21 +08:00
wren 76ba7e65ed feat: add backend rule group and permission support 2026-05-06 09:40:37 +08:00
wren 2d3a0f31de feat: complete review detail backend chain 2026-05-06 09:19:03 +08:00
wren acdcfeb0be fix: add /document-types to visible route whitelist and permission map 2026-04-30 14:27:06 +08:00
wren 283c8228b2 feat: add document-types route and permissions to admin seeds 2026-04-30 14:13:33 +08:00
wren e6e129c70e fix: parse date strings to date objects for asyncpg compatibility 2026-04-30 13:09:24 +08:00
wren 52c2bed4f9 feat: add document type CRUD with inline rule set binding
- GET/POST /api/document-types, GET/PUT/DELETE /api/document-types/{id}
- DocumentTypeItemVO extended with description, entryModuleId,
  isEnabled, ruleSetIds
- Create/Update DTOs accept ruleSetIds array for automatic
  leaudit_rule_type_bindings sync (full replace on update)
- Soft delete cascades to rule_type_bindings
2026-04-30 12:50:56 +08:00