Commit Graph

5 Commits

Author SHA1 Message Date
5b5ffb5b9e fix(server): 路由 id 使用 ParseIntPipe,限制分页与批量数组上限 2026-08-07 16:38:03 +08:00
32343b271b fix: 通知 SSE 长连接被 Nginx 60s 超时掐断 2026-08-05 18:00:45 +08:00
8ed1682b90 fix permissions and teacher attendance workflows 2026-07-10 20:40:52 +08:00
9e6c136ef0 fix: apply code review fixes — double layout, SSE leaks, interval leak, conflict values
- App.tsx: remove double-wrapped MainLayout from /notifications route
- NotificationBell.tsx: decouple SSE from popover open state using ref
- useNotifications.ts: fix interval leak in onerror via ref in cleanup
- notifications.controller.ts: unsubscribe on req.on('close') for SSE Subject
- schedules.controller.ts: use existing schedule values in conflict catch
2026-07-05 23:31:21 +08:00
14a24a14b3 feat: add NotificationsController with SSE stream endpoint 2026-07-05 23:09:30 +08:00