[PR #215] feat: SshRequiredGate in NodeProtect/Updater + remove obsolete classes #297

Closed
opened 2026-03-07 19:57:28 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/Corsinvest/cv4pve-admin/pull/215

State: closed
Merged: Yes


Summary

  • NodeProtect Render.razor avvolto in <SshRequiredGate> — mostra messaggio se SSH non configurato invece del contenuto
  • Updater Scans.razor e Overview.razor integrati con SshRequiredGate
  • Rimossi classi obsolete ora rimpiazzate dal nuovo layer SSH:
    • Messages.cs — costante inline dove usata
    • SnapshotSizeService — logica spostata in ClusterClient/SSH
    • PveClientExtensionsVmExecNativeAsync spostato in ClusterClientExtensions
    • VmDiskInfo — sostituito da VmDiskSnapshotInfo
    • SystemLogService — consolidato
  • Aggiornati ServiceCollectionExtensions, DiskInfoHelper, NodeMemoryCleanup

Test plan

  • NodeProtect mostra gate SSH se SSH non configurato
  • NodeProtect funziona normalmente se SSH configurato
  • Updater mostra gate SSH se SSH non configurato
  • Build senza errori di compilazione
**Original Pull Request:** https://github.com/Corsinvest/cv4pve-admin/pull/215 **State:** closed **Merged:** Yes --- ## Summary - **NodeProtect** `Render.razor` avvolto in `<SshRequiredGate>` — mostra messaggio se SSH non configurato invece del contenuto - **Updater** `Scans.razor` e `Overview.razor` integrati con SshRequiredGate - **Rimossi** classi obsolete ora rimpiazzate dal nuovo layer SSH: - `Messages.cs` — costante inline dove usata - `SnapshotSizeService` — logica spostata in `ClusterClient`/SSH - `PveClientExtensions` — `VmExecNativeAsync` spostato in `ClusterClientExtensions` - `VmDiskInfo` — sostituito da `VmDiskSnapshotInfo` - `SystemLogService` — consolidato - Aggiornati `ServiceCollectionExtensions`, `DiskInfoHelper`, `NodeMemoryCleanup` ## Test plan - [ ] NodeProtect mostra gate SSH se SSH non configurato - [ ] NodeProtect funziona normalmente se SSH configurato - [ ] Updater mostra gate SSH se SSH non configurato - [ ] Build senza errori di compilazione
kerem 2026-03-07 19:57:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-admin#297
No description provided.