Commit Graph
523 Commits
Author SHA1 Message Date
wangziqi 718c58589f Merge PR #7: improve attendance and occupancy workflows 2026-07-14 03:22:19 +00:00
wangziqi aaf49d5580 fix: guard bill generation submission 2026-07-14 11:20:42 +08:00
wangziqi 5cf6aede1e feat: improve occupancy import template 2026-07-14 11:20:41 +08:00
wangziqi 811e7ce826 feat: show DingTalk punch device details 2026-07-14 11:20:41 +08:00
xiongyuxing 79fa472b78 merge upstream 2026-07-14 03:20:00 +00:00
xiongyuxing 029af37f3a fix: render bill pdf from frontend print view 2026-07-14 11:18:49 +08:00
wangziqi d572e984d2 Merge PR #6: keep room capacity and beds consistent 2026-07-14 02:58:01 +00:00
wangziqi a93ba657a8 fix: keep room capacity and beds consistent 2026-07-14 10:57:13 +08:00
wangziqi 77714642a5 Merge PR #5: main 2026-07-14 02:56:04 +00:00
xiongyuxing e7aa202603 fix: 修改 PDFDocument 导入方式以符合 ES6 模块规范 2026-07-14 10:45:27 +08:00
xiongyuxing 013b3f4afe fix: 押金页添加批量构建学生选项的功能以简化学生数据处理 2026-07-13 17:18:35 +08:00
xiongyuxing 7bfd30b513 fix: 添加表单验证错误处理逻辑以改善错误提示 2026-07-13 16:50:47 +08:00
xiongyuxing ceb0e2bf14 fix: 添加默认床位生成逻辑并优化床位添加验证 2026-07-13 16:50:47 +08:00
xiongyuxing acb11b87a3 fix: enhance pagination settings across multiple pages with default size and options 2026-07-13 16:49:21 +08:00
wangziqi b9e4caae99 Merge PR #4: align forms, contracts, and lifecycle models
Reviewed and validated across admin/server builds, typechecks, migrations, and full test suites.
2026-07-13 08:31:24 +00:00
wangziqi f98c0ccaa8 refactor(rooms): remove dorm gender restrictions 2026-07-13 16:12:57 +08:00
wangziqi aa1ed7db56 refactor: resolve remaining field audit issues 2026-07-13 16:12:57 +08:00
wangziqi 0533c30ece refactor(classes): preserve student membership history 2026-07-13 16:12:57 +08:00
wangziqi 1f32d1285b refactor(deposits): remove refund approval remnants 2026-07-13 16:12:56 +08:00
wangziqi 7b08560aef fix(deposits): show student numbers in lookup 2026-07-13 16:12:56 +08:00
wangziqi 04ef5c42d9 refactor(deposits): remove inline installment creation 2026-07-13 16:12:22 +08:00
wangziqi 0515e6ed27 fix(integration): simplify manual DingTalk sync setup 2026-07-13 16:12:22 +08:00
wangziqi effa34434b refactor(students): remove obsolete class id input 2026-07-13 16:12:22 +08:00
wangziqi 0377acd33b refactor: remove residual campus and department fields 2026-07-13 16:12:22 +08:00
wangziqi 6396d3e934 fix(schedules): support editable schedule notes 2026-07-13 16:12:21 +08:00
wangziqi dfd3cf6772 fix(archive): align aggregate result field 2026-07-13 16:12:21 +08:00
wangziqi 2874ab7bee fix(occupancies): assign room resources during transfers 2026-07-13 16:12:21 +08:00
wangziqi 8cadf8970e fix(admin): restore teacher profile form values 2026-07-13 16:12:20 +08:00
wangziqi 337d25e370 Merge PR #3: validated codex/xyx fixes
Includes PR #2 changes and DingTalk token cache test fixture updates.
2026-07-13 08:08:19 +00:00
wangziqi 7860703672 test: update DingTalk token cache fixtures 2026-07-13 16:04:05 +08:00
xiongyuxing ebce2463f0 fix: remove sensitive data masking from student options label 2026-07-13 15:27:17 +08:00
xiongyuxing 910a4263f6 fix: refactor notification display logic and add format function 2026-07-13 14:52:03 +08:00
xiongyuxing 6d42241918 fix: enhance emergency contact phone display with masking and view option 2026-07-13 14:29:01 +08:00
xiongyuxing 70283d9dfe fix: enhance 401 error handling to exclude login requests 2026-07-13 14:22:22 +08:00
xiongyuxing 187e4f2af0 fix: improve error handling in expense form submissions 2026-07-13 12:16:39 +08:00
xiongyuxing 619b3b22bd fix: use saved dingtalk config for integration calls 2026-07-13 11:43:11 +08:00
wangziqi b5ef91bf2d fix: support Windows dev startup 2026-07-13 10:35:43 +08:00
wangziqi 1c8bd08be4 feat: settle course attendance automatically 2026-07-13 10:26:38 +08:00
wangziqi b9b295c997 refactor: remove unused classroom fields 2026-07-13 09:34:15 +08:00
wangziqi a266d450e1 chore: apply eslint --fix autofixes (remove unnecessary as never casts in tests) 2026-07-12 23:01:37 +08:00
wangziqi b5f4b8747c fix: schedules lookups test mock missing classroomRepo constructor arg
The SchedulesService constructor expects 5 repository arguments.
The test only provided 4, passing {} as never for classroomRepo.
Added classroomRepo mock with find() returning full selected columns.

