mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Merge remote-tracking branch 'upstream/master' into feature/#1817-add-mysql-monitor
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
commit
15b63c82c3
64 changed files with 1609 additions and 2187 deletions
|
@ -27,7 +27,7 @@ The frontend code build into "dist" directory. The server (express.js) exposes t
|
||||||
|
|
||||||
## Can I create a pull request for Uptime Kuma?
|
## Can I create a pull request for Uptime Kuma?
|
||||||
|
|
||||||
Yes or no, it depends on what you will try to do. Since I don't want to waste your time, be sure to **create empty draft pull request or open an issue, so we can discuss first**. Especially for a large pull request or you don't know it will be merged or not.
|
Yes or no, it depends on what you will try to do. Since I don't want to waste your time, be sure to **create an empty draft pull request or open an issue, so we can discuss first**. Especially for a large pull request or you don't know it will be merged or not.
|
||||||
|
|
||||||
Here are some references:
|
Here are some references:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Here are some references:
|
||||||
- UI/UX is not close to Uptime Kuma
|
- UI/UX is not close to Uptime Kuma
|
||||||
- Existing logic is completely modified or deleted for no reason
|
- Existing logic is completely modified or deleted for no reason
|
||||||
- A function that is completely out of scope
|
- A function that is completely out of scope
|
||||||
- Unnesscary large code changes (Hard to review, casuse code conflicts to other pull requests)
|
- Unnecessary large code changes (Hard to review, causes code conflicts to other pull requests)
|
||||||
|
|
||||||
I will mark your pull request in the [milestones](https://github.com/louislam/uptime-kuma/milestones), if I am plan to review and merge it.
|
I will mark your pull request in the [milestones](https://github.com/louislam/uptime-kuma/milestones), if I am plan to review and merge it.
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ By default, the Chromium window will be shown up during the test. Specifying `HE
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
Both frontend and backend share the same package.json. However, the frontend dependencies are eventually not be used in production environment, because it is usually also baked into dist files. So:
|
Both frontend and backend share the same package.json. However, the frontend dependencies are eventually not used in the production environment, because it is usually also baked into dist files. So:
|
||||||
|
|
||||||
- Frontend dependencies = "devDependencies"
|
- Frontend dependencies = "devDependencies"
|
||||||
- Examples: vue, chart.js
|
- Examples: vue, chart.js
|
||||||
|
|
|
@ -15,11 +15,10 @@ It is a self-hosted monitoring tool like "Uptime Robot".
|
||||||
|
|
||||||
Try it!
|
Try it!
|
||||||
|
|
||||||
https://demo.uptime.kuma.pet
|
- Tokyo Demo Server: https://demo.uptime.kuma.pet (Sponsored by [Uptime Kuma Sponsors](https://github.com/louislam/uptime-kuma#%EF%B8%8F-sponsors))
|
||||||
|
- Europe Demo Server: https://demo.uptime-kuma.karimi.dev:27000 (Provided by [@mhkarimi1383](https://github.com/mhkarimi1383))
|
||||||
|
|
||||||
It is a temporary live demo, all data will be deleted after 10 minutes. The server is located in Tokyo, so if you live far from there, it may affect your experience. I suggest that you should install and try it out for the best demo experience.
|
It is a temporary live demo, all data will be deleted after 10 minutes. Use the one that is closer to you, but I suggest that you should install and try it out for the best demo experience.
|
||||||
|
|
||||||
VPS is sponsored by Uptime Kuma sponsors on [Open Collective](https://opencollective.com/uptime-kuma)! Thank you so much!
|
|
||||||
|
|
||||||
## ⭐ Features
|
## ⭐ Features
|
||||||
|
|
||||||
|
|
28
config/cypress.config.js
Normal file
28
config/cypress.config.js
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
const { defineConfig } = require("cypress");
|
||||||
|
|
||||||
|
module.exports = defineConfig({
|
||||||
|
projectId: "vyjuem",
|
||||||
|
e2e: {
|
||||||
|
experimentalStudio: true,
|
||||||
|
setupNodeEvents(on, config) {
|
||||||
|
|
||||||
|
},
|
||||||
|
fixturesFolder: "test/cypress/fixtures",
|
||||||
|
screenshotsFolder: "test/cypress/screenshots",
|
||||||
|
videosFolder: "test/cypress/videos",
|
||||||
|
downloadsFolder: "test/cypress/downloads",
|
||||||
|
supportFile: "test/cypress/support/e2e.js",
|
||||||
|
baseUrl: "http://localhost:3002",
|
||||||
|
defaultCommandTimeout: 10000,
|
||||||
|
pageLoadTimeout: 60000,
|
||||||
|
viewportWidth: 1920,
|
||||||
|
viewportHeight: 1080,
|
||||||
|
specPattern: [
|
||||||
|
"test/cypress/e2e/setup.cy.js",
|
||||||
|
"test/cypress/e2e/**/*.js"
|
||||||
|
],
|
||||||
|
},
|
||||||
|
env: {
|
||||||
|
baseUrl: "http://localhost:3002",
|
||||||
|
},
|
||||||
|
});
|
|
@ -1,33 +0,0 @@
|
||||||
const PuppeteerEnvironment = require("jest-environment-puppeteer");
|
|
||||||
const util = require("util");
|
|
||||||
|
|
||||||
class DebugEnv extends PuppeteerEnvironment {
|
|
||||||
async handleTestEvent(event, state) {
|
|
||||||
const ignoredEvents = [
|
|
||||||
"setup",
|
|
||||||
"add_hook",
|
|
||||||
"start_describe_definition",
|
|
||||||
"add_test",
|
|
||||||
"finish_describe_definition",
|
|
||||||
"run_start",
|
|
||||||
"run_describe_start",
|
|
||||||
"test_start",
|
|
||||||
"hook_start",
|
|
||||||
"hook_success",
|
|
||||||
"test_fn_start",
|
|
||||||
"test_fn_success",
|
|
||||||
"test_done",
|
|
||||||
"run_describe_finish",
|
|
||||||
"run_finish",
|
|
||||||
"teardown",
|
|
||||||
"test_fn_failure",
|
|
||||||
];
|
|
||||||
if (!ignoredEvents.includes(event.name)) {
|
|
||||||
console.log(
|
|
||||||
new Date().toString() + ` Unhandled event [${event.name}] ` + util.inspect(event)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = DebugEnv;
|
|
|
@ -1,5 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
"rootDir": "..",
|
|
||||||
"testRegex": "./test/frontend.spec.js",
|
|
||||||
};
|
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
"launch": {
|
|
||||||
"dumpio": true,
|
|
||||||
"slowMo": 500,
|
|
||||||
"headless": process.env.HEADLESS_TEST || false,
|
|
||||||
"userDataDir": "./data/test-chrome-profile",
|
|
||||||
args: [
|
|
||||||
"--disable-setuid-sandbox",
|
|
||||||
"--disable-gpu",
|
|
||||||
"--disable-dev-shm-usage",
|
|
||||||
"--no-default-browser-check",
|
|
||||||
"--no-experiments",
|
|
||||||
"--no-first-run",
|
|
||||||
"--no-pings",
|
|
||||||
"--no-sandbox",
|
|
||||||
"--no-zygote",
|
|
||||||
"--single-process",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
};
|
|
|
@ -1,12 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
"verbose": true,
|
|
||||||
"preset": "jest-puppeteer",
|
|
||||||
"globals": {
|
|
||||||
"__DEV__": true
|
|
||||||
},
|
|
||||||
"testRegex": "./test/e2e.spec.js",
|
|
||||||
"testEnvironment": "./config/jest-debug-env.js",
|
|
||||||
"rootDir": "..",
|
|
||||||
"testTimeout": 30000,
|
|
||||||
};
|
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
import { defineConfig } from "cypress";
|
|
||||||
|
|
||||||
export default defineConfig({
|
|
||||||
e2e: {
|
|
||||||
baseUrl: "http://localhost:3002",
|
|
||||||
defaultCommandTimeout: 10000,
|
|
||||||
pageLoadTimeout: 60000,
|
|
||||||
viewportWidth: 1920,
|
|
||||||
viewportHeight: 1080,
|
|
||||||
specPattern: ["cypress/e2e/setup.cy.ts", "cypress/e2e/**/*.ts"],
|
|
||||||
},
|
|
||||||
env: {
|
|
||||||
baseUrl: "http://localhost:3002",
|
|
||||||
},
|
|
||||||
});
|
|
|
@ -1,24 +0,0 @@
|
||||||
import { actor } from "../support/actors/actor";
|
|
||||||
import { DEFAULT_USER_DATA } from "../support/const/user-data";
|
|
||||||
import { DashboardPage } from "../support/pages/dasboard-page";
|
|
||||||
import { SetupPage } from "../support/pages/setup-page";
|
|
||||||
|
|
||||||
describe("user can create a new account on setup page", () => {
|
|
||||||
before(() => {
|
|
||||||
cy.visit("/setup");
|
|
||||||
});
|
|
||||||
|
|
||||||
it("user can create new account", () => {
|
|
||||||
cy.url().should("be.equal", SetupPage.url);
|
|
||||||
actor.setupTask.fillAndSubmitSetupForm(
|
|
||||||
DEFAULT_USER_DATA.username,
|
|
||||||
DEFAULT_USER_DATA.password,
|
|
||||||
DEFAULT_USER_DATA.password
|
|
||||||
);
|
|
||||||
|
|
||||||
cy.url().should("be.equal", DashboardPage.url);
|
|
||||||
cy.get('[role="alert"]')
|
|
||||||
.should("be.visible")
|
|
||||||
.and("contain.text", "Added Successfully.");
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { SetupTask } from "../tasks/setup-task";
|
|
||||||
|
|
||||||
class Actor {
|
|
||||||
setupTask: SetupTask = new SetupTask();
|
|
||||||
}
|
|
||||||
|
|
||||||
const actor = new Actor();
|
|
||||||
export { actor };
|
|
|
@ -1 +0,0 @@
|
||||||
import "./commands";
|
|
|
@ -1,15 +0,0 @@
|
||||||
import { SetupPage } from "../pages/setup-page";
|
|
||||||
|
|
||||||
export class SetupTask {
|
|
||||||
fillAndSubmitSetupForm(
|
|
||||||
username: string,
|
|
||||||
password: string,
|
|
||||||
passwordRepeat: string
|
|
||||||
) {
|
|
||||||
cy.get(SetupPage.usernameInput).type(username);
|
|
||||||
cy.get(SetupPage.passWordInput).type(password);
|
|
||||||
cy.get(SetupPage.passwordRepeatInput).type(passwordRepeat);
|
|
||||||
|
|
||||||
cy.get(SetupPage.submitSetupForm).click();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,51 +1,45 @@
|
||||||
// Need to use ES6 to read language files
|
// Need to use ES6 to read language files
|
||||||
|
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import path from "path";
|
|
||||||
import util from "util";
|
import util from "util";
|
||||||
import rmSync from "../fs-rmSync.js";
|
import rmSync from "../fs-rmSync.js";
|
||||||
|
|
||||||
// https://stackoverflow.com/questions/13786160/copy-folder-recursively-in-node-js
|
|
||||||
/**
|
/**
|
||||||
* Look ma, it's cp -R.
|
* Copy across the required language files
|
||||||
* @param {string} src The path to the thing to copy.
|
* Creates a local directory (./languages) and copies the required files
|
||||||
* @param {string} dest The path to the new copy.
|
* into it.
|
||||||
|
* @param {string} langCode Code of language to update. A file will be
|
||||||
|
* created with this code if one does not already exist
|
||||||
|
* @param {string} baseLang The second base language file to copy. This
|
||||||
|
* will be ignored if set to "en" as en.js is copied by default
|
||||||
*/
|
*/
|
||||||
const copyRecursiveSync = function (src, dest) {
|
function copyFiles(langCode, baseLang) {
|
||||||
let exists = fs.existsSync(src);
|
if (fs.existsSync("./languages")) {
|
||||||
let stats = exists && fs.statSync(src);
|
rmSync("./languages", { recursive: true });
|
||||||
let isDirectory = exists && stats.isDirectory();
|
}
|
||||||
|
fs.mkdirSync("./languages");
|
||||||
|
|
||||||
if (isDirectory) {
|
if (!fs.existsSync(`../../src/languages/${langCode}.js`)) {
|
||||||
fs.mkdirSync(dest);
|
fs.closeSync(fs.openSync(`./languages/${langCode}.js`, "a"));
|
||||||
fs.readdirSync(src).forEach(function (childItemName) {
|
|
||||||
copyRecursiveSync(path.join(src, childItemName),
|
|
||||||
path.join(dest, childItemName));
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
fs.copyFileSync(src, dest);
|
fs.copyFileSync(`../../src/languages/${langCode}.js`, `./languages/${langCode}.js`);
|
||||||
|
}
|
||||||
|
fs.copyFileSync("../../src/languages/en.js", "./languages/en.js");
|
||||||
|
if (baseLang !== "en") {
|
||||||
|
fs.copyFileSync(`../../src/languages/${baseLang}.js`, `./languages/${baseLang}.js`);
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
|
||||||
console.log("Arguments:", process.argv);
|
|
||||||
const baseLangCode = process.argv[2] || "en";
|
|
||||||
console.log("Base Lang: " + baseLangCode);
|
|
||||||
if (fs.existsSync("./languages")) {
|
|
||||||
rmSync("./languages", { recursive: true });
|
|
||||||
}
|
}
|
||||||
copyRecursiveSync("../../src/languages", "./languages");
|
|
||||||
|
|
||||||
const en = (await import("./languages/en.js")).default;
|
/**
|
||||||
const baseLang = (await import(`./languages/${baseLangCode}.js`)).default;
|
* Update the specified language file
|
||||||
const files = fs.readdirSync("./languages");
|
* @param {string} langCode Language code to update
|
||||||
console.log("Files:", files);
|
* @param {string} baseLang Second language to copy keys from
|
||||||
|
*/
|
||||||
for (const file of files) {
|
async function updateLanguage(langCode, baseLangCode) {
|
||||||
if (! file.endsWith(".js")) {
|
const en = (await import("./languages/en.js")).default;
|
||||||
console.log("Skipping " + file);
|
const baseLang = (await import(`./languages/${baseLangCode}.js`)).default;
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
let file = langCode + ".js";
|
||||||
console.log("Processing " + file);
|
console.log("Processing " + file);
|
||||||
const lang = await import("./languages/" + file);
|
const lang = await import("./languages/" + file);
|
||||||
|
|
||||||
|
@ -83,5 +77,20 @@ for (const file of files) {
|
||||||
fs.writeFileSync(`../../src/languages/${file}`, code);
|
fs.writeFileSync(`../../src/languages/${file}`, code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get command line arguments
|
||||||
|
const baseLangCode = process.env.npm_config_baselang || "en";
|
||||||
|
const langCode = process.env.npm_config_language;
|
||||||
|
|
||||||
|
// We need the file to edit
|
||||||
|
if (langCode == null) {
|
||||||
|
throw new Error("Argument --language=<code> must be provided");
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log("Base Lang: " + baseLangCode);
|
||||||
|
console.log("Updating: " + langCode);
|
||||||
|
|
||||||
|
copyFiles(langCode, baseLangCode);
|
||||||
|
await updateLanguage(langCode, baseLangCode);
|
||||||
rmSync("./languages", { recursive: true });
|
rmSync("./languages", { recursive: true });
|
||||||
|
|
||||||
console.log("Done. Fixing formatting by ESLint...");
|
console.log("Done. Fixing formatting by ESLint...");
|
||||||
|
|
1620
package-lock.json
generated
1620
package-lock.json
generated
File diff suppressed because it is too large
Load diff
67
package.json
67
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "uptime-kuma",
|
"name": "uptime-kuma",
|
||||||
"version": "1.18.0",
|
"version": "1.18.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -23,11 +23,9 @@
|
||||||
"start-server": "node server/server.js",
|
"start-server": "node server/server.js",
|
||||||
"start-server-dev": "cross-env NODE_ENV=development node server/server.js",
|
"start-server-dev": "cross-env NODE_ENV=development node server/server.js",
|
||||||
"build": "vite build --config ./config/vite.config.js",
|
"build": "vite build --config ./config/vite.config.js",
|
||||||
"test": "node test/prepare-test-server.js && node server/server.js --port=3002 --data-dir=./data/test/ --test",
|
"test": "node test/prepare-test-server.js && npm run jest-backend",
|
||||||
"test-with-build": "npm run build && npm test",
|
"test-with-build": "npm run build && npm test",
|
||||||
"jest": "node test/prepare-jest.js && npm run jest-frontend && npm run jest-backend",
|
"jest-backend": "cross-env TEST_BACKEND=1 jest --runInBand --detectOpenHandles --forceExit --config=./config/jest-backend.config.js",
|
||||||
"jest-frontend": "cross-env TEST_FRONTEND=1 jest --config=./config/jest-frontend.config.js",
|
|
||||||
"jest-backend": "cross-env TEST_BACKEND=1 jest --config=./config/jest-backend.config.js",
|
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"vite-preview-dist": "vite preview --host --config ./config/vite.config.js",
|
"vite-preview-dist": "vite preview --host --config ./config/vite.config.js",
|
||||||
"build-docker": "npm run build && npm run build-docker-debian && npm run build-docker-alpine",
|
"build-docker": "npm run build && npm run build-docker-debian && npm run build-docker-alpine",
|
||||||
|
@ -40,7 +38,7 @@
|
||||||
"build-docker-nightly-amd64": "docker buildx build -f docker/dockerfile --platform linux/amd64 -t louislam/uptime-kuma:nightly-amd64 --target nightly . --push --progress plain",
|
"build-docker-nightly-amd64": "docker buildx build -f docker/dockerfile --platform linux/amd64 -t louislam/uptime-kuma:nightly-amd64 --target nightly . --push --progress plain",
|
||||||
"build-docker-pr-test": "docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64 -t louislam/uptime-kuma:pr-test --target pr-test . --push",
|
"build-docker-pr-test": "docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64 -t louislam/uptime-kuma:pr-test --target pr-test . --push",
|
||||||
"upload-artifacts": "docker buildx build -f docker/dockerfile --platform linux/amd64 -t louislam/uptime-kuma:upload-artifact --build-arg VERSION --build-arg GITHUB_TOKEN --target upload-artifact . --progress plain",
|
"upload-artifacts": "docker buildx build -f docker/dockerfile --platform linux/amd64 -t louislam/uptime-kuma:upload-artifact --build-arg VERSION --build-arg GITHUB_TOKEN --target upload-artifact . --progress plain",
|
||||||
"setup": "git checkout 1.18.0 && npm ci --production && npm run download-dist",
|
"setup": "git checkout 1.18.5 && npm ci --production && npm run download-dist",
|
||||||
"download-dist": "node extra/download-dist.js",
|
"download-dist": "node extra/download-dist.js",
|
||||||
"mark-as-nightly": "node extra/mark-as-nightly.js",
|
"mark-as-nightly": "node extra/mark-as-nightly.js",
|
||||||
"reset-password": "node extra/reset-password.js",
|
"reset-password": "node extra/reset-password.js",
|
||||||
|
@ -53,8 +51,7 @@
|
||||||
"test-nodejs16": "docker build --progress plain -f test/ubuntu-nodejs16.dockerfile .",
|
"test-nodejs16": "docker build --progress plain -f test/ubuntu-nodejs16.dockerfile .",
|
||||||
"simple-dns-server": "node extra/simple-dns-server.js",
|
"simple-dns-server": "node extra/simple-dns-server.js",
|
||||||
"simple-mqtt-server": "node extra/simple-mqtt-server.js",
|
"simple-mqtt-server": "node extra/simple-mqtt-server.js",
|
||||||
"update-language-files-with-base-lang": "cd extra/update-language-files && node index.js %npm_config_base_lang% && eslint ../../src/languages/**.js --fix",
|
"update-language-files": "cd extra/update-language-files && node index.js && cross-env-shell eslint ../../src/languages/$npm_config_language.js --fix",
|
||||||
"update-language-files": "cd extra/update-language-files && node index.js && eslint ../../src/languages/**.js --fix",
|
|
||||||
"ncu-patch": "npm-check-updates -u -t patch",
|
"ncu-patch": "npm-check-updates -u -t patch",
|
||||||
"release-final": "node extra/update-version.js && npm run build-docker && node ./extra/press-any-key.js && npm run upload-artifacts && node ./extra/update-wiki-version.js",
|
"release-final": "node extra/update-version.js && npm run build-docker && node ./extra/press-any-key.js && npm run upload-artifacts && node ./extra/update-wiki-version.js",
|
||||||
"release-beta": "node extra/beta/update-version.js && npm run build && node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:$VERSION -t louislam/uptime-kuma:beta . --target release --push && node ./extra/press-any-key.js && npm run upload-artifacts",
|
"release-beta": "node extra/beta/update-version.js && npm run build && node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:$VERSION -t louislam/uptime-kuma:beta . --target release --push && node ./extra/press-any-key.js && npm run upload-artifacts",
|
||||||
|
@ -62,53 +59,55 @@
|
||||||
"build-dist-and-restart": "npm run build && npm run start-server-dev",
|
"build-dist-and-restart": "npm run build && npm run start-server-dev",
|
||||||
"start-pr-test": "node extra/checkout-pr.js && npm install && npm run dev",
|
"start-pr-test": "node extra/checkout-pr.js && npm install && npm run dev",
|
||||||
"cy:test": "node test/prepare-test-server.js && node server/server.js --port=3002 --data-dir=./data/test/ --e2e",
|
"cy:test": "node test/prepare-test-server.js && node server/server.js --port=3002 --data-dir=./data/test/ --e2e",
|
||||||
"cy:run": "npx cypress run --browser chrome --headless"
|
"cy:run": "npx cypress run --browser chrome --headless --config-file ./config/cypress.config.js",
|
||||||
|
"cypress-open": "concurrently -k -r \"node test/prepare-test-server.js && node server/server.js --port=3002 --data-dir=./data/test/\" \"cypress open --config-file ./config/cypress.config.js\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@louislam/sqlite3": "~15.0.6",
|
"@louislam/sqlite3": "~15.0.6",
|
||||||
"args-parser": "~1.3.0",
|
"args-parser": "~1.3.0",
|
||||||
"axios": "~0.27.0",
|
"axios": "~0.27.0",
|
||||||
"axios-ntlm": "^1.3.0",
|
"axios-ntlm": "~1.3.0",
|
||||||
"badge-maker": "^3.3.1",
|
"badge-maker": "~3.3.1",
|
||||||
"bcryptjs": "~2.4.3",
|
"bcryptjs": "~2.4.3",
|
||||||
"bree": "~7.1.5",
|
"bree": "~7.1.5",
|
||||||
"cacheable-lookup": "~6.0.4",
|
"cacheable-lookup": "~6.0.4",
|
||||||
"chardet": "^1.3.0",
|
"chardet": "~1.4.0",
|
||||||
"check-password-strength": "^2.0.5",
|
"check-password-strength": "^2.0.5",
|
||||||
"cheerio": "^1.0.0-rc.10",
|
"cheerio": "~1.0.0-rc.12",
|
||||||
"chroma-js": "^2.1.2",
|
"chroma-js": "~2.4.2",
|
||||||
"command-exists": "~1.2.9",
|
"command-exists": "~1.2.9",
|
||||||
"compare-versions": "~3.6.0",
|
"compare-versions": "~3.6.0",
|
||||||
"compression": "^1.7.4",
|
"compression": "~1.7.4",
|
||||||
"dayjs": "^1.11.0",
|
"dayjs": "~1.11.5",
|
||||||
"express": "~4.17.3",
|
"express": "~4.17.3",
|
||||||
"express-basic-auth": "~1.2.1",
|
"express-basic-auth": "~1.2.1",
|
||||||
"express-static-gzip": "^2.1.7",
|
"express-static-gzip": "~2.1.7",
|
||||||
"form-data": "~4.0.0",
|
"form-data": "~4.0.0",
|
||||||
"http-graceful-shutdown": "~3.1.7",
|
"http-graceful-shutdown": "~3.1.7",
|
||||||
"http-proxy-agent": "^5.0.0",
|
"http-proxy-agent": "~5.0.0",
|
||||||
"https-proxy-agent": "^5.0.0",
|
"https-proxy-agent": "~5.0.1",
|
||||||
"iconv-lite": "^0.6.3",
|
"iconv-lite": "~0.6.3",
|
||||||
|
"jsesc": "~3.0.2",
|
||||||
"jsonwebtoken": "~8.5.1",
|
"jsonwebtoken": "~8.5.1",
|
||||||
"jwt-decode": "^3.1.2",
|
"jwt-decode": "~3.1.2",
|
||||||
"limiter": "^2.1.0",
|
"limiter": "~2.1.0",
|
||||||
"mqtt": "^4.2.8",
|
"mqtt": "~4.3.7",
|
||||||
"mssql": "^8.1.0",
|
"mssql": "~8.1.4",
|
||||||
"mysql2": "^2.3.3",
|
"mysql2": "^2.3.3",
|
||||||
"node-cloudflared-tunnel": "~1.0.9",
|
"node-cloudflared-tunnel": "~1.0.9",
|
||||||
"node-radius-client": "^1.0.0",
|
"node-radius-client": "~1.0.0",
|
||||||
"nodemailer": "~6.6.5",
|
"nodemailer": "~6.6.5",
|
||||||
"notp": "~2.0.3",
|
"notp": "~2.0.3",
|
||||||
"password-hash": "~1.2.2",
|
"password-hash": "~1.2.2",
|
||||||
"pg": "^8.7.3",
|
"pg": "~8.8.0",
|
||||||
"pg-connection-string": "^2.5.0",
|
"pg-connection-string": "~2.5.0",
|
||||||
"prom-client": "~13.2.0",
|
"prom-client": "~13.2.0",
|
||||||
"prometheus-api-metrics": "~3.2.1",
|
"prometheus-api-metrics": "~3.2.1",
|
||||||
"redbean-node": "0.1.4",
|
"redbean-node": "0.1.4",
|
||||||
"socket.io": "~4.4.1",
|
"socket.io": "~4.4.1",
|
||||||
"socket.io-client": "~4.4.1",
|
"socket.io-client": "~4.4.1",
|
||||||
"socks-proxy-agent": "6.1.1",
|
"socks-proxy-agent": "6.1.1",
|
||||||
"tar": "^6.1.11",
|
"tar": "~6.1.11",
|
||||||
"tcp-ping": "~0.1.1",
|
"tcp-ping": "~0.1.1",
|
||||||
"thirty-two": "~1.0.2"
|
"thirty-two": "~1.0.2"
|
||||||
},
|
},
|
||||||
|
@ -138,20 +137,18 @@
|
||||||
"dns2": "~2.0.1",
|
"dns2": "~2.0.1",
|
||||||
"eslint": "~8.14.0",
|
"eslint": "~8.14.0",
|
||||||
"eslint-plugin-vue": "~8.7.1",
|
"eslint-plugin-vue": "~8.7.1",
|
||||||
"favico.js": "^0.3.10",
|
"favico.js": "~0.3.10",
|
||||||
"jest": "~27.2.5",
|
"jest": "~27.2.5",
|
||||||
"jest-puppeteer": "~6.0.3",
|
|
||||||
"postcss-html": "~1.5.0",
|
"postcss-html": "~1.5.0",
|
||||||
"postcss-rtlcss": "~3.7.2",
|
"postcss-rtlcss": "~3.7.2",
|
||||||
"postcss-scss": "~4.0.4",
|
"postcss-scss": "~4.0.4",
|
||||||
"prismjs": "^1.27.0",
|
"prismjs": "~1.29.0",
|
||||||
"puppeteer": "~13.1.3",
|
|
||||||
"qrcode": "~1.5.0",
|
"qrcode": "~1.5.0",
|
||||||
"rollup-plugin-visualizer": "^5.6.0",
|
"rollup-plugin-visualizer": "^5.6.0",
|
||||||
"sass": "~1.42.1",
|
"sass": "~1.42.1",
|
||||||
"stylelint": "~14.7.1",
|
"stylelint": "~14.7.1",
|
||||||
"stylelint-config-standard": "~25.0.0",
|
"stylelint-config-standard": "~25.0.0",
|
||||||
"terser": "^5.15.0",
|
"terser": "~5.15.0",
|
||||||
"timezones-list": "~3.0.1",
|
"timezones-list": "~3.0.1",
|
||||||
"typescript": "~4.4.4",
|
"typescript": "~4.4.4",
|
||||||
"v-pagination-3": "~0.1.7",
|
"v-pagination-3": "~0.1.7",
|
||||||
|
@ -161,10 +158,10 @@
|
||||||
"vue-chart-3": "3.0.9",
|
"vue-chart-3": "3.0.9",
|
||||||
"vue-confirm-dialog": "~1.0.2",
|
"vue-confirm-dialog": "~1.0.2",
|
||||||
"vue-contenteditable": "~3.0.4",
|
"vue-contenteditable": "~3.0.4",
|
||||||
"vue-i18n": "~9.1.9",
|
"vue-i18n": "~9.2.2",
|
||||||
"vue-image-crop-upload": "~3.0.3",
|
"vue-image-crop-upload": "~3.0.3",
|
||||||
"vue-multiselect": "~3.0.0-alpha.2",
|
"vue-multiselect": "~3.0.0-alpha.2",
|
||||||
"vue-prism-editor": "^2.0.0-alpha.2",
|
"vue-prism-editor": "~2.0.0-alpha.2",
|
||||||
"vue-qrcode": "~1.0.0",
|
"vue-qrcode": "~1.0.0",
|
||||||
"vue-router": "~4.0.14",
|
"vue-router": "~4.0.14",
|
||||||
"vue-toastification": "~2.0.0-rc.5",
|
"vue-toastification": "~2.0.0-rc.5",
|
||||||
|
|
|
@ -75,7 +75,7 @@ class DockerHost {
|
||||||
if (dockerHost.dockerType === "socket") {
|
if (dockerHost.dockerType === "socket") {
|
||||||
options.socketPath = dockerHost.dockerDaemon;
|
options.socketPath = dockerHost.dockerDaemon;
|
||||||
} else if (dockerHost.dockerType === "tcp") {
|
} else if (dockerHost.dockerType === "tcp") {
|
||||||
options.baseURL = dockerHost.dockerDaemon;
|
options.baseURL = DockerHost.patchDockerURL(dockerHost.dockerDaemon);
|
||||||
}
|
}
|
||||||
|
|
||||||
let res = await axios.request(options);
|
let res = await axios.request(options);
|
||||||
|
@ -99,6 +99,18 @@ class DockerHost {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Since axios 0.27.X, it does not accept `tcp://` protocol.
|
||||||
|
* Change it to `http://` on the fly in order to fix it. (https://github.com/louislam/uptime-kuma/issues/2165)
|
||||||
|
*/
|
||||||
|
static patchDockerURL(url) {
|
||||||
|
if (typeof url === "string") {
|
||||||
|
// Replace the first occurrence only with g
|
||||||
|
return url.replace(/tcp:\/\//g, "http://");
|
||||||
|
}
|
||||||
|
return url;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -17,6 +17,7 @@ const version = require("../../package.json").version;
|
||||||
const apicache = require("../modules/apicache");
|
const apicache = require("../modules/apicache");
|
||||||
const { UptimeKumaServer } = require("../uptime-kuma-server");
|
const { UptimeKumaServer } = require("../uptime-kuma-server");
|
||||||
const { CacheableDnsHttpAgent } = require("../cacheable-dns-http-agent");
|
const { CacheableDnsHttpAgent } = require("../cacheable-dns-http-agent");
|
||||||
|
const { DockerHost } = require("../docker");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* status:
|
* status:
|
||||||
|
@ -498,7 +499,7 @@ class Monitor extends BeanModel {
|
||||||
if (dockerHost._dockerType === "socket") {
|
if (dockerHost._dockerType === "socket") {
|
||||||
options.socketPath = dockerHost._dockerDaemon;
|
options.socketPath = dockerHost._dockerDaemon;
|
||||||
} else if (dockerHost._dockerType === "tcp") {
|
} else if (dockerHost._dockerType === "tcp") {
|
||||||
options.baseURL = dockerHost._dockerDaemon;
|
options.baseURL = DockerHost.patchDockerURL(dockerHost._dockerDaemon);
|
||||||
}
|
}
|
||||||
|
|
||||||
log.debug(`[${this.name}] Axios Request`);
|
log.debug(`[${this.name}] Axios Request`);
|
||||||
|
@ -541,6 +542,17 @@ class Monitor extends BeanModel {
|
||||||
bean.ping = dayjs().valueOf() - startTime;
|
bean.ping = dayjs().valueOf() - startTime;
|
||||||
} else if (this.type === "radius") {
|
} else if (this.type === "radius") {
|
||||||
let startTime = dayjs().valueOf();
|
let startTime = dayjs().valueOf();
|
||||||
|
|
||||||
|
// Handle monitors that were created before the
|
||||||
|
// update and as such don't have a value for
|
||||||
|
// this.port.
|
||||||
|
let port;
|
||||||
|
if (this.port == null) {
|
||||||
|
port = 1812;
|
||||||
|
} else {
|
||||||
|
port = this.port;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const resp = await radius(
|
const resp = await radius(
|
||||||
this.hostname,
|
this.hostname,
|
||||||
|
@ -548,7 +560,8 @@ class Monitor extends BeanModel {
|
||||||
this.radiusPassword,
|
this.radiusPassword,
|
||||||
this.radiusCalledStationId,
|
this.radiusCalledStationId,
|
||||||
this.radiusCallingStationId,
|
this.radiusCallingStationId,
|
||||||
this.radiusSecret
|
this.radiusSecret,
|
||||||
|
port
|
||||||
);
|
);
|
||||||
if (resp.code) {
|
if (resp.code) {
|
||||||
bean.msg = resp.code;
|
bean.msg = resp.code;
|
||||||
|
|
|
@ -2,6 +2,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model");
|
||||||
const { R } = require("redbean-node");
|
const { R } = require("redbean-node");
|
||||||
const cheerio = require("cheerio");
|
const cheerio = require("cheerio");
|
||||||
const { UptimeKumaServer } = require("../uptime-kuma-server");
|
const { UptimeKumaServer } = require("../uptime-kuma-server");
|
||||||
|
const jsesc = require("jsesc");
|
||||||
|
|
||||||
class StatusPage extends BeanModel {
|
class StatusPage extends BeanModel {
|
||||||
|
|
||||||
|
@ -56,13 +57,19 @@ class StatusPage extends BeanModel {
|
||||||
head.append(`<meta property="og:description" content="${description155}" />`);
|
head.append(`<meta property="og:description" content="${description155}" />`);
|
||||||
|
|
||||||
// Preload data
|
// Preload data
|
||||||
const json = JSON.stringify(await StatusPage.getStatusPageData(statusPage));
|
// Add jsesc, fix https://github.com/louislam/uptime-kuma/issues/2186
|
||||||
head.append(`
|
const escapedJSONObject = jsesc(await StatusPage.getStatusPageData(statusPage), {
|
||||||
<script>
|
"isScriptContext": true
|
||||||
window.preloadData = ${json}
|
});
|
||||||
|
|
||||||
|
const script = $(`
|
||||||
|
<script id="preload-data" data-json="{}">
|
||||||
|
window.preloadData = ${escapedJSONObject};
|
||||||
</script>
|
</script>
|
||||||
`);
|
`);
|
||||||
|
|
||||||
|
head.append(script);
|
||||||
|
|
||||||
// manifest.json
|
// manifest.json
|
||||||
$("link[rel=manifest]").attr("href", `/api/status-page/${statusPage.slug}/manifest.json`);
|
$("link[rel=manifest]").attr("href", `/api/status-page/${statusPage.slug}/manifest.json`);
|
||||||
|
|
||||||
|
|
24
server/notification-providers/freemobile.js
Normal file
24
server/notification-providers/freemobile.js
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
const NotificationProvider = require("./notification-provider");
|
||||||
|
const axios = require("axios");
|
||||||
|
|
||||||
|
class FreeMobile extends NotificationProvider {
|
||||||
|
|
||||||
|
name = "FreeMobile";
|
||||||
|
|
||||||
|
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
|
||||||
|
let okMsg = "Sent Successfully.";
|
||||||
|
try {
|
||||||
|
await axios.post(`https://smsapi.free-mobile.fr/sendmsg?msg=${encodeURIComponent(msg.replace("🔴", "⛔️"))}`, {
|
||||||
|
"user": notification.freemobileUser,
|
||||||
|
"pass": notification.freemobilePass,
|
||||||
|
});
|
||||||
|
|
||||||
|
return okMsg;
|
||||||
|
|
||||||
|
} catch (error) {
|
||||||
|
this.throwGeneralAxiosError(error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = FreeMobile;
|
|
@ -8,12 +8,19 @@ class Ntfy extends NotificationProvider {
|
||||||
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
|
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
|
||||||
let okMsg = "Sent Successfully.";
|
let okMsg = "Sent Successfully.";
|
||||||
try {
|
try {
|
||||||
await axios.post(`${notification.ntfyserverurl}`, {
|
let headers = {};
|
||||||
|
if (notification.ntfyusername) {
|
||||||
|
headers = {
|
||||||
|
"Authorization": "Basic " + Buffer.from(notification.ntfyusername + ":" + notification.ntfypassword).toString("base64"),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
let data = {
|
||||||
"topic": notification.ntfytopic,
|
"topic": notification.ntfytopic,
|
||||||
"message": msg,
|
"message": msg,
|
||||||
"priority": notification.ntfyPriority || 4,
|
"priority": notification.ntfyPriority || 4,
|
||||||
"title": "Uptime-Kuma",
|
"title": "Uptime-Kuma",
|
||||||
});
|
};
|
||||||
|
await axios.post(`${notification.ntfyserverurl}`, data, { headers: headers });
|
||||||
|
|
||||||
return okMsg;
|
return okMsg;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class Octopush extends NotificationProvider {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Default - V2
|
// Default - V2
|
||||||
if (notification.octopushVersion === 2 || !notification.octopushVersion) {
|
if (notification.octopushVersion === "2" || !notification.octopushVersion) {
|
||||||
let config = {
|
let config = {
|
||||||
headers: {
|
headers: {
|
||||||
"api-key": notification.octopushAPIKey,
|
"api-key": notification.octopushAPIKey,
|
||||||
|
@ -31,7 +31,7 @@ class Octopush extends NotificationProvider {
|
||||||
"sender": notification.octopushSenderName
|
"sender": notification.octopushSenderName
|
||||||
};
|
};
|
||||||
await axios.post("https://api.octopush.com/v1/public/sms-campaign/send", data, config);
|
await axios.post("https://api.octopush.com/v1/public/sms-campaign/send", data, config);
|
||||||
} else if (notification.octopushVersion === 1) {
|
} else if (notification.octopushVersion === "1") {
|
||||||
let data = {
|
let data = {
|
||||||
"user_login": notification.octopushDMLogin,
|
"user_login": notification.octopushDMLogin,
|
||||||
"api_key": notification.octopushDMAPIKey,
|
"api_key": notification.octopushDMAPIKey,
|
||||||
|
@ -49,7 +49,15 @@ class Octopush extends NotificationProvider {
|
||||||
},
|
},
|
||||||
params: data
|
params: data
|
||||||
};
|
};
|
||||||
await axios.post("https://www.octopush-dm.com/api/sms/json", {}, config);
|
|
||||||
|
// V1 API returns 200 even on error so we must check
|
||||||
|
// response data
|
||||||
|
let response = await axios.post("https://www.octopush-dm.com/api/sms/json", {}, config);
|
||||||
|
if ("error_code" in response.data) {
|
||||||
|
if (response.data.error_code !== "000") {
|
||||||
|
this.throwGeneralAxiosError(`Octopush error ${JSON.stringify(response.data)}`);
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new Error("Unknown Octopush version!");
|
throw new Error("Unknown Octopush version!");
|
||||||
}
|
}
|
||||||
|
|
76
server/notification-providers/squadcast.js
Normal file
76
server/notification-providers/squadcast.js
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
const NotificationProvider = require("./notification-provider");
|
||||||
|
const axios = require("axios");
|
||||||
|
const { DOWN } = require("../../src/util");
|
||||||
|
|
||||||
|
class Squadcast extends NotificationProvider {
|
||||||
|
|
||||||
|
name = "squadcast";
|
||||||
|
|
||||||
|
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
|
||||||
|
let okMsg = "Sent Successfully.";
|
||||||
|
|
||||||
|
try {
|
||||||
|
|
||||||
|
let config = {};
|
||||||
|
let data = {
|
||||||
|
message: msg,
|
||||||
|
description: "",
|
||||||
|
tags: {},
|
||||||
|
heartbeat: heartbeatJSON,
|
||||||
|
source: "uptime-kuma"
|
||||||
|
};
|
||||||
|
|
||||||
|
if (heartbeatJSON !== null) {
|
||||||
|
data.description = heartbeatJSON["msg"];
|
||||||
|
data.event_id = heartbeatJSON["monitorID"];
|
||||||
|
|
||||||
|
if (heartbeatJSON["status"] === DOWN) {
|
||||||
|
data.message = `${monitorJSON["name"]} is DOWN`;
|
||||||
|
data.status = "trigger";
|
||||||
|
} else {
|
||||||
|
data.message = `${monitorJSON["name"]} is UP`;
|
||||||
|
data.status = "resolve";
|
||||||
|
}
|
||||||
|
|
||||||
|
let address;
|
||||||
|
switch (monitorJSON["type"]) {
|
||||||
|
case "ping":
|
||||||
|
address = monitorJSON["hostname"];
|
||||||
|
break;
|
||||||
|
case "port":
|
||||||
|
case "dns":
|
||||||
|
case "steam":
|
||||||
|
address = monitorJSON["hostname"];
|
||||||
|
if (monitorJSON["port"]) {
|
||||||
|
address += ":" + monitorJSON["port"];
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
address = monitorJSON["url"];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
data.tags["AlertAddress"] = address;
|
||||||
|
|
||||||
|
monitorJSON["tags"].forEach(tag => {
|
||||||
|
data.tags[tag["name"]] = {
|
||||||
|
value: tag["value"]
|
||||||
|
};
|
||||||
|
if (tag["color"] !== null) {
|
||||||
|
data.tags[tag["name"]]["color"] = tag["color"];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
await axios.post(notification.squadcastWebhookURL, data, config);
|
||||||
|
return okMsg;
|
||||||
|
|
||||||
|
} catch (error) {
|
||||||
|
this.throwGeneralAxiosError(error);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = Squadcast;
|
|
@ -63,7 +63,7 @@ class Teams extends NotificationProvider {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (monitorUrl) {
|
if (monitorUrl && monitorUrl !== "https://") {
|
||||||
facts.push({
|
facts.push({
|
||||||
name: "URL",
|
name: "URL",
|
||||||
value: monitorUrl,
|
value: monitorUrl,
|
||||||
|
@ -127,13 +127,17 @@ class Teams extends NotificationProvider {
|
||||||
|
|
||||||
let url;
|
let url;
|
||||||
|
|
||||||
if (monitorJSON["type"] === "port") {
|
switch (monitorJSON["type"]) {
|
||||||
url = monitorJSON["hostname"];
|
case "http":
|
||||||
if (monitorJSON["port"]) {
|
case "keywork":
|
||||||
url += ":" + monitorJSON["port"];
|
url = monitorJSON["url"];
|
||||||
}
|
break;
|
||||||
} else {
|
case "docker":
|
||||||
url = monitorJSON["url"];
|
url = monitorJSON["docker_host"];
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
url = monitorJSON["hostname"];
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
const payload = this._notificationPayloadFactory({
|
const payload = this._notificationPayloadFactory({
|
||||||
|
|
|
@ -9,6 +9,7 @@ const ClickSendSMS = require("./notification-providers/clicksendsms");
|
||||||
const DingDing = require("./notification-providers/dingding");
|
const DingDing = require("./notification-providers/dingding");
|
||||||
const Discord = require("./notification-providers/discord");
|
const Discord = require("./notification-providers/discord");
|
||||||
const Feishu = require("./notification-providers/feishu");
|
const Feishu = require("./notification-providers/feishu");
|
||||||
|
const FreeMobile = require("./notification-providers/freemobile");
|
||||||
const GoogleChat = require("./notification-providers/google-chat");
|
const GoogleChat = require("./notification-providers/google-chat");
|
||||||
const Gorush = require("./notification-providers/gorush");
|
const Gorush = require("./notification-providers/gorush");
|
||||||
const Gotify = require("./notification-providers/gotify");
|
const Gotify = require("./notification-providers/gotify");
|
||||||
|
@ -32,6 +33,7 @@ const SerwerSMS = require("./notification-providers/serwersms");
|
||||||
const Signal = require("./notification-providers/signal");
|
const Signal = require("./notification-providers/signal");
|
||||||
const Slack = require("./notification-providers/slack");
|
const Slack = require("./notification-providers/slack");
|
||||||
const SMTP = require("./notification-providers/smtp");
|
const SMTP = require("./notification-providers/smtp");
|
||||||
|
const Squadcast = require("./notification-providers/squadcast");
|
||||||
const Stackfield = require("./notification-providers/stackfield");
|
const Stackfield = require("./notification-providers/stackfield");
|
||||||
const Teams = require("./notification-providers/teams");
|
const Teams = require("./notification-providers/teams");
|
||||||
const TechulusPush = require("./notification-providers/techulus-push");
|
const TechulusPush = require("./notification-providers/techulus-push");
|
||||||
|
@ -62,6 +64,7 @@ class Notification {
|
||||||
new DingDing(),
|
new DingDing(),
|
||||||
new Discord(),
|
new Discord(),
|
||||||
new Feishu(),
|
new Feishu(),
|
||||||
|
new FreeMobile(),
|
||||||
new GoogleChat(),
|
new GoogleChat(),
|
||||||
new Gorush(),
|
new Gorush(),
|
||||||
new Gotify(),
|
new Gotify(),
|
||||||
|
@ -87,6 +90,7 @@ class Notification {
|
||||||
new SMSManager(),
|
new SMSManager(),
|
||||||
new Slack(),
|
new Slack(),
|
||||||
new SMTP(),
|
new SMTP(),
|
||||||
|
new Squadcast(),
|
||||||
new Stackfield(),
|
new Stackfield(),
|
||||||
new Teams(),
|
new Teams(),
|
||||||
new TechulusPush(),
|
new TechulusPush(),
|
||||||
|
|
|
@ -105,7 +105,7 @@ Ping.prototype.send = function (callback) {
|
||||||
let _exited;
|
let _exited;
|
||||||
let _errored;
|
let _errored;
|
||||||
|
|
||||||
this._ping = spawn(this._bin, this._args); // spawn the binary
|
this._ping = spawn(this._bin, this._args, { windowsHide: true }); // spawn the binary
|
||||||
|
|
||||||
this._ping.on("error", function (err) { // handle binary errors
|
this._ping.on("error", function (err) { // handle binary errors
|
||||||
_errored = true;
|
_errored = true;
|
||||||
|
|
|
@ -127,6 +127,7 @@ const StatusPage = require("./model/status_page");
|
||||||
const { cloudflaredSocketHandler, autoStart: cloudflaredAutoStart, stop: cloudflaredStop } = require("./socket-handlers/cloudflared-socket-handler");
|
const { cloudflaredSocketHandler, autoStart: cloudflaredAutoStart, stop: cloudflaredStop } = require("./socket-handlers/cloudflared-socket-handler");
|
||||||
const { proxySocketHandler } = require("./socket-handlers/proxy-socket-handler");
|
const { proxySocketHandler } = require("./socket-handlers/proxy-socket-handler");
|
||||||
const { dockerSocketHandler } = require("./socket-handlers/docker-socket-handler");
|
const { dockerSocketHandler } = require("./socket-handlers/docker-socket-handler");
|
||||||
|
const { Settings } = require("./settings");
|
||||||
|
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
|
|
||||||
|
@ -155,7 +156,7 @@ let needSetup = false;
|
||||||
Database.init(args);
|
Database.init(args);
|
||||||
await initDatabase(testMode);
|
await initDatabase(testMode);
|
||||||
|
|
||||||
exports.entryPage = await setting("entryPage");
|
server.entryPage = await Settings.get("entryPage");
|
||||||
await StatusPage.loadDomainMappingList();
|
await StatusPage.loadDomainMappingList();
|
||||||
|
|
||||||
log.info("server", "Adding route");
|
log.info("server", "Adding route");
|
||||||
|
@ -176,14 +177,15 @@ let needSetup = false;
|
||||||
|
|
||||||
log.debug("entry", `Request Domain: ${hostname}`);
|
log.debug("entry", `Request Domain: ${hostname}`);
|
||||||
|
|
||||||
|
const uptimeKumaEntryPage = server.entryPage;
|
||||||
if (hostname in StatusPage.domainMappingList) {
|
if (hostname in StatusPage.domainMappingList) {
|
||||||
log.debug("entry", "This is a status page domain");
|
log.debug("entry", "This is a status page domain");
|
||||||
|
|
||||||
let slug = StatusPage.domainMappingList[hostname];
|
let slug = StatusPage.domainMappingList[hostname];
|
||||||
await StatusPage.handleStatusPageResponse(response, server.indexHTML, slug);
|
await StatusPage.handleStatusPageResponse(response, server.indexHTML, slug);
|
||||||
|
|
||||||
} else if (exports.entryPage && exports.entryPage.startsWith("statusPage-")) {
|
} else if (uptimeKumaEntryPage && uptimeKumaEntryPage.startsWith("statusPage-")) {
|
||||||
response.redirect("/status/" + exports.entryPage.replace("statusPage-", ""));
|
response.redirect("/status/" + uptimeKumaEntryPage.replace("statusPage-", ""));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
response.redirect("/dashboard");
|
response.redirect("/dashboard");
|
||||||
|
@ -200,7 +202,7 @@ let needSetup = false;
|
||||||
// Robots.txt
|
// Robots.txt
|
||||||
app.get("/robots.txt", async (_request, response) => {
|
app.get("/robots.txt", async (_request, response) => {
|
||||||
let txt = "User-agent: *\nDisallow:";
|
let txt = "User-agent: *\nDisallow:";
|
||||||
if (! await setting("searchEngineIndex")) {
|
if (!await setting("searchEngineIndex")) {
|
||||||
txt += " /";
|
txt += " /";
|
||||||
}
|
}
|
||||||
response.setHeader("Content-Type", "text/plain");
|
response.setHeader("Content-Type", "text/plain");
|
||||||
|
@ -1084,7 +1086,7 @@ let needSetup = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
await setSettings("general", data);
|
await setSettings("general", data);
|
||||||
exports.entryPage = data.entryPage;
|
server.entryPage = data.entryPage;
|
||||||
|
|
||||||
callback({
|
callback({
|
||||||
ok: true,
|
ok: true,
|
||||||
|
|
|
@ -56,7 +56,7 @@ module.exports.dockerSocketHandler = (socket) => {
|
||||||
let amount = await DockerHost.testDockerHost(dockerHost);
|
let amount = await DockerHost.testDockerHost(dockerHost);
|
||||||
let msg;
|
let msg;
|
||||||
|
|
||||||
if (amount > 1) {
|
if (amount >= 1) {
|
||||||
msg = "Connected Successfully. Amount of containers: " + amount;
|
msg = "Connected Successfully. Amount of containers: " + amount;
|
||||||
} else {
|
} else {
|
||||||
msg = "Connected Successfully, but there are no containers?";
|
msg = "Connected Successfully, but there are no containers?";
|
||||||
|
|
|
@ -138,7 +138,9 @@ class UptimeKumaServer {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (await Settings.get("trustProxy")) {
|
if (await Settings.get("trustProxy")) {
|
||||||
return socket.client.conn.request.headers["x-forwarded-for"]
|
const forwardedFor = socket.client.conn.request.headers["x-forwarded-for"];
|
||||||
|
|
||||||
|
return (typeof forwardedFor === "string" ? forwardedFor.split(",")[0].trim() : null)
|
||||||
|| socket.client.conn.request.headers["x-real-ip"]
|
|| socket.client.conn.request.headers["x-real-ip"]
|
||||||
|| clientIP.replace(/^.*:/, "");
|
|| clientIP.replace(/^.*:/, "");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -314,6 +314,17 @@ exports.mysqlQuery = function (connectionString, query) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Query radius server
|
||||||
|
* @param {string} hostname Hostname of radius server
|
||||||
|
* @param {string} username Username to use
|
||||||
|
* @param {string} password Password to use
|
||||||
|
* @param {string} calledStationId ID of called station
|
||||||
|
* @param {string} callingStationId ID of calling station
|
||||||
|
* @param {string} secret Secret to use
|
||||||
|
* @param {number} [port=1812] Port to contact radius server on
|
||||||
|
* @returns {Promise<any>}
|
||||||
|
*/
|
||||||
exports.radius = function (
|
exports.radius = function (
|
||||||
hostname,
|
hostname,
|
||||||
username,
|
username,
|
||||||
|
@ -321,9 +332,11 @@ exports.radius = function (
|
||||||
calledStationId,
|
calledStationId,
|
||||||
callingStationId,
|
callingStationId,
|
||||||
secret,
|
secret,
|
||||||
|
port = 1812,
|
||||||
) {
|
) {
|
||||||
const client = new radiusClient({
|
const client = new radiusClient({
|
||||||
host: hostname,
|
host: hostname,
|
||||||
|
hostPort: port,
|
||||||
dictionaries: [ file ],
|
dictionaries: [ file ],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -580,7 +593,7 @@ exports.doubleCheckPassword = async (socket, currentPassword) => {
|
||||||
exports.startUnitTest = async () => {
|
exports.startUnitTest = async () => {
|
||||||
console.log("Starting unit test...");
|
console.log("Starting unit test...");
|
||||||
const npm = /^win/.test(process.platform) ? "npm.cmd" : "npm";
|
const npm = /^win/.test(process.platform) ? "npm.cmd" : "npm";
|
||||||
const child = childProcess.spawn(npm, [ "run", "jest" ]);
|
const child = childProcess.spawn(npm, [ "run", "jest-backend" ]);
|
||||||
|
|
||||||
child.stdout.on("data", (data) => {
|
child.stdout.on("data", (data) => {
|
||||||
console.log(data.toString());
|
console.log(data.toString());
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
{{ $t("Examples") }}:
|
{{ $t("Examples") }}:
|
||||||
<ul>
|
<ul>
|
||||||
<li>/var/run/docker.sock</li>
|
<li>/var/run/docker.sock</li>
|
||||||
<li>tcp://localhost:2375</li>
|
<li>http://localhost:2375</li>
|
||||||
|
<li>https://localhost:2376 (TLS)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
12
src/components/notifications/FreeMobile.vue
Normal file
12
src/components/notifications/FreeMobile.vue
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<template>
|
||||||
|
<div class="mb-3">
|
||||||
|
<label for="freemobileUser" class="form-label">{{ $t("Free Mobile User Identifier") }}<span style="color: red;"><sup>*</sup></span></label>
|
||||||
|
<input id="freemobileUser" v-model="$parent.notification.freemobileUser" type="text" class="form-control" required>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mb-3">
|
||||||
|
<label for="freemobilePass" class="form-label">{{ $t("Free Mobile API Key") }}<span style="color: red;"><sup>*</sup></span></label>
|
||||||
|
<input id="freemobilePass" v-model="$parent.notification.freemobilePass" type="text" class="form-control" required>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<input id="notificationService" v-model="$parent.notification.notificationService" type="text" :placeholder="$t('default: notify all devices')" class="form-control">
|
<input id="notificationService" v-model="$parent.notification.notificationService" type="text" :placeholder="$t('default: notify all devices')" class="form-control">
|
||||||
|
|
||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
<p>{{ $t("A list of Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.") }}</p>
|
<p>{{ $t('A list of Notification Services can be found in Home Assistant under "Developer Tools > Services" search for "notification" to find your device/phone name.') }}</p>
|
||||||
<p>{{ $t("Automations can optionally be triggered in Home Assistant:") }}</p>
|
<p>{{ $t("Automations can optionally be triggered in Home Assistant:") }}</p>
|
||||||
<p>
|
<p>
|
||||||
{{ $t("Trigger type:") }} <code>Event</code><br />
|
{{ $t("Trigger type:") }} <code>Event</code><br />
|
||||||
|
|
|
@ -11,15 +11,31 @@
|
||||||
<input id="ntfy-server-url" v-model="$parent.notification.ntfyserverurl" type="text" class="form-control" required>
|
<input id="ntfy-server-url" v-model="$parent.notification.ntfyserverurl" type="text" class="form-control" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="ntfy-priority" class="form-label">{{ $t("Priority") }}</label>
|
<label for="ntfy-priority" class="form-label">{{ $t("Priority") }}</label>
|
||||||
<input id="ntfy-priority" v-model="$parent.notification.ntfyPriority" type="number" class="form-control" required min="1" max="5" step="1">
|
<input id="ntfy-priority" v-model="$parent.notification.ntfyPriority" type="number" class="form-control" required min="1" max="5" step="1">
|
||||||
</div>
|
</div>
|
||||||
|
<div class="mb-3">
|
||||||
|
<label for="ntfy-username" class="form-label">{{ $t("Username") }} ({{ $t("Optional") }})</label>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<input id="ntfy-username" v-model="$parent.notification.ntfyusername" type="text" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mb-3">
|
||||||
|
<label for="ntfy-password" class="form-label">{{ $t("Password") }} ({{ $t("Optional") }})</label>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<HiddenInput id="ntfy-password" v-model="$parent.notification.ntfypassword" autocomplete="new-password"></HiddenInput>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import HiddenInput from "../HiddenInput.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
HiddenInput,
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (typeof this.$parent.notification.ntfyPriority === "undefined") {
|
if (typeof this.$parent.notification.ntfyPriority === "undefined") {
|
||||||
this.$parent.notification.ntfyserverurl = "https://ntfy.sh";
|
this.$parent.notification.ntfyserverurl = "https://ntfy.sh";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="smsmanager-key" class="form-label">API Key</label>
|
<label for="smsmanager-key" class="form-label">API Key</label>
|
||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
{{ $t("SMSManager API Docs ") }}
|
{{ $t("SMSManager API Docs") }}
|
||||||
<a href="https://smsmanager.cz/api/http#send" target="_blank">{{ $t("here") }}</a>
|
<a href="https://smsmanager.cz/api/http#send" target="_blank">{{ $t("here") }}</a>
|
||||||
</div>
|
</div>
|
||||||
<input id="smsmanager-key" v-model="$parent.notification.smsmanagerApiKey" type="text" class="form-control">
|
<input id="smsmanager-key" v-model="$parent.notification.smsmanagerApiKey" type="text" class="form-control">
|
||||||
|
|
6
src/components/notifications/Squadcast.vue
Normal file
6
src/components/notifications/Squadcast.vue
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<template>
|
||||||
|
<div class="mb-3">
|
||||||
|
<label for="webhook-url" class="form-label">{{ $t("Post URL") }}</label>
|
||||||
|
<input id="webhook-url" v-model="$parent.notification.squadcastWebhookURL" type="url" pattern="https?://.+" class="form-control" required>
|
||||||
|
</div>
|
||||||
|
</template>
|
|
@ -7,6 +7,7 @@ import ClickSendSMS from "./ClickSendSMS.vue";
|
||||||
import DingDing from "./DingDing.vue";
|
import DingDing from "./DingDing.vue";
|
||||||
import Discord from "./Discord.vue";
|
import Discord from "./Discord.vue";
|
||||||
import Feishu from "./Feishu.vue";
|
import Feishu from "./Feishu.vue";
|
||||||
|
import FreeMobile from "./FreeMobile.vue";
|
||||||
import GoogleChat from "./GoogleChat.vue";
|
import GoogleChat from "./GoogleChat.vue";
|
||||||
import Gorush from "./Gorush.vue";
|
import Gorush from "./Gorush.vue";
|
||||||
import Gotify from "./Gotify.vue";
|
import Gotify from "./Gotify.vue";
|
||||||
|
@ -31,6 +32,7 @@ import SerwerSMS from "./SerwerSMS.vue";
|
||||||
import Signal from "./Signal.vue";
|
import Signal from "./Signal.vue";
|
||||||
import SMSManager from "./SMSManager.vue";
|
import SMSManager from "./SMSManager.vue";
|
||||||
import Slack from "./Slack.vue";
|
import Slack from "./Slack.vue";
|
||||||
|
import Squadcast from "./Squadcast.vue";
|
||||||
import Stackfield from "./Stackfield.vue";
|
import Stackfield from "./Stackfield.vue";
|
||||||
import STMP from "./SMTP.vue";
|
import STMP from "./SMTP.vue";
|
||||||
import Teams from "./Teams.vue";
|
import Teams from "./Teams.vue";
|
||||||
|
@ -55,6 +57,7 @@ const NotificationFormList = {
|
||||||
"DingDing": DingDing,
|
"DingDing": DingDing,
|
||||||
"discord": Discord,
|
"discord": Discord,
|
||||||
"Feishu": Feishu,
|
"Feishu": Feishu,
|
||||||
|
"FreeMobile": FreeMobile,
|
||||||
"GoogleChat": GoogleChat,
|
"GoogleChat": GoogleChat,
|
||||||
"gorush": Gorush,
|
"gorush": Gorush,
|
||||||
"gotify": Gotify,
|
"gotify": Gotify,
|
||||||
|
@ -79,6 +82,7 @@ const NotificationFormList = {
|
||||||
"signal": Signal,
|
"signal": Signal,
|
||||||
"SMSManager": SMSManager,
|
"SMSManager": SMSManager,
|
||||||
"slack": Slack,
|
"slack": Slack,
|
||||||
|
"squadcast": Squadcast,
|
||||||
"smtp": STMP,
|
"smtp": STMP,
|
||||||
"stackfield": Stackfield,
|
"stackfield": Stackfield,
|
||||||
"teams": Teams,
|
"teams": Teams,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { createI18n } from "vue-i18n/index";
|
import { createI18n } from "vue-i18n/dist/vue-i18n.esm-browser.prod.js";
|
||||||
import en from "./languages/en";
|
import en from "./languages/en";
|
||||||
|
|
||||||
const languageList = {
|
const languageList = {
|
||||||
|
@ -34,6 +34,7 @@ const languageList = {
|
||||||
"zh-TW": "繁體中文 (台灣)",
|
"zh-TW": "繁體中文 (台灣)",
|
||||||
"uk-UA": "Український",
|
"uk-UA": "Український",
|
||||||
"th-TH": "ไทย",
|
"th-TH": "ไทย",
|
||||||
|
"el-GR": "Ελληνικά",
|
||||||
};
|
};
|
||||||
|
|
||||||
let messages = {
|
let messages = {
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
# How to translate
|
# How to translate
|
||||||
|
|
||||||
1. Fork this repo.
|
1. Fork this repo.
|
||||||
2. Create a language file (e.g. `zh-TW.js`). The filename must be ISO language code: http://www.lingoes.net/en/translator/langcode.htm
|
2. Run `npm run update-language-files --language=<code>` where `<code>`
|
||||||
3. Run `npm run update-language-files`. You can also use this command to check if there are new strings to translate for your language.
|
is a valid ISO language code:
|
||||||
4. Your language file should be filled in. You can translate now.
|
http://www.lingoes.net/en/translator/langcode.htm. You can also use
|
||||||
5. Add it into `languageList` constant.
|
this command to check if there are new strings to
|
||||||
6. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) when you have done.
|
translate for your language.
|
||||||
|
3. Your language file should be filled in. You can translate now.
|
||||||
|
4. Add it into `languageList` constant.
|
||||||
|
5. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) when you have done.
|
||||||
|
|
||||||
If you do not have programming skills, let me know in [the issues section](https://github.com/louislam/uptime-kuma/issues). I will assist you. 😏
|
If you do not have programming skills, let me know in [the issues section](https://github.com/louislam/uptime-kuma/issues). I will assist you. 😏
|
||||||
|
|
|
@ -562,4 +562,24 @@ export default {
|
||||||
"Docker Host": "Docker хост",
|
"Docker Host": "Docker хост",
|
||||||
"Docker Hosts": "Docker хостове",
|
"Docker Hosts": "Docker хостове",
|
||||||
trustProxyDescription: "Trust 'X-Forwarded-*' headers. Ако искате да получавате правилния IP адрес на клиента, а Uptime Kuma е зад системи като Nginx или Apache, трябва да разрешите тази опция.",
|
trustProxyDescription: "Trust 'X-Forwarded-*' headers. Ако искате да получавате правилния IP адрес на клиента, а Uptime Kuma е зад системи като Nginx или Apache, трябва да разрешите тази опция.",
|
||||||
|
Examples: "Примери",
|
||||||
|
"Home Assistant URL": "Home Assistant URL адрес",
|
||||||
|
"Long-Lived Access Token": "Long-Lived Access Token",
|
||||||
|
"Long-Lived Access Token can be created by clicking on your profile name (bottom left) and scrolling to the bottom then click Create Token. ": "Long-Lived Access Token можете да създадете, като кликнете върху името на профила си (долу ляво) и превъртите до най-долу, след това кликнете върху Създаване на токен. ",
|
||||||
|
"Notification Service": "Услуга за известяване",
|
||||||
|
"default: notify all devices": "по подразбиране: извести всички устройства",
|
||||||
|
"A list of Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.": "Списък с услугите за известяване може да бъде намерен в Home Assistant под \"Developer Tools > Services\", там потърсете \"notification\", за да намерите името на вашето устройство/телефон.",
|
||||||
|
"Automations can optionally be triggered in Home Assistant:": "Автоматизациите могат да се задействат при нужда в Home Assistant:",
|
||||||
|
"Trigger type:": "Задействане тип:",
|
||||||
|
"Event type:": "Събитие тип:",
|
||||||
|
"Event data:": "Събитие данни:",
|
||||||
|
"Then choose an action, for example switch the scene to where an RGB light is red.": "След което изберете действие, например да превключите сцената, където RGB светлината е червена.",
|
||||||
|
"Frontend Version": "Фронтенд версия",
|
||||||
|
"Frontend Version do not match backend version!": "Фронтенд версията не съвпада с Бекенд версията!",
|
||||||
|
"Base URL": "Базов URL адрес",
|
||||||
|
goAlertInfo: "GoAlert е приложение с отворен код за планиране на повиквания, автоматизирани ескалации и известия (като SMS или гласови повиквания). Автоматично ангажирайте точния човек, по точния начин и в точното време! {0}",
|
||||||
|
goAlertIntegrationKeyInfo: "Вземете общ API интеграционен ключ за услугата във формат \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\" обикновено стойността на параметъра token на копирания URL адрес.",
|
||||||
|
goAlert: "GoAlert",
|
||||||
|
backupOutdatedWarning: "Отпаднало: Тъй като са добавени много функции, тази опция за архивиране не е достатъчно поддържана и не може да генерира или възстанови пълен архив.",
|
||||||
|
backupRecommend: "Моля, архивирайте дяла или папката (./data/) директно вместо това.",
|
||||||
};
|
};
|
||||||
|
|
|
@ -68,7 +68,7 @@ export default {
|
||||||
Timezone: "Zeitzone",
|
Timezone: "Zeitzone",
|
||||||
"Search Engine Visibility": "Sichtbarkeit für Suchmaschinen",
|
"Search Engine Visibility": "Sichtbarkeit für Suchmaschinen",
|
||||||
"Allow indexing": "Indizierung zulassen",
|
"Allow indexing": "Indizierung zulassen",
|
||||||
"Discourage search engines from indexing site": "Halte Suchmaschinen von der Indexierung der Seite ab",
|
"Discourage search engines from indexing site": "Suchmaschinen darum bitten, die Seite nicht zu indizieren",
|
||||||
"Change Password": "Passwort ändern",
|
"Change Password": "Passwort ändern",
|
||||||
"Current Password": "Aktuelles Passwort",
|
"Current Password": "Aktuelles Passwort",
|
||||||
"New Password": "Neues Passwort",
|
"New Password": "Neues Passwort",
|
||||||
|
@ -78,7 +78,7 @@ export default {
|
||||||
"Disable Auth": "Authentifizierung deaktivieren",
|
"Disable Auth": "Authentifizierung deaktivieren",
|
||||||
"Enable Auth": "Authentifizierung aktivieren",
|
"Enable Auth": "Authentifizierung aktivieren",
|
||||||
"disableauth.message1": "Bist du sicher das du die <strong>Authentifizierung deaktivieren</strong> möchtest?",
|
"disableauth.message1": "Bist du sicher das du die <strong>Authentifizierung deaktivieren</strong> möchtest?",
|
||||||
"disableauth.message2": "Es ist für <strong>jemanden der eine externe Authentifizierung</strong> vor Uptime Kuma geschaltet hat, wie z.B. Cloudflare Access.",
|
"disableauth.message2": "Dies ist für Szenarien gedacht, <strong>in denen man eine externe Authentifizierung</strong> vor Uptime Kuma geschaltet hat, wie z.B. Cloudflare Access, Authelia oder andere Authentifizierungsmechanismen.",
|
||||||
"Please use this option carefully!": "Bitte mit Vorsicht nutzen.",
|
"Please use this option carefully!": "Bitte mit Vorsicht nutzen.",
|
||||||
Logout: "Ausloggen",
|
Logout: "Ausloggen",
|
||||||
notificationDescription: "Benachrichtigungen müssen einem Monitor zugewiesen werden, damit diese funktionieren.",
|
notificationDescription: "Benachrichtigungen müssen einem Monitor zugewiesen werden, damit diese funktionieren.",
|
||||||
|
@ -559,7 +559,7 @@ export default {
|
||||||
"ntfy Topic": "ntfy Thema",
|
"ntfy Topic": "ntfy Thema",
|
||||||
Domain: "Domain",
|
Domain: "Domain",
|
||||||
Workstation: "Workstation",
|
Workstation: "Workstation",
|
||||||
disableCloudflaredNoAuthMsg: "Du bist im nicht-authentifizieren modus, ein Passwort wird nicht benötigt.",
|
disableCloudflaredNoAuthMsg: "Du bist im nicht-authentifizieren Modus, ein Passwort wird nicht benötigt.",
|
||||||
trustProxyDescription: "Vertraue 'X-Forwarded-*' headern. Wenn man die richtige client IP haben möchte und Uptime Kuma hinter einem Proxy wie Nginx or Apache läuft, wollte dies aktiviert werden.",
|
trustProxyDescription: "Vertraue 'X-Forwarded-*' headern. Wenn man die richtige client IP haben möchte und Uptime Kuma hinter einem Proxy wie Nginx or Apache läuft, wollte dies aktiviert werden.",
|
||||||
wayToGetLineNotifyToken: "Du kannst hier ein Token erhalten: {0}",
|
wayToGetLineNotifyToken: "Du kannst hier ein Token erhalten: {0}",
|
||||||
Examples: "Beispiele",
|
Examples: "Beispiele",
|
||||||
|
|
585
src/languages/el-GR.js
Normal file
585
src/languages/el-GR.js
Normal file
|
@ -0,0 +1,585 @@
|
||||||
|
export default {
|
||||||
|
languageName: "Ελληνικά",
|
||||||
|
checkEverySecond: "Έλεγχος κάθε {0} δευτερόλεπτα",
|
||||||
|
retryCheckEverySecond: "Επανάληψη κάθε {0} δευτερόλεπτα",
|
||||||
|
resendEveryXTimes: "Επανάληψη αποστολής ειδοποίησης κάθε {0} φορές",
|
||||||
|
resendDisabled: "Η επανάληψη αποστολής ειδοποίησης είναι απενεργοποιημένη",
|
||||||
|
retriesDescription: "Μέγιστες επαναλήψεις προτού η υπηρεσία επισημανθεί ως κατω και σταλεί μια ειδοποίηση",
|
||||||
|
ignoreTLSError: "Παράβλεψη σφάλματος TLS/SSL για ιστότοπους HTTPS",
|
||||||
|
upsideDownModeDescription: "Αναποδογυρίστε την κατάσταση. Εάν η υπηρεσία είναι προσβάσιμη, είναι ΚΑΤΩ.",
|
||||||
|
maxRedirectDescription: "Μέγιστος αριθμός redirect που θα ακολουθήσουν. Ρυθμίστε το 0 για να απενεργοποιήσετε τα redirect.",
|
||||||
|
acceptedStatusCodesDescription: "Επιλέξτε κωδικούς κατάστασης που θεωρούνται επιτυχή.",
|
||||||
|
passwordNotMatchMsg: "Ο κωδικός δεν ταιριάζει.",
|
||||||
|
notificationDescription: "Οι ειδοποιήσεις πρέπει να εκχωρηθούν σε μια παρακολούθηση για να λειτουργήσουν.",
|
||||||
|
keywordDescription: "Αναζήτηση λέξης-κλειδιού σε απλή απόκριση HTML ή JSON. Η αναζήτηση είναι διάκριση πεζών-κεφαλαίων.",
|
||||||
|
pauseDashboardHome: "Παύση",
|
||||||
|
deleteMonitorMsg: "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν την παρακολούθηση;",
|
||||||
|
deleteNotificationMsg: "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν την ειδοποίηση για όλες τις παρακολούθησης?",
|
||||||
|
dnsPortDescription: "Θύρα διακομιστή DNS. Προεπιλογή σε 53. Μπορείτε να αλλάξετε τη θύρα ανά πάσα στιγμή.",
|
||||||
|
resolverserverDescription: "Το Cloudflare είναι ο προεπιλεγμένος διακομιστής. Μπορείτε να αλλάξετε τον διακομιστή επίλυσης ανά πάσα στιγμήhe default server. You can change the resolver server anytime.",
|
||||||
|
rrtypeDescription: "Επιλέξτε τον τύπο RR που θέλετε να παρακολουθήσετε",
|
||||||
|
pauseMonitorMsg: "Είστε βέβαιοι ότι θέλετε να κάνετε παύση;",
|
||||||
|
enableDefaultNotificationDescription: "Αυτή η ειδοποίηση θα είναι ενεργοποιημένη από προεπιλογή για νέες παρακολούθησης. Μπορείτε ακόμα να απενεργοποιήσετε την ειδοποίηση ξεχωριστά για κάθε παρακολούθηση.",
|
||||||
|
clearEventsMsg: "Είστε βέβαιοι ότι θέλετε να διαγράψετε όλα τα συμβάντα για αυτήν την παρακολούθηση;",
|
||||||
|
clearHeartbeatsMsg: "Είστε βέβαιοι ότι θέλετε να διαγράψετε όλους τους καρδιακούς παλμούς για αυτήν την παρακολούθηση;",
|
||||||
|
confirmClearStatisticsMsg: "Είστε βέβαιοι ότι θέλετε να διαγράψετε ΟΛΑ τα στατιστικά στοιχεία;?",
|
||||||
|
importHandleDescription: "Επιλέξτε «Παράλειψη υπάρχοντος» εάν θέλετε να παραλείψετε κάθε παρακολούθηση ή ειδοποίηση με το ίδιο όνομα. Το 'Overwrite' θα διαγράψει κάθε υπάρχουσα παρακολούθηση και ειδοποίηση.",
|
||||||
|
confirmImportMsg: "Είστε βέβαιοι ότι θέλετε να εισαγάγετε το αντίγραφο ασφαλείας; Επαληθεύστε ότι έχετε επιλέξει τη σωστή επιλογή.",
|
||||||
|
twoFAVerifyLabel: "Εισαγάγετε το 2FA κωδικό για να επαληθεύσετε: ",
|
||||||
|
tokenValidSettingsMsg: "Ο κωδικός 2FA είναι έγκυρο! Τώρα μπορείτε να αποθηκεύσετε τις ρυθμίσεις 2FA",
|
||||||
|
confirmEnableTwoFAMsg: "Είστε βέβαιοι ότι θέλετε να ενεργοποιήσετε το 2FA;",
|
||||||
|
confirmDisableTwoFAMsg: "Είστε βέβαιοι ότι θέλετε να απενεργοποιήσετε το 2FA;",
|
||||||
|
Settings: "Ρυθμίσεις",
|
||||||
|
Dashboard: "Πίνακας",
|
||||||
|
"New Update": "Νέα αναβάθμιση",
|
||||||
|
Language: "Γλώσσα",
|
||||||
|
Appearance: "Εμφάνιση",
|
||||||
|
Theme: "Θέμα",
|
||||||
|
General: "Γενικά",
|
||||||
|
"Primary Base URL": "Κύρια βασική διεύθυνση URL",
|
||||||
|
Version: "Εκδοχή",
|
||||||
|
"Check Update On GitHub": "Ελέγξτε για Ενημέρωση στο GitHub",
|
||||||
|
List: "Λίστα",
|
||||||
|
Add: "Προσθήκη",
|
||||||
|
"Add New Monitor": "Προσθήκη νέας παρακολούθησης",
|
||||||
|
"Quick Stats": "Γρήγορα στατιστικά",
|
||||||
|
Up: "Πάνω",
|
||||||
|
Down: "Κάτω",
|
||||||
|
Pending: "Εκκρεμεί",
|
||||||
|
Unknown: "Άγνωστο",
|
||||||
|
Pause: "Παύση",
|
||||||
|
Name: "Ονομα",
|
||||||
|
Status: "Κατάσταση",
|
||||||
|
DateTime: "ΗμερομηνίαΏρα",
|
||||||
|
Message: "Μήνυμα",
|
||||||
|
"No important events": "Δεν υπάρχουν σημαντικά γεγονότα",
|
||||||
|
Resume: "Συνέχιση",
|
||||||
|
Edit: "Επεξεργασία",
|
||||||
|
Delete: "Διαγράφη",
|
||||||
|
Current: "Current",
|
||||||
|
Uptime: "Χρόνος λειτουργίας",
|
||||||
|
"Cert Exp.": "Cert Exp.",
|
||||||
|
day: "ημέρα | ημέρες",
|
||||||
|
"-day": "-ημέρα",
|
||||||
|
hour: "ώρα",
|
||||||
|
"-hour": "-ώρα",
|
||||||
|
Response: "Απάντηση",
|
||||||
|
Ping: "Ping",
|
||||||
|
"Monitor Type": "Τύπος παρακολούθησης",
|
||||||
|
Keyword: "Λέξη-κλειδί",
|
||||||
|
"Friendly Name": "Φιλικό όνομα",
|
||||||
|
URL: "URL",
|
||||||
|
Hostname: "Hostname",
|
||||||
|
Port: "Port",
|
||||||
|
"Heartbeat Interval": "Διάστημα καρδιακών παλμών",
|
||||||
|
Retries: "Επαναλήψεις",
|
||||||
|
"Heartbeat Retry Interval": "Διάστημα επανάληψης παλμών καρδιάς",
|
||||||
|
"Resend Notification if Down X times consequently": "Αποστολή νέας ειδοποίησης εάν κατω X φορές κατά συνέχεια",
|
||||||
|
Advanced: "Προχωρημένα",
|
||||||
|
"Upside Down Mode": "Ανάποδη λειτουργία",
|
||||||
|
"Max. Redirects": "Μέγιστη. Ανακατευθύνσεις",
|
||||||
|
"Accepted Status Codes": "Αποδεκτοί Κωδικοί Κατάστασης",
|
||||||
|
"Push URL": "Push URL",
|
||||||
|
needPushEvery: "Θα πρέπει να καλείτε αυτήν τη διεύθυνση URL κάθε {0} δευτερόλεπτα.",
|
||||||
|
pushOptionalParams: "Προαιρετικές παράμετροι: {0}",
|
||||||
|
Save: "Αποθηκεύση",
|
||||||
|
Notifications: "Ειδοποιήσεις",
|
||||||
|
"Not available, please setup.": "Μη διαθέσιμο, παρακαλώ ρυθμίστε.",
|
||||||
|
"Setup Notification": "Δημιουργία ειδοποίησης",
|
||||||
|
Light: "Φωτεινό",
|
||||||
|
Dark: "Σκοτεινό",
|
||||||
|
Auto: "Αυτόματο",
|
||||||
|
"Theme - Heartbeat Bar": "Θέμα - Μπάρα καρδιακών παλμών",
|
||||||
|
Normal: "Κανονικό",
|
||||||
|
Bottom: "Κάτω μέρος",
|
||||||
|
None: "Τίποτα",
|
||||||
|
Timezone: "Ζώνη ώρας",
|
||||||
|
"Search Engine Visibility": "Ορατότητα μηχανών αναζήτησης",
|
||||||
|
"Allow indexing": "Να επιτρέπεται η ευρετηρίαση",
|
||||||
|
"Discourage search engines from indexing site": "Αποθαρρύνετε τις μηχανές αναζήτησης από την ευρετηρίαση ιστότοπου",
|
||||||
|
"Change Password": "Αλλαγή κωδικού πρόσβασης",
|
||||||
|
"Current Password": "Τρέχων κωδικός πρόσβασης",
|
||||||
|
"New Password": "Νέος κωδικός πρόσβασης",
|
||||||
|
"Repeat New Password": "Επαναλάβετε τον νέο κωδικό πρόσβασης",
|
||||||
|
"Update Password": "Ενημέρωση κωδικού πρόσβασης",
|
||||||
|
"Disable Auth": "Απενεργοποίηση ελέγχου ταυτότητας",
|
||||||
|
"Enable Auth": "Ενεργοποίηση ελέγχου ταυτότητας",
|
||||||
|
"disableauth.message1": "Είστε βέβαιοι ότι θέλετε να <strong>απενεργοποιήσετε τον έλεγχο ταυτότητας</strong>;",
|
||||||
|
"disableauth.message2": "Έχει σχεδιαστεί για σενάρια <strong>όπου σκοπεύετε να εφαρμόσετε έλεγχο ταυτότητας τρίτου μέρους</strong> μπροστά από το Uptime Kuma, όπως το Cloudflare Access, Authelia ή άλλους μηχανισμούς ελέγχου ταυτότητας.",
|
||||||
|
"Please use this option carefully!": "Χρησιμοποιήστε αυτή την επιλογή προσεκτικά!",
|
||||||
|
Logout: "Αποσύνδεση",
|
||||||
|
Leave: "Φύγετε",
|
||||||
|
"I understand, please disable": "Καταλαβαίνω, απενεργοποιήστε",
|
||||||
|
Confirm: "Επιβεβαίωση",
|
||||||
|
Yes: "Ναί",
|
||||||
|
No: "Οχι",
|
||||||
|
Username: "Όνομα χρήστη",
|
||||||
|
Password: "Κωδικός πρόσβασης",
|
||||||
|
"Remember me": "Θυμήσου με",
|
||||||
|
Login: "Σύνδεση",
|
||||||
|
"No Monitors, please": "Δεν υπάρχουν παρακολούθησης παρακαλώ",
|
||||||
|
"add one": "προσθέστε ένα",
|
||||||
|
"Notification Type": "Είδος ειδοποίησης",
|
||||||
|
Email: "Email",
|
||||||
|
Test: "Δοκιμή",
|
||||||
|
"Certificate Info": "Πληροφορίες πιστοποιητικού",
|
||||||
|
"Resolver Server": "Διακομιστής επίλυσης",
|
||||||
|
"Resource Record Type": "Τύπος εγγραφής πόρων",
|
||||||
|
"Last Result": "Τελευταίο Αποτέλεσμα",
|
||||||
|
"Create your admin account": "Δημιουργήστε τον λογαριασμό διαχειριστή σας",
|
||||||
|
"Repeat Password": "Επαναλάβετε τον κωδικό πρόσβασης",
|
||||||
|
"Import Backup": "Εισαγωγή αντιγράφων ασφαλείας",
|
||||||
|
"Export Backup": "Εξαγωγή αντιγράφων ασφαλείας",
|
||||||
|
Export: "Εξαγωγή",
|
||||||
|
Import: "Εισαγωγή",
|
||||||
|
respTime: "Χρόν. Aπό (ms)",
|
||||||
|
notAvailableShort: "N/A",
|
||||||
|
"Default enabled": "Προεπιλογή ενεργοποιημένη",
|
||||||
|
"Apply on all existing monitors": "Εφαρμόστε σε όλες τις υπάρχουσες παρακολούθησης",
|
||||||
|
Create: "Δημιουργία",
|
||||||
|
"Clear Data": "Καθαρισμός δεδομένων",
|
||||||
|
Events: "Γεγονότα",
|
||||||
|
Heartbeats: "Παλμοι καρδιας",
|
||||||
|
"Auto Get": "Αυτόματη λήψη",
|
||||||
|
backupDescription: "Μπορείτε να δημιουργήσετε αντίγραφα ασφαλείας γία ολλες της παρακολούθησης και ειδοποιήσης σε ένα αρχείο JSON.",
|
||||||
|
backupDescription2: "Σημείωση: δεν περιλαμβάνονται δεδομένα ιστορικού και συμβάντων.",
|
||||||
|
backupDescription3: "Στο αρχείο εξαγωγής περιλαμβάνονται ευαίσθητα δεδομένα, όπως token ειδοποιήσεων. Aποθηκεύστε την εξαγωγή με ασφάλεια.",
|
||||||
|
alertNoFile: "Επιλέξτε ένα αρχείο για εισαγωγή.",
|
||||||
|
alertWrongFileType: "Επιλέξτε ένα αρχείο JSON.",
|
||||||
|
"Clear all statistics": "Εκκαθάριση όλων των στατιστικών",
|
||||||
|
"Skip existing": "Παράβλεψη υπάρχοντος",
|
||||||
|
Overwrite: "Αντικατάσταση",
|
||||||
|
Options: "Επιλογές",
|
||||||
|
"Keep both": "Κράτα και τα δύο",
|
||||||
|
"Verify Token": "Επαλήθευση Token",
|
||||||
|
"Setup 2FA": "Ρύθμιση 2FA",
|
||||||
|
"Enable 2FA": "Ενεργοποίηση 2FA",
|
||||||
|
"Disable 2FA": "Απενεργοποίηση 2FA",
|
||||||
|
"2FA Settings": "Ρυθμίσεις 2FA",
|
||||||
|
"Two Factor Authentication": "Έλεγχος ταυτότητας δύο παραγόντων",
|
||||||
|
Active: "Ενεργός",
|
||||||
|
Inactive: "Ανενεργό",
|
||||||
|
Token: "Token",
|
||||||
|
"Show URI": "Εμφάνιση URI",
|
||||||
|
Tags: "Ετικέτες",
|
||||||
|
"Add New below or Select...": "Προσθήκη νέου παρακάτω ή Επιλέξτε...",
|
||||||
|
"Tag with this name already exist.": "Υπάρχει ήδη η ετικέτα με αυτό το όνομα.",
|
||||||
|
"Tag with this value already exist.": "Υπάρχει ήδη ετικέτα με αυτό το value.",
|
||||||
|
color: "χρώμα",
|
||||||
|
"value (optional)": "value (optional)",
|
||||||
|
Gray: "Γκρί",
|
||||||
|
Red: "Κόκκινο",
|
||||||
|
Orange: "Πορτοκάλι",
|
||||||
|
Green: "Πράσινο",
|
||||||
|
Blue: "Μπλε",
|
||||||
|
Indigo: "Indigo",
|
||||||
|
Purple: "Μωβ",
|
||||||
|
Pink: "Ροζ",
|
||||||
|
"Search...": "Αναζήτηση...",
|
||||||
|
"Avg. Ping": "Μέσo.Ping",
|
||||||
|
"Avg. Response": "Μέσo. Aπάντηση",
|
||||||
|
"Entry Page": "Σελίδα εισαγωγής",
|
||||||
|
statusPageNothing: "Δεν υπάρχει τίποτα εδώ, προσθέστε μια ομάδα ή μια παρακολούθηση.",
|
||||||
|
"No Services": "Δεν υπάρχουν υπηρεσίες",
|
||||||
|
"All Systems Operational": "Όλα τα συστήματα λειτουργούν",
|
||||||
|
"Partially Degraded Service": "Μερικώς υποβαθμισμένη υπηρεσία",
|
||||||
|
"Degraded Service": "Υποβαθμισμένη υπηρεσία",
|
||||||
|
"Add Group": "Προσθήκη γρουπ",
|
||||||
|
"Add a monitor": "Προσθήκη παρακολούθησης",
|
||||||
|
"Edit Status Page": "Επεξεργασία σελίδας κατάστασης",
|
||||||
|
"Go to Dashboard": "Μεταβείτε στον Πίνακα ελέγχου",
|
||||||
|
"Status Page": "Σελίδα κατάστασης",
|
||||||
|
"Status Pages": "Σελίδες κατάστασης",
|
||||||
|
defaultNotificationName: "Η ειδοποίηση μου {notification} ({number})",
|
||||||
|
here: "εδώ",
|
||||||
|
Required: "Απαιτείται",
|
||||||
|
telegram: "Telegram",
|
||||||
|
"Bot Token": "Διακριτικό Bot",
|
||||||
|
wayToGetTelegramToken: "Μπορείτε να πάρετε ένα διακριτικό από {0}.",
|
||||||
|
"Chat ID": "Chat ID",
|
||||||
|
supportTelegramChatID: "Support Direct Chat / Group / Channel's Chat ID",
|
||||||
|
wayToGetTelegramChatID: "Μπορείτε να λάβετε το αναγνωριστικό συνομιλίας σας στέλνοντας ένα μήνυμα στο bot και μεταβαίνοντας σε αυτήν τη διεύθυνση URL για να προβάλετε το chat_id:",
|
||||||
|
"YOUR BOT TOKEN HERE": "ΤΟ BOT ΣΑΣ ΔΙΑΚΡΙΤΙΚΌ ΕΔΩ",
|
||||||
|
chatIDNotFound: "Το Chat ID δεν βρέθηκε. Στείλτε πρώτα ένα μήνυμα σε αυτό το bot",
|
||||||
|
webhook: "Webhook",
|
||||||
|
"Post URL": "Post URL",
|
||||||
|
"Content Type": "Τύπος περιεχομένου",
|
||||||
|
webhookJsonDesc: "{0} είναι καλό για οποιονδήποτε σύγχρονο διακομιστή HTTP όπως το Express.js",
|
||||||
|
webhookFormDataDesc: "{multipart} είναι καλό για την PHP. Το JSON θα πρέπει να αναλυθεί με {decodeFunction}",
|
||||||
|
smtp: "Email (SMTP)",
|
||||||
|
secureOptionNone: "None / STARTTLS (25, 587)",
|
||||||
|
secureOptionTLS: "TLS (465)",
|
||||||
|
"Ignore TLS Error": "Παράβλεψη σφάλματος TLS",
|
||||||
|
"From Email": "Από Email",
|
||||||
|
emailCustomSubject: "Προσαρμοσμένο θέμα",
|
||||||
|
"To Email": "Προς Email",
|
||||||
|
smtpCC: "CC",
|
||||||
|
smtpBCC: "BCC",
|
||||||
|
discord: "Discord",
|
||||||
|
"Discord Webhook URL": "Discord Webhook URL",
|
||||||
|
wayToGetDiscordURL: "Μπορείτε να το αποκτήσετε μεταβαίνοντας στις Ρυθμίσεις διακομιστή -> Ενσωματώσεις -> Δημιουργία Webhook",
|
||||||
|
"Bot Display Name": "Εμφανιζόμενο όνομα bot",
|
||||||
|
"Prefix Custom Message": "Προσαρμοσμένο μήνυμα",
|
||||||
|
"Hello @everyone is...": "Γεια {'@'}everyone ειναι...",
|
||||||
|
teams: "Microsoft Teams",
|
||||||
|
"Webhook URL": "Webhook URL",
|
||||||
|
wayToGetTeamsURL: "Μπορείτε να μάθετε πώς να δημιουργείτε μια διεύθυνση URL webhook {0}.",
|
||||||
|
signal: "Signal",
|
||||||
|
Number: "Αριθμός",
|
||||||
|
Recipients: "Αποδέκτες",
|
||||||
|
needSignalAPI: "Πρέπει να έχετε ένα signal client με REST API..",
|
||||||
|
wayToCheckSignalURL: "Μπορείτε να ελέγξετε αυτό το URL για να δείτε πώς να ρυθμίσετε ένα:",
|
||||||
|
signalImportant: "ΣΗΜΑΝΤΙΚΟ: Δεν μπορείτε να συνδυάσετε ομάδες και αριθμούς στους παραλήπτες!",
|
||||||
|
gotify: "Gotify",
|
||||||
|
"Application Token": "Token εφαρμογής",
|
||||||
|
"Server URL": "URL διακομιστή",
|
||||||
|
Priority: "Προτεραιότητα",
|
||||||
|
slack: "Slack",
|
||||||
|
"Icon Emoji": "Εικονίδιο Emoji",
|
||||||
|
"Channel Name": "Όνομα καναλιού",
|
||||||
|
"Uptime Kuma URL": "Uptime Kuma URL",
|
||||||
|
aboutWebhooks: "Περισσότερες πληροφορίες σχετικά με τα Webhooks στο: {0}",
|
||||||
|
aboutChannelName: "Εισαγάγετε το όνομα του καναλιού στο {0} Όνομα καναλιού εάν θέλετε να παρακάμψετε το κανάλι Webhook. Π.χ.: #other-channel",
|
||||||
|
aboutKumaURL: "Εάν αφήσετε κενό το πεδίο URL Uptime Kuma, θα είναι προεπιλεγμένο στη σελίδα Project GitHub..",
|
||||||
|
emojiCheatSheet: "Φύλλο εξαπάτησης emoji: {0}",
|
||||||
|
"rocket.chat": "Rocket.Chat",
|
||||||
|
pushover: "Pushover",
|
||||||
|
pushy: "Pushy",
|
||||||
|
PushByTechulus: "Push by Techulus",
|
||||||
|
octopush: "Octopush",
|
||||||
|
promosms: "PromoSMS",
|
||||||
|
clicksendsms: "ClickSend SMS",
|
||||||
|
lunasea: "LunaSea",
|
||||||
|
apprise: "Apprise (Support 50+ Notification services)",
|
||||||
|
GoogleChat: "Google Chat (Google Workspace only)",
|
||||||
|
pushbullet: "Pushbullet",
|
||||||
|
line: "Line Messenger",
|
||||||
|
mattermost: "Mattermost",
|
||||||
|
"User Key": "Κλειδί χρήστη",
|
||||||
|
Device: "Συσκευή",
|
||||||
|
"Message Title": "Τίτλος μηνύματος",
|
||||||
|
"Notification Sound": "Ήχος ειδοποίησης",
|
||||||
|
"More info on:": "Περισσότερες πληροφορίες στο: {0}",
|
||||||
|
pushoverDesc1: "Η προτεραιότητα έκτακτης ανάγκης (2) έχει προεπιλεγμένο χρονικό όριο 30 δευτερολέπτων μεταξύ των επαναλήψεων και θα λήξει μετά από 1 ώρα.",
|
||||||
|
pushoverDesc2: "Εάν θέλετε να στέλνετε ειδοποιήσεις σε διαφορετικές συσκευές, συμπληρώστε το πεδίο Συσκευή.",
|
||||||
|
"SMS Type": "Τύπος SMS",
|
||||||
|
octopushTypePremium: "Premium (Γρήγορη - συνιστάται για ειδοποίηση)",
|
||||||
|
octopushTypeLowCost: "Χαμηλό κόστος (Αργό - μερικές φορές μπλοκάρεται από τον χειριστή)",
|
||||||
|
checkPrice: "Ελέγξτε τις τιμές {0}:",
|
||||||
|
apiCredentials: "API credentials",
|
||||||
|
octopushLegacyHint: "Χρησιμοποιείτε την παλαιού τύπου έκδοση του Octopush (2011-2020) ή τη νέα έκδοση;",
|
||||||
|
"Check octopush prices": "Ελέγξτε τις τιμές OctoPush {0}.",
|
||||||
|
octopushPhoneNumber: "Αριθμός τηλεφώνου (διεθνής μορφή, π.χ.: +30694345678)",
|
||||||
|
octopushSMSSender: "Όνομα αποστολέα SMS: 3-11 αλφαριθμητικοί χαρακτήρες και διάστημα (a-zA-Z0-9)",
|
||||||
|
"LunaSea Device ID": "LunaSea Device ID",
|
||||||
|
"Apprise URL": "Apprise URL",
|
||||||
|
"Example:": "Παράδειγμα: {0}",
|
||||||
|
"Read more:": "Διαβάστε περισσότερα: {0}",
|
||||||
|
"Status:": "Κατάσταση: {0}",
|
||||||
|
"Read more": "Διαβάστε περισσότερα",
|
||||||
|
appriseInstalled: "Το Apprise έχει εγκατασταθεί.",
|
||||||
|
appriseNotInstalled: "Το Apprise δεν έχει εγκατασταθεί. {0}",
|
||||||
|
"Access Token": "Access Token",
|
||||||
|
"Channel access token": "Channel Access Token",
|
||||||
|
"Line Developers Console": "Line Developers Console",
|
||||||
|
lineDevConsoleTo: "Line Developers Console - {0}",
|
||||||
|
"Basic Settings": "Βασικές ρυθμίσεις",
|
||||||
|
"User ID": "User ID",
|
||||||
|
"Messaging API": "Messaging API",
|
||||||
|
wayToGetLineChannelToken: "Πρώτα αποκτήστε πρόσβαση στο {0}, δημιουργήστε έναν πάροχο και ένα κανάλι (Messanging API) και, στη συνέχεια, μπορείτε να λάβετε το channel access token και το user ID από τα παραπάνω στοιχεία μενού.",
|
||||||
|
"Icon URL": "Διεύθυνση URL εικονιδίου",
|
||||||
|
aboutIconURL: "Μπορείτε να παρέχετε έναν σύνδεσμο προς μια εικόνα στο \"Icon URL\" για να παρακάμψετε την προεπιλεγμένη εικόνα προφίλ. Δεν θα χρησιμοποιηθεί εάν έχει οριστεί το εικονίδιο Emoji.",
|
||||||
|
aboutMattermostChannelName: "Μπορείτε να παρακάμψετε το προεπιλεγμένο κανάλι στο οποίο δημοσιεύει το Webhook εισάγοντας το όνομα του καναλιού στο πεδίο \"Όνομα καναλιού\". Αυτό πρέπει να ενεργοποιηθεί στις ρυθμίσεις του Mattermost Webhook. Π.χ.: #other-channel",
|
||||||
|
matrix: "Matrix",
|
||||||
|
promosmsTypeEco: "SMS ECO - φθηνό αλλά αργό και συχνά υπερφορτωμένο. Περιορίζεται μόνο σε Πολωνούς παραλήπτες.",
|
||||||
|
promosmsTypeFlash: "SMS FLASH - Το μήνυμα θα εμφανίζεται αυτόματα στη συσκευή του παραλήπτη. Περιορίζεται μόνο σε Πολωνούς παραλήπτες.",
|
||||||
|
promosmsTypeFull: "SMS FULL - Premium επίπεδο SMS, Μπορείτε να χρησιμοποιήσετε το Όνομα Αποστολέα σας (Πρέπει πρώτα να καταχωρήσετε το όνομα). Αξιόπιστο για ειδοποιήσεις.",
|
||||||
|
promosmsTypeSpeed: "SMS SPEED - Υψηλότερη προτεραιότητα στο σύστημα. Πολύ γρήγορο και αξιόπιστο αλλά ακριβό (περίπου διπλάσια τιμή SMS FULL).",
|
||||||
|
promosmsPhoneNumber: "Αριθμός τηλεφώνου (για πολωνούς παραλήπτες Μπορείτε να παραλείψετε τους κωδικούς περιοχής)",
|
||||||
|
promosmsSMSSender: "Όνομα αποστολέα SMS: Προεγγεγραμμένο όνομα ή ένα από τα προεπιλεγμένα: InfoSMS, SMS Info, MaxSMS, INFO, SMS",
|
||||||
|
"Feishu WebHookUrl": "Feishu WebHookURL",
|
||||||
|
matrixHomeserverURL: "Homeserver URL (με http(s):// και προαιρετικά θύρα)",
|
||||||
|
"Internal Room Id": "Internal Room ID",
|
||||||
|
matrixDesc1: "Μπορείτε να βρείτε το internal room ID ανατρέχοντας στην ενότητα για προχωρημένους των ρυθμίσεων δωματίου στο πρόγραμμα-πελάτη Matrix. Θα πρέπει να μοιάζει με !QMdRCpUIfLwsfjxye6:home.server.",
|
||||||
|
matrixDesc2: "Συνιστάται ανεπιφύλακτα να δημιουργήσετε έναν νέο χρήστη και να μην χρησιμοποιήσετε το διακριτικό πρόσβασης του χρήστη Matrix, καθώς θα επιτρέψει την πλήρη πρόσβαση στον λογαριασμό σας και σε όλα τα δωμάτια στα οποία συμμετέχετε. Αντίθετα, δημιουργήστε έναν νέο χρήστη και προσκαλέστε τον μόνο στο δωμάτιο στο οποίο θέλετε να λαμβάνετε την ειδοποίηση. Μπορείτε να λάβετε το access token εκτελώντας {0}",
|
||||||
|
Method: "Μέθοδος",
|
||||||
|
Body: "Σώμα",
|
||||||
|
Headers: "Headers",
|
||||||
|
PushUrl: "Push URL",
|
||||||
|
HeadersInvalidFormat: "The request headers are not valid JSON: ",
|
||||||
|
BodyInvalidFormat: "The request body is not valid JSON: ",
|
||||||
|
"Monitor History": "Ιστορικο Παρακολούθησης",
|
||||||
|
clearDataOlderThan: "Διατηρήστε τα δεδομένα ιστορικού παρακολούθησης για {0} ημέρες.",
|
||||||
|
PasswordsDoNotMatch: "Οι κωδικοί πρόσβασης δεν ταιριάζουν.",
|
||||||
|
records: "εγγραφές",
|
||||||
|
"One record": "Μία εγγραφή",
|
||||||
|
steamApiKeyDescription: "Για την παρακολούθηση ενός διακομιστή παιχνιδιών Steam χρειάζεστε ένα κλειδί Steam Web-API. Μπορείτε να καταχωρήσετε το κλειδί API σας εδώ: ",
|
||||||
|
"Current User": "Τρέχων χρήστης",
|
||||||
|
topic: "Θέμα",
|
||||||
|
topicExplanation: "Θέμα MQTT προς παρακολούθηση",
|
||||||
|
successMessage: "Μήνυμα επιτυχίας",
|
||||||
|
successMessageExplanation: "Μήνυμα MQTT που θα θεωρηθεί επιτυχές",
|
||||||
|
recent: "Πρόσφατος",
|
||||||
|
Done: "Ολοκληρώθηκε",
|
||||||
|
Info: "Πληροφορίες",
|
||||||
|
Security: "Ασφάλεια",
|
||||||
|
"Steam API Key": "Steam API Key",
|
||||||
|
"Shrink Database": "Συρρίκνωση βάσης δεδομένων",
|
||||||
|
"Pick a RR-Type...": "Επιλέξτε έναν τύπο RR...",
|
||||||
|
"Pick Accepted Status Codes...": "Επιλέξτε Αποδεκτούς κωδικούς κατάστασης...",
|
||||||
|
Default: "Προκαθορισμένο",
|
||||||
|
"HTTP Options": "Επιλογές HTTP",
|
||||||
|
"Create Incident": "Δημιουργία περιστατικού",
|
||||||
|
Title: "Τίτλος",
|
||||||
|
Content: "Περιεχόμενο",
|
||||||
|
Style: "Στυλ",
|
||||||
|
info: "πληροφορίες",
|
||||||
|
warning: "προειδοποίηση",
|
||||||
|
danger: "κίνδυνος",
|
||||||
|
error: "σφάλμα",
|
||||||
|
critical: "κριτικό",
|
||||||
|
primary: "primary",
|
||||||
|
light: "light",
|
||||||
|
dark: "dark",
|
||||||
|
Post: "Δημοσίευση",
|
||||||
|
"Please input title and content": "Παρακαλούμε εισαγάγετε τίτλο και περιεχόμενο",
|
||||||
|
Created: "Δημιουργήθηκε",
|
||||||
|
"Last Updated": "Τελευταία ενημέρωση",
|
||||||
|
Unpin: "Ξεκαρφιτσώστε",
|
||||||
|
"Switch to Light Theme": "Μετάβαση σε Ανιχτό θέμα",
|
||||||
|
"Switch to Dark Theme": "Μετάβαση σε Σκούρο θέμα",
|
||||||
|
"Show Tags": "Εμφάνιση ετικετών",
|
||||||
|
"Hide Tags": "Απόκρυψη ετικετών",
|
||||||
|
Description: "Περιγραφή",
|
||||||
|
"No monitors available.": "Δεν υπάρχουν διαθέσιμες παρακολουθήσεις.",
|
||||||
|
"Add one": "Προσθέστε ένα",
|
||||||
|
"No Monitors": "Χωρίς παρακολουθήσεις",
|
||||||
|
"Untitled Group": "Ομάδα χωρίς τίτλο",
|
||||||
|
Services: "Υπηρεσίες",
|
||||||
|
Discard: "Απορρίψει",
|
||||||
|
Cancel: "Ακυρο",
|
||||||
|
"Powered by": "Με την υποστήριξη του",
|
||||||
|
shrinkDatabaseDescription: "Ενεργοποίηση βάσης δεδομένων VACUUM για SQLite. Εάν η βάση δεδομένων σας έχει δημιουργηθεί μετά την έκδοση 1.10.0, το AUTO_VACUUM είναι ήδη ενεργοποιημένο και αυτή η ενέργεια δεν χρειάζεται.",
|
||||||
|
serwersms: "SerwerSMS.pl",
|
||||||
|
serwersmsAPIUser: "API Username (incl. webapi_ prefix)",
|
||||||
|
serwersmsAPIPassword: "API κωδικός πρόσβασης",
|
||||||
|
serwersmsPhoneNumber: "Αριθμός τηλεφώνου",
|
||||||
|
serwersmsSenderName: "Όνομα αποστολέα SMS (καταχωρήθηκε μέσω της πύλης πελατών)",
|
||||||
|
stackfield: "Stackfield",
|
||||||
|
Customize: "Προσαρμογή",
|
||||||
|
"Custom Footer": "Προσαρμογή Footer",
|
||||||
|
"Custom CSS": "Προσαρμογή CSS",
|
||||||
|
smtpDkimSettings: "Ρυθμίσεις DKIM",
|
||||||
|
smtpDkimDesc: "Ανατρέξτε στο Nodemailer DKIM {0} για χρήση.",
|
||||||
|
documentation: "documentation",
|
||||||
|
smtpDkimDomain: "Domain Name",
|
||||||
|
smtpDkimKeySelector: "Key Selector",
|
||||||
|
smtpDkimPrivateKey: "Private Key",
|
||||||
|
smtpDkimHashAlgo: "Hash Algorithm (Optional)",
|
||||||
|
smtpDkimheaderFieldNames: "Header Keys to sign (Optional)",
|
||||||
|
smtpDkimskipFields: "Header Keys not to sign (Optional)",
|
||||||
|
wayToGetPagerDutyKey: "Μπορείτε να το λάβετε μεταβαίνοντας στο Service -> Service Directory -> (Επιλέξτε μια υπηρεσία) -> Integrations -> Add integration. Εδώ μπορείτε να κάνετε αναζήτηση για \"Events API V2\". Περισσότερες πληροφορίες {0}",
|
||||||
|
"Integration Key": "Integration Key",
|
||||||
|
"Integration URL": "Integration URL",
|
||||||
|
"Auto resolve or acknowledged": "Αυτόματη επίλυση ή αναγνώριση",
|
||||||
|
"do nothing": "μην κάνεις τίποτα",
|
||||||
|
"auto acknowledged": "αυτόματη αναγνώριση",
|
||||||
|
"auto resolve": "αυτόματη επίλυση",
|
||||||
|
gorush: "Gorush",
|
||||||
|
alerta: "Alerta",
|
||||||
|
alertaApiEndpoint: "API Endpoint",
|
||||||
|
alertaEnvironment: "Environment",
|
||||||
|
alertaApiKey: "API Key",
|
||||||
|
alertaAlertState: "Alert State",
|
||||||
|
alertaRecoverState: "Recover State",
|
||||||
|
deleteStatusPageMsg: "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν τη σελίδα κατάστασης?",
|
||||||
|
Proxies: "Proxies",
|
||||||
|
default: "Προκαθορισμένο",
|
||||||
|
enabled: "Ενεργοποιημένο",
|
||||||
|
setAsDefault: "Ορίσετε ως προεπιλογή",
|
||||||
|
deleteProxyMsg: "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το proxy για όλες τις παρακολουθήσεις;",
|
||||||
|
proxyDescription: "Πρέπει να εκχωρηθούν proxies σε μια οθπαρακολουθή για να λειτουργήσουν..",
|
||||||
|
enableProxyDescription: "Το proxy δεν θα επηρεάσει τα αιτήματα της παρακολουθήσεις μέχρι να ενεργοποιηθεί. Μπορείτε να ελέγξετε την προσωρινή απενεργοποίηση του proxy από όλες τις παρακολουθήσεις βάσει κατάστασης ενεργοποίησης.",
|
||||||
|
setAsDefaultProxyDescription: "Αυτός το proxy θα είναι ενεργοποιημένο από προεπιλογή για νέες παρακολουθήσεις. Μπορείτε ακόμα να απενεργοποιήσετε το proxy ξεχωριστά για κάθε οθόνη.",
|
||||||
|
"Certificate Chain": "Certificate Chain",
|
||||||
|
Valid: "Εγκυρο",
|
||||||
|
Invalid: "Μη έγκυρο",
|
||||||
|
AccessKeyId: "AccessKey ID",
|
||||||
|
SecretAccessKey: "AccessKey Secret",
|
||||||
|
PhoneNumbers: "PhoneNumbers",
|
||||||
|
TemplateCode: "TemplateCode",
|
||||||
|
SignName: "SignName",
|
||||||
|
"Sms template must contain parameters: ": "Το πρότυπο SMS πρέπει να περιέχει παραμέτρους: ",
|
||||||
|
"Bark Endpoint": "Bark Endpoint",
|
||||||
|
"Bark Group": "Bark Ομάδα",
|
||||||
|
"Bark Sound": "Bark Ήχος",
|
||||||
|
WebHookUrl: "WebHookUrl",
|
||||||
|
SecretKey: "SecretKey",
|
||||||
|
"For safety, must use secret key": "Για ασφάλεια, πρέπει να χρησιμοποιήσετε secret key",
|
||||||
|
"Device Token": "Device Token",
|
||||||
|
Platform: "Platform",
|
||||||
|
iOS: "iOS",
|
||||||
|
Android: "Android",
|
||||||
|
Huawei: "Huawei",
|
||||||
|
High: "High",
|
||||||
|
Retry: "Ξαναδοκιμάσετε",
|
||||||
|
Topic: "Θέμα",
|
||||||
|
"WeCom Bot Key": "WeCom Bot Key",
|
||||||
|
"Setup Proxy": "Ρύθμιση Proxy",
|
||||||
|
"Proxy Protocol": "Πρωτόκολλο Proxy",
|
||||||
|
"Proxy Server": "Proxy Server",
|
||||||
|
"Proxy server has authentication": "Το Proxy διαθέτει έλεγχο ταυτότητας",
|
||||||
|
User: "Χρήστης",
|
||||||
|
Installed: "Εγκατεστημένο",
|
||||||
|
"Not installed": "Μη εγκατεστημενο",
|
||||||
|
Running: "Τρέχη",
|
||||||
|
"Not running": "Δεν τρεχη",
|
||||||
|
"Remove Token": "Κατάργηση Token",
|
||||||
|
Start: "Αρχή",
|
||||||
|
Stop: "Στάση",
|
||||||
|
"Uptime Kuma": "Uptime Kuma",
|
||||||
|
"Add New Status Page": "Προσθήκη νέας σελίδας κατάστασης",
|
||||||
|
Slug: "Slug",
|
||||||
|
"Accept characters:": "Αποδοχή χαρακτήρων:",
|
||||||
|
startOrEndWithOnly: "Ξεκινήστε ή τελειώστε μόνο με {0}",
|
||||||
|
"No consecutive dashes": "Χωρίς διαδοχικές παύλες",
|
||||||
|
Next: "Επόμενο",
|
||||||
|
"The slug is already taken. Please choose another slug.": "Ο slug έχει ήδη πιαστεί. Επιλέξτε άλλο slug.",
|
||||||
|
"No Proxy": "Οχι Proxy",
|
||||||
|
Authentication: "Authentication",
|
||||||
|
"HTTP Basic Auth": "HTTP Basic Auth",
|
||||||
|
"New Status Page": "Νέας Σελίδα κατάστασης",
|
||||||
|
"Page Not Found": "Η σελίδα δεν βρέθηκε",
|
||||||
|
"Reverse Proxy": "Αντίστροφο Proxy",
|
||||||
|
Backup: "Αντιγράφων ασφαλείας",
|
||||||
|
About: "Σχετικά με το Uptime Kuma",
|
||||||
|
wayToGetCloudflaredURL: "(Λήψη cloudflared από {0})",
|
||||||
|
cloudflareWebsite: "Ιστοσελίδα Cloudflare",
|
||||||
|
"Message:": "Μήνυμα:",
|
||||||
|
"Don't know how to get the token? Please read the guide:": "Δεν ξέρετε πώς να αποκτήσετε το token; Διαβάστε τον οδηγό:",
|
||||||
|
"The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.": "Η τρέχουσα σύνδεση μπορεί να χαθεί εάν αυτή τη στιγμή συνδέεστε μέσω του Cloudflare Tunnel. Θέλετε σίγουρα να το σταματήσετε; Πληκτρολογήστε τον τρέχοντα κωδικό πρόσβασής σας για να τον επιβεβαιώσετε.",
|
||||||
|
"HTTP Headers": "HTTP Headers",
|
||||||
|
"Trust Proxy": "Εμπιστοσύνη του Proxy",
|
||||||
|
"Other Software": "Other Software",
|
||||||
|
"For example: nginx, Apache and Traefik.": "Για παράδειγμα: nginx, Apache και Traefik.",
|
||||||
|
"Please read": "Παρακαλώ διαβάστε",
|
||||||
|
"Subject:": "Θέμα:",
|
||||||
|
"Valid To:": "Εγκυρο για:",
|
||||||
|
"Days Remaining:": "Ημέρες που απομένουν:",
|
||||||
|
"Issuer:": "Εκδότης:",
|
||||||
|
"Fingerprint:": "Δακτυλικό αποτύπωμα:",
|
||||||
|
"No status pages": "Δεν υπάρχουν σελίδες κατάστασης",
|
||||||
|
"Domain Name Expiry Notification": "Ειδοποίηση λήξης ονόματος τομέα",
|
||||||
|
Proxy: "Proxy",
|
||||||
|
"Date Created": "Ημερομηνία Δημιουργίας",
|
||||||
|
HomeAssistant: "Home Assistant",
|
||||||
|
onebotHttpAddress: "OneBot HTTP Address",
|
||||||
|
onebotMessageType: "OneBot Message Type",
|
||||||
|
onebotGroupMessage: "Group",
|
||||||
|
onebotPrivateMessage: "Private",
|
||||||
|
onebotUserOrGroupId: "Group/User ID",
|
||||||
|
onebotSafetyTips: "Για ασφάλεια, πρέπει να ορίσετε το acess token",
|
||||||
|
"PushDeer Key": "PushDeer Key",
|
||||||
|
"Footer Text": "Κείμενο υποσέλιδου",
|
||||||
|
"Show Powered By": "Εμφάνιση Powered By",
|
||||||
|
"Domain Names": "Ονόματα Τομέα",
|
||||||
|
signedInDisp: "Συνδεθήκατε ως {0}",
|
||||||
|
signedInDispDisabled: "Εξουσιοδότηση είναι απενεργοποιημένη.",
|
||||||
|
RadiusSecret: "Radius Secret",
|
||||||
|
RadiusSecretDescription: "Shared Secret μεταξύ client και το server",
|
||||||
|
RadiusCalledStationId: "Called Station Id",
|
||||||
|
RadiusCalledStationIdDescription: "Identifier της καλούμενης συσκευής",
|
||||||
|
RadiusCallingStationId: "Calling Station Id",
|
||||||
|
RadiusCallingStationIdDescription: "Identifier oτης συσκευής κλήσης",
|
||||||
|
"Certificate Expiry Notification": "Ειδοποίηση Λήξης Πιστοποιητικού",
|
||||||
|
"API Username": "API Username",
|
||||||
|
"API Key": "API Key",
|
||||||
|
"Recipient Number": "Αριθμός Παραλήπτη",
|
||||||
|
"From Name/Number": "Από Όνομα/Αριθμός",
|
||||||
|
"Leave blank to use a shared sender number.": "Αφήστε το κενό για να χρησιμοποιήσετε έναν κοινόχρηστο αριθμό αποστολέα.",
|
||||||
|
"Octopush API Version": "Octopush API Version",
|
||||||
|
"Legacy Octopush-DM": "Legacy Octopush-DM",
|
||||||
|
endpoint: "endpoint",
|
||||||
|
octopushAPIKey: "\"API key\" από το HTTP API credentials στον πίνακα ελέγχου",
|
||||||
|
octopushLogin: "\"Login\" από το HTTP API credentials στον πίνακα ελέγχου",
|
||||||
|
promosmsLogin: "API Login Name",
|
||||||
|
promosmsPassword: "API Password",
|
||||||
|
"pushoversounds pushover": "Pushover (default)",
|
||||||
|
"pushoversounds bike": "Bike",
|
||||||
|
"pushoversounds bugle": "Bugle",
|
||||||
|
"pushoversounds cashregister": "Cash Register",
|
||||||
|
"pushoversounds classical": "Classical",
|
||||||
|
"pushoversounds cosmic": "Cosmic",
|
||||||
|
"pushoversounds falling": "Falling",
|
||||||
|
"pushoversounds gamelan": "Gamelan",
|
||||||
|
"pushoversounds incoming": "Incoming",
|
||||||
|
"pushoversounds intermission": "Intermission",
|
||||||
|
"pushoversounds magic": "Magic",
|
||||||
|
"pushoversounds mechanical": "Mechanical",
|
||||||
|
"pushoversounds pianobar": "Piano Bar",
|
||||||
|
"pushoversounds siren": "Siren",
|
||||||
|
"pushoversounds spacealarm": "Space Alarm",
|
||||||
|
"pushoversounds tugboat": "Tug Boat",
|
||||||
|
"pushoversounds alien": "Alien Alarm (long)",
|
||||||
|
"pushoversounds climb": "Climb (long)",
|
||||||
|
"pushoversounds persistent": "Persistent (long)",
|
||||||
|
"pushoversounds echo": "Pushover Echo (long)",
|
||||||
|
"pushoversounds updown": "Up Down (long)",
|
||||||
|
"pushoversounds vibrate": "Vibrate Only",
|
||||||
|
"pushoversounds none": "None (silent)",
|
||||||
|
pushyAPIKey: "Μυστικό API Key",
|
||||||
|
pushyToken: "Τoken Συσκευής",
|
||||||
|
"Show update if available": "Εμφάνιση ενημέρωσης εάν είναι διαθέσιμη",
|
||||||
|
"Also check beta release": "Ελέγξτε επίσης την έκδοση beta",
|
||||||
|
"Using a Reverse Proxy?": "Χρησιμοποιείτε reverse proxy;",
|
||||||
|
"Check how to config it for WebSocket": "Ελέγξτε πώς να το ρυθμίσετε για το WebSocket",
|
||||||
|
"Steam Game Server": "Διακομιστής παιχνιδιών Steam",
|
||||||
|
"Most likely causes:": "Πιο πιθανές αιτίες:",
|
||||||
|
"The resource is no longer available.": "Ο πόρος δεν είναι πλέον διαθέσιμος.",
|
||||||
|
"There might be a typing error in the address.": "Μπορεί να υπάρχει σφάλμα πληκτρολόγησης στη διεύθυνση.",
|
||||||
|
"What you can try:": "Τι μπορείτε να δοκιμάσετε:",
|
||||||
|
"Retype the address.": "Πληκτρολογήστε ξανά τη διεύθυνση.",
|
||||||
|
"Go back to the previous page.": "Επιστρέψτε στην προηγούμενη σελίδα.",
|
||||||
|
"Coming Soon": "Ερχεται σύντομα",
|
||||||
|
wayToGetClickSendSMSToken: "Μπορείτε να πάρετε το API Username και API Key απο {0} .",
|
||||||
|
"Connection String": "Connection String",
|
||||||
|
Query: "Query",
|
||||||
|
settingsCertificateExpiry: "Λήξη πιστοποιητικού TLS",
|
||||||
|
certificationExpiryDescription: "Οι παρακολουθήσεις HTTPS ενεργοποιούν ειδοποίηση όταν λήξει το πιστοποιητικό TLS σε:",
|
||||||
|
"Setup Docker Host": "Ρύθμιση Docker Host",
|
||||||
|
"Connection Type": "Τύπος σύνδεσης",
|
||||||
|
"Docker Daemon": "Docker Daemon",
|
||||||
|
deleteDockerHostMsg: "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτόν τον κεντρικό υπολογιστή βάσης για όλες τις παρακολουθήσεις;",
|
||||||
|
socket: "Socket",
|
||||||
|
tcp: "TCP / HTTP",
|
||||||
|
"Docker Container": "Docker Container",
|
||||||
|
"Container Name / ID": "Container Name / ID",
|
||||||
|
"Docker Host": "Docker Host",
|
||||||
|
"Docker Hosts": "Docker Hosts",
|
||||||
|
"ntfy Topic": "ntfy Topic",
|
||||||
|
Domain: "Domain",
|
||||||
|
Workstation: "Workstation",
|
||||||
|
disableCloudflaredNoAuthMsg: "Βρίσκεστε σε λειτουργία No Auth, δεν απαιτείται κωδικός πρόσβασης.",
|
||||||
|
trustProxyDescription: "Εμπιστευτείτε τις κεφαλίδες 'X-Forwarded-*'. Εάν θέλετε να λάβετε τη σωστή IP πελάτη και το Uptime Kuma σας βρίσκεται πίσω το Nginx ή το Apache, θα πρέπει να το ενεργοποιήσετε.",
|
||||||
|
wayToGetLineNotifyToken: "Μπορείτε να λάβετε ένα access token από το {0}",
|
||||||
|
Examples: "Παραδείγματα",
|
||||||
|
"Home Assistant URL": "Home Assistant URL",
|
||||||
|
"Long-Lived Access Token": "Long-Lived Access Token",
|
||||||
|
"Long-Lived Access Token can be created by clicking on your profile name (bottom left) and scrolling to the bottom then click Create Token. ": "Long-Lived Access Token μπορεί να δημιουργηθεί κάνοντας κλικ στο όνομα του προφίλ σας (κάτω αριστερά) και κάνοντας κύλιση προς τα κάτω και, στη συνέχεια, κάντε κλικ στο Create Token. ",
|
||||||
|
"Notification Service": "Υπηρεσία ειδοποιήσεων",
|
||||||
|
"default: notify all devices": "προεπιλογή: ειδοποίηση όλων των συσκευών",
|
||||||
|
"A list of Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.": "Μπορείτε να βρείτε μια λίστα με τις Υπηρεσίες ειδοποιήσεων στον Home assistant στην περιοχή \"Developer Tools > Services\" αναζήτηση για \"notification\" για να βρείτε το όνομα της συσκευής/τηλεφώνου σας.",
|
||||||
|
"Automations can optionally be triggered in Home Assistant:": "Οι αυτοματισμοί μπορούν προαιρετικά να ενεργοποιηθούν στο Home Assistant:",
|
||||||
|
"Trigger type:": "Τύπος ενεργοποίησης:",
|
||||||
|
"Event type:": "Τύπος συμβάντος:",
|
||||||
|
"Event data:": "Δεδομένα συμβάντος:",
|
||||||
|
"Then choose an action, for example switch the scene to where an RGB light is red.": "Στη συνέχεια, επιλέξτε μια ενέργεια, για παράδειγμα αλλάξτε τη σκηνή στο σημείο όπου ένα φως RGB είναι κόκκινο.",
|
||||||
|
"Frontend Version": "Έκδοση Frontend",
|
||||||
|
"Frontend Version do not match backend version!": "Η Frontend έκδοση δεν ταιριάζει με την έκδοση backend!",
|
||||||
|
"Base URL": "Βασική διεύθυνση URL",
|
||||||
|
goAlertInfo: "Το GoAlert είναι μια εφαρμογή ανοιχτού κώδικα για προγραμματισμό κλήσεων, αυτοματοποιημένες κλιμακώσεις και ειδοποιήσεις (όπως SMS ή φωνητικές κλήσεις). Αλληλεπιδράστε αυτόματα με το σωστό άτομο, με τον σωστό τρόπο και τη σωστή στιγμή! {0}",
|
||||||
|
goAlertIntegrationKeyInfo: "Λάβετε το generic API integration key για την υπηρεσία σε αυτήν τη μορφή \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\" συνήθως την τιμή της παραμέτρου διακριτικού της αντιγραμμένης διεύθυνσης URL.",
|
||||||
|
goAlert: "GoAlert",
|
||||||
|
backupOutdatedWarning: "Καταργήθηκε: Επειδή προστέθηκαν πολλές δυνατότητες και αυτή η δυνατότητα δημιουργίας αντιγράφων ασφαλείας δεν διατηρείται πολη, δεν μπορεί να δημιουργήσει ή να επαναφέρει ένα πλήρες αντίγραφο ασφαλείας.",
|
||||||
|
backupRecommend: "Παρακαλούμε δημιουργήστε αντίγραφα ασφαλείας του volume ή του φακέλου δεδομένων (./data/) απευθείας.",
|
||||||
|
};
|
|
@ -582,4 +582,12 @@ export default {
|
||||||
goAlert: "GoAlert",
|
goAlert: "GoAlert",
|
||||||
backupOutdatedWarning: "Deprecated: Since a lot of features added and this backup feature is a bit unmaintained, it cannot generate or restore a complete backup.",
|
backupOutdatedWarning: "Deprecated: Since a lot of features added and this backup feature is a bit unmaintained, it cannot generate or restore a complete backup.",
|
||||||
backupRecommend: "Please backup the volume or the data folder (./data/) directly instead.",
|
backupRecommend: "Please backup the volume or the data folder (./data/) directly instead.",
|
||||||
|
"Optional": "Optional",
|
||||||
|
squadcast: "Squadcast",
|
||||||
|
SendKey: "SendKey",
|
||||||
|
"SMSManager API Docs": "SMSManager API Docs ",
|
||||||
|
"Gateway Type": "Gateway Type",
|
||||||
|
SMSManager: "SMSManager",
|
||||||
|
"You can divide numbers with": "You can divide numbers with",
|
||||||
|
"or": "or",
|
||||||
};
|
};
|
||||||
|
|
|
@ -200,7 +200,7 @@ export default {
|
||||||
chatIDNotFound: "ID du salon introuvable, envoyez un message via le bot avant",
|
chatIDNotFound: "ID du salon introuvable, envoyez un message via le bot avant",
|
||||||
webhook: "Webhook",
|
webhook: "Webhook",
|
||||||
"Post URL": "Post URL",
|
"Post URL": "Post URL",
|
||||||
"Content Type": "Content Type",
|
"Content Type": "Type de contenu",
|
||||||
webhookJsonDesc: "{0} est bien/bon pour tous les serveurs HTTP modernes comme express.js",
|
webhookJsonDesc: "{0} est bien/bon pour tous les serveurs HTTP modernes comme express.js",
|
||||||
webhookFormDataDesc: "{multipart} est bien/bon pour du PHP, vous avez juste besoin de mettre le json via/depuis {decodeFunction}",
|
webhookFormDataDesc: "{multipart} est bien/bon pour du PHP, vous avez juste besoin de mettre le json via/depuis {decodeFunction}",
|
||||||
smtp: "Email (SMTP)",
|
smtp: "Email (SMTP)",
|
||||||
|
@ -227,8 +227,8 @@ export default {
|
||||||
wayToCheckSignalURL: "Vous pouvez regarder l'URL sur comment le mettre en place :",
|
wayToCheckSignalURL: "Vous pouvez regarder l'URL sur comment le mettre en place :",
|
||||||
signalImportant: "IMPORTANT : Vous ne pouvez pas mixer les groupes et les numéros en destinataires !",
|
signalImportant: "IMPORTANT : Vous ne pouvez pas mixer les groupes et les numéros en destinataires !",
|
||||||
gotify: "Gotify",
|
gotify: "Gotify",
|
||||||
"Application Token": "Application Token",
|
"Application Token": "Jeton d'application",
|
||||||
"Server URL": "Server URL",
|
"Server URL": "URL du serveur",
|
||||||
Priority: "Priorité",
|
Priority: "Priorité",
|
||||||
slack: "Slack",
|
slack: "Slack",
|
||||||
"Icon Emoji": "Icon Emoji",
|
"Icon Emoji": "Icon Emoji",
|
||||||
|
@ -287,7 +287,7 @@ export default {
|
||||||
promosmsTypeSpeed: "SMS SPEED - La plus haute des priorités dans le système. Très rapide et fiable mais cher (environ le double du prix d'un SMS FULL).",
|
promosmsTypeSpeed: "SMS SPEED - La plus haute des priorités dans le système. Très rapide et fiable mais cher (environ le double du prix d'un SMS FULL).",
|
||||||
promosmsPhoneNumber: "Numéro de téléphone (Poiur les déstinataires Polonais, vous pouvez enlever les codes interna.)",
|
promosmsPhoneNumber: "Numéro de téléphone (Poiur les déstinataires Polonais, vous pouvez enlever les codes interna.)",
|
||||||
promosmsSMSSender: "SMS Expéditeur : Nom pré-enregistré ou l'un de base : InfoSMS, SMS Info, MaxSMS, INFO, SMS",
|
promosmsSMSSender: "SMS Expéditeur : Nom pré-enregistré ou l'un de base : InfoSMS, SMS Info, MaxSMS, INFO, SMS",
|
||||||
"Primary Base URL": "Primary Base URL",
|
"Primary Base URL": "URL principale",
|
||||||
emailCustomSubject: "Sujet personalisé",
|
emailCustomSubject: "Sujet personalisé",
|
||||||
clicksendsms: "ClickSend SMS",
|
clicksendsms: "ClickSend SMS",
|
||||||
checkPrice: "Vérification {0} tarifs :",
|
checkPrice: "Vérification {0} tarifs :",
|
||||||
|
@ -342,13 +342,13 @@ export default {
|
||||||
Title: "Titre",
|
Title: "Titre",
|
||||||
Content: "Contenu",
|
Content: "Contenu",
|
||||||
Style: "Style",
|
Style: "Style",
|
||||||
info: "info",
|
info: "Info",
|
||||||
warning: "Attention",
|
warning: "Attention",
|
||||||
danger: "danger",
|
danger: "Danger",
|
||||||
error: "Erreur",
|
error: "Erreur",
|
||||||
critical: "critique",
|
critical: "Critique",
|
||||||
primary: "primaire",
|
primary: "Primaire",
|
||||||
light: "blanc",
|
light: "Blanc",
|
||||||
dark: "Noir",
|
dark: "Noir",
|
||||||
Post: "Post",
|
Post: "Post",
|
||||||
"Please input title and content": "Veuillez entrer le titre et le contenu",
|
"Please input title and content": "Veuillez entrer le titre et le contenu",
|
||||||
|
@ -390,7 +390,7 @@ export default {
|
||||||
Installed: "Installé",
|
Installed: "Installé",
|
||||||
"Not installed": "Pas installé",
|
"Not installed": "Pas installé",
|
||||||
"Remove Token": "Supprimer le jeton",
|
"Remove Token": "Supprimer le jeton",
|
||||||
Slug: "chemin",
|
Slug: "Chemin",
|
||||||
"The slug is already taken. Please choose another slug.": "Le chemin est déjà pris. Veuillez choisir un autre chemin.",
|
"The slug is already taken. Please choose another slug.": "Le chemin est déjà pris. Veuillez choisir un autre chemin.",
|
||||||
Authentication: "Authentication",
|
Authentication: "Authentication",
|
||||||
"Page Not Found": "Page non trouvée",
|
"Page Not Found": "Page non trouvée",
|
||||||
|
@ -431,4 +431,104 @@ export default {
|
||||||
"Trigger type:": "Type de déclencheur:",
|
"Trigger type:": "Type de déclencheur:",
|
||||||
"Event type:": "Type d'événement:",
|
"Event type:": "Type d'événement:",
|
||||||
"Event data:": "Données d'événement:",
|
"Event data:": "Données d'événement:",
|
||||||
|
topic: "Topic",
|
||||||
|
topicExplanation: "MQTT sujet à surveiller",
|
||||||
|
successMessage: "Message de réussite",
|
||||||
|
successMessageExplanation: "MQTT message qui sera considéré comme un succès",
|
||||||
|
"Powered by": "Propulsé par",
|
||||||
|
serwersms: "SerwerSMS.pl",
|
||||||
|
stackfield: "Stackfield",
|
||||||
|
smtpDkimSettings: "Paramètres DKIM",
|
||||||
|
smtpDkimDesc: "Veuillez vous référer au Nodemailer DKIM {0} pour l'utilisation.",
|
||||||
|
documentation: "Documentation",
|
||||||
|
smtpDkimDomain: "Nom de domaine",
|
||||||
|
smtpDkimKeySelector: "Sélecteur de clé",
|
||||||
|
smtpDkimPrivateKey: "Clé privée",
|
||||||
|
smtpDkimHashAlgo: "Algorithme de hachage (facultatif)",
|
||||||
|
smtpDkimheaderFieldNames: "Clés d'en-tête à signer (facultatif)",
|
||||||
|
smtpDkimskipFields: "Clés d'en-tête à ne pas signer (facultatif)",
|
||||||
|
wayToGetPagerDutyKey: "Vous pouvez l'obtenir en allant dans Service -> Annuaire des services -> (Sélectionner un service) -> Intégrations -> Ajouter une intégration. Ici, vous pouvez rechercher \"Events API V2\". Plus d'infos {0}",
|
||||||
|
"Integration Key": "Clé d'intégration",
|
||||||
|
"Integration URL": "URL d'intégration",
|
||||||
|
"Auto resolve or acknowledged": "Résolution automatique ou accusé de réception",
|
||||||
|
"do nothing": "ne fais rien",
|
||||||
|
"auto acknowledged": "accusé de réception automatique",
|
||||||
|
"auto resolve": "résolution automatique",
|
||||||
|
AccessKeyId: "ID de clé d'accès",
|
||||||
|
SecretAccessKey: "Clé secrète d'accès",
|
||||||
|
PhoneNumbers: "Les numéros de téléphone",
|
||||||
|
SignName: "Signature",
|
||||||
|
"Sms template must contain parameters: ": "Le modèle de SMS doit contenir des paramètres : ",
|
||||||
|
SecretKey: "Clé secrète",
|
||||||
|
"For safety, must use secret key": "Pour la sécurité, doit utiliser la clé secrète",
|
||||||
|
"Device Token": "Jeton d'appareil",
|
||||||
|
Platform: "Plateforme",
|
||||||
|
Retry: "Recommencez",
|
||||||
|
Topic: "Topic",
|
||||||
|
"Proxy server has authentication": "Le serveur proxy a une authentification",
|
||||||
|
Running: "Fonctionne",
|
||||||
|
"Not running": "Ne fonctionne pas",
|
||||||
|
Start: "Start",
|
||||||
|
Stop: "Stop",
|
||||||
|
"Uptime Kuma": "Uptime Kuma",
|
||||||
|
"No Proxy": "Pas de Proxy",
|
||||||
|
"HTTP Basic Auth": "Authentification de base HTTP",
|
||||||
|
"Reverse Proxy": "Proxy inverse",
|
||||||
|
wayToGetCloudflaredURL: "(Télécharger cloudflared depuis {0})",
|
||||||
|
cloudflareWebsite: "le site Cloudflare ",
|
||||||
|
"Message:": "Message:",
|
||||||
|
"Don't know how to get the token? Please read the guide:": "Vous ne savez pas comment obtenir le jeton ? Veuillez lire le guide:",
|
||||||
|
"The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.": "La connexion actuelle peut être perdue si vous vous connectez actuellement via Cloudflare Tunnel. Êtes-vous sûr de vouloir l'arrêter ? Tapez votre mot de passe actuel pour le confirmer.",
|
||||||
|
"HTTP Headers": "En-têtes HTTP",
|
||||||
|
"Trust Proxy": "Proxy de confiance",
|
||||||
|
"Other Software": "Autres logiciels",
|
||||||
|
"For example: nginx, Apache and Traefik.": "Par exemple : nginx, Apache et Traefik.",
|
||||||
|
"Please read": "S'il vous plaît Lisez",
|
||||||
|
"Valid To:": "Valable pour:",
|
||||||
|
"Days Remaining:": "Jours restant:",
|
||||||
|
"Domain Name Expiry Notification": "Notification d'expiration de nom de domaine",
|
||||||
|
"Date Created": "Date de création",
|
||||||
|
HomeAssistant: "Home Assistant",
|
||||||
|
onebotHttpAddress: "Adresse HTTP OneBot",
|
||||||
|
onebotMessageType: "Type de message OneBot",
|
||||||
|
onebotGroupMessage: "Groupe",
|
||||||
|
onebotUserOrGroupId: "ID de groupe/utilisateur",
|
||||||
|
onebotSafetyTips: "Pour des raisons de sécurité, vous devez définir un jeton d'accès",
|
||||||
|
"PushDeer Key": "Clé PushDeer",
|
||||||
|
"Show Powered By": "Afficher \"Propulsé par\"",
|
||||||
|
RadiusSecretDescription: "Secret partagé entre le client et le serveur",
|
||||||
|
RadiusCalledStationId: "Identifiant de la station appelée",
|
||||||
|
RadiusCalledStationIdDescription: "Identifiant de l'appareil appelé",
|
||||||
|
RadiusCallingStationId: "Identifiant de la station appelante",
|
||||||
|
RadiusCallingStationIdDescription: "Identifiant de l'appareil appelant",
|
||||||
|
"Certificate Expiry Notification": "Notification d'expiration du certificat",
|
||||||
|
"API Username": "Nom d'utilisateur de l'API",
|
||||||
|
"API Key": "clé API",
|
||||||
|
"Recipient Number": "Numéro du destinataire",
|
||||||
|
"From Name/Number": "De Nom/Numéro",
|
||||||
|
"Leave blank to use a shared sender number.": "Laisser vide pour utiliser un numéro d'expéditeur partagé.",
|
||||||
|
"Octopush API Version": "Version de l'API Octopush",
|
||||||
|
octopushAPIKey: "\"Clé API\" à partir des informations d'identification de l'API HTTP dans le panneau de configuration",
|
||||||
|
octopushLogin: "\"Connexion\" à partir des informations d'identification de l'API HTTP dans le panneau de configuration",
|
||||||
|
"Using a Reverse Proxy?": "Utiliser un proxy inverse ?",
|
||||||
|
"Check how to config it for WebSocket": "Vérifiez comment le configurer pour WebSocket",
|
||||||
|
wayToGetClickSendSMSToken: "Vous pouvez obtenir le nom d'utilisateur API et la clé API à partir de {0} .",
|
||||||
|
"Connection String": "Chaîne de connexion",
|
||||||
|
Query: "Requête",
|
||||||
|
tcp: "TCP / HTTP",
|
||||||
|
"Docker Container": "Conteneur Docker",
|
||||||
|
Workstation: "Poste de travail",
|
||||||
|
disableCloudflaredNoAuthMsg: "Vous êtes en mode No Auth, un mot de passe n'est pas nécessaire.",
|
||||||
|
"Long-Lived Access Token": "Jeton d'accès de longue durée",
|
||||||
|
"Then choose an action, for example switch the scene to where an RGB light is red.": "Ensuite, choisissez une action, par exemple basculer la scène là où une lumière RVB est rouge.",
|
||||||
|
"Frontend Version": "Frontend Version",
|
||||||
|
"Frontend Version do not match backend version!": "La version frontale ne correspond pas à la version principale !",
|
||||||
|
"Base URL": "URL de base",
|
||||||
|
goAlertInfo: "GoAlert est une application open source pour la planification des appels, les escalades automatisées et les notifications (comme les SMS ou les appels vocaux). Engagez automatiquement la bonne personne, de la bonne manière et au bon moment ! {0}",
|
||||||
|
goAlertIntegrationKeyInfo: "Obtenez la clé d'intégration d'API générique pour le service dans ce format \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\" généralement la valeur du paramètre de jeton de l'URL copiée.",
|
||||||
|
goAlert: "GoAlert",
|
||||||
|
backupOutdatedWarning: "Obsolète : étant donné que de nombreuses fonctionnalités ont été ajoutées et que cette fonctionnalité de sauvegarde est un peu non maintenue, elle ne peut pas générer ou restaurer une sauvegarde complète.",
|
||||||
|
backupRecommend: "Veuillez sauvegarder le volume ou le dossier de données (./data/) directement à la place.",
|
||||||
|
Optional: "Optionnel",
|
||||||
|
squadcast: "Squadcast",
|
||||||
};
|
};
|
||||||
|
|
|
@ -126,10 +126,10 @@ export default {
|
||||||
"Resolver Server": "Resolver Server",
|
"Resolver Server": "Resolver Server",
|
||||||
"Resource Record Type": "Resource Record Type",
|
"Resource Record Type": "Resource Record Type",
|
||||||
"Last Result": "Hasil Terakhir",
|
"Last Result": "Hasil Terakhir",
|
||||||
"Create your admin account": "Buat admin akun Anda",
|
"Create your admin account": "Buat akun admin anda",
|
||||||
"Repeat Password": "Ulangi Sandi",
|
"Repeat Password": "Ulangi Sandi",
|
||||||
"Import Backup": "Impor Cadangan",
|
"Import Backup": "Impor Cadangan",
|
||||||
"Export Backup": "Expor Cadangan",
|
"Export Backup": "Ekspor Cadangan",
|
||||||
Export: "Ekspor",
|
Export: "Ekspor",
|
||||||
Import: "Impor",
|
Import: "Impor",
|
||||||
respTime: "Tanggapan. Waktu (milidetik)",
|
respTime: "Tanggapan. Waktu (milidetik)",
|
||||||
|
@ -217,7 +217,7 @@ export default {
|
||||||
smtpBCC: "BCC",
|
smtpBCC: "BCC",
|
||||||
discord: "Discord",
|
discord: "Discord",
|
||||||
"Discord Webhook URL": "Discord Webhook URL",
|
"Discord Webhook URL": "Discord Webhook URL",
|
||||||
wayToGetDiscordURL: "Anda bisa mendapatkan ini dengan pergi ke Server Settings -> Integrations -> Create Webhook",
|
wayToGetDiscordURL: "Anda bisa mendapatkan ini dengan pergi ke Server Pengaturan -> Integrasi -> Buat Webhook",
|
||||||
"Bot Display Name": "Nama Bot",
|
"Bot Display Name": "Nama Bot",
|
||||||
"Prefix Custom Message": "Awalan Pesan",
|
"Prefix Custom Message": "Awalan Pesan",
|
||||||
"Hello @everyone is...": "Halo {'@'}everyone is...",
|
"Hello @everyone is...": "Halo {'@'}everyone is...",
|
||||||
|
@ -328,7 +328,7 @@ export default {
|
||||||
"Pick a RR-Type...": "Pilih RR-Type...",
|
"Pick a RR-Type...": "Pilih RR-Type...",
|
||||||
"Pick Accepted Status Codes...": "Pilih Kode Status yang Diterima...",
|
"Pick Accepted Status Codes...": "Pilih Kode Status yang Diterima...",
|
||||||
Default: "Default",
|
Default: "Default",
|
||||||
"HTTP Options": "HTTP Options",
|
"HTTP Options": "Opsi HTTP",
|
||||||
"Create Incident": "Buat Incident",
|
"Create Incident": "Buat Incident",
|
||||||
Title: "Judul",
|
Title: "Judul",
|
||||||
Content: "Konten",
|
Content: "Konten",
|
||||||
|
@ -379,8 +379,8 @@ export default {
|
||||||
smtpDkimheaderFieldNames: "Header Keys untuk ditambahkan (Optional)",
|
smtpDkimheaderFieldNames: "Header Keys untuk ditambahkan (Optional)",
|
||||||
smtpDkimskipFields: "Header Keys not untuk ditambahkan (Optional)",
|
smtpDkimskipFields: "Header Keys not untuk ditambahkan (Optional)",
|
||||||
wayToGetPagerDutyKey: "Anda dapat menambahkan melalui Service -> Service Directory -> (Select a service) -> Integrations -> Add integration. Lalu Anda dapat menjadi dengan kata kunci \"Events API V2\". Informasi tambahan {0}",
|
wayToGetPagerDutyKey: "Anda dapat menambahkan melalui Service -> Service Directory -> (Select a service) -> Integrations -> Add integration. Lalu Anda dapat menjadi dengan kata kunci \"Events API V2\". Informasi tambahan {0}",
|
||||||
"Integration Key": "Integration Key",
|
"Integration Key": "Kunci Integrasi",
|
||||||
"Integration URL": "Integration URL",
|
"Integration URL": "URL Integrasi",
|
||||||
"Auto resolve or acknowledged": "Penyelesaian otomatis atau diakui",
|
"Auto resolve or acknowledged": "Penyelesaian otomatis atau diakui",
|
||||||
"do nothing": "tidak melakukan apapun",
|
"do nothing": "tidak melakukan apapun",
|
||||||
"auto acknowledged": "otomatis diakui",
|
"auto acknowledged": "otomatis diakui",
|
||||||
|
@ -402,14 +402,14 @@ export default {
|
||||||
enableProxyDescription: "Proxy berikut tidak akan berdampak ke monitor hingga diaktifkan. Anda dapat mengontrol menonaktifkan sementara proxy dari semua monitor dengan status aktivasi.",
|
enableProxyDescription: "Proxy berikut tidak akan berdampak ke monitor hingga diaktifkan. Anda dapat mengontrol menonaktifkan sementara proxy dari semua monitor dengan status aktivasi.",
|
||||||
setAsDefaultProxyDescription: "Proxy berikut akan diaktifkan sebagai bawaan untuk monitor baru. Anda masih dapat menonaktifkan proxy secara terpisah untuk setiap monitor.",
|
setAsDefaultProxyDescription: "Proxy berikut akan diaktifkan sebagai bawaan untuk monitor baru. Anda masih dapat menonaktifkan proxy secara terpisah untuk setiap monitor.",
|
||||||
"Certificate Chain": "Certificate Chain",
|
"Certificate Chain": "Certificate Chain",
|
||||||
Valid: "Sahih",
|
Valid: "Valid",
|
||||||
Invalid: "Tidak Valid",
|
Invalid: "Tidak Valid",
|
||||||
AccessKeyId: "AccessKey ID",
|
AccessKeyId: "AccessKey ID",
|
||||||
SecretAccessKey: "AccessKey Secret",
|
SecretAccessKey: "AccessKey Secret",
|
||||||
PhoneNumbers: "Nomor Telepon",
|
PhoneNumbers: "Nomor Telepon",
|
||||||
TemplateCode: "Kode Template",
|
TemplateCode: "Kode Template",
|
||||||
SignName: "Nama Tanda",
|
SignName: "Nama Tanda",
|
||||||
"Sms template must contain parameters: ": "Template SMS harus memuat parameter: ",
|
"Sms template must contain parameters: ": "Template SMS harus berisi parameter: ",
|
||||||
"Bark Endpoint": "Bark Endpoint",
|
"Bark Endpoint": "Bark Endpoint",
|
||||||
"Bark Group": "Bark Group",
|
"Bark Group": "Bark Group",
|
||||||
"Bark Sound": "Bark Sound",
|
"Bark Sound": "Bark Sound",
|
||||||
|
@ -432,7 +432,7 @@ export default {
|
||||||
User: "Pengguna",
|
User: "Pengguna",
|
||||||
Installed: "Terpasang",
|
Installed: "Terpasang",
|
||||||
"Not installed": "Tidak terpasang",
|
"Not installed": "Tidak terpasang",
|
||||||
Running: "Berlari",
|
Running: "Berjalan",
|
||||||
"Not running": "Tidak berjalan",
|
"Not running": "Tidak berjalan",
|
||||||
"Remove Token": "Hapus Token",
|
"Remove Token": "Hapus Token",
|
||||||
Start: "Mulai",
|
Start: "Mulai",
|
||||||
|
@ -445,7 +445,7 @@ export default {
|
||||||
"No consecutive dashes": "Tanda hubung tidak berurutan",
|
"No consecutive dashes": "Tanda hubung tidak berurutan",
|
||||||
Next: "Selanjutnya",
|
Next: "Selanjutnya",
|
||||||
"The slug is already taken. Please choose another slug.": "Slug telah digunakan. Silakan pilih slug lain.",
|
"The slug is already taken. Please choose another slug.": "Slug telah digunakan. Silakan pilih slug lain.",
|
||||||
"No Proxy": "TIdak ada Proxy",
|
"No Proxy": "Tidak ada Proxy",
|
||||||
Authentication: "Autentikasi",
|
Authentication: "Autentikasi",
|
||||||
"HTTP Basic Auth": "HTTP Basic Auth",
|
"HTTP Basic Auth": "HTTP Basic Auth",
|
||||||
"New Status Page": "Halaman Status Baru",
|
"New Status Page": "Halaman Status Baru",
|
||||||
|
@ -457,7 +457,7 @@ export default {
|
||||||
cloudflareWebsite: "Situs Cloudflare",
|
cloudflareWebsite: "Situs Cloudflare",
|
||||||
"Message:": "Pesan:",
|
"Message:": "Pesan:",
|
||||||
"Don't know how to get the token? Please read the guide:": "Tidak tahu cara mendapatkan token? Silakan baca panduannya:",
|
"Don't know how to get the token? Please read the guide:": "Tidak tahu cara mendapatkan token? Silakan baca panduannya:",
|
||||||
"The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.": "Koneksi saat ini mungkin hilang jika Anda saat ini terhubung melalui CloudflareTunnel. Apakah Anda yakin ingin menghentikannya? Ketik kata sandi Anda saat ini untuk mengonfirmasinya.",
|
"The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.": "Koneksi saat ini mungkin hilang jika Anda saat ini terhubung melalui Cloudflare Tunel. Apakah Anda yakin ingin menghentikannya? Ketik kata sandi Anda saat ini untuk mengonfirmasinya.",
|
||||||
"HTTP Headers": "HTTP Headers",
|
"HTTP Headers": "HTTP Headers",
|
||||||
"Trust Proxy": "Proxy Terpercaya",
|
"Trust Proxy": "Proxy Terpercaya",
|
||||||
"Other Software": "Perangkat Lunak lainnya",
|
"Other Software": "Perangkat Lunak lainnya",
|
||||||
|
@ -494,7 +494,7 @@ export default {
|
||||||
"Certificate Expiry Notification": "Pemberitahuan Kedaluwarsa Sertifikat",
|
"Certificate Expiry Notification": "Pemberitahuan Kedaluwarsa Sertifikat",
|
||||||
"API Username": "Nama Pengguna API",
|
"API Username": "Nama Pengguna API",
|
||||||
"API Key": "Kunci API",
|
"API Key": "Kunci API",
|
||||||
"Recipient Number": "Nomor Penerima Recipient Number",
|
"Recipient Number": "Nomor Penerima",
|
||||||
"From Name/Number": "Dari Nama/Nomor",
|
"From Name/Number": "Dari Nama/Nomor",
|
||||||
"Leave blank to use a shared sender number.": "Biarkan kosong untuk menggunakan nomor pengirim bersama.",
|
"Leave blank to use a shared sender number.": "Biarkan kosong untuk menggunakan nomor pengirim bersama.",
|
||||||
"Octopush API Version": "Versi API Octopush",
|
"Octopush API Version": "Versi API Octopush",
|
||||||
|
@ -542,9 +542,9 @@ export default {
|
||||||
"Go back to the previous page.": "Kembali ke halaman sebelumnya.",
|
"Go back to the previous page.": "Kembali ke halaman sebelumnya.",
|
||||||
"Coming Soon": "Segera",
|
"Coming Soon": "Segera",
|
||||||
wayToGetClickSendSMSToken: "Anda bisa mendapatkan Nama Pengguna API dan Kunci API dari {0} .",
|
wayToGetClickSendSMSToken: "Anda bisa mendapatkan Nama Pengguna API dan Kunci API dari {0} .",
|
||||||
"Connection String": "Connection String",
|
"Connection String": "String Koneksi",
|
||||||
Query: "Query",
|
Query: "Query",
|
||||||
settingsCertificateExpiry: "Kedaluwarsa Sertifikat TLS",
|
settingsCertificateExpiry: "Sertifikat TLS Kadaluarsa",
|
||||||
certificationExpiryDescription: "Monitor HTTPS memicu pemberitahuan saat sertifikat TLS kedaluwarsa dalam:",
|
certificationExpiryDescription: "Monitor HTTPS memicu pemberitahuan saat sertifikat TLS kedaluwarsa dalam:",
|
||||||
"Setup Docker Host": "Siapkan Host Docker",
|
"Setup Docker Host": "Siapkan Host Docker",
|
||||||
"Connection Type": "Jenis Koneksi",
|
"Connection Type": "Jenis Koneksi",
|
||||||
|
@ -565,14 +565,14 @@ export default {
|
||||||
Examples: "Contoh",
|
Examples: "Contoh",
|
||||||
"Home Assistant URL": "Home Assistant URL",
|
"Home Assistant URL": "Home Assistant URL",
|
||||||
"Long-Lived Access Token": "Token Akses Berumur Panjang",
|
"Long-Lived Access Token": "Token Akses Berumur Panjang",
|
||||||
"Long-Lived Access Token canbe created by clicking on your profile name (bottom left) and scrolling to the bottom then click Create Token. ": "Token Akses Berumur Panjang dapat dibuat dengan mengklik nama profil Anda (kiri bawah) dan menggulir ke bawah lalu klik Buat Token. ",
|
"Long-Lived Access Token can be created by clicking on your profile name (bottom left) and scrolling to the bottom then click Create Token. ": "Token Akses Berumur Panjang dapat dibuat dengan mengklik nama profil Anda (kiri bawah) dan menggulir ke bawah lalu klik Buat Token. ",
|
||||||
"Notification Service": "Layanan Pemberitahuan",
|
"Notification Service": "Layanan Pemberitahuan",
|
||||||
"default: notify all devices": "bawaan: notifikasi seluruh perangkat",
|
"default: notify all devices": "bawaan: notifikasi seluruh perangkat",
|
||||||
"A listof Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.": "Daftar Layanan Pemberitahuan dapat ditemukan di Home Assistant pada \"Developer Tools > Services\" cari \"notification\" lalu cari nama perangkat Anda.",
|
"A listof Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.": "Daftar Layanan Pemberitahuan dapat ditemukan di Home Assistant pada \"Developer Tools > Services\" cari \"notification\" lalu cari nama perangkat Anda.",
|
||||||
"Automations can optionally be triggered in Home Assistant:": "Otomatisasi dapat dipicu secara opsional di Home Assistant:",
|
"Automations can optionally be triggered in Home Assistant:": "Otomatisasi dapat dipicu secara opsional di Home Assistant:",
|
||||||
"Trigger type:": "Trigger type:",
|
"Trigger type:": "Tipe Trigger/Pemicu:",
|
||||||
"Event type:": "Event type:",
|
"Event type:": "Tipe event:",
|
||||||
"Event data:": "Event data:",
|
"Event data:": "Data event:",
|
||||||
"Then choose an action, for example switch the scene to where an RGB light is red.": "Kemudian pilih tindakan, misalnya alihkan ke tempat dimana lampu RGB berwarna merah.",
|
"Then choose an action, for example switch the scene to where an RGB light is red.": "Kemudian pilih tindakan, misalnya alihkan ke tempat dimana lampu RGB berwarna merah.",
|
||||||
"Frontend Version": "Versi Frontend",
|
"Frontend Version": "Versi Frontend",
|
||||||
"Frontend Version do not match backend version!": "Versi Frontend tidak sama dengan versi backend!",
|
"Frontend Version do not match backend version!": "Versi Frontend tidak sama dengan versi backend!",
|
||||||
|
@ -580,6 +580,6 @@ export default {
|
||||||
goAlertInfo: "GoAlert adalah aplikasi open source untuk penjadwalan panggilan, eskalasi otomatis dan pemberitahuan (seperti SMS atau panggilan suara). Secara otomatis melibatkan orang yang tepat, dengan cara yang benar, dan pada waktu yang tepat! {0}",
|
goAlertInfo: "GoAlert adalah aplikasi open source untuk penjadwalan panggilan, eskalasi otomatis dan pemberitahuan (seperti SMS atau panggilan suara). Secara otomatis melibatkan orang yang tepat, dengan cara yang benar, dan pada waktu yang tepat! {0}",
|
||||||
goAlertIntegrationKeyInfo: "Dapatkan kunci integrasi API generik untuk layanan dalam format ini \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\" biasanya nilai parameter token dari URL yang disalin.",
|
goAlertIntegrationKeyInfo: "Dapatkan kunci integrasi API generik untuk layanan dalam format ini \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\" biasanya nilai parameter token dari URL yang disalin.",
|
||||||
goAlert: "GoAlert",
|
goAlert: "GoAlert",
|
||||||
backupOutdatedWarning: "Usang: Karena banyak fitur ditambahkan dan fitur cadangan ini agak tidak terawat, itu tidak dapat menghasilkan atau memulihkan cadangan lengkap.",
|
backupOutdatedWarning: "Tidak digunakan lagi: Karena banyak fitur ditambahkan dan fitur cadangan ini agak tidak terawat, itu tidak dapat menghasilkan atau memulihkan cadangan lengkap.",
|
||||||
backupRecommend: "Harap cadangkan volume atau folder data (./data/) secara langsung.",
|
backupRecommend: "Harap cadangkan volume atau folder data (./data/) secara langsung.",
|
||||||
};
|
};
|
||||||
|
|
|
@ -393,6 +393,12 @@ export default {
|
||||||
alertaAlertState: "Состояние алерта",
|
alertaAlertState: "Состояние алерта",
|
||||||
alertaRecoverState: "Состояние восстановления",
|
alertaRecoverState: "Состояние восстановления",
|
||||||
Proxies: "Прокси",
|
Proxies: "Прокси",
|
||||||
|
"Setup Proxy": "Настройка Прокси",
|
||||||
|
"Proxy Protocol": "Протокол Прокси",
|
||||||
|
"Proxy Server": "Прокси",
|
||||||
|
"Proxy server has authentication": "Прокси имеет аутентификацию",
|
||||||
|
"Reverse Proxy": "Обратный прокси",
|
||||||
|
"No Proxy": "Без прокси",
|
||||||
default: "По умолчанию",
|
default: "По умолчанию",
|
||||||
enabled: "Включено",
|
enabled: "Включено",
|
||||||
setAsDefault: "Установлено по умолчанию",
|
setAsDefault: "Установлено по умолчанию",
|
||||||
|
@ -400,4 +406,176 @@ export default {
|
||||||
proxyDescription: "Прокси должны быть привязаны к монитору, чтобы работать.",
|
proxyDescription: "Прокси должны быть привязаны к монитору, чтобы работать.",
|
||||||
enableProxyDescription: "Этот прокси не будет влиять на запросы монитора, пока не будет активирован. Вы можете контролировать временное отключение прокси для всех мониторов через статус активации.",
|
enableProxyDescription: "Этот прокси не будет влиять на запросы монитора, пока не будет активирован. Вы можете контролировать временное отключение прокси для всех мониторов через статус активации.",
|
||||||
setAsDefaultProxyDescription: "Этот прокси будет по умолчанию включен для новых мониторов. Вы всё ещё можете отдельно отключать прокси в каждом мониторе.",
|
setAsDefaultProxyDescription: "Этот прокси будет по умолчанию включен для новых мониторов. Вы всё ещё можете отдельно отключать прокси в каждом мониторе.",
|
||||||
|
Invalid: "Недействительный",
|
||||||
|
AccessKeyId: "AccessKey ID",
|
||||||
|
SecretAccessKey: "AccessKey Secret",
|
||||||
|
PhoneNumbers: "PhoneNumbers",
|
||||||
|
TemplateCode: "TemplateCode",
|
||||||
|
SignName: "SignName",
|
||||||
|
"Sms template must contain parameters: ": "Шаблон СМС должен содержать параметры: ",
|
||||||
|
"Bark Endpoint": "Bark Endpoint",
|
||||||
|
"Bark Group": "Bark Group",
|
||||||
|
"Bark Sound": "Bark Sound",
|
||||||
|
WebHookUrl: "WebHookUrl",
|
||||||
|
SecretKey: "SecretKey",
|
||||||
|
"For safety, must use secret key": "В целях безопасности необходимо использовать секретный ключ",
|
||||||
|
"Device Token": "Токен устройства",
|
||||||
|
Platform: "Платформа",
|
||||||
|
iOS: "iOS",
|
||||||
|
Android: "Android",
|
||||||
|
Huawei: "Huawei",
|
||||||
|
High: "High",
|
||||||
|
Retry: "Повторить",
|
||||||
|
Topic: "Тема",
|
||||||
|
"WeCom Bot Key": "WeCom Bot Key",
|
||||||
|
User: "Пользователь",
|
||||||
|
Installed: "Установлено",
|
||||||
|
"Not installed": "Не установлено",
|
||||||
|
Running: "Запускается",
|
||||||
|
"Not running": "Не запускается",
|
||||||
|
"Remove Token": "Удалить токен",
|
||||||
|
Start: "Запустить",
|
||||||
|
Stop: "Остановить",
|
||||||
|
"Uptime Kuma": "Uptime Kuma",
|
||||||
|
Slug: "Slug",
|
||||||
|
"Accept characters:": "Принимаемые символы:",
|
||||||
|
startOrEndWithOnly: "Начинается или кончается только {0}",
|
||||||
|
"No consecutive dashes": "Без последовательных тире",
|
||||||
|
"The slug is already taken. Please choose another slug.": "The slug is already taken. Please choose another slug.",
|
||||||
|
"Page Not Found": "Страница не найдена",
|
||||||
|
wayToGetCloudflaredURL: "(Скачать cloudflared с {0})",
|
||||||
|
cloudflareWebsite: "Cloudflare Website",
|
||||||
|
"Message:": "Сообщение:",
|
||||||
|
"Don't know how to get the token? Please read the guide:": "Don't know how to get the token? Please read the guide:",
|
||||||
|
"The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.": "The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.",
|
||||||
|
"HTTP Headers": "HTTP заголовки",
|
||||||
|
"Trust Proxy": "Доверять прокси",
|
||||||
|
"Other Software": "Другое программное обеспечение",
|
||||||
|
"For example: nginx, Apache and Traefik.": "К примеру: nginx, Apache и Traefik.",
|
||||||
|
"Please read": "Пожалуйста, прочитайте",
|
||||||
|
"Subject:": "Тема:",
|
||||||
|
"Valid To:": "Действителен до:",
|
||||||
|
"Days Remaining:": "Дней осталось:",
|
||||||
|
"Issuer:": "Издатель:",
|
||||||
|
"Fingerprint:": "Отпечаток:",
|
||||||
|
"No status pages": "Нет статусных страниц",
|
||||||
|
"Domain Name Expiry Notification": "Уведомление об истечении срока действия доменного имени",
|
||||||
|
Proxy: "Прокси",
|
||||||
|
"Date Created": "Дата создания",
|
||||||
|
HomeAssistant: "Home Assistant",
|
||||||
|
onebotHttpAddress: "OneBot HTTP Address",
|
||||||
|
onebotMessageType: "OneBot Message Type",
|
||||||
|
onebotGroupMessage: "Группа",
|
||||||
|
onebotPrivateMessage: "Private",
|
||||||
|
onebotUserOrGroupId: "Группа/ID пользователя",
|
||||||
|
onebotSafetyTips: "В целях безопасности необходимо установить токен доступа",
|
||||||
|
"PushDeer Key": "PushDeer Key",
|
||||||
|
"Footer Text": "Текст нижнего колонтитула",
|
||||||
|
"Show Powered By": "Показывать на чем создано",
|
||||||
|
"Domain Names": "Доменные имена",
|
||||||
|
signedInDisp: "Вы вошли как {0}",
|
||||||
|
signedInDispDisabled: "Аутентификация отключена.",
|
||||||
|
RadiusSecret: "Секрет Radius",
|
||||||
|
RadiusSecretDescription: "Общий секрет между клиентом и сервером",
|
||||||
|
RadiusCalledStationId: "Идентификатор вызываемой станции",
|
||||||
|
RadiusCalledStationIdDescription: "Идентификатор вызываемого устройства",
|
||||||
|
RadiusCallingStationId: "Идентификатор вызывающей станции",
|
||||||
|
RadiusCallingStationIdDescription: "Идентификатор вызывающего устройства",
|
||||||
|
"Certificate Expiry Notification": "Уведомление об истечении срока действия сертификата",
|
||||||
|
"API Username": "Имя пользователя API",
|
||||||
|
"API Key": "API ключ",
|
||||||
|
"Recipient Number": "Номер получателя",
|
||||||
|
"From Name/Number": "Имя/номер отправителя",
|
||||||
|
"Leave blank to use a shared sender number.": "Оставьте пустым, чтобы использовать общий номер отправителя.",
|
||||||
|
"Octopush API Version": "Версия API Octopush",
|
||||||
|
"Legacy Octopush-DM": "Legacy Octopush-DM",
|
||||||
|
endpoint: "endpoint",
|
||||||
|
octopushAPIKey: "\"API key\" из учетных данных HTTP API в панели управления",
|
||||||
|
octopushLogin: "\"Login\" из учетных данных HTTP API в панели управления",
|
||||||
|
promosmsLogin: "Логин API",
|
||||||
|
promosmsPassword: "Пароль API",
|
||||||
|
"pushoversounds pushover": "Pushover (default)",
|
||||||
|
"pushoversounds bike": "Bike",
|
||||||
|
"pushoversounds bugle": "Bugle",
|
||||||
|
"pushoversounds cashregister": "Cash Register",
|
||||||
|
"pushoversounds classical": "Classical",
|
||||||
|
"pushoversounds cosmic": "Cosmic",
|
||||||
|
"pushoversounds falling": "Falling",
|
||||||
|
"pushoversounds gamelan": "Gamelan",
|
||||||
|
"pushoversounds incoming": "Incoming",
|
||||||
|
"pushoversounds intermission": "Intermission",
|
||||||
|
"pushoversounds magic": "Magic",
|
||||||
|
"pushoversounds mechanical": "Mechanical",
|
||||||
|
"pushoversounds pianobar": "Piano Bar",
|
||||||
|
"pushoversounds siren": "Siren",
|
||||||
|
"pushoversounds spacealarm": "Space Alarm",
|
||||||
|
"pushoversounds tugboat": "Tug Boat",
|
||||||
|
"pushoversounds alien": "Alien Alarm (long)",
|
||||||
|
"pushoversounds climb": "Climb (long)",
|
||||||
|
"pushoversounds persistent": "Persistent (long)",
|
||||||
|
"pushoversounds echo": "Pushover Echo (long)",
|
||||||
|
"pushoversounds updown": "Up Down (long)",
|
||||||
|
"pushoversounds vibrate": "Vibrate Only",
|
||||||
|
"pushoversounds none": "None (silent)",
|
||||||
|
pushyAPIKey: "Secret API Key",
|
||||||
|
pushyToken: "Токен устройства",
|
||||||
|
"Using a Reverse Proxy?": "Используете обратный прокси?",
|
||||||
|
"Check how to config it for WebSocket": "Проверьте, как настроить его для WebSocket",
|
||||||
|
"Steam Game Server": "Steam Game Server",
|
||||||
|
"Most likely causes:": "Наиболее вероятные причины:",
|
||||||
|
"The resource is no longer available.": "Ресурс больше не доступен.",
|
||||||
|
"There might be a typing error in the address.": "В адресе может быть опечатка.",
|
||||||
|
"What you can try:": "Что вы можете попробовать:",
|
||||||
|
"Retype the address.": "Повторите адрес.",
|
||||||
|
"Go back to the previous page.": "Вернуться на предыдущую страницу.",
|
||||||
|
"Coming Soon": "Скоро",
|
||||||
|
wayToGetClickSendSMSToken: "Вы можете получить имя пользователя API и ключ API из {0} .",
|
||||||
|
"Connection String": "Строка подключения",
|
||||||
|
Query: "Запрос",
|
||||||
|
settingsCertificateExpiry: "Истекание TLS сертификата",
|
||||||
|
certificationExpiryDescription: "HTTPS Мониторы инициируют уведомление, когда срок действия сертификата TLS истечет:",
|
||||||
|
"Setup Docker Host": "Настроить Docker Host",
|
||||||
|
"Connection Type": "Тип соединения",
|
||||||
|
"Docker Daemon": "Docker Daemon",
|
||||||
|
deleteDockerHostMsg: "Are you sure want to delete this docker host for all monitors?",
|
||||||
|
socket: "Socket",
|
||||||
|
tcp: "TCP / HTTP",
|
||||||
|
"Docker Container": "Docker контейнер",
|
||||||
|
"Container Name / ID": "Название контейнера / ID",
|
||||||
|
"Docker Host": "Docker Host",
|
||||||
|
"Docker Hosts": "Docker Hosts",
|
||||||
|
"ntfy Topic": "ntfy Topic",
|
||||||
|
Domain: "Домен",
|
||||||
|
Workstation: "Workstation",
|
||||||
|
disableCloudflaredNoAuthMsg: "Вы находитесь в режиме без авторизации, пароль не требуется.",
|
||||||
|
trustProxyDescription: "Доверять заголовкам 'X-Forwarded-*'. Если вы хотите получить правильный IP-адрес клиента, а ваш Uptime Kuma находится под Nginx или Apache, вам следует включить этот параметр.",
|
||||||
|
wayToGetLineNotifyToken: "Вы можете получить токен доступа в {0}",
|
||||||
|
Examples: "Примеры",
|
||||||
|
"Home Assistant URL": "Home Assistant URL",
|
||||||
|
"Long-Lived Access Token": "Токен доступа с длительным сроком службы",
|
||||||
|
"Long-Lived Access Token can be created by clicking on your profile name (bottom left) and scrolling to the bottom then click Create Token. ": "Long-Lived Access Token can be created by clicking on your profile name (bottom left) and scrolling to the bottom then click Create Token. ",
|
||||||
|
"Notification Service": "Служба уведомлений",
|
||||||
|
"default: notify all devices": "по стандарту: уведомлять все устройства",
|
||||||
|
"A list of Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.": "A list of Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.",
|
||||||
|
"Automations can optionally be triggered in Home Assistant:": "При желании автоматизацию можно активировать в Home Assistant.:",
|
||||||
|
"Trigger type:": "Тип триггера:",
|
||||||
|
"Event type:": "Тип события:",
|
||||||
|
"Event data:": "Данные события:",
|
||||||
|
"Then choose an action, for example switch the scene to where an RGB light is red.": "Затем выберите действие, например, переключите сцену на красный индикатор RGB..",
|
||||||
|
"Frontend Version": "Версия интерфейса",
|
||||||
|
"Frontend Version do not match backend version!": "Версия интерфейса не соответствует версии серверной части!",
|
||||||
|
"Base URL": "Базовый URL",
|
||||||
|
goAlertInfo: "GoAlert is a An open source application for on-call scheduling, automated escalations and notifications (like SMS or voice calls). Automatically engage the right person, the right way, and at the right time! {0}",
|
||||||
|
goAlertIntegrationKeyInfo: "Получить общий ключ интеграции API для сервиса в этом формате \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\" обычно значение параметра токена скопированного URL.",
|
||||||
|
goAlert: "GoAlert",
|
||||||
|
backupOutdatedWarning: "Устарело: поскольку добавлено множество функций, а эта функция резервного копирования немного не поддерживается, она не может создать или восстановить полную резервную копию.",
|
||||||
|
backupRecommend: "Сделайте резервную копию тома или папки с данными (./data/) напрямую.",
|
||||||
|
"Optional": "Необязательно",
|
||||||
|
squadcast: "Squadcast",
|
||||||
|
SendKey: "SendKey",
|
||||||
|
"SMSManager API Docs": "Документация к API SMSManager ",
|
||||||
|
"Gateway Type": "Тип шлюза",
|
||||||
|
SMSManager: "SMSManager",
|
||||||
|
"You can divide numbers with": "Вы можете делить числа с",
|
||||||
|
"or": "или",
|
||||||
};
|
};
|
||||||
|
|
|
@ -224,7 +224,7 @@ export default {
|
||||||
teams: "Microsoft Teams",
|
teams: "Microsoft Teams",
|
||||||
"Webhook URL": "Webhook URL",
|
"Webhook URL": "Webhook URL",
|
||||||
wayToGetTeamsURL: "Bir webhook URL'sinin nasıl oluşturulacağını öğrenebilirsiniz {0}.",
|
wayToGetTeamsURL: "Bir webhook URL'sinin nasıl oluşturulacağını öğrenebilirsiniz {0}.",
|
||||||
signal: "Signal",
|
signal: "Sinyal",
|
||||||
Number: "Numara",
|
Number: "Numara",
|
||||||
Recipients: "Alıcılar",
|
Recipients: "Alıcılar",
|
||||||
needSignalAPI: "REST API ile bir signal istemciniz olması gerekiyor.",
|
needSignalAPI: "REST API ile bir signal istemciniz olması gerekiyor.",
|
||||||
|
@ -552,14 +552,14 @@ export default {
|
||||||
deleteDockerHostMsg: "Bu docker ana bilgisayarını tüm monitörler için silmek istediğinizden emin misiniz?",
|
deleteDockerHostMsg: "Bu docker ana bilgisayarını tüm monitörler için silmek istediğinizden emin misiniz?",
|
||||||
socket: "Soket",
|
socket: "Soket",
|
||||||
tcp: "TCP / HTTP",
|
tcp: "TCP / HTTP",
|
||||||
"Docker Container": "Docker Konteyneri",
|
"Docker Container": "Docker Konteyner",
|
||||||
"Container Name / ID": "Konteyner Adı / Kimliği",
|
"Container Name / ID": "Konteyner Adı / Kimliği",
|
||||||
"Docker Host": "Docker Ana Bilgisayarı",
|
"Docker Host": "Docker Ana Bilgisayarı",
|
||||||
"Docker Hosts": "Docker Ana Bilgisayarları",
|
"Docker Hosts": "Docker Ana Bilgisayarları",
|
||||||
"ntfy Topic": "ntfy Konu",
|
"ntfy Topic": "ntfy Konu",
|
||||||
Domain: "Domain",
|
Domain: "Domain",
|
||||||
Workstation: "İş İstasyonu",
|
Workstation: "İş İstasyonu",
|
||||||
disableCloudflaredNoAuthMsg: "Yetki Yok modundasınız, şifre gerekli değil.",
|
disableCloudflaredNoAuthMsg: "Yetki yok modundasınız, şifre gerekli değil.",
|
||||||
trustProxyDescription: "'X-Forwarded-*' başlıklarına güvenin. Doğru istemci IP'sini almak istiyorsanız ve Uptime Kuma'nız Nginx veya Apache'nin arkasındaysa, bunu etkinleştirmelisiniz.",
|
trustProxyDescription: "'X-Forwarded-*' başlıklarına güvenin. Doğru istemci IP'sini almak istiyorsanız ve Uptime Kuma'nız Nginx veya Apache'nin arkasındaysa, bunu etkinleştirmelisiniz.",
|
||||||
wayToGetLineNotifyToken: "{0} adresinden bir erişim jetonu alabilirsiniz.",
|
wayToGetLineNotifyToken: "{0} adresinden bir erişim jetonu alabilirsiniz.",
|
||||||
Examples: "Örnekler",
|
Examples: "Örnekler",
|
||||||
|
|
|
@ -581,4 +581,18 @@ export default {
|
||||||
"Then choose an action, for example switch the scene to where an RGB light is red.": "然后您可以选择关联操作,例如切换到 RGB 灯发出红光的场景",
|
"Then choose an action, for example switch the scene to where an RGB light is red.": "然后您可以选择关联操作,例如切换到 RGB 灯发出红光的场景",
|
||||||
"Frontend Version": "前端版本",
|
"Frontend Version": "前端版本",
|
||||||
"Frontend Version do not match backend version!": "前端版本与后端版本不符!",
|
"Frontend Version do not match backend version!": "前端版本与后端版本不符!",
|
||||||
|
"Base URL": "API 基础地址",
|
||||||
|
goAlertInfo: "GoAlert 是一个用于呼叫调度、自动汇报和通知(如 SMS 或语音呼叫)的开源应用程序。在正确的时间以正确的方式自动让正确的人参与!{0}",
|
||||||
|
goAlertIntegrationKeyInfo: "使用形如 aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee 的通用 API 集成密钥,通常是复制来的链接中的 token 参数值。",
|
||||||
|
goAlert: "GoAlert",
|
||||||
|
backupOutdatedWarning: "已弃用:由于大量新功能的加入,以及备份功能没有时时维护,现在备份功能已经无法生成完整的备份和恢复完整的设置。",
|
||||||
|
backupRecommend: "请改为直接备份 docker 卷或者数据文件夹(./data/)。",
|
||||||
|
Optional: "可选的",
|
||||||
|
squadcast: "Squadcast",
|
||||||
|
SendKey: "SendKey",
|
||||||
|
"SMSManager API Docs": "SMSManager API 文档在",
|
||||||
|
"Gateway Type": "网关类型",
|
||||||
|
SMSManager: "SMSManager",
|
||||||
|
"You can divide numbers with": "可用的分隔符:",
|
||||||
|
"or": "或",
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,8 @@ export default {
|
||||||
languageName: "繁體中文 (台灣)",
|
languageName: "繁體中文 (台灣)",
|
||||||
checkEverySecond: "每 {0} 秒檢查一次",
|
checkEverySecond: "每 {0} 秒檢查一次",
|
||||||
retryCheckEverySecond: "每 {0} 秒重試一次",
|
retryCheckEverySecond: "每 {0} 秒重試一次",
|
||||||
|
resendEveryXTimes: "每 {0} 次便重新傳送",
|
||||||
|
resendDisabled: "重新傳送已停用",
|
||||||
retriesDescription: "在服務被標記為離線並傳送通知前的最大重試次數",
|
retriesDescription: "在服務被標記為離線並傳送通知前的最大重試次數",
|
||||||
ignoreTLSError: "忽略 HTTPS 網站的 TLS/SSL 錯誤",
|
ignoreTLSError: "忽略 HTTPS 網站的 TLS/SSL 錯誤",
|
||||||
upsideDownModeDescription: "反轉顯示狀態。若服務可以連線,將顯示離線。",
|
upsideDownModeDescription: "反轉顯示狀態。若服務可以連線,將顯示離線。",
|
||||||
|
@ -72,6 +74,7 @@ export default {
|
||||||
"Heartbeat Interval": "心跳間隔",
|
"Heartbeat Interval": "心跳間隔",
|
||||||
Retries: "重試次數",
|
Retries: "重試次數",
|
||||||
"Heartbeat Retry Interval": "心跳重試間隔",
|
"Heartbeat Retry Interval": "心跳重試間隔",
|
||||||
|
"Resend Notification if Down X times consequently": "若 X 次心跳皆離線,重新傳送通知",
|
||||||
Advanced: "進階",
|
Advanced: "進階",
|
||||||
"Upside Down Mode": "顛倒模式",
|
"Upside Down Mode": "顛倒模式",
|
||||||
"Max. Redirects": "最大重新導向次數",
|
"Max. Redirects": "最大重新導向次數",
|
||||||
|
@ -455,6 +458,8 @@ export default {
|
||||||
"Message:": "訊息:",
|
"Message:": "訊息:",
|
||||||
"Don't know how to get the token? Please read the guide:": "不知道如何取得權杖嗎?請閱讀指南:",
|
"Don't know how to get the token? Please read the guide:": "不知道如何取得權杖嗎?請閱讀指南:",
|
||||||
"The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.": "如果您目前正透過 Cloudflare Tunnel 連線,可能會導致連線中斷。您確定要停止嗎?請輸入密碼以確認。",
|
"The current connection may be lost if you are currently connecting via Cloudflare Tunnel. Are you sure want to stop it? Type your current password to confirm it.": "如果您目前正透過 Cloudflare Tunnel 連線,可能會導致連線中斷。您確定要停止嗎?請輸入密碼以確認。",
|
||||||
|
"HTTP Headers": "HTTP 標頭",
|
||||||
|
"Trust Proxy": "信任的 Proxy",
|
||||||
"Other Software": "其他軟體",
|
"Other Software": "其他軟體",
|
||||||
"For example: nginx, Apache and Traefik.": "例如 nginx、Apache 和 Traefik。",
|
"For example: nginx, Apache and Traefik.": "例如 nginx、Apache 和 Traefik。",
|
||||||
"Please read": "請閱覽",
|
"Please read": "請閱覽",
|
||||||
|
@ -467,6 +472,7 @@ export default {
|
||||||
"Domain Name Expiry Notification": "網域名稱到期通知",
|
"Domain Name Expiry Notification": "網域名稱到期通知",
|
||||||
Proxy: "Proxy",
|
Proxy: "Proxy",
|
||||||
"Date Created": "建立日期",
|
"Date Created": "建立日期",
|
||||||
|
HomeAssistant: "Home Assistant",
|
||||||
onebotHttpAddress: "OneBot HTTP 位址",
|
onebotHttpAddress: "OneBot HTTP 位址",
|
||||||
onebotMessageType: "OneBot 訊息類型",
|
onebotMessageType: "OneBot 訊息類型",
|
||||||
onebotGroupMessage: "群組",
|
onebotGroupMessage: "群組",
|
||||||
|
@ -479,6 +485,12 @@ export default {
|
||||||
"Domain Names": "網域名稱",
|
"Domain Names": "網域名稱",
|
||||||
signedInDisp: "以 {0} 身分登入",
|
signedInDisp: "以 {0} 身分登入",
|
||||||
signedInDispDisabled: "驗證已停用。",
|
signedInDispDisabled: "驗證已停用。",
|
||||||
|
RadiusSecret: "Radius Secret",
|
||||||
|
RadiusSecretDescription: "客戶端與伺服器端的共享機密",
|
||||||
|
RadiusCalledStationId: "被叫站 Id",
|
||||||
|
RadiusCalledStationIdDescription: "被呼叫裝置的識別碼",
|
||||||
|
RadiusCallingStationId: "呼叫站 Id",
|
||||||
|
RadiusCallingStationIdDescription: "呼叫裝置的識別碼",
|
||||||
"Certificate Expiry Notification": "憑證到期通知",
|
"Certificate Expiry Notification": "憑證到期通知",
|
||||||
"API Username": "API 使用者名稱",
|
"API Username": "API 使用者名稱",
|
||||||
"API Key": "API 金鑰",
|
"API Key": "API 金鑰",
|
||||||
|
@ -488,8 +500,8 @@ export default {
|
||||||
"Octopush API Version": "Octopush API 版本",
|
"Octopush API Version": "Octopush API 版本",
|
||||||
"Legacy Octopush-DM": "舊版 Octopush-DM",
|
"Legacy Octopush-DM": "舊版 Octopush-DM",
|
||||||
"endpoint": "端",
|
"endpoint": "端",
|
||||||
octopushAPIKey: "\"API key\" from HTTP API credentials in control panel",
|
octopushAPIKey: "在控制台的 HTTP API 憑證取得的 \"API 金鑰\"",
|
||||||
octopushLogin: "\"Login\" from HTTP API credentials in control panel",
|
octopushLogin: "在控制台的 HTTP API 憑證取得的 \"Login\"",
|
||||||
promosmsLogin: "API 登入名稱",
|
promosmsLogin: "API 登入名稱",
|
||||||
promosmsPassword: "API 密碼",
|
promosmsPassword: "API 密碼",
|
||||||
"pushoversounds pushover": "Pushover (預設)",
|
"pushoversounds pushover": "Pushover (預設)",
|
||||||
|
@ -504,9 +516,9 @@ export default {
|
||||||
"pushoversounds intermission": "中場休息",
|
"pushoversounds intermission": "中場休息",
|
||||||
"pushoversounds magic": "魔法",
|
"pushoversounds magic": "魔法",
|
||||||
"pushoversounds mechanical": "機械",
|
"pushoversounds mechanical": "機械",
|
||||||
"pushoversounds pianobar": "Piano Bar",
|
"pushoversounds pianobar": "鋼琴酒吧",
|
||||||
"pushoversounds siren": "Siren",
|
"pushoversounds siren": "警鈴",
|
||||||
"pushoversounds spacealarm": "Space Alarm",
|
"pushoversounds spacealarm": "太空鬧鐘",
|
||||||
"pushoversounds tugboat": "汽笛",
|
"pushoversounds tugboat": "汽笛",
|
||||||
"pushoversounds alien": "外星鬧鐘 (長)",
|
"pushoversounds alien": "外星鬧鐘 (長)",
|
||||||
"pushoversounds climb": "爬升 (長)",
|
"pushoversounds climb": "爬升 (長)",
|
||||||
|
@ -531,11 +543,43 @@ export default {
|
||||||
"Coming Soon": "即將推出",
|
"Coming Soon": "即將推出",
|
||||||
wayToGetClickSendSMSToken: "您可以從 {0} 取得 API 使用者名稱和金鑰。",
|
wayToGetClickSendSMSToken: "您可以從 {0} 取得 API 使用者名稱和金鑰。",
|
||||||
"Connection String": "連線字串",
|
"Connection String": "連線字串",
|
||||||
"Query": "查詢",
|
Query: "查詢",
|
||||||
settingsCertificateExpiry: "TLS 憑證到期",
|
settingsCertificateExpiry: "TLS 憑證到期",
|
||||||
certificationExpiryDescription: "TLS 將於 X 天後到期時觸發 HTTPS 監測器通知:",
|
certificationExpiryDescription: "TLS 將於 X 天後到期時觸發 HTTPS 監測器通知:",
|
||||||
|
"Setup Docker Host": "設定 Docker 主機",
|
||||||
|
"Connection Type": "連線類型",
|
||||||
|
"Docker Daemon": "Docker 精靈",
|
||||||
|
deleteDockerHostMsg: "您確定要為所有監測器刪除此 Docker 主機嗎?",
|
||||||
|
socket: "通訊端",
|
||||||
|
tcp: "TCP / HTTP",
|
||||||
|
"Docker Container": "Docker 容器",
|
||||||
|
"Container Name / ID": "容器名稱 / ID",
|
||||||
|
"Docker Host": "Docker 主機",
|
||||||
|
"Docker Hosts": "Docker 主機",
|
||||||
"ntfy Topic": "ntfy 主題",
|
"ntfy Topic": "ntfy 主題",
|
||||||
"Domain": "網域",
|
Domain: "網域",
|
||||||
"Workstation": "工作站",
|
Workstation: "工作站",
|
||||||
disableCloudflaredNoAuthMsg: "您處於無驗證模式。無須輸入密碼。",
|
disableCloudflaredNoAuthMsg: "您處於無驗證模式。無須輸入密碼。",
|
||||||
|
trustProxyDescription: "信任 'X-Forwarded-*' 標頭。如果您想要取得正確的客戶端 IP,且您的 Uptime Kuma 架設於 Nginx 或 Apache 後方,您應啟用此選項。",
|
||||||
|
wayToGetLineNotifyToken: "您可以從 {0} 取得存取權杖",
|
||||||
|
Examples: "範例",
|
||||||
|
"Home Assistant URL": "Home Assistant 網址",
|
||||||
|
"Long-Lived Access Token": "長期有效存取權杖",
|
||||||
|
"Long-Lived Access Token can be created by clicking on your profile name (bottom left) and scrolling to the bottom then click Create Token. ": "若要建立長期有效存取權杖,請點擊您的個人檔案名稱 (左下角),捲動至最下方,然後點擊建立權杖。",
|
||||||
|
"Notification Service": "通知服務",
|
||||||
|
"default: notify all devices": "預設:通知所有服務",
|
||||||
|
"A list of Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.": "您可以在 Home Assistant 中查看通知服務的列表,在\"開發者工具 > 服務\"下搜尋\"通知\"來找到您的裝置/手機的名稱。",
|
||||||
|
"Automations can optionally be triggered in Home Assistant:": "可以選擇在 Home Assistant 中觸發自動化程序:",
|
||||||
|
"Trigger type:": "觸發器類型:",
|
||||||
|
"Event type:": "事件類型:",
|
||||||
|
"Event data:": "事件資料:",
|
||||||
|
"Then choose an action, for example switch the scene to where an RGB light is red.": "然後選擇動作,例如切換至 RGB 燈為紅色的場景。",
|
||||||
|
"Frontend Version": "前端版本",
|
||||||
|
"Frontend Version do not match backend version!": "前端版本與後端版本不符!",
|
||||||
|
"Base URL": "基底網址",
|
||||||
|
goAlertInfo: "GoAlert 是用於待命排程、升級自動化,以及通知 (如簡訊或語音通話) 的開源應用程式。自動在正確的時間、用洽當的方法、聯絡合適的人! {0}",
|
||||||
|
goAlertIntegrationKeyInfo: "取得服務的通用 API 整合金鑰,格式為 \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\"。通常是已複製的網址的權杖參數值。",
|
||||||
|
goAlert: "GoAlert",
|
||||||
|
backupOutdatedWarning: "過時:由於新功能的增加,且未妥善維護,故此備份功能無法產生或復原完整備份。",
|
||||||
|
backupRecommend: "請直接備份磁碟區或 ./data/ 資料夾。",
|
||||||
};
|
};
|
||||||
|
|
|
@ -100,8 +100,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Port -->
|
<!-- Port -->
|
||||||
<!-- For TCP Port / Steam / MQTT Type -->
|
<!-- For TCP Port / Steam / MQTT / Radius Type -->
|
||||||
<div v-if="monitor.type === 'port' || monitor.type === 'steam' || monitor.type === 'mqtt'" class="my-3">
|
<div v-if="monitor.type === 'port' || monitor.type === 'steam' || monitor.type === 'mqtt' || monitor.type === 'radius'" class="my-3">
|
||||||
<label for="port" class="form-label">{{ $t("Port") }}</label>
|
<label for="port" class="form-label">{{ $t("Port") }}</label>
|
||||||
<input id="port" v-model="monitor.port" type="number" class="form-control" required min="0" max="65535" step="1">
|
<input id="port" v-model="monitor.port" type="number" class="form-control" required min="0" max="65535" step="1">
|
||||||
</div>
|
</div>
|
||||||
|
@ -622,9 +622,11 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set default port for DNS if not already defined
|
// Set default port for DNS if not already defined
|
||||||
if (! this.monitor.port || this.monitor.port === "53") {
|
if (! this.monitor.port || this.monitor.port === "53" || this.monitor.port === "1812") {
|
||||||
if (this.monitor.type === "dns") {
|
if (this.monitor.type === "dns") {
|
||||||
this.monitor.port = "53";
|
this.monitor.port = "53";
|
||||||
|
} else if (this.monitor.type === "radius") {
|
||||||
|
this.monitor.port = "1812";
|
||||||
} else {
|
} else {
|
||||||
this.monitor.port = undefined;
|
this.monitor.port = undefined;
|
||||||
}
|
}
|
||||||
|
|
|
@ -280,9 +280,9 @@ function getCryptoRandomInt(min, max) {
|
||||||
}
|
}
|
||||||
exports.getCryptoRandomInt = getCryptoRandomInt;
|
exports.getCryptoRandomInt = getCryptoRandomInt;
|
||||||
/**
|
/**
|
||||||
* Generate a secret
|
* Generate a random alphanumeric string of fixed length
|
||||||
* @param length Lenght of secret to generate
|
* @param length Length of string to generate
|
||||||
* @returns
|
* @returns string
|
||||||
*/
|
*/
|
||||||
function genSecret(length = 64) {
|
function genSecret(length = 64) {
|
||||||
let secret = "";
|
let secret = "";
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
const { genSecret, DOWN } = require("../src/util");
|
const { genSecret, DOWN, log} = require("../src/util");
|
||||||
const utilServerRewire = require("../server/util-server");
|
const utilServerRewire = require("../server/util-server");
|
||||||
const Discord = require("../server/notification-providers/discord");
|
const Discord = require("../server/notification-providers/discord");
|
||||||
const axios = require("axios");
|
const axios = require("axios");
|
||||||
|
const { UptimeKumaServer } = require("../server/uptime-kuma-server");
|
||||||
|
const Database = require("../server/database");
|
||||||
|
const {Settings} = require("../server/settings");
|
||||||
|
const fs = require("fs");
|
||||||
|
|
||||||
jest.mock("axios");
|
jest.mock("axios");
|
||||||
|
|
||||||
|
@ -225,3 +229,80 @@ describe("The function filterAndJoin", () => {
|
||||||
expect(result).toBe("");
|
expect(result).toBe("");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe("Test uptimeKumaServer.getClientIP()", () => {
|
||||||
|
it("should able to get a correct client IP", async () => {
|
||||||
|
Database.init({
|
||||||
|
"data-dir": "./data/test"
|
||||||
|
});
|
||||||
|
|
||||||
|
if (! fs.existsSync(Database.path)) {
|
||||||
|
log.info("server", "Copying Database");
|
||||||
|
fs.copyFileSync(Database.templatePath, Database.path);
|
||||||
|
}
|
||||||
|
|
||||||
|
await Database.connect(true);
|
||||||
|
await Database.patch();
|
||||||
|
|
||||||
|
const fakeSocket = {
|
||||||
|
client: {
|
||||||
|
conn: {
|
||||||
|
remoteAddress: "192.168.10.10",
|
||||||
|
request: {
|
||||||
|
headers: {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const server = Object.create(UptimeKumaServer.prototype);
|
||||||
|
let ip = await server.getClientIP(fakeSocket);
|
||||||
|
|
||||||
|
await Settings.set("trustProxy", false);
|
||||||
|
expect(await Settings.get("trustProxy")).toBe(false);
|
||||||
|
expect(ip).toBe("192.168.10.10");
|
||||||
|
|
||||||
|
fakeSocket.client.conn.request.headers["x-forwarded-for"] = "10.10.10.10";
|
||||||
|
ip = await server.getClientIP(fakeSocket);
|
||||||
|
expect(ip).toBe("192.168.10.10");
|
||||||
|
|
||||||
|
fakeSocket.client.conn.request.headers["x-real-ip"] = "20.20.20.20";
|
||||||
|
ip = await server.getClientIP(fakeSocket);
|
||||||
|
expect(ip).toBe("192.168.10.10");
|
||||||
|
|
||||||
|
await Settings.set("trustProxy", true);
|
||||||
|
expect(await Settings.get("trustProxy")).toBe(true);
|
||||||
|
|
||||||
|
fakeSocket.client.conn.request.headers["x-forwarded-for"] = "10.10.10.10";
|
||||||
|
ip = await server.getClientIP(fakeSocket);
|
||||||
|
expect(ip).toBe("10.10.10.10");
|
||||||
|
|
||||||
|
// x-real-ip
|
||||||
|
delete fakeSocket.client.conn.request.headers["x-forwarded-for"];
|
||||||
|
ip = await server.getClientIP(fakeSocket);
|
||||||
|
expect(ip).toBe("20.20.20.20");
|
||||||
|
|
||||||
|
fakeSocket.client.conn.request.headers["x-forwarded-for"] = "2001:db8:85a3:8d3:1319:8a2e:370:7348";
|
||||||
|
ip = await server.getClientIP(fakeSocket);
|
||||||
|
expect(ip).toBe("2001:db8:85a3:8d3:1319:8a2e:370:7348");
|
||||||
|
|
||||||
|
fakeSocket.client.conn.request.headers["x-forwarded-for"] = "203.0.113.195";
|
||||||
|
ip = await server.getClientIP(fakeSocket);
|
||||||
|
expect(ip).toBe("203.0.113.195");
|
||||||
|
|
||||||
|
fakeSocket.client.conn.request.headers["x-forwarded-for"] = "203.0.113.195, 2001:db8:85a3:8d3:1319:8a2e:370:7348";
|
||||||
|
ip = await server.getClientIP(fakeSocket);
|
||||||
|
expect(ip).toBe("203.0.113.195");
|
||||||
|
|
||||||
|
fakeSocket.client.conn.request.headers["x-forwarded-for"] = "203.0.113.195,2001:db8:85a3:8d3:1319:8a2e:370:7348,150.172.238.178";
|
||||||
|
ip = await server.getClientIP(fakeSocket);
|
||||||
|
expect(ip).toBe("203.0.113.195");
|
||||||
|
|
||||||
|
// Elements are comma-separated, with optional whitespace surrounding the commas.
|
||||||
|
fakeSocket.client.conn.request.headers["x-forwarded-for"] = "203.0.113.195 , 2001:db8:85a3:8d3:1319:8a2e:370:7348,150.172.238.178";
|
||||||
|
ip = await server.getClientIP(fakeSocket);
|
||||||
|
expect(ip).toBe("203.0.113.195");
|
||||||
|
|
||||||
|
await Database.close();
|
||||||
|
}, 120000);
|
||||||
|
});
|
||||||
|
|
18
test/cypress/e2e/setup.cy.js
Normal file
18
test/cypress/e2e/setup.cy.js
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
const actor = require("../support/actors/actor");
|
||||||
|
const userData = require("../support/const/user-data");
|
||||||
|
const dashboardPage = require("../support/pages/dashboard-page");
|
||||||
|
const setupPage = require("../support/pages/setup-page");
|
||||||
|
|
||||||
|
describe("user can create a new account on setup page", () => {
|
||||||
|
before(() => {
|
||||||
|
cy.visit("/setup");
|
||||||
|
});
|
||||||
|
it("user can create new account", () => {
|
||||||
|
cy.url().should("be.equal", setupPage.SetupPage.url);
|
||||||
|
actor.actor.setupTask.fillAndSubmitSetupForm(userData.DEFAULT_USER_DATA.username, userData.DEFAULT_USER_DATA.password, userData.DEFAULT_USER_DATA.password);
|
||||||
|
cy.url().should("be.equal", dashboardPage.DashboardPage.url);
|
||||||
|
cy.get('[role="alert"]')
|
||||||
|
.should("be.visible")
|
||||||
|
.and("contain.text", "Added Successfully.");
|
||||||
|
});
|
||||||
|
});
|
8
test/cypress/support/actors/actor.js
Normal file
8
test/cypress/support/actors/actor.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
const setupTask = require("../tasks/setup-task");
|
||||||
|
class Actor {
|
||||||
|
constructor() {
|
||||||
|
this.setupTask = new setupTask.SetupTask();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const actor = new Actor();
|
||||||
|
exports.actor = actor;
|
|
@ -1,4 +1,4 @@
|
||||||
export const DEFAULT_USER_DATA = {
|
exports.DEFAULT_USER_DATA = {
|
||||||
username: "testuser",
|
username: "testuser",
|
||||||
password: "testuser123",
|
password: "testuser123",
|
||||||
};
|
};
|
1
test/cypress/support/e2e.js
Normal file
1
test/cypress/support/e2e.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
require("./commands");
|
|
@ -1,3 +1,3 @@
|
||||||
export const DashboardPage = {
|
exports.DashboardPage = {
|
||||||
url: Cypress.env("baseUrl") + "/dashboard",
|
url: Cypress.env("baseUrl") + "/dashboard",
|
||||||
};
|
};
|
|
@ -1,4 +1,4 @@
|
||||||
export const SetupPage = {
|
exports.SetupPage = {
|
||||||
url: Cypress.env("baseUrl") + "/setup",
|
url: Cypress.env("baseUrl") + "/setup",
|
||||||
usernameInput: '[data-cy="username-input"]',
|
usernameInput: '[data-cy="username-input"]',
|
||||||
passWordInput: '[data-cy="password-input"]',
|
passWordInput: '[data-cy="password-input"]',
|
11
test/cypress/support/tasks/setup-task.js
Normal file
11
test/cypress/support/tasks/setup-task.js
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
const setupPage = require("../pages/setup-page");
|
||||||
|
|
||||||
|
class SetupTask {
|
||||||
|
fillAndSubmitSetupForm(username, password, passwordRepeat) {
|
||||||
|
cy.get(setupPage.SetupPage.usernameInput).type(username);
|
||||||
|
cy.get(setupPage.SetupPage.passWordInput).type(password);
|
||||||
|
cy.get(setupPage.SetupPage.passwordRepeatInput).type(passwordRepeat);
|
||||||
|
cy.get(setupPage.SetupPage.submitSetupForm).click();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
exports.SetupTask = SetupTask;
|
329
test/e2e.spec.js
329
test/e2e.spec.js
|
@ -1,329 +0,0 @@
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
const { Page, Browser } = require("puppeteer");
|
|
||||||
const { sleep } = require("../src/util");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set back the correct data type for page object
|
|
||||||
* @type {Page}
|
|
||||||
*/
|
|
||||||
page;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @type {Browser}
|
|
||||||
*/
|
|
||||||
browser;
|
|
||||||
|
|
||||||
beforeAll(async () => {
|
|
||||||
await page.setViewport({
|
|
||||||
width: 1280,
|
|
||||||
height: 720,
|
|
||||||
deviceScaleFactor: 1,
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
afterAll(() => {
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
const baseURL = "http://127.0.0.1:3002";
|
|
||||||
|
|
||||||
describe("Init", () => {
|
|
||||||
const title = "Uptime Kuma";
|
|
||||||
|
|
||||||
beforeAll(async () => {
|
|
||||||
await page.goto(baseURL);
|
|
||||||
});
|
|
||||||
|
|
||||||
it(`should be titled "${title}"`, async () => {
|
|
||||||
await expect(page.title()).resolves.toEqual(title);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Setup Page
|
|
||||||
it("Setup", async () => {
|
|
||||||
// Create an Admin
|
|
||||||
await page.waitForSelector("#floatingInput");
|
|
||||||
await page.waitForSelector("#repeat");
|
|
||||||
await page.click("#floatingInput");
|
|
||||||
await page.type("#floatingInput", "admin");
|
|
||||||
await page.type("#floatingPassword", "admin123");
|
|
||||||
await page.type("#repeat", "admin123");
|
|
||||||
await page.click(".btn-primary[type=submit]");
|
|
||||||
await sleep(3000);
|
|
||||||
|
|
||||||
// Go to /setup again
|
|
||||||
await page.goto(baseURL + "/setup");
|
|
||||||
await sleep(3000);
|
|
||||||
let pathname = await page.evaluate(() => location.pathname);
|
|
||||||
expect(pathname).toEqual("/dashboard");
|
|
||||||
|
|
||||||
// Go to /
|
|
||||||
await page.goto(baseURL);
|
|
||||||
await page.waitForSelector("h1.mb-3");
|
|
||||||
pathname = await page.evaluate(() => location.pathname);
|
|
||||||
expect(pathname).toEqual("/dashboard");
|
|
||||||
});
|
|
||||||
|
|
||||||
it("should create monitor", async () => {
|
|
||||||
// Create monitor
|
|
||||||
await page.goto(baseURL + "/add");
|
|
||||||
await page.waitForSelector("#name");
|
|
||||||
|
|
||||||
await page.type("#name", "Myself");
|
|
||||||
await page.waitForSelector("#url");
|
|
||||||
await page.click("#url", { clickCount: 3 });
|
|
||||||
await page.keyboard.type(baseURL);
|
|
||||||
await page.keyboard.press("Enter");
|
|
||||||
|
|
||||||
await page.waitForFunction(() => {
|
|
||||||
const badge = document.querySelector("span.badge");
|
|
||||||
return badge && badge.innerText == "100%";
|
|
||||||
}, { timeout: 5000 });
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// Settings Page
|
|
||||||
/*
|
|
||||||
describe("Settings", () => {
|
|
||||||
beforeEach(async () => {
|
|
||||||
await page.goto(baseURL + "/settings");
|
|
||||||
});
|
|
||||||
|
|
||||||
it("Change Language", async () => {
|
|
||||||
await page.goto(baseURL + "/settings/appearance");
|
|
||||||
await page.waitForSelector("#language");
|
|
||||||
|
|
||||||
await page.select("#language", "zh-HK");
|
|
||||||
let languageTitle = await page.evaluate(() => document.querySelector("[for=language]").innerText);
|
|
||||||
expect(languageTitle).toEqual("語言");
|
|
||||||
|
|
||||||
await page.select("#language", "en");
|
|
||||||
languageTitle = await page.evaluate(() => document.querySelector("[for=language]").innerText);
|
|
||||||
expect(languageTitle).toEqual("Language");
|
|
||||||
});
|
|
||||||
|
|
||||||
it("Change Theme", async () => {
|
|
||||||
await page.goto(baseURL + "/settings/appearance");
|
|
||||||
|
|
||||||
// Dark
|
|
||||||
await click(page, ".btn[for=btncheck2]");
|
|
||||||
await page.waitForSelector("div.dark");
|
|
||||||
|
|
||||||
await page.waitForSelector(".btn[for=btncheck1]");
|
|
||||||
|
|
||||||
// Light
|
|
||||||
await click(page, ".btn[for=btncheck1]");
|
|
||||||
await page.waitForSelector("div.light");
|
|
||||||
});
|
|
||||||
|
|
||||||
it("Change Heartbeat Bar Style", async () => {
|
|
||||||
await page.goto(baseURL + "/settings/appearance");
|
|
||||||
|
|
||||||
// Bottom
|
|
||||||
await click(page, ".btn[for=btncheck5]");
|
|
||||||
await page.waitForSelector("div.hp-bar-big");
|
|
||||||
|
|
||||||
// None
|
|
||||||
await click(page, ".btn[for=btncheck6]");
|
|
||||||
await page.waitForSelector("div.hp-bar-big", {
|
|
||||||
hidden: true,
|
|
||||||
timeout: 1000
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// TODO: Timezone
|
|
||||||
|
|
||||||
it("Search Engine Visibility", async () => {
|
|
||||||
// Default
|
|
||||||
let res = await axios.get(baseURL + "/robots.txt");
|
|
||||||
expect(res.data).toContain("Disallow: /");
|
|
||||||
|
|
||||||
// Yes
|
|
||||||
await click(page, "#searchEngineIndexYes");
|
|
||||||
await click(page, "form > div > .btn[type=submit]");
|
|
||||||
await sleep(1000);
|
|
||||||
res = await axios.get(baseURL + "/robots.txt");
|
|
||||||
expect(res.data).not.toContain("Disallow: /");
|
|
||||||
|
|
||||||
// No
|
|
||||||
await click(page, "#searchEngineIndexNo");
|
|
||||||
await click(page, "form > div > .btn[type=submit]");
|
|
||||||
await sleep(1000);
|
|
||||||
res = await axios.get(baseURL + "/robots.txt");
|
|
||||||
expect(res.data).toContain("Disallow: /");
|
|
||||||
});
|
|
||||||
|
|
||||||
it("Entry Page", async () => {
|
|
||||||
const newPage = await browser.newPage();
|
|
||||||
|
|
||||||
// Default
|
|
||||||
await newPage.goto(baseURL);
|
|
||||||
await newPage.waitForSelector("h1.mb-3", { timeout: 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(1000);
|
|
||||||
await newPage.goto(baseURL);
|
|
||||||
await newPage.waitForSelector("img.logo", { timeout: 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(1000);
|
|
||||||
await newPage.goto(baseURL);
|
|
||||||
await newPage.waitForSelector("h1.mb-3", { timeout: 3000 });
|
|
||||||
pathname = await newPage.evaluate(() => location.pathname);
|
|
||||||
expect(pathname).toEqual("/dashboard");
|
|
||||||
|
|
||||||
await newPage.close();
|
|
||||||
});
|
|
||||||
|
|
||||||
it("Change Password (wrong current password)", async () => {
|
|
||||||
await page.goto(baseURL + "/settings/security");
|
|
||||||
await page.waitForSelector("#current-password");
|
|
||||||
|
|
||||||
await page.type("#current-password", "wrong_passw$$d");
|
|
||||||
await page.type("#new-password", "new_password123");
|
|
||||||
await page.type("#repeat-new-password", "new_password123");
|
|
||||||
|
|
||||||
// Save
|
|
||||||
await click(page, "form > div > .btn[type=submit]", 0);
|
|
||||||
await sleep(1000);
|
|
||||||
|
|
||||||
await click(page, "#logout-btn");
|
|
||||||
await login("admin", "new_password123");
|
|
||||||
let elementCount = await page.evaluate(() => document.querySelectorAll("#floatingPassword").length);
|
|
||||||
expect(elementCount).toEqual(1);
|
|
||||||
|
|
||||||
await login("admin", "admin123");
|
|
||||||
});
|
|
||||||
|
|
||||||
it("Change Password (wrong repeat)", async () => {
|
|
||||||
await page.goto(baseURL + "/settings/security");
|
|
||||||
await page.waitForSelector("#current-password");
|
|
||||||
|
|
||||||
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]", 0);
|
|
||||||
await sleep(1000);
|
|
||||||
|
|
||||||
await click(page, "#logout-btn");
|
|
||||||
await login("admin", "new_password123");
|
|
||||||
|
|
||||||
let elementCount = await page.evaluate(() => document.querySelectorAll("#floatingPassword").length);
|
|
||||||
expect(elementCount).toEqual(1);
|
|
||||||
|
|
||||||
await login("admin", "admin123");
|
|
||||||
await page.waitForSelector("#current-password");
|
|
||||||
let pathname = await page.evaluate(() => location.pathname);
|
|
||||||
expect(pathname).toEqual("/settings/security");
|
|
||||||
});
|
|
||||||
|
|
||||||
// TODO: 2FA
|
|
||||||
|
|
||||||
// TODO: Export Backup
|
|
||||||
|
|
||||||
// TODO: Import Backup
|
|
||||||
|
|
||||||
it("Should disable & enable auth", async () => {
|
|
||||||
await page.goto(baseURL + "/settings/security");
|
|
||||||
await click(page, "#disableAuth-btn");
|
|
||||||
await click(page, ".btn.btn-danger[data-bs-dismiss='modal']", 2); // Not a good way to do it
|
|
||||||
await page.waitForSelector("#enableAuth-btn", { timeout: 3000 });
|
|
||||||
await page.waitForSelector("#logout-btn", {
|
|
||||||
hidden: true,
|
|
||||||
timeout: 3000
|
|
||||||
});
|
|
||||||
|
|
||||||
const newPage = await browser.newPage();
|
|
||||||
await newPage.goto(baseURL);
|
|
||||||
await newPage.waitForSelector("span.badge", { timeout: 3000 });
|
|
||||||
newPage.close();
|
|
||||||
|
|
||||||
await click(page, "#enableAuth-btn");
|
|
||||||
await login("admin", "admin123");
|
|
||||||
await page.waitForSelector("#disableAuth-btn", { timeout: 3000 });
|
|
||||||
});
|
|
||||||
|
|
||||||
// it("Should clear all statistics", async () => {
|
|
||||||
// await page.goto(baseURL + "/settings/monitor-history");
|
|
||||||
// await click(page, "#clearAllStats-btn");
|
|
||||||
// await click(page, ".btn.btn-danger");
|
|
||||||
// await page.waitForFunction(() => {
|
|
||||||
// const badge = document.querySelector("span.badge");
|
|
||||||
// return badge && badge.innerText == "0%";
|
|
||||||
// }, { timeout: 3000 });
|
|
||||||
// });
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* TODO
|
|
||||||
* Create Monitor - All type
|
|
||||||
* Edit Monitor
|
|
||||||
* Delete Monitor
|
|
||||||
*
|
|
||||||
* Create Notification (token problem, maybe hard to test)
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
describe("Status Page", () => {
|
|
||||||
const title = "Uptime Kuma";
|
|
||||||
beforeAll(async () => {
|
|
||||||
await page.goto(baseURL + "/status");
|
|
||||||
});
|
|
||||||
it(`should be titled "${title}"`, async () => {
|
|
||||||
await expect(page.title()).resolves.toEqual(title);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Test login
|
|
||||||
* @param {string} username
|
|
||||||
* @param {string} password
|
|
||||||
*/
|
|
||||||
async function login(username, password) {
|
|
||||||
await input(page, "#floatingInput", username);
|
|
||||||
await input(page, "#floatingPassword", password);
|
|
||||||
await page.click(".btn-primary[type=submit]");
|
|
||||||
await sleep(5000);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Click on an element on the page
|
|
||||||
* @param {Page} page Puppeteer page instance
|
|
||||||
* @param {string} selector
|
|
||||||
* @param {number} elementIndex
|
|
||||||
* @returns {Promise<any>}
|
|
||||||
*/
|
|
||||||
async function click(page, selector, elementIndex = 0) {
|
|
||||||
await page.waitForSelector(selector, {
|
|
||||||
timeout: 5000,
|
|
||||||
});
|
|
||||||
return await page.evaluate((s, i) => {
|
|
||||||
return document.querySelectorAll(s)[i].click();
|
|
||||||
}, selector, elementIndex);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Input text into selected field
|
|
||||||
* @param {Page} page Puppeteer page instance
|
|
||||||
* @param {string} selector
|
|
||||||
* @param {string} text Text to input
|
|
||||||
*/
|
|
||||||
async function input(page, selector, text) {
|
|
||||||
await page.waitForSelector(selector, {
|
|
||||||
timeout: 5000,
|
|
||||||
});
|
|
||||||
const element = await page.$(selector);
|
|
||||||
await element.click({ clickCount: 3 });
|
|
||||||
await page.keyboard.press("Backspace");
|
|
||||||
await page.type(selector, text);
|
|
||||||
}
|
|
|
@ -1,42 +0,0 @@
|
||||||
// eslint-disable-next-line no-global-assign
|
|
||||||
global.localStorage = {};
|
|
||||||
global.navigator = {
|
|
||||||
language: "en"
|
|
||||||
};
|
|
||||||
|
|
||||||
const { currentLocale } = require("../src/i18n");
|
|
||||||
|
|
||||||
describe("Test i18n.js", () => {
|
|
||||||
|
|
||||||
it("currentLocale()", () => {
|
|
||||||
expect(currentLocale()).toEqual("en");
|
|
||||||
|
|
||||||
navigator.language = "zh-HK";
|
|
||||||
expect(currentLocale()).toEqual("zh-HK");
|
|
||||||
|
|
||||||
// Note that in Safari on iOS prior to 10.2, the country code returned is lowercase: "en-us", "fr-fr" etc.
|
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
|
|
||||||
navigator.language = "zh-hk";
|
|
||||||
expect(currentLocale()).toEqual("en");
|
|
||||||
|
|
||||||
navigator.language = "en-US";
|
|
||||||
expect(currentLocale()).toEqual("en");
|
|
||||||
|
|
||||||
navigator.language = "ja-ZZ";
|
|
||||||
expect(currentLocale()).toEqual("ja");
|
|
||||||
|
|
||||||
navigator.language = "zz";
|
|
||||||
expect(currentLocale()).toEqual("en");
|
|
||||||
|
|
||||||
navigator.language = "zz-ZZ";
|
|
||||||
expect(currentLocale()).toEqual("en");
|
|
||||||
|
|
||||||
localStorage.locale = "en";
|
|
||||||
expect(currentLocale()).toEqual("en");
|
|
||||||
|
|
||||||
localStorage.locale = "zh-HK";
|
|
||||||
expect(currentLocale()).toEqual("zh-HK");
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
const fs = require("fs");
|
|
||||||
const rmSync = require("../extra/fs-rmSync.js");
|
|
||||||
|
|
||||||
const path = "./data/test-chrome-profile";
|
|
||||||
|
|
||||||
if (fs.existsSync(path)) {
|
|
||||||
rmSync(path, {
|
|
||||||
recursive: true,
|
|
||||||
});
|
|
||||||
}
|
|
|
@ -11,11 +11,9 @@
|
||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"preserveConstEnums": true,
|
"preserveConstEnums": true,
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"strict": true,
|
"strict": true
|
||||||
"types": ["cypress"]
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"./src/util.ts",
|
"./src/util.ts"
|
||||||
],
|
]
|
||||||
"include": ["cypress/**/*.ts"]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue