Commit Graph

279 Commits

Author SHA1 Message Date
b3e816e028 chore: remove media-server from dev-env script 2026-07-20 18:13:13 +08:00
4443440f0f feat: face gallery reload as task; device page model/resource status; task completion time fix 2026-07-20 16:56:36 +08:00
29db6be66d feat: device detail page shows real model/resource status with SHA256 comparison; filter unavailable features on console 2026-07-20 16:34:31 +08:00
0a9a1bd005 feat: console only shows device-supported features (filter unavailable) 2026-07-20 16:04:05 +08:00
ab32118f75 fix: remove /ui prefix globally, fix face-photo encoding, fix console video, default sort by time 2026-07-20 15:54:09 +08:00
b7757c7387 fix: normalize percent-encoding case in serveFacePhoto via PathUnescape; remove /ui prefix globally 2026-07-20 15:25:29 +08:00
32fcd43801 fix: actionFaceGalleryAdd now registers person/photo in SQLite DB 2026-07-20 15:01:31 +08:00
248f62ca5d fix: start mediamtx from its own directory so it finds mediamtx.yml 2026-07-20 14:32:35 +08:00
a1143562c4 fix: pass mediamtx config file path explicitly 2026-07-20 14:31:36 +08:00
4ad664ecc5 fix: wait for mediamtx port 8554 before starting ffmpeg 2026-07-20 14:27:07 +08:00
0207593975 fix: use localhost for RTSP (mediamtx on same machine) 2026-07-20 14:26:19 +08:00
890755251d fix: write bat with UTF-8 to preserve Chinese path; use chcp 65001 2026-07-20 14:24:45 +08:00
220a66b1c7 fix: launch ffmpeg via cmd /k for real console window 2026-07-20 14:23:15 +08:00
e1e5f783c0 fix: resolve full exe path via Get-Command for Start-Process 2026-07-20 14:22:07 +08:00
c09a999710 fix: show ffmpeg window so errors are visible 2026-07-20 14:20:41 +08:00
d09031157d fix: media-server runs on 3588, skip in local dev; fix mock_alarm path 2026-07-20 14:17:38 +08:00
51079466a3 fix: use Get-Command for PATH executables like ffmpeg 2026-07-20 14:15:34 +08:00
33fadd17bd fix: handle empty args in Start-Detached 2026-07-20 14:13:49 +08:00
af7447ccad fix: adjust paths for safesight-control location 2026-07-20 14:13:02 +08:00
f5d7da6fd2 add dev-env.ps1 for one-click local test environment 2026-07-20 14:12:48 +08:00
103f9296b0 chore: add Linux ARM64 binary for RK3588 deployment 2026-07-20 12:04:31 +08:00
2b11844062 fix: 仪表盘页面标题同步为首页 2026-07-20 12:01:17 +08:00
a0c6df78b6 修改菜单名称和顺序 2026-07-20 11:36:58 +08:00
08ec88c45e feat: 视频源管理页增加 CSV 模板下载与批量导入 2026-07-20 10:52:25 +08:00
2369a1e3dc feat: 首次使用无检测通道时,仪表盘自动跳转到部署向导 2026-07-20 10:34:30 +08:00
96e689fec0 feat: 模型管理与人脸库产品化改进,通道部署配置状态指示
P2-14 模型管理简化:
- 上传新模型:模态框上传 → 存盘 → SHA256 入库 → 可选自动分发
- 设备兼容性矩阵:根据 Edge /v1/capabilities 区分缺失 vs 不适用
- 版本管理:从固定 auto 改为文件修改时间戳
- 更新全部智能过滤:只推送缺失/不一致的设备

P2-15 人脸库优化:
- Build 产出自动注册为标准资源,接入 Resource Task 分发系统
- 人脸库页面增加设备同步状态矩阵 + 批量同步按钮
- 人员搜索过滤
- 人脸质量评分反馈(构建诊断信息 + 通过率展示)

新增:通道部署页每台设备显示配置同步状态(对比 config_versions 与 Edge config SHA256)

文档:产品化改进计划、实施跟踪、模型与人脸库改进方案
2026-07-20 10:27:11 +08:00
9094f1f0fc docs: update tracking — P2-12 done, P2-11 postponed, 10/15 (66.7%) 2026-07-17 18:50:37 +08:00
ca5b687ee1 feat: config version history — auto-save on deploy, side-by-side JSON diff 2026-07-17 18:47:19 +08:00
232526de06 feat: CSV alarm export — supports filters, Excel-compatible with BOM 2026-07-17 18:16:10 +08:00
3adc1e1a43 refactor: register alarm API routes at /api/ level instead of /ui/api/ — consistent REST design 2026-07-17 18:09:46 +08:00
139baeef5f fix: add /ui prefix to alarm API calls — chart trending data was 404 2026-07-17 18:06:50 +08:00
a58c99a2f3 feat: alarm trend bar chart on dashboard — past 7 days, pure Canvas 2026-07-17 17:55:36 +08:00
a594e05692 refactor: unify terminology — 视频通道→检测通道, 场景→场景管理, 人脸库管理→人脸库 2026-07-17 17:51:45 +08:00
c71922a05d fix: hide static msg div when toast shows, prevent double display 2026-07-17 17:45:14 +08:00
53577b0ea6 feat: toast notifications replace URL parameter messages — auto-dismiss, no page reload 2026-07-17 17:43:56 +08:00
b2fbae9e4b feat: device row warning highlight when online but media server not running 2026-07-17 17:39:53 +08:00
bc5bd7d3fc fix: alarm badge shows 99+ on initial render for counts above 99 2026-07-17 17:36:16 +08:00
3d7313585c feat: alarm notification — topbar bell badge + title flash with unacknowledged count 2026-07-17 17:32:19 +08:00
13d22ce848 fix: wizard camera picker — select from existing video sources dropdown 2026-07-17 17:23:50 +08:00
bf0fed23f9 fix: wizard reads device channels from agent /v1/preview/channels instead of SQLite 2026-07-17 17:21:28 +08:00
b50ccda82d fix: wizard step 2 — separate assigned/added cameras, show loading state for features 2026-07-17 17:06:59 +08:00
3f3a2a0987 feat: deployment wizard — guided 3-step device setup for standard mode 2026-07-17 16:59:00 +08:00
59a18f3e62 feat: dashboard redesign with real-time alarm stream via SSE 2026-07-17 16:43:13 +08:00
3f6f3ddbb5 feat: alarm center enhancement — workflow, severity, filters, SSE 2026-07-17 16:35:42 +08:00
c14173acd2 docs: update improvement plan and tracking based on code review 2026-07-17 16:28:46 +08:00
2b989aa368 docs: add implementation tracking for improvement plan 2026-07-17 16:22:47 +08:00
27584f931a fix: use vendored hls.js instead of CDN in monitor page 2026-07-17 16:21:31 +08:00
770e50ab7b chore: ignore editor backup files (*~, *.exe~) 2026-07-17 11:47:39 +08:00
aa76607092 feat: add standard/expert mode toggle for sidebar menu
- Add mode toggle switch at sidebar bottom (标准/专家)
- Hide complex system config items in standard mode
- Remove '主模块' nav section header
- Persist mode selection in localStorage
2026-07-17 11:46:37 +08:00
ccde3aeea6 fix: update import path in alarm_collector.go (p0-dashboard merge) 2026-07-17 11:10:16 +08:00