mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Compare commits
13 commits
10f3f7fd1e
...
5391af562e
Author | SHA1 | Date | |
---|---|---|---|
|
5391af562e | ||
|
bbb9e059e0 | ||
|
582c16c6a6 | ||
|
8be4f0bd24 | ||
|
049ad90476 | ||
|
2a628dfa57 | ||
|
35b469db40 | ||
|
25d42a007b | ||
|
60bb38800b | ||
|
a437e11452 | ||
|
6c7501b340 | ||
|
8a432ac937 | ||
|
778363a948 |
3 changed files with 14 additions and 8 deletions
|
@ -220,13 +220,17 @@ module.exports.statusPageSocketHandler = (socket) => {
|
||||||
|
|
||||||
// Delete groups that are not in the list
|
// Delete groups that are not in the list
|
||||||
log.debug("socket", "Delete groups that are not in the list");
|
log.debug("socket", "Delete groups that are not in the list");
|
||||||
const slots = groupIDList.map(() => "?").join(",");
|
if (groupIDList.length === 0) {
|
||||||
|
await R.exec("DELETE FROM `group` WHERE status_page_id = ?", [ statusPage.id ]);
|
||||||
|
} else {
|
||||||
|
const slots = groupIDList.map(() => "?").join(",");
|
||||||
|
|
||||||
const data = [
|
const data = [
|
||||||
...groupIDList,
|
...groupIDList,
|
||||||
statusPage.id
|
statusPage.id
|
||||||
];
|
];
|
||||||
await R.exec(`DELETE FROM \`group\` WHERE id NOT IN (${slots}) AND status_page_id = ?`, data);
|
await R.exec(`DELETE FROM \`group\` WHERE id NOT IN (${slots}) AND status_page_id = ?`, data);
|
||||||
|
}
|
||||||
|
|
||||||
const server = UptimeKumaServer.getInstance();
|
const server = UptimeKumaServer.getInstance();
|
||||||
|
|
||||||
|
|
|
@ -785,5 +785,7 @@
|
||||||
"-year": "-연도",
|
"-year": "-연도",
|
||||||
"Json Query Expression": "Json 쿼리 표현식",
|
"Json Query Expression": "Json 쿼리 표현식",
|
||||||
"Host URL": "호스트 URL",
|
"Host URL": "호스트 URL",
|
||||||
"locally configured mail transfer agent": "로컬로 구성된 메일 전송 에이전트"
|
"locally configured mail transfer agent": "로컬로 구성된 메일 전송 에이전트",
|
||||||
|
"ignoreTLSErrorGeneral": "연결에 TLS/SSL 오류 무시하기",
|
||||||
|
"ignoredTLSError": "TLS/SSL 오류가 무시되었습니다"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1065,7 +1065,7 @@ import { hostNameRegexPattern } from "../util-frontend";
|
||||||
import HiddenInput from "../components/HiddenInput.vue";
|
import HiddenInput from "../components/HiddenInput.vue";
|
||||||
import EditMonitorConditions from "../components/EditMonitorConditions.vue";
|
import EditMonitorConditions from "../components/EditMonitorConditions.vue";
|
||||||
|
|
||||||
const toast = useToast;
|
const toast = useToast();
|
||||||
|
|
||||||
const pushTokenLength = 32;
|
const pushTokenLength = 32;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue