Ho Ngoc Hai
653322b26c
fix: resolve 12 critical/high issues from code review across backend, frontend, and infra
Backend (7 fixes):
- wallet-service: remove conflicting EF Ignore() calls for mapped backing fields
- fnb-engine: remove KitchenTicket short constructor that set productId=orderItemId
- fnb-engine: replace fire-and-forget Task.Run with direct await for inventory deduction
- TenantMiddleware: implement PostgreSQL RLS SET LOCAL in 4 services (wallet, fnb, inventory, catalog)
- order-service: fix SQL injection pattern in TenantMiddleware with Guid.ToString("D")
- order-service: add ValidateShopAccess() authorization check in SignalR PosHub
- 4 services: register IDbConnection (NpgsqlConnection) in DI for RLS middleware
Frontend (3 fixes):
- PosDataService: return Success=false (not true) when PayOrder response parsing fails
- QrPayment: add _disposed guard to prevent timer race condition after component disposal
- BFF OrderController: add [Authorize] attribute to require JWT for all endpoints
Infrastructure (3 fixes):
- docker-compose: upgrade PostgreSQL 15-alpine to 16-alpine per project spec
- init-databases.sh: add 4 missing marketing service databases (mkt_*)
- Traefik routes: add wallet, catalog, booking routers and /api/v1/stock path
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 16:22:08 +07:00
..
2026-01-12 12:22:54 +07:00
2026-02-23 11:25:27 +00:00
2026-02-28 01:03:43 +07:00
2026-02-28 01:03:43 +07:00
2026-02-28 01:03:43 +07:00
2026-02-28 01:03:43 +07:00
2026-02-28 01:03:43 +07:00
2026-03-05 16:40:02 +07:00
2026-03-06 16:22:08 +07:00
2026-02-28 01:03:43 +07:00
2026-03-06 16:22:08 +07:00
2026-03-06 12:34:53 +07:00
2026-03-06 16:22:08 +07:00
2026-03-04 20:05:38 +07:00
2026-03-06 12:34:53 +07:00
2026-02-28 01:03:43 +07:00
2026-02-28 01:03:43 +07:00
2026-02-23 12:56:57 +00:00
2026-02-23 12:51:17 +00:00
2026-02-23 13:02:38 +00:00
2026-02-23 13:02:38 +00:00
2026-03-06 16:22:08 +07:00
2026-03-05 01:39:40 +07:00
2026-02-28 01:03:43 +07:00
2026-02-28 01:03:43 +07:00
2026-03-06 16:22:08 +07:00