Commit Graph

305 Commits

Author SHA1 Message Date
bf0f838fbc fix: 离线环境自动安装 pip3(通过 get-pip.py 引导) 2026-07-24 08:42:00 +08:00
b2b037bb5b fix: 覆盖 deps/ 前清理旧文件,避免多版本冲突 2026-07-23 19:15:07 +08:00
b08bf2725f fix: deps/ 从 ARM64 设备预下载 cp310 wheel,不再依赖 Windows pip 2026-07-23 19:11:33 +08:00
30f3ae66a4 fix: pip 安装失败有明确提示,fallback 桥接用户 site-packages 2026-07-23 19:08:19 +08:00
76d72c7fe5 fix: pip install 已安装时不报错 2026-07-23 19:07:33 +08:00
c8c04dbc68 fix: install.sh 自动全局安装 Python 依赖(解决 root 服务访问不到用户 pip 包的问题) 2026-07-23 19:03:31 +08:00
d9f3c6ca58 fix: pip download 指定 Python 3.10,匹配 Ubuntu 22.04 2026-07-23 18:59:32 +08:00
2ba159c71c fix: 构建人脸库按钮样式对齐、显示构建结果消息、已构建时提示重新确认 2026-07-23 18:49:30 +08:00
3c9f4ec98b fix: 构建按钮使用标准 btn class,步骤编号修正,预建 face_gallery 目录 2026-07-23 18:41:47 +08:00
f8f69dec74 feat: 部署包包含标准模型 (.rknn),启动自动同步到数据库 2026-07-23 18:40:00 +08:00
e30e7bf882 fix: install.sh 创建 configs/tools/scripts 目录 2026-07-23 18:21:04 +08:00
b73ccdefed feat: install.sh 支持升级模式,自动识别已有安装,保留配置和数据 2026-07-23 18:10:46 +08:00
e411385718 feat: 一键安装脚本 install.sh,自动识别架构 2026-07-23 18:09:33 +08:00
24b9400767 feat: 离线部署包一体化,启动自动导入种子数据,人脸库构建流程修复
- package.sh: 打包包含 configs 种子数据、tools 构建工具、deps 离线依赖、scripts 辅助脚本
- ImportSeedAssets: 首次启动检测空库自动导入 templates/profiles/overlays
- face_gallery.html: 添加构建人脸库按钮
- device.html: 无标准配置时显示设备实际模型/资源,无人脸库配置时隐藏按钮
- register-face-gallery.py: 手动注册已构建人脸库到 standard_resources
- deployment.md: 更新部署流程反映新包结构
- .gitignore: 排除 *.tar.gz 构建产物
2026-07-23 17:57:47 +08:00
97af8904ef fix: 新增初始资产导入脚本,解决新管理端无模板无法部署的问题
- import-assets.py: Python 脚本,从 configs 目录导入模板/场景/覆盖层到 SQLite
- import-assets.sh: Bash 备选方案
- assets-import.tar.gz: 包含 edge 项目的 configs 和导入脚本的离线包

待办: 管理端启动时应自动检测空库并导入种子数据
2026-07-23 16:11:06 +08:00
3d109b4b11 chore: 同步之前未提交的改动 (auto_config, ui, console) 2026-07-22 11:16:25 +08:00
c440186ce3 fix: 统一管理端部署路径,设备详情页支持无标准配置时展示设备实际模型/人脸库
- 所有路径统一为 /opt/safesightd/{bin,config,data}
- 新增 safesightd.json.example 使用绝对路径,不含 dev 私货
- package.sh 打包时使用示例配置,README 给出完整命令
- safesightd.service 精简冗余配置
- device.html: 无标准配置时仍展示设备上的模型/资源状态
- deployment.md: 路径对齐,补全配置字段
2026-07-22 11:14:30 +08:00
a110436e2d fix: minio uses Start-Process directly instead of bat file 2026-07-22 09:31:25 +08:00
848580f3ee fix: mock alarm and minio use cmd window to avoid silent exit 2026-07-22 09:29:36 +08:00
56dcee8741 设置token 2026-07-21 18:19:54 +08:00
7a8e30daba docs: add control panel deployment guide 2026-07-21 18:17:44 +08:00
5c7fe47a36 feat: add offline packaging script for control panel 2026-07-21 18:14:43 +08:00
e284048435 feat: default integrations, inject into config, console live sync, task sort 2026-07-21 18:08:07 +08:00
a0f22230cb fix: console only deploys changed devices; wizard shows display names and pre-checks features 2026-07-21 16:55:22 +08:00
c57ca0b5a0 build: update Linux ARM64 binary 2026-07-21 10:55:41 +08:00
fe7ff6719d rename: /v1/media-server/* -> /v1/edge-server/* 2026-07-21 10:06:48 +08:00
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