新逸Cary
3 years ago
committed by
GitHub
123 changed files with 20446 additions and 10557 deletions
@ -0,0 +1,35 @@ |
|||||
|
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node |
||||
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions |
||||
|
|
||||
|
name: Auto Test |
||||
|
|
||||
|
on: |
||||
|
push: |
||||
|
branches: [ master ] |
||||
|
pull_request: |
||||
|
branches: [ master ] |
||||
|
|
||||
|
jobs: |
||||
|
auto-test: |
||||
|
runs-on: ${{ matrix.os }} |
||||
|
|
||||
|
strategy: |
||||
|
matrix: |
||||
|
os: [macos-latest, ubuntu-latest, windows-latest] |
||||
|
node-version: [14.x, 15.x, 16.x] |
||||
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ |
||||
|
|
||||
|
steps: |
||||
|
- uses: actions/checkout@v2 |
||||
|
|
||||
|
- name: Use Node.js ${{ matrix.node-version }} |
||||
|
uses: actions/setup-node@v2 |
||||
|
with: |
||||
|
node-version: ${{ matrix.node-version }} |
||||
|
cache: 'npm' |
||||
|
- run: npm ci |
||||
|
- run: npm run build |
||||
|
- run: npm test |
||||
|
env: |
||||
|
HEADLESS_TEST: 1 |
||||
|
JUST_FOR_TEST: ${{ secrets.JUST_FOR_TEST }} |
@ -0,0 +1,7 @@ |
|||||
|
const config = {}; |
||||
|
|
||||
|
if (process.env.TEST_FRONTEND) { |
||||
|
config.presets = ["@babel/preset-env"]; |
||||
|
} |
||||
|
|
||||
|
module.exports = config; |
@ -0,0 +1,7 @@ |
|||||
|
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db. |
||||
|
BEGIN TRANSACTION; |
||||
|
|
||||
|
ALTER TABLE monitor |
||||
|
ADD push_token VARCHAR(20) DEFAULT NULL; |
||||
|
|
||||
|
COMMIT; |
@ -0,0 +1,8 @@ |
|||||
|
# DON'T UPDATE TO alpine3.13, 1.14, see #41. |
||||
|
FROM node:14-alpine3.12 |
||||
|
WORKDIR /app |
||||
|
|
||||
|
# Install apprise, iputils for non-root ping, setpriv |
||||
|
RUN apk add --no-cache iputils setpriv dumb-init python3 py3-cryptography py3-pip py3-six py3-yaml py3-click py3-markdown py3-requests py3-requests-oauthlib && \ |
||||
|
pip3 --no-cache-dir install apprise && \ |
||||
|
rm -rf /root/.cache |
@ -0,0 +1,12 @@ |
|||||
|
# DON'T UPDATE TO node:14-bullseye-slim, see #372. |
||||
|
# If the image changed, the second stage image should be changed too |
||||
|
FROM node:14-buster-slim |
||||
|
WORKDIR /app |
||||
|
|
||||
|
# Install Apprise, add sqlite3 cli for debugging in the future, iputils-ping for ping, util-linux for setpriv |
||||
|
# Stupid python3 and python3-pip actually install a lot of useless things into Debian, specific --no-install-recommends to skip them, make the base even smaller than alpine! |
||||
|
RUN apt update && \ |
||||
|
apt --yes --no-install-recommends install python3 python3-pip python3-cryptography python3-six python3-yaml python3-click python3-markdown python3-requests python3-requests-oauthlib \ |
||||
|
sqlite3 iputils-ping util-linux dumb-init && \ |
||||
|
pip3 --no-cache-dir install apprise && \ |
||||
|
rm -rf /var/lib/apt/lists/* |
@ -0,0 +1,64 @@ |
|||||
|
#!/usr/bin/env bash |
||||
|
# |
||||
|
# Author: Stefan Buck |
||||
|
# License: MIT |
||||
|
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447 |
||||
|
# |
||||
|
# |
||||
|
# This script accepts the following parameters: |
||||
|
# |
||||
|
# * owner |
||||
|
# * repo |
||||
|
# * tag |
||||
|
# * filename |
||||
|
# * github_api_token |
||||
|
# |
||||
|
# Script to upload a release asset using the GitHub API v3. |
||||
|
# |
||||
|
# Example: |
||||
|
# |
||||
|
# upload-github-release-asset.sh github_api_token=TOKEN owner=stefanbuck repo=playground tag=v0.1.0 filename=./build.zip |
||||
|
# |
||||
|
|
||||
|
# Check dependencies. |
||||
|
set -e |
||||
|
xargs=$(which gxargs || which xargs) |
||||
|
|
||||
|
# Validate settings. |
||||
|
[ "$TRACE" ] && set -x |
||||
|
|
||||
|
CONFIG=$@ |
||||
|
|
||||
|
for line in $CONFIG; do |
||||
|
eval "$line" |
||||
|
done |
||||
|
|
||||
|
# Define variables. |
||||
|
GH_API="https://api.github.com" |
||||
|
GH_REPO="$GH_API/repos/$owner/$repo" |
||||
|
GH_TAGS="$GH_REPO/releases/tags/$tag" |
||||
|
AUTH="Authorization: token $github_api_token" |
||||
|
WGET_ARGS="--content-disposition --auth-no-challenge --no-cookie" |
||||
|
CURL_ARGS="-LJO#" |
||||
|
|
||||
|
if [[ "$tag" == 'LATEST' ]]; then |
||||
|
GH_TAGS="$GH_REPO/releases/latest" |
||||
|
fi |
||||
|
|
||||
|
# Validate token. |
||||
|
curl -o /dev/null -sH "$AUTH" $GH_REPO || { echo "Error: Invalid repo, token or network issue!"; exit 1; } |
||||
|
|
||||
|
# Read asset tags. |
||||
|
response=$(curl -sH "$AUTH" $GH_TAGS) |
||||
|
|
||||
|
# Get ID of the asset based on given filename. |
||||
|
eval $(echo "$response" | grep -m 1 "id.:" | grep -w id | tr : = | tr -cd '[[:alnum:]]=') |
||||
|
[ "$id" ] || { echo "Error: Failed to get release id for tag: $tag"; echo "$response" | awk 'length($0)<100' >&2; exit 1; } |
||||
|
|
||||
|
# Upload asset |
||||
|
echo "Uploading asset... " |
||||
|
|
||||
|
# Construct url |
||||
|
GH_ASSET="https://uploads.github.com/repos/$owner/$repo/releases/$id/assets?name=$(basename $filename)" |
||||
|
|
||||
|
curl "$GITHUB_OAUTH_BASIC" --data-binary @"$filename" -H "Authorization: token $github_api_token" -H "Content-Type: application/octet-stream" $GH_ASSET |
@ -0,0 +1,5 @@ |
|||||
|
module.exports = { |
||||
|
"rootDir": ".", |
||||
|
"testRegex": "./test/frontend.spec.js", |
||||
|
}; |
||||
|
|
@ -0,0 +1,6 @@ |
|||||
|
module.exports = { |
||||
|
"launch": { |
||||
|
"headless": process.env.HEADLESS_TEST || false, |
||||
|
"userDataDir": "./data/test-chrome-profile", |
||||
|
} |
||||
|
}; |
@ -0,0 +1,11 @@ |
|||||
|
module.exports = { |
||||
|
"verbose": true, |
||||
|
"preset": "jest-puppeteer", |
||||
|
"globals": { |
||||
|
"__DEV__": true |
||||
|
}, |
||||
|
"testRegex": "./test/e2e.spec.js", |
||||
|
"rootDir": ".", |
||||
|
"testTimeout": 30000, |
||||
|
}; |
||||
|
|
File diff suppressed because it is too large
@ -0,0 +1,45 @@ |
|||||
|
const NotificationProvider = require("./notification-provider"); |
||||
|
const axios = require("axios"); |
||||
|
const Crypto = require("crypto"); |
||||
|
const { debug } = require("../../src/util"); |
||||
|
|
||||
|
class Matrix extends NotificationProvider { |
||||
|
name = "matrix"; |
||||
|
|
||||
|
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { |
||||
|
let okMsg = "Sent Successfully."; |
||||
|
|
||||
|
const size = 20; |
||||
|
const randomString = encodeURIComponent( |
||||
|
Crypto |
||||
|
.randomBytes(size) |
||||
|
.toString("base64") |
||||
|
.slice(0, size) |
||||
|
); |
||||
|
|
||||
|
debug("Random String: " + randomString); |
||||
|
|
||||
|
const roomId = encodeURIComponent(notification.internalRoomId); |
||||
|
|
||||
|
debug("Matrix Room ID: " + roomId); |
||||
|
|
||||
|
try { |
||||
|
let config = { |
||||
|
headers: { |
||||
|
"Authorization": `Bearer ${notification.accessToken}`, |
||||
|
} |
||||
|
}; |
||||
|
let data = { |
||||
|
"msgtype": "m.text", |
||||
|
"body": msg |
||||
|
}; |
||||
|
|
||||
|
await axios.put(`${notification.homeserverUrl}/_matrix/client/r0/rooms/${roomId}/send/m.room.message/${randomString}`, data, config); |
||||
|
return okMsg; |
||||
|
} catch (error) { |
||||
|
this.throwGeneralAxiosError(error); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
module.exports = Matrix; |
@ -1,7 +1,12 @@ |
|||||
<template> |
<template> |
||||
<router-view /> |
<router-view /> |
||||
</template> |
</template> |
||||
|
|
||||
<script> |
<script> |
||||
export default {} |
import { setPageLocale } from "./util-frontend"; |
||||
|
export default { |
||||
|
created() { |
||||
|
setPageLocale(); |
||||
|
}, |
||||
|
}; |
||||
</script> |
</script> |
||||
|
@ -0,0 +1,5 @@ |
|||||
|
html[lang='fa'] { |
||||
|
#app { |
||||
|
font-family: 'IRANSans', 'Iranian Sans','B Nazanin', 'Tahoma', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji; |
||||
|
} |
||||
|
} |
@ -0,0 +1,73 @@ |
|||||
|
@import "vars.scss"; |
||||
|
@import "node_modules/vue-multiselect/dist/vue-multiselect"; |
||||
|
|
||||
|
.multiselect__tags { |
||||
|
border-radius: 1.5rem; |
||||
|
border: 1px solid #ced4da; |
||||
|
min-height: 38px; |
||||
|
padding: 6px 40px 0 8px; |
||||
|
} |
||||
|
|
||||
|
.multiselect--active .multiselect__tags { |
||||
|
border-radius: 1rem; |
||||
|
} |
||||
|
|
||||
|
.multiselect__option--highlight { |
||||
|
background: $primary !important; |
||||
|
} |
||||
|
|
||||
|
.multiselect__option--highlight::after { |
||||
|
background: $primary !important; |
||||
|
} |
||||
|
|
||||
|
.multiselect__tag { |
||||
|
border-radius: 50rem; |
||||
|
margin-bottom: 0; |
||||
|
padding: 6px 26px 6px 10px; |
||||
|
background: $primary !important; |
||||
|
} |
||||
|
|
||||
|
.multiselect__placeholder { |
||||
|
font-size: 1rem; |
||||
|
padding-left: 6px; |
||||
|
padding-top: 0; |
||||
|
padding-bottom: 0; |
||||
|
margin-bottom: 0; |
||||
|
opacity: 0.67; |
||||
|
} |
||||
|
|
||||
|
.multiselect__input, |
||||
|
.multiselect__single { |
||||
|
line-height: 14px; |
||||
|
margin-bottom: 0; |
||||
|
} |
||||
|
|
||||
|
.dark { |
||||
|
.multiselect__tag { |
||||
|
color: $dark-font-color2; |
||||
|
} |
||||
|
|
||||
|
.multiselect__tags { |
||||
|
background-color: $dark-bg2; |
||||
|
border-color: $dark-border-color; |
||||
|
} |
||||
|
|
||||
|
.multiselect__input, |
||||
|
.multiselect__single { |
||||
|
background-color: $dark-bg2; |
||||
|
color: $dark-font-color; |
||||
|
} |
||||
|
|
||||
|
.multiselect__content-wrapper { |
||||
|
background-color: $dark-bg2; |
||||
|
border-color: $dark-border-color; |
||||
|
} |
||||
|
|
||||
|
.multiselect--above .multiselect__content-wrapper { |
||||
|
border-color: $dark-border-color; |
||||
|
} |
||||
|
|
||||
|
.multiselect__option--selected { |
||||
|
background-color: $dark-bg; |
||||
|
} |
||||
|
} |
@ -0,0 +1,52 @@ |
|||||
|
<template> |
||||
|
<div> |
||||
|
<h4>{{ $t("Certificate Info") }}</h4> |
||||
|
{{ $t("Certificate Chain") }}: |
||||
|
<div |
||||
|
v-if="valid" |
||||
|
class="rounded d-inline-flex ms-2 text-white tag-valid" |
||||
|
> |
||||
|
{{ $t("Valid") }} |
||||
|
</div> |
||||
|
<div |
||||
|
v-if="!valid" |
||||
|
class="rounded d-inline-flex ms-2 text-white tag-invalid" |
||||
|
> |
||||
|
{{ $t("Invalid") }} |
||||
|
</div> |
||||
|
<certificate-info-row :cert="certInfo" /> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import CertificateInfoRow from "./CertificateInfoRow.vue"; |
||||
|
export default { |
||||
|
components: { |
||||
|
CertificateInfoRow, |
||||
|
}, |
||||
|
props: { |
||||
|
certInfo: { |
||||
|
type: Object, |
||||
|
required: true, |
||||
|
}, |
||||
|
valid: { |
||||
|
type: Boolean, |
||||
|
required: true, |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
@import "../assets/vars.scss"; |
||||
|
|
||||
|
.tag-valid { |
||||
|
padding: 2px 25px; |
||||
|
background-color: $primary; |
||||
|
} |
||||
|
|
||||
|
.tag-invalid { |
||||
|
padding: 2px 25px; |
||||
|
background-color: $danger; |
||||
|
} |
||||
|
</style> |
@ -0,0 +1,122 @@ |
|||||
|
<template> |
||||
|
<div> |
||||
|
<div class="d-flex flex-row align-items-center p-1 overflow-hidden"> |
||||
|
<div class="m-3 ps-3"> |
||||
|
<div class="cert-icon"> |
||||
|
<font-awesome-icon icon="file" /> |
||||
|
<font-awesome-icon class="award-icon" icon="award" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="m-3"> |
||||
|
<table class="text-start"> |
||||
|
<tbody> |
||||
|
<tr class="my-3"> |
||||
|
<td class="px-3">Subject:</td> |
||||
|
<td>{{ formatSubject(cert.subject) }}</td> |
||||
|
</tr> |
||||
|
<tr class="my-3"> |
||||
|
<td class="px-3">Valid To:</td> |
||||
|
<td><Datetime :value="cert.validTo" /></td> |
||||
|
</tr> |
||||
|
<tr class="my-3"> |
||||
|
<td class="px-3">Days Remaining:</td> |
||||
|
<td>{{ cert.daysRemaining }}</td> |
||||
|
</tr> |
||||
|
<tr class="my-3"> |
||||
|
<td class="px-3">Issuer:</td> |
||||
|
<td>{{ formatSubject(cert.issuer) }}</td> |
||||
|
</tr> |
||||
|
<tr class="my-3"> |
||||
|
<td class="px-3">Fingerprint:</td> |
||||
|
<td>{{ cert.fingerprint }}</td> |
||||
|
</tr> |
||||
|
</tbody> |
||||
|
</table> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="d-flex"> |
||||
|
<font-awesome-icon |
||||
|
v-if="cert.issuerCertificate" |
||||
|
class="m-2 ps-6 link-icon" |
||||
|
icon="link" |
||||
|
/> |
||||
|
</div> |
||||
|
<certificate-info-row |
||||
|
v-if="cert.issuerCertificate" |
||||
|
:cert="cert.issuerCertificate" |
||||
|
/> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import Datetime from "../components/Datetime.vue"; |
||||
|
export default { |
||||
|
name: "CertificateInfoRow", |
||||
|
components: { |
||||
|
Datetime, |
||||
|
}, |
||||
|
props: { |
||||
|
cert: { |
||||
|
type: Object, |
||||
|
required: true, |
||||
|
}, |
||||
|
}, |
||||
|
methods: { |
||||
|
formatSubject(subject) { |
||||
|
if (subject.O && subject.CN && subject.C) { |
||||
|
return `${subject.CN} - ${subject.O} (${subject.C})`; |
||||
|
} else if (subject.O && subject.CN) { |
||||
|
return `${subject.CN} - ${subject.O}`; |
||||
|
} else if (subject.CN) { |
||||
|
return subject.CN; |
||||
|
} else { |
||||
|
return "no info"; |
||||
|
} |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
@import "../assets/vars.scss"; |
||||
|
|
||||
|
table { |
||||
|
overflow: hidden; |
||||
|
} |
||||
|
|
||||
|
.cert-icon { |
||||
|
position: relative; |
||||
|
font-size: 70px; |
||||
|
color: $link-color; |
||||
|
opacity: 0.5; |
||||
|
|
||||
|
.dark & { |
||||
|
color: $dark-font-color; |
||||
|
opacity: 0.3; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.award-icon { |
||||
|
position: absolute; |
||||
|
font-size: 0.5em; |
||||
|
bottom: 20%; |
||||
|
left: 12%; |
||||
|
color: white; |
||||
|
|
||||
|
.dark & { |
||||
|
color: $dark-bg; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.link-icon { |
||||
|
font-size: 20px; |
||||
|
margin-left: 50px !important; |
||||
|
color: $link-color; |
||||
|
opacity: 0.5; |
||||
|
|
||||
|
.dark & { |
||||
|
color: $dark-font-color; |
||||
|
opacity: 0.3; |
||||
|
} |
||||
|
} |
||||
|
</style> |
@ -0,0 +1,122 @@ |
|||||
|
<template> |
||||
|
<div class="input-group"> |
||||
|
<input |
||||
|
:id="id" |
||||
|
ref="input" |
||||
|
v-model="model" |
||||
|
:type="type" |
||||
|
class="form-control" |
||||
|
:placeholder="placeholder" |
||||
|
:autocomplete="autocomplete" |
||||
|
:required="required" |
||||
|
:readonly="readonly" |
||||
|
:disabled="disabled" |
||||
|
> |
||||
|
|
||||
|
<a class="btn btn-outline-primary" @click="copyToClipboard(model)"> |
||||
|
<font-awesome-icon :icon="icon" /> |
||||
|
</a> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
|
||||
|
let timeout; |
||||
|
|
||||
|
export default { |
||||
|
props: { |
||||
|
id: { |
||||
|
type: String, |
||||
|
default: "" |
||||
|
}, |
||||
|
type: { |
||||
|
type: String, |
||||
|
default: "text" |
||||
|
}, |
||||
|
modelValue: { |
||||
|
type: String, |
||||
|
default: "" |
||||
|
}, |
||||
|
placeholder: { |
||||
|
type: String, |
||||
|
default: "" |
||||
|
}, |
||||
|
autocomplete: { |
||||
|
type: String, |
||||
|
default: undefined, |
||||
|
}, |
||||
|
required: { |
||||
|
type: Boolean |
||||
|
}, |
||||
|
readonly: { |
||||
|
type: String, |
||||
|
default: undefined, |
||||
|
}, |
||||
|
disabled: { |
||||
|
type: String, |
||||
|
default: undefined, |
||||
|
}, |
||||
|
}, |
||||
|
data() { |
||||
|
return { |
||||
|
visibility: "password", |
||||
|
icon: "copy", |
||||
|
}; |
||||
|
}, |
||||
|
computed: { |
||||
|
model: { |
||||
|
get() { |
||||
|
return this.modelValue; |
||||
|
}, |
||||
|
set(value) { |
||||
|
this.$emit("update:modelValue", value); |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
created() { |
||||
|
|
||||
|
}, |
||||
|
methods: { |
||||
|
|
||||
|
showInput() { |
||||
|
this.visibility = "text"; |
||||
|
}, |
||||
|
|
||||
|
hideInput() { |
||||
|
this.visibility = "password"; |
||||
|
}, |
||||
|
|
||||
|
copyToClipboard(textToCopy) { |
||||
|
this.icon = "check"; |
||||
|
|
||||
|
clearTimeout(timeout); |
||||
|
timeout = setTimeout(() => { |
||||
|
this.icon = "copy"; |
||||
|
}, 3000); |
||||
|
|
||||
|
// navigator clipboard api needs a secure context (https) |
||||
|
if (navigator.clipboard && window.isSecureContext) { |
||||
|
// navigator clipboard api method' |
||||
|
return navigator.clipboard.writeText(textToCopy); |
||||
|
} else { |
||||
|
// text area method |
||||
|
let textArea = document.createElement("textarea"); |
||||
|
textArea.value = textToCopy; |
||||
|
// make the textarea out of viewport |
||||
|
textArea.style.position = "fixed"; |
||||
|
textArea.style.left = "-999999px"; |
||||
|
textArea.style.top = "-999999px"; |
||||
|
document.body.appendChild(textArea); |
||||
|
textArea.focus(); |
||||
|
textArea.select(); |
||||
|
return new Promise((res, rej) => { |
||||
|
// here the magic happens |
||||
|
document.execCommand("copy") ? res() : rej(); |
||||
|
textArea.remove(); |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
}; |
||||
|
</script> |
@ -0,0 +1,35 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="apprise-url" class="form-label">{{ $t("Apprise URL") }}</label> |
||||
|
<input id="apprise-url" v-model="$parent.notification.appriseURL" type="text" class="form-control" required> |
||||
|
<div class="form-text"> |
||||
|
<p>{{ $t("Example:", ["twilio://AccountSid:AuthToken@FromPhoneNo"]) }}</p> |
||||
|
<i18n-t tag="p" keypath="Read more:"> |
||||
|
<a href="https://github.com/caronc/apprise/wiki#notification-services" target="_blank">https://github.com/caronc/apprise/wiki#notification-services</a> |
||||
|
</i18n-t> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="mb-3"> |
||||
|
<i18n-t tag="p" keypath="Status:"> |
||||
|
<span v-if="appriseInstalled" class="text-primary">{{ $t("appriseInstalled") }}</span> |
||||
|
<i18n-t v-else tag="span" keypath="appriseNotInstalled" class="text-danger"> |
||||
|
<a href="https://github.com/caronc/apprise" target="_blank">{{ $t("Read more") }}</a> |
||||
|
</i18n-t> |
||||
|
</i18n-t> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
data() { |
||||
|
return { |
||||
|
appriseInstalled: false |
||||
|
}; |
||||
|
}, |
||||
|
mounted() { |
||||
|
this.$root.getSocket().emit("checkApprise", (installed) => { |
||||
|
this.appriseInstalled = installed; |
||||
|
}); |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
@ -0,0 +1,19 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="discord-webhook-url" class="form-label">{{ $t("Discord Webhook URL") }}</label> |
||||
|
<input id="discord-webhook-url" v-model="$parent.notification.discordWebhookUrl" type="text" class="form-control" required autocomplete="false"> |
||||
|
<div class="form-text"> |
||||
|
{{ $t("wayToGetDiscordURL") }} |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mb-3"> |
||||
|
<label for="discord-username" class="form-label">{{ $t("Bot Display Name") }}</label> |
||||
|
<input id="discord-username" v-model="$parent.notification.discordUsername" type="text" class="form-control" autocomplete="false" :placeholder="$root.appName"> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mb-3"> |
||||
|
<label for="discord-prefix-message" class="form-label">{{ $t("Prefix Custom Message") }}</label> |
||||
|
<input id="discord-prefix-message" v-model="$parent.notification.discordPrefixMessage" type="text" class="form-control" autocomplete="false" :placeholder="$t('Hello @everyone is...')"> |
||||
|
</div> |
||||
|
</template> |
@ -0,0 +1,32 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="gotify-application-token" class="form-label">{{ $t("Application Token") }}</label> |
||||
|
<HiddenInput id="gotify-application-token" v-model="$parent.notification.gotifyapplicationToken" :required="true" autocomplete="one-time-code"></HiddenInput> |
||||
|
</div> |
||||
|
<div class="mb-3"> |
||||
|
<label for="gotify-server-url" class="form-label">{{ $t("Server URL") }}</label> |
||||
|
<div class="input-group mb-3"> |
||||
|
<input id="gotify-server-url" v-model="$parent.notification.gotifyserverurl" type="text" class="form-control" required> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mb-3"> |
||||
|
<label for="gotify-priority" class="form-label">{{ $t("Priority") }}</label> |
||||
|
<input id="gotify-priority" v-model="$parent.notification.gotifyPriority" type="number" class="form-control" required min="0" max="10" step="1"> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import HiddenInput from "../HiddenInput.vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { |
||||
|
HiddenInput, |
||||
|
}, |
||||
|
mounted() { |
||||
|
if (typeof this.$parent.notification.gotifyPriority === "undefined") { |
||||
|
this.$parent.notification.gotifyPriority = 8; |
||||
|
} |
||||
|
}, |
||||
|
} |
||||
|
</script> |
@ -0,0 +1,29 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="line-channel-access-token" class="form-label">{{ $t("Channel access token") }}</label> |
||||
|
<HiddenInput id="line-channel-access-token" v-model="$parent.notification.lineChannelAccessToken" :required="true" autocomplete="one-time-code"></HiddenInput> |
||||
|
</div> |
||||
|
<i18n-t tag="div" keypath="lineDevConsoleTo" class="form-text"> |
||||
|
<b>{{ $t("Basic Settings") }}</b> |
||||
|
</i18n-t> |
||||
|
<div class="mb-3" style="margin-top: 12px;"> |
||||
|
<label for="line-user-id" class="form-label">User ID</label> |
||||
|
<input id="line-user-id" v-model="$parent.notification.lineUserID" type="text" class="form-control" required> |
||||
|
</div> |
||||
|
<i18n-t tag="div" keypath="lineDevConsoleTo" class="form-text"> |
||||
|
<b>{{ $t("Messaging API") }}</b> |
||||
|
</i18n-t> |
||||
|
<i18n-t tag="div" keypath="wayToGetLineChannelToken" class="form-text" style="margin-top: 8px;"> |
||||
|
<a href="https://developers.line.biz/console/" target="_blank">{{ $t("Line Developers Console") }}</a> |
||||
|
</i18n-t> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import HiddenInput from "../HiddenInput.vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { |
||||
|
HiddenInput, |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
@ -0,0 +1,9 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="lunasea-device" class="form-label">{{ $t("LunaSea Device ID") }}<span style="color: red;"><sup>*</sup></span></label> |
||||
|
<input id="lunasea-device" v-model="$parent.notification.lunaseaDevice" type="text" class="form-control" required> |
||||
|
<div class="form-text"> |
||||
|
<p><span style="color: red;"><sup>*</sup></span>{{ $t("Required") }}</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
@ -0,0 +1,34 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="homeserver-url" class="form-label">Homeserver URL (with http(s):// and optionally port)</label><span style="color: red;"><sup>*</sup></span> |
||||
|
<input id="homeserver-url" v-model="$parent.notification.homeserverUrl" type="text" class="form-control" :required="true"> |
||||
|
</div> |
||||
|
<div class="mb-3"> |
||||
|
<label for="internal-room-id" class="form-label">Internal Room Id</label><span style="color: red;"><sup>*</sup></span> |
||||
|
<input id="internal-room-id" v-model="$parent.notification.internalRoomId" type="text" class="form-control" required="true"> |
||||
|
</div> |
||||
|
<div class="mb-3"> |
||||
|
<label for="access-token" class="form-label">Access Token</label><span style="color: red;"><sup>*</sup></span> |
||||
|
<HiddenInput id="access-token" v-model="$parent.notification.accessToken" :required="true" autocomplete="one-time-code" :maxlength="500"></HiddenInput> |
||||
|
</div> |
||||
|
|
||||
|
<div class="form-text"> |
||||
|
<span style="color: red;"><sup>*</sup></span>Required |
||||
|
<p style="margin-top: 8px;"> |
||||
|
You can find the internal room ID by looking in the advanced section of the room settings in your Matrix client. It should look like !QMdRCpUIfLwsfjxye6:home.server. |
||||
|
</p> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
It is highly recommended you create a new user and do not use your own Matrix user's access token as it will allow full access to your account and all the rooms you joined. Instead, create a new user and only invite it to the room that you want to receive the notification in. You can get the access token by running <code>curl -XPOST -d '{"type": "m.login.password", "identifier": {"user": "botusername", "type": "m.id.user"}, "password": "passwordforuser"}' "https://home.server/_matrix/client/r0/login"</code>. |
||||
|
</p> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import HiddenInput from "../HiddenInput.vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { |
||||
|
HiddenInput, |
||||
|
}, |
||||
|
} |
||||
|
</script> |
@ -0,0 +1,32 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="mattermost-webhook-url" class="form-label">{{ $t("Webhook URL") }}<span style="color:red;"><sup>*</sup></span></label> |
||||
|
<input id="mattermost-webhook-url" v-model="$parent.notification.mattermostWebhookUrl" type="text" class="form-control" required> |
||||
|
<label for="mattermost-username" class="form-label">{{ $t("Username") }}</label> |
||||
|
<input id="mattermost-username" v-model="$parent.notification.mattermostusername" type="text" class="form-control"> |
||||
|
<label for="mattermost-iconurl" class="form-label">{{ $t("Icon URL") }}</label> |
||||
|
<input id="mattermost-iconurl" v-model="$parent.notification.mattermosticonurl" type="text" class="form-control"> |
||||
|
<label for="mattermost-iconemo" class="form-label">{{ $t("Icon Emoji") }}</label> |
||||
|
<input id="mattermost-iconemo" v-model="$parent.notification.mattermosticonemo" type="text" class="form-control"> |
||||
|
<label for="mattermost-channel" class="form-label">{{ $t("Channel Name") }}</label> |
||||
|
<input id="mattermost-channel-name" v-model="$parent.notification.mattermostchannel" type="text" class="form-control"> |
||||
|
<div class="form-text"> |
||||
|
<span style="color:red;"><sup>*</sup></span>{{ $t("Required") }} |
||||
|
<i18n-t tag="p" keypath="aboutWebhooks" style="margin-top: 8px;"> |
||||
|
<a href="https://docs.mattermost.com/developer/webhooks-incoming.html" target="_blank">https://docs.mattermost.com/developer/webhooks-incoming.html</a> |
||||
|
</i18n-t> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("aboutMattermostChannelName") }} |
||||
|
</p> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("aboutKumaURL") }} |
||||
|
</p> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("aboutIconURL") }} |
||||
|
</p> |
||||
|
<i18n-t tag="p" keypath="emojiCheatSheet" style="margin-top: 8px;"> |
||||
|
<a href="https://www.webfx.com/tools/emoji-cheat-sheet/" target="_blank">https://www.webfx.com/tools/emoji-cheat-sheet/</a> |
||||
|
</i18n-t> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
@ -0,0 +1,50 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="octopush-version" class="form-label">Octopush API Version</label> |
||||
|
<select id="octopush-version" v-model="$parent.notification.octopushVersion" class="form-select"> |
||||
|
<option value="2">Octopush (endpoint: api.octopush.com)</option> |
||||
|
<option value="1">Legacy Octopush-DM (endpoint: www.octopush-dm.com)</option> |
||||
|
</select> |
||||
|
<div class="form-text"> |
||||
|
Do you use the legacy version of Octopush (2011-2020) or the new version? |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="mb-3"> |
||||
|
<label for="octopush-key" class="form-label">API KEY</label> |
||||
|
<HiddenInput id="octopush-key" v-model="$parent.notification.octopushAPIKey" :required="true" autocomplete="one-time-code"></HiddenInput> |
||||
|
<label for="octopush-login" class="form-label">API LOGIN</label> |
||||
|
<input id="octopush-login" v-model="$parent.notification.octopushLogin" type="text" class="form-control" required> |
||||
|
</div> |
||||
|
<div class="mb-3"> |
||||
|
<label for="octopush-type-sms" class="form-label">{{ $t("SMS Type") }}</label> |
||||
|
<select id="octopush-type-sms" v-model="$parent.notification.octopushSMSType" class="form-select"> |
||||
|
<option value="sms_premium">{{ $t("octopushTypePremium") }}</option> |
||||
|
<option value="sms_low_cost">{{ $t("octopushTypeLowCost") }}</option> |
||||
|
</select> |
||||
|
<i18n-t tag="div" keypath="Check octopush prices" class="form-text"> |
||||
|
<a href="https://octopush.com/tarifs-sms-international/" target="_blank">https://octopush.com/tarifs-sms-international/</a> |
||||
|
</i18n-t> |
||||
|
</div> |
||||
|
<div class="mb-3"> |
||||
|
<label for="octopush-phone-number" class="form-label">{{ $t("octopushPhoneNumber") }}</label> |
||||
|
<input id="octopush-phone-number" v-model="$parent.notification.octopushPhoneNumber" type="text" class="form-control" required> |
||||
|
</div> |
||||
|
<div class="mb-3"> |
||||
|
<label for="octopush-sender-name" class="form-label">{{ $t("octopushSMSSender") }}</label> |
||||
|
<input id="octopush-sender-name" v-model="$parent.notification.octopushSenderName" type="text" minlength="3" maxlength="11" class="form-control"> |
||||
|
</div> |
||||
|
|
||||
|
<i18n-t tag="p" keypath="More info on:" style="margin-top: 8px;"> |
||||
|
<a href="https://octopush.com/api-sms-documentation/envoi-de-sms/" target="_blank">https://octopush.com/api-sms-documentation/envoi-de-sms/</a> |
||||
|
</i18n-t> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import HiddenInput from "../HiddenInput.vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { |
||||
|
HiddenInput, |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
@ -0,0 +1,20 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="pushbullet-access-token" class="form-label">{{ $t("Access Token") }}</label> |
||||
|
<HiddenInput id="pushbullet-access-token" v-model="$parent.notification.pushbulletAccessToken" :required="true" autocomplete="one-time-code"></HiddenInput> |
||||
|
</div> |
||||
|
|
||||
|
<i18n-t tag="p" keypath="More info on:" style="margin-top: 8px;"> |
||||
|
<a href="https://docs.pushbullet.com" target="_blank">https://docs.pushbullet.com</a> |
||||
|
</i18n-t> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import HiddenInput from "../HiddenInput.vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { |
||||
|
HiddenInput, |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
@ -0,0 +1,67 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="pushover-user" class="form-label">{{ $t("User Key") }}<span style="color: red;"><sup>*</sup></span></label> |
||||
|
<HiddenInput id="pushover-user" v-model="$parent.notification.pushoveruserkey" :required="true" autocomplete="one-time-code"></HiddenInput> |
||||
|
<label for="pushover-app-token" class="form-label">{{ $t("Application Token") }}<span style="color: red;"><sup>*</sup></span></label> |
||||
|
<HiddenInput id="pushover-app-token" v-model="$parent.notification.pushoverapptoken" :required="true" autocomplete="one-time-code"></HiddenInput> |
||||
|
<label for="pushover-device" class="form-label">{{ $t("Device") }}</label> |
||||
|
<input id="pushover-device" v-model="$parent.notification.pushoverdevice" type="text" class="form-control"> |
||||
|
<label for="pushover-device" class="form-label">{{ $t("Message Title") }}</label> |
||||
|
<input id="pushover-title" v-model="$parent.notification.pushovertitle" type="text" class="form-control"> |
||||
|
<label for="pushover-priority" class="form-label">{{ $t("Priority") }}</label> |
||||
|
<select id="pushover-priority" v-model="$parent.notification.pushoverpriority" class="form-select"> |
||||
|
<option>-2</option> |
||||
|
<option>-1</option> |
||||
|
<option>0</option> |
||||
|
<option>1</option> |
||||
|
<option>2</option> |
||||
|
</select> |
||||
|
<label for="pushover-sound" class="form-label">{{ $t("Notification Sound") }}</label> |
||||
|
<select id="pushover-sound" v-model="$parent.notification.pushoversounds" class="form-select"> |
||||
|
<option>pushover</option> |
||||
|
<option>bike</option> |
||||
|
<option>bugle</option> |
||||
|
<option>cashregister</option> |
||||
|
<option>classical</option> |
||||
|
<option>cosmic</option> |
||||
|
<option>falling</option> |
||||
|
<option>gamelan</option> |
||||
|
<option>incoming</option> |
||||
|
<option>intermission</option> |
||||
|
<option>mechanical</option> |
||||
|
<option>pianobar</option> |
||||
|
<option>siren</option> |
||||
|
<option>spacealarm</option> |
||||
|
<option>tugboat</option> |
||||
|
<option>alien</option> |
||||
|
<option>climb</option> |
||||
|
<option>persistent</option> |
||||
|
<option>echo</option> |
||||
|
<option>updown</option> |
||||
|
<option>vibrate</option> |
||||
|
<option>none</option> |
||||
|
</select> |
||||
|
<div class="form-text"> |
||||
|
<span style="color: red;"><sup>*</sup></span>{{ $t("Required") }} |
||||
|
<i18n-t tag="p" keypath="More info on:" style="margin-top: 8px;"> |
||||
|
<a href="https://pushover.net/api" target="_blank">https://pushover.net/api</a> |
||||
|
</i18n-t> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("pushoverDesc1") }} |
||||
|
</p> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("pushoverDesc2") }} |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import HiddenInput from "../HiddenInput.vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { |
||||
|
HiddenInput, |
||||
|
}, |
||||
|
} |
||||
|
</script> |
@ -0,0 +1,26 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="pushy-app-token" class="form-label">API_KEY</label> |
||||
|
<HiddenInput id="pushy-app-token" v-model="$parent.notification.pushyAPIKey" :required="true" autocomplete="one-time-code"></HiddenInput> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mb-3"> |
||||
|
<label for="pushy-user-key" class="form-label">USER_TOKEN</label> |
||||
|
<div class="input-group mb-3"> |
||||
|
<HiddenInput id="pushy-user-key" v-model="$parent.notification.pushyToken" :required="true" autocomplete="one-time-code"></HiddenInput> |
||||
|
</div> |
||||
|
</div> |
||||
|
<i18n-t tag="p" keypath="More info on:" style="margin-top: 8px;"> |
||||
|
<a href="https://pushy.me/docs/api/send-notifications" target="_blank">https://pushy.me/docs/api/send-notifications</a> |
||||
|
</i18n-t> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import HiddenInput from "../HiddenInput.vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { |
||||
|
HiddenInput, |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
@ -0,0 +1,27 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="rocket-webhook-url" class="form-label">{{ $t("Webhook URL") }}<span style="color: red;"><sup>*</sup></span></label> |
||||
|
<input id="rocket-webhook-url" v-model="$parent.notification.rocketwebhookURL" type="text" class="form-control" required> |
||||
|
<label for="rocket-username" class="form-label">{{ $t("Username") }}</label> |
||||
|
<input id="rocket-username" v-model="$parent.notification.rocketusername" type="text" class="form-control"> |
||||
|
<label for="rocket-iconemo" class="form-label">{{ $t("Icon Emoji") }}</label> |
||||
|
<input id="rocket-iconemo" v-model="$parent.notification.rocketiconemo" type="text" class="form-control"> |
||||
|
<label for="rocket-channel" class="form-label">{{ $t("Channel Name") }}</label> |
||||
|
<input id="rocket-channel-name" v-model="$parent.notification.rocketchannel" type="text" class="form-control"> |
||||
|
<div class="form-text"> |
||||
|
<span style="color: red;"><sup>*</sup></span>{{ $t("Required") }} |
||||
|
<i18n-t tag="p" keypath="aboutWebhooks" style="margin-top: 8px;"> |
||||
|
<a href="https://docs.rocket.chat/guides/administration/administration/integrations" target="_blank">https://api.slack.com/messaging/webhooks</a> |
||||
|
</i18n-t> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("aboutChannelName", [$t("rocket.chat")]) }} |
||||
|
</p> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("aboutKumaURL") }} |
||||
|
</p> |
||||
|
<i18n-t tag="p" keypath="emojiCheatSheet" style="margin-top: 8px;"> |
||||
|
<a href="https://www.webfx.com/tools/emoji-cheat-sheet/" target="_blank">https://www.webfx.com/tools/emoji-cheat-sheet/</a> |
||||
|
</i18n-t> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
@ -0,0 +1,34 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="signal-url" class="form-label">{{ $t("Post URL") }}</label> |
||||
|
<input id="signal-url" v-model="$parent.notification.signalURL" type="url" pattern="https?://.+" class="form-control" required> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mb-3"> |
||||
|
<label for="signal-number" class="form-label">{{ $t("Number") }}</label> |
||||
|
<input id="signal-number" v-model="$parent.notification.signalNumber" type="text" class="form-control" required> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mb-3"> |
||||
|
<label for="signal-recipients" class="form-label">{{ $t("Recipients") }}</label> |
||||
|
<input id="signal-recipients" v-model="$parent.notification.signalRecipients" type="text" class="form-control" required> |
||||
|
|
||||
|
<div class="form-text"> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("needSignalAPI") }} |
||||
|
</p> |
||||
|
|
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("wayToCheckSignalURL") }} |
||||
|
</p> |
||||
|
|
||||
|
<p style="margin-top: 8px;"> |
||||
|
<a href="https://github.com/bbernhard/signal-cli-rest-api" target="_blank">https://github.com/bbernhard/signal-cli-rest-api</a> |
||||
|
</p> |
||||
|
|
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("signalImportant") }} |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
@ -0,0 +1,28 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="slack-webhook-url" class="form-label">{{ $t("Webhook URL") }}<span style="color: red;"><sup>*</sup></span></label> |
||||
|
<input id="slack-webhook-url" v-model="$parent.notification.slackwebhookURL" type="text" class="form-control" required> |
||||
|
<label for="slack-username" class="form-label">{{ $t("Username") }}</label> |
||||
|
<input id="slack-username" v-model="$parent.notification.slackusername" type="text" class="form-control"> |
||||
|
<label for="slack-iconemo" class="form-label">{{ $t("Icon Emoji") }}</label> |
||||
|
<input id="slack-iconemo" v-model="$parent.notification.slackiconemo" type="text" class="form-control"> |
||||
|
<label for="slack-channel" class="form-label">{{ $t("Channel Name") }}</label> |
||||
|
<input id="slack-channel-name" v-model="$parent.notification.slackchannel" type="text" class="form-control"> |
||||
|
|
||||
|
<div class="form-text"> |
||||
|
<span style="color: red;"><sup>*</sup></span>{{ $t("Required") }} |
||||
|
<i18n-t tag="p" keypath="aboutWebhooks" style="margin-top: 8px;"> |
||||
|
<a href="https://api.slack.com/messaging/webhooks" target="_blank">https://api.slack.com/messaging/webhooks</a> |
||||
|
</i18n-t> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("aboutChannelName", [$t("slack")]) }} |
||||
|
</p> |
||||
|
<p style="margin-top: 8px;"> |
||||
|
{{ $t("aboutKumaURL") }} |
||||
|
</p> |
||||
|
<i18n-t tag="p" keypath="emojiCheatSheet" style="margin-top: 8px;"> |
||||
|
<a href="https://www.webfx.com/tools/emoji-cheat-sheet/" target="_blank">https://www.webfx.com/tools/emoji-cheat-sheet/</a> |
||||
|
</i18n-t> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
@ -0,0 +1,28 @@ |
|||||
|
<template> |
||||
|
<div class="mb-3"> |
||||
|
<label for="webhook-url" class="form-label">{{ $t("Post URL") }}</label> |
||||
|
<input id="webhook-url" v-model="$parent.notification.webhookURL" type="url" pattern="https?://.+" class="form-control" required> |
||||
|
</div> |
||||
|
|
||||
|
<div class="mb-3"> |
||||
|
<label for="webhook-content-type" class="form-label">{{ $t("Content Type") }}</label> |
||||
|
<select id="webhook-content-type" v-model="$parent.notification.webhookContentType" class="form-select" required> |
||||
|
<option value="json"> |
||||
|
application/json |
||||
|
</option> |
||||
|
<option value="form-data"> |
||||
|
multipart/form-data |
||||
|
</option> |
||||
|
</select> |
||||
|
|
||||
|
<div class="form-text"> |
||||
|
<p>"application/json" is good for any modern http servers such as express.js</p> |
||||
|
<i18n-t tag="p" keypath="webhookFormDataDesc"> |
||||
|
<template #multipart>"multipart/form-data"</template> |
||||
|
<template #decodeFunction> |
||||
|
<strong>json_decode($_POST['data'])</strong> |
||||
|
</template> |
||||
|
</i18n-t> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
@ -0,0 +1,46 @@ |
|||||
|
import STMP from "./SMTP.vue" |
||||
|
import Telegram from "./Telegram.vue"; |
||||
|
import Discord from "./Discord.vue"; |
||||
|
import Webhook from "./Webhook.vue"; |
||||
|
import Signal from "./Signal.vue"; |
||||
|
import Gotify from "./Gotify.vue"; |
||||
|
import Slack from "./Slack.vue"; |
||||
|
import RocketChat from "./RocketChat.vue"; |
||||
|
import Teams from "./Teams.vue"; |
||||
|
import Pushover from "./Pushover.vue"; |
||||
|
import Pushy from "./Pushy.vue"; |
||||
|
import Octopush from "./Octopush.vue"; |
||||
|
import LunaSea from "./LunaSea.vue"; |
||||
|
import Apprise from "./Apprise.vue"; |
||||
|
import Pushbullet from "./Pushbullet.vue"; |
||||
|
import Line from "./Line.vue"; |
||||
|
import Mattermost from "./Mattermost.vue"; |
||||
|
import Matrix from "./Matrix.vue"; |
||||
|
|
||||
|
/** |
||||
|
* Manage all notification form. |
||||
|
* |
||||
|
* @type { Record<string, any> } |
||||
|
*/ |
||||
|
const NotificationFormList = { |
||||
|
"telegram": Telegram, |
||||
|
"webhook": Webhook, |
||||
|
"smtp": STMP, |
||||
|
"discord": Discord, |
||||
|
"teams": Teams, |
||||
|
"signal": Signal, |
||||
|
"gotify": Gotify, |
||||
|
"slack": Slack, |
||||
|
"rocket.chat": RocketChat, |
||||
|
"pushover": Pushover, |
||||
|
"pushy": Pushy, |
||||
|
"octopush": Octopush, |
||||
|
"lunasea": LunaSea, |
||||
|
"apprise": Apprise, |
||||
|
"pushbullet": Pushbullet, |
||||
|
"line": Line, |
||||
|
"mattermost": Mattermost, |
||||
|
"matrix": Matrix, |
||||
|
} |
||||
|
|
||||
|
export default NotificationFormList |
@ -0,0 +1,199 @@ |
|||||
|
export default { |
||||
|
languageName: "Български", |
||||
|
checkEverySecond: "Ще се извършва на всеки {0} секунди.", |
||||
|
retryCheckEverySecond: "Повторен опит на всеки {0} секунди.", |
||||
|
retriesDescription: "Максимакен брой опити преди услугата да бъде маркирана като недостъпна и да бъде изпратено известие", |
||||
|
ignoreTLSError: "Игнорирай TLS/SSL грешки за HTTPS уебсайтове", |
||||
|
upsideDownModeDescription: "Обърни статуса от достъпен на недостъпен. Ако услугата е достъпна се вижда НЕДОСТЪПНА.", |
||||
|
maxRedirectDescription: "Максимален брой пренасочвания, които да бъдат следвани. Въведете 0 за да изключите пренасочване.", |
||||
|
acceptedStatusCodesDescription: "Изберете статус кодове, които се считат за успешен отговор.", |
||||
|
passwordNotMatchMsg: "Повторената парола не съвпада.", |
||||
|
notificationDescription: "Моля, задайте известието към монитор(и), за да функционира.", |
||||
|
keywordDescription: "Търси ключова дума в чист html или JSON отговор - чувствителна е към регистъра", |
||||
|
pauseDashboardHome: "Пауза", |
||||
|
deleteMonitorMsg: "Наистина ли желаете да изтриете този монитор?", |
||||
|
deleteNotificationMsg: "Наистина ли желаете да изтриете това известяване за всички монитори?", |
||||
|
resoverserverDescription: "Cloudflare е сървърът по подразбиране, но можете да го промените по всяко време.", |
||||
|
rrtypeDescription: "Изберете ресурсния запис, който желаете да наблюдавате", |
||||
|
pauseMonitorMsg: "Наистина ли желаете да поставите в режим пауза?", |
||||
|
enableDefaultNotificationDescription: "За всеки нов монитор това известяване ще бъде активирано по подразбиране. Можете да го изключите за всеки отделен монитор.", |
||||
|
clearEventsMsg: "Наистина ли желаете да изтриете всички събития за този монитор?", |
||||
|
clearHeartbeatsMsg: "Наистина ли желаете да изтриете всички записи за честотни проверки на този монитор?", |
||||
|
confirmClearStatisticsMsg: "Наистина ли желаете да изтриете всички статистически данни?", |
||||
|
importHandleDescription: "Изберете 'Пропусни съществуващите', ако желаете да пропуснете всеки монитор или известяване със същото име. 'Презапис' ще изтрие всеки съществуващ монитор и известяване.", |
||||
|
confirmImportMsg: "Сигурни ли сте, че желаете импортирането на архива? Моля, уверете се, че сте избрали правилната опция за импортиране.", |
||||
|
twoFAVerifyLabel: "Моля, въведете вашия токен код, за да проверите дали 2FA работи", |
||||
|
tokenValidSettingsMsg: "Токен кодът е валиден! Вече можете да запазите настройките за 2FA.", |
||||
|
confirmEnableTwoFAMsg: "Сигурни ли сте, че желаете да активирате 2FA?", |
||||
|
confirmDisableTwoFAMsg: "Сигурни ли сте, че желаете да изключите 2FA?", |
||||
|
Settings: "Настройки", |
||||
|
Dashboard: "Табло", |
||||
|
"New Update": "Нова актуализация", |
||||
|
Language: "Език", |
||||
|
Appearance: "Изглед", |
||||
|
Theme: "Тема", |
||||
|
General: "Общи", |
||||
|
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: "Текущ", |
||||
|
Uptime: "Достъпност", |
||||
|
"Cert Exp.": "Вал. сертификат", |
||||
|
days: "дни", |
||||
|
day: "ден", |
||||
|
"-day": "-денa", |
||||
|
hour: "час", |
||||
|
"-hour": "-часa", |
||||
|
Response: "Отговор", |
||||
|
Ping: "Пинг", |
||||
|
"Monitor Type": "Монитор тип", |
||||
|
Keyword: "Ключова дума", |
||||
|
"Friendly Name": "Псевдоним", |
||||
|
URL: "URL Адрес", |
||||
|
Hostname: "Име на хост", |
||||
|
Port: "Порт", |
||||
|
"Heartbeat Interval": "Честота на проверка", |
||||
|
Retries: "Повторни опити", |
||||
|
"Heartbeat Retry Interval": "Честота на повторните опити", |
||||
|
Advanced: "Разширени", |
||||
|
"Upside Down Mode": "Обърнат режим", |
||||
|
"Max. Redirects": "Макс. брой пренасочвания", |
||||
|
"Accepted Status Codes": "Допустими статус кодове", |
||||
|
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": "Включи удостоверяване", |
||||
|
Logout: "Изход от профила", |
||||
|
Leave: "Отказ", |
||||
|
"I understand, please disable": "Разбирам. Моля, изключи", |
||||
|
Confirm: "Потвърдете", |
||||
|
Yes: "Да", |
||||
|
No: "Не", |
||||
|
Username: "Потребител", |
||||
|
Password: "Парола", |
||||
|
"Remember me": "Запомни ме", |
||||
|
Login: "Вход", |
||||
|
"No Monitors, please": "Моля, без монитори", |
||||
|
"add one": "добави един", |
||||
|
"Notification Type": "Тип известяване", |
||||
|
Email: "Имейл", |
||||
|
Test: "Тест", |
||||
|
"Certificate Info": "Информация за сертификат", |
||||
|
"Resolver Server": "Преобразуващ (DNS) сървър", |
||||
|
"Resource Record Type": "Тип запис", |
||||
|
"Last Result": "Последен резултат", |
||||
|
"Create your admin account": "Създаване на администриращ акаунт", |
||||
|
"Repeat Password": "Повторете паролата", |
||||
|
"Import Backup": "Импорт на архив", |
||||
|
"Export Backup": "Експорт на архив", |
||||
|
Export: "Експорт", |
||||
|
Import: "Импорт", |
||||
|
respTime: "Време за отговор (ms)", |
||||
|
notAvailableShort: "Няма", |
||||
|
"Default enabled": "Включен по подразбиране", |
||||
|
"Apply on all existing monitors": "Приложи върху всички съществуващи монитори", |
||||
|
Create: "Създай", |
||||
|
"Clear Data": "Изтрий данни", |
||||
|
Events: "Събития", |
||||
|
Heartbeats: "Проверки", |
||||
|
"Auto Get": "Автоматияно получаване", |
||||
|
backupDescription: "Можете да архивирате всички монитори и всички известия в JSON файл.", |
||||
|
backupDescription2: "PS: Данни за история и събития не са включени.", |
||||
|
backupDescription3: "Чувствителни данни, като токен кодове за известяване, се съдържат в експортирания файл. Моля, бъдете внимателни с неговото съхранение.", |
||||
|
alertNoFile: "Моля, изберете файл за импортиране.", |
||||
|
alertWrongFileType: "Моля, изберете JSON файл.", |
||||
|
"Clear all statistics": "Изтрий цялата статистика", |
||||
|
"Skip existing": "Пропусни съществуващите", |
||||
|
Overwrite: "Презапиши", |
||||
|
Options: "Опции", |
||||
|
"Keep both": "Запази двете", |
||||
|
"Verify Token": "Проверка на токен код", |
||||
|
"Setup 2FA": "Настройка 2FA", |
||||
|
"Enable 2FA": "Включи 2FA", |
||||
|
"Disable 2FA": "Изключи 2FA", |
||||
|
"2FA Settings": "Настройки 2FA", |
||||
|
"Two Factor Authentication": "Двуфакторно удостоверяване", |
||||
|
Active: "Активно", |
||||
|
Inactive: "Неактивно", |
||||
|
Token: "Токен код", |
||||
|
"Show URI": "Покажи URI", |
||||
|
Tags: "Етикети", |
||||
|
"Add New below or Select...": "Добавете нов по-долу или изберете...", |
||||
|
"Tag with this name already exist.": "Етикет с това име вече съществува.", |
||||
|
"Tag with this value already exist.": "Етикет с тази стойност вече съществува.", |
||||
|
color: "цвят", |
||||
|
"value (optional)": "стойност (по желание)", |
||||
|
Gray: "Сиво", |
||||
|
Red: "Червено", |
||||
|
Orange: "Оранжево", |
||||
|
Green: "Зелено", |
||||
|
Blue: "Синьо", |
||||
|
Indigo: "Индиго", |
||||
|
Purple: "Лилаво", |
||||
|
Pink: "Розово", |
||||
|
"Search...": "Търси...", |
||||
|
"Avg. Ping": "Ср. пинг", |
||||
|
"Avg. Response": "Ср. отговор", |
||||
|
"Entry Page": "Основна страница", |
||||
|
statusPageNothing: "Все още няма нищо тук. Моля, добавете група или монитор.", |
||||
|
"No Services": "Няма Услуги", |
||||
|
"All Systems Operational": "Всички услуги са достъпни", |
||||
|
"Partially Degraded Service": "Част от услугите са недостъпни", |
||||
|
"Degraded Service": "Всички услуги са недостъпни", |
||||
|
"Add Group": "Добави група", |
||||
|
"Add a monitor": "Добави монитор", |
||||
|
"Edit Status Page": "Редактиране Статус страница", |
||||
|
"Go to Dashboard": "Към Таблото", |
||||
|
telegram: "Telegram", |
||||
|
webhook: "Webhook", |
||||
|
smtp: "Email (SMTP)", |
||||
|
discord: "Discord", |
||||
|
teams: "Microsoft Teams", |
||||
|
signal: "Signal", |
||||
|
gotify: "Gotify", |
||||
|
slack: "Slack", |
||||
|
"rocket.chat": "Rocket.chat", |
||||
|
pushover: "Pushover", |
||||
|
pushy: "Pushy", |
||||
|
octopush: "Octopush", |
||||
|
lunasea: "LunaSea", |
||||
|
apprise: "Apprise (Поддържа 50+ услуги за инвестяване)", |
||||
|
pushbullet: "Pushbullet", |
||||
|
line: "Line Messenger", |
||||
|
mattermost: "Mattermost", |
||||
|
"Status Page": "Статус страница", |
||||
|
}; |
@ -0,0 +1,207 @@ |
|||||
|
export default { |
||||
|
languageName: "Farsi", |
||||
|
checkEverySecond: "بررسی هر {0} ثانیه.", |
||||
|
retryCheckEverySecond: "تکرار مجدد هر {0} ثانیه.", |
||||
|
retriesDescription: "حداکثر تعداد تکرار پیش از علامت گذاری وبسایت بعنوان خارج از دسترس و ارسال اطلاعرسانی.", |
||||
|
ignoreTLSError: "بیخیال ارور TLS/SSL برای سایتهای HTTPS", |
||||
|
upsideDownModeDescription: "نتیجه وضعیت را برعکس کن، مثلا اگر سرویس در دسترس بود فرض کن که سرویس پایین است!", |
||||
|
maxRedirectDescription: "حداکثر تعداد ریدایرکتی که سرویس پشتیبانی کند. برای اینکه ریدایرکتها پشتیبانی نشوند، عدد 0 را وارد کنید.", |
||||
|
acceptedStatusCodesDescription: "لطفا HTTP Status Code هایی که میخواهید به عنوان پاسخ موفقیت آمیز در نظر گرفته شود را انتخاب کنید.", |
||||
|
passwordNotMatchMsg: "تکرار رمز عبور مطابقت ندارد!", |
||||
|
notificationDescription: "برای اینکه سرویس اطلاعرسانی کار کند، آنرا به یکی از مانیتورها متصل کنید.", |
||||
|
keywordDescription: "در نتیجه درخواست (اهمیتی ندارد پاسخ JSON است یا HTML) بدنبال این کلمه بگرد (حساس به کوچک/بزرگ بودن حروف).", |
||||
|
pauseDashboardHome: "متوقف شده", |
||||
|
deleteMonitorMsg: "آیا از حذف این مانیتور مطمئن هستید؟", |
||||
|
deleteNotificationMsg: "آیا مطمئن هستید که میخواهید این سرویس اطلاعرسانی را برای تمامی مانیتورها حذف کنید؟", |
||||
|
resoverserverDescription: "سرویس CloudFlare به عنوان سرور پیشفرض استفاده میشود، شما میتوانید آنرا به هر سرور دیگری بعدا تغییر دهید.", |
||||
|
rrtypeDescription: "لطفا نوع Resource Record را انتخاب کنید.", |
||||
|
pauseMonitorMsg: "آیا مطمئن هستید که میخواهید این مانیتور را متوقف کنید ؟", |
||||
|
enableDefaultNotificationDescription: "برای هر مانیتور جدید، این سرویس اطلاعرسانی به صورت پیشفرض فعال خواهد شد. البته که شما میتوانید به صورت دستی آنرا برای هر مانیتور به صورت جداگانه غیر فعال کنید.", |
||||
|
clearEventsMsg: "آیا از اینکه تمامی تاریخچه رویدادهای این مانیتور حذف شود مطمئن هستید؟", |
||||
|
clearHeartbeatsMsg: "آیا از اینکه تاریخچه تمامی Heartbeat های این مانیتور حذف شود مطمئن هستید؟ ", |
||||
|
confirmClearStatisticsMsg: "آیا از حذف تمامی آمار و ارقام مطمئن هستید؟", |
||||
|
importHandleDescription: " اگر که میخواهید بیخیال مانیتورها و یا سرویسهای اطلاعرسانی که با نام مشابه از قبل موجود هستند شوید، گزینه 'بیخیال موارد ..' را انتخاب کنید. توجه کنید که گزینه 'بازنویسی' تمامی موارد موجود با نام مشابه را از بین خواهد برد.", |
||||
|
confirmImportMsg: "آیا از بازگردانی بک آپ مطمئن هستید؟ لطفا از اینکه نوع بازگردانی درستی را انتخاب کردهاید اطمینان حاصل کنید!", |
||||
|
twoFAVerifyLabel: "لطفا جهت اطمینان از عملکرد احراز هویت دو مرحلهای توکن خود را وارد کنید!", |
||||
|
tokenValidSettingsMsg: "توکن شما معتبر است، هم اکنون میتوانید احراز هویت دو مرحلهای را فعال کنید!", |
||||
|
confirmEnableTwoFAMsg: " آیا از فعال سازی احراز هویت دو مرحلهای مطمئن هستید؟", |
||||
|
confirmDisableTwoFAMsg: "آیا از غیرفعال سازی احراز هویت دومرحلهای مطمئن هستید؟", |
||||
|
Settings: "تنظیمات", |
||||
|
Dashboard: "پیشخوان", |
||||
|
"New Update": "بروزرسانی جدید!", |
||||
|
Language: "زبان", |
||||
|
Appearance: "ظاهر", |
||||
|
Theme: "پوسته", |
||||
|
General: "عمومی", |
||||
|
Version: "نسخه", |
||||
|
"Check Update On GitHub": "بررسی بروزرسانی بر روی گیتهاب", |
||||
|
List: "لیست", |
||||
|
Add: "اضافه", |
||||
|
"Add New Monitor": "اضافه کردن مانیتور جدید", |
||||
|
"Quick Stats": "خلاصه وضعیت", |
||||
|
Up: "فعال", |
||||
|
Down: "غیرفعال", |
||||
|
Pending: "در انتظار تایید", |
||||
|
Unknown: "نامشخص", |
||||
|
Pause: "توقف", |
||||
|
Name: "نام", |
||||
|
Status: "وضعیت", |
||||
|
DateTime: "تاریخ و زمان", |
||||
|
Message: "پیام", |
||||
|
"No important events": "رخداد جدیدی موجود نیست.", |
||||
|
Resume: "ادامه", |
||||
|
Edit: "ویرایش", |
||||
|
Delete: "حذف", |
||||
|
Current: "فعلی", |
||||
|
Uptime: "آپتایم", |
||||
|
"Cert Exp.": "تاریخ انقضای SSL", |
||||
|
days: "روز", |
||||
|
day: "روز", |
||||
|
"-day": "-روز", |
||||
|
hour: "ساعت", |
||||
|
"-hour": "-ساعت", |
||||
|
Response: "پاسخ", |
||||
|
Ping: "Ping", |
||||
|
"Monitor Type": "نوع مانیتور", |
||||
|
Keyword: "کلمه کلیدی", |
||||
|
"Friendly Name": "عنوان", |
||||
|
URL: "آدرس (URL)", |
||||
|
Hostname: "نام میزبان (Hostname)", |
||||
|
Port: "پورت", |
||||
|
"Heartbeat Interval": "فاصله هر Heartbeat", |
||||
|
Retries: "تلاش مجدد", |
||||
|
"Heartbeat Retry Interval": "فاصله تلاش مجدد برایHeartbeat", |
||||
|
Advanced: "پیشرفته", |
||||
|
"Upside Down Mode": "حالت بر عکس", |
||||
|
"Max. Redirects": "حداکثر تعداد ریدایرکت", |
||||
|
"Accepted Status Codes": "وضعیتهای (Status Code) های قابل قبول", |
||||
|
Save: "ذخیره", |
||||
|
Notifications: "اطلاعرسانیها", |
||||
|
"Not available, please setup.": "هیچ موردی موجود نیست، اولین مورد را راه اندازی کنید!", |
||||
|
"Setup Notification": "راه اندازی اطلاعرسانی", |
||||
|
Light: "روشن", |
||||
|
Dark: "تاریک", |
||||
|
Auto: "اتوماتیک", |
||||
|
"Theme - Heartbeat Bar": "ظاهر نوار Heartbeat", |
||||
|
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": "فعال سازی تایید هویت", |
||||
|
Logout: "خروج", |
||||
|
Leave: "منصرف شدم", |
||||
|
"I understand, please disable": "متوجه هستم، لطفا غیرفعال کنید!", |
||||
|
Confirm: "تایید", |
||||
|
Yes: "بلی", |
||||
|
No: "خیر", |
||||
|
Username: "نام کاربری", |
||||
|
Password: "کلمه عبور", |
||||
|
"Remember me": "مراب هب خاطر بسپار", |
||||
|
Login: "ورود", |
||||
|
"No Monitors, please": "هیچ مانیتوری موجود نیست، لطفا", |
||||
|
"add one": "یک مورد اضافه کنید", |
||||
|
"Notification Type": "نوع اطلاعرسانی", |
||||
|
Email: "ایمیل", |
||||
|
Test: "تست", |
||||
|
"Certificate Info": "اطلاعات سرتیفیکت", |
||||
|
"Resolver Server": "سرور Resolver", |
||||
|
"Resource Record Type": "نوع رکورد (Resource Record Type)", |
||||
|
"Last Result": "آخرین نتیجه", |
||||
|
"Create your admin account": "ایجاد حساب کاربری مدیر", |
||||
|
"Repeat Password": "تکرار رمز عبور", |
||||
|
"Import Backup": "بازگردانی فایل پشتیبان", |
||||
|
"Export Backup": "ذخیره فایل پشتیبان", |
||||
|
Export: "استخراج اطلاعات", |
||||
|
Import: "ورود اطلاعات", |
||||
|
respTime: "زمان پاسخگویی (میلیثانیه)", |
||||
|
notAvailableShort: "ناموجود", |
||||
|
"Default enabled": "به صورت پیشفرض فعال باشد.", |
||||
|
"Apply on all existing monitors": "بر روی تمامی مانیتورهای فعلی اعمال شود.", |
||||
|
Create: "ایجاد", |
||||
|
"Clear Data": "پاکسازی دادهها", |
||||
|
Events: "رخدادها", |
||||
|
Heartbeats: "Heartbeats", |
||||
|
"Auto Get": "Auto Get", |
||||
|
backupDescription: "شما میتوانید تمامی مانیتورها و تنظیمات اطلاعرسانیها را در قالب یه فایل JSON دریافت کنید.", |
||||
|
backupDescription2: "البته تاریخچه رخدادها دراین فایل قرار نخواهند داشت.", |
||||
|
backupDescription3: "توجه داشته باشید که تمامی اطلاعات حساس شما مانند توکنها نیز در این فایل وجود خواهد داشت ، پس از این فایل به خوبی مراقبت کنید.", |
||||
|
alertNoFile: "لطفا یک فایل برای «ورود اطلاعات» انتخاب کنید..", |
||||
|
alertWrongFileType: "یک فایل JSON انتخاب کنید.", |
||||
|
"Clear all statistics": "پاکسازی تمامی آمار و ارقام", |
||||
|
"Skip existing": "بیخیال مواردی که از قبل موجود است", |
||||
|
Overwrite: "بازنویسی", |
||||
|
Options: "تنظیمات", |
||||
|
"Keep both": "هر دو را نگه دار", |
||||
|
"Verify Token": "تایید توکن", |
||||
|
"Setup 2FA": "تنظیمات احراز دو مرحلهای", |
||||
|
"Enable 2FA": "فعال سازی احراز 2 مرحلهای", |
||||
|
"Disable 2FA": "غیر فعال کردن احراز 2 مرحلهای", |
||||
|
"2FA Settings": "تنظیمات احراز 2 مرحلهای", |
||||
|
"Two Factor Authentication": "احراز هویت دومرحلهای", |
||||
|
Active: "فعال", |
||||
|
Inactive: "غیرفعال", |
||||
|
Token: "توکن", |
||||
|
"Show URI": "نمایش آدرس (URI) ", |
||||
|
Tags: "برچسبها", |
||||
|
"Add New below or Select...": "یک مورد جدید اضافه کنید و یا از لیست انتخاب کنید...", |
||||
|
"Tag with this name already exist.": "یک برچسب با این «نام» از قبل وجود دارد", |
||||
|
"Tag with this value already exist.": "یک برچسب با این «مقدار» از قبل وجود دارد.", |
||||
|
color: "رنگ", |
||||
|
"value (optional)": "مقدار (اختیاری)", |
||||
|
Gray: "خاکستری", |
||||
|
Red: "قرمز", |
||||
|
Orange: "نارنجی", |
||||
|
Green: "سبز", |
||||
|
Blue: "آبی", |
||||
|
Indigo: "نیلی", |
||||
|
Purple: "بنفش", |
||||
|
Pink: "صورتی", |
||||
|
"Search...": "جستجو...", |
||||
|
"Avg. Ping": "متوسط پینگ", |
||||
|
"Avg. Response": "متوسط زمان پاسخ", |
||||
|
"Entry Page": "صفحه ورودی", |
||||
|
statusPageNothing: "چیزی اینجا نیست، لطفا یک گروه و یا یک مانیتور اضافه کنید!", |
||||
|
"No Services": "هیچ سرویسی موجود نیست", |
||||
|
"All Systems Operational": "تمامی سیستمها عملیاتی هستند!", |
||||
|
"Partially Degraded Service": "افت نسبی کیفیت سرویس", |
||||
|
"Degraded Service": "افت کامل کیفیت سرویس", |
||||
|
"Add Group": "اضافه کردن گروه", |
||||
|
"Add a monitor": "اضافه کردن مانیتور", |
||||
|
"Edit Status Page": "ویرایش صفحه وضعیت", |
||||
|
"Status Page": "صفحه وضعیت", |
||||
|
"Go to Dashboard": "رفتن به پیشخوان", |
||||
|
"Uptime Kuma": "آپتایم کوما", |
||||
|
records: "مورد", |
||||
|
"One record": "یک مورد", |
||||
|
"Showing {from} to {to} of {count} records": "نمایش از {from} تا {to} از {count} مورد", |
||||
|
First: "اولین", |
||||
|
Last: "آخرین", |
||||
|
Info: "اطلاعات", |
||||
|
"Powered by": "نیرو گرفته از", |
||||
|
telegram: "Telegram", |
||||
|
webhook: "Webhook", |
||||
|
smtp: "Email (SMTP)", |
||||
|
discord: "Discord", |
||||
|
teams: "Microsoft Teams", |
||||
|
signal: "Signal", |
||||
|
gotify: "Gotify", |
||||
|
slack: "Slack", |
||||
|
"rocket.chat": "Rocket.chat", |
||||
|
pushover: "Pushover", |
||||
|
pushy: "Pushy", |
||||
|
octopush: "Octopush", |
||||
|
lunasea: "LunaSea", |
||||
|
apprise: "Apprise (Support 50+ Notification services)", |
||||
|
pushbullet: "Pushbullet", |
||||
|
line: "Line Messenger", |
||||
|
mattermost: "Mattermost", |
||||
|
}; |
@ -0,0 +1,199 @@ |
|||||
|
export default { |
||||
|
languageName: "Magyar", |
||||
|
checkEverySecond: "Ellenőrzés {0} másodpercenként", |
||||
|
retryCheckEverySecond: "Újrapróbál {0} másodpercenként.", |
||||
|
retriesDescription: "Maximális próbálkozás mielőtt a szolgáltatás leállt jelőlést kap és értesítés kerül kiküldésre", |
||||
|
ignoreTLSError: "TLS/SSL hibák figyelnen kívül hagyása HTTPS weboldalaknál", |
||||
|
upsideDownModeDescription: "Az állapot megfordítása. Ha a szolgáltatás elérhető, akkor lesz leállt állapotú.", |
||||
|
maxRedirectDescription: "Az átirányítások maximális száma. állítsa 0-ra az átirányítás tiltásához.", |
||||
|
acceptedStatusCodesDescription: "Válassza ki az állapot kódokat amelyek sikeres válasznak fognak számítani.", |
||||
|
passwordNotMatchMsg: "A megismételt jelszó nem egyezik.", |
||||
|
notificationDescription: "Kérem, rendeljen egy értesítést a figyeléshez, hogy működjön.", |
||||
|
keywordDescription: "Kulcsszó keresése a html-ben vagy a JSON válaszban. (kis-nagybetű érzékeny)", |
||||
|
pauseDashboardHome: "Szünetel", |
||||
|
deleteMonitorMsg: "Biztos, hogy törölni akarja ezt a figyelőt?", |
||||
|
deleteNotificationMsg: "Biztos, hogy törölni akarja ezt az értesítést az összes figyelőnél?", |
||||
|
resoverserverDescription: "A Cloudflare az alapértelmezett szerver, bármikor meg tudja változtatni a resolver server-t.", |
||||
|
rrtypeDescription: "Válassza ki az RR-Típust a figyelőhöz", |
||||
|
pauseMonitorMsg: "Biztos, hogy szüneteltetni akarja?", |
||||
|
enableDefaultNotificationDescription: "Minden új figyelőhöz ez az értesítés engedélyezett lesz alapértelmezetten. Kikapcsolhatja az értesítést külön minden figyelőnél.", |
||||
|
clearEventsMsg: "Biztos, hogy törölni akar miden eseményt ennél a figyelnél?", |
||||
|
clearHeartbeatsMsg: "Biztos, hogy törölni akar minden heartbeat-et ennél a figyelőnél?", |
||||
|
confirmClearStatisticsMsg: "Biztos, hogy törölni akat MINDEN statisztikát?", |
||||
|
importHandleDescription: "Válassza a 'Meglévő kihagyását', ha ki szeretné hagyni az azonos nevő figyelőket vagy értesítésket. A 'Felülírás' törölni fog minden meglévő figyelőt és értesítést.", |
||||
|
confirmImportMsg: "Biztos, hogy importálja a mentést? Győzödjön meg róla, hogy jól választotta ki az importálás opciót.", |
||||
|
twoFAVerifyLabel: "Kérem, adja meg a token-t, hogy a 2FA működését ellenőrizzük", |
||||
|
tokenValidSettingsMsg: "A token érvényes! El tudja menteni a 2FA beállításait.", |
||||
|
confirmEnableTwoFAMsg: "Biztosan engedélyezi a 2FA-t?", |
||||
|
confirmDisableTwoFAMsg: "Biztosan letiltja a 2FA-t?", |
||||
|
Settings: "Beállítások", |
||||
|
Dashboard: "Irányítópult", |
||||
|
"New Update": "Új frissítés", |
||||
|
Language: "Nyelv", |
||||
|
Appearance: "Megjelenés", |
||||
|
Theme: "Téma", |
||||
|
General: "Általános", |
||||
|
Version: "Verzió", |
||||
|
"Check Update On GitHub": "Frissítések keresése a GitHub-on", |
||||
|
List: "Lista", |
||||
|
Add: "Hozzáadás", |
||||
|
"Add New Monitor": "Új figyelő hozzáadása", |
||||
|
"Quick Stats": "Gyors statisztikák", |
||||
|
Up: "Működik", |
||||
|
Down: "Leállt", |
||||
|
Pending: "Függőben", |
||||
|
Unknown: "Ismeretlen", |
||||
|
Pause: "Szünet", |
||||
|
Name: "Név", |
||||
|
Status: "Állapot", |
||||
|
DateTime: "Időpont", |
||||
|
Message: "Üzenet", |
||||
|
"No important events": "Nincs fontos esemény", |
||||
|
Resume: "Folytatás", |
||||
|
Edit: "Szerkesztés", |
||||
|
Delete: "Törlés", |
||||
|
Current: "Aktuális", |
||||
|
Uptime: "Uptime", |
||||
|
"Cert Exp.": "Tanúsítvány lejár", |
||||
|
days: "napok", |
||||
|
day: "nap", |
||||
|
"-day": "-nap", |
||||
|
hour: "óra", |
||||
|
"-hour": "-óra", |
||||
|
Response: "Válasz", |
||||
|
Ping: "Ping", |
||||
|
"Monitor Type": "Figyelő típusa", |
||||
|
Keyword: "Kulcsszó", |
||||
|
"Friendly Name": "Rövid név", |
||||
|
URL: "URL", |
||||
|
Hostname: "Hostnév", |
||||
|
Port: "Port", |
||||
|
"Heartbeat Interval": "Heartbeat időköz", |
||||
|
Retries: "Újrapróbálkozás", |
||||
|
"Heartbeat Retry Interval": "Heartbeat újrapróbálkozások időköze", |
||||
|
Advanced: "Haladó", |
||||
|
"Upside Down Mode": "Fordított mód", |
||||
|
"Max. Redirects": "Max. átirányítás", |
||||
|
"Accepted Status Codes": "Elfogadott állapot kódok", |
||||
|
Save: "Mentés", |
||||
|
Notifications: "Értesítések", |
||||
|
"Not available, please setup.": "Nem elérhető, állítsa be.", |
||||
|
"Setup Notification": "Értesítés beállítása", |
||||
|
Light: "Világos", |
||||
|
Dark: "Sötét", |
||||
|
Auto: "Auto", |
||||
|
"Theme - Heartbeat Bar": "Téma - Heartbeat Bar", |
||||
|
Normal: "Normal", |
||||
|
Bottom: "Nyomógomb", |
||||
|
None: "Nincs", |
||||
|
Timezone: "Időzóna", |
||||
|
"Search Engine Visibility": "Látható a keresőmotoroknak", |
||||
|
"Allow indexing": "Indexelés engedélyezése", |
||||
|
"Discourage search engines from indexing site": "Keresőmotorok elriasztása az oldal indexelésétől", |
||||
|
"Change Password": "Jelszó változtatása", |
||||
|
"Current Password": "Jelenlegi jelszó", |
||||
|
"New Password": "Új jelszó", |
||||
|
"Repeat New Password": "Ismételje meg az új jelszót", |
||||
|
"Update Password": "Jelszó módosítása", |
||||
|
"Disable Auth": "Hitelesítés tiltása", |
||||
|
"Enable Auth": "Hitelesítés engedélyezése", |
||||
|
Logout: "Kijelenetkezés", |
||||
|
Leave: "Elhagy", |
||||
|
"I understand, please disable": "Megértettem, kérem tilsa le", |
||||
|
Confirm: "Megerősítés", |
||||
|
Yes: "Igen", |
||||
|
No: "Nem", |
||||
|
Username: "Felhasználónév", |
||||
|
Password: "Jelszó", |
||||
|
"Remember me": "Emlékezzen rám", |
||||
|
Login: "Bejelentkezés", |
||||
|
"No Monitors, please": "Nincs figyelő, kérem", |
||||
|
"add one": "adjon hozzá egyet", |
||||
|
"Notification Type": "Értesítés típusa", |
||||
|
Email: "Email", |
||||
|
Test: "Teszt", |
||||
|
"Certificate Info": "Tanúsítvány információk", |
||||
|
"Resolver Server": "Resolver szerver", |
||||
|
"Resource Record Type": "Resource Record típusa", |
||||
|
"Last Result": "Utolsó eredmény", |
||||
|
"Create your admin account": "Hozza létre az adminisztrátor felhasználót", |
||||
|
"Repeat Password": "Jelszó ismétlése", |
||||
|
"Import Backup": "Mentés importálása", |
||||
|
"Export Backup": "Mentés exportálása", |
||||
|
Export: "Exportálás", |
||||
|
Import: "Importálás", |
||||
|
respTime: "Válaszidő (ms)", |
||||
|
notAvailableShort: "N/A", |
||||
|
"Default enabled": "Alapértelmezetten engedélyezett", |
||||
|
"Apply on all existing monitors": "Alkalmazza az összes figyelőre", |
||||
|
Create: "Létrehozás", |
||||
|
"Clear Data": "Adatok törlése", |
||||
|
Events: "Események", |
||||
|
Heartbeats: "Heartbeats", |
||||
|
"Auto Get": "Auto Get", |
||||
|
backupDescription: "Ki tudja menteni az összes figyelőt és értesítést egy JSON fájlba.", |
||||
|
backupDescription2: "Ui.: Történeti és esemény adatokat nem tartalmaz.", |
||||
|
backupDescription3: "Érzékeny adatok, pl. szolgáltatás kulcsok is vannak az export fájlban. Figyelmesen őrizze!", |
||||
|
alertNoFile: "Válaszzon ki egy fájlt az importáláshoz.", |
||||
|
alertWrongFileType: "Válasszon egy JSON fájlt.", |
||||
|
"Clear all statistics": "Összes statisztika törlése", |
||||
|
"Skip existing": "Meglévő kihagyása", |
||||
|
Overwrite: "Felülírás", |
||||
|
Options: "Opciók", |
||||
|
"Keep both": "Mindegyiket tartsa meg", |
||||
|
"Verify Token": "Token ellenőrzése", |
||||
|
"Setup 2FA": "2FA beállítása", |
||||
|
"Enable 2FA": "2FA engedélyezése", |
||||
|
"Disable 2FA": "2FA toltása", |
||||
|
"2FA Settings": "2FA beállítások", |
||||
|
"Two Factor Authentication": "Two Factor Authentication", |
||||
|
Active: "Aktív", |
||||
|
Inactive: "Inaktív", |
||||
|
Token: "Token", |
||||
|
"Show URI": "URI megmutatása", |
||||
|
Tags: "Cimkék", |
||||
|
"Add New below or Select...": "Adjon hozzá lentre vagy válasszon...", |
||||
|
"Tag with this name already exist.": "Ilyen nevű cimke már létezik.", |
||||
|
"Tag with this value already exist.": "Ilyen értékű cimke már létezik.", |
||||
|
color: "szín", |
||||
|
"value (optional)": "érték (opcionális)", |
||||
|
Gray: "Szürke", |
||||
|
Red: "Piros", |
||||
|
Orange: "Narancs", |
||||
|
Green: "Zöld", |
||||
|
Blue: "Kék", |
||||
|
Indigo: "Indigó", |
||||
|
Purple: "Lila", |
||||
|
Pink: "Rózsaszín", |
||||
|
"Search...": "Keres...", |
||||
|
"Avg. Ping": "Átl. ping", |
||||
|
"Avg. Response": "Átl. válasz", |
||||
|
"Entry Page": "Nyitólap", |
||||
|
statusPageNothing: "Semmi nincs itt, kérem, adjon hozzá egy figyelőt.", |
||||
|
"No Services": "Nincs szolgáltatás", |
||||
|
"All Systems Operational": "Minden rendszer működik", |
||||
|
"Partially Degraded Service": "Részlegesen leállt szolgáltatás", |
||||
|
"Degraded Service": "Leállt szolgáltatás", |
||||
|
"Add Group": "Csoport hozzáadása", |
||||
|
"Add a monitor": "Figyelő hozzáadása", |
||||
|
"Edit Status Page": "Sátusz oldal szerkesztése", |
||||
|
"Go to Dashboard": "Menj az irányítópulthoz", |
||||
|
telegram: "Telegram", |
||||
|
webhook: "Webhook", |
||||
|
smtp: "Email (SMTP)", |
||||
|
discord: "Discord", |
||||
|
teams: "Microsoft Teams", |
||||
|
signal: "Signal", |
||||
|
gotify: "Gotify", |
||||
|
slack: "Slack", |
||||
|
"rocket.chat": "Rocket.chat", |
||||
|
pushover: "Pushover", |
||||
|
pushy: "Pushy", |
||||
|
octopush: "Octopush", |
||||
|
lunasea: "LunaSea", |
||||
|
apprise: "Apprise (Support 50+ Notification services)", |
||||
|
pushbullet: "Pushbullet", |
||||
|
line: "Line Messenger", |
||||
|
mattermost: "Mattermost", |
||||
|
"Status Page": "Status Page", |
||||
|
}; |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue