fix(pve): Fix connection issues and add more error handlings (#1081)
* feat(PVE): Added display of PVE connection loading steps Added a detailed display of loading steps during the PVE connection process, including stages such as establishing an SSH tunnel, authentication, and data retrieval Also optimized the sorting of PVE storage content and the logic for handling connection errors * feat(pve): Added error handling and prompts for PVE two-factor authentication Added error handling for PVE servers when two-factor authentication is enabled, along with relevant error types and localized prompts * feat(PVE): Added support for PVE passwords during key-based authentication - Added the `pvePwd` field to the `ServerCustom` model - Added a PVE password input field to the edit page (displayed only during key-based authentication) - Updated multilingual files to support PVE-related loading states and password prompts - Optimized PVE connection logic to support password verification during key-based authentication
This commit is contained in:
@@ -1050,12 +1050,54 @@ abstract class AppLocalizations {
|
||||
/// **'Login failed. Unable to authenticate with username/password from server configuration for Linux PAM login.'**
|
||||
String get pveLoginFailed;
|
||||
|
||||
/// No description provided for @pveOtpRequired.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Two-factor authentication is enabled on this PVE server. Please enter the OTP code.'**
|
||||
String get pveOtpRequired;
|
||||
|
||||
/// No description provided for @pveVersionLow.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This feature is currently in the testing phase and has only been tested on PVE 8+. Please use it with caution.'**
|
||||
String get pveVersionLow;
|
||||
|
||||
/// No description provided for @pveLoadingForwarding.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Establishing SSH tunnel...'**
|
||||
String get pveLoadingForwarding;
|
||||
|
||||
/// No description provided for @pveLoadingLogin.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Authenticating with PVE...'**
|
||||
String get pveLoadingLogin;
|
||||
|
||||
/// No description provided for @pveLoadingData.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Fetching cluster data...'**
|
||||
String get pveLoadingData;
|
||||
|
||||
/// No description provided for @pveLoadingConnect.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Connecting...'**
|
||||
String get pveLoadingConnect;
|
||||
|
||||
/// No description provided for @pvePassword.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'PVE Password'**
|
||||
String get pvePassword;
|
||||
|
||||
/// No description provided for @pvePasswordHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Required when using key-based SSH authentication'**
|
||||
String get pvePasswordHint;
|
||||
|
||||
/// No description provided for @read.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
||||
Reference in New Issue
Block a user