The Go server now keeps a per-device group override (device_groups.json) edited from the card's "..." menu below Edit remark. The override wins over the group the host reported (or the offline history record) in the device list, the group filter, get_groups and the MCP host tools, so offline records can be regrouped and the change survives restarts. An empty value clears the override; names are capped at 23 characters, matching the Win32 regroup dialog. The command is admin-only and honours the device ACL; it refuses IDs the server has never seen (online or in history) so a stale card cannot create an orphan entry, and the remark handler gets the same guard. Each change is audited as admin.device.group, deleting a device drops its override, and values loaded from disk are trimmed and capped like remarks. The menu entry is gated on the groupEdit capability, so the shared page hides it on the MFC server. Like remarks, the override is a Go-side label: no CMD_SET_GROUP is sent, so the host keeps reporting its own group to other masters. Verified with go test ./..., go vet, gofmt and a node --check pass on the page. Co-Authored-By: deepseek-flash
109 lines
1.5 KiB
Plaintext
109 lines
1.5 KiB
Plaintext
# Prerequisites
|
|
*.d
|
|
.svn
|
|
Debug
|
|
Release
|
|
|
|
# Compiled Object files
|
|
*.slo
|
|
*.lo
|
|
*.o
|
|
*.obj
|
|
|
|
# Precompiled Headers
|
|
*.gch
|
|
*.pch
|
|
|
|
# Compiled Dynamic libraries
|
|
*.so
|
|
*.dylib
|
|
*.dll
|
|
|
|
# Fortran module files
|
|
*.mod
|
|
*.smod
|
|
|
|
# Compiled Static libraries
|
|
*.lai
|
|
*.la
|
|
*.a
|
|
|
|
# Executables
|
|
*.exe
|
|
*.out
|
|
*.app
|
|
|
|
# =========================
|
|
# Operating System Files
|
|
# =========================
|
|
|
|
# Windows
|
|
# =========================
|
|
|
|
# Windows thumbnail cache files
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
ehthumbs_vista.db
|
|
|
|
# Folder config file
|
|
Desktop.ini
|
|
|
|
# Recycle Bin used on file shares
|
|
$RECYCLE.BIN/
|
|
|
|
# Windows Installer files
|
|
*.cab
|
|
*.msi
|
|
*.msm
|
|
*.msp
|
|
|
|
# Windows shortcuts
|
|
*.lnk
|
|
*.sdf
|
|
server/2015Remote/2015Remote.aps
|
|
*.ipch
|
|
*.aps
|
|
*.suo
|
|
server/2015Remote.VC.db
|
|
server/2015Remote.opensdf
|
|
*.7z
|
|
*.ini
|
|
test/build/
|
|
|
|
# Security-sensitive design documents
|
|
docs/MultiLayerLicense_Design.md
|
|
docs/MultiLayerLicense_Implementation.md
|
|
docs/_CodeReference.md
|
|
linux/CMakeFiles/*
|
|
Releases/*
|
|
*.log
|
|
*.txt
|
|
linux/Makefile
|
|
linux/cmake_install.cmake
|
|
.vs
|
|
client/ghost_vs2015.vcxproj.user
|
|
docs/macOS_Support_Design.md
|
|
settings.local.json
|
|
*.zip
|
|
*.lic
|
|
YAMA.code-workspace
|
|
.claude/settings.json
|
|
.vscode/settings.json
|
|
Bin/*
|
|
nul
|
|
server/go/web/assets/index.html
|
|
server/go/users.json
|
|
server/go/devices.json
|
|
server/go/device_notes.json
|
|
server/go/device_groups.json
|
|
server/go/build/
|
|
server/go/cmd/*.syso
|
|
server/go/.claude/settings.json
|
|
android/app/.cxx/
|
|
|
|
# MCP 工具清单的中间产物(dump_tools.py 的默认输出)
|
|
tools_raw.json
|
|
|
|
# AI 助手的本地工作记忆(含个人上下文,与 .claude/settings.json 同理)
|
|
.workbuddy-ai/
|