Commit Graph

33 Commits

Author SHA1 Message Date
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
b88a3d8580 chore: mark Task 2 complete (dba01e1) 2026-07-02 15:17:35 +08:00
ee2cad0941 feat(task2): add root turborepo and npm workspaces configuration 2026-07-02 15:16:07 +08:00
9bbcb20b51 chore: mark Task 1 complete (d13e58a) 2026-07-02 15:06:37 +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
4704adcba1 fix: replace orIgnore with findOne for SQLite compat; set backend port 3003 2026-07-02 14:31:51 +08:00
db7ccaf5a0 chore: set frontend dev port to 3002 (avoid PORT env var conflict) 2026-07-02 14:19:13 +08:00
1b19904e77 chore: configure dev ports (backend:3001, frontend:3000 + proxy) 2026-07-02 14:04:26 +08:00
03441efe45 chore: configure build scripts 2026-07-02 12:29:57 +08:00
2b7797447b chore: check off all remaining plan and tasks.md items 2026-07-02 12:28:11 +08:00
933cd13221 chore: finalize tasks.md checkoff (RBAC refactor complete) 2026-07-02 12:27:14 +08:00
ef645c0f40 fix: resolve 3 review findings (permission codes, profile guard, JSDoc) 2026-07-02 12:22:49 +08:00
75acb5c7a2 chore: check off Task 10 (frontend RBAC adaptation) 2026-07-02 12:15:37 +08:00
3f26c66808 feat(frontend): adapt routes, menus, Users page, and business pages for RBAC 2026-07-02 12:14:16 +08:00
abf51b840e chore: check off Task 9 (Roles + Permissions pages) 2026-07-02 12:05:52 +08:00
6a93967271 feat(frontend): add Roles management page and Permissions overview page 2026-07-02 12:04:35 +08:00
a84a0ed153 chore: check off Task 8 (frontend infrastructure) 2026-07-02 12:01:29 +08:00
14d81045e6 feat(frontend): add usePermission hook, PermissionButton, PermissionRoute, and 403 handling 2026-07-02 11:59:36 +08:00
b047dbc5d8 chore: check off Tasks 4-7 (all controllers decorated) 2026-07-02 11:56:10 +08:00
7a8df81e7b feat(rbac): add @RequirePermission decorators to all business controllers 2026-07-02 11:53:18 +08:00
f53b6c447c chore: check off Task 6 (AppModule registration) 2026-07-02 11:49:12 +08:00
dc4835165d feat(rbac): register RbacModule and PermissionGuard in AppModule 2026-07-02 11:46:47 +08:00
2541ff8d9e chore: check off Task 5 (RbacController) 2026-07-02 11:44:41 +08:00
2f793833eb feat(rbac): add RbacController with role CRUD, permissions tree, and user management endpoints 2026-07-02 11:42:23 +08:00
9051497704 chore: check off Task 4 (Auth module integration) 2026-07-02 11:38:07 +08:00
80ff225e92 feat(rbac): integrate RbacService into AuthService login, update JWT payload 2026-07-02 11:36:04 +08:00
7ea0d268fb chore: check off Task 3 (PermissionGuard + decorators) 2026-07-02 11:31:18 +08:00
c0b2ab9588 feat(rbac): add PermissionGuard, @Public and @RequirePermission decorators 2026-07-02 11:29:28 +08:00
cd62a6dbe2 chore: check off Task 2 (RbacModule + RbacService) 2026-07-02 11:26:03 +08:00
23e96dcfbd feat(rbac): add RbacModule and RbacService with seed data and role CRUD 2026-07-02 11:22:48 +08:00
cd8248ad6c chore: check off Task 1 (database entities) 2026-07-02 11:17:59 +08:00
e811df9a46 feat(rbac): add Permission and Role entities, update User entity 2026-07-02 11:16:14 +08:00
陈浩
78676a124a feat: 恭学教育基地管理系统初始提交
- 后端: NestJS 11 + TypeORM + JWT认证 + SQLite/MySQL
- 前端: React 19 + Ant Design 6 + Vite 8 + ECharts
- 功能模块: 数据面板、学生管理、宿舍管理、入住管理、费用录入、账单管理、教室管理、押金管理、操作日志、账号管理
- 支持Docker一键部署
2026-06-06 17:26:10 +08:00