Pulse/internal/config
rcourtman c18cf3d4b8 Fix node config API to preserve fields on partial updates
The PUT /api/config/nodes/{id} endpoint was corrupting node configurations
when making partial updates (e.g., updating just monitorPhysicalDisks):

- Authentication fields (tokenName, tokenValue, password) were being cleared
  when updating unrelated settings
- Name field was being blanked when not included in request
- Monitor* boolean fields were defaulting to false

Changes:
- Only update name field if explicitly provided in request
- Only switch authentication method when auth fields are explicitly provided
- Preserve existing auth credentials on non-auth updates
- Applied fix to all node types (PVE, PBS, PMG)

Also enables physical disk monitoring by default (opt-out instead of opt-in)
and preserves disk data between polling intervals.
2025-10-12 17:50:55 +00:00
..
client_helpers.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
config.go Fix node config API to preserve fields on partial updates 2025-10-12 17:50:55 +00:00
credentials.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
export.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
guest_metadata.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
oidc.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
persistence.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
persistence_test.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
registration.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
settings.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
watcher.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00