Commit Graph

402 Commits

Author SHA1 Message Date
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 990d80e16d 690522:1227 ปรับปรุง Admin Panl #01
CI / CD Pipeline / build (push) Successful in 4m46s
CI / CD Pipeline / deploy (push) Successful in 4m35s
2026-05-22 12:27: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
Nattanin 3e25097470 690519:0819 Prepare refactor AI [skip ci] 2026-05-19 08:19:40 +07:00
admin 7e6ad0d346 260518:1640 204 and 302 refactor #11
CI / CD Pipeline / build (push) Successful in 5m12s
CI / CD Pipeline / deploy (push) Successful in 1m58s
2026-05-18 16:40:16 +07:00
admin 0ed27f477f 690517:2120 204 and 302 refactor #10
CI / CD Pipeline / build (push) Successful in 4m57s
CI / CD Pipeline / deploy (push) Successful in 1m32s
2026-05-17 21:20:39 +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 9d000ae22a 690517:1650 204 and 302 refactor #06
CI / CD Pipeline / build (push) Successful in 5m42s
CI / CD Pipeline / deploy (push) Failing after 4m32s
2026-05-17 16:50:53 +07:00
admin af70e53f61 690517:1607 204 and 302 refactor #05
CI / CD Pipeline / build (push) Successful in 5m31s
CI / CD Pipeline / deploy (push) Failing after 10m56s
2026-05-17 16:07:52 +07:00
admin cb340ca1e4 690517:1456 204 and 302 refactor #04
CI / CD Pipeline / build (push) Successful in 5m21s
CI / CD Pipeline / deploy (push) Failing after 20m37s
2026-05-17 14:56:52 +07:00
admin 50bffdf38a 690517:1449 204 and 302 refactor #03
CI / CD Pipeline / build (push) Failing after 42s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-17 14:49:45 +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 e218fc826c feat(rfa): merge RFA Approval Refactor v1.9.0 (9 phases, 82 tasks)
CI / CD Pipeline / build (push) Failing after 8m59s
CI / CD Pipeline / deploy (push) Has been skipped
- US1: Review Teams with parallel discipline assignment
- US2: Response Codes with category matrix and implications
- US3: Delegation with circular detection (DFS)
- US4: Auto-Reminders + 2-level Escalation via BullMQ
- US5: Distribution Matrix + Transmittal creation (Strangler Pattern)
- US6: Master Approval Matrix with project overrides + inheritance

Backend: 9 new NestJS modules registered in AppModule
Frontend: 15 new components + 5 hooks/services

Resolves #1
2026-05-12 16:17:50 +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
Nattanin 3df8707b7f 690512:1537 Prepare refactor Work Flow [skip ci] 2026-05-12 15:37:56 +07:00
admin d7e1e1177f chore(node): upgrade to v24.15.0 LTS - complete
CI / CD Pipeline / build (push) Successful in 4m54s
CI / CD Pipeline / deploy (push) Successful in 2m6s
- Regenerate pnpm-lock.yaml with Node.js v24.15.0

- Update CHANGELOG.md with v1.8.11 entry

- Update README.md: version 1.8.11, Node.js requirement v24.15.0

- All tests pass: backend 340/340, frontend 137/137
2026-05-05 13:53:12 +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 3575f3073b 690504:1641 Update specs [skip ci] 2026-05-04 16:41:50 +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 912b25bd06 690503:1430 Update workflow #08
CI / CD Pipeline / build (push) Successful in 5m23s
CI / CD Pipeline / deploy (push) Successful in 5m42s
2026-05-03 14:30:20 +07:00
admin b68ba173a3 690503:1418 Update workflow #07
CI / CD Pipeline / build (push) Successful in 5m27s
CI / CD Pipeline / deploy (push) Failing after 1m48s
2026-05-03 14:18:02 +07:00
admin cde53526cf 690503:1356 Update workflow #06
CI / CD Pipeline / build (push) Successful in 8m6s
CI / CD Pipeline / deploy (push) Successful in 7m0s
2026-05-03 13:56:16 +07:00
admin e4a724bff4 690503:1340 Update workflow #05
CI / CD Pipeline / build (push) Failing after 4m37s
CI / CD Pipeline / deploy (push) Has been skipped
2026-05-03 13:40:00 +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 c9bd403809 690503:1135 Update workflow #03
CI / CD Pipeline / build (push) Successful in 8m55s
CI / CD Pipeline / deploy (push) Failing after 5m38s
2026-05-03 11:35:27 +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 d239b58387 260429:1652 update Infras #07
CI / CD Pipeline / build (push) Successful in 5m14s
CI / CD Pipeline / deploy (push) Successful in 2m2s
2026-04-29 16:52:08 +07:00
admin de059c9edb 690428:2116 Update Infras #05
CI / CD Pipeline / build (push) Successful in 5m8s
CI / CD Pipeline / deploy (push) Successful in 1m59s
2026-04-28 21:16:49 +07:00
admin 1a51bfa3c4 690428:0806 Update Infras #04
CI / CD Pipeline / build (push) Successful in 5m7s
CI / CD Pipeline / deploy (push) Successful in 2m2s
2026-04-28 08:06:25 +07:00
admin 83b6620093 260427:1659 update Infras #02
CI / CD Pipeline / build (push) Successful in 5m51s
CI / CD Pipeline / deploy (push) Successful in 2m47s
2026-04-27 16:59:38 +07:00
admin a57fef4d44 690427:0812 Update Infras #01
CI / CD Pipeline / build (push) Successful in 5m51s
CI / CD Pipeline / deploy (push) Successful in 2m9s
2026-04-27 08:12:28 +07:00