feat(integration): improve integration test connection (#3005)
This commit is contained in:
@@ -702,6 +702,132 @@
|
||||
"create": "Test connection and create",
|
||||
"edit": "Test connection and save"
|
||||
},
|
||||
"error": {
|
||||
"common": {
|
||||
"cause": {
|
||||
"title": "Cause with more details"
|
||||
}
|
||||
},
|
||||
"unknown": {
|
||||
"title": "Unknown error",
|
||||
"description": "An unknown error occurred, open the cause below to see more details"
|
||||
},
|
||||
"parse": {
|
||||
"title": "Parse error",
|
||||
"description": "The response could not be parsed. Please verify that the URL is pointing to the base URL of the service."
|
||||
},
|
||||
"authorization": {
|
||||
"title": "Authorization error",
|
||||
"description": "The request was not authorized. Please verify that the credentials are correct and you have them configured with enough permissions."
|
||||
},
|
||||
"statusCode": {
|
||||
"title": "Response error",
|
||||
"description": "Received unexpected {statusCode} ({reason}) response from <url></url>. Please verify that the URL is pointing to the base URL of the integration.",
|
||||
"otherDescription": "Received unexpected {statusCode} response from <url></url>. Please verify that the URL is pointing to the base URL of the integration.",
|
||||
"reason": {
|
||||
"badRequest": "Bad request",
|
||||
"notFound": "Not found",
|
||||
"tooManyRequests": "Too many requests",
|
||||
"internalServerError": "Internal server error",
|
||||
"serviceUnavailable": "Service unavailable",
|
||||
"gatewayTimeout": "Gateway timeout"
|
||||
}
|
||||
},
|
||||
"certificate": {
|
||||
"title": "Certificate error",
|
||||
"description": {
|
||||
"expired": "The certificate has expired.",
|
||||
"notYetValid": "The certificate is not yet valid.",
|
||||
"untrusted": "The certificate is not trusted.",
|
||||
"hostnameMismatch": "The certificate hostname does not match the URL."
|
||||
},
|
||||
"alert": {
|
||||
"permission": {
|
||||
"title": "Not enough permissions",
|
||||
"message": "You are not allowed to trust or upload certificates. Please contact your administrator to upload the necessary root certificate."
|
||||
},
|
||||
"hostnameMismatch": {
|
||||
"title": "Hostname mismatch",
|
||||
"message": "The hostname in the certificate does not match the hostname you are connecting to. This could indicate a security risk, but you can still choose to trust this certificate."
|
||||
},
|
||||
"extract": {
|
||||
"title": "CA certificate extraction failed",
|
||||
"message": "Only self signed certificates without a chain can be fetched automatically. If you are using a self signed certificate, please make sure to upload the CA certificate manually. You can find instructions on how to do this <docsLink></docsLink>."
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
"retry": {
|
||||
"label": "Retry creation"
|
||||
},
|
||||
"trust": {
|
||||
"label": "Trust certificate"
|
||||
},
|
||||
"upload": {
|
||||
"label": "Upload certificate"
|
||||
}
|
||||
},
|
||||
"hostnameMismatch": {
|
||||
"confirm": {
|
||||
"title": "Trust hostname mismatch",
|
||||
"message": "Are you sure you want to trust the certificate with a hostname mismatch?"
|
||||
},
|
||||
"notification": {
|
||||
"success": {
|
||||
"title": "Trusted certificate",
|
||||
"message": "Added hostname to trusted certificate list"
|
||||
},
|
||||
"error": {
|
||||
"title": "Failed to trust certificate",
|
||||
"message": "The certificate with a hostname mismatch could not be trusted"
|
||||
}
|
||||
}
|
||||
},
|
||||
"selfSigned": {
|
||||
"confirm": {
|
||||
"title": "Trust self signed certificate",
|
||||
"message": "Are you sure you want to trust this self signed certificate?"
|
||||
},
|
||||
"notification": {
|
||||
"success": {
|
||||
"title": "Trusted certificate",
|
||||
"message": "Added certificate to trusted certificate list"
|
||||
},
|
||||
"error": {
|
||||
"title": "Failed to trust certificate",
|
||||
"message": "Failed to add certificate to trusted certificate list"
|
||||
}
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"title": "Details",
|
||||
"description": "Review the certificate information before deciding to trust it.",
|
||||
"content": {
|
||||
"action": "Show content",
|
||||
"title": "PEM Certificate"
|
||||
}
|
||||
}
|
||||
},
|
||||
"request": {
|
||||
"title": "Request error",
|
||||
"description": {
|
||||
"connection": {
|
||||
"hostUnreachable": "The server could not be reached. This usually means the host is offline or unreachable from your network.",
|
||||
"networkUnreachable": "The network is unreachable. Please check your internet connection or network configuration.",
|
||||
"refused": "The server refused the connection. It may not be running or is rejecting requests on the specified port.",
|
||||
"reset": "The connection was unexpectedly closed by the server. This can happen if the server is unstable or restarted."
|
||||
},
|
||||
"dns": {
|
||||
"notFound": "The server address could not be found. Please check the URL for typos or invalid domain names.",
|
||||
"timeout": "DNS lookup timed out. This may be a temporary issue—please try again in a few moments.",
|
||||
"noAnswer": "The DNS server didn't return a valid response. The domain may exist but has no valid records."
|
||||
},
|
||||
"timeout": {
|
||||
"aborted": "The request was aborted before it could complete. This might be due to a user action or system timeout.",
|
||||
"timeout": "The request took too long to complete and was timed out. Check your network or try again later."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"alertNotice": "The Save button is enabled once a successful connection is established",
|
||||
"notification": {
|
||||
"success": {
|
||||
@@ -878,6 +1004,7 @@
|
||||
"cancel": "Cancel",
|
||||
"delete": "Delete",
|
||||
"discard": "Discard",
|
||||
"close": "Close",
|
||||
"confirm": "Confirm",
|
||||
"continue": "Continue",
|
||||
"previous": "Previous",
|
||||
@@ -3496,7 +3623,10 @@
|
||||
"label": "Logs"
|
||||
},
|
||||
"certificates": {
|
||||
"label": "Certificates"
|
||||
"label": "Certificates",
|
||||
"hostnames": {
|
||||
"label": "Hostnames"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
@@ -3894,6 +4024,29 @@
|
||||
}
|
||||
},
|
||||
"certificate": {
|
||||
"field": {
|
||||
"hostname": {
|
||||
"label": "Hostname"
|
||||
},
|
||||
"subject": {
|
||||
"label": "Subject"
|
||||
},
|
||||
"issuer": {
|
||||
"label": "Issuer"
|
||||
},
|
||||
"validFrom": {
|
||||
"label": "Valid from"
|
||||
},
|
||||
"validTo": {
|
||||
"label": "Valid to"
|
||||
},
|
||||
"serialNumber": {
|
||||
"label": "Serial number"
|
||||
},
|
||||
"fingerprint": {
|
||||
"label": "Fingerprint"
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
"list": {
|
||||
"title": "Trusted certificates",
|
||||
@@ -3905,7 +4058,16 @@
|
||||
"title": "Invalid certificate",
|
||||
"description": "Failed to parse certificate"
|
||||
},
|
||||
"expires": "Expires {when}"
|
||||
"expires": "Expires {when}",
|
||||
"toHostnames": "Trusted hostnames"
|
||||
},
|
||||
"hostnames": {
|
||||
"title": "Trusted certificate hostnames",
|
||||
"description": "Some certificates do not allow the specific domain Homarr uses to request them, because of this all trusted hostnames with their certificate thumbprints are used to bypass these restrictions.",
|
||||
"noResults": {
|
||||
"title": "There are no hostnames yet"
|
||||
},
|
||||
"toCertificates": "Certificates"
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
@@ -3935,6 +4097,20 @@
|
||||
"message": "The certificate could not be removed"
|
||||
}
|
||||
}
|
||||
},
|
||||
"removeHostname": {
|
||||
"label": "Remove trusted hostname",
|
||||
"confirm": "Are you sure you want to remove this trusted hostname? This can cause some integrations to stop working.",
|
||||
"notification": {
|
||||
"success": {
|
||||
"title": "Hostname removed",
|
||||
"message": "The hostname was removed successfully"
|
||||
},
|
||||
"error": {
|
||||
"title": "Hostname not removed",
|
||||
"message": "The hostname could not be removed"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user