SpecialX
|
6585e10c6f
|
feat(P2): 实现质量保障类5项功能(无障碍/视觉回归/通知渠道/漏洞扫描/灾备)
## 新增功能
### 1. 屏幕阅读器兼容性增强(a11y)
- 无障碍工具库:src/shared/lib/a11y.ts
- aria-live Hook:src/shared/hooks/use-aria-live.ts
- a11y 组件:skip-link/visually-hidden/focus-trap/aria-status
- 增强 UI:table.tsx 系统性 ARIA role,dialog.tsx aria-modal
- 审计文档:docs/accessibility/a11y-audit.md(WCAG 2.1 AA 清单)
### 2. 视觉回归测试
- 测试套件:tests/visual/(homepage + 3 个 dashboard)
- 3 视口(desktop/tablet/mobile)× 2 主题(light/dark)
- 动态元素遮罩,避免误报
- playwright.config.ts 新增 visual-chromium 项目
- 文档:docs/testing/visual-regression.md
### 3. 短信/微信推送渠道集成
- 新模块:src/modules/notifications/
- 4 个渠道:SMS(阿里云/腾讯云)、WeChat(公众号)、Email(SMTP)、In-App
- 分发器按用户偏好并行多渠道发送
- 外部 SDK 动态 import,Mock 模式开发可用
- 文档:docs/notifications/channels.md
### 4. 漏洞扫描 CI 集成
- CI security-scan job:npm audit + Snyk + Trivy FS + OWASP ZAP
- 独立工作流 security.yml:每周一深度扫描 + 容器镜像扫描
- 配置:suppressions.json + .trivyignore
- 本地脚本:security-scan.sh/ps1
- 文档:docs/security/scanning.md(SLA 分级)
### 5. 灾备方案
- 脚本:backup-verify/backup-offsite-sync/dr-drill/failover/health-check
- CI 增强:备份后校验+异地同步,每周灾备演练
- 独立工作流 dr-drill.yml:每周一凌晨 4 点自动演练
- 文档:docs/dr/dr-plan.md(RTO 4h/RPO 24h)+ dr-runbook.md(6 故障场景)
## 验证
- npx tsc --noEmit:0 错误
- npm run lint:0 错误 0 警告
|
2026-06-17 20:18:29 +08:00 |
|
SpecialX
|
3b6272c99d
|
feat: 完成 P1 全部功能 + 修复 proxy 导出 + 切换 MySQL 端口至 14013
## P1 功能(20 项)
- 站内消息系统、家长仪表盘、学生考勤管理
- Excel 导入导出、用户批量导入、成绩导出
- 排课规则+自动排课+课表调整
- 成绩趋势+对比分析、密码安全策略、速率限制
- 数据变更日志、文件预览+存储策略、全文检索
- 依赖审计集成 CI、数据库定时备份、E2E 测试完善
- 通知偏好管理
## 基础设施修复
- src/proxy.ts: 将 middleware 导出重命名为 proxy(Next.js 16 要求)
- .env: MySQL 端口从 13002 切换至 14013
- scripts/create-db.ts: 新增数据库初始化脚本
## 架构文档同步
- 004_architecture_impact_map.md 和 005_architecture_data.json
完整记录所有新增表、模块、路由、权限、依赖关系
|
2026-06-17 13:44:37 +08:00 |
|
SpecialX
|
99f116cb64
|
=test_update_homework_tests_and_work_log
CI / build-deploy (push) Has been cancelled
|
2026-03-19 13:16:49 +08:00 |
|
SpecialX
|
8f974c04e0
|
refactor-ci-standalone
|
2026-02-26 16:38:07 +08:00 |
|
SpecialX
|
16ebbbe924
|
remove deploy setup network
|
2026-02-26 15:48:42 +08:00 |
|
SpecialX
|
175af10881
|
fix-deploy-no-proxy
|
2026-02-25 18:27:53 +08:00 |
|
SpecialX
|
ef9b987653
|
fix-deploy-network
|
2026-02-25 18:03:32 +08:00 |
|
SpecialX
|
cc02ddf82e
|
fix-ci-proxy
|
2026-02-25 15:17:49 +08:00 |
|
SpecialX
|
3986c5919c
|
chore: inject proxy envs for ci
|
2026-02-25 13:42:41 +08:00 |
|
SpecialX
|
bd8a4d39a6
|
chore: configure npm proxy in ci
|
2026-02-25 13:34:34 +08:00 |
|
SpecialX
|
0f38e97b4e
|
remove configure npm registry
|
2026-02-25 12:36:20 +08:00 |
|
SpecialX
|
9c83fcc7c1
|
chore-npm-ci-stable
|
2026-02-25 11:30:07 +08:00 |
|
SpecialX
|
ddd3227693
|
log ci fail
|
2026-02-25 11:02:06 +08:00 |
|
SpecialX
|
ca465622dc
|
chore-ci-cache
|
2026-02-24 18:55:36 +08:00 |
|
SpecialX
|
2e9078f810
|
chore-ci-cache
|
2026-02-24 18:37:03 +08:00 |
|
SpecialX
|
ac859ee560
|
Update-remaining-files
|
2026-02-24 16:07:15 +08:00 |
|
SpecialX
|
57807def37
|
完整性更新
现在已经实现了大部分基础功能
|
2026-01-08 11:14:03 +08:00 |
|
SpecialX
|
0da2eac0b4
|
强制buildSSR
|
2025-12-31 14:01:12 +08:00 |
|
SpecialX
|
e7c902e8e1
|
Module Update
|
2025-12-30 14:42:30 +08:00 |
|
SpecialX
|
be36a7131c
|
chore: remove debug steps and loyment workflow
|
2025-12-22 13:58:31 +08:00 |
|
SpecialX
|
b7ec909073
|
chore: remove debug steps and loyment workflow
|
2025-12-22 13:52:34 +08:00 |
|
SpecialX
|
aaf4e498f8
|
chore: remove debug steps and loyment workflow
|
2025-12-22 13:38:56 +08:00 |
|
SpecialX
|
36b2275f50
|
chore: remove debug steps and loyment workflow
|
2025-12-22 13:28:18 +08:00 |
|
SpecialX
|
b453bab8b8
|
chore: remove debug steps and loyment workflow
|
2025-12-22 13:27:45 +08:00 |
|
SpecialX
|
fc3e9a4220
|
chore: remove debug steps and loyment workflow
|
2025-12-19 18:13:48 +08:00 |
|
SpecialX
|
11ea7c880c
|
chore: remove debug steps and loyment workflow
|
2025-12-19 17:32:28 +08:00 |
|
SpecialX
|
b918744f6a
|
chore: remove debug steps and loyment workflow
|
2025-12-19 17:25:57 +08:00 |
|
SpecialX
|
5e417d313b
|
chore: remove debug steps and finalize deployment workflow
|
2025-12-19 17:22:21 +08:00 |
|
SpecialX
|
99a22910b2
|
chore: remove debug steps and finalize deployment workflow
|
2025-12-19 17:19:09 +08:00 |
|
SpecialX
|
5d8f474582
|
chore: debug build output structure
|
2025-12-19 17:06:09 +08:00 |
|
SpecialX
|
576fe62cf6
|
fix: upload specific standalone artifacts to simplify structure
|
2025-12-19 16:42:56 +08:00 |
|
SpecialX
|
1eff250619
|
fix: upload specific standalone artifacts to simplify structure
|
2025-12-19 16:29:12 +08:00 |
|
SpecialX
|
b4b21e2b16
|
chore: add debug step to list artifact structure
|
2025-12-19 16:15:53 +08:00 |
|
SpecialX
|
16a0c021b1
|
fix: remove invalid docker binary mount and reinstall cli
|
2025-12-19 16:04:23 +08:00 |
|
SpecialX
|
59dc0bcf50
|
fix: remove invalid docker binary mount and reinstall cli
|
2025-12-19 14:57:56 +08:00 |
|
SpecialX
|
277d671d9f
|
fix: remove invalid docker binary mount and reinstall cli
|
2025-12-19 14:55:47 +08:00 |
|
SpecialX
|
431924526f
|
fix: mount docker socket and binary to node container
|
2025-12-19 14:53:35 +08:00 |
|
SpecialX
|
178552659e
|
fix: run deploy job on host to use host docker cli
|
2025-12-19 14:49:14 +08:00 |
|
SpecialX
|
ba66d406dc
|
fix: reinstall docker cli in deploy container
|
2025-12-19 14:45:55 +08:00 |
|
SpecialX
|
5f8373b5ef
|
fix: remove docker cli installation
|
2025-12-19 14:35:09 +08:00 |
|
SpecialX
|
0fb25ea395
|
feat: setup standalone build and docker deployment
|
2025-12-19 14:09:20 +08:00 |
|
SpecialX
|
4bd5c687bc
|
feat: setup standalone build and docker deployment
|
2025-12-18 17:16:39 +08:00 |
|
SpecialX
|
81a91fbfff
|
v3
|
2025-12-17 17:16:25 +08:00 |
|
SpecialX
|
dbed215d5b
|
ci: run job in node:20 container and install git; add proxy env
|
2025-12-17 17:07:06 +08:00 |
|
SpecialX
|
ca23d03634
|
node
|
2025-12-16 11:54:31 +08:00 |
|
SpecialX
|
909767b9ce
|
ci: run job in node:20 container and install git; add proxy env
|
2025-12-15 18:48:41 +08:00 |
|
SpecialX
|
2cfd9ae72d
|
ci: run job in node:20 container and install git; add proxy env
|
2025-12-15 18:46:39 +08:00 |
|
SpecialX
|
86fd51bfab
|
ci: run job in node:20 container and install git; add proxy env
|
2025-12-15 18:35:34 +08:00 |
|
SpecialX
|
40e6a3a52a
|
ci: run job in node:20 container and install git; add proxy env
|
2025-12-15 17:54:18 +08:00 |
|
SpecialX
|
068e90f5eb
|
ci: run job in node:20 container and install git; add proxy env
|
2025-12-15 17:53:25 +08:00 |
|