Commit Graph

204 Commits

Author SHA1 Message Date
admin 01de542d15 fix(husky): use absolute paths in pre-commit for type checks
CI / CD Pipeline / build (push) Successful in 4m50s
CI / CD Pipeline / deploy (push) Successful in 1m37s
- Use git rev-parse --show-toplevel for absolute paths
- Fixes 'cd frontend: No such file or directory' error
- Fix type cast parsing error in virtual-column.service.spec.ts
2026-05-26 12:20:20 +07:00
admin 9502d789b9 chore(husky): revert pre-commit to lint-staged only
CI / CD Pipeline / build (push) Failing after 3m14s
CI / CD Pipeline / deploy (push) Has been skipped
Type check blocked by broken virtual-column.service.spec.ts.
Will fix test file separately and re-enable type check.
2026-05-26 11:40:50 +07:00
admin 83d1517afc fix(ai-prompts): import UserModule to resolve RbacGuard dependency
CI / CD Pipeline / build (push) Successful in 4m45s
CI / CD Pipeline / deploy (push) Successful in 4m20s
2026-05-26 11:10:03 +07:00
admin fd3bee394c 690526:0824 ADR-023-229 dynamic prompt #02 2026-05-26 08:24:04 +07:00
admin 82a0444013 690525:2327 ADR-023-229 dynamic prompt #01 2026-05-25 23:27:33 +07:00
admin d315488d83 690525:1541 ADR-028-228-migration-OCR #05 ocr-sidecar working
CI / CD Pipeline / build (push) Successful in 4m14s
CI / CD Pipeline / deploy (push) Successful in 5m0s
2026-05-25 15:41:56 +07:00
admin 256a31b38c 690525:1418 ADR-028-228-migration-OCR #01
CI / CD Pipeline / build (push) Successful in 4m22s
CI / CD Pipeline / deploy (push) Successful in 3m58s
2026-05-25 14:18:02 +07:00
admin 001237ea35 690525:1320 ADR-028-228-migration #06
CI / CD Pipeline / build (push) Successful in 4m18s
CI / CD Pipeline / deploy (push) Successful in 7m41s
2026-05-25 13:20:17 +07:00
admin dcd1a9855e 690524:2148 ADR-028-228-migration #05
CI / CD Pipeline / build (push) Successful in 4m8s
CI / CD Pipeline / deploy (push) Successful in 3m42s
2026-05-24 21:48:30 +07:00
admin 1564f8648d 690524:1919 ADR-028-228-migration #04
CI / CD Pipeline / build (push) Successful in 4m10s
CI / CD Pipeline / deploy (push) Successful in 3m52s
2026-05-24 19:19:46 +07:00
admin 93fd95a6b3 690524:1435 ADR-028-228-migration #03
CI / CD Pipeline / build (push) Successful in 3m59s
CI / CD Pipeline / deploy (push) Successful in 5m18s
2026-05-24 14:35:05 +07:00
admin a63fe0fb5c 690524:1054 ADR-028-228-migration #02
CI / CD Pipeline / build (push) Successful in 4m7s
CI / CD Pipeline / deploy (push) Successful in 4m42s
2026-05-24 10:54:44 +07:00
admin 5a17f969b8 690523:2327 ADR-028-228-migration #01
CI / CD Pipeline / build (push) Successful in 4m38s
CI / CD Pipeline / deploy (push) Successful in 3m6s
2026-05-23 23:27:52 +07:00
admin ff5cadc9f2 690523:1623 ADR-028-228 #05
CI / CD Pipeline / build (push) Successful in 4m55s
CI / CD Pipeline / deploy (push) Successful in 5m49s
2026-05-23 16:23:12 +07:00
admin c04c5d1902 690522:2153 ADR-028-228 #04
CI / CD Pipeline / build (push) Failing after 4m13s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-22 21:53:41 +07:00
admin 3bf34ea840 690522:2140 ADR-028-228 #03
CI / CD Pipeline / build (push) Successful in 5m39s
CI / CD Pipeline / deploy (push) Failing after 3m9s
2026-05-22 21:40:19 +07:00
admin a2973be208 feat(migration): ADR-028 migration architecture refactor
- เพิ่ม POST /api/ai/jobs + GET /api/ai/jobs/:jobId endpoints (FR-001, FR-002)
- เพิ่ม BullMQ Worker MigrateDocumentWorker + OCR auto-detect (FR-003, FR-004)
- เพิ่ม cleanup-temp-files + expire-pending-reviews workers (FR-005, FR-005a/b)
- สร้าง SQL deltas: tags, correspondence_tags, alter migration_review_queue (FR-006, ADR-009)
- เพิ่ม MigrationReviewService.commitRecord() + SELECT FOR UPDATE (FR-007, FR-007a)
- เพิ่ม CASL permission migration.commit + MigrationReviewController (FR-007)
- สร้าง TagsModule + TagsService + TagsController (US3)
- สร้าง Migration Review Queue frontend page + ReviewQueueTable (US2)
- อัปเดต n8n guide: deterministic Idempotency-Key + token pre-flight (FR-001a, FR-010a/b)
- สร้าง spec.md, plan.md, tasks.md, data-model.md, contracts/, quickstart.md
- สร้าง ADR-028 document + validation-report.md (PASS 32/32 tasks, 173/173 tests)
2026-05-22 17:10:07 +07:00
admin b5425d8b20 feat(ai): add system settings schema delta and resilience fallback try-catch
CI / CD Pipeline / build (push) Successful in 5m15s
CI / CD Pipeline / deploy (push) Successful in 4m38s
2026-05-22 10:14:27 +07:00
admin 2e50bcaa58 690522:0839 227 #02
CI / CD Pipeline / build (push) Successful in 5m27s
CI / CD Pipeline / deploy (push) Successful in 5m18s
2026-05-22 08:39:26 +07:00
admin f47363c24a 690522:0554 227 #01
CI / CD Pipeline / build (push) Successful in 5m25s
CI / CD Pipeline / deploy (push) Successful in 8m59s
2026-05-22 05:54:34 +07:00
admin a2952a32a4 test(backend): fix all typescript compiler type errors in test suites 2026-05-21 21:51:52 +07:00
admin 91e9c714df feat(ai-admin-console): complete implementation and resolve lint compilation errors 2026-05-21 21:42:25 +07:00
admin 1580ab2c18 690520:1652 224 to 226 AI #07
CI / CD Pipeline / build (push) Successful in 4m32s
CI / CD Pipeline / deploy (push) Successful in 5m48s
2026-05-20 16:52:20 +07:00
admin f17a81d363 690520:0859 224 to 226 AI #06
CI / CD Pipeline / build (push) Successful in 4m56s
CI / CD Pipeline / deploy (push) Failing after 4m13s
2026-05-20 08:59:33 +07:00
admin 080cbbdd85 690519:2152 224 to 226 AI #05
CI / CD Pipeline / build (push) Successful in 4m26s
CI / CD Pipeline / deploy (push) Failing after 4m59s
2026-05-19 21:52:26 +07:00
admin 4a2ff8aa22 690519:2142 224 to 226 AI #04
CI / CD Pipeline / build (push) Failing after 3m34s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-19 21:42:33 +07:00
admin a0b9b55130 690519:2118 224 to 226 AI #03
CI / CD Pipeline / build (push) Failing after 4m8s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-19 21:18:48 +07:00
admin 7259cbf67a 690519:1719 224 to 226 AI #02
CI / CD Pipeline / build (push) Successful in 4m47s
CI / CD Pipeline / deploy (push) Failing after 7m3s
2026-05-19 17:19:24 +07:00
admin ea5499123e 690519:1631 224 to 226 AI #01
CI / CD Pipeline / build (push) Failing after 3m57s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-19 16:31:50 +07:00
admin bf997d85ac 690517:2048 204 and 302 refactor #09
CI / CD Pipeline / build (push) Successful in 5m5s
CI / CD Pipeline / deploy (push) Successful in 3m12s
2026-05-17 20:48:45 +07:00
admin 89bbd5ecd7 690517:2029 204 and 302 refactor #08
CI / CD Pipeline / build (push) Successful in 5m19s
CI / CD Pipeline / deploy (push) Failing after 4m23s
2026-05-17 20:29:42 +07:00
admin 7d6450d3f7 690517:1706 204 and 302 refactor #07
CI / CD Pipeline / build (push) Successful in 5m31s
CI / CD Pipeline / deploy (push) Failing after 4m11s
2026-05-17 17:06:24 +07:00
admin 544bb30277 690516:1955 204 and 302 refactor #02
CI / CD Pipeline / build (push) Successful in 5m56s
CI / CD Pipeline / deploy (push) Failing after 4m29s
2026-05-16 19:55:51 +07:00
admin 1a162bf320 feat(rfa-ai): Complete RFA Approval Refactor and AI Model Revision
CI / CD Pipeline / build (push) Successful in 4m54s
CI / CD Pipeline / deploy (push) Failing after 12m9s
2026-05-16 10:59:53 +07:00
admin 6cb3ae10ee feat(ai): unify AI architecture, implement RAG and legacy migration
CI / CD Pipeline / build (push) Failing after 5m36s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-15 11:10:44 +07:00
admin 0240d80da5 690514:2019 204-rfa-approval-refactor #01
CI / CD Pipeline / build (push) Successful in 6m1s
CI / CD Pipeline / deploy (push) Failing after 6m42s
2026-05-14 20:19:21 +07:00
admin 07cc6d47b1 fix(test): remove async from getMany mock - no await expression 2026-05-13 12:43:42 +07:00
admin 5537d20152 690513:0920 Refactor Workflow module: Lint error #01
CI / CD Pipeline / build (push) Failing after 10m44s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-13 09:20:49 +07:00
Nattanin ef20839f99 feat(rfa): complete RFA Approval Refactor - all 9 phases (T001-T080)
Phase 1-2: Setup, SQL schema, enums, queue constants, base entities
Phase 3 (US1): ReviewTeam, ReviewTeamMember, ReviewTask, TaskCreationService
Phase 4 (US2): ResponseCode, ResponseCodeRule, ImplicationsService, NotificationTriggerService
Phase 5 (US3): Delegation entity, CircularDetectionService, DelegationService/Controller/Module
Phase 6 (US4): ReminderRule, SchedulerService, EscalationService, ReminderProcessor, ReminderModule
Phase 7 (US5): DistributionMatrix, DistributionRecipient, ApprovalListenerService (Strangler),
               TransmittalCreatorService, DistributionProcessor, DistributionModule
