Compare commits

..

13 commits

Author SHA1 Message Date
UptimeKumaBot
5486899b9e
Merge 5391af562e into 8a432ac937 2024-11-12 18:00:20 +00:00
CHAIYEON CHO
5391af562e Translated using Weblate (Korean)
Currently translated at 71.3% (751 of 1053 strings)

Co-authored-by: CHAIYEON CHO <stoutcho21@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ko/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
Matěj Foltín
bbb9e059e0 Translated using Weblate (Czech)
Currently translated at 97.0% (1022 of 1053 strings)

Co-authored-by: Matěj Foltín <foltinmatej@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/cs/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
Sezer Bozkir
582c16c6a6 Translated using Weblate (Turkish)
Currently translated at 100.0% (1053 of 1053 strings)

Co-authored-by: Sezer Bozkir <sezer.tht@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/tr/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
Jordi Garcia
8be4f0bd24 Translated using Weblate (Catalan)
Currently translated at 21.3% (225 of 1053 strings)

Translated using Weblate (Spanish)

Currently translated at 95.2% (1003 of 1053 strings)

Co-authored-by: Jordi Garcia <jgtorcal@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ca/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/es/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
Michal
049ad90476 Translated using Weblate (Czech)
Currently translated at 96.5% (1017 of 1053 strings)

Co-authored-by: Michal <black23@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/cs/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
Ivan Bratović
2a628dfa57 Translated using Weblate (Croatian)
Currently translated at 100.0% (1053 of 1053 strings)

Co-authored-by: Ivan Bratović <ivanbratovic4@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/hr/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
stanol
35b469db40 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1053 of 1053 strings)

Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/uk/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
Adam Stachowicz
25d42a007b Translated using Weblate (Polish)
Currently translated at 100.0% (1053 of 1053 strings)

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pl/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
Dominik727
60bb38800b Translated using Weblate (Hungarian)
Currently translated at 77.5% (817 of 1053 strings)

Co-authored-by: Dominik727 <suszterdominik@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/hu/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
Cyril59310
a437e11452 Translated using Weblate (French)
Currently translated at 100.0% (1053 of 1053 strings)

Co-authored-by: Cyril59310 <archas.cyril@hotmail.fr>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fr/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
MrEddX
6c7501b340 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1053 of 1053 strings)

Co-authored-by: MrEddX <mreddx@chatrix.one>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/bg/
Translation: Uptime Kuma/Uptime Kuma
2024-11-12 18:00:15 +00:00
Ionys
8a432ac937
fix(status page): Make sure the group deletion is correctly handled when groupIDList is empty (#5340)
Some checks failed
Auto Test / check-linters (push) Has been cancelled
Auto Test / armv7-simple-test (18, ARMv7) (push) Has been cancelled
Auto Test / armv7-simple-test (20, ARMv7) (push) Has been cancelled
Auto Test / e2e-test (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
validate / json-yaml-validate (push) Has been cancelled
validate / validate (push) Has been cancelled
Auto Test / auto-test (18, ARM64) (push) Has been cancelled
Auto Test / auto-test (18, macos-latest) (push) Has been cancelled
Auto Test / auto-test (18, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (18, windows-latest) (push) Has been cancelled
Auto Test / auto-test (20, ARM64) (push) Has been cancelled
Auto Test / auto-test (20, macos-latest) (push) Has been cancelled
Auto Test / auto-test (20, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (20, windows-latest) (push) Has been cancelled
2024-11-12 19:00:09 +01:00
2 changed files with 13 additions and 7 deletions

View file

@ -220,6 +220,9 @@ 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");
if (groupIDList.length === 0) {
await R.exec("DELETE FROM `group` WHERE status_page_id = ?", [ statusPage.id ]);
} else {
const slots = groupIDList.map(() => "?").join(","); const slots = groupIDList.map(() => "?").join(",");
const data = [ const data = [
@ -227,6 +230,7 @@ module.exports.statusPageSocketHandler = (socket) => {
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();

View file

@ -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 오류가 무시되었습니다"
} }