Merge branch 'develop' into feature/hide-admin-login-link

This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-06-23 08:45:37 +08:00
commit 7870e83586
2 files changed
+43 -45

No files matched your search

+28 -30
View File
@@ -212,37 +212,35 @@ const SettingsEmail = ({
gap: theme.spacing(4), gap: theme.spacing(4),
}} }}
> >
<Typography>{t("settingsEmailSecure")}</Typography> {[
<Switch ["settingsEmailSecure", "systemEmailSecure", systemEmailSecure],
name="systemEmailSecure" ["settingsEmailPool", "systemEmailPool", systemEmailPool],
checked={systemEmailSecure} ["settingsEmailIgnoreTLS", "systemEmailIgnoreTLS", systemEmailIgnoreTLS],
onChange={handleChange} ["settingsEmailRequireTLS", "systemEmailRequireTLS", systemEmailRequireTLS],
/> [
<Typography>{t("settingsEmailPool")}</Typography> "settingsEmailRejectUnauthorized",
<Switch "systemEmailRejectUnauthorized",
name="systemEmailPool" systemEmailRejectUnauthorized,
checked={systemEmailPool} ],
onChange={handleChange} ].map(([labelKey, name, value]) => (
/> <Box
<Typography>{t("settingsEmailIgnoreTLS")}</Typography> key={name}
<Switch sx={{
name="systemEmailIgnoreTLS" display: "flex",
checked={systemEmailIgnoreTLS} alignItems: "center",
onChange={handleChange} justifyContent: "space-between",
/> }}
<Typography>{t("settingsEmailRequireTLS")}</Typography> >
<Switch <Typography>{t(labelKey)}</Typography>
name="systemEmailRequireTLS" <Switch
checked={systemEmailRequireTLS} name={name}
onChange={handleChange} checked={value}
/> onChange={handleChange}
<Typography>{t("settingsEmailRejectUnauthorized")}</Typography> />
<Switch </Box>
name="systemEmailRejectUnauthorized" ))}
checked={systemEmailRejectUnauthorized}
onChange={handleChange}
/>
</Box> </Box>
<Box> <Box>
{systemEmailHost && {systemEmailHost &&
systemEmailPort && systemEmailPort &&
+15 -15
View File
@@ -750,11 +750,11 @@
}, },
"advancedMatching": "Advanced matching", "advancedMatching": "Advanced matching",
"settingsEmailTLSServername": "TLS Servername - Optional Hostname for TLS Validation when host is an IP", "settingsEmailTLSServername": "TLS Servername - Optional Hostname for TLS Validation when host is an IP",
"settingsEmailIgnoreTLS": "Ignore TLS - Disable STARTTLS", "settingsEmailIgnoreTLS": "Disable STARTTLS: Don't use TLS even if the server supports it",
"settingsEmailRequireTLS": "Require TLS - Force STARTTLS", "settingsEmailRequireTLS": "Force STARTTLS: Require TLS upgrade, fail if not supported",
"settingsEmailRejectUnauthorized": "Reject Unauthorized", "settingsEmailRejectUnauthorized": "Reject invalid certificates: Reject connections with self-signed or untrusted certificates",
"settingsEmailSecure": "Secure - Use SSL", "settingsEmailSecure": "Use SSL (recommended): Encrypt the connection using SSL/TLS",
"settingsEmailPool": "Pool - Enable connection pooling", "settingsEmailPool": "Enable connection pooling: Reuse existing connections to improve performance",
"sendTestNotifications": "Send test notifications", "sendTestNotifications": "Send test notifications",
"selectAll": "Select all", "selectAll": "Select all",
"queuePage": { "queuePage": {
@@ -786,16 +786,16 @@
"failCountHeader": "Fail count", "failCountHeader": "Fail count",
"failedAtHeader": "Last failed at", "failedAtHeader": "Last failed at",
"failReasonHeader": "Fail reason" "failReasonHeader": "Fail reason"
},
"export": {
"title": "Export Monitors",
"success": "Monitors exported successfully!",
"failed": "Failed to export monitors"
},
"monitorActions": {
"title": "Export/Import",
"import": "Import Monitors",
"export": "Export Monitors"
} }
}, },
"export": {
"title": "Export Monitors",
"success": "Monitors exported successfully!",
"failed": "Failed to export monitors"
},
"monitorActions": {
"title": "Export/Import",
"import": "Import Monitors",
"export": "Export Monitors"
}
} }