Phase 8 (US6): MatrixManagementService, InheritanceService (global→project override)
Phase 9 (Polish): AggregateStatusService, ConsensusService, VetoOverrideService,
                  ParallelGatewayHandler, review-validators, optimistic locking in completeReview,
                  test stubs (unit/integration/e2e), jest.config.js updated for tests/ directory

Frontend: ReviewTaskInbox, ParallelProgress, VetoOverrideDialog, DelegationForm,
          DelegatedBadge, MatrixEditor, ProjectOverrideManager, DistributionStatus,
          ReminderHistory, ResponseCodeSelector, CodeImplications, CompleteReviewForm,
          ReviewTeamForm, ReviewTeamSelector, TeamMemberManager

Closes #1
2026-05-12 16:17:27 +07:00
admin 008f0fd7ab 260505:1218 chore(node): upgrade to v24.15.0 LTS
CI / CD Pipeline / build (push) Successful in 8m9s
CI / CD Pipeline / deploy (push) Successful in 11m32s
- Update Docker base images: node:22-alpine → node:24-alpine
- Add engines.node >=24.0.0 to package.json files
- Create .nvmrc files with 24.15.0
- Update CI workflow to use node-version: 24.15.0
- Fix jest-e2e.json for uuid@13 ES Module compatibility

