Pulse/internal
rcourtman 6d56917cd9 feat: Add detection for legacy SSH temperature monitoring
Added automatic detection to alert users when they're using the old
SSH-in-container method for temperature monitoring so they can upgrade
to the secure proxy architecture.

**Detection Logic:**
- Checks if Pulse is running in a container (Docker or LXC)
- Checks if SSH keys exist in data directory (/etc/pulse/.ssh)
- Checks if pulse-sensor-proxy socket is NOT available
- Sets legacySSHDetected and recommendProxyUpgrade flags in health endpoint

**API Changes:**
- Added fields to HealthResponse:
  - legacySSHDetected: true when old method detected
  - recommendProxyUpgrade: true when upgrade is recommended
  - proxyInstallScriptAvailable: always true

**Use Case:**
Users who set up temperature monitoring before the proxy feature
won't know they should upgrade. This detection allows the frontend
to show a banner prompting them to re-run the setup script to
migrate to the secure proxy architecture.

**Frontend Integration (to be added):**
Frontend can poll /api/health and show a dismissible banner similar
to UpdateBanner when legacySSHDetected is true, with a button to
view the setup script.

Addresses #123
2025-10-13 14:40:03 +00:00
..
adapters Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
alerts Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
api feat: Add detection for legacy SSH temperature monitoring 2025-10-13 14:40:03 +00:00
auth Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
config Fix node config API to preserve fields on partial updates 2025-10-12 17:50:55 +00:00
crypto Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
discovery Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
dockeragent Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
errors Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
interfaces Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
mock fix: Add hasCPU/hasNVMe flags to prevent false 'no CPU sensor' errors 2025-10-13 10:17:17 +00:00
models fix: Add hasCPU/hasNVMe flags to prevent false 'no CPU sensor' errors 2025-10-13 10:17:17 +00:00
monitoring fix: Add hasCPU/hasNVMe flags to prevent false 'no CPU sensor' errors 2025-10-13 10:17:17 +00:00
notifications Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
tempproxy refactor: Rename pulse-temp-proxy to pulse-sensor-proxy 2025-10-13 13:17:05 +00:00
types Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
updates chore: bump version to v4.23.0 2025-10-12 16:35:48 +00:00
utils Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
websocket Fix settings security tab navigation 2025-10-11 23:29:47 +00:00