tftsr-devops_investigation/src-tauri
Shaun Arman a72b69ec34 fix(proxmox): restore reliable connect/reconnect after app restart
Root cause: authenticate() tried to deserialize the Proxmox API response
directly into AuthResponse, but Proxmox wraps every response in
{"data": {...}}.  This caused every reconnect attempt after app restart
to fail silently.

Additional fixes bundled in this commit:
- add_proxmox_cluster now authenticates immediately so the in-memory pool
  always contains a live, ticketed client (not a bare unauthenticated stub)
- ProxmoxClient stores the CSRFPreventionToken and includes it in the
  CSRFPreventionToken header on POST/PUT/DELETE requests (Proxmox requires
  this for all mutating calls)
- accept-invalid-certs enabled on the reqwest Client so self-signed PVE
  certificates do not block connections
- Removed double-unwrap of the data field in 10 commands (list_acls,
  list_users, get_cluster_notes, search_proxmox_resources, get_node_status,
  get_syslog, list_network_interfaces, get_subscription_status,
  list_cluster_tasks, list_proxmox_containers) — handle_response already
  strips the envelope before returning to callers
- Added connect_proxmox_cluster and disconnect_proxmox_cluster Tauri
  commands so the UI can explicitly connect/disconnect sessions
- Wired RemotesPage Connect/Disconnect buttons to the real backend commands
- Updated and added tests covering envelope parsing, CSRF header logic,
  already-unwrapped response handling, and the new connect/disconnect paths
2026-06-20 19:05:00 -05:00
..
.cargo fix(build): remove SODIUM_USE_PKG_CONFIG from .cargo/config.toml [env] block 2026-06-17 21:22:55 -05:00
capabilities fix(proxmox): remove dummy data, fix add-remote, fix updater 2026-06-13 17:33:23 -05:00
gen/schemas chore: update Cargo.lock and schema for v1.2.4 2026-06-13 23:28:42 -05:00
icons feat: full copy from apollo_nxt-trcaa with complete sanitization 2026-06-05 14:12:43 -05:00
resources/ollama feat(ui): fix model dropdown, auth prefill, PII persistence, theme toggle, and Ollama bundle 2026-04-05 19:30:41 -05:00
src fix(proxmox): restore reliable connect/reconnect after app restart 2026-06-20 19:05:00 -05:00
tests/kube feat(k8s): implement clean-room Kubernetes management GUI 2026-06-06 20:27:39 -05:00
build.rs fix(windows): compile memset_shim to real .o via get_compiler() to fix MinGW link 2026-06-19 15:21:58 -05:00
Cargo.lock fix: remove use-pkg-config feature conflicting with SODIUM_LIB_DIR 2026-06-14 10:52:55 -05:00
Cargo.toml fix: remove use-pkg-config feature conflicting with SODIUM_LIB_DIR 2026-06-14 10:52:55 -05:00
memset_s_shim.c fix(windows): ensure memset_explicit symbol is properly exported for MinGW 2026-06-19 09:44:17 -05:00
tauri.conf.json chore: bump version to 1.2.4 2026-06-13 23:28:23 -05:00