Validation:
- Backend unit tests: 340/340 passed
- Frontend unit tests: 137/137 passed
- Frontend build: successful (39 static pages)
2026-05-05 12:18:05 +07:00
admin 42a6d24318 690503:1547 Update #01
CI / CD Pipeline / build (push) Successful in 5m13s
CI / CD Pipeline / deploy (push) Successful in 4m18s
2026-05-03 15:47:59 +07:00
admin 35110cbd3e 690503:1216 Update workflow #04
CI / CD Pipeline / build (push) Successful in 7m23s
CI / CD Pipeline / deploy (push) Successful in 3m28s
2026-05-03 12:16:58 +07:00
admin 870420204e 690503:1036 Update workflow #02
CI / CD Pipeline / build (push) Failing after 9m43s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-03 10:36:34 +07:00
admin 2c24991f88 690503:0135 Update workflow #01
CI / CD Pipeline / build (push) Failing after 6m6s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-03 01:36:37 +07:00
admin 9384581aee 690421:1652 Update document-chunk Module #01
CI / CD Pipeline / build (push) Successful in 4m51s
CI / CD Pipeline / deploy (push) Successful in 3m17s
2026-04-21 16:52:58 +07:00
admin 3143dd7263 690421:1628 Update RAG Module #01
CI / CD Pipeline / build (push) Successful in 4m53s
CI / CD Pipeline / deploy (push) Failing after 5m7s
2026-04-21 16:28:23 +07:00
admin 13745e5874 690419:1831 feat: update CI/CD to use SSH key authentication #05
CI / CD Pipeline / build (push) Failing after 4m57s
CI / CD Pipeline / deploy (push) Has been skipped
2026-04-19 18:31:30 +07:00
admin 733f3c3987 690419:1411 feat: update CI/CD to use SSH key authentication #05
CI / CD Pipeline / build (push) Successful in 9m10s
CI / CD Pipeline / deploy (push) Failing after 4m10s
2026-04-19 14:11:51 +07:00
admin 5977e48e38 fix(workflow): ADR-021 code review fixes (8 bugs)
- fix(transmittal): guard duplicate workflow instance on submit()
- fix(workflow-guard): add organizationId to context so Level-2 RBAC works
- fix(circulation): organizationId context passed relation object not INT FK
- fix(transmittal): require Idempotency-Key header on POST submit endpoint
- fix(workflow): userId non-optional in processTransition controller
- fix(circulation): auto-close counts PENDING and IN_PROGRESS tasks
- fix(transmittal): status badge uses workflowState/DRAFT not purpose field
- fix(workflow): log cache invalidation failures instead of swallowing
- fix(workflow): implement getAvailableActions endpoint stub
- fix(i18n): add removeFile key to EN/TH locales
2026-04-17 16:25:51 +07:00
admin 3a5fc8d4af 690417:1538 Refactor Work flow ADR-021 2026-04-17 15:38:20 +07:00