gcx/backend
hailin 9e368cbf37 fix(mobile+backend): fix notification DNS, message page API bugs, add read-all
Android DNS fix (native_dio_adapter):
- Dart's getaddrinfo() fails on some Android 12+ devices when browser works
  fine — root cause is Dart native socket using different DNS path than
  Android Java stack; fix by using NativeAdapter (OkHttp) on Android
- Add native_dio_adapter ^1.5.1 to pubspec; enable in ApiClient for Android

Message page bugs (5 fixes):
- Fix offset->page: Flutter sent ?offset=0 but backend NotificationQueryDto
  uses page/limit (1-based); now sends ?page=1&limit=50
- Fix announcement tab API: Tab 2 now calls /api/v1/announcements (separate
  resource) instead of /api/v1/notifications?type=ANNOUNCEMENT
- Fix markAllAsRead routing: calls correct API based on active tab
- Fix markAsRead routing: announcement items use announcements API
- Fix detail navigation: passes NotificationItem as route argument

Backend notification-service:
- Add PUT /api/v1/notifications/read-all endpoint
- Add markAllReadByUserId() to repository interface + TypeORM implementation
- Add markAllRead() to NotificationService

i18n (4 languages): add time.justNow/minutesAgo/hoursAgo/daysAgo keys

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 11:15:03 -08:00
..
kong fix(kong): admin-service read/write timeout 60s → 600s 2026-03-07 08:47:06 -08:00
migrations feat(telemetry): 完整实现 presence-service 迁移 + Flutter 遥测接入 2026-03-05 23:33:13 -08:00
packages fix(auth): add local JwtStrategy to all services, fix @genex/common import 2026-03-04 23:00:39 -08:00
scripts fix: RegexRouter 精确匹配 outbox 表,防止 heartbeat 事件污染消费者 2026-02-15 07:04:17 -08:00
services fix(mobile+backend): fix notification DNS, message page API bugs, add read-all 2026-03-07 11:15:03 -08:00
.dockerignore feat(docker): 重构Monorepo构建 — 支持@genex/common共享包 2026-02-19 19:00:27 -08:00
.env.example fix(auth): 将 JWT access token 有效期从 15m 改为 24h 2026-03-07 08:06:37 -08:00
deploy.sh fix(auth): 将 JWT access token 有效期从 15m 改为 24h 2026-03-07 08:06:37 -08:00
docker-compose.yml fix(admin-service): 本地磁盘存储 + Docker volume 解决 EACCES 权限问题 2026-03-07 08:20:05 -08:00