Fixes: schedules.lookups.spec.ts — 'returns scoped classes and
minimal classrooms for schedule viewers'
2026-07-12 23:01:00 +08:00
wangziqiandCode Review <branch-review> cc4f4dae4e fix: audit remediation — SSE user scoping, FK transactional safety, UI error handling
- H4: scoped SSE import progress to exact userId match; non-HTTP events excluded from all subscribers
- H2: moved PRAGMA foreign_key_check inside SQLite transaction before COMMIT; violations rollback preserving old tables
- M1: removed dead axios-style error branch from extractErrorMessage (interceptor already unwraps)
- M2: split handleSave try/catch — save errors vs reload errors shown distinctly
- M3: added provider field validation before AI config test request
- Added SSE scoping regression tests (import service + controller)
- Added FK check failure rollback test (database-migrations.spec)
- Updated controller spec expectations for userId parameter

Co-authored-by: Code Review <branch-review>
2026-07-12 22:59:03 +08:00
wangziqi b6fca99390 fix: align permission navigation and page access 2026-07-11 14:55:49 +08:00
wangziqi 1e1c476bc3 feat: add CASL authorization and AI configuration 2026-07-11 14:25:34 +08:00
wangziqi 8f0991a51f feat: replace tenants with organization management 2026-07-10 21:27:26 +08:00
wangziqi 8ed1682b90 fix permissions and teacher attendance workflows 2026-07-10 20:40:52 +08:00
wangziqi 247879f276 docs: add CodeGraph repository guidance
Document the preferred CodeGraph-first workflow for locating and understanding indexed code.
2026-07-10 14:13:07 +08:00
wangziqi 44105c1689 refactor: remove obsolete scaffolding and dead modules
Drop the unused root hello-world controller, empty CommonModule imports, development seeding code, legacy student report entity, stale DTOs, notification hook, and their placeholder tests.
2026-07-10 14:12:56 +08:00
wangziqi b093d69f6a fix(server): correct archive filters and deposit access
Parse archived class query flags without Boolean string coercion, register the refund approval permission, and grant dorm managers the deposit permission group.
2026-07-10 14:12:44 +08:00
wangziqi 50b3608db4 fix(admin): repair class, role, and room views
Use the RBAC user endpoint for teacher selection, restore role table columns, correct Ant Design props, and add typed room bed and locker responses.
2026-07-10 14:12:08 +08:00