mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-31 08:43:39 -05:00
Merge branch 'master' into feature/matrix-notifications
This commit is contained in:
commit
704d63b49f
@ -38,6 +38,7 @@ If you are not sure, feel free to create an empty pull request draft first.
|
|||||||
- Add a new notification
|
- Add a new notification
|
||||||
- Add a chart
|
- Add a chart
|
||||||
- Fix a bug
|
- Fix a bug
|
||||||
|
- Translations
|
||||||
|
|
||||||
### *️⃣ Requires one more reviewer
|
### *️⃣ Requires one more reviewer
|
||||||
|
|
||||||
@ -172,3 +173,7 @@ npm install
|
|||||||
Since previously updating vite 2.5.10 to 2.6.0 broke the application completely, from now on, it should update patch release version only.
|
Since previously updating vite 2.5.10 to 2.6.0 broke the application completely, from now on, it should update patch release version only.
|
||||||
|
|
||||||
Patch release = the third digit
|
Patch release = the third digit
|
||||||
|
|
||||||
|
# Translations
|
||||||
|
|
||||||
|
Please read: https://github.com/louislam/uptime-kuma/tree/master/src/languages
|
||||||
|
@ -19,6 +19,7 @@ if (! newVersion) {
|
|||||||
const exists = tagExists(newVersion);
|
const exists = tagExists(newVersion);
|
||||||
|
|
||||||
if (! exists) {
|
if (! exists) {
|
||||||
|
|
||||||
// Process package.json
|
// Process package.json
|
||||||
pkg.version = newVersion;
|
pkg.version = newVersion;
|
||||||
pkg.scripts.setup = pkg.scripts.setup.replaceAll(oldVersion, newVersion);
|
pkg.scripts.setup = pkg.scripts.setup.replaceAll(oldVersion, newVersion);
|
||||||
@ -29,8 +30,11 @@ if (! exists) {
|
|||||||
|
|
||||||
commit(newVersion);
|
commit(newVersion);
|
||||||
tag(newVersion);
|
tag(newVersion);
|
||||||
|
|
||||||
|
updateWiki(oldVersion, newVersion);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log("version exists")
|
console.log("version exists");
|
||||||
}
|
}
|
||||||
|
|
||||||
function commit(version) {
|
function commit(version) {
|
||||||
@ -38,16 +42,16 @@ function commit(version) {
|
|||||||
|
|
||||||
let res = child_process.spawnSync("git", ["commit", "-m", msg, "-a"]);
|
let res = child_process.spawnSync("git", ["commit", "-m", msg, "-a"]);
|
||||||
let stdout = res.stdout.toString().trim();
|
let stdout = res.stdout.toString().trim();
|
||||||
console.log(stdout)
|
console.log(stdout);
|
||||||
|
|
||||||
if (stdout.includes("no changes added to commit")) {
|
if (stdout.includes("no changes added to commit")) {
|
||||||
throw new Error("commit error")
|
throw new Error("commit error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function tag(version) {
|
function tag(version) {
|
||||||
let res = child_process.spawnSync("git", ["tag", version]);
|
let res = child_process.spawnSync("git", ["tag", version]);
|
||||||
console.log(res.stdout.toString().trim())
|
console.log(res.stdout.toString().trim());
|
||||||
}
|
}
|
||||||
|
|
||||||
function tagExists(version) {
|
function tagExists(version) {
|
||||||
@ -59,3 +63,38 @@ function tagExists(version) {
|
|||||||
|
|
||||||
return res.stdout.toString().trim() === version;
|
return res.stdout.toString().trim() === version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateWiki(oldVersion, newVersion) {
|
||||||
|
const wikiDir = "./tmp/wiki";
|
||||||
|
const howToUpdateFilename = "./tmp/wiki/🆙-How-to-Update.md";
|
||||||
|
|
||||||
|
safeDelete(wikiDir);
|
||||||
|
|
||||||
|
child_process.spawnSync("git", ["clone", "https://github.com/louislam/uptime-kuma.wiki.git", wikiDir]);
|
||||||
|
let content = fs.readFileSync(howToUpdateFilename).toString();
|
||||||
|
content = content.replaceAll(`git checkout ${oldVersion}`, `git checkout ${newVersion}`);
|
||||||
|
fs.writeFileSync(howToUpdateFilename, content);
|
||||||
|
|
||||||
|
child_process.spawnSync("git", ["add", "-A"], {
|
||||||
|
cwd: wikiDir,
|
||||||
|
});
|
||||||
|
|
||||||
|
child_process.spawnSync("git", ["commit", "-m", `Update to ${newVersion} from ${oldVersion}`], {
|
||||||
|
cwd: wikiDir,
|
||||||
|
});
|
||||||
|
|
||||||
|
console.log("Pushing to Github");
|
||||||
|
child_process.spawnSync("git", ["push"], {
|
||||||
|
cwd: wikiDir,
|
||||||
|
});
|
||||||
|
|
||||||
|
safeDelete(wikiDir);
|
||||||
|
}
|
||||||
|
|
||||||
|
function safeDelete(dir) {
|
||||||
|
if (fs.existsSync(dir)) {
|
||||||
|
fs.rmdirSync(dir, {
|
||||||
|
recursive: true,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -123,6 +123,6 @@
|
|||||||
},
|
},
|
||||||
"testRegex": "./test/*.spec.js",
|
"testRegex": "./test/*.spec.js",
|
||||||
"rootDir": ".",
|
"rootDir": ".",
|
||||||
"testTimeout": 15000
|
"testTimeout": 30000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
11
src/i18n.js
11
src/i18n.js
@ -3,10 +3,9 @@ import bgBG from "./languages/bg-BG";
|
|||||||
import daDK from "./languages/da-DK";
|
import daDK from "./languages/da-DK";
|
||||||
import deDE from "./languages/de-DE";
|
import deDE from "./languages/de-DE";
|
||||||
import en from "./languages/en";
|
import en from "./languages/en";
|
||||||
import fa from "./languages/fa";
|
|
||||||
import esEs from "./languages/es-ES";
|
import esEs from "./languages/es-ES";
|
||||||
import ptBR from "./languages/pt-BR";
|
|
||||||
import etEE from "./languages/et-EE";
|
import etEE from "./languages/et-EE";
|
||||||
|
import fa from "./languages/fa";
|
||||||
import frFR from "./languages/fr-FR";
|
import frFR from "./languages/fr-FR";
|
||||||
import hu from "./languages/hu";
|
import hu from "./languages/hu";
|
||||||
import itIT from "./languages/it-IT";
|
import itIT from "./languages/it-IT";
|
||||||
@ -14,11 +13,12 @@ import ja from "./languages/ja";
|
|||||||
import koKR from "./languages/ko-KR";
|
import koKR from "./languages/ko-KR";
|
||||||
import nlNL from "./languages/nl-NL";
|
import nlNL from "./languages/nl-NL";
|
||||||
import pl from "./languages/pl";
|
import pl from "./languages/pl";
|
||||||
|
import ptBR from "./languages/pt-BR";
|
||||||
import ruRU from "./languages/ru-RU";
|
import ruRU from "./languages/ru-RU";
|
||||||
import sr from "./languages/sr";
|
import sr from "./languages/sr";
|
||||||
import srLatn from "./languages/sr-latn";
|
import srLatn from "./languages/sr-latn";
|
||||||
import trTR from "./languages/tr-TR";
|
|
||||||
import svSE from "./languages/sv-SE";
|
import svSE from "./languages/sv-SE";
|
||||||
|
import trTR from "./languages/tr-TR";
|
||||||
import zhCN from "./languages/zh-CN";
|
import zhCN from "./languages/zh-CN";
|
||||||
import zhHK from "./languages/zh-HK";
|
import zhHK from "./languages/zh-HK";
|
||||||
|
|
||||||
@ -52,8 +52,9 @@ const rtlLangs = ["fa"];
|
|||||||
export const currentLocale = () => localStorage.locale || "en";
|
export const currentLocale = () => localStorage.locale || "en";
|
||||||
|
|
||||||
export const localeDirection = () => {
|
export const localeDirection = () => {
|
||||||
return rtlLangs.includes(currentLocale()) ? "rtl" : "ltr"
|
return rtlLangs.includes(currentLocale()) ? "rtl" : "ltr";
|
||||||
}
|
};
|
||||||
|
|
||||||
export const i18n = createI18n({
|
export const i18n = createI18n({
|
||||||
locale: currentLocale(),
|
locale: currentLocale(),
|
||||||
fallbackLocale: "en",
|
fallbackLocale: "en",
|
||||||
|
@ -178,4 +178,22 @@ export default {
|
|||||||
"Add a monitor": "Добави монитор",
|
"Add a monitor": "Добави монитор",
|
||||||
"Edit Status Page": "Редактирай статус страница",
|
"Edit Status Page": "Редактирай статус страница",
|
||||||
"Go to Dashboard": "Към Таблото",
|
"Go to Dashboard": "Към Таблото",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
|
"Status Page": "Status Page",
|
||||||
};
|
};
|
||||||
|
@ -170,7 +170,7 @@ export default {
|
|||||||
"Avg. Ping": "Gns. Ping",
|
"Avg. Ping": "Gns. Ping",
|
||||||
"Avg. Response": "Gns. Respons",
|
"Avg. Response": "Gns. Respons",
|
||||||
"Entry Page": "Entry Side",
|
"Entry Page": "Entry Side",
|
||||||
"statusPageNothing": "Intet her, tilføj venligst en Gruppe eller en Overvåger.",
|
statusPageNothing: "Intet her, tilføj venligst en Gruppe eller en Overvåger.",
|
||||||
"No Services": "Ingen Tjenester",
|
"No Services": "Ingen Tjenester",
|
||||||
"All Systems Operational": "Alle Systemer i Drift",
|
"All Systems Operational": "Alle Systemer i Drift",
|
||||||
"Partially Degraded Service": "Delvist Forringet Service",
|
"Partially Degraded Service": "Delvist Forringet Service",
|
||||||
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Tilføj en Overvåger",
|
"Add a monitor": "Tilføj en Overvåger",
|
||||||
"Edit Status Page": "Rediger Statusside",
|
"Edit Status Page": "Rediger Statusside",
|
||||||
"Go to Dashboard": "Gå til Dashboard",
|
"Go to Dashboard": "Gå til Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -178,4 +178,22 @@ export default {
|
|||||||
"Add a monitor": "Monitor hinzufügen",
|
"Add a monitor": "Monitor hinzufügen",
|
||||||
"Edit Status Page": "Bearbeite Statusseite",
|
"Edit Status Page": "Bearbeite Statusseite",
|
||||||
"Go to Dashboard": "Gehe zum Dashboard",
|
"Go to Dashboard": "Gehe zum Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -178,14 +178,14 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
"telegram": "Telegram",
|
telegram: "Telegram",
|
||||||
"webhook": "Webhook",
|
webhook: "Webhook",
|
||||||
"smtp": "Email (SMTP)",
|
smtp: "Email (SMTP)",
|
||||||
"discord": "Discord",
|
discord: "Discord",
|
||||||
"teams": "Microsoft Teams",
|
teams: "Microsoft Teams",
|
||||||
"signal": "Signal",
|
signal: "Signal",
|
||||||
"gotify": "Gotify",
|
gotify: "Gotify",
|
||||||
"slack": "Slack",
|
slack: "Slack",
|
||||||
"rocket.chat": "Rocket.chat",
|
"rocket.chat": "Rocket.chat",
|
||||||
"pushover": "Pushover",
|
"pushover": "Pushover",
|
||||||
"pushy": "Pushy",
|
"pushy": "Pushy",
|
||||||
@ -196,4 +196,5 @@ export default {
|
|||||||
"line": "Line Messenger",
|
"line": "Line Messenger",
|
||||||
"mattermost": "Mattermost",
|
"mattermost": "Mattermost",
|
||||||
"matrix": "Matrix",
|
"matrix": "Matrix",
|
||||||
|
"Status Page": "Status Page",
|
||||||
};
|
};
|
||||||
|
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -16,7 +16,7 @@ export default {
|
|||||||
rrtypeDescription: "Vali kirje tüüp, mida soovid jälgida.",
|
rrtypeDescription: "Vali kirje tüüp, mida soovid jälgida.",
|
||||||
pauseMonitorMsg: "Kas soovid peatada seire?",
|
pauseMonitorMsg: "Kas soovid peatada seire?",
|
||||||
Settings: "Seaded",
|
Settings: "Seaded",
|
||||||
"Status Page": "Ülevaade", // hääletuse tulemus, teine: seisundileht, kolmas: Olukord/Olek
|
"Status Page": "Ülevaade",
|
||||||
Dashboard: "Töölaud",
|
Dashboard: "Töölaud",
|
||||||
"New Update": "Uuem tarkvara versioon on saadaval.",
|
"New Update": "Uuem tarkvara versioon on saadaval.",
|
||||||
Language: "Keel",
|
Language: "Keel",
|
||||||
@ -44,7 +44,7 @@ export default {
|
|||||||
Edit: "Muuda",
|
Edit: "Muuda",
|
||||||
Delete: "Eemalda",
|
Delete: "Eemalda",
|
||||||
Current: "Hetkeseisund",
|
Current: "Hetkeseisund",
|
||||||
Uptime: "Eluiga", // todo: launchpad?
|
Uptime: "Eluiga",
|
||||||
"Cert Exp.": "Sert. aegumine",
|
"Cert Exp.": "Sert. aegumine",
|
||||||
days: "päeva",
|
days: "päeva",
|
||||||
day: "päev",
|
day: "päev",
|
||||||
@ -109,7 +109,7 @@ export default {
|
|||||||
"Create your admin account": "Admininstraatori konto loomine",
|
"Create your admin account": "Admininstraatori konto loomine",
|
||||||
"Repeat Password": "korda salasõna",
|
"Repeat Password": "korda salasõna",
|
||||||
respTime: "Reageerimisaeg (ms)",
|
respTime: "Reageerimisaeg (ms)",
|
||||||
notAvailableShort: "N/A", // tõlkimata, umbkaudu rahvusvaheline termin peaks sobima piisavalt
|
notAvailableShort: "N/A",
|
||||||
enableDefaultNotificationDescription: "Kõik järgnevalt lisatud seired kasutavad seda teavitusteenuset. Seiretelt võib teavitusteenuse ühekaupa eemaldada.",
|
enableDefaultNotificationDescription: "Kõik järgnevalt lisatud seired kasutavad seda teavitusteenuset. Seiretelt võib teavitusteenuse ühekaupa eemaldada.",
|
||||||
clearEventsMsg: "Kas soovid seire kõik sündmused kustutada?",
|
clearEventsMsg: "Kas soovid seire kõik sündmused kustutada?",
|
||||||
clearHeartbeatsMsg: "Kas soovid seire kõik tuksed kustutada?",
|
clearHeartbeatsMsg: "Kas soovid seire kõik tuksed kustutada?",
|
||||||
@ -122,7 +122,7 @@ export default {
|
|||||||
"Clear Data": "Eemalda andmed",
|
"Clear Data": "Eemalda andmed",
|
||||||
Events: "Sündmused",
|
Events: "Sündmused",
|
||||||
Heartbeats: "Tuksed",
|
Heartbeats: "Tuksed",
|
||||||
"Auto Get": "Hangi automaatselt", // hangi? kõlab liiga otsetõlge
|
"Auto Get": "Hangi automaatselt",
|
||||||
backupDescription: "Varunda kõik seired ja teavitused JSON faili.",
|
backupDescription: "Varunda kõik seired ja teavitused JSON faili.",
|
||||||
backupDescription2: "PS: Varukoopia EI sisalda seirete ajalugu ja sündmustikku.",
|
backupDescription2: "PS: Varukoopia EI sisalda seirete ajalugu ja sündmustikku.",
|
||||||
backupDescription3: "Varukoopiad sisaldavad teavitusteenusete pääsuvõtmeid.",
|
backupDescription3: "Varukoopiad sisaldavad teavitusteenusete pääsuvõtmeid.",
|
||||||
@ -140,7 +140,7 @@ export default {
|
|||||||
"Two Factor Authentication": "Kaksikautentimine",
|
"Two Factor Authentication": "Kaksikautentimine",
|
||||||
Active: "kasutusel",
|
Active: "kasutusel",
|
||||||
Inactive: "seadistamata",
|
Inactive: "seadistamata",
|
||||||
Token: "kaksikautentimise kood", // needs to compensate for no title
|
Token: "kaksikautentimise kood",
|
||||||
"Show URI": "Näita URId",
|
"Show URI": "Näita URId",
|
||||||
"Clear all statistics": "Tühjenda ajalugu",
|
"Clear all statistics": "Tühjenda ajalugu",
|
||||||
importHandleDescription: "'kombineeri' täiendab varukoopiast ja kirjutab üle samanimelised seireid ja teavitusteenused; 'lisa praegustele' jätab olemasolevad puutumata; 'asenda' kustutab ja asendab kõik seired ja teavitusteenused.",
|
importHandleDescription: "'kombineeri' täiendab varukoopiast ja kirjutab üle samanimelised seireid ja teavitusteenused; 'lisa praegustele' jätab olemasolevad puutumata; 'asenda' kustutab ja asendab kõik seired ja teavitusteenused.",
|
||||||
@ -150,14 +150,14 @@ export default {
|
|||||||
"Export Backup": "Varukoopia eksportimine",
|
"Export Backup": "Varukoopia eksportimine",
|
||||||
"Skip existing": "lisa praegustele",
|
"Skip existing": "lisa praegustele",
|
||||||
Overwrite: "asenda",
|
Overwrite: "asenda",
|
||||||
Options: "Mestimisviis", // reusal of key would be chaos
|
Options: "Mestimisviis",
|
||||||
"Keep both": "kombineeri",
|
"Keep both": "kombineeri",
|
||||||
Tags: "Sildid",
|
Tags: "Sildid",
|
||||||
"Add New below or Select...": "Leia või lisa all uus…",
|
"Add New below or Select...": "Leia või lisa all uus…",
|
||||||
"Tag with this name already exist.": "Selle nimega silt on juba olemas.",
|
"Tag with this name already exist.": "Selle nimega silt on juba olemas.",
|
||||||
"Tag with this value already exist.": "Selle väärtusega silt on juba olemas.",
|
"Tag with this value already exist.": "Selle väärtusega silt on juba olemas.",
|
||||||
color: "värvus",
|
color: "värvus",
|
||||||
"value (optional)": "väärtus (fakultatiivne)", // milline sõna!
|
"value (optional)": "väärtus (fakultatiivne)",
|
||||||
Gray: "hall",
|
Gray: "hall",
|
||||||
Red: "punane",
|
Red: "punane",
|
||||||
Orange: "oranž",
|
Orange: "oranž",
|
||||||
@ -167,7 +167,7 @@ export default {
|
|||||||
Purple: "lilla",
|
Purple: "lilla",
|
||||||
Pink: "roosa",
|
Pink: "roosa",
|
||||||
"Search...": "Otsi…",
|
"Search...": "Otsi…",
|
||||||
"Avg. Ping": "Keskmine ping", // pikk, aga nagunii kahel real
|
"Avg. Ping": "Keskmine ping",
|
||||||
"Avg. Response": "Keskmine reaktsiooniaeg",
|
"Avg. Response": "Keskmine reaktsiooniaeg",
|
||||||
"Entry Page": "Avaleht",
|
"Entry Page": "Avaleht",
|
||||||
statusPageNothing: "Kippu ega kõppu; siia saab lisada seireid või -gruppe.",
|
statusPageNothing: "Kippu ega kõppu; siia saab lisada seireid või -gruppe.",
|
||||||
@ -178,4 +178,22 @@ export default {
|
|||||||
"Add Group": "Lisa grupp",
|
"Add Group": "Lisa grupp",
|
||||||
"Edit Status Page": "Muuda lehte",
|
"Edit Status Page": "Muuda lehte",
|
||||||
"Go to Dashboard": "Töölauale",
|
"Go to Dashboard": "Töölauale",
|
||||||
|
checkEverySecond: "Check every {0} seconds.",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -187,4 +187,21 @@ export default {
|
|||||||
Last: "آخرین",
|
Last: "آخرین",
|
||||||
Info: "اطلاعات",
|
Info: "اطلاعات",
|
||||||
"Powered By": "نیرو گرفته از",
|
"Powered By": "نیرو گرفته از",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -170,7 +170,7 @@ export default {
|
|||||||
"Avg. Ping": "Ping moyen",
|
"Avg. Ping": "Ping moyen",
|
||||||
"Avg. Response": "Réponse moyenne",
|
"Avg. Response": "Réponse moyenne",
|
||||||
"Entry Page": "Page d'accueil",
|
"Entry Page": "Page d'accueil",
|
||||||
"statusPageNothing": "Rien ici, veuillez ajouter un groupe ou une sonde.",
|
statusPageNothing: "Rien ici, veuillez ajouter un groupe ou une sonde.",
|
||||||
"No Services": "Aucun service",
|
"No Services": "Aucun service",
|
||||||
"All Systems Operational": "Tous les systèmes sont opérationnels",
|
"All Systems Operational": "Tous les systèmes sont opérationnels",
|
||||||
"Partially Degraded Service": "Service partiellement dégradé",
|
"Partially Degraded Service": "Service partiellement dégradé",
|
||||||
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Ajouter une sonde",
|
"Add a monitor": "Ajouter une sonde",
|
||||||
"Edit Status Page": "Modifier la page de statut",
|
"Edit Status Page": "Modifier la page de statut",
|
||||||
"Go to Dashboard": "Accéder au tableau de bord",
|
"Go to Dashboard": "Accéder au tableau de bord",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -178,4 +178,22 @@ export default {
|
|||||||
"Add a monitor": "Figyelő hozzáadása",
|
"Add a monitor": "Figyelő hozzáadása",
|
||||||
"Edit Status Page": "Sátusz oldal szerkesztése",
|
"Edit Status Page": "Sátusz oldal szerkesztése",
|
||||||
"Go to Dashboard": "Menj az irányítópulthoz",
|
"Go to Dashboard": "Menj az irányítópulthoz",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
|
"Status Page": "Status Page",
|
||||||
};
|
};
|
||||||
|
@ -169,7 +169,7 @@ export default {
|
|||||||
"Avg. Ping": "Ping medio",
|
"Avg. Ping": "Ping medio",
|
||||||
"Avg. Response": "Risposta media",
|
"Avg. Response": "Risposta media",
|
||||||
"Entry Page": "Entry Page",
|
"Entry Page": "Entry Page",
|
||||||
"statusPageNothing": "Non c'è nulla qui, aggiungere un gruppo oppure un monitoraggio.",
|
statusPageNothing: "Non c'è nulla qui, aggiungere un gruppo oppure un monitoraggio.",
|
||||||
"No Services": "Nessun Servizio",
|
"No Services": "Nessun Servizio",
|
||||||
"All Systems Operational": "Tutti i sistemi sono operativi",
|
"All Systems Operational": "Tutti i sistemi sono operativi",
|
||||||
"Partially Degraded Service": "Servizio parzialmente degradato",
|
"Partially Degraded Service": "Servizio parzialmente degradato",
|
||||||
@ -178,4 +178,22 @@ export default {
|
|||||||
"Add a monitor": "Aggiungi un monitoraggio",
|
"Add a monitor": "Aggiungi un monitoraggio",
|
||||||
"Edit Status Page": "Modifica pagina di stato",
|
"Edit Status Page": "Modifica pagina di stato",
|
||||||
"Go to Dashboard": "Vai al Cruscotto",
|
"Go to Dashboard": "Vai al Cruscotto",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -169,14 +169,32 @@ export default {
|
|||||||
"Search...": "Szukaj...",
|
"Search...": "Szukaj...",
|
||||||
"Avg. Ping": "Średni ping",
|
"Avg. Ping": "Średni ping",
|
||||||
"Avg. Response": "Średnia odpowiedź",
|
"Avg. Response": "Średnia odpowiedź",
|
||||||
"Entry Page": "Wejdź na stronę",
|
"Entry Page": "Strona główna",
|
||||||
"statusPageNothing": "Nic tu nie ma, dodaj monitor lub grupę.",
|
statusPageNothing: "Nic tu nie ma, dodaj grupę lub monitor.",
|
||||||
"No Services": "Brak usług",
|
"No Services": "Brak usług",
|
||||||
"All Systems Operational": "Wszystkie systemy działają",
|
"All Systems Operational": "Wszystkie systemy działają",
|
||||||
"Partially Degraded Service": "Częściowy błąd usługi",
|
"Partially Degraded Service": "Częściowy błąd usługi",
|
||||||
"Degraded Service": "Błąd usługi",
|
"Degraded Service": "Błąd usługi",
|
||||||
"Add Group": "Dodaj grupę",
|
"Add Group": "Dodaj grupę",
|
||||||
"Add a monitor": "Dodaj monitoe",
|
"Add a monitor": "Dodaj monitor",
|
||||||
"Edit Status Page": "Edytuj stronę statusu",
|
"Edit Status Page": "Edytuj stronę statusu",
|
||||||
"Go to Dashboard": "Idź do panelu",
|
"Go to Dashboard": "Idź do panelu",
|
||||||
|
"Status Page": "Strona statusu",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (obsługuje 50+ usług powiadamiania)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -179,4 +179,21 @@ export default {
|
|||||||
"Add a monitor": "Adicionar um monitor",
|
"Add a monitor": "Adicionar um monitor",
|
||||||
"Edit Status Page": "Editar Página de Status",
|
"Edit Status Page": "Editar Página de Status",
|
||||||
"Go to Dashboard": "Ir para a dashboard",
|
"Go to Dashboard": "Ir para a dashboard",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -43,7 +43,7 @@ export default {
|
|||||||
Delete: "Удалить",
|
Delete: "Удалить",
|
||||||
Current: "Текущий",
|
Current: "Текущий",
|
||||||
Uptime: "Аптайм",
|
Uptime: "Аптайм",
|
||||||
"Cert Exp.": "Сертификат просрочен",
|
"Cert Exp.": "Сертификат истекает",
|
||||||
days: "дней",
|
days: "дней",
|
||||||
day: "день",
|
day: "день",
|
||||||
"-day": " дней",
|
"-day": " дней",
|
||||||
@ -180,8 +180,25 @@ export default {
|
|||||||
"Edit Status Page": "Редактировать",
|
"Edit Status Page": "Редактировать",
|
||||||
"Go to Dashboard": "Панель мониторов",
|
"Go to Dashboard": "Панель мониторов",
|
||||||
"Status Page": "Статус сервисов",
|
"Status Page": "Статус сервисов",
|
||||||
"Discard": "Отмена",
|
Discard: "Отмена",
|
||||||
"Create Incident": "Создать инцидент",
|
"Create Incident": "Создать инцидент",
|
||||||
"Switch to Dark Theme": "Тёмная тема",
|
"Switch to Dark Theme": "Тёмная тема",
|
||||||
"Switch to Light Theme": "Светлая тема",
|
"Switch to Light Theme": "Светлая тема",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -178,4 +178,22 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -170,7 +170,7 @@ export default {
|
|||||||
"Avg. Ping": "平均Ping",
|
"Avg. Ping": "平均Ping",
|
||||||
"Avg. Response": "平均响应",
|
"Avg. Response": "平均响应",
|
||||||
"Entry Page": "入口页面",
|
"Entry Page": "入口页面",
|
||||||
"statusPageNothing": "这里什么也没有,请添加一个分组或一个监控项。",
|
statusPageNothing: "这里什么也没有,请添加一个分组或一个监控项。",
|
||||||
"No Services": "无服务",
|
"No Services": "无服务",
|
||||||
"All Systems Operational": "所有服务运行正常",
|
"All Systems Operational": "所有服务运行正常",
|
||||||
"Partially Degraded Service": "部分服务出现故障",
|
"Partially Degraded Service": "部分服务出现故障",
|
||||||
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "添加监控项",
|
"Add a monitor": "添加监控项",
|
||||||
"Edit Status Page": "编辑状态页",
|
"Edit Status Page": "编辑状态页",
|
||||||
"Go to Dashboard": "前往仪表盘",
|
"Go to Dashboard": "前往仪表盘",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -179,4 +179,22 @@ export default {
|
|||||||
"Add a monitor": "Add a monitor",
|
"Add a monitor": "Add a monitor",
|
||||||
"Edit Status Page": "Edit Status Page",
|
"Edit Status Page": "Edit Status Page",
|
||||||
"Go to Dashboard": "Go to Dashboard",
|
"Go to Dashboard": "Go to Dashboard",
|
||||||
|
"Status Page": "Status Page",
|
||||||
|
telegram: "Telegram",
|
||||||
|
webhook: "Webhook",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
discord: "Discord",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
signal: "Signal",
|
||||||
|
gotify: "Gotify",
|
||||||
|
slack: "Slack",
|
||||||
|
"rocket.chat": "Rocket.chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
octopush: "Octopush",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
};
|
};
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import "bootstrap";
|
import "bootstrap";
|
||||||
import { createApp, h } from "vue";
|
import { createApp, h } from "vue";
|
||||||
|
import contenteditable from "vue-contenteditable";
|
||||||
import Toast from "vue-toastification";
|
import Toast from "vue-toastification";
|
||||||
import contenteditable from "vue-contenteditable"
|
|
||||||
import "vue-toastification/dist/index.css";
|
import "vue-toastification/dist/index.css";
|
||||||
import App from "./App.vue";
|
import App from "./App.vue";
|
||||||
import "./assets/app.scss";
|
import "./assets/app.scss";
|
||||||
@ -9,10 +9,9 @@ import { i18n } from "./i18n";
|
|||||||
import { FontAwesomeIcon } from "./icon.js";
|
import { FontAwesomeIcon } from "./icon.js";
|
||||||
import datetime from "./mixins/datetime";
|
import datetime from "./mixins/datetime";
|
||||||
import mobile from "./mixins/mobile";
|
import mobile from "./mixins/mobile";
|
||||||
|
import publicMixin from "./mixins/public";
|
||||||
import socket from "./mixins/socket";
|
import socket from "./mixins/socket";
|
||||||
import theme from "./mixins/theme";
|
import theme from "./mixins/theme";
|
||||||
import publicMixin from "./mixins/public";
|
|
||||||
|
|
||||||
import { router } from "./router";
|
import { router } from "./router";
|
||||||
import { appName } from "./util.ts";
|
import { appName } from "./util.ts";
|
||||||
|
|
||||||
@ -27,10 +26,10 @@ const app = createApp({
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
appName: appName
|
appName: appName
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
render: () => h(App),
|
render: () => h(App),
|
||||||
})
|
});
|
||||||
|
|
||||||
app.use(router);
|
app.use(router);
|
||||||
app.use(i18n);
|
app.use(i18n);
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
const { Page } = require("puppeteer");
|
const { Page, Browser } = require("puppeteer");
|
||||||
const { sleep } = require("../src/util");
|
const { sleep } = require("../src/util");
|
||||||
|
const axios = require("axios");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set back the correct data type for page object
|
* Set back the correct data type for page object
|
||||||
@ -8,14 +9,17 @@ const { sleep } = require("../src/util");
|
|||||||
*/
|
*/
|
||||||
page;
|
page;
|
||||||
|
|
||||||
beforeAll(() => {
|
/**
|
||||||
if (process.env.JUST_FOR_TEST) {
|
* @type {Browser}
|
||||||
console.log(process.env.JUST_FOR_TEST);
|
*/
|
||||||
|
browser;
|
||||||
|
|
||||||
if (process.env.JUST_FOR_TEST === "JUST_FOR_TEST_HELLO") {
|
beforeAll(async () => {
|
||||||
console.log("secret ok");
|
await page.setViewport({
|
||||||
}
|
width: 1280,
|
||||||
}
|
height: 720,
|
||||||
|
deviceScaleFactor: 1,
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(() => {
|
afterAll(() => {
|
||||||
@ -35,6 +39,7 @@ describe("Init", () => {
|
|||||||
await expect(page.title()).resolves.toMatch(title);
|
await expect(page.title()).resolves.toMatch(title);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Setup Page
|
||||||
it("Setup", async () => {
|
it("Setup", async () => {
|
||||||
// Create an Admin
|
// Create an Admin
|
||||||
await page.waitForSelector("#floatingInput");
|
await page.waitForSelector("#floatingInput");
|
||||||
@ -49,20 +54,25 @@ describe("Init", () => {
|
|||||||
// Go to /setup again
|
// Go to /setup again
|
||||||
await page.goto(baseURL + "/setup");
|
await page.goto(baseURL + "/setup");
|
||||||
await sleep(3000);
|
await sleep(3000);
|
||||||
const pathname = await page.evaluate(() => location.pathname);
|
let pathname = await page.evaluate(() => location.pathname);
|
||||||
expect(pathname).toEqual("/dashboard");
|
expect(pathname).toEqual("/dashboard");
|
||||||
|
|
||||||
// Go to /
|
// Go to /
|
||||||
await page.goto(baseURL);
|
await page.goto(baseURL);
|
||||||
|
await sleep(3000);
|
||||||
|
pathname = await page.evaluate(() => location.pathname);
|
||||||
expect(pathname).toEqual("/dashboard");
|
expect(pathname).toEqual("/dashboard");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Settings Page
|
||||||
describe("Settings", () => {
|
describe("Settings", () => {
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
await page.goto(baseURL + "/settings");
|
await page.goto(baseURL + "/settings");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Change Language", async () => {
|
it("Change Language", async () => {
|
||||||
|
await page.waitForSelector("#language");
|
||||||
|
|
||||||
await page.select("#language", "zh-HK");
|
await page.select("#language", "zh-HK");
|
||||||
let languageTitle = await page.evaluate(() => document.querySelector("[for=language]").innerText);
|
let languageTitle = await page.evaluate(() => document.querySelector("[for=language]").innerText);
|
||||||
expect(languageTitle).toMatch("語言");
|
expect(languageTitle).toMatch("語言");
|
||||||
@ -73,19 +83,128 @@ describe("Init", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("Change Theme", async () => {
|
it("Change Theme", async () => {
|
||||||
|
await sleep(1000);
|
||||||
|
|
||||||
|
// Dark
|
||||||
|
await click(page, ".btn[for=btncheck2]");
|
||||||
|
await page.waitForSelector("div.dark");
|
||||||
|
|
||||||
|
await sleep(1000);
|
||||||
|
|
||||||
// Light
|
// Light
|
||||||
await page.click(".btn[for=btncheck1]");
|
await click(page, ".btn[for=btncheck1]");
|
||||||
await page.waitForSelector("div.light", {
|
await page.waitForSelector("div.light");
|
||||||
timeout: 2000
|
|
||||||
});
|
});
|
||||||
|
|
||||||
await page.click(".btn[for=btncheck2]");
|
// TODO: Heartbeat Bar Style
|
||||||
await page.waitForSelector("div.dark", {
|
|
||||||
timeout: 2000
|
// TODO: Timezone
|
||||||
|
|
||||||
|
it("Search Engine Visibility", async () => {
|
||||||
|
// Default
|
||||||
|
let res = await axios.get(baseURL + "/robots.txt");
|
||||||
|
expect(res.data).toMatch("Disallow: /");
|
||||||
|
|
||||||
|
// Yes
|
||||||
|
await click(page, "#searchEngineIndexYes");
|
||||||
|
await click(page, "form > div > .btn[type=submit]");
|
||||||
|
await sleep(2000);
|
||||||
|
res = await axios.get(baseURL + "/robots.txt");
|
||||||
|
expect(res.data).not.toMatch("Disallow: /");
|
||||||
|
|
||||||
|
// No
|
||||||
|
await click(page, "#searchEngineIndexNo");
|
||||||
|
await click(page, "form > div > .btn[type=submit]");
|
||||||
|
await sleep(2000);
|
||||||
|
res = await axios.get(baseURL + "/robots.txt");
|
||||||
|
expect(res.data).toMatch("Disallow: /");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("Entry Page", async () => {
|
||||||
|
const newPage = await browser.newPage();
|
||||||
|
|
||||||
|
// Default
|
||||||
|
await newPage.goto(baseURL);
|
||||||
|
await sleep(3000);
|
||||||
|
let pathname = await newPage.evaluate(() => location.pathname);
|
||||||
|
expect(pathname).toEqual("/dashboard");
|
||||||
|
|
||||||
|
// Status Page
|
||||||
|
await click(page, "#entryPageNo");
|
||||||
|
await click(page, "form > div > .btn[type=submit]");
|
||||||
|
await sleep(2000);
|
||||||
|
await newPage.goto(baseURL);
|
||||||
|
await sleep(3000);
|
||||||
|
pathname = await newPage.evaluate(() => location.pathname);
|
||||||
|
expect(pathname).toEqual("/status");
|
||||||
|
|
||||||
|
// Back to Dashboard
|
||||||
|
await click(page, "#entryPageYes");
|
||||||
|
await click(page, "form > div > .btn[type=submit]");
|
||||||
|
await sleep(2000);
|
||||||
|
await newPage.goto(baseURL);
|
||||||
|
await sleep(3000);
|
||||||
|
pathname = await newPage.evaluate(() => location.pathname);
|
||||||
|
expect(pathname).toEqual("/dashboard");
|
||||||
|
|
||||||
|
await newPage.close();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("Change Password (wrong current password)", async () => {
|
||||||
|
await page.type("#current-password", "wrong_passw$$d");
|
||||||
|
await page.type("#new-password", "new_password123");
|
||||||
|
await page.type("#repeat-new-password", "new_password123");
|
||||||
|
await click(page, "form > div > .btn[type=submit]", 1);
|
||||||
|
await sleep(3000);
|
||||||
|
await click(page, ".btn-danger.btn.me-1");
|
||||||
|
await sleep(2000);
|
||||||
|
await login("admin", "new_password123");
|
||||||
|
await sleep(2000);
|
||||||
|
let elementCount = await page.evaluate(() => document.querySelectorAll("#floatingPassword").length);
|
||||||
|
expect(elementCount).toEqual(1);
|
||||||
|
|
||||||
|
await login("admin", "admin123");
|
||||||
|
await sleep(3000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("Change Password (wrong repeat)", async () => {
|
||||||
|
await page.type("#current-password", "admin123");
|
||||||
|
await page.type("#new-password", "new_password123");
|
||||||
|
await page.type("#repeat-new-password", "new_password1234567898797898");
|
||||||
|
await click(page, "form > div > .btn[type=submit]", 1);
|
||||||
|
await sleep(3000);
|
||||||
|
await click(page, ".btn-danger.btn.me-1");
|
||||||
|
await sleep(2000);
|
||||||
|
await login("admin", "new_password123");
|
||||||
|
await sleep(2000);
|
||||||
|
let elementCount = await page.evaluate(() => document.querySelectorAll("#floatingPassword").length);
|
||||||
|
expect(elementCount).toEqual(1);
|
||||||
|
|
||||||
|
await login("admin", "admin123");
|
||||||
|
await sleep(3000);
|
||||||
|
});
|
||||||
|
|
||||||
|
// TODO: 2FA
|
||||||
|
|
||||||
|
// TODO: Export Backup
|
||||||
|
|
||||||
|
// TODO: Import Backup
|
||||||
|
|
||||||
|
// TODO: Disable Auth
|
||||||
|
|
||||||
|
// TODO: Clear Stats
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* TODO
|
||||||
|
* Create Monitor - All type
|
||||||
|
* Edit Monitor
|
||||||
|
* Delete Monitor
|
||||||
|
*
|
||||||
|
* Create Notification (token problem, maybe hard to test)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
describe("Status Page", () => {
|
describe("Status Page", () => {
|
||||||
const title = "Uptime Kuma";
|
const title = "Uptime Kuma";
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
@ -97,3 +216,21 @@ describe("Init", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
async function login(username, password) {
|
||||||
|
await input(page, "#floatingInput", username);
|
||||||
|
await input(page, "#floatingPassword", password);
|
||||||
|
await page.click(".btn-primary[type=submit]");
|
||||||
|
}
|
||||||
|
|
||||||
|
async function click(page, selector, elementIndex = 0) {
|
||||||
|
return await page.evaluate((s, i) => {
|
||||||
|
return document.querySelectorAll(s)[i].click();
|
||||||
|
}, selector, elementIndex);
|
||||||
|
}
|
||||||
|
|
||||||
|
async function input(page, selector, text) {
|
||||||
|
const element = await page.$(selector);
|
||||||
|
await element.click({ clickCount: 3 });
|
||||||
|
await page.keyboard.press("Backspace");
|
||||||
|
await page.type(selector, text);
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user