mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Disable certificate expiry notification when SSL errors are ignored (#5156)
This commit is contained in:
parent
0f6cb15561
commit
1cf88f4fea
2 changed files with 9 additions and 2 deletions
|
@ -82,6 +82,7 @@
|
||||||
"resendEveryXTimes": "Resend every {0} times",
|
"resendEveryXTimes": "Resend every {0} times",
|
||||||
"resendDisabled": "Resend disabled",
|
"resendDisabled": "Resend disabled",
|
||||||
"retriesDescription": "Maximum retries before the service is marked as down and a notification is sent",
|
"retriesDescription": "Maximum retries before the service is marked as down and a notification is sent",
|
||||||
|
"ignoredTLSError": "TLS/SSL errors have been ignored",
|
||||||
"ignoreTLSError": "Ignore TLS/SSL errors for HTTPS websites",
|
"ignoreTLSError": "Ignore TLS/SSL errors for HTTPS websites",
|
||||||
"ignoreTLSErrorGeneral": "Ignore TLS/SSL error for connection",
|
"ignoreTLSErrorGeneral": "Ignore TLS/SSL error for connection",
|
||||||
"upsideDownModeDescription": "Flip the status upside down. If the service is reachable, it is DOWN.",
|
"upsideDownModeDescription": "Flip the status upside down. If the service is reachable, it is DOWN.",
|
||||||
|
|
|
@ -565,8 +565,8 @@
|
||||||
|
|
||||||
<h2 v-if="monitor.type !== 'push'" class="mt-5 mb-2">{{ $t("Advanced") }}</h2>
|
<h2 v-if="monitor.type !== 'push'" class="mt-5 mb-2">{{ $t("Advanced") }}</h2>
|
||||||
|
|
||||||
<div v-if="monitor.type === 'http' || monitor.type === 'keyword' || monitor.type === 'json-query' " class="my-3 form-check">
|
<div v-if="monitor.type === 'http' || monitor.type === 'keyword' || monitor.type === 'json-query' " class="my-3 form-check" :title="monitor.ignoreTls ? $t('ignoredTLSError') : ''">
|
||||||
<input id="expiry-notification" v-model="monitor.expiryNotification" class="form-check-input" type="checkbox">
|
<input id="expiry-notification" v-model="monitor.expiryNotification" class="form-check-input" type="checkbox" :disabled="monitor.ignoreTls">
|
||||||
<label class="form-check-label" for="expiry-notification">
|
<label class="form-check-label" for="expiry-notification">
|
||||||
{{ $t("Certificate Expiry Notification") }}
|
{{ $t("Certificate Expiry Notification") }}
|
||||||
</label>
|
</label>
|
||||||
|
@ -1456,6 +1456,12 @@ message HealthCheckResponse {
|
||||||
}
|
}
|
||||||
this.monitor.game = newGameObject.keys[0];
|
this.monitor.game = newGameObject.keys[0];
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"monitor.ignoreTls"(newVal) {
|
||||||
|
if (newVal) {
|
||||||
|
this.monitor.expiryNotification = false;
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.init();
|
this.init();
|
||||||
|
|
Loading…
Reference in a new issue