Commit Graph

23 Commits

Author SHA1 Message Date
a9ce5563b1 chore: 升级依赖与工程配置 2026-08-05 17:10:14 +08:00
ce1dcc07ea chore: 新增 zustand、@ant-design/x-card 与 officecli 依赖 2026-08-04 14:41:14 +08:00
8656394b9b Refactor AI chat: streaming, tool calls, UI polish
All checks were successful
CI / check (pull_request) Successful in 3m25s
2026-07-24 16:27:50 +08:00
eaca56617c chore: patch vulnerable npm dependencies
All checks were successful
CI / check (pull_request) Successful in 1m33s
2026-07-23 12:02:20 +08:00
da023759a1 fix: 修复后端 CI 检查与测试 2026-07-22 11:17:39 +08:00
90cc0c10b2 feat: expand student archive import template 2026-07-21 15:11:52 +08:00
2ee8bd47e2 feat: add TypeORM CLI migration support
- 新增 datasource.ts 支持 mysql/sqlite 双模式
- 新增 migration 脚本: generate/create/run/revert/show
- 生成 InitialSchema migration (35 张表全量建表)
2026-07-20 12:16:48 +08:00
aa1ed7db56 refactor: resolve remaining field audit issues 2026-07-13 16:12:57 +08:00
b5ef91bf2d fix: support Windows dev startup 2026-07-13 10:35:43 +08:00
1e1c476bc3 feat: add CASL authorization and AI configuration 2026-07-11 14:25:34 +08:00
8c791ec4f3 fix: add build script for server, fix duplicate index in user_ding_mapping entity 2026-07-08 14:18:41 +08:00
d3437311dc refactor: remove Puppeteer, delete old PDF download endpoint 2026-07-07 09:56:52 +08:00
72f9a58838 feat: rewrite PDF report to puppeteer HTML→PDF with professional 6-page gongxue design 2026-07-06 16:19:50 +08:00
c81b0a0b5c chore: commit remaining integration files, PM2 single instance, PRD doc 2026-07-06 16:04:53 +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
5f14b9ff15 feat: add NotificationsService with SSE subject pool 2026-07-05 23:01:26 +08:00
09580e4a4e feat: P2-15 cron-based DingTalk/WeCom sync with logging and incremental sync
- Add @nestjs/schedule dependency
- Create SyncLog entity (platform, syncType, status, recordsCount, errorMessage, timestamps)
- Create SyncState entity for tracking lastSyncAt per platform
- SyncService with @Cron('0 2 * * *') daily scheduled sync
- Incremental sync: tracks last_sync_at per platform, passes to integration APIs
- Full/incremental mode determined by existence of prior sync
- SyncController: POST /sync/trigger (manual), GET /sync/logs (history)
- Register SyncModule in AppModule with ScheduleModule
2026-07-05 20:48:43 +08:00
a4ca6b2ef9 fix: use tsconfig.build.json for nest start --watch to fix rootDir 2026-07-02 16:16:57 +08:00
ac19c666b3 fix: add missing 'dev' script to @gongxue/server for turbo run dev 2026-07-02 16:11:57 +08:00
e13de5fef4 chore(task6): complete turborepo migration verification 2026-07-02 15:49:14 +08:00
5cf7fe05e9 feat(task4): update TypeScript configs to use shared presets 2026-07-02 15:31:29 +08:00
73dd92e615 feat(task3): migrate toolchain to oxfmt + oxlint
- Install oxfmt with .oxfmtrc.json (maps Prettier config)
- Install oxlint with oxlint.config.ts (TypeScript + React rules)
- Replace admin ESLint with oxlint
- Remove Prettier integration from server ESLint (keep ESLint for type checking)
- Delete server .prettierrc and admin eslint.config.js
2026-07-02 15:24:29 +08:00
46a817503e feat(task1): restructure directories for turborepo monorepo
- Move backend/ to apps/server/ via git mv
- Move frontend/ to apps/admin/ via git mv
- Create packages/typescript-config/ with base, nestjs, and react-vite presets
2026-07-02 15:05:12 +08:00