mirror of
https://github.com/Corsinvest/cv4pve-admin.git
synced 2026-04-26 05:15:51 +03:00
[PR #218] refactor: SSH layer + [Display] attrs + misc cleanup #299
Labels
No labels
bug
bug
enhancement
feedback
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-admin#299
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/Corsinvest/cv4pve-admin/pull/218
State: closed
Merged: Yes
Summary
SSH layer refactoring
SshAuthMethod: addNone(new default) andSameAsWebApioptions with[Display]attributesSshCredential.IsConfigured: updated to handleNone/SameAsWebApi; default auth changed fromPasswordtoNoneClusterSettings: add computed propertiesSshIsConfigured,DisplayName,FullDisplayName,TypeLabel,TypeIcon,ApiHostsAndPortHA— logic moved from extensionsClusterSettingsExtensions: remove methods now onClusterSettingsClusterClient/PveClientWithRetry: adapt to new SSH auth modelSshCredentialSettings/WebApiCredentialSettings/RenderClustersSettings: adapt to new modelMisc
[Display]attributes toWebHookAuthType,ToolOutputFormat,Notifyenums (used byEnumDropDown)site.css(moved tocv4pve.cssor unused)MainLayout: update security warning textSystemReportmodels: minor refactorTest plan
None→ SSH-dependent features disabledSameAsWebApi→IsConfigured = true, SSH uses WebAPI credentialsPassword/PrivateKey→ normal flow worksDisplayName/FullDisplayNameshown correctly in cluster listEnumDropDownshows display names forWebHookAuthType,ToolOutputFormat