Commit Graph

20 Commits

Author SHA1 Message Date
d422ffd48e refactor: rebrand to SafeSight Control (merge p0-dashboard) 2026-07-17 11:08:47 +08:00
84b8b1c65a fix: remove transactions causing SQLITE_BUSY, add coding rules
- persistTask: 去掉事务,每个 Exec 原子即可
- saveAsset(profiles): 去掉事务,profile 和 units 分步保存
- CLAUDE.md: 加两条规则——不用事务除非必要;调试只加日志不改代码
2026-05-12 16:43:44 +08:00
15f6f91fb6 feat: task timestamps, dirty state, confirmation dialog
- Task 模型增加 CreatedAt/CompletedAt,DB 读取和快照同步
- 总览页最近任务显示时间,限制5条,增加"更多 →"链接
- 任务中心增加创建时间/完成时间列
- 管控台"保存并下发"按钮:修改功能或视频源后才激活
- 下发前弹出变更摘要确认对话框
- 下发后回到管控台并显示任务ID
2026-05-12 14:26:10 +08:00
286dcaa945 feat: persist device features to DB as source of truth
- device_features 表:持久化设备检测功能选择
- pageConsole 从 DB 读取功能选择(非从模板反推)
- actionConsoleSave 先存 DB 再从 DB 读取运行流水线
- 模板选择改为最精确匹配(单功能只用该功能模板)
- 修复内存指标解析(补充 memory 字段)
2026-05-12 13:40:37 +08:00
b7268212e3 chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
f8d1083b2d fix: check duplicate photo in AddPhoto 2026-05-08 12:53:06 +08:00
cb1ce4deaa feat: real photo delete from DB and disk, pass photo IDs to edit modal 2026-05-08 12:29:10 +08:00
b52db0b434 feat: portrait cards, photo storage, edit button for face gallery 2026-05-08 11:10:58 +08:00
f3ae1ba6f4 feat: card layout with photo carousel for face gallery 2026-05-08 11:04:12 +08:00
d4fe5c8459 feat: manage persons in app.db, auto-rebuild face_gallery.db 2026-05-08 10:45:35 +08:00
c77391e5c5 feat: face gallery management page with person CRUD 2026-05-08 09:42:32 +08:00
a7bd5e1309 feat: alarm collector service - poll devices for alarm records 2026-05-07 10:27:35 +08:00
8548c9b18b feat: add ResourcesRepo for standard_resources CRUD 2026-05-06 12:29:36 +08:00
713ee233db feat: add standard_resources table to schema 2026-05-06 12:28:37 +08:00
7ae66b2569 Add model management workflow to admin backend 2026-05-05 11:14:57 +08:00
03e0c2f2cc Refactor admin IA around scene templates and assignments 2026-05-03 09:50:46 +08:00
328705ebc6 Refactor config management flow and admin IA 2026-04-29 18:59:57 +08:00
5620aad10b Add third-party service storage support 2026-04-29 10:42:24 +08:00
d712e5628b Add visual template editor and refine template management 2026-04-28 18:45:28 +08:00
43d18d0c7b feat: add local sqlite storage foundation 2026-04-28 15:21:16 +08:00