safesight-control/internal/service
tian 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
..
agent_client.go rename: /v1/media-server/* -> /v1/edge-server/* 2026-07-21 10:06:48 +08:00
alarm_collector.go fix: 保存告警保留天数后立即触发清理,即时生效 2026-07-25 13:23:04 +08:00
auto_config_test.go test: add 18 tests - injectIntegrations, device overlays, tuning, template clone, mergeRuntimeInstancePatch, wizard, ResolveChannelToSource, SaveVideoSourceAsset 2026-07-27 19:43:59 +08:00
auto_config.go fix: channelNo defaults to video source name, cleanup orphan units, disable date prefix in template 2026-07-31 15:18:27 +08:00
config_assets_test.go test: P1 ConsoleSave测试 + 修复旧测试签名 2026-07-27 01:12:06 +08:00
config_assets.go refactor: 视频源删除改用ID,彻底避免中文URL编码问题 2026-07-26 13:09:06 +08:00
config_preview_test.go fix: add InjectIntegrationsIntoConfig to device detail deploy path; docs: add edge config check command 2026-07-29 22:35:36 +08:00
config_preview.go feat: 看板页面添加告警覆盖层勾选,下发时自动应用 2026-07-27 16:12:24 +08:00
config_runtime_render.go feat: template tuning - slider-based parameter adjustment with affected-device detection 2026-07-27 18:26:04 +08:00
device_versions.go feat(control): 版本机制打通,UI 展示 agent/引擎/control 真实版本 2026-08-01 16:54:10 +08:00
discovery.go refactor: rebrand to SafeSight Control (merge p0-dashboard) 2026-07-17 11:08:47 +08:00
face_gallery_builder.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
integration_test.go fix: integration test video source detection for Chinese names 2026-07-27 21:04:54 +08:00
model_management_test.go feat: 模型管理与人脸库产品化改进,通道部署配置状态指示 2026-07-20 10:27:11 +08:00
model_management.go feat: 模型/资源/人脸库页设备名旁显示IP;设备列表按IP+名称排序 2026-07-24 20:18:11 +08:00
profile_editor.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
registry_test.go refactor: rebrand to SafeSight Control (merge p0-dashboard) 2026-07-17 11:08:47 +08:00
registry.go feat: 模型/资源/人脸库页设备名旁显示IP;设备列表按IP+名称排序 2026-07-24 20:18:11 +08:00
resource_management_test.go refactor: rebrand to SafeSight Control (merge p0-dashboard) 2026-07-17 11:08:47 +08:00
resource_management.go fix: 全局移除关键功能对dev.Online的依赖,改用实际HTTP调用判断设备在线 2026-07-25 12:39:15 +08:00
standard_templates.go feat: 离线部署包一体化,启动自动导入种子数据,人脸库构建流程修复 2026-07-23 17:57:47 +08:00
task_test.go rename: /v1/media-server/* -> /v1/edge-server/* 2026-07-21 10:06:48 +08:00
task.go feat: 时间同步阈值可配置,系统页添加本机时间卡片 2026-07-26 13:53:22 +08:00
template_composer_test.go feat: console one-click auto-config pipeline 2026-05-12 13:26:49 +08:00
template_composer.go feat: console one-click auto-config pipeline 2026-05-12 13:26:49 +08:00
template_slots_test.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
template_slots.go chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
template_test.go refactor: rebrand to SafeSight Control (merge p0-dashboard) 2026-07-17 11:08:47 +08:00
template.go refactor: rebrand to SafeSight Control (merge p0-dashboard) 2026-07-17 11:08:47 +08:00
tuning_test.go test: add 18 tests - injectIntegrations, device overlays, tuning, template clone, mergeRuntimeInstancePatch, wizard, ResolveChannelToSource, SaveVideoSourceAsset 2026-07-27 19:43:59 +08:00
tuning.go refactor: reorganize tuning groups by detection function (shoe violation, unknown face, known person, etc.) 2026-07-27 19:19:34 +08:00