Commit Graph

344 Commits

Author SHA1 Message Date
70738edb31 feat(control): 双层版本模型 - 语义化主版本显示
- 新增 VERSION 文件(1.0.0)作为 control 主版本号来源
- UI 版本展示分层: 列表页/详情页/footer 显示 V1.0.0, 构建号悬停可见
- init() 兜底: 未注入时 0.0.0
2026-08-01 17:16:13 +08:00
2a6e2ea707 fix(control): 消除 dev 占位版本号,init() 兜底为构建时间
即使构建时忘记注入 ldflags,footer 也不会显示占位版本
2026-08-01 17:01:03 +08:00
c6da0a6c6d feat(control): 版本机制打通,UI 展示 agent/引擎/control 真实版本
- ui.go: 版本号由硬编码常量改为可注入变量( -X ...web.Version )
- 新增 service.FetchDeviceVersions: 调用 edge /v1/versions 采集
  agent 版本/build_id/git_sha + media 引擎版本 + 设备模型数
- 设备详情页: 新增引擎版本/构建信息/模型数量展示
- 设备列表页: 新增版本列(含 build/git 悬停提示)
- 构建脚本(3处): 注入 control 版本号(git describe)
- 新增模板语法测试(43个模板防回归)
2026-08-01 16:54:10 +08:00
0c52d01c0b fix: channelNo defaults to video source name, cleanup orphan units, disable date prefix in template 2026-07-31 15:18:27 +08:00
33a7367ecd fix: add InjectIntegrationsIntoConfig to device detail deploy path; docs: add edge config check command 2026-07-29 22:35:36 +08:00
24386d9cf0 chore: delete 29 legacy skipped tests, fix storage test build error 2026-07-27 21:11:20 +08:00
e4608f48a0 fix: integration test video source detection for Chinese names 2026-07-27 21:04:54 +08:00
b256ecc5d2 test: add 9 integration tests against live safesightd API 2026-07-27 21:03:14 +08:00
d1f85ee794 test: add 18 tests - injectIntegrations, device overlays, tuning, template clone, mergeRuntimeInstancePatch, wizard, ResolveChannelToSource, SaveVideoSourceAsset 2026-07-27 19:43:59 +08:00
1ae06ec1fb refactor: reorganize tuning groups by detection function (shoe violation, unknown face, known person, etc.) 2026-07-27 19:19:34 +08:00
43cb4b8411 feat: add description text to tuning sliders explaining parameter behavior 2026-07-27 19:17:23 +08:00
6e32d15c86 feat: add hint with reference values to tuning sliders 2026-07-27 19:14:27 +08:00
3084ddc524 fix: add space between number and unit on tuning sliders 2026-07-27 19:10:24 +08:00
6229a340a8 fix: tune slider formatting - max 2 decimals, integers show no decimal 2026-07-27 19:09:45 +08:00
1de96c4c02 refactor: use hardcoded tuning definitions instead of template-embedded tuning section 2026-07-27 19:07:00 +08:00
723239812b fix: overlay checkbox alignment in device detail page 2026-07-27 18:39:40 +08:00
45470d0908 refactor: move overlay selection from console to device detail page 2026-07-27 18:35:08 +08:00
8d8daf1b7f feat: add anti-tamper guard for standard template tuning page 2026-07-27 18:27:21 +08:00
b2cb0b9a67 feat: template tuning - slider-based parameter adjustment with affected-device detection 2026-07-27 18:26:04 +08:00
0895d19fe0 fix: clone standard template to user-editable copy before first use 2026-07-27 18:17:29 +08:00
76f4b5af9a fix: add migration for overlays_json column on existing device_features tables 2026-07-27 18:01:57 +08:00
aa5b6bb940 fix: pass overlays to RenderDeviceAssignment on deploy path 2026-07-27 17:57:10 +08:00
e68a1ab8ba feat: 覆盖层勾选持久化,刷新后保留 2026-07-27 16:29:14 +08:00
a98c8fa77b fix: 覆盖层页面添加新增按钮,支持空白新建 2026-07-27 16:19:07 +08:00
6abfa7024b feat: 看板页面添加告警覆盖层勾选,下发时自动应用 2026-07-27 16:12:24 +08:00
6f8d4e8c93 feat: 部署向导自动应用production_*覆盖层 2026-07-27 16:02:38 +08:00
7b8cf92b87 feat: 导出CSV加HLS代理列,按IP排序 2026-07-27 15:11:09 +08:00
dd83080ae2 fix: 回退ensureDevicesLoaded,恢复原版'全离线才搜索'逻辑 2026-07-27 12:09:06 +08:00
bf5f0bbefe fix: 导出视频地址去掉通道名列 2026-07-27 11:31:35 +08:00
e8a8432c48 fix: 导出视频地址只包含已部署通道 2026-07-27 11:27:22 +08:00
ac305f3106 feat: 设备管理页导出所有设备的视频流地址CSV 2026-07-27 11:22:30 +08:00
425bf2ca92 feat: 检测通道详情添加RTSP和HLS完整地址 2026-07-27 11:16:47 +08:00
a1ed9e2457 feat: 检测通道列表添加RTSP和HLS地址列 2026-07-27 11:14:39 +08:00
d6af1ebc88 test: 删除9个静态内容测试,修复预存断言,web测试全部通过 2026-07-27 01:32:18 +08:00
931faf999e test: 修复预存测试断言,清理静态内容测试,更新测试计划 2026-07-27 01:27:14 +08:00
e7d7d9a23b test: 修复预存测试(/ui/前缀同步),记录已知失败 2026-07-27 01:16:59 +08:00
66547ddd16 test: P1 ConsoleSave测试 + 修复旧测试签名 2026-07-27 01:12:06 +08:00
597baa1191 test: P0#3 BuildPipeline单元测试(创建识别单元、去重、空源) 2026-07-27 01:09:02 +08:00
2c3978e745 test: P0#1 #2 - deriveSafeInstanceName和cleanSourceNames单元测试 2026-07-27 01:06:04 +08:00
acf599df6d fix: 系统页布局调整——备份恢复移到服务配置下方 2026-07-26 14:15:32 +08:00
4968d6203a fix: 设备列表配置列显示模板名而非ConfigID 2026-07-26 14:12:10 +08:00
a801340d14 fix: 本机时间卡片移到系统页顶部 2026-07-26 14:04:23 +08:00
40e8b35e6b fix: 时间同步按钮改为JS控制,勾选后即时显示 2026-07-26 13:59:11 +08:00
257f3ac034 feat: 时间同步阈值可配置,系统页添加本机时间卡片 2026-07-26 13:53:22 +08:00
aa20bdaeb1 fix: 批处理统一过滤离线设备,时间同步跳过无偏差设备 2026-07-26 13:48:15 +08:00
47655b75d2 feat: 批量工具栏添加时间同步按钮 2026-07-26 13:42:09 +08:00
cf687a7b5d chore: CSS版本号升至ia13 2026-07-26 13:33:51 +08:00
976fdd0e12 fix: 暗色主题danger-soft颜色修正,显示红色 2026-07-26 13:32:07 +08:00
0910b1c881 feat: 设备列表显示时间偏差角标(偏差>5秒) 2026-07-26 13:25:57 +08:00
ab125a1489 fix: 默认帧率改为30 2026-07-26 13:17:37 +08:00