da69545f74
fix: null cast for refundStatus in TypeORM
2026-07-06 10:50:24 +08:00
94251b66ce
fix: TypeORM rejects string|null union type for mysql
2026-07-06 10:49:59 +08:00
9b0a9749a2
fix: type error in dashboard ClassroomUtilStats
2026-07-06 10:30:04 +08:00
6467e67bdb
feat: legacy database migration — import old dump, map to new schema, deploy to Tencent Cloud
2026-07-06 10:27:47 +08:00
2ce73b8fc3
feat: PM2 + Docker deployment config (MySQL container, PM2 for backend+frontend proxy)
2026-07-06 10:12:42 +08:00
a568da160c
feat(sync): implement sync stubs with env-var gating and status endpoint
2026-07-06 10:00:35 +08:00
2c0ca583a3
feat(students): add multi-enrollment comparison view in student list expand row
2026-07-06 10:00:35 +08:00
6ba7213cc4
feat(deposits): add refund rejection path with reason
2026-07-06 09:48:20 +08:00
3717531bb3
feat(dashboard): add classroom utilization stats endpoint and UI
2026-07-06 09:38:17 +08:00
7b298a615c
feat: complete PRD verification fixes and deployment readiness
...
- Add CommonModule to provide/export CampusScope across business modules
- Replace DepartmentsModule imports with CommonModule in 11 modules
- Add missing Class/Tenant repository imports to StudentsModule and SchedulesModule
- Fix service specs with CampusScope, ClassRepository, StudentRepository mocks
- Move better-sqlite3 to optionalDependencies for production Docker builds
- Rewrite Dockerfiles for monorepo root build context
- Update docker-compose.yml service build contexts
2026-07-06 01:55:35 +08:00
5d102ca3c4
feat: add class roster export button in class detail page
2026-07-06 01:16:55 +08:00
8453e62088
feat: integrate classroom real-time occupancy with schedule and rental data
2026-07-06 01:14:58 +08:00
3bcb7d41c0
fix: F12 P2 follow-up — batch imports set departmentId, optimize getDescendantIds, enforce campus root invariant
2026-07-06 01:06:11 +08:00
6b0a21d266
fix: resolve all admin typecheck errors (typed api wrapper, unused imports, missing hooks, PermissionButton children)
2026-07-06 01:02:26 +08:00
4a48a65a48
feat: enhance dashboard with attendance count + Gantt chart
2026-07-06 00:49:20 +08:00
b3655da012
fix: resolve 9 P0+P1 review findings (bills decorators, campus isolation bypass, ding raw crash, batch import counter, SSE multi-tab, interval leak, dept permissions, cycle prevention, tree depth)
2026-07-06 00:38:51 +08:00
90b6ce4aba
feat: add Departments management page with tree + user list
2026-07-06 00:09:04 +08:00
80839607a4
feat: integrate CampusSwitcher into header and API interceptor
2026-07-06 00:06:35 +08:00
af3b4ba8f4
feat: add useCampus hook and CampusSwitcher component
2026-07-06 00:05:48 +08:00
df61ebbc5b
feat: auto-populate department_id on create + seed default campus with backfill
2026-07-06 00:05:00 +08:00
cd6364268d
feat: integrate CampusScope.filter() into all business services (12 services + 12 modules)
2026-07-05 23:58:51 +08:00
eeae06fe30
feat: add isSuperAdmin to JWT payload for campus scope bypass
2026-07-05 23:51:10 +08:00
abcfbc6121
feat: add CampusScope request-level provider for data isolation
2026-07-05 23:50:22 +08:00
ca53f9471b
feat: implement full DepartmentsController with 9 endpoints
2026-07-05 23:48:43 +08:00
0e08770cf4
feat: add DepartmentsModule with DTO, Service, and stub controller
2026-07-05 23:47:41 +08:00
ad24c9ef23
feat: add department_id to all business entities
2026-07-05 23:45:05 +08:00
7d945029eb
feat: add Department and UserDepartment entities
2026-07-05 23:43:57 +08:00
9d9d4719b5
feat: add Student-User association and activate all notification TODOs
2026-07-05 23:42:22 +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
7020e86809
feat: integrate notification creation into business modules (classes, schedules done; bills/occupancies/deposits need student→userId mapping)
2026-07-05 23:25:34 +08:00
155e3b3c96
feat: add Notifications full page with sidebar filter
2026-07-05 23:21:08 +08:00
168308347f
feat: integrate NotificationBell into MainLayout header
2026-07-05 23:19:27 +08:00
f47b7aaf87
feat: add useNotifications hook and NotificationBell component
2026-07-05 23:18:18 +08:00
adb875976a
feat: support JWT from query string for SSE endpoints
2026-07-05 23:15:34 +08:00
14a24a14b3
feat: add NotificationsController with SSE stream endpoint
2026-07-05 23:09:30 +08:00
ce36a92482
fix: revert untracked ExpenseType refs, fix findByUser falsy cursor check
2026-07-05 23:05:25 +08:00
5f14b9ff15
feat: add NotificationsService with SSE subject pool
2026-07-05 23:01:26 +08:00
bb11ca1880
feat: add Notification entity
2026-07-05 22:56:54 +08:00
1cb2137f61
fix: replace deprecated antd Space direction→orientation
2026-07-05 21:59:00 +08:00
4520737196
fix: add Class import to AttendanceService
2026-07-05 21:57:20 +08:00
23ef73acb9
fix: add Class repo to AttendanceService, fix getClasses API
2026-07-05 21:56:29 +08:00
79f503c46a
fix: add missing isMobile definition in Dashboard
2026-07-05 21:53:47 +08:00
2be8b55c93
feat: enhance dashboard with comprehensive stats and charts
2026-07-05 21:52:50 +08:00
ab5898e2cf
fix: replace deprecated antd APIs (Drawer width→size, Modal destroyOnClose→destroyOnHidden)
2026-07-05 21:47:32 +08:00
c77246d3e7
fix: restore transformToMenuItems function
2026-07-05 21:42:30 +08:00
f3af403714
feat: add selectedKeys/openKeys helpers for nested menu
2026-07-05 21:40:47 +08:00
9408642b22
refactor: reorganize sidebar into nested two-level menu groups
2026-07-05 21:40:09 +08:00
b77e5a2f50
fix: remove PermissionButton wrappers from Upload components
2026-07-05 21:37:47 +08:00
940b587df9
fix: remove nested button patterns across all pages, remove Dashboard gantt
2026-07-05 21:35:03 +08:00
1b49d971ae
fix: add missing fragment closing tag in Rooms page
2026-07-05 21:29:42 +08:00