From 52cce0ee21ad867a694d39430012eec0a061edc1 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 2 Jun 2024 20:11:03 -0700 Subject: [PATCH 01/20] Merge pull request from GHSA-24m5-7vjx-9x37 * Restrict emby endpoints and proxy segments * Dont allow path traversal in segments * Restrict qbittorrent proxy endpoints * Restrict npm proxy endpoints * Restrict flood proxy endpoints * Restrict tdarr proxy endpoints * Restrict xteve proxy endpoints * Restrict transmission proxy endpoints * disallow non-mapped endpoints this change drops all requests that have un-mapped endpoint queries allowedEndpoints is added as a method to pass proxy requests via a regex on the endpoint most widgets with custom proxies use either no endpoint, or a static one Co-Authored-By: Ben Phelps --- src/pages/api/services/proxy.js | 23 ++++++++++++++++++++++- src/utils/proxy/api-helpers.js | 15 +++++---------- src/widgets/emby/component.jsx | 14 +++++++++----- src/widgets/emby/widget.js | 12 ++++++++---- src/widgets/flood/widget.js | 6 ++++++ src/widgets/fritzbox/widget.js | 1 + src/widgets/gamedig/widget.js | 1 + src/widgets/glances/widget.js | 1 + src/widgets/minecraft/widget.js | 1 + src/widgets/npm/component.jsx | 2 +- src/widgets/npm/widget.js | 6 ++++++ src/widgets/nzbget/widget.js | 1 + src/widgets/qbittorrent/component.jsx | 2 +- src/widgets/qbittorrent/widget.js | 6 ++++++ src/widgets/qnap/widget.js | 1 + src/widgets/swagdashboard/widget.js | 1 + src/widgets/tdarr/proxy.js | 4 ++-- src/widgets/transmission/proxy.js | 4 ++-- src/widgets/urbackup/widget.js | 1 + src/widgets/xteve/component.jsx | 2 +- src/widgets/xteve/proxy.js | 4 ++-- src/widgets/xteve/widget.js | 6 ------ 22 files changed, 79 insertions(+), 35 deletions(-) diff --git a/src/pages/api/services/proxy.js b/src/pages/api/services/proxy.js index be4a96a67..9347c4eb2 100644 --- a/src/pages/api/services/proxy.js +++ b/src/pages/api/services/proxy.js @@ -18,6 +18,11 @@ export default async function handler(req, res) { const serviceProxyHandler = widget.proxyHandler || genericProxyHandler; if (serviceProxyHandler instanceof Function) { + // quick return for no endpoint services + if (!req.query.endpoint) { + return serviceProxyHandler(req, res); + } + // map opaque endpoints to their actual endpoint if (widget?.mappings) { const mapping = widget?.mappings?.[req.query.endpoint]; @@ -38,6 +43,15 @@ export default async function handler(req, res) { if (req.query.segments) { const segments = JSON.parse(req.query.segments); + for (const key in segments) { + if (!mapping.segments.includes(key)) { + logger.debug("Unsupported segment: %s", key); + return res.status(403).json({ error: "Unsupported segment" }); + } else if (segments[key].includes("/")) { + logger.debug("Unsupported segment value: %s", segments[key]); + return res.status(403).json({ error: "Unsupported segment value" }); + } + } req.query.endpoint = formatApiCall(endpoint, segments); } @@ -66,7 +80,14 @@ export default async function handler(req, res) { return serviceProxyHandler(req, res, map); } - return serviceProxyHandler(req, res); + if (widget.allowedEndpoints instanceof RegExp) { + if (widget.allowedEndpoints.test(req.query.endpoint)) { + return serviceProxyHandler(req, res); + } + } + + logger.debug("Unmapped proxy request."); + return res.status(403).json({ error: "Unmapped proxy request." }); } logger.debug("Unknown proxy service type: %s", type); diff --git a/src/utils/proxy/api-helpers.js b/src/utils/proxy/api-helpers.js index ffd2f63bc..dceea3c4f 100644 --- a/src/utils/proxy/api-helpers.js +++ b/src/utils/proxy/api-helpers.js @@ -8,22 +8,16 @@ export function formatApiCall(url, args) { return url.replace(/\/+$/, "").replace(find, replace).replace(find, replace); } -function getURLSearchParams(widget, endpoint) { +export function getURLSearchParams(widget, endpoint) { const params = new URLSearchParams({ type: widget.type, group: widget.service_group, service: widget.service_name, - endpoint, }); - return params; -} - -export function formatProxyUrlWithSegments(widget, endpoint, segments) { - const params = getURLSearchParams(widget, endpoint); - if (segments) { - params.append("segments", JSON.stringify(segments)); + if (endpoint) { + params.append("endpoint", endpoint); } - return `/api/services/proxy?${params.toString()}`; + return params; } export function formatProxyUrl(widget, endpoint, queryParams) { @@ -59,6 +53,7 @@ export function sanitizeErrorURL(errorURL) { const url = new URL(errorURL); ["apikey", "api_key", "token", "t", "access_token", "auth"].forEach((key) => { if (url.searchParams.has(key)) url.searchParams.set(key, "***"); + if (url.hash.includes(key)) url.hash = url.hash.replace(new RegExp(`${key}=[^&]+`), `${key}=***`); }); return url.toString(); } diff --git a/src/widgets/emby/component.jsx b/src/widgets/emby/component.jsx index 9084cbac2..090a9c3f4 100644 --- a/src/widgets/emby/component.jsx +++ b/src/widgets/emby/component.jsx @@ -4,7 +4,7 @@ import { MdOutlineSmartDisplay } from "react-icons/md"; import Block from "components/services/widget/block"; import Container from "components/services/widget/container"; -import { formatProxyUrlWithSegments } from "utils/proxy/api-helpers"; +import { getURLSearchParams } from "utils/proxy/api-helpers"; import useWidgetAPI from "utils/proxy/use-widget-api"; function ticksToTime(ticks) { @@ -217,10 +217,14 @@ export default function Component({ service }) { }); async function handlePlayCommand(session, command) { - const url = formatProxyUrlWithSegments(widget, "PlayControl", { - sessionId: session.Id, - command, - }); + const params = getURLSearchParams(widget, command); + params.append( + "segments", + JSON.stringify({ + sessionId: session.Id, + }), + ); + const url = `/api/services/proxy?${params.toString()}`; await fetch(url).then(() => { sessionMutate(); }); diff --git a/src/widgets/emby/widget.js b/src/widgets/emby/widget.js index 1dc009b2a..3b04f59fb 100644 --- a/src/widgets/emby/widget.js +++ b/src/widgets/emby/widget.js @@ -10,12 +10,16 @@ const widget = { }, Count: { endpoint: "Items/Counts", - segments: ["MovieCount", "SeriesCount", "EpisodeCount", "SongCount"], }, - PlayControl: { + Unpause: { method: "POST", - endpoint: "Sessions/{sessionId}/Playing/{command}", - segments: ["sessionId", "command"], + endpoint: "Sessions/{sessionId}/Playing/Unpause", + segments: ["sessionId"], + }, + Pause: { + method: "POST", + endpoint: "Sessions/{sessionId}/Playing/Pause", + segments: ["sessionId"], }, }, }; diff --git a/src/widgets/flood/widget.js b/src/widgets/flood/widget.js index 027ff344b..13413cf44 100644 --- a/src/widgets/flood/widget.js +++ b/src/widgets/flood/widget.js @@ -2,6 +2,12 @@ import floodProxyHandler from "./proxy"; const widget = { proxyHandler: floodProxyHandler, + + mappings: { + torrents: { + endpoint: "torrents", + }, + }, }; export default widget; diff --git a/src/widgets/fritzbox/widget.js b/src/widgets/fritzbox/widget.js index 131938210..32e8a5c27 100644 --- a/src/widgets/fritzbox/widget.js +++ b/src/widgets/fritzbox/widget.js @@ -2,6 +2,7 @@ import fritzboxProxyHandler from "./proxy"; const widget = { proxyHandler: fritzboxProxyHandler, + allowedEndpoints: /status/, }; export default widget; diff --git a/src/widgets/gamedig/widget.js b/src/widgets/gamedig/widget.js index 6ccfa123a..0f888b43d 100644 --- a/src/widgets/gamedig/widget.js +++ b/src/widgets/gamedig/widget.js @@ -2,6 +2,7 @@ import gamedigProxyHandler from "./proxy"; const widget = { proxyHandler: gamedigProxyHandler, + allowedEndpoints: /status/, }; export default widget; diff --git a/src/widgets/glances/widget.js b/src/widgets/glances/widget.js index 3357cf28e..e018ae39b 100644 --- a/src/widgets/glances/widget.js +++ b/src/widgets/glances/widget.js @@ -3,6 +3,7 @@ import credentialedProxyHandler from "utils/proxy/handlers/credentialed"; const widget = { api: "{url}/api/{endpoint}", proxyHandler: credentialedProxyHandler, + allowedEndpoints: /\d\/quicklook|diskio|fs|gpu|system|mem|network|processlist|sensors/, }; export default widget; diff --git a/src/widgets/minecraft/widget.js b/src/widgets/minecraft/widget.js index f8a81bfb2..fbe413b75 100644 --- a/src/widgets/minecraft/widget.js +++ b/src/widgets/minecraft/widget.js @@ -2,6 +2,7 @@ import minecraftProxyHandler from "./proxy"; const widget = { proxyHandler: minecraftProxyHandler, + allowedEndpoints: /status/, }; export default widget; diff --git a/src/widgets/npm/component.jsx b/src/widgets/npm/component.jsx index 377122664..06ac91ebe 100644 --- a/src/widgets/npm/component.jsx +++ b/src/widgets/npm/component.jsx @@ -5,7 +5,7 @@ import useWidgetAPI from "utils/proxy/use-widget-api"; export default function Component({ service }) { const { widget } = service; - const { data: infoData, error: infoError } = useWidgetAPI(widget, "nginx/proxy-hosts"); + const { data: infoData, error: infoError } = useWidgetAPI(widget, "hosts"); if (infoError) { return ; diff --git a/src/widgets/npm/widget.js b/src/widgets/npm/widget.js index 652cb4a25..24b3ce029 100644 --- a/src/widgets/npm/widget.js +++ b/src/widgets/npm/widget.js @@ -3,6 +3,12 @@ import npmProxyHandler from "./proxy"; const widget = { api: "{url}/api/{endpoint}", proxyHandler: npmProxyHandler, + + mappings: { + hosts: { + endpoint: "nginx/proxy-hosts", + }, + }, }; export default widget; diff --git a/src/widgets/nzbget/widget.js b/src/widgets/nzbget/widget.js index 841fb66c0..79ca1807d 100644 --- a/src/widgets/nzbget/widget.js +++ b/src/widgets/nzbget/widget.js @@ -3,6 +3,7 @@ import jsonrpcProxyHandler from "utils/proxy/handlers/jsonrpc"; const widget = { api: "{url}/jsonrpc", proxyHandler: jsonrpcProxyHandler, + allowedEndpoints: /status/, }; export default widget; diff --git a/src/widgets/qbittorrent/component.jsx b/src/widgets/qbittorrent/component.jsx index 615709ea6..e88b26227 100644 --- a/src/widgets/qbittorrent/component.jsx +++ b/src/widgets/qbittorrent/component.jsx @@ -9,7 +9,7 @@ export default function Component({ service }) { const { widget } = service; - const { data: torrentData, error: torrentError } = useWidgetAPI(widget, "torrents/info"); + const { data: torrentData, error: torrentError } = useWidgetAPI(widget, "torrents"); if (torrentError) { return ; diff --git a/src/widgets/qbittorrent/widget.js b/src/widgets/qbittorrent/widget.js index 1e8348b33..182ac9d1b 100644 --- a/src/widgets/qbittorrent/widget.js +++ b/src/widgets/qbittorrent/widget.js @@ -2,6 +2,12 @@ import qbittorrentProxyHandler from "./proxy"; const widget = { proxyHandler: qbittorrentProxyHandler, + + mappings: { + torrents: { + endpoint: "torrents/info", + }, + }, }; export default widget; diff --git a/src/widgets/qnap/widget.js b/src/widgets/qnap/widget.js index ebaf93c9d..1069fa9a4 100644 --- a/src/widgets/qnap/widget.js +++ b/src/widgets/qnap/widget.js @@ -3,6 +3,7 @@ import qnapProxyHandler from "./proxy"; const widget = { api: "{url}", proxyHandler: qnapProxyHandler, + allowedEndpoints: /status/, }; export default widget; diff --git a/src/widgets/swagdashboard/widget.js b/src/widgets/swagdashboard/widget.js index 626586fe1..7067e55d2 100644 --- a/src/widgets/swagdashboard/widget.js +++ b/src/widgets/swagdashboard/widget.js @@ -3,6 +3,7 @@ import genericProxyHandler from "utils/proxy/handlers/generic"; const widget = { api: "{url}/?stats=true", proxyHandler: genericProxyHandler, + allowedEndpoints: /overview/, }; export default widget; diff --git a/src/widgets/tdarr/proxy.js b/src/widgets/tdarr/proxy.js index a1ebc149b..898082f40 100644 --- a/src/widgets/tdarr/proxy.js +++ b/src/widgets/tdarr/proxy.js @@ -8,7 +8,7 @@ const proxyName = "tdarrProxyHandler"; const logger = createLogger(proxyName); export default async function tdarrProxyHandler(req, res) { - const { group, service, endpoint } = req.query; + const { group, service } = req.query; if (!group || !service) { logger.debug("Invalid or missing service '%s' or group '%s'", service, group); @@ -22,7 +22,7 @@ export default async function tdarrProxyHandler(req, res) { return res.status(400).json({ error: "Invalid proxy service type" }); } - const url = new URL(formatApiCall(widgets[widget.type].api, { endpoint, ...widget })); + const url = new URL(formatApiCall(widgets[widget.type].api, { endpoint: undefined, ...widget })); const [status, contentType, data] = await httpProxy(url, { method: "POST", diff --git a/src/widgets/transmission/proxy.js b/src/widgets/transmission/proxy.js index f12d2a0c0..823def054 100644 --- a/src/widgets/transmission/proxy.js +++ b/src/widgets/transmission/proxy.js @@ -11,7 +11,7 @@ const headerCacheKey = `${proxyName}__headers`; const logger = createLogger(proxyName); export default async function transmissionProxyHandler(req, res) { - const { group, service, endpoint } = req.query; + const { group, service } = req.query; if (!group || !service) { logger.debug("Invalid or missing service '%s' or group '%s'", service, group); @@ -35,7 +35,7 @@ export default async function transmissionProxyHandler(req, res) { const api = `${widget.url}${widget.rpcUrl || widgets[widget.type].rpcUrl}rpc`; - const url = new URL(formatApiCall(api, { endpoint, ...widget })); + const url = new URL(formatApiCall(api, { endpoint: undefined, ...widget })); const csrfHeaderName = "x-transmission-session-id"; const method = "POST"; diff --git a/src/widgets/urbackup/widget.js b/src/widgets/urbackup/widget.js index 5eac66d07..96c52296e 100644 --- a/src/widgets/urbackup/widget.js +++ b/src/widgets/urbackup/widget.js @@ -2,6 +2,7 @@ import urbackupProxyHandler from "./proxy"; const widget = { proxyHandler: urbackupProxyHandler, + allowedEndpoints: /status/, }; export default widget; diff --git a/src/widgets/xteve/component.jsx b/src/widgets/xteve/component.jsx index 75629909a..84a617c2e 100644 --- a/src/widgets/xteve/component.jsx +++ b/src/widgets/xteve/component.jsx @@ -9,7 +9,7 @@ export default function Component({ service }) { const { widget } = service; - const { data: xteveData, error: xteveError } = useWidgetAPI(widget, "api"); + const { data: xteveData, error: xteveError } = useWidgetAPI(widget); if (xteveError) { return ; diff --git a/src/widgets/xteve/proxy.js b/src/widgets/xteve/proxy.js index a8b1c80f2..421f2b499 100644 --- a/src/widgets/xteve/proxy.js +++ b/src/widgets/xteve/proxy.js @@ -7,7 +7,7 @@ import getServiceWidget from "utils/config/service-helpers"; const logger = createLogger("xteveProxyHandler"); export default async function xteveProxyHandler(req, res) { - const { group, service, endpoint } = req.query; + const { group, service } = req.query; if (!group || !service) { return res.status(400).json({ error: "Invalid proxy service type" }); @@ -19,7 +19,7 @@ export default async function xteveProxyHandler(req, res) { return res.status(403).json({ error: "Service does not support API calls" }); } - const url = formatApiCall(api, { endpoint, ...widget }); + const url = formatApiCall(api, { endpoint: "api/", ...widget }); const method = "POST"; const payload = { cmd: "status" }; diff --git a/src/widgets/xteve/widget.js b/src/widgets/xteve/widget.js index e7998e2e7..72c62b253 100644 --- a/src/widgets/xteve/widget.js +++ b/src/widgets/xteve/widget.js @@ -3,12 +3,6 @@ import xteveProxyHandler from "./proxy"; const widget = { api: "{url}/{endpoint}", proxyHandler: xteveProxyHandler, - - mappings: { - api: { - endpoint: "api/", - }, - }, }; export default widget; From 8a4c808ee2a4b4d604a57fa30968f0b651607528 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 2 Jun 2024 21:59:23 -0700 Subject: [PATCH 02/20] New Crowdin translations by GitHub Action (#3432) Co-authored-by: Crowdin Bot --- public/locales/af/common.json | 12 + public/locales/ar/common.json | 12 + public/locales/bg/common.json | 12 + public/locales/ca/common.json | 12 + public/locales/cs/common.json | 12 + public/locales/da/common.json | 12 + public/locales/de/common.json | 12 + public/locales/el/common.json | 350 +++++++++++++++-------------- public/locales/eo/common.json | 12 + public/locales/es/common.json | 12 + public/locales/eu/common.json | 12 + public/locales/fi/common.json | 12 + public/locales/fr/common.json | 12 + public/locales/he/common.json | 12 + public/locales/hi/common.json | 12 + public/locales/hr/common.json | 68 +++--- public/locales/hu/common.json | 24 +- public/locales/id/common.json | 12 + public/locales/it/common.json | 12 + public/locales/ja/common.json | 44 ++-- public/locales/ko/common.json | 12 + public/locales/lv/common.json | 12 + public/locales/ms/common.json | 12 + public/locales/nl/common.json | 12 + public/locales/no/common.json | 12 + public/locales/pl/common.json | 12 + public/locales/pt/common.json | 12 + public/locales/pt_BR/common.json | 14 +- public/locales/ro/common.json | 12 + public/locales/ru/common.json | 22 +- public/locales/sk/common.json | 28 ++- public/locales/sl/common.json | 18 +- public/locales/sr/common.json | 12 + public/locales/sv/common.json | 12 + public/locales/te/common.json | 12 + public/locales/th/common.json | 12 + public/locales/tr/common.json | 12 + public/locales/uk/common.json | 12 + public/locales/vi/common.json | 12 + public/locales/yue/common.json | 12 + public/locales/zh-Hans/common.json | 22 +- public/locales/zh-Hant/common.json | 12 + 42 files changed, 745 insertions(+), 241 deletions(-) diff --git a/public/locales/af/common.json b/public/locales/af/common.json index 1aab2d89d..7884acdd9 100644 --- a/public/locales/af/common.json +++ b/public/locales/af/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Waarskuwings", "bans": "Verbanne" + }, + "wgeasy": { + "connected": "Gekoppel", + "enabled": "Geaktiveer", + "disabled": "Onaktief", + "total": "Totaal" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/ar/common.json b/public/locales/ar/common.json index b66a97a81..3bb2acfcd 100644 --- a/public/locales/ar/common.json +++ b/public/locales/ar/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "تنبيهات", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "مفعل", + "disabled": "معطل", + "total": "المجموع" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/bg/common.json b/public/locales/bg/common.json index 0d232fc11..443c28b8b 100644 --- a/public/locales/bg/common.json +++ b/public/locales/bg/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Предупреждения", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Активирано", + "disabled": "Деактивирано", + "total": "Общо" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/ca/common.json b/public/locales/ca/common.json index a431f9a4e..78a32c0db 100644 --- a/public/locales/ca/common.json +++ b/public/locales/ca/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alertes", "bans": "Prohibicions" + }, + "wgeasy": { + "connected": "Connectat", + "enabled": "Activat", + "disabled": "Desactivat", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/cs/common.json b/public/locales/cs/common.json index f1540dd73..48030d627 100644 --- a/public/locales/cs/common.json +++ b/public/locales/cs/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Upozornění", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Povoleno", + "disabled": "Zakázáno", + "total": "Celkem" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/da/common.json b/public/locales/da/common.json index 661032bc7..e4c2e0a9f 100644 --- a/public/locales/da/common.json +++ b/public/locales/da/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Advarsler", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Aktiveret", + "disabled": "Deaktiveret", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/de/common.json b/public/locales/de/common.json index a2cafb841..4a188956e 100644 --- a/public/locales/de/common.json +++ b/public/locales/de/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Warnungen", "bans": "Banns" + }, + "wgeasy": { + "connected": "Verbunden", + "enabled": "Aktiviert", + "disabled": "Deaktiviert", + "total": "Gesamt" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "Mit Auth", + "outdated": "Veraltet", + "banned": "Gebannt" } } diff --git a/public/locales/el/common.json b/public/locales/el/common.json index dfa0a5bc9..2ffcd5221 100644 --- a/public/locales/el/common.json +++ b/public/locales/el/common.json @@ -40,14 +40,14 @@ }, "resources": { "cpu": "Επεξεργαστής", - "mem": "MEM", + "mem": "Μνήμη", "total": "Σύνολο", "free": "Δωρεάν", "used": "χρησιμοποιημένο", "load": "Φόρτωση", - "temp": "ΘΕΡΜΟΚΡΑΣΪΑ", + "temp": "Θερμοκρασία", "max": "Μέγιστο", - "uptime": "ΠΑΝΩ" + "uptime": "Χρόνος Λειτουργίας" }, "unifi": { "users": "Χρήστες", @@ -61,7 +61,7 @@ "wlan_devices": "WLAN Συσκευές", "lan_users": "LAN Χρήστες", "wlan_users": "WLAN Χρήστες", - "up": "ΠΑΝΩ", + "up": "Χρόνος Λειτουργίας", "down": "ΚΑΤΩ", "wait": "Παρακαλώ περιμένετε", "empty_data": "Άγνωστη κατάσταση υποσυστήματος" @@ -69,7 +69,7 @@ "docker": { "rx": "RX", "tx": "TX", - "mem": "MEM", + "mem": "Μνήμη", "cpu": "Επεξεργαστής", "running": "Τρέχων", "offline": "Εκτός σύνδεσης", @@ -85,16 +85,16 @@ "ping": { "error": "Σφάλμα", "ping": "Ping", - "down": "Down", - "up": "Up", + "down": "Ping down", + "up": "Ping up", "not_available": "Μη διαθέσιμο" }, "siteMonitor": { "http_status": "Κατάσταση HTTP", "error": "Σφάλμα", "response": "Απόκριση", - "down": "Down", - "up": "Up", + "down": "Ping down", + "up": "Ping up", "not_available": "Μη διαθέσιμο" }, "emby": { @@ -136,16 +136,16 @@ "connectionStatus": "Κατάσταση", "connectionStatusUnconfigured": "Μη Ρυθμισμένο", "connectionStatusConnecting": "Κατάσταση Σύνδεσης", - "connectionStatusAuthenticating": "Authenticating", - "connectionStatusPendingDisconnect": "Pending Disconnect", - "connectionStatusDisconnecting": "Disconnecting", - "connectionStatusDisconnected": "Disconnected", - "connectionStatusConnected": "Connected", + "connectionStatusAuthenticating": "Ταυτοποίηση", + "connectionStatusPendingDisconnect": "Εκκρεμεί Αποσύνδεση", + "connectionStatusDisconnecting": "Αποσύνδεση", + "connectionStatusDisconnected": "Αποσυνδέθηκε", + "connectionStatusConnected": "Συνδέθηκε", "uptime": "Χρόνος Λειτουργίας", - "maxDown": "Max. Down", - "maxUp": "Max. Up", - "down": "Down", - "up": "Up", + "maxDown": "Μέγιστο Download", + "maxUp": "Μέγιστο Upload", + "down": "Ping down", + "up": "Ping up", "received": "Ληφθέντα", "sent": "Απεσταλμένα", "externalIPAddress": "Εξωτερική IP" @@ -217,7 +217,7 @@ "memUsage": "Χρήση μνήμης", "systemTempC": "Θερμοκρασία συστήματος", "poolUsage": "Χρήση πισίνας", - "volumeUsage": "Volume Usage", + "volumeUsage": "Χρήση Όγκου", "invalid": "Μη έγκυρο" }, "deluge": { @@ -273,15 +273,15 @@ }, "overseerr": { "pending": "Σε εκκρεμότητα", - "processing": "Processing", + "processing": "Σε επεξεργασία", "approved": "Εγκρίθηκε", "available": "Διαθέσιμο" }, "netalertx": { "total": "Σύνολο", - "connected": "Connected", - "new_devices": "New Devices", - "down_alerts": "Down Alerts" + "connected": "Συνδέθηκε", + "new_devices": "Νέες συσκευές", + "down_alerts": "Ειδοποιήσεις offline" }, "pihole": { "queries": "Queries", @@ -309,26 +309,26 @@ "address": "Διεύθυνση", "expires": "Λήγει", "never": "Ποτέ", - "last_seen": "Last Seen", + "last_seen": "Τελευταία Σύνδεση", "now": "Τώρα", - "years": "{{number}}y", - "weeks": "{{number}}w", - "days": "{{number}}d", - "hours": "{{number}}h", - "minutes": "{{number}}m", - "seconds": "{{number}}s", + "years": "{{number}}χρόνια", + "weeks": "{{number}}εβδομάδες", + "days": "{{number}}μέρες", + "hours": "{{number}}ώρες", + "minutes": "{{number}}λεπτά", + "seconds": "{{number}}δευτερόλεπτα", "ago": "{{value}} πρίν" }, "tdarr": { "queue": "Ουρά", - "processed": "Processed", - "errored": "Errored", - "saved": "Saved" + "processed": "Σε επεξεργασία", + "errored": "Σφάλματα", + "saved": "Αποθηκεύτηκε" }, "traefik": { - "routers": "Routers", + "routers": "Δρομολογητές", "services": "Υπηρεσίες", - "middleware": "Middleware" + "middleware": "Ενδιάμεσο λογισμικό" }, "navidrome": { "nothing_streaming": "Δεν υπάρχουν ενεργές ροές", @@ -360,7 +360,7 @@ }, "jackett": { "configured": "Ρυθμισμένο", - "errored": "Errored" + "errored": "Σφάλματα" }, "strelaysrv": { "numActiveSessions": "Συνεδρίες", @@ -371,7 +371,7 @@ "mastodon": { "user_count": "Χρήστες", "status_count": "Δημοσιεύσεις", - "domain_count": "Domains" + "domain_count": "Τομείς" }, "medusa": { "wanted": "Επιθυμούντε", @@ -386,7 +386,7 @@ "down": "Εκτός σύνδεσης" }, "miniflux": { - "read": "Read", + "read": "Διαβάστηκε", "unread": "Μη Διαβασμένο" }, "authentik": { @@ -395,7 +395,7 @@ "failedLoginsLast24H": "Αποτυχημένες Συνδέσεις (24h)" }, "proxmox": { - "mem": "MEM", + "mem": "Μνήμη", "cpu": "Επεξεργαστής", "lxc": "LXC", "vms": "VMs" @@ -404,17 +404,17 @@ "cpu": "Επεξεργαστής", "load": "Φόρτωση", "wait": "Παρακαλώ περιμένετε", - "temp": "ΘΕΡΜΟΚΡΑΣΪΑ", + "temp": "Θερμοκρασία", "_temp": "Temp", "warn": "Warn", - "uptime": "ΠΑΝΩ", + "uptime": "Χρόνος Λειτουργίας", "total": "Σύνολο", "free": "Δωρεάν", "used": "χρησιμοποιημένο", "days": "d", "hours": "h", "crit": "Crit", - "read": "Read", + "read": "Διαβάστηκε", "write": "Write", "gpu": "GPU", "mem": "Μνήμη", @@ -450,80 +450,80 @@ "55-night": "Heavy Drizzle", "56-day": "Light Freezing Drizzle", "56-night": "Light Freezing Drizzle", - "57-day": "Freezing Drizzle", - "57-night": "Freezing Drizzle", - "61-day": "Light Rain", - "61-night": "Light Rain", - "63-day": "Rain", - "63-night": "Rain", - "65-day": "Heavy Rain", - "65-night": "Heavy Rain", - "66-day": "Freezing Rain", - "66-night": "Freezing Rain", - "67-day": "Freezing Rain", - "67-night": "Freezing Rain", - "71-day": "Light Snow", - "71-night": "Light Snow", - "73-day": "Snow", - "73-night": "Snow", - "75-day": "Heavy Snow", - "75-night": "Heavy Snow", - "77-day": "Snow Grains", - "77-night": "Snow Grains", - "80-day": "Light Showers", - "80-night": "Light Showers", - "81-day": "Showers", - "81-night": "Showers", - "82-day": "Heavy Showers", - "82-night": "Heavy Showers", - "85-day": "Snow Showers", - "85-night": "Snow Showers", - "86-day": "Snow Showers", - "86-night": "Snow Showers", - "95-day": "Thunderstorm", - "95-night": "Thunderstorm", - "96-day": "Thunderstorm With Hail", - "96-night": "Thunderstorm With Hail", - "99-day": "Thunderstorm With Hail", - "99-night": "Thunderstorm With Hail" + "57-day": "Παγωμένο ψιχάλισμα", + "57-night": "Παγωμένο ψιχάλισμα", + "61-day": "Ψιλόβροχο", + "61-night": "Ψιλόβροχο", + "63-day": "Βροχή", + "63-night": "Βροχή", + "65-day": "Δυνατή βροχή", + "65-night": "Δυνατή βροχή", + "66-day": "Παγωμένη βροχή", + "66-night": "Παγωμένη βροχή", + "67-day": "Παγωμένη βροχή", + "67-night": "Παγωμένη βροχή", + "71-day": "Ελαφριά Χιονόπτωση", + "71-night": "Ελαφριά Χιονόπτωση", + "73-day": "Χιόνι", + "73-night": "Χιόνι", + "75-day": "Ισχυρή χιονόπτωση", + "75-night": "Ισχυρή χιονόπτωση", + "77-day": "Κόκκοι Χιονιού", + "77-night": "Κόκκοι Χιονιού", + "80-day": "Ασθενείς βροχές", + "80-night": "Ασθενείς βροχές", + "81-day": "Βροχοπτώσεις", + "81-night": "Βροχοπτώσεις", + "82-day": "Ισχυρές βροχοπτώσεις", + "82-night": "Ισχυρές βροχοπτώσεις", + "85-day": "Χιονοπτώσεις", + "85-night": "Χιονοπτώσεις", + "86-day": "Χιονοπτώσεις", + "86-night": "Χιονοπτώσεις", + "95-day": "Καταιγίδα", + "95-night": "Καταιγίδα", + "96-day": "Καταιγίδα Με Χαλάζι", + "96-night": "Καταιγίδα Με Χαλάζι", + "99-day": "Καταιγίδα Με Χαλάζι", + "99-night": "Καταιγίδα Με Χαλάζι" }, "homebridge": { - "available_update": "System", - "updates": "Updates", - "update_available": "Update Available", - "up_to_date": "Up to Date", + "available_update": "Σύστημα", + "updates": "Ενημερώσεις", + "update_available": "Διαθέσιμη ενημέρωση", + "up_to_date": "Ενημερωμένο", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}", - "up": "Up", + "up": "Ping up", "pending": "Σε εκκρεμότητα", - "down": "Down" + "down": "Ping down" }, "healthchecks": { "new": "New", - "up": "Up", + "up": "Ping up", "grace": "In Grace Period", - "down": "Down", + "down": "Ping down", "paused": "Paused", "status": "Κατάσταση", - "last_ping": "Last Ping", - "never": "No pings yet" + "last_ping": "Τελευταίο Ping", + "never": "Δεν υπάρχουν ping ακόμα" }, "watchtower": { - "containers_scanned": "Scanned", - "containers_updated": "Updated", - "containers_failed": "Failed" + "containers_scanned": "Σκαναρισμένο", + "containers_updated": "Ενημερώθηκε", + "containers_failed": "Απέτυχε" }, "autobrr": { "approvedPushes": "Εγκρίθηκε", - "rejectedPushes": "Rejected", - "filters": "Filters", + "rejectedPushes": "Απορρίφθηκε", + "filters": "Φίλτρα", "indexers": "Ευρετήρια" }, "tubearchivist": { "downloads": "Ουρά", - "videos": "Videos", + "videos": "Βίντεο", "channels": "Κανάλια", - "playlists": "Playlists" + "playlists": "Λίστες αναπαραγωγής" }, "truenas": { "load": "Φόρτος Συστήματος", @@ -544,18 +544,18 @@ "hdhomerun": { "channels": "Κανάλια", "hd": "HD", - "tunerCount": "Tuners", + "tunerCount": "Δέκτες", "channelNumber": "Κανάλι", "channelNetwork": "Δίκτυο", - "signalStrength": "Strength", + "signalStrength": "Ισχύς σήματος", "signalQuality": "Ποιότητα", "symbolQuality": "Ποιότητα", "networkRate": "Ρυθμός bit", - "clientIP": "Client" + "clientIP": "Πελάτης" }, "scrutiny": { "passed": "Passed", - "failed": "Failed", + "failed": "Απέτυχε", "unknown": "Άγνωστο" }, "paperlessngx": { @@ -617,8 +617,8 @@ "load": "Load Avg", "memory": "Mem Usage", "wanStatus": "WAN Status", - "up": "Up", - "down": "Down", + "up": "Ping up", + "down": "Ping down", "temp": "Temp", "disk": "Χρήση δίσκου", "wanIP": "WAN IP" @@ -632,14 +632,14 @@ "immich": { "users": "Χρήστες", "photos": "Φωτογραφίες", - "videos": "Videos", - "storage": "Storage" + "videos": "Βίντεο", + "storage": "Αποθηκευτικός χώρος" }, "uptimekuma": { - "up": "Sites Up", - "down": "Sites Down", + "up": "Online τοποθεσίες", + "down": "Offline τοποθεσίες", "uptime": "Χρόνος Λειτουργίας", - "incident": "Incident", + "incident": "Περιστατικό", "m": "m" }, "atsumeru": { @@ -666,100 +666,100 @@ "photoprism": { "albums": "Άλμπουμ", "photos": "Φωτογραφίες", - "videos": "Videos", - "people": "People" + "videos": "Βίντεο", + "people": "Άνθρωποι" }, "fileflows": { "queue": "Ουρά", - "processing": "Processing", - "processed": "Processed", - "time": "Time" + "processing": "Σε επεξεργασία", + "processed": "Σε επεξεργασία", + "time": "Ώρα" }, "grafana": { - "dashboards": "Dashboards", - "datasources": "Data Sources", - "totalalerts": "Total Alerts", - "alertstriggered": "Alerts Triggered" + "dashboards": "Πίνακας Ελέγχου", + "datasources": "Πηγές Δεδομένων", + "totalalerts": "Σύνολο Ειδοποιήσεων", + "alertstriggered": "Ενεργοποιημένες Ειδοποιήσεις" }, "nextcloud": { - "cpuload": "Cpu Load", - "memoryusage": "Memory Usage", - "freespace": "Free Space", - "activeusers": "Active Users", - "numfiles": "Files", - "numshares": "Shared Items" + "cpuload": "Φόρτος CPU", + "memoryusage": "Χρήση Mνήμης", + "freespace": "Ελεύθερος χώρος", + "activeusers": "Ενεργοί χρήστες", + "numfiles": "Αρχεία", + "numshares": "Κοινόχρηστα στοιχεία" }, "kopia": { "status": "Κατάσταση", - "size": "Size", - "lastrun": "Last Run", - "nextrun": "Next Run", - "failed": "Failed" + "size": "Μέγεθος", + "lastrun": "Τελευταία εκτέλεση", + "nextrun": "Επόμενη εκτέλεση", + "failed": "Απέτυχε" }, "unmanic": { - "active_workers": "Active Workers", + "active_workers": "Ενεργοί χρήστες", "total_workers": "Total Workers", - "records_total": "Queue Length" + "records_total": "Μήκος Ουράς" }, "pterodactyl": { "servers": "Διακομιστές", - "nodes": "Nodes" + "nodes": "Κόμβοι [Nodes]" }, "prometheus": { - "targets_up": "Targets Up", - "targets_down": "Targets Down", - "targets_total": "Total Targets" + "targets_up": "Στόχοι Πάνω", + "targets_down": "Στόχοι Κάτω", + "targets_total": "Συνολικοί Στόχοι" }, "gatus": { - "up": "Sites Up", - "down": "Sites Down", + "up": "Online τοποθεσίες", + "down": "Offline τοποθεσίες", "uptime": "Χρόνος Λειτουργίας" }, "ghostfolio": { "gross_percent_today": "Σήμερα", - "gross_percent_1y": "One year", - "gross_percent_max": "All time" + "gross_percent_1y": "Ένας χρόνος", + "gross_percent_max": "Διαχρονικά" }, "audiobookshelf": { "podcasts": "Podcasts", "books": "Βιβλία", - "podcastsDuration": "Duration", - "booksDuration": "Duration" + "podcastsDuration": "Διάρκεια", + "booksDuration": "Διάρκεια" }, "homeassistant": { - "people_home": "People Home", - "lights_on": "Lights On", - "switches_on": "Switches On" + "people_home": "Σύνολο ανθρώπων στο σπίτι", + "lights_on": "Αναμμένα φώτα", + "switches_on": "Ανοιχτοί διακόπτες" }, "whatsupdocker": { - "monitoring": "Monitoring", - "updates": "Updates" + "monitoring": "Παρακολούθηση", + "updates": "Ενημερώσεις" }, "calibreweb": { "books": "Βιβλία", - "authors": "Authors", + "authors": "Συντάκτες", "categories": "Κατηγορίες", "series": "Σειρές" }, "jdownloader": { "downloadCount": "Ουρά", "downloadBytesRemaining": "Υπόλοιπο", - "downloadTotalBytes": "Size", + "downloadTotalBytes": "Μέγεθος", "downloadSpeed": "Ταχύτητα" }, "kavita": { "seriesCount": "Σειρές", - "totalFiles": "Files" + "totalFiles": "Αρχεία" }, "azuredevops": { - "result": "Result", + "result": "Αποτέλεσμα", "status": "Κατάσταση", "buildId": "Build ID", - "succeeded": "Succeeded", - "notStarted": "Not Started", - "failed": "Failed", - "canceled": "Canceled", - "inProgress": "In Progress", + "succeeded": "Πέτυχε", + "notStarted": "Δεν ξεκίνησε", + "failed": "Απέτυχε", + "canceled": "Ακυρώθηκε", + "inProgress": "Σε εξέλιξη", "totalPrs": "Total PRs", "myPrs": "My PRs", "approved": "Εγκρίθηκε" @@ -768,8 +768,8 @@ "status": "Κατάσταση", "online": "Συνδεδεμένοι", "offline": "Εκτός σύνδεσης", - "name": "Name", - "map": "Map", + "name": "Όνομα", + "map": "Χάρτης", "currentPlayers": "Current players", "players": "Παίκτες", "maxPlayers": "Max players", @@ -777,30 +777,30 @@ "ping": "Ping" }, "urbackup": { - "ok": "Ok", - "errored": "Errors", - "noRecent": "Out of Date", - "totalUsed": "Used Storage" + "ok": "Οκ", + "errored": "Σφάλματα", + "noRecent": "Απαρχαιωμένη έκδοση", + "totalUsed": "Χώρος αποθήκευσης σε χρήση" }, "mealie": { - "recipes": "Recipes", + "recipes": "Συνταγές", "users": "Χρήστες", "categories": "Κατηγορίες", - "tags": "Tags" + "tags": "Ετικέτες" }, "openmediavault": { - "downloading": "Downloading", + "downloading": "Γίνεται λήψη", "total": "Σύνολο", "running": "Τρέχων", "stopped": "Σταματημένο", "passed": "Passed", - "failed": "Failed" + "failed": "Απέτυχε" }, "openwrt": { "uptime": "Χρόνος Λειτουργίας", "cpuLoad": "CPU Load Avg (5m)", - "up": "Up", - "down": "Down", + "up": "Ping up", + "down": "Ping down", "bytesTx": "Transmitted", "bytesRx": "Ληφθέντα" }, @@ -809,13 +809,13 @@ "uptime": "Χρόνος Λειτουργίας", "lastDown": "Last Downtime", "downDuration": "Downtime Duration", - "sitesUp": "Sites Up", - "sitesDown": "Sites Down", + "sitesUp": "Online τοποθεσίες", + "sitesDown": "Offline τοποθεσίες", "paused": "Paused", "notyetchecked": "Not Yet Checked", - "up": "Up", + "up": "Ping up", "seemsdown": "Seems Down", - "down": "Down", + "down": "Ping down", "unknown": "Άγνωστο" }, "calendar": { @@ -857,12 +857,12 @@ "performers": "Performers", "studios": "Studios", "movies": "Ταινίες", - "tags": "Tags", + "tags": "Ετικέτες", "oCount": "O Count" }, "tandoor": { "users": "Χρήστες", - "recipes": "Recipes", + "recipes": "Συνταγές", "keywords": "Keywords" }, "homebox": { @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Ειδοποιήσεις", "bans": "Bans" + }, + "wgeasy": { + "connected": "Συνδέθηκε", + "enabled": "Ενεργοποιημένο", + "disabled": "Απενεργοποιημένο", + "total": "Σύνολο" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/eo/common.json b/public/locales/eo/common.json index 4fa17c473..de28af1ba 100644 --- a/public/locales/eo/common.json +++ b/public/locales/eo/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Enabled", + "disabled": "Disabled", + "total": "Totalo" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 10aa7c6ce..c3306fe83 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alertas", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Activado", + "disabled": "Desactivado", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/eu/common.json b/public/locales/eu/common.json index 6625148c0..a4aba2036 100644 --- a/public/locales/eu/common.json +++ b/public/locales/eu/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Enabled", + "disabled": "Disabled", + "total": "Guztira" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/fi/common.json b/public/locales/fi/common.json index b775e9703..09639a20c 100644 --- a/public/locales/fi/common.json +++ b/public/locales/fi/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Käytössä", + "disabled": "Poissa käytöstä", + "total": "Yhteensä" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index d5a95638b..401b7464a 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alertes", "bans": "Exclusions" + }, + "wgeasy": { + "connected": "Connecté", + "enabled": "Activé", + "disabled": "Désactivé", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/he/common.json b/public/locales/he/common.json index a420823ed..fa310603c 100644 --- a/public/locales/he/common.json +++ b/public/locales/he/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "מופעל", + "disabled": "מבוטל", + "total": "סה\"כ" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/hi/common.json b/public/locales/hi/common.json index 866a1280e..745ed8b4f 100644 --- a/public/locales/hi/common.json +++ b/public/locales/hi/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Enabled", + "disabled": "Disabled", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/hr/common.json b/public/locales/hr/common.json index 4b323b402..6ffef12f7 100644 --- a/public/locales/hr/common.json +++ b/public/locales/hr/common.json @@ -140,7 +140,7 @@ "connectionStatusPendingDisconnect": "Odspajanje u tijeku", "connectionStatusDisconnecting": "Odspajanje", "connectionStatusDisconnected": "Odspojeno", - "connectionStatusConnected": "Connected", + "connectionStatusConnected": "Povezano", "uptime": "Vrijeme rada", "maxDown": "Maksimum preuzimanja", "maxUp": "Maksimum prijenosa", @@ -279,9 +279,9 @@ }, "netalertx": { "total": "Ukupno", - "connected": "Connected", - "new_devices": "New Devices", - "down_alerts": "Down Alerts" + "connected": "Povezano", + "new_devices": "Novi uređaji", + "down_alerts": "Obavijesti o nedostupnosti" }, "pihole": { "queries": "Upiti", @@ -834,47 +834,59 @@ "criticals": "Kritično" }, "plantit": { - "events": "Events", - "plants": "Plants", + "events": "Događaji", + "plants": "Biljke", "photos": "Fotografije", - "species": "Species" + "species": "Vrste" }, "gitea": { - "notifications": "Notifications", + "notifications": "Obavijesti", "issues": "Problemi", - "pulls": "Pull Requests" + "pulls": "Zahtjevi za povlačenje" }, "stash": { - "scenes": "Scenes", - "scenesPlayed": "Scenes Played", - "playCount": "Total Plays", - "playDuration": "Time Watched", - "sceneSize": "Scenes Size", - "sceneDuration": "Scenes Duration", - "images": "Images", - "imageSize": "Images Size", - "galleries": "Galleries", - "performers": "Performers", - "studios": "Studios", + "scenes": "Scene", + "scenesPlayed": "Reproducirane scene", + "playCount": "Ukupni broj reprodukcija", + "playDuration": "Vrijeme gledanja", + "sceneSize": "Veličina scene", + "sceneDuration": "Trajanje scene", + "images": "Slike", + "imageSize": "Veličina slike", + "galleries": "Galerije", + "performers": "Glumci", + "studios": "Studiji", "movies": "Filmovi", "tags": "Oznake", - "oCount": "O Count" + "oCount": "O zbroj" }, "tandoor": { "users": "Korisnici", "recipes": "Recepti", - "keywords": "Keywords" + "keywords": "Ključne riječi" }, "homebox": { - "items": "Items", - "totalWithWarranty": "With Warranty", - "locations": "Locations", - "labels": "Labels", + "items": "Stavke", + "totalWithWarranty": "S garancijom", + "locations": "Lokacije", + "labels": "Oznake", "users": "Korisnici", - "totalValue": "Total Value" + "totalValue": "Svukupno" }, "crowdsec": { "alerts": "Upozorenja", - "bans": "Bans" + "bans": "Zabrane" + }, + "wgeasy": { + "connected": "Povezano", + "enabled": "Aktivirano", + "disabled": "Deaktivirano", + "total": "Ukupno" + }, + "swagdashboard": { + "proxied": "Posredovano", + "auth": "S autentifikacijom", + "outdated": "Zastarjelo", + "banned": "Zabranjen pristup" } } diff --git a/public/locales/hu/common.json b/public/locales/hu/common.json index 735de467d..aed09199d 100644 --- a/public/locales/hu/common.json +++ b/public/locales/hu/common.json @@ -45,7 +45,7 @@ "free": "Szabad", "used": "Használt", "load": "Terhelés", - "temp": "HŐ", + "temp": "HŐM", "max": "Max", "uptime": "FUT" }, @@ -140,7 +140,7 @@ "connectionStatusPendingDisconnect": "Szétkapcsolás függőben", "connectionStatusDisconnecting": "Kapcsolat bontása", "connectionStatusDisconnected": "Kapcsolat bontva", - "connectionStatusConnected": "Connected", + "connectionStatusConnected": "Csatlakozva", "uptime": "Üzemidő", "maxDown": "Max let.", "maxUp": "Max felt.", @@ -279,9 +279,9 @@ }, "netalertx": { "total": "Összes", - "connected": "Connected", - "new_devices": "New Devices", - "down_alerts": "Down Alerts" + "connected": "Csatlakozva", + "new_devices": "Új eszközök", + "down_alerts": "Leállási riasztások" }, "pihole": { "queries": "Lekérdezések", @@ -404,7 +404,7 @@ "cpu": "Processzor", "load": "Terhelés", "wait": "Kérjük várjon", - "temp": "HŐ", + "temp": "HŐM", "_temp": "Hőmérséklet", "warn": "Figyelmeztet", "uptime": "FUT", @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Riasztások", "bans": "Bans" + }, + "wgeasy": { + "connected": "Csatlakozva", + "enabled": "Bekapcsolva", + "disabled": "Kikapcsolva", + "total": "Összes" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/id/common.json b/public/locales/id/common.json index c1ca4450e..9c7a0ec8f 100644 --- a/public/locales/id/common.json +++ b/public/locales/id/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Peringatan", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Aktif", + "disabled": "Nonaktif", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/it/common.json b/public/locales/it/common.json index 8f583e665..1c4115f7f 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Allarmi", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connesso", + "enabled": "Abilitato", + "disabled": "Disabilitati", + "total": "Totale" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json index e2f6a57bf..80bb4506f 100644 --- a/public/locales/ja/common.json +++ b/public/locales/ja/common.json @@ -47,7 +47,7 @@ "load": "ロード", "temp": "温度", "max": "最大", - "uptime": "上へ" + "uptime": "UP" }, "unifi": { "users": "ユーザ", @@ -61,7 +61,7 @@ "wlan_devices": "WLAN デバイス", "lan_users": "LAN ユーザ", "wlan_users": "WLAN ユーザ", - "up": "上へ", + "up": "UP", "down": "下へ", "wait": "お待ちください", "empty_data": "サブシステムの状態は不明" @@ -86,7 +86,7 @@ "error": "エラー", "ping": "Ping", "down": "下へ", - "up": "上へ", + "up": "稼働", "not_available": "利用できません。" }, "siteMonitor": { @@ -94,7 +94,7 @@ "error": "エラー", "response": "応答", "down": "下へ", - "up": "上へ", + "up": "稼働", "not_available": "利用できません。" }, "emby": { @@ -140,12 +140,12 @@ "connectionStatusPendingDisconnect": "接続を切断する", "connectionStatusDisconnecting": "接続を切断中", "connectionStatusDisconnected": "切断されました", - "connectionStatusConnected": "Connected", + "connectionStatusConnected": "接続済", "uptime": "稼働時間", "maxDown": "最大ダウン", "maxUp": "最大アップ", "down": "下へ", - "up": "上へ", + "up": "稼働", "received": "受信済み", "sent": "送信済み", "externalIPAddress": "退出ID" @@ -279,9 +279,9 @@ }, "netalertx": { "total": "合計", - "connected": "Connected", - "new_devices": "New Devices", - "down_alerts": "Down Alerts" + "connected": "接続済", + "new_devices": "新規デバイス", + "down_alerts": "ダウンアラート" }, "pihole": { "queries": "クエリ", @@ -407,7 +407,7 @@ "temp": "温度", "_temp": "温度", "warn": "警告", - "uptime": "上へ", + "uptime": "UP", "total": "合計", "free": "空き", "used": "使用", @@ -494,13 +494,13 @@ "up_to_date": "最新", "child_bridges": "子ブリッジ", "child_bridges_status": "{{ok}}/{{total}}", - "up": "上へ", + "up": "稼働", "pending": "保留中", "down": "下へ" }, "healthchecks": { "new": "新着", - "up": "上へ", + "up": "稼働", "grace": "猶予期間中", "down": "下へ", "paused": "一時停止中", @@ -617,7 +617,7 @@ "load": "読み込み平均", "memory": "メモリ使用量", "wanStatus": "WANステータス", - "up": "上へ", + "up": "稼働", "down": "下へ", "temp": "温度", "disk": "ディスク使用量", @@ -799,7 +799,7 @@ "openwrt": { "uptime": "稼働時間", "cpuLoad": "CPU 平均負荷(5 分)", - "up": "上へ", + "up": "稼働", "down": "下へ", "bytesTx": "送信済み", "bytesRx": "受信済み" @@ -813,7 +813,7 @@ "sitesDown": "サイトDown", "paused": "一時停止中", "notyetchecked": "チェックされていません", - "up": "上へ", + "up": "稼働", "seemsdown": "ダウンしているようです", "down": "下へ", "unknown": "不明" @@ -875,6 +875,18 @@ }, "crowdsec": { "alerts": "アラート", - "bans": "Bans" + "bans": "禁止" + }, + "wgeasy": { + "connected": "接続済", + "enabled": "有効", + "disabled": "無効", + "total": "合計" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/ko/common.json b/public/locales/ko/common.json index 5e7a90e11..342d1e37c 100644 --- a/public/locales/ko/common.json +++ b/public/locales/ko/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "경고", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "활성", + "disabled": "비활성", + "total": "총합" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/lv/common.json b/public/locales/lv/common.json index 1a46c862b..e9b8b20a9 100644 --- a/public/locales/lv/common.json +++ b/public/locales/lv/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Paziņojumi", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Enabled", + "disabled": "Disabled", + "total": "Kopā" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/ms/common.json b/public/locales/ms/common.json index f95831481..c05b70796 100644 --- a/public/locales/ms/common.json +++ b/public/locales/ms/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Didayakan", + "disabled": "Dinyahdayakan", + "total": "Jumlah" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/nl/common.json b/public/locales/nl/common.json index 8aff253eb..6910c07ad 100644 --- a/public/locales/nl/common.json +++ b/public/locales/nl/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Meldingen", "bans": "Bans" + }, + "wgeasy": { + "connected": "Verbonden", + "enabled": "Ingeschakeld", + "disabled": "Uitgeschakeld", + "total": "Totaal" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/no/common.json b/public/locales/no/common.json index a0988c888..74f97249d 100644 --- a/public/locales/no/common.json +++ b/public/locales/no/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Varsler", "bans": "Utestengelse" + }, + "wgeasy": { + "connected": "Tilkoblet", + "enabled": "Aktivert", + "disabled": "Deaktivert", + "total": "Totalt" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/pl/common.json b/public/locales/pl/common.json index 5c64296ea..eddd0a5a7 100644 --- a/public/locales/pl/common.json +++ b/public/locales/pl/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alarmy", "bans": "Bany" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Włączone", + "disabled": "Wyłączone", + "total": "Całkowite" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/pt/common.json b/public/locales/pt/common.json index 74b67f82e..558e98677 100644 --- a/public/locales/pt/common.json +++ b/public/locales/pt/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alertas", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Ativo", + "disabled": "Desabilitado", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/pt_BR/common.json b/public/locales/pt_BR/common.json index f3b716bdb..e622ddebb 100644 --- a/public/locales/pt_BR/common.json +++ b/public/locales/pt_BR/common.json @@ -143,7 +143,7 @@ "connectionStatusConnected": "Conectado", "uptime": "Ligado", "maxDown": "Max. Down", - "maxUp": "Max. Up", + "maxUp": "Máx. Acima", "down": "Inativo", "up": "Ativo", "received": "Recebido", @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alertas", "bans": "Banimentos" + }, + "wgeasy": { + "connected": "Conectado", + "enabled": "Ativo", + "disabled": "Desabilitado", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/ro/common.json b/public/locales/ro/common.json index 512904ff4..5b5187d36 100644 --- a/public/locales/ro/common.json +++ b/public/locales/ro/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Activat", + "disabled": "Dezactivat", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index 973c131f9..5c7c771a1 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -140,7 +140,7 @@ "connectionStatusPendingDisconnect": "Ожидает отключения", "connectionStatusDisconnecting": "Отключение", "connectionStatusDisconnected": "Отключено", - "connectionStatusConnected": "Connected", + "connectionStatusConnected": "Подключено", "uptime": "Время работы", "maxDown": "Макс. Загрузка", "maxUp": "Макс. Отдача", @@ -279,9 +279,9 @@ }, "netalertx": { "total": "Всего", - "connected": "Connected", - "new_devices": "New Devices", - "down_alerts": "Down Alerts" + "connected": "Подключено", + "new_devices": "Новое устройство", + "down_alerts": "Оповещение о недоступности" }, "pihole": { "queries": "Запросы", @@ -875,6 +875,18 @@ }, "crowdsec": { "alerts": "Предупреждения", - "bans": "Bans" + "bans": "Запреты" + }, + "wgeasy": { + "connected": "Подключено", + "enabled": "Включено", + "disabled": "Выключено", + "total": "Всего" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/sk/common.json b/public/locales/sk/common.json index b792a4258..42afe41ab 100644 --- a/public/locales/sk/common.json +++ b/public/locales/sk/common.json @@ -140,7 +140,7 @@ "connectionStatusPendingDisconnect": "Čakám na odpojenie", "connectionStatusDisconnecting": "Odpájanie", "connectionStatusDisconnected": "Odpojené", - "connectionStatusConnected": "Connected", + "connectionStatusConnected": "Pripojené", "uptime": "Prevádzka", "maxDown": "Max. sťahovanie", "maxUp": "Max. nahrávanie", @@ -279,9 +279,9 @@ }, "netalertx": { "total": "Celkovo", - "connected": "Connected", - "new_devices": "New Devices", - "down_alerts": "Down Alerts" + "connected": "Pripojené", + "new_devices": "Nové zariadenia", + "down_alerts": "Upozornenia o výpadkoch" }, "pihole": { "queries": "Dopyty", @@ -846,7 +846,7 @@ }, "stash": { "scenes": "Scény", - "scenesPlayed": "Scenes Played", + "scenesPlayed": "Prehrané scény", "playCount": "Celkovo prehraní", "playDuration": "Pozeraný čas", "sceneSize": "Veľkosť obrazovky", @@ -869,12 +869,24 @@ "items": "Položky", "totalWithWarranty": "So zárukou", "locations": "Umiestnenia", - "labels": "Labels", + "labels": "Štítky", "users": "Používatelia", - "totalValue": "Total Value" + "totalValue": "Celková hodnota" }, "crowdsec": { "alerts": "Upozornenia", - "bans": "Bans" + "bans": "Bany" + }, + "wgeasy": { + "connected": "Pripojené", + "enabled": "Povolené", + "disabled": "Zakázané", + "total": "Celkovo" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Zastarané", + "banned": "Zabanovaný" } } diff --git a/public/locales/sl/common.json b/public/locales/sl/common.json index 83691aab1..6dcd5415c 100644 --- a/public/locales/sl/common.json +++ b/public/locales/sl/common.json @@ -153,7 +153,7 @@ "caddy": { "upstreams": "Pretok gor", "requests": "Trenutnih zahtev", - "requests_failed": "Neuspešnih zahtev" + "requests_failed": "Neuspeš. zahtev" }, "changedetectionio": { "totalObserved": "Skupaj opazovano", @@ -355,8 +355,8 @@ "enableIndexers": "Indekserji", "numberOfGrabs": "Zajemi", "numberOfQueries": "Poizvedbe", - "numberOfFailGrabs": "Neuspešni zajemi", - "numberOfFailQueries": "Neuspešne poizvedbe" + "numberOfFailGrabs": "Neuspeš. zajem", + "numberOfFailQueries": "Neuspeš. poizvedb" }, "jackett": { "configured": "Nastavljeno", @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Opozorila", "bans": "Prepovedi" + }, + "wgeasy": { + "connected": "Povezan", + "enabled": "Omogočen", + "disabled": "Onemogočen", + "total": "Skupaj" + }, + "swagdashboard": { + "proxied": "Čez proxi", + "auth": "Z Auth", + "outdated": "Zastarelo", + "banned": "Prepovedan" } } diff --git a/public/locales/sr/common.json b/public/locales/sr/common.json index 71ca98dbd..627140001 100644 --- a/public/locales/sr/common.json +++ b/public/locales/sr/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Enabled", + "disabled": "Disabled", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/sv/common.json b/public/locales/sv/common.json index 7fc244908..53fe576cf 100644 --- a/public/locales/sv/common.json +++ b/public/locales/sv/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Aktiverad", + "disabled": "Inaktiverad", + "total": "Total" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/te/common.json b/public/locales/te/common.json index 40bd9f7ab..1dd640f29 100644 --- a/public/locales/te/common.json +++ b/public/locales/te/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "ప్రారంభించబడింది", + "disabled": "డిసేబ్లెడ్", + "total": "మొత్తం" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/th/common.json b/public/locales/th/common.json index 9bb8ee9b3..682451b45 100644 --- a/public/locales/th/common.json +++ b/public/locales/th/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Enabled", + "disabled": "Disabled", + "total": "ทั้งหมด" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json index 10e32a0c9..a44ec8f06 100644 --- a/public/locales/tr/common.json +++ b/public/locales/tr/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alarmlar", "bans": "Yasaklar" + }, + "wgeasy": { + "connected": "Bağlandı", + "enabled": "Etkin", + "disabled": "Devre Dışı", + "total": "Toplam" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/uk/common.json b/public/locales/uk/common.json index 55e8c07ea..239de674a 100644 --- a/public/locales/uk/common.json +++ b/public/locales/uk/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Оповіщення", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Увімкнено", + "disabled": "Вимкнено", + "total": "Усього" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json index 5299c54dc..7eeab1134 100644 --- a/public/locales/vi/common.json +++ b/public/locales/vi/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "Alerts", "bans": "Bans" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "Enabled", + "disabled": "Disabled", + "total": "Tổng" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/yue/common.json b/public/locales/yue/common.json index d7a9242c2..4d425c454 100644 --- a/public/locales/yue/common.json +++ b/public/locales/yue/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "警示", "bans": "禁止" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "啟用", + "disabled": "停用咗", + "total": "全部" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } diff --git a/public/locales/zh-Hans/common.json b/public/locales/zh-Hans/common.json index 41706e9f1..10a233998 100644 --- a/public/locales/zh-Hans/common.json +++ b/public/locales/zh-Hans/common.json @@ -54,10 +54,10 @@ "uptime": "运行时间", "days": "天", "wan": "WAN", - "lan": "局域网", - "wlan": "无线局域网", + "lan": "LAN", + "wlan": "WLAN", "devices": "设备", - "lan_devices": "有线设备", + "lan_devices": "LAN 设备", "wlan_devices": "WLAN 设备", "lan_users": "有线用户", "wlan_users": "无线用户", @@ -146,7 +146,7 @@ "maxUp": "", "down": "离线", "up": "在线", - "received": "最大上传数", + "received": "已接收", "sent": "已发送", "externalIPAddress": "外部IP" }, @@ -802,7 +802,7 @@ "up": "在线", "down": "离线", "bytesTx": "已传输", - "bytesRx": "最大上传数" + "bytesRx": "已接收" }, "uptimerobot": { "status": "状态", @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "警告", "bans": "禁用" + }, + "wgeasy": { + "connected": "已连接", + "enabled": "启用", + "disabled": "禁用", + "total": "总计" + }, + "swagdashboard": { + "proxied": "已代理", + "auth": "使用认证", + "outdated": "已过期", + "banned": "已禁止" } } diff --git a/public/locales/zh-Hant/common.json b/public/locales/zh-Hant/common.json index 38b7ea427..e88ac2bbc 100644 --- a/public/locales/zh-Hant/common.json +++ b/public/locales/zh-Hant/common.json @@ -876,5 +876,17 @@ "crowdsec": { "alerts": "警示", "bans": "禁止" + }, + "wgeasy": { + "connected": "Connected", + "enabled": "已啟用", + "disabled": "已停用", + "total": "全部" + }, + "swagdashboard": { + "proxied": "Proxied", + "auth": "With Auth", + "outdated": "Outdated", + "banned": "Banned" } } From c96e6703d38678de294bdbb3be55f0be0dabdb04 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 3 Jun 2024 07:03:30 -0700 Subject: [PATCH 03/20] More path traversal fixes --- src/pages/api/services/proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/api/services/proxy.js b/src/pages/api/services/proxy.js index 9347c4eb2..4fdccd038 100644 --- a/src/pages/api/services/proxy.js +++ b/src/pages/api/services/proxy.js @@ -47,7 +47,7 @@ export default async function handler(req, res) { if (!mapping.segments.includes(key)) { logger.debug("Unsupported segment: %s", key); return res.status(403).json({ error: "Unsupported segment" }); - } else if (segments[key].includes("/")) { + } else if (segments[key].includes("/") || segments[key].includes("\\") || segments[key].includes("..")) { logger.debug("Unsupported segment value: %s", segments[key]); return res.status(403).json({ error: "Unsupported segment value" }); } From fb58a66f3bb2dfa9556af38c6f32ade9d4588b8a Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 3 Jun 2024 08:38:16 -0700 Subject: [PATCH 04/20] Fix: include cpu in allowed glances endpoints (#3565) --- src/widgets/glances/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/glances/widget.js b/src/widgets/glances/widget.js index e018ae39b..00d3ac5ad 100644 --- a/src/widgets/glances/widget.js +++ b/src/widgets/glances/widget.js @@ -3,7 +3,7 @@ import credentialedProxyHandler from "utils/proxy/handlers/credentialed"; const widget = { api: "{url}/api/{endpoint}", proxyHandler: credentialedProxyHandler, - allowedEndpoints: /\d\/quicklook|diskio|fs|gpu|system|mem|network|processlist|sensors/, + allowedEndpoints: /\d\/quicklook|diskio|cpu|fs|gpu|system|mem|network|processlist|sensors/, }; export default widget; From d42271acf607a96da205d92885afd4f4d426a8d3 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 3 Jun 2024 09:19:20 -0700 Subject: [PATCH 05/20] Fix: calendar integration broken in v0.9.0 (#3566) --- src/pages/api/services/proxy.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/api/services/proxy.js b/src/pages/api/services/proxy.js index 4fdccd038..595a94545 100644 --- a/src/pages/api/services/proxy.js +++ b/src/pages/api/services/proxy.js @@ -2,6 +2,7 @@ import { formatApiCall } from "utils/proxy/api-helpers"; import createLogger from "utils/logger"; import genericProxyHandler from "utils/proxy/handlers/generic"; import widgets from "widgets/widgets"; +import calendarProxyHandler from "widgets/calendar/proxy"; const logger = createLogger("servicesProxy"); @@ -18,8 +19,8 @@ export default async function handler(req, res) { const serviceProxyHandler = widget.proxyHandler || genericProxyHandler; if (serviceProxyHandler instanceof Function) { - // quick return for no endpoint services - if (!req.query.endpoint) { + // quick return for no endpoint services, calendar is an exception + if (!req.query.endpoint || serviceProxyHandler === calendarProxyHandler) { return serviceProxyHandler(req, res); } From f13144ceb89e24b31e33c9ee91370d9387c72d16 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 3 Jun 2024 09:20:26 -0700 Subject: [PATCH 06/20] Remove widget type passing --- src/pages/api/services/proxy.js | 7 ++++++- src/utils/proxy/api-helpers.js | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/api/services/proxy.js b/src/pages/api/services/proxy.js index 595a94545..b77c5dd55 100644 --- a/src/pages/api/services/proxy.js +++ b/src/pages/api/services/proxy.js @@ -3,12 +3,17 @@ import createLogger from "utils/logger"; import genericProxyHandler from "utils/proxy/handlers/generic"; import widgets from "widgets/widgets"; import calendarProxyHandler from "widgets/calendar/proxy"; +import getServiceWidget from "utils/config/service-helpers"; const logger = createLogger("servicesProxy"); export default async function handler(req, res) { try { - const { type } = req.query; + const { service, group } = req.query; + const serviceWidget = await getServiceWidget(group, service); + let type = serviceWidget?.type; + // calendar is an alias for ical + if (type === "calendar") type = "ical"; const widget = widgets[type]; if (!widget) { diff --git a/src/utils/proxy/api-helpers.js b/src/utils/proxy/api-helpers.js index dceea3c4f..8e0682dbc 100644 --- a/src/utils/proxy/api-helpers.js +++ b/src/utils/proxy/api-helpers.js @@ -10,7 +10,6 @@ export function formatApiCall(url, args) { export function getURLSearchParams(widget, endpoint) { const params = new URLSearchParams({ - type: widget.type, group: widget.service_group, service: widget.service_name, }); From ec79f3042a7d9aff45f792d7b67d2abf40ea7415 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 09:39:38 -0700 Subject: [PATCH 07/20] New Crowdin translations by GitHub Action (#3567) Co-authored-by: Crowdin Bot --- public/locales/zh-Hans/common.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/locales/zh-Hans/common.json b/public/locales/zh-Hans/common.json index 10a233998..f82495b91 100644 --- a/public/locales/zh-Hans/common.json +++ b/public/locales/zh-Hans/common.json @@ -234,7 +234,7 @@ }, "sonarr": { "wanted": "关注中", - "queued": "已加入队列", + "queued": "队列中", "series": "剧集", "queue": "队列", "unknown": "未知" @@ -242,19 +242,19 @@ "radarr": { "wanted": "关注中", "missing": "缺失", - "queued": "已加入队列", + "queued": "队列中", "movies": "电影", "queue": "队列", "unknown": "未知" }, "lidarr": { "wanted": "关注中", - "queued": "已加入队列", + "queued": "队列中", "artists": "艺术家" }, "readarr": { "wanted": "关注中", - "queued": "已加入队列", + "queued": "队列中", "books": "书籍" }, "bazarr": { @@ -375,7 +375,7 @@ }, "medusa": { "wanted": "关注中", - "queued": "已加入队列", + "queued": "队列中", "series": "剧集" }, "minecraft": { From 67a9f4983c95782fb55fe6d9a6541574c134c17b Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:06:26 -0700 Subject: [PATCH 08/20] Fix unifi with no type passing and lint --- .../widgets/unifi_console/unifi_console.jsx | 4 ++-- src/pages/api/services/proxy.js | 15 ++++++++++----- src/widgets/unifi/proxy.js | 6 +++--- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/components/widgets/unifi_console/unifi_console.jsx b/src/components/widgets/unifi_console/unifi_console.jsx index 0031b224b..5295dbb73 100644 --- a/src/components/widgets/unifi_console/unifi_console.jsx +++ b/src/components/widgets/unifi_console/unifi_console.jsx @@ -14,8 +14,8 @@ import useWidgetAPI from "utils/proxy/use-widget-api"; export default function Widget({ options }) { const { t } = useTranslation(); - // eslint-disable-next-line no-param-reassign - options.type = "unifi_console"; + // eslint-disable-next-line no-param-reassign, no-multi-assign + options.service_group = options.service_name = "unifi_console"; const { data: statsData, error: statsError } = useWidgetAPI(options, "stat/sites", { index: options.index }); if (statsError) { diff --git a/src/pages/api/services/proxy.js b/src/pages/api/services/proxy.js index b77c5dd55..02214a637 100644 --- a/src/pages/api/services/proxy.js +++ b/src/pages/api/services/proxy.js @@ -12,8 +12,11 @@ export default async function handler(req, res) { const { service, group } = req.query; const serviceWidget = await getServiceWidget(group, service); let type = serviceWidget?.type; - // calendar is an alias for ical + + // exceptions if (type === "calendar") type = "ical"; + else if (service === "unifi_console" && group === "unifi_console") type = "unifi_console"; + const widget = widgets[type]; if (!widget) { @@ -49,15 +52,17 @@ export default async function handler(req, res) { if (req.query.segments) { const segments = JSON.parse(req.query.segments); - for (const key in segments) { + let validSegments = true; + Object.keys(segments).forEach((key) => { if (!mapping.segments.includes(key)) { logger.debug("Unsupported segment: %s", key); - return res.status(403).json({ error: "Unsupported segment" }); + validSegments = false; } else if (segments[key].includes("/") || segments[key].includes("\\") || segments[key].includes("..")) { logger.debug("Unsupported segment value: %s", segments[key]); - return res.status(403).json({ error: "Unsupported segment value" }); + validSegments = false; } - } + }); + if (!validSegments) return res.status(403).json({ error: "Unsupported segment" }); req.query.endpoint = formatApiCall(endpoint, segments); } diff --git a/src/widgets/unifi/proxy.js b/src/widgets/unifi/proxy.js index c8356c1bd..98c98f377 100644 --- a/src/widgets/unifi/proxy.js +++ b/src/widgets/unifi/proxy.js @@ -14,13 +14,13 @@ const prefixCacheKey = `${proxyName}__prefix`; const logger = createLogger(proxyName); async function getWidget(req) { - const { group, service, type } = req.query; + const { group, service } = req.query; let widget = null; - if (type === "unifi_console") { + if (group === "unifi_console" && service === "unifi_console") { // info widget const index = req.query?.query ? JSON.parse(req.query.query).index : undefined; - widget = await getPrivateWidgetOptions(type, index); + widget = await getPrivateWidgetOptions("unifi_console", index); if (!widget) { logger.debug("Error retrieving settings for this Unifi widget"); return null; From 19c3ac0d7efa9b4f063ee228f613c7cdd649811f Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 3 Jun 2024 12:03:10 -0700 Subject: [PATCH 09/20] Enforce method --- src/pages/api/services/proxy.js | 5 +++++ src/widgets/emby/component.jsx | 4 +++- src/widgets/stash/component.jsx | 18 +++++++++++++----- src/widgets/unmanic/component.jsx | 22 ++++++++++++++++++---- src/widgets/uptimerobot/component.jsx | 18 +++++++++++++----- 5 files changed, 52 insertions(+), 15 deletions(-) diff --git a/src/pages/api/services/proxy.js b/src/pages/api/services/proxy.js index 02214a637..fd39ab96a 100644 --- a/src/pages/api/services/proxy.js +++ b/src/pages/api/services/proxy.js @@ -41,6 +41,11 @@ export default async function handler(req, res) { const endpoint = mapping?.endpoint; const endpointProxy = mapping?.proxyHandler || serviceProxyHandler; + if (mapping.method && mapping.method !== req.method) { + logger.debug("Unsupported method: %s", req.method); + return res.status(403).json({ error: "Unsupported method" }); + } + if (!endpoint) { logger.debug("Unsupported service endpoint: %s", type); return res.status(403).json({ error: "Unsupported service endpoint" }); diff --git a/src/widgets/emby/component.jsx b/src/widgets/emby/component.jsx index 090a9c3f4..6f66d1dc4 100644 --- a/src/widgets/emby/component.jsx +++ b/src/widgets/emby/component.jsx @@ -225,7 +225,9 @@ export default function Component({ service }) { }), ); const url = `/api/services/proxy?${params.toString()}`; - await fetch(url).then(() => { + await fetch(url, { + method: "POST", + }).then(() => { sessionMutate(); }); } diff --git a/src/widgets/stash/component.jsx b/src/widgets/stash/component.jsx index 66f949c12..3d64c4902 100644 --- a/src/widgets/stash/component.jsx +++ b/src/widgets/stash/component.jsx @@ -1,18 +1,26 @@ import { useTranslation } from "next-i18next"; +import { useEffect, useState } from "react"; import Container from "components/services/widget/container"; import Block from "components/services/widget/block"; -import useWidgetAPI from "utils/proxy/use-widget-api"; +import { formatProxyUrl } from "utils/proxy/api-helpers"; export default function Component({ service }) { const { t } = useTranslation(); const { widget } = service; - const { data: stats, error: stashError } = useWidgetAPI(widget, "stats"); + const [stats, setStats] = useState(null); - if (stashError) { - return ; - } + useEffect(() => { + async function fetchStats() { + const url = formatProxyUrl(widget, "stats"); + const res = await fetch(url, { method: "POST" }); + setStats(await res.json()); + } + if (!stats) { + fetchStats(); + } + }, [widget, stats]); if (!stats) { return ( diff --git a/src/widgets/unmanic/component.jsx b/src/widgets/unmanic/component.jsx index 03447068e..986884634 100644 --- a/src/widgets/unmanic/component.jsx +++ b/src/widgets/unmanic/component.jsx @@ -1,16 +1,30 @@ +import { useEffect, useState } from "react"; + import Container from "components/services/widget/container"; import Block from "components/services/widget/block"; import useWidgetAPI from "utils/proxy/use-widget-api"; +import { formatProxyUrl } from "utils/proxy/api-helpers"; export default function Component({ service }) { const { widget } = service; const { data: workersData, error: workersError } = useWidgetAPI(widget, "workers"); - const { data: pendingData, error: pendingError } = useWidgetAPI(widget, "pending"); - if (workersError || pendingError) { - const finalError = workersError ?? pendingError; - return ; + const [pendingData, setPendingData] = useState(null); + + useEffect(() => { + async function fetchPending() { + const url = formatProxyUrl(widget, "pending"); + const res = await fetch(url, { method: "POST" }); + setPendingData(await res.json()); + } + if (!pendingData) { + fetchPending(); + } + }, [widget, pendingData]); + + if (workersError) { + return ; } if (!workersData || !pendingData) { diff --git a/src/widgets/uptimerobot/component.jsx b/src/widgets/uptimerobot/component.jsx index c0cb670f3..274854019 100644 --- a/src/widgets/uptimerobot/component.jsx +++ b/src/widgets/uptimerobot/component.jsx @@ -1,18 +1,26 @@ import { useTranslation } from "next-i18next"; +import { useEffect, useState } from "react"; import Container from "components/services/widget/container"; import Block from "components/services/widget/block"; -import useWidgetAPI from "utils/proxy/use-widget-api"; +import { formatProxyUrl } from "utils/proxy/api-helpers"; export default function Component({ service }) { const { widget } = service; const { t } = useTranslation(); - const { data: uptimerobotData, error: uptimerobotError } = useWidgetAPI(widget, "getmonitors"); + const [uptimerobotData, setUptimerobotData] = useState(null); - if (uptimerobotError) { - return ; - } + useEffect(() => { + async function fetchData() { + const url = formatProxyUrl(widget, "getmonitors"); + const res = await fetch(url, { method: "POST" }); + setUptimerobotData(await res.json()); + } + if (!uptimerobotData) { + fetchData(); + } + }, [widget, uptimerobotData]); if (!uptimerobotData) { return ( From 67a69a5878eea0b85407eec59e3743dd4edc53d5 Mon Sep 17 00:00:00 2001 From: Conner Hnatiuk <46903591+ConnerWithAnE@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:52:58 -0600 Subject: [PATCH 10/20] Fix: wg-easy threshold not properly computed (#3574) --- src/widgets/wgeasy/component.jsx | 2 +- src/widgets/wgeasy/proxy.js | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/widgets/wgeasy/component.jsx b/src/widgets/wgeasy/component.jsx index 0289d48c4..624002c4f 100644 --- a/src/widgets/wgeasy/component.jsx +++ b/src/widgets/wgeasy/component.jsx @@ -28,7 +28,7 @@ export default function Component({ service }) { const enabled = infoData.filter((item) => item.enabled).length; const disabled = infoData.length - enabled; - const connectionThreshold = widget.threshold ?? 2 * 60 * 1000; + const connectionThreshold = (widget.threshold ?? 2) * 60 * 1000; const currentTime = new Date(); const connected = infoData.filter( (item) => currentTime - new Date(item.latestHandshakeAt) < connectionThreshold, diff --git a/src/widgets/wgeasy/proxy.js b/src/widgets/wgeasy/proxy.js index ec733475e..63338f138 100644 --- a/src/widgets/wgeasy/proxy.js +++ b/src/widgets/wgeasy/proxy.js @@ -21,14 +21,21 @@ async function login(widget, service) { }); try { - const connectSidCookie = responseHeaders["set-cookie"] + const connectSidCookie = responseHeaders["set-cookie"]; + if (!connectSidCookie) { + const sid = cache.get(`${sessionSIDCacheKey}.${service}`); + if (sid) { + return sid; + } + } + connectSidCookie = connectSidCookie .find((cookie) => cookie.startsWith("connect.sid=")) .split(";")[0] .replace("connect.sid=", ""); cache.put(`${sessionSIDCacheKey}.${service}`, connectSidCookie); return connectSidCookie; } catch (e) { - logger.error(`Error logging into wg-easy`); + logger.error(`Error logging into wg-easy, error: ${e}`); cache.del(`${sessionSIDCacheKey}.${service}`); return null; } From 9a20982406b1469438bb29f67c7f29753a929fae Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 4 Jun 2024 00:03:48 -0700 Subject: [PATCH 11/20] Lint wg-easy --- src/widgets/wgeasy/proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/wgeasy/proxy.js b/src/widgets/wgeasy/proxy.js index 63338f138..d4289dc66 100644 --- a/src/widgets/wgeasy/proxy.js +++ b/src/widgets/wgeasy/proxy.js @@ -21,7 +21,7 @@ async function login(widget, service) { }); try { - const connectSidCookie = responseHeaders["set-cookie"]; + let connectSidCookie = responseHeaders["set-cookie"]; if (!connectSidCookie) { const sid = cache.get(`${sessionSIDCacheKey}.${service}`); if (sid) { From ccc27142ef0c5fa197638e26e6e4685d78ddbf4e Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 4 Jun 2024 00:05:06 -0700 Subject: [PATCH 12/20] Fix: caddy widget broken in 0.9.1 (#3579) --- src/widgets/caddy/component.jsx | 2 +- src/widgets/caddy/widget.js | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/widgets/caddy/component.jsx b/src/widgets/caddy/component.jsx index adeca2371..36e5f959a 100644 --- a/src/widgets/caddy/component.jsx +++ b/src/widgets/caddy/component.jsx @@ -8,7 +8,7 @@ export default function Component({ service }) { const { t } = useTranslation(); const { widget } = service; - const { data: resultData, error: resultError } = useWidgetAPI(widget, "result"); + const { data: resultData, error: resultError } = useWidgetAPI(widget, "upstreams"); if (resultError) { return ; diff --git a/src/widgets/caddy/widget.js b/src/widgets/caddy/widget.js index 2fb1978bc..7e1dc6ba4 100644 --- a/src/widgets/caddy/widget.js +++ b/src/widgets/caddy/widget.js @@ -1,8 +1,14 @@ import genericProxyHandler from "utils/proxy/handlers/generic"; const widget = { - api: "{url}/reverse_proxy/upstreams", + api: "{url}/{endpoint}", proxyHandler: genericProxyHandler, + + mappings: { + upstreams: { + endpoint: "reverse_proxy/upstreams", + }, + }, }; export default widget; From 9803ef70c644096284e1d925ac58449d40709edc Mon Sep 17 00:00:00 2001 From: Liran Vaknin Date: Tue, 4 Jun 2024 10:11:11 +0300 Subject: [PATCH 13/20] Fix: openwrt widget handle null id in json rpc responses and cpu load representation (#3576) --- src/utils/proxy/handlers/jsonrpc.js | 4 ++++ src/widgets/openwrt/proxy.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/utils/proxy/handlers/jsonrpc.js b/src/utils/proxy/handlers/jsonrpc.js index 4e79b76b0..b1b080fd0 100644 --- a/src/utils/proxy/handlers/jsonrpc.js +++ b/src/utils/proxy/handlers/jsonrpc.js @@ -31,6 +31,10 @@ export async function sendJsonRpcRequest(url, method, params, username, password if (status === 200) { const json = JSON.parse(data.toString()); + if (json.id === null) { + json.id = 1; + } + // in order to get access to the underlying error object in the JSON response // you must set `result` equal to undefined if (json.error && json.result === null) { diff --git a/src/widgets/openwrt/proxy.js b/src/widgets/openwrt/proxy.js index 04c7a5039..977db8ca9 100644 --- a/src/widgets/openwrt/proxy.js +++ b/src/widgets/openwrt/proxy.js @@ -77,7 +77,7 @@ async function fetchSystem(url) { const systemResponse = JSON.parse(data.toString())[1]; const response = { uptime: systemResponse.uptime, - cpuLoad: systemResponse.load[1], + cpuLoad: (systemResponse.load[1] / 65536.0).toFixed(2), }; return [200, contentType, response]; } From 15cc1d98c5199719284837618dc091c17d28b86c Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 4 Jun 2024 07:28:45 -0700 Subject: [PATCH 14/20] Fix: omada widget broken in v0.9.1 (#3587) --- src/widgets/omada/component.jsx | 2 +- src/widgets/omada/widget.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/widgets/omada/component.jsx b/src/widgets/omada/component.jsx index c4da60677..e63f93d36 100644 --- a/src/widgets/omada/component.jsx +++ b/src/widgets/omada/component.jsx @@ -9,7 +9,7 @@ export default function Component({ service }) { const { widget } = service; - const { data: omadaData, error: omadaAPIError } = useWidgetAPI(widget, { + const { data: omadaData, error: omadaAPIError } = useWidgetAPI(widget, "info", { refreshInterval: 5000, }); diff --git a/src/widgets/omada/widget.js b/src/widgets/omada/widget.js index 5e32edad7..3f5a70a16 100644 --- a/src/widgets/omada/widget.js +++ b/src/widgets/omada/widget.js @@ -2,6 +2,12 @@ import omadaProxyHandler from "./proxy"; const widget = { proxyHandler: omadaProxyHandler, + + mappings: { + info: { + endpoint: "api/info", + }, + }, }; export default widget; From 35dd7ec230fa5f7863d016e2acc91d13de584cf8 Mon Sep 17 00:00:00 2001 From: Aldy J Date: Wed, 5 Jun 2024 11:29:13 +0700 Subject: [PATCH 15/20] Enhancement: support multiple instance annotation for Kubernetes Automatic Service Discovery (#3590) --- docs/configs/kubernetes.md | 2 ++ src/utils/config/service-helpers.js | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/configs/kubernetes.md b/docs/configs/kubernetes.md index 6ba995c49..c76813f47 100644 --- a/docs/configs/kubernetes.md +++ b/docs/configs/kubernetes.md @@ -98,6 +98,8 @@ When the Kubernetes cluster connection has been properly configured, this servic If you are using multiple instances of homepage, an `instance` annotation can be specified to limit services to a specific instance. If no instance is provided, the service will be visible on all instances. +If you have a single service that needs to be shown on multiple specific instances of homepage (but not on all of them), the service can be annotated by multiple `instance.name` annotations, where `name` can be the names of your specific multiple homepage instances. For example, a service that is annotated with `gethomepage.dev/instance.public: ""` and `gethomepage.dev/instance.internal: ""` will be shown on `public` and `internal` homepage instances. + ### Traefik IngressRoute support Homepage can also read ingresses defined using the Traefik IngressRoute custom resource definition. Due to the complex nature of Traefik routing rules, it is required for the `gethomepage.dev/href` annotation to be set: diff --git a/src/utils/config/service-helpers.js b/src/utils/config/service-helpers.js index 8e2f12d54..7de077bff 100644 --- a/src/utils/config/service-helpers.js +++ b/src/utils/config/service-helpers.js @@ -254,7 +254,8 @@ export async function servicesFromKubernetes() { ingress.metadata.annotations && ingress.metadata.annotations[`${ANNOTATION_BASE}/enabled`] === "true" && (!ingress.metadata.annotations[`${ANNOTATION_BASE}/instance`] || - ingress.metadata.annotations[`${ANNOTATION_BASE}/instance`] === instanceName), + ingress.metadata.annotations[`${ANNOTATION_BASE}/instance`] === instanceName || + `${ANNOTATION_BASE}/instance.${instanceName}` in ingress.metadata.annotations), ) .map((ingress) => { let constructedService = { From 36e77e1fe37dda4ebb32340214f9a927c6ca443e Mon Sep 17 00:00:00 2001 From: Heng-Yi Wu <2316687+henry40408@users.noreply.github.com> Date: Wed, 5 Jun 2024 15:56:28 +0800 Subject: [PATCH 16/20] Fix: coinmarketcap widget dropdown not clickable (#3591) --- src/widgets/coinmarketcap/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/coinmarketcap/component.jsx b/src/widgets/coinmarketcap/component.jsx index c351cd8d7..7e717bef5 100644 --- a/src/widgets/coinmarketcap/component.jsx +++ b/src/widgets/coinmarketcap/component.jsx @@ -65,7 +65,7 @@ export default function Component({ service }) { return ( -
+
From f0d7cf3ce6b5693cce31a76f345db68e5127f6cf Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 5 Jun 2024 19:38:26 -0700 Subject: [PATCH 17/20] Security: Sanitize widget api keys from response Closes https://github.com/gethomepage/homepage/security/advisories/GHSA-cjgf-vhj6-8cx4 --- src/pages/api/widgets/openweathermap.js | 6 ++++-- src/pages/api/widgets/weather.js | 6 ++++-- src/utils/config/widget-helpers.js | 5 +++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/pages/api/widgets/openweathermap.js b/src/pages/api/widgets/openweathermap.js index a20709975..089ee804e 100644 --- a/src/pages/api/widgets/openweathermap.js +++ b/src/pages/api/widgets/openweathermap.js @@ -1,9 +1,11 @@ import cachedFetch from "utils/proxy/cached-fetch"; import { getSettings } from "utils/config/config"; +import { getPrivateWidgetOptions } from "utils/config/widget-helpers"; export default async function handler(req, res) { - const { latitude, longitude, units, provider, cache, lang } = req.query; - let { apiKey } = req.query; + const { latitude, longitude, units, provider, cache, lang, index } = req.query; + const privateWidgetOptions = await getPrivateWidgetOptions("openweathermap", index); + let { apiKey } = privateWidgetOptions; if (!apiKey && !provider) { return res.status(400).json({ error: "Missing API key or provider" }); diff --git a/src/pages/api/widgets/weather.js b/src/pages/api/widgets/weather.js index 5cba47ba7..9d0451ce9 100644 --- a/src/pages/api/widgets/weather.js +++ b/src/pages/api/widgets/weather.js @@ -1,9 +1,11 @@ import cachedFetch from "utils/proxy/cached-fetch"; import { getSettings } from "utils/config/config"; +import { getPrivateWidgetOptions } from "utils/config/widget-helpers"; export default async function handler(req, res) { - const { latitude, longitude, provider, cache, lang } = req.query; - let { apiKey } = req.query; + const { latitude, longitude, provider, cache, lang, index } = req.query; + const privateWidgetOptions = await getPrivateWidgetOptions("weatherapi", index); + let { apiKey } = privateWidgetOptions; if (!apiKey && !provider) { return res.status(400).json({ error: "Missing API key or provider" }); diff --git a/src/utils/config/widget-helpers.js b/src/utils/config/widget-helpers.js index 6514fea2c..7c5c78cd5 100644 --- a/src/utils/config/widget-helpers.js +++ b/src/utils/config/widget-helpers.js @@ -32,7 +32,7 @@ export async function cleanWidgetGroups(widgets) { const optionKeys = Object.keys(sanitizedOptions); // delete private options from the sanitized options - ["username", "password", "key"].forEach((pO) => { + ["username", "password", "key", "apiKey"].forEach((pO) => { if (optionKeys.includes(pO)) { delete sanitizedOptions[pO]; } @@ -57,7 +57,7 @@ export async function getPrivateWidgetOptions(type, widgetIndex) { const widgets = await widgetsFromConfig(); const privateOptions = widgets.map((widget) => { - const { index, url, username, password, key } = widget.options; + const { index, url, username, password, key, apiKey } = widget.options; return { type: widget.type, @@ -67,6 +67,7 @@ export async function getPrivateWidgetOptions(type, widgetIndex) { username, password, key, + apiKey, }, }; }); From af1695687a21d2db50bd3566e8474cd5eb3e43a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 19:38:39 -0700 Subject: [PATCH 18/20] New Crowdin translations by GitHub Action (#3589) Co-authored-by: Crowdin Bot --- public/locales/es/common.json | 44 +++++++++++++++++------------------ public/locales/fr/common.json | 8 +++---- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/public/locales/es/common.json b/public/locales/es/common.json index c3306fe83..075a4c566 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -140,7 +140,7 @@ "connectionStatusPendingDisconnect": "Desconexión pendiente", "connectionStatusDisconnecting": "Desconectando", "connectionStatusDisconnected": "Desconectado", - "connectionStatusConnected": "Connected", + "connectionStatusConnected": "Conectado", "uptime": "Tiempo activo", "maxDown": "Descarga máxima", "maxUp": "Subida máxima", @@ -279,9 +279,9 @@ }, "netalertx": { "total": "Total", - "connected": "Connected", - "new_devices": "New Devices", - "down_alerts": "Down Alerts" + "connected": "Conectado", + "new_devices": "Nuevos dispositivos", + "down_alerts": "Alertas de caída" }, "pihole": { "queries": "Consultas", @@ -544,7 +544,7 @@ "hdhomerun": { "channels": "Canales", "hd": "Alta definición", - "tunerCount": "Tuners", + "tunerCount": "Sintonizadores", "channelNumber": "Canal", "channelNetwork": "Red", "signalStrength": "Intensidad", @@ -827,7 +827,7 @@ }, "romm": { "platforms": "Plataformas", - "totalRoms": "Total ROMs" + "totalRoms": "ROMs totales" }, "netdata": { "warnings": "Advertencias", @@ -835,38 +835,38 @@ }, "plantit": { "events": "Eventos", - "plants": "Plants", + "plants": "Plantas", "photos": "Fotos", - "species": "Species" + "species": "Especies" }, "gitea": { "notifications": "Notificaciones", "issues": "Números", - "pulls": "Pull Requests" + "pulls": "Solicitudes de cambios" }, "stash": { - "scenes": "Scenes", - "scenesPlayed": "Scenes Played", - "playCount": "Total Plays", - "playDuration": "Time Watched", - "sceneSize": "Scenes Size", - "sceneDuration": "Scenes Duration", + "scenes": "Escenas", + "scenesPlayed": "Escenas reproducidas", + "playCount": "Reproducciones totales", + "playDuration": "Tiempo visto", + "sceneSize": "Tamaño de las escenas", + "sceneDuration": "Duración de las escenas", "images": "Imágenes", "imageSize": "Tamaño de imagen", "galleries": "Galerías", - "performers": "Performers", - "studios": "Studios", + "performers": "Intérpretes", + "studios": "Estudios", "movies": "Películas", "tags": "Etiquetas", - "oCount": "O Count" + "oCount": "O cuenta" }, "tandoor": { "users": "Usuarios", "recipes": "Recetas", - "keywords": "Keywords" + "keywords": "Palabras clave" }, "homebox": { - "items": "Items", + "items": "Objetos", "totalWithWarranty": "Con Garantía", "locations": "Ubicaciones", "labels": "Etiquetas", @@ -875,10 +875,10 @@ }, "crowdsec": { "alerts": "Alertas", - "bans": "Bans" + "bans": "Baneos" }, "wgeasy": { - "connected": "Connected", + "connected": "Conectado", "enabled": "Activado", "disabled": "Desactivado", "total": "Total" diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 401b7464a..beb8420c6 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -884,9 +884,9 @@ "total": "Total" }, "swagdashboard": { - "proxied": "Proxied", - "auth": "With Auth", - "outdated": "Outdated", - "banned": "Banned" + "proxied": "Par proxy", + "auth": "Avec authentification", + "outdated": "Obsolète", + "banned": "Banni" } } From e6f2ff970b3fc3cdb62b20e8a75bf2e4e577444f Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 6 Jun 2024 12:38:27 -0700 Subject: [PATCH 19/20] Documentation: clarify deployment recs --- README.md | 4 ++++ docs/installation/index.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 4c41e227f..f14bdfad8 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,10 @@ Homepage is highly customizable, with support for custom themes, custom CSS & JS For configuration options, examples and more, [please check out the homepage documentation](http://gethomepage.dev). +## Security Notice 🔒 + +Please note that when using features such as widgets, Homepage can access personal information (for example from your home automation system) and Homepage currently does not (and is not planned to) include any authentication layer itself. Thus, we recommend homepage be deployed behind a reverse proxy including authentication, SSL etc, and / or behind a VPN. + ## With Docker Using docker compose: diff --git a/docs/installation/index.md b/docs/installation/index.md index f1d317c45..beb370c11 100644 --- a/docs/installation/index.md +++ b/docs/installation/index.md @@ -7,6 +7,10 @@ description: Docs intro You have a few options for deploying homepage, depending on your needs. We offer docker images for a majority of platforms. You can also install and run homepage from source if Docker is not your thing. It can even be installed on Kubernetes with Helm.

+!!! danger + + Please note that when using features such as widgets, Homepage can access personal information (for example from your home automation system) and Homepage currently does not (and is not planned to) include any authentication layer itself. Thus, we recommend homepage be deployed behind a reverse proxy including authentication, SSL etc, and / or behind a VPN. +
From 5afcf445be67e9b2f98c7c3fa7c8eef807014437 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 9 Jun 2024 07:35:17 -0700 Subject: [PATCH 20/20] Documentation: fix broken mjpeg image --- docs/widgets/services/mjpeg.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/widgets/services/mjpeg.md b/docs/widgets/services/mjpeg.md index e0e912d03..b0784ff0d 100644 --- a/docs/widgets/services/mjpeg.md +++ b/docs/widgets/services/mjpeg.md @@ -3,7 +3,7 @@ title: MJPEG description: MJPEG Stream Widget Configuration --- -![camera-preview](https://github.com/gethomepage/homepage-docs/assets/82196/dc375ae3-0670-489f-8db6-83ff1f423d12) +![camera-preview](https://github.com/gethomepage/homepage/assets/4887959/dbc388d7-04a6-482c-8f36-f9534689b062) Pass the stream URL from a service like [µStreamer](https://github.com/pikvm/ustreamer) or [camera-streamer](https://github.com/ayufan/camera-streamer).