From ed0aa08641adbf898c092e97af3e57c51570002d Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 22 Oct 2022 08:45:40 -0700 Subject: [PATCH 001/142] Fix viewport meta tag location see https://nextjs.org/docs/messages/no-document-viewport-meta --- src/pages/_app.jsx | 5 +++++ src/pages/_document.jsx | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/_app.jsx b/src/pages/_app.jsx index e87bd90a..e99303ab 100644 --- a/src/pages/_app.jsx +++ b/src/pages/_app.jsx @@ -1,6 +1,7 @@ /* eslint-disable react/jsx-props-no-spreading */ import { SWRConfig } from "swr"; import { appWithTranslation } from "next-i18next"; +import Head from "next/head"; import "styles/globals.css"; import "styles/theme.css"; @@ -18,6 +19,10 @@ function MyApp({ Component, pageProps }) { fetcher: (resource, init) => fetch(resource, init).then((res) => res.json()), }} > + + {/* https://nextjs.org/docs/messages/no-document-viewport-meta */} + + diff --git a/src/pages/_document.jsx b/src/pages/_document.jsx index 5f9e06fb..7e02a005 100644 --- a/src/pages/_document.jsx +++ b/src/pages/_document.jsx @@ -9,7 +9,6 @@ export default function Document() { content="A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations." /> - From 9844127eed4a96f81d0b29ea557a0866cac931e3 Mon Sep 17 00:00:00 2001 From: Radu Ursache <3800336+rursache@users.noreply.github.com> Date: Sun, 23 Oct 2022 18:35:35 +0300 Subject: [PATCH 002/142] Fixed typo in Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1630d1ba..89c73b49 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ - Images built for AMD64 (x86_64), ARM64, ARMv7 and ARMv6 - Supports all Raspberry Pi's, most SBCs & Apple Silicon - Full i18n support with automatic language detection - - Translations for Catalan, Chinese, Dutch, Finnish, French, German, Hebrew, Hungarian, Norwegian Bokmål, Polish, Portuguese, Portuguese (Brazil), Romainian, Russian, Spanish, Swedish and Yue + - Translations for Catalan, Chinese, Dutch, Finnish, French, German, Hebrew, Hungarian, Norwegian Bokmål, Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Spanish, Swedish and Yue - Want to help translate? [Join the Weblate project](https://hosted.weblate.org/engage/homepage/) - Service & Web Bookmarks - Docker Integration From 78f9abe350063e7e901f4d0cb3697aff4d73213c Mon Sep 17 00:00:00 2001 From: Fernando Neira Date: Sat, 22 Oct 2022 21:53:03 +0000 Subject: [PATCH 003/142] Translated using Weblate (Spanish) Currently translated at 100.0% (204 of 204 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/es/ --- public/locales/es/common.json | 62 +++++++++++++++++------------------ 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 878c0bd3..4fc42e8f 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -209,36 +209,36 @@ "wait": "Espere por favor" }, "changedetectionio": { - "totalObserved": "Observados en Total", - "diffsDetected": "Diffs Detected" + "totalObserved": "Total Observados", + "diffsDetected": "Diferencias detectadas" }, "wmo": { "48-night": "Niebla", - "51-day": "Light Drizzle", - "51-night": "Light Drizzle", - "2-day": "Parcialmente Nuboso", + "51-day": "Llovizna ligera", + "51-night": "Llovizna ligera", + "2-day": "Parcialmente nuboso", "0-day": "Soleado", "0-night": "Despejado", - "1-day": "Mayormente Soleado", - "1-night": "Mayormente Despejado", - "2-night": "Parcialmente Nuboso", - "3-day": "Nubaldo", + "1-day": "Mayormente soleado", + "1-night": "Mayormente despejado", + "2-night": "Parcialmente nuboso", + "3-day": "Nublado", "3-night": "Nublado", "45-day": "Niebla", "45-night": "Niebla", "48-day": "Niebla", - "53-day": "Drizzle", - "53-night": "Drizzle", - "55-day": "Heavy Drizzle", - "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", + "53-day": "Llovizna", + "53-night": "Llovizna", + "55-day": "Llovizna pesada", + "55-night": "Llovizna pesada", + "56-day": "Llovizna helada ligera", + "56-night": "Llovizna helada ligera", + "57-day": "Llovizna helada", + "57-night": "Llovizna helada", + "61-day": "Lluvia ligera", + "61-night": "Lluvia ligera", "67-day": "Granizo", - "63-day": "Rain", + "63-day": "Lluvia", "63-night": "Lluvia", "65-day": "Chubascos", "65-night": "Chubascos", @@ -260,18 +260,18 @@ "82-day": "Chubascos", "82-night": "Chubascos", "85-day": "Chubascos", - "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" + "85-night": "Lluvia de nieve", + "86-day": "Lluvia de nieve", + "86-night": "Lluvia de nieve", + "95-day": "Tormenta", + "95-night": "Tormenta", + "96-day": "Tormenta con granizo", + "96-night": "Tormenta con granizo", + "99-day": "Tormenta con granizo", + "99-night": "Tormenta con granizo" }, "quicklaunch": { - "bookmark": "Bookmark", - "service": "Service" + "bookmark": "Marcadores", + "service": "Servicio" } } From 858628b912f29310834792b601a93f55e96d3d6c Mon Sep 17 00:00:00 2001 From: Nonoss117 Date: Sat, 22 Oct 2022 06:56:29 +0000 Subject: [PATCH 004/142] Translated using Weblate (French) Currently translated at 100.0% (204 of 204 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 5ad3b752..c22216a8 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -271,7 +271,7 @@ "0-day": "Ensoleillé" }, "quicklaunch": { - "bookmark": "Bookmark", + "bookmark": "Signet", "service": "Service" } } From 6c50b7dafe7bf69e48b8587cffade3968b662114 Mon Sep 17 00:00:00 2001 From: E D Date: Fri, 21 Oct 2022 21:31:15 +0000 Subject: [PATCH 005/142] Translated using Weblate (Italian) Currently translated at 81.3% (166 of 204 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/it/ --- public/locales/it/common.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/public/locales/it/common.json b/public/locales/it/common.json index fc1d0d3a..24982202 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -220,8 +220,8 @@ "1-day": "Mainly Sunny", "1-night": "Mainly Clear", "2-day": "Parzialmente Nuvoloso", - "3-day": "Cloudy", - "3-night": "Cloudy", + "3-day": "Nuvoloso", + "3-night": "Nuvoloso", "45-day": "Nebbioso", "45-night": "Nebbioso", "48-day": "Nebbioso", @@ -241,10 +241,10 @@ "63-day": "Pioggia", "63-night": "Pioggia", "65-night": "Heavy Rain", - "66-day": "Freezing Rain", - "66-night": "Freezing Rain", - "67-day": "Freezing Rain", - "67-night": "Freezing Rain", + "66-day": "Grandine", + "66-night": "Grandine", + "67-day": "Grandine", + "67-night": "Grandine", "71-day": "Light Snow", "71-night": "Light Snow", "73-day": "Neve", @@ -263,15 +263,15 @@ "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" + "95-day": "Temporale", + "95-night": "Temporale", + "96-day": "Temporale con grandine", + "96-night": "Temporale con grandine", + "99-day": "Temporale con grandine", + "99-night": "Temporale con grandine" }, "quicklaunch": { "bookmark": "Bookmark", - "service": "Service" + "service": "Servizio" } } From 2cfcec30e9cefe8a010060ddf969774afe480c5c Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 24 Oct 2022 10:10:28 -0700 Subject: [PATCH 006/142] Change wiki links to gethomepage.dev --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 89c73b49..bbef083b 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ If you have a more specific issue, please open an issue on the [Issues](https:// ## Getting Started -For configuration options, examples and more, [please check out the Wiki](https://github.com/benphelps/homepage/wiki). +For configuration options, examples and more, [please check out the homepage site](http://gethomepage.dev). ### With Docker @@ -122,7 +122,7 @@ Configuration files will be genereted and placed on the first request. Configuration is done in the /config directory using .yaml files. Refer to each config for the specific configuration options. -You may also check [the wiki](https://github.com/benphelps/homepage/wiki) for detailed configuration instructions, examples and more. +You may also check [the homepage site](http://gethomepage.dev) for detailed configuration instructions, examples and more. ## Development From 428f0385f6b86718544f7b0d27837209c2f66f33 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 24 Oct 2022 11:46:55 -0700 Subject: [PATCH 007/142] Use issue forms --- .github/ISSUE_TEMPLATE/bug_report.md | 30 ---------- .github/ISSUE_TEMPLATE/bug_report.yml | 66 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 17 ------ .github/ISSUE_TEMPLATE/feature_request.yml | 17 ++++++ 4 files changed, 83 insertions(+), 47 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 48ae7fdc..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: "[Bug] " -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Configuration** -If applicable, -```yaml -# Please provide your service, widget or otherwise related configuration here -``` - -**Additional context** -Add any other context about the problem here. This includes things like: - - Service version or API version - - Docker version - - Deployment method - - Sample YAML configurations diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..fbeb7902 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,66 @@ +name: Bug report +description: Create a report to help us improve +title: "[Bug] " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Have a question? 👉 [Start a new discussion](https://github.com/benphelps/homepage/discussions/new) or [ask in chat](https://discord.gg/SaPGSzrEZC). + + Before opening an issue, please double check: + + - [The troubleshooting guide](https://gethomepage.dev/en/more/troubleshooting/). + - [The homepage documentation](https://gethomepage.dev/) + - [Existing issues](https://github.com/benphelps/homepage/search?q=&type=issues) and [discussions](https://github.com/benphelps/homepage/search?q=&type=discussions). + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of what the bug is. If applicable, add screenshots to help explain your problem. + placeholder: | + Currently homepage does not work when... + + [Screenshot if applicable] + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Steps to reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. See error + validations: + required: true + - type: input + id: version + attributes: + label: homepage version + placeholder: e.g. v0.4.18 (4ea2798) + validations: + required: true + - type: dropdown + id: install-method + attributes: + label: Installation method + options: + - Docker + - Unraid + - Source + - Other (please describe above) + validations: + required: true + - type: textarea + id: config + attributes: + label: Configuration + description: Please provide any relevant service, widget or otherwise related configuration here + render: yaml + - type: textarea + id: other + attributes: + label: Other + description: Any other relevant details. E.g. service version or API version, docker version, etc. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 05d91b52..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: "[Feature Request] " -labels: '' -assignees: '' - ---- - -**Is your feature request related to a service? Please describe.** -A clear and concise description of what you would like to see from this service. - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I would like it if [...] - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..5ddcb12e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,17 @@ +name: Feature request +description: Suggest an idea for this project +title: "[Feature Request] " +labels: ["enhancement"] +body: + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of what you would like to see. + validations: + required: true + - type: textarea + id: other + attributes: + label: Other + description: Add any other context or information about the feature request here. From c9512a6d26bfd6749909b8bdec15157ec8f8d4a4 Mon Sep 17 00:00:00 2001 From: Fernando Neira Date: Mon, 24 Oct 2022 16:40:49 -0300 Subject: [PATCH 008/142] add homebridge plugin --- public/locales/en/common.json | 8 +++ src/widgets/components.js | 1 + src/widgets/homebridge/component.jsx | 44 ++++++++++++ src/widgets/homebridge/proxy.js | 101 +++++++++++++++++++++++++++ src/widgets/homebridge/widget.js | 14 ++++ src/widgets/widgets.js | 2 + 6 files changed, 170 insertions(+) create mode 100644 src/widgets/homebridge/component.jsx create mode 100644 src/widgets/homebridge/proxy.js create mode 100644 src/widgets/homebridge/widget.js diff --git a/public/locales/en/common.json b/public/locales/en/common.json index f0f6e6c5..d41e30ed 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -284,5 +284,13 @@ "96-night": "Thunderstorm With Hail", "99-day": "Thunderstorm With Hail", "99-night": "Thunderstorm With Hail" + }, + "homebridge": { + "available_update": "System", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "available_homebridge_update": "Plugins", + "plugins_updates_available": "{{quantity}} Available", + "plugins_up_to_date": "Up to Date" } } diff --git a/src/widgets/components.js b/src/widgets/components.js index da6ce362..8f7bfeb9 100644 --- a/src/widgets/components.js +++ b/src/widgets/components.js @@ -9,6 +9,7 @@ const components = { docker: dynamic(() => import("./docker/component")), emby: dynamic(() => import("./emby/component")), gotify: dynamic(() => import("./gotify/component")), + homebridge: dynamic(() => import("./homebridge/component")), jackett: dynamic(() => import("./jackett/component")), jellyfin: dynamic(() => import("./emby/component")), jellyseerr: dynamic(() => import("./jellyseerr/component")), diff --git a/src/widgets/homebridge/component.jsx b/src/widgets/homebridge/component.jsx new file mode 100644 index 00000000..bc6dd87d --- /dev/null +++ b/src/widgets/homebridge/component.jsx @@ -0,0 +1,44 @@ +import { useTranslation } from "next-i18next"; + +import Container from "components/services/widget/container"; +import Block from "components/services/widget/block"; +import useWidgetAPI from "utils/proxy/use-widget-api"; + +export default function Component({ service }) { + const { t } = useTranslation(); + + const { widget } = service; + + const { data: homebridge, error: homebridgeError } = useWidgetAPI(widget, "info"); + + if (homebridgeError || (homebridge && !homebridge.data)) { + return ; + } + + if (!homebridge) { + return ( + + + + + + ); + } + + return ( + + + + + + ); +} diff --git a/src/widgets/homebridge/proxy.js b/src/widgets/homebridge/proxy.js new file mode 100644 index 00000000..7e666b53 --- /dev/null +++ b/src/widgets/homebridge/proxy.js @@ -0,0 +1,101 @@ +import cache from "memory-cache"; + +import { httpProxy } from "utils/proxy/http"; +import { formatApiCall } from "utils/proxy/api-helpers"; +import getServiceWidget from "utils/config/service-helpers"; +import createLogger from "utils/logger"; +import widgets from "widgets/widgets"; + +const proxyName = "homebridgeProxyHandler"; +const sessionTokenCacheKey = `${proxyName}__sessionToken`; +const logger = createLogger(proxyName); + +async function login(widget) { + const endpoint = "auth/login"; + const api = widgets?.[widget.type]?.api + const loginUrl = new URL(formatApiCall(api, { endpoint, ...widget })); + const loginBody = { username: widget.username, password: widget.password }; + const headers = { "Content-Type": "application/json" }; + const [status, contentType, data, responseHeaders] = await httpProxy(loginUrl, { + method: "POST", + body: JSON.stringify(loginBody), + headers, + }); + + const dataParsed = JSON.parse(data.toString()) + + cache.put(sessionTokenCacheKey, dataParsed.access_token); + + return { status, contentType, data: dataParsed, responseHeaders }; +} + +async function apiCall(widget, endpoint) { + const headers = { + "content-type": "application/json", + "Authorization": `Bearer ${cache.get(sessionTokenCacheKey)}`, + } + + const url = new URL(formatApiCall(widgets[widget.type].api, { endpoint, ...widget })); + const method = "GET"; + + let [status, contentType, data, responseHeaders] = await httpProxy(url, { + method, + headers, + }); + + if (status === 401) { + logger.debug("Homebridge is rejecting the request, but obtaining new session token"); + const { data: loginData } = login(widget); + headers.Authorization = loginData?.auth_token; + + // retry the request, now with the new session token + [status, contentType, data, responseHeaders] = await httpProxy(url, { + method, + headers, + }); + } + + if (status !== 200) { + logger.error("Error getting data from Homebridge: %d. Data: %s", status, data); + } + + return { status, contentType, data: JSON.parse(data.toString()), responseHeaders }; +} + +function formatPluginsResponse(plugins) { + const quantity = plugins?.data.filter(p => p.updateAvailable).length; + return { + updatesAvailable: quantity > 0, + quantity, + } +} + +export default async function homebridgeProxyHandler(req, res) { + const { group, service } = req.query; + + if (!group || !service) { + logger.debug("Invalid or missing service '%s' or group '%s'", service, group); + return res.status(400).json({ error: "Invalid proxy service type" }); + } + + const widget = await getServiceWidget(group, service); + + if (!widget) { + logger.debug("Invalid or missing widget for service '%s' in group '%s'", service, group); + return res.status(400).json({ error: "Invalid proxy service type" }); + } + + await login(widget); + + const statusRS = await apiCall(widget, "status/homebridge"); + const versionRS = await apiCall(widget, "status/homebridge-version"); + const pluginsRS = await apiCall(widget, "plugins"); + + return res.status(200).send({ + data: { + status: statusRS?.data?.status, + updateAvailable: versionRS?.data?.updateAvailable, + plugins: formatPluginsResponse(pluginsRS) + } + }); +} diff --git a/src/widgets/homebridge/widget.js b/src/widgets/homebridge/widget.js new file mode 100644 index 00000000..31d4f30e --- /dev/null +++ b/src/widgets/homebridge/widget.js @@ -0,0 +1,14 @@ +import homebridgeProxyHandler from "./proxy"; + +const widget = { + api: "{url}/api/{endpoint}", + proxyHandler: homebridgeProxyHandler, + + mappings: { + info: { + endpoint: "/", + } + }, +}; + +export default widget; diff --git a/src/widgets/widgets.js b/src/widgets/widgets.js index a90bd620..55379e98 100644 --- a/src/widgets/widgets.js +++ b/src/widgets/widgets.js @@ -5,6 +5,7 @@ import changedetectionio from "./changedetectionio/widget"; import coinmarketcap from "./coinmarketcap/widget"; import emby from "./emby/widget"; import gotify from "./gotify/widget"; +import homebridge from "./homebridge/widget"; import jackett from "./jackett/widget"; import jellyseerr from "./jellyseerr/widget"; import lidarr from "./lidarr/widget"; @@ -39,6 +40,7 @@ const widgets = { coinmarketcap, emby, gotify, + homebridge, jackett, jellyfin: emby, jellyseerr, From 5c5b677075f9e2b06554c6e3093d86dd6e1c358c Mon Sep 17 00:00:00 2001 From: Fernando Neira Date: Mon, 24 Oct 2022 18:09:48 -0300 Subject: [PATCH 009/142] improvements --- public/locales/en/common.json | 6 +++--- src/widgets/homebridge/component.jsx | 23 +++++++++++++++-------- src/widgets/homebridge/proxy.js | 22 ++++++++++++++++------ 3 files changed, 34 insertions(+), 17 deletions(-) diff --git a/public/locales/en/common.json b/public/locales/en/common.json index d41e30ed..aa1d6601 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -287,10 +287,10 @@ }, "homebridge": { "available_update": "System", + "updates": "Updates", "update_available": "Update Available", "up_to_date": "Up to Date", - "available_homebridge_update": "Plugins", - "plugins_updates_available": "{{quantity}} Available", - "plugins_up_to_date": "Up to Date" + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } diff --git a/src/widgets/homebridge/component.jsx b/src/widgets/homebridge/component.jsx index bc6dd87d..f8477cfc 100644 --- a/src/widgets/homebridge/component.jsx +++ b/src/widgets/homebridge/component.jsx @@ -19,8 +19,8 @@ export default function Component({ service }) { return ( - - + + ); } @@ -32,13 +32,20 @@ export default function Component({ service }) { value={homebridge.data.status} /> - + {homebridge?.data?.childBridges.quantity > 0 && + } ); } diff --git a/src/widgets/homebridge/proxy.js b/src/widgets/homebridge/proxy.js index 7e666b53..ea4c1654 100644 --- a/src/widgets/homebridge/proxy.js +++ b/src/widgets/homebridge/proxy.js @@ -70,6 +70,14 @@ function formatPluginsResponse(plugins) { } } +function formatChildBridgesResponse(childBridges) { + const quantity = childBridges?.data?.length + return { + quantity, + quantityWithOkStatus: childBridges?.data?.filter(cb => cb.status === "ok").length, + } +} + export default async function homebridgeProxyHandler(req, res) { const { group, service } = req.query; @@ -87,15 +95,17 @@ export default async function homebridgeProxyHandler(req, res) { await login(widget); - const statusRS = await apiCall(widget, "status/homebridge"); - const versionRS = await apiCall(widget, "status/homebridge-version"); - const pluginsRS = await apiCall(widget, "plugins"); + const statusRs = await apiCall(widget, "status/homebridge"); + const versionRs = await apiCall(widget, "status/homebridge-version"); + const childBrigdeRs = await apiCall(widget, "status/homebridge/child-bridges"); + const pluginsRs = await apiCall(widget, "plugins"); return res.status(200).send({ data: { - status: statusRS?.data?.status, - updateAvailable: versionRS?.data?.updateAvailable, - plugins: formatPluginsResponse(pluginsRS) + status: statusRs?.data?.status, + updateAvailable: versionRs?.data?.updateAvailable, + plugins: formatPluginsResponse(pluginsRs), + childBridges: formatChildBridgesResponse(childBrigdeRs), } }); } From b1bf251309211c447b5258a3fd631e919c901530 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 24 Oct 2022 14:27:31 -0700 Subject: [PATCH 010/142] Capitalize status =) --- src/widgets/homebridge/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/homebridge/component.jsx b/src/widgets/homebridge/component.jsx index f8477cfc..402fe566 100644 --- a/src/widgets/homebridge/component.jsx +++ b/src/widgets/homebridge/component.jsx @@ -29,7 +29,7 @@ export default function Component({ service }) { Date: Mon, 24 Oct 2022 18:42:55 -0300 Subject: [PATCH 011/142] feature: improvement login api calls --- src/widgets/homebridge/proxy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/homebridge/proxy.js b/src/widgets/homebridge/proxy.js index ea4c1654..d4a62865 100644 --- a/src/widgets/homebridge/proxy.js +++ b/src/widgets/homebridge/proxy.js @@ -93,7 +93,9 @@ export default async function homebridgeProxyHandler(req, res) { return res.status(400).json({ error: "Invalid proxy service type" }); } - await login(widget); + if (!cache.get(sessionTokenCacheKey)) { + await login(widget); + } const statusRs = await apiCall(widget, "status/homebridge"); const versionRs = await apiCall(widget, "status/homebridge-version"); From d942e989bd5cd5734b41cca5e63b0359922ca6f1 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 24 Oct 2022 14:46:22 -0700 Subject: [PATCH 012/142] Refactor proxy for brevity --- src/widgets/homebridge/component.jsx | 16 ++++++------ src/widgets/homebridge/proxy.js | 39 ++++++++++------------------ 2 files changed, 21 insertions(+), 34 deletions(-) diff --git a/src/widgets/homebridge/component.jsx b/src/widgets/homebridge/component.jsx index 402fe566..807cc49a 100644 --- a/src/widgets/homebridge/component.jsx +++ b/src/widgets/homebridge/component.jsx @@ -9,13 +9,13 @@ export default function Component({ service }) { const { widget } = service; - const { data: homebridge, error: homebridgeError } = useWidgetAPI(widget, "info"); + const { data: homebridgeData, error: homebridgeError } = useWidgetAPI(widget, "info"); - if (homebridgeError || (homebridge && !homebridge.data)) { + if (homebridgeError || homebridgeData?.error) { return ; } - if (!homebridge) { + if (!homebridgeData) { return ( @@ -29,21 +29,21 @@ export default function Component({ service }) { - {homebridge?.data?.childBridges.quantity > 0 && + {homebridgeData?.childBridges?.total > 0 && } diff --git a/src/widgets/homebridge/proxy.js b/src/widgets/homebridge/proxy.js index d4a62865..d154cd43 100644 --- a/src/widgets/homebridge/proxy.js +++ b/src/widgets/homebridge/proxy.js @@ -62,22 +62,6 @@ async function apiCall(widget, endpoint) { return { status, contentType, data: JSON.parse(data.toString()), responseHeaders }; } -function formatPluginsResponse(plugins) { - const quantity = plugins?.data.filter(p => p.updateAvailable).length; - return { - updatesAvailable: quantity > 0, - quantity, - } -} - -function formatChildBridgesResponse(childBridges) { - const quantity = childBridges?.data?.length - return { - quantity, - quantityWithOkStatus: childBridges?.data?.filter(cb => cb.status === "ok").length, - } -} - export default async function homebridgeProxyHandler(req, res) { const { group, service } = req.query; @@ -97,17 +81,20 @@ export default async function homebridgeProxyHandler(req, res) { await login(widget); } - const statusRs = await apiCall(widget, "status/homebridge"); - const versionRs = await apiCall(widget, "status/homebridge-version"); - const childBrigdeRs = await apiCall(widget, "status/homebridge/child-bridges"); - const pluginsRs = await apiCall(widget, "plugins"); + const { data: statusData } = await apiCall(widget, "status/homebridge"); + const { data: versionData } = await apiCall(widget, "status/homebridge-version"); + const { data: childBridgeData } = await apiCall(widget, "status/homebridge/child-bridges"); + const { data: pluginsData } = await apiCall(widget, "plugins"); return res.status(200).send({ - data: { - status: statusRs?.data?.status, - updateAvailable: versionRs?.data?.updateAvailable, - plugins: formatPluginsResponse(pluginsRs), - childBridges: formatChildBridgesResponse(childBrigdeRs), - } + status: statusData?.status, + updateAvailable: versionData?.updateAvailable, + plugins: { + updatesAvailable: pluginsData?.filter(p => p.updateAvailable).length, + }, + childBridges: { + running: childBridgeData?.filter(cb => cb.status === "ok").length, + total: childBridgeData?.length + } }); } From c601094c323ab00259b8a0df78d998e5df36831b Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 24 Oct 2022 22:15:16 -0700 Subject: [PATCH 013/142] fix login retry, use token expiration, object deconstruction --- src/widgets/homebridge/proxy.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/widgets/homebridge/proxy.js b/src/widgets/homebridge/proxy.js index d154cd43..b05b475c 100644 --- a/src/widgets/homebridge/proxy.js +++ b/src/widgets/homebridge/proxy.js @@ -22,11 +22,15 @@ async function login(widget) { headers, }); - const dataParsed = JSON.parse(data.toString()) - - cache.put(sessionTokenCacheKey, dataParsed.access_token); - - return { status, contentType, data: dataParsed, responseHeaders }; + try { + const { access_token, expires_in } = JSON.parse(data.toString()); + + cache.put(sessionTokenCacheKey, access_token, (expires_in * 1000) - 5 * 60 * 1000); // expires_in (s) - 5m + return { access_token }; + } catch (e) { + logger.error("Unable to login to Homebridge API: %s", e); + return { access_token: false }; + } } async function apiCall(widget, endpoint) { @@ -44,9 +48,9 @@ async function apiCall(widget, endpoint) { }); if (status === 401) { - logger.debug("Homebridge is rejecting the request, but obtaining new session token"); - const { data: loginData } = login(widget); - headers.Authorization = loginData?.auth_token; + logger.debug("Homebridge API rejected the request, attempting to obtain new session token"); + const { access_token } = login(widget); + headers.Authorization = `Bearer ${access_token}`; // retry the request, now with the new session token [status, contentType, data, responseHeaders] = await httpProxy(url, { From e19583b6b09dff6bf5b04d7b939e691007bbe22c Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 24 Oct 2022 22:21:07 -0700 Subject: [PATCH 014/142] lint --- src/widgets/homebridge/proxy.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/widgets/homebridge/proxy.js b/src/widgets/homebridge/proxy.js index b05b475c..3f81051f 100644 --- a/src/widgets/homebridge/proxy.js +++ b/src/widgets/homebridge/proxy.js @@ -16,6 +16,7 @@ async function login(widget) { const loginUrl = new URL(formatApiCall(api, { endpoint, ...widget })); const loginBody = { username: widget.username, password: widget.password }; const headers = { "Content-Type": "application/json" }; + // eslint-disable-next-line no-unused-vars const [status, contentType, data, responseHeaders] = await httpProxy(loginUrl, { method: "POST", body: JSON.stringify(loginBody), @@ -23,14 +24,15 @@ async function login(widget) { }); try { - const { access_token, expires_in } = JSON.parse(data.toString()); + const { access_token: accessToken, expires_in: expiresIn } = JSON.parse(data.toString()); - cache.put(sessionTokenCacheKey, access_token, (expires_in * 1000) - 5 * 60 * 1000); // expires_in (s) - 5m - return { access_token }; + cache.put(sessionTokenCacheKey, accessToken, (expiresIn * 1000) - 5 * 60 * 1000); // expiresIn (s) - 5m + return { accessToken }; } catch (e) { logger.error("Unable to login to Homebridge API: %s", e); - return { access_token: false }; } + + return { accessToken: false }; } async function apiCall(widget, endpoint) { @@ -49,8 +51,8 @@ async function apiCall(widget, endpoint) { if (status === 401) { logger.debug("Homebridge API rejected the request, attempting to obtain new session token"); - const { access_token } = login(widget); - headers.Authorization = `Bearer ${access_token}`; + const { accessToken } = login(widget); + headers.Authorization = `Bearer ${accessToken}`; // retry the request, now with the new session token [status, contentType, data, responseHeaders] = await httpProxy(url, { From 063edd7de234e9d241a42264659aeaceddb2e783 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:29 +0000 Subject: [PATCH 015/142] Translated using Weblate (German) Currently translated at 62.8% (132 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/de/ --- public/locales/de/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/de/common.json b/public/locales/de/common.json index 0a94fcdb..ba8a79f4 100644 --- a/public/locales/de/common.json +++ b/public/locales/de/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From c19f49383f64d1cdcf2d7859f7b9fcdb1553ec74 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:29 +0000 Subject: [PATCH 016/142] Translated using Weblate (Spanish) Currently translated at 97.1% (204 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/es/ --- public/locales/es/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 4fc42e8f..6aacdebc 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Marcadores", "service": "Servicio" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From afe5d8826dc780ccd90bca47392498d194ca4090 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:30 +0000 Subject: [PATCH 017/142] Translated using Weblate (French) Currently translated at 97.1% (204 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index c22216a8..5105031b 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Signet", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From a72f08ea2d8b638dabdc7e0d0559caaed5f2e34a Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:30 +0000 Subject: [PATCH 018/142] Translated using Weblate (Portuguese) Currently translated at 54.7% (115 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pt/ --- public/locales/pt/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/pt/common.json b/public/locales/pt/common.json index 64cce578..904cfa76 100644 --- a/public/locales/pt/common.json +++ b/public/locales/pt/common.json @@ -284,5 +284,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 619f1eb3d11ceca40ad84beeab70b1c3c0efe14b Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:30 +0000 Subject: [PATCH 019/142] Translated using Weblate (Russian) Currently translated at 10.9% (23 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ru/ --- public/locales/ru/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index bd985a81..bf0c94b4 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges_status": "{{ok}}/{{total}}", + "child_bridges": "Child Bridges" } } From eb363db566955f783da3f904a6985915da661b36 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:31 +0000 Subject: [PATCH 020/142] Translated using Weblate (Chinese (Simplified)) Currently translated at 65.7% (138 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/zh_Hans/ --- public/locales/zh-CN/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/zh-CN/common.json b/public/locales/zh-CN/common.json index 95276f36..f1245ac5 100644 --- a/public/locales/zh-CN/common.json +++ b/public/locales/zh-CN/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From bae8da24b6d6dca5bd85f311bc8f2ccda77293d7 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:31 +0000 Subject: [PATCH 021/142] Translated using Weblate (Italian) Currently translated at 79.0% (166 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/it/ --- public/locales/it/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/it/common.json b/public/locales/it/common.json index 24982202..64224cc9 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Servizio" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From aae96a7c8c5cbe1d050791f17ee7ab23364b421c Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:29 +0000 Subject: [PATCH 022/142] =?UTF-8?q?Translated=20using=20Weblate=20(Norwegi?= =?UTF-8?q?an=20Bokm=C3=A5l)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 37.6% (79 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/nb_NO/ --- public/locales/nb-NO/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/nb-NO/common.json b/public/locales/nb-NO/common.json index b30cdd86..1736b9d5 100644 --- a/public/locales/nb-NO/common.json +++ b/public/locales/nb-NO/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From dec180531147ac03e4f846ce13279c93f51f5d68 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:31 +0000 Subject: [PATCH 023/142] Translated using Weblate (Vietnamese) Currently translated at 20.9% (44 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/vi/ --- public/locales/vi/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json index 7e5d0de3..f1dd3835 100644 --- a/public/locales/vi/common.json +++ b/public/locales/vi/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 54c0d9a425a026e9c610d29e2d0821a3716b06fd Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:31 +0000 Subject: [PATCH 024/142] Translated using Weblate (Dutch) Currently translated at 30.0% (63 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/nl/ --- public/locales/nl/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/nl/common.json b/public/locales/nl/common.json index 56eec2e2..b1539055 100644 --- a/public/locales/nl/common.json +++ b/public/locales/nl/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From d62c121e366407264bc3df29af7d34057538f761 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:32 +0000 Subject: [PATCH 025/142] Translated using Weblate (Chinese (Traditional)) Currently translated at 4.2% (9 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/zh_Hant/ --- public/locales/zh-Hant/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/zh-Hant/common.json b/public/locales/zh-Hant/common.json index 20355898..0979dc5c 100644 --- a/public/locales/zh-Hant/common.json +++ b/public/locales/zh-Hant/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 13b130f2e58358c1e105946c9638b759a33b6bc4 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:27 +0000 Subject: [PATCH 026/142] Translated using Weblate (Catalan) Currently translated at 62.3% (131 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ca/ --- public/locales/ca/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/ca/common.json b/public/locales/ca/common.json index 9d0e012d..427393dd 100644 --- a/public/locales/ca/common.json +++ b/public/locales/ca/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 7d5cdbe8954054fa891b6cb8f4ffbecdfd4c7563 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:27 +0000 Subject: [PATCH 027/142] Translated using Weblate (Polish) Currently translated at 52.3% (110 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pl/ --- public/locales/pl/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/pl/common.json b/public/locales/pl/common.json index c6d61abe..0d9174e1 100644 --- a/public/locales/pl/common.json +++ b/public/locales/pl/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From c83ecbdda0005a7761a725d549a131b6331638b1 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:24 +0000 Subject: [PATCH 028/142] Translated using Weblate (Swedish) Currently translated at 61.9% (130 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/sv/ --- public/locales/sv/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/sv/common.json b/public/locales/sv/common.json index e825b919..79339c5d 100644 --- a/public/locales/sv/common.json +++ b/public/locales/sv/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 7ea95fff72df9f25c2dacf1332c7d7d901e4d31c Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:24 +0000 Subject: [PATCH 029/142] Translated using Weblate (Croatian) Currently translated at 58.5% (123 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/hr/ --- public/locales/hr/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/hr/common.json b/public/locales/hr/common.json index d043920b..f0fd82e9 100644 --- a/public/locales/hr/common.json +++ b/public/locales/hr/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 21582d3886c21290e7a95604bda873070d1b473c Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:27 +0000 Subject: [PATCH 030/142] Translated using Weblate (Hungarian) Currently translated at 51.4% (108 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/hu/ --- public/locales/hu/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/hu/common.json b/public/locales/hu/common.json index 5570b625..d3169160 100644 --- a/public/locales/hu/common.json +++ b/public/locales/hu/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 94c1038c796d42623347385d061c5f75c706a4ec Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:24 +0000 Subject: [PATCH 031/142] Translated using Weblate (Hebrew) Currently translated at 48.0% (101 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/he/ --- public/locales/he/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/he/common.json b/public/locales/he/common.json index fab91a4c..f1d1a1b1 100644 --- a/public/locales/he/common.json +++ b/public/locales/he/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 54c71ebfd184df71796105469573a3a44edee155 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:25 +0000 Subject: [PATCH 032/142] Translated using Weblate (Romanian) Currently translated at 65.2% (137 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ro/ --- public/locales/ro/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/ro/common.json b/public/locales/ro/common.json index 3b09b099..ec35d759 100644 --- a/public/locales/ro/common.json +++ b/public/locales/ro/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "available_update": "System", + "updates": "Updates", + "child_bridges_status": "{{ok}}/{{total}}" } } From d2f7a5a18b13f17734148ecbaca99615e7628eec Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:25 +0000 Subject: [PATCH 033/142] Translated using Weblate (Portuguese (Brazil)) Currently translated at 54.7% (115 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pt_BR/ --- public/locales/pt-BR/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/pt-BR/common.json b/public/locales/pt-BR/common.json index e53dc12e..1ffc3a8f 100644 --- a/public/locales/pt-BR/common.json +++ b/public/locales/pt-BR/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 3b06c3770bcd32041511cda1a11bd429955064d3 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:26 +0000 Subject: [PATCH 034/142] Translated using Weblate (Yue) Currently translated at 56.1% (118 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/yue/ --- public/locales/yue/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/yue/common.json b/public/locales/yue/common.json index 46f01906..63b9b91f 100644 --- a/public/locales/yue/common.json +++ b/public/locales/yue/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 9eee281255013186d63af2f58f5130b615fd4d0b Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:28 +0000 Subject: [PATCH 035/142] Translated using Weblate (Finnish) Currently translated at 58.5% (123 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fi/ --- public/locales/fi/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/fi/common.json b/public/locales/fi/common.json index 71b4edad..aab015eb 100644 --- a/public/locales/fi/common.json +++ b/public/locales/fi/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 73be2a22df35de0b8dfcb1734ef8d1fd8b1831ac Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:28 +0000 Subject: [PATCH 036/142] Translated using Weblate (Telugu) Currently translated at 68.5% (144 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/te/ --- public/locales/te/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/te/common.json b/public/locales/te/common.json index 660ccb89..c256ffcb 100644 --- a/public/locales/te/common.json +++ b/public/locales/te/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 2c62e691c3a5d5b998ba20247aa12abc3cf63f42 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:28 +0000 Subject: [PATCH 037/142] Translated using Weblate (Bulgarian) Currently translated at 21.9% (46 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/bg/ --- public/locales/bg/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/bg/common.json b/public/locales/bg/common.json index e44d1e8b..29eb4953 100644 --- a/public/locales/bg/common.json +++ b/public/locales/bg/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 1a253e02e82695adc2268c98deb119aa5316e5d2 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:26 +0000 Subject: [PATCH 038/142] Translated using Weblate (Turkish) Currently translated at 69.5% (146 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/tr/ --- public/locales/tr/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json index bd6ba598..bed2c9ac 100644 --- a/public/locales/tr/common.json +++ b/public/locales/tr/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From 6d46647fc9ee8e1a1129b933c688592fa28d82d7 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Tue, 25 Oct 2022 05:25:25 +0000 Subject: [PATCH 039/142] Translated using Weblate (Serbian) Currently translated at 4.2% (9 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/sr/ --- public/locales/sr/common.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/locales/sr/common.json b/public/locales/sr/common.json index 4a63cd3e..4afa2cce 100644 --- a/public/locales/sr/common.json +++ b/public/locales/sr/common.json @@ -273,5 +273,13 @@ "quicklaunch": { "bookmark": "Bookmark", "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" } } From a2a5382ddbbdb476b5423117940ddcdbeeabd13f Mon Sep 17 00:00:00 2001 From: Brandon Barker Date: Wed, 26 Oct 2022 12:56:43 +0200 Subject: [PATCH 040/142] feat: add autobrr widget --- public/locales/en/common.json | 6 ++++ src/utils/proxy/handlers/credentialed.js | 2 ++ src/widgets/autobrr/component.jsx | 39 ++++++++++++++++++++++++ src/widgets/autobrr/widget.js | 20 ++++++++++++ src/widgets/components.js | 1 + src/widgets/widgets.js | 2 ++ 6 files changed, 70 insertions(+) create mode 100644 src/widgets/autobrr/component.jsx create mode 100644 src/widgets/autobrr/widget.js diff --git a/public/locales/en/common.json b/public/locales/en/common.json index aa1d6601..62ef2102 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -292,5 +292,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } diff --git a/src/utils/proxy/handlers/credentialed.js b/src/utils/proxy/handlers/credentialed.js index 7418b68c..c2c6e334 100644 --- a/src/utils/proxy/handlers/credentialed.js +++ b/src/utils/proxy/handlers/credentialed.js @@ -31,6 +31,8 @@ export default async function credentialedProxyHandler(req, res) { headers.Authorization = `Bearer ${widget.key}`; } else if (widget.type === "proxmox") { headers.Authorization = `PVEAPIToken=${widget.username}=${widget.password}`; + } else if (widget.type === "autobrr") { + headers["X-API-Token"] = `${widget.key}`; } else { headers["X-API-Key"] = `${widget.key}`; } diff --git a/src/widgets/autobrr/component.jsx b/src/widgets/autobrr/component.jsx new file mode 100644 index 00000000..b78f48f6 --- /dev/null +++ b/src/widgets/autobrr/component.jsx @@ -0,0 +1,39 @@ +import { useTranslation } from "next-i18next"; + +import Container from "components/services/widget/container"; +import Block from "components/services/widget/block"; +import useWidgetAPI from "utils/proxy/use-widget-api"; + +export default function Component({ service }) { + const { t } = useTranslation(); + + const { widget } = service; + + const { data: statsData, error: statsError } = useWidgetAPI(widget, "stats"); + const { data: filtersData, error: filtersError } = useWidgetAPI(widget, "filters"); + const { data: indexersData, error: indexersError } = useWidgetAPI(widget, "indexers"); + + if (statsError || filtersError || indexersError) { + return ; + } + + if (!statsData || !filtersData || !indexersData) { + return ( + + + + + + + ); + } + + return ( + + + + + + + ); +} diff --git a/src/widgets/autobrr/widget.js b/src/widgets/autobrr/widget.js new file mode 100644 index 00000000..0254029e --- /dev/null +++ b/src/widgets/autobrr/widget.js @@ -0,0 +1,20 @@ +import credentialedProxyHandler from "utils/proxy/handlers/credentialed"; + +const widget = { + api: "{url}/api/{endpoint}", + proxyHandler: credentialedProxyHandler, + + mappings: { + stats: { + endpoint: "release/stats", + }, + filters: { + endpoint: "filters", + }, + indexers: { + endpoint: "release/indexers", + }, + }, +}; + +export default widget; diff --git a/src/widgets/components.js b/src/widgets/components.js index 8f7bfeb9..f46808a5 100644 --- a/src/widgets/components.js +++ b/src/widgets/components.js @@ -3,6 +3,7 @@ import dynamic from "next/dynamic"; const components = { adguard: dynamic(() => import("./adguard/component")), authentik: dynamic(() => import("./authentik/component")), + autobrr: dynamic(() => import("./autobrr/component")), bazarr: dynamic(() => import("./bazarr/component")), changedetectionio: dynamic(() => import("./changedetectionio/component")), coinmarketcap: dynamic(() => import("./coinmarketcap/component")), diff --git a/src/widgets/widgets.js b/src/widgets/widgets.js index 55379e98..577243a7 100644 --- a/src/widgets/widgets.js +++ b/src/widgets/widgets.js @@ -1,5 +1,6 @@ import adguard from "./adguard/widget"; import authentik from "./authentik/widget"; +import autobrr from "./autobrr/widget"; import bazarr from "./bazarr/widget"; import changedetectionio from "./changedetectionio/widget"; import coinmarketcap from "./coinmarketcap/widget"; @@ -35,6 +36,7 @@ import unifi from "./unifi/widget"; const widgets = { adguard, authentik, + autobrr, bazarr, changedetectionio, coinmarketcap, From 490b7c844857f9efd71b85365d94e8b786565bc3 Mon Sep 17 00:00:00 2001 From: Fernando Neira Date: Tue, 25 Oct 2022 12:49:52 +0000 Subject: [PATCH 041/142] Translated using Weblate (Spanish) Currently translated at 100.0% (210 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/es/ --- public/locales/es/common.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 6aacdebc..caacddb4 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -275,10 +275,10 @@ "service": "Servicio" }, "homebridge": { - "available_update": "System", - "updates": "Updates", - "update_available": "Update Available", - "up_to_date": "Up to Date", + "available_update": "Sistema", + "updates": "Actualizaciones", + "update_available": "Actualización disponible", + "up_to_date": "Actualizado", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" } From 4a30af2efe2f399511e03dd5000077071db80d8a Mon Sep 17 00:00:00 2001 From: Nonoss117 Date: Tue, 25 Oct 2022 05:28:14 +0000 Subject: [PATCH 042/142] Translated using Weblate (French) Currently translated at 100.0% (210 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 5105031b..98c1d65d 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -275,10 +275,10 @@ "service": "Service" }, "homebridge": { - "available_update": "System", - "updates": "Updates", - "update_available": "Update Available", - "up_to_date": "Up to Date", + "available_update": "Système", + "updates": "Mises à jour", + "update_available": "Mise à jour disponible", + "up_to_date": "À jour", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" } From fbaeed19e2c396a3a117197ac8c2739f237ede18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Homza?= Date: Wed, 26 Oct 2022 07:47:12 +0000 Subject: [PATCH 043/142] Translated using Weblate (Polish) Currently translated at 82.3% (173 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pl/ --- public/locales/pl/common.json | 134 +++++++++++++++++----------------- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/public/locales/pl/common.json b/public/locales/pl/common.json index 0d9174e1..a50e9cc5 100644 --- a/public/locales/pl/common.json +++ b/public/locales/pl/common.json @@ -149,14 +149,14 @@ "errored": "Błędne" }, "adguard": { - "queries": "Queries", - "blocked": "Blocked", - "filtered": "Filtered", - "latency": "Latency" + "queries": "Zapytania", + "blocked": "Zablokowane", + "filtered": "Przefiltrowane", + "latency": "Opóźnienia" }, "qbittorrent": { - "download": "Download", - "upload": "Upload", + "download": "Pobieranie", + "upload": "Wysyłanie", "leech": "Leech", "seed": "Seed" }, @@ -187,26 +187,26 @@ "uptime": "Czas pracy systemu", "days": "Dni", "wan": "WAN", - "lan_users": "LAN Users", - "wlan_users": "WLAN Users", - "up": "UP", - "down": "DOWN", - "wait": "Please wait", + "lan_users": "Użytkownicy LAN", + "wlan_users": "Użytkownicy WLAN", + "up": "Wysyłanie", + "down": "Pobieranie", + "wait": "Proszę czekać", "lan": "LAN", "wlan": "WLAN", - "devices": "Devices", - "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices" + "devices": "Urządzenia", + "lan_devices": "Urządzenia LAN", + "wlan_devices": "Urządzenia WLAN" }, "plex": { "streams": "Active Streams", - "movies": "Movies", - "tv": "TV Shows" + "movies": "Filmy", + "tv": "Seriale" }, "glances": { "cpu": "CPU", "mem": "MEM", - "wait": "Please wait" + "wait": "Proszę czekać" }, "changedetectionio": { "diffsDetected": "Diffs Detected", @@ -218,67 +218,67 @@ "0-night": "Clear", "1-day": "Mainly Sunny", "1-night": "Mainly Clear", - "2-day": "Partly Cloudy", - "2-night": "Partly Cloudy", - "3-day": "Cloudy", - "3-night": "Cloudy", - "45-day": "Foggy", - "45-night": "Foggy", - "48-day": "Foggy", - "48-night": "Foggy", - "51-day": "Light Drizzle", - "51-night": "Light Drizzle", - "53-day": "Drizzle", - "53-night": "Drizzle", - "55-day": "Heavy Drizzle", - "55-night": "Heavy Drizzle", + "2-day": "Częściowo pochmurnie", + "2-night": "Częściowo pochmurnie", + "3-day": "Pochmurnie", + "3-night": "Pochmurnie", + "45-day": "Mgliście", + "45-night": "Mgliście", + "48-day": "Mgliście", + "48-night": "Mgliście", + "51-day": "Lekka mżawka", + "51-night": "Lekka mżawka", + "53-day": "Mżawka", + "53-night": "Mżawka", + "55-day": "Ciężka mżawka", + "55-night": "Ciężka mżawka", "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", + "61-day": "Lekki deszcz", + "61-night": "Lekki deszcz", + "63-day": "Deszcz", + "63-night": "Deszcz", + "65-day": "Ciężki deszcz", + "65-night": "Ciężki deszcz", + "66-day": "Mroźny deszcz", + "66-night": "Mroźny deszcz", + "67-day": "Mroźny deszcz", + "67-night": "Mroźny deszcz", + "71-day": "Lekki śnieg", + "71-night": "Lekki śnieg", + "73-day": "Śnieg", + "73-night": "Śnieg", + "75-day": "Ciężki śnieg", + "75-night": "Ciężki śnieg", "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" + "80-day": "Lekkie opady", + "80-night": "Lekkie opady", + "81-day": "Opady", + "81-night": "Opady", + "82-day": "Ciężkie opady", + "82-night": "Ciężkie opady", + "85-day": "Opady śniegu", + "85-night": "Opady śniegu", + "86-day": "Opady śniegu", + "86-night": "Opady śniegu", + "95-day": "Burze z piorunami", + "95-night": "Burze z piorunami", + "96-day": "Burza z gradobiciem", + "96-night": "Burza z gradobiciem", + "99-day": "Burza z gradobiciem", + "99-night": "Burza z gradobiciem" }, "quicklaunch": { "bookmark": "Bookmark", - "service": "Service" + "service": "Usługi" }, "homebridge": { "available_update": "System", - "updates": "Updates", - "update_available": "Update Available", - "up_to_date": "Up to Date", + "updates": "Aktualizacje", + "update_available": "Dostępna aktualizacja", + "up_to_date": "Aktualny", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" } From 844615751f73436d8c6ebb0f284cc60558ccb48c Mon Sep 17 00:00:00 2001 From: hunkyn Date: Tue, 25 Oct 2022 22:11:09 +0000 Subject: [PATCH 044/142] Translated using Weblate (Telugu) Currently translated at 100.0% (210 of 210 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/te/ --- public/locales/te/common.json | 130 +++++++++++++++++----------------- 1 file changed, 65 insertions(+), 65 deletions(-) diff --git a/public/locales/te/common.json b/public/locales/te/common.json index c256ffcb..70c207f9 100644 --- a/public/locales/te/common.json +++ b/public/locales/te/common.json @@ -209,77 +209,77 @@ "wait": "దయచేసి వేచి ఉండండి" }, "changedetectionio": { - "totalObserved": "Total Observed", - "diffsDetected": "Diffs Detected" + "totalObserved": "మొత్తం గమనించబడింది", + "diffsDetected": "తేడాలు గుర్తించబడ్డాయి" }, "wmo": { - "0-day": "Sunny", - "0-night": "Clear", - "57-night": "Freezing Drizzle", - "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", - "1-day": "Mainly Sunny", - "1-night": "Mainly Clear", - "2-day": "Partly Cloudy", - "2-night": "Partly Cloudy", - "3-day": "Cloudy", - "3-night": "Cloudy", - "45-day": "Foggy", - "45-night": "Foggy", - "48-day": "Foggy", - "48-night": "Foggy", - "51-day": "Light Drizzle", - "51-night": "Light Drizzle", - "53-day": "Drizzle", - "53-night": "Drizzle", - "55-day": "Heavy Drizzle", - "55-night": "Heavy Drizzle", - "56-day": "Light Freezing Drizzle", - "56-night": "Light Freezing Drizzle", - "57-day": "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", - "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" + "0-day": "సన్నీ", + "0-night": "స్పష్టమైన", + "57-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": "మంచు జల్లులు", + "1-day": "ప్రధానంగా ఎండ", + "1-night": "ప్రధానంగా స్పష్టంగా", + "2-day": "పాక్షికంగా మేఘావృతమై ఉంటుంది", + "2-night": "పాక్షికంగా మేఘావృతమై ఉంటుంది", + "3-day": "మేఘావృతం", + "3-night": "మేఘావృతం", + "45-day": "పొగమంచు", + "45-night": "పొగమంచు", + "48-day": "పొగమంచు", + "48-night": "పొగమంచు", + "51-day": "తేలికపాటి చినుకులు", + "51-night": "తేలికపాటి చినుకులు", + "53-day": "చినుకులు", + "53-night": "చినుకులు", + "55-day": "భారీ చినుకులు", + "55-night": "భారీ చినుకులు", + "56-day": "తేలికపాటి గడ్డకట్టే చినుకులు", + "56-night": "తేలికపాటి గడ్డకట్టే చినుకులు", + "57-day": "గడ్డకట్టే చినుకులు", + "61-day": "తేలికపాటి వర్షం", + "61-night": "తేలికపాటి వర్షం", + "63-day": "వర్షం", + "63-night": "వర్షం", + "65-day": "భారీవర్షం", + "65-night": "భారీవర్షం", + "66-day": "గడ్డకట్టే వర్షం", + "66-night": "గడ్డకట్టే వర్షం", + "67-day": "గడ్డకట్టే వర్షం", + "67-night": "గడ్డకట్టే వర్షం", + "71-day": "తేలికపాటి మంచు", + "71-night": "తేలికపాటి మంచు", + "86-day": "మంచు జల్లులు", + "86-night": "మంచు జల్లులు", + "95-day": "ఉరుము", + "95-night": "ఉరుము", + "96-day": "వడగళ్లతో కూడిన ఉరుములతో కూడిన వర్షం", + "96-night": "వడగళ్లతో కూడిన ఉరుములతో కూడిన వర్షం", + "99-day": "వడగళ్లతో కూడిన ఉరుములతో కూడిన వర్షం", + "99-night": "వడగళ్లతో కూడిన ఉరుములతో కూడిన వర్షం" }, "quicklaunch": { - "bookmark": "Bookmark", - "service": "Service" + "bookmark": "బుక్మార్క్", + "service": "సేవ" }, "homebridge": { - "available_update": "System", - "updates": "Updates", - "update_available": "Update Available", - "up_to_date": "Up to Date", - "child_bridges": "Child Bridges", + "available_update": "వ్యవస్థ", + "updates": "నవీకరణలు", + "update_available": "అందుబాటులో నవీకరణ", + "up_to_date": "తాజాగా", + "child_bridges": "పిల్ల వంతెనలు", "child_bridges_status": "{{ok}}/{{total}}" } } From 1a11a72fc447e38d0d4054d0310961cf7f8c25cc Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:00 +0000 Subject: [PATCH 045/142] Translated using Weblate (German) Currently translated at 61.6% (132 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/de/ --- public/locales/de/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/de/common.json b/public/locales/de/common.json index ba8a79f4..67fdc415 100644 --- a/public/locales/de/common.json +++ b/public/locales/de/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 8b59e5491e8b437f709684d5caaefa6edb576954 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:01 +0000 Subject: [PATCH 046/142] Translated using Weblate (Spanish) Currently translated at 98.1% (210 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/es/ --- public/locales/es/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/es/common.json b/public/locales/es/common.json index caacddb4..0b328956 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -281,5 +281,11 @@ "up_to_date": "Actualizado", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From cc7b5e33d541aebcee0fa90a248ac21bba7f80fa Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:01 +0000 Subject: [PATCH 047/142] Translated using Weblate (French) Currently translated at 98.1% (210 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 98c1d65d..6f1b2abf 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -281,5 +281,11 @@ "up_to_date": "À jour", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From ecf7aba8127734d4b0b302f9227c85ba0fd4fe69 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:01 +0000 Subject: [PATCH 048/142] Translated using Weblate (Portuguese) Currently translated at 53.7% (115 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pt/ --- public/locales/pt/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/pt/common.json b/public/locales/pt/common.json index 904cfa76..d51ef697 100644 --- a/public/locales/pt/common.json +++ b/public/locales/pt/common.json @@ -292,5 +292,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 3cb9cab395f80fcde4be841559f5f9848a39e0ad Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:01 +0000 Subject: [PATCH 049/142] Translated using Weblate (Russian) Currently translated at 10.7% (23 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ru/ --- public/locales/ru/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index bf0c94b4..a3dc98b0 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges_status": "{{ok}}/{{total}}", "child_bridges": "Child Bridges" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 49ead8113ef84e6c34c0d09d2c1790877f05431f Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:01 +0000 Subject: [PATCH 050/142] Translated using Weblate (Chinese (Simplified)) Currently translated at 64.4% (138 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/zh_Hans/ --- public/locales/zh-CN/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/zh-CN/common.json b/public/locales/zh-CN/common.json index f1245ac5..1a3b524b 100644 --- a/public/locales/zh-CN/common.json +++ b/public/locales/zh-CN/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 1fc5620af96743c35e4db528fdef68cc0dc971aa Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:02 +0000 Subject: [PATCH 051/142] Translated using Weblate (Italian) Currently translated at 77.5% (166 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/it/ --- public/locales/it/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/it/common.json b/public/locales/it/common.json index 64224cc9..8e70bfa6 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 3d6a82c1749c76debf22ffca365a26de11c69bb6 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:00 +0000 Subject: [PATCH 052/142] =?UTF-8?q?Translated=20using=20Weblate=20(Norwegi?= =?UTF-8?q?an=20Bokm=C3=A5l)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 36.9% (79 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/nb_NO/ --- public/locales/nb-NO/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/nb-NO/common.json b/public/locales/nb-NO/common.json index 1736b9d5..2e327d32 100644 --- a/public/locales/nb-NO/common.json +++ b/public/locales/nb-NO/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 6a1dac2703c37aa19991e81a7f0bd6f06371bc1a Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:02 +0000 Subject: [PATCH 053/142] Translated using Weblate (Vietnamese) Currently translated at 20.5% (44 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/vi/ --- public/locales/vi/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json index f1dd3835..28574310 100644 --- a/public/locales/vi/common.json +++ b/public/locales/vi/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 8e987c0aec1d71a433ba7aa9da9ef6d078a7b1fc Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:02 +0000 Subject: [PATCH 054/142] Translated using Weblate (Dutch) Currently translated at 29.4% (63 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/nl/ --- public/locales/nl/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/nl/common.json b/public/locales/nl/common.json index b1539055..13659416 100644 --- a/public/locales/nl/common.json +++ b/public/locales/nl/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 7a8082a88fe5677703879b6803da8e1aae0b0414 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:02 +0000 Subject: [PATCH 055/142] Translated using Weblate (Chinese (Traditional)) Currently translated at 4.2% (9 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/zh_Hant/ --- public/locales/zh-Hant/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/zh-Hant/common.json b/public/locales/zh-Hant/common.json index 0979dc5c..d80edd7d 100644 --- a/public/locales/zh-Hant/common.json +++ b/public/locales/zh-Hant/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 5fa6336d6f40afa354056b7e1893563d881a8a6f Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:59 +0000 Subject: [PATCH 056/142] Translated using Weblate (Catalan) Currently translated at 61.2% (131 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ca/ --- public/locales/ca/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/ca/common.json b/public/locales/ca/common.json index 427393dd..321c5cee 100644 --- a/public/locales/ca/common.json +++ b/public/locales/ca/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 6951220a8a7715527bdd6cfe988679e47faf4793 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:59 +0000 Subject: [PATCH 057/142] Translated using Weblate (Polish) Currently translated at 80.8% (173 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pl/ --- public/locales/pl/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/pl/common.json b/public/locales/pl/common.json index a50e9cc5..9e8e4309 100644 --- a/public/locales/pl/common.json +++ b/public/locales/pl/common.json @@ -281,5 +281,11 @@ "up_to_date": "Aktualny", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From b995c73b1ee6fff56e8cf1303de7af9235ab9177 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:56 +0000 Subject: [PATCH 058/142] Translated using Weblate (Swedish) Currently translated at 60.7% (130 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/sv/ --- public/locales/sv/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/sv/common.json b/public/locales/sv/common.json index 79339c5d..febaec42 100644 --- a/public/locales/sv/common.json +++ b/public/locales/sv/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From aaba2443fa64591329c9e7142b2b706ac6e35d04 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:56 +0000 Subject: [PATCH 059/142] Translated using Weblate (Croatian) Currently translated at 57.4% (123 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/hr/ --- public/locales/hr/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/hr/common.json b/public/locales/hr/common.json index f0fd82e9..1905ff34 100644 --- a/public/locales/hr/common.json +++ b/public/locales/hr/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "rejectedPushes": "Rejected", + "approvedPushes": "Approved", + "filters": "Filters", + "indexers": "Indexers" } } From 9f9912f74604d8d76ee1285525e15ca99cdabbb7 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:59 +0000 Subject: [PATCH 060/142] Translated using Weblate (Hungarian) Currently translated at 50.4% (108 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/hu/ --- public/locales/hu/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/hu/common.json b/public/locales/hu/common.json index d3169160..b86bf0d4 100644 --- a/public/locales/hu/common.json +++ b/public/locales/hu/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 5823204964d8f037263d7ce3bddb75d37b1b3cc8 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:56 +0000 Subject: [PATCH 061/142] Translated using Weblate (Hebrew) Currently translated at 47.1% (101 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/he/ --- public/locales/he/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/he/common.json b/public/locales/he/common.json index f1d1a1b1..9c937846 100644 --- a/public/locales/he/common.json +++ b/public/locales/he/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 771cb9fd83983cd742510abc68fe194779e7fe54 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:57 +0000 Subject: [PATCH 062/142] Translated using Weblate (Romanian) Currently translated at 64.0% (137 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ro/ --- public/locales/ro/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/ro/common.json b/public/locales/ro/common.json index ec35d759..4158681c 100644 --- a/public/locales/ro/common.json +++ b/public/locales/ro/common.json @@ -281,5 +281,11 @@ "available_update": "System", "updates": "Updates", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 745b2f45a2c50dac87bc7b02616d889e5320296f Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:56 +0000 Subject: [PATCH 063/142] Translated using Weblate (Portuguese (Brazil)) Currently translated at 53.7% (115 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pt_BR/ --- public/locales/pt-BR/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/pt-BR/common.json b/public/locales/pt-BR/common.json index 1ffc3a8f..ccd8659e 100644 --- a/public/locales/pt-BR/common.json +++ b/public/locales/pt-BR/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From af1d3ee196d9cbeed92f093760b9e1b005b18418 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:58 +0000 Subject: [PATCH 064/142] Translated using Weblate (Yue) Currently translated at 55.1% (118 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/yue/ --- public/locales/yue/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/yue/common.json b/public/locales/yue/common.json index 63b9b91f..0a17761e 100644 --- a/public/locales/yue/common.json +++ b/public/locales/yue/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From b059edbbe2a6e6b143f0a232d423903bc41a3a72 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:00 +0000 Subject: [PATCH 065/142] Translated using Weblate (Finnish) Currently translated at 57.4% (123 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fi/ --- public/locales/fi/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/fi/common.json b/public/locales/fi/common.json index aab015eb..bcf4d9e7 100644 --- a/public/locales/fi/common.json +++ b/public/locales/fi/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 3f367715592769670c33f330a0ac6a65f27436ab Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:00 +0000 Subject: [PATCH 066/142] Translated using Weblate (Telugu) Currently translated at 98.1% (210 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/te/ --- public/locales/te/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/te/common.json b/public/locales/te/common.json index 70c207f9..6b0205fe 100644 --- a/public/locales/te/common.json +++ b/public/locales/te/common.json @@ -281,5 +281,11 @@ "up_to_date": "తాజాగా", "child_bridges": "పిల్ల వంతెనలు", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "rejectedPushes": "Rejected", + "approvedPushes": "Approved", + "filters": "Filters", + "indexers": "Indexers" } } From b4d020c7c080d18eda4aefa71dd79e6e5bd055b3 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:33:00 +0000 Subject: [PATCH 067/142] Translated using Weblate (Bulgarian) Currently translated at 21.4% (46 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/bg/ --- public/locales/bg/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/bg/common.json b/public/locales/bg/common.json index 29eb4953..0b2df53a 100644 --- a/public/locales/bg/common.json +++ b/public/locales/bg/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers", + "approvedPushes": "Approved" } } From 4f934969d47e85a4d18b11a4218503199678322b Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:57 +0000 Subject: [PATCH 068/142] Translated using Weblate (Turkish) Currently translated at 68.2% (146 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/tr/ --- public/locales/tr/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json index bed2c9ac..ac6cf2d7 100644 --- a/public/locales/tr/common.json +++ b/public/locales/tr/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From 7ad1947faacddcad64cd7e64df885d3c45e59111 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 26 Oct 2022 14:32:57 +0000 Subject: [PATCH 069/142] Translated using Weblate (Serbian) Currently translated at 4.2% (9 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/sr/ --- public/locales/sr/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/sr/common.json b/public/locales/sr/common.json index 4afa2cce..518a19ef 100644 --- a/public/locales/sr/common.json +++ b/public/locales/sr/common.json @@ -281,5 +281,11 @@ "up_to_date": "Up to Date", "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" } } From c14ae6ee72ea294f9f2945da7f66724845f0ac7a Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 26 Oct 2022 09:56:53 -0700 Subject: [PATCH 070/142] Fix missing column gap for bookmarks https://github.com/benphelps/homepage/issues/235#issuecomment-1292261927 --- src/pages/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 1e2714c8..73dcc912 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -272,7 +272,7 @@ function Home({ initialSettings }) { )} {bookmarks && ( -
+
{bookmarks.map((group) => ( ))} From 2969e8afc775bbc1d1edeedb1312ea15d294be36 Mon Sep 17 00:00:00 2001 From: Fernando Neira Date: Wed, 26 Oct 2022 15:23:20 +0000 Subject: [PATCH 071/142] Translated using Weblate (Spanish) Currently translated at 100.0% (214 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/es/ --- public/locales/es/common.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 0b328956..1311ad04 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -283,9 +283,9 @@ "child_bridges_status": "{{ok}}/{{total}}" }, "autobrr": { - "approvedPushes": "Approved", - "rejectedPushes": "Rejected", - "filters": "Filters", - "indexers": "Indexers" + "approvedPushes": "Aprobado", + "rejectedPushes": "Rechazado", + "filters": "Filtros", + "indexers": "Indexadores" } } From 5d101b0ded8897caf8500e4bd74abc55c4eaff1b Mon Sep 17 00:00:00 2001 From: Nonoss117 Date: Wed, 26 Oct 2022 17:21:58 +0000 Subject: [PATCH 072/142] Translated using Weblate (French) Currently translated at 100.0% (214 of 214 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 6f1b2abf..f00d2933 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -283,9 +283,9 @@ "child_bridges_status": "{{ok}}/{{total}}" }, "autobrr": { - "approvedPushes": "Approved", - "rejectedPushes": "Rejected", - "filters": "Filters", - "indexers": "Indexers" + "approvedPushes": "Approuvé", + "rejectedPushes": "Rejeté", + "filters": "Filtres", + "indexers": "Indexeur" } } From 87c3ba8faab246b4f977b2925123ccf47a44af9c Mon Sep 17 00:00:00 2001 From: FauFra Date: Thu, 27 Oct 2022 23:28:21 +0200 Subject: [PATCH 073/142] Added support to watchtower statistics --- public/locales/en/common.json | 5 +++ src/widgets/components.js | 1 + src/widgets/watchtower/component.jsx | 36 +++++++++++++++++ src/widgets/watchtower/proxy.js | 58 ++++++++++++++++++++++++++++ src/widgets/watchtower/widget.js | 14 +++++++ src/widgets/widgets.js | 2 + 6 files changed, 116 insertions(+) create mode 100644 src/widgets/watchtower/component.jsx create mode 100644 src/widgets/watchtower/proxy.js create mode 100644 src/widgets/watchtower/widget.js diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 62ef2102..39357f92 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -293,6 +293,11 @@ "child_bridges": "Child Bridges", "child_bridges_status": "{{ok}}/{{total}}" }, + "watchtower":{ + "containers_scanned": "Scanned", + "containers_updated": "Updatded", + "containers_failed": "Failed" + }, "autobrr": { "approvedPushes": "Approved", "rejectedPushes": "Rejected", diff --git a/src/widgets/components.js b/src/widgets/components.js index f46808a5..c2b50189 100644 --- a/src/widgets/components.js +++ b/src/widgets/components.js @@ -37,6 +37,7 @@ const components = { traefik: dynamic(() => import("./traefik/component")), transmission: dynamic(() => import("./transmission/component")), unifi: dynamic(() => import("./unifi/component")), + watchtower: dynamic(() => import("./watchtower/component")), }; export default components; diff --git a/src/widgets/watchtower/component.jsx b/src/widgets/watchtower/component.jsx new file mode 100644 index 00000000..68c5531f --- /dev/null +++ b/src/widgets/watchtower/component.jsx @@ -0,0 +1,36 @@ +import { useTranslation } from "next-i18next"; + +import Container from "components/services/widget/container"; +import Block from "components/services/widget/block"; +import useWidgetAPI from "utils/proxy/use-widget-api"; + + +export default function Component({ service }) { + const { t } = useTranslation(); + + const { widget } = service; + + const { data: watchData, error: watchError } = useWidgetAPI(widget, "watchtower"); + + if (watchError || !watchData) { + return ; + } + + if (!watchData) { + return ( + + + + + + ); + } + + return ( + + + + + + ); +} diff --git a/src/widgets/watchtower/proxy.js b/src/widgets/watchtower/proxy.js new file mode 100644 index 00000000..4bb98504 --- /dev/null +++ b/src/widgets/watchtower/proxy.js @@ -0,0 +1,58 @@ +import cache from "memory-cache"; + +import { httpProxy } from "utils/proxy/http"; +import { formatApiCall } from "utils/proxy/api-helpers"; +import getServiceWidget from "utils/config/service-helpers"; +import createLogger from "utils/logger"; +import widgets from "widgets/widgets"; + +const proxyName = "watchtowerProxyHandler"; +const headerCacheKey = `${proxyName}__headers`; +const logger = createLogger(proxyName); + +export default async function watchtowerProxyHandler(req, res) { + const { group, service, endpoint } = req.query; + + if (!group || !service) { + logger.debug("Invalid or missing service '%s' or group '%s'", service, group); + return res.status(400).json({ error: "Invalid proxy service type" }); + } + + const widget = await getServiceWidget(group, service); + + if (!widget) { + logger.debug("Invalid or missing widget for service '%s' in group '%s'", service, group); + return res.status(400).json({ error: "Invalid proxy service type" }); + } + + let headers = cache.get(headerCacheKey); + if (!headers) { + headers = { + "Authorization": `Bearer ${widget.key}`, + } + cache.put(headerCacheKey, headers); + } + + const url = new URL(formatApiCall(widgets[widget.type].api, { endpoint, ...widget })); + + const method = "GET" + const [status, contentType, data] = await httpProxy(url, { + method, + headers, + }); + + const cleanData = data.toString().split("\n").filter(s => s.startsWith("watchtower")) + const jsonRes={} + + cleanData.map(e => e.split(" ")).forEach(strArray => { + const [key, value] = strArray + jsonRes[key] = value + }) + + if (status !== 200) { + logger.error("Error getting data from WatchTower: %d. Data: %s", status, data); + } + + if (contentType) res.setHeader("Content-Type", contentType); + return res.status(status).send(jsonRes); +} diff --git a/src/widgets/watchtower/widget.js b/src/widgets/watchtower/widget.js new file mode 100644 index 00000000..734c90eb --- /dev/null +++ b/src/widgets/watchtower/widget.js @@ -0,0 +1,14 @@ +import watchtowerProxyHandler from "./proxy"; + +const widget = { + api: "{url}/{endpoint}", + proxyHandler: watchtowerProxyHandler, + + mappings: { + "watchtower": { + endpoint: "v1/metrics", + }, + }, +}; + +export default widget; \ No newline at end of file diff --git a/src/widgets/widgets.js b/src/widgets/widgets.js index 577243a7..74f426b3 100644 --- a/src/widgets/widgets.js +++ b/src/widgets/widgets.js @@ -32,6 +32,7 @@ import tautulli from "./tautulli/widget"; import traefik from "./traefik/widget"; import transmission from "./transmission/widget"; import unifi from "./unifi/widget"; +import watchtower from './watchtower/widget' const widgets = { adguard, @@ -70,6 +71,7 @@ const widgets = { transmission, unifi, unifi_console: unifi, + watchtower, }; export default widgets; From 6fb9ce1b537e82ef6ff2bfdc916f85ee5067479f Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 28 Oct 2022 00:58:56 -0700 Subject: [PATCH 074/142] fix watchtower widget typo --- public/locales/en/common.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 39357f92..dd00ff86 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -295,7 +295,7 @@ }, "watchtower":{ "containers_scanned": "Scanned", - "containers_updated": "Updatded", + "containers_updated": "Updated", "containers_failed": "Failed" }, "autobrr": { From 5f71486b74f7ca9e7df43ceb2e6f4d73f067ff41 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 28 Oct 2022 00:58:59 -0700 Subject: [PATCH 075/142] remove unnecessary watchtower header cache, code style --- src/widgets/watchtower/proxy.js | 28 +++++++++------------------- src/widgets/watchtower/widget.js | 2 +- 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/src/widgets/watchtower/proxy.js b/src/widgets/watchtower/proxy.js index 4bb98504..2d54928c 100644 --- a/src/widgets/watchtower/proxy.js +++ b/src/widgets/watchtower/proxy.js @@ -1,5 +1,3 @@ -import cache from "memory-cache"; - import { httpProxy } from "utils/proxy/http"; import { formatApiCall } from "utils/proxy/api-helpers"; import getServiceWidget from "utils/config/service-helpers"; @@ -7,7 +5,6 @@ import createLogger from "utils/logger"; import widgets from "widgets/widgets"; const proxyName = "watchtowerProxyHandler"; -const headerCacheKey = `${proxyName}__headers`; const logger = createLogger(proxyName); export default async function watchtowerProxyHandler(req, res) { @@ -25,34 +22,27 @@ export default async function watchtowerProxyHandler(req, res) { return res.status(400).json({ error: "Invalid proxy service type" }); } - let headers = cache.get(headerCacheKey); - if (!headers) { - headers = { - "Authorization": `Bearer ${widget.key}`, - } - cache.put(headerCacheKey, headers); - } - const url = new URL(formatApiCall(widgets[widget.type].api, { endpoint, ...widget })); - const method = "GET" const [status, contentType, data] = await httpProxy(url, { - method, - headers, + method: "GET", + headers: { + "Authorization": `Bearer ${widget.key}`, + } }); + if (status !== 200 || !data) { + logger.error("Error getting data from WatchTower: %d. Data: %s", status, data); + } + const cleanData = data.toString().split("\n").filter(s => s.startsWith("watchtower")) - const jsonRes={} + const jsonRes = {} cleanData.map(e => e.split(" ")).forEach(strArray => { const [key, value] = strArray jsonRes[key] = value }) - if (status !== 200) { - logger.error("Error getting data from WatchTower: %d. Data: %s", status, data); - } - if (contentType) res.setHeader("Content-Type", contentType); return res.status(status).send(jsonRes); } diff --git a/src/widgets/watchtower/widget.js b/src/widgets/watchtower/widget.js index 734c90eb..6e8fdf66 100644 --- a/src/widgets/watchtower/widget.js +++ b/src/widgets/watchtower/widget.js @@ -11,4 +11,4 @@ const widget = { }, }; -export default widget; \ No newline at end of file +export default widget; From 9da4319dd482333e571ba5438eff4b184b12e5cd Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:08 +0000 Subject: [PATCH 076/142] Translated using Weblate (German) Currently translated at 60.8% (132 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/de/ --- public/locales/de/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/de/common.json b/public/locales/de/common.json index 67fdc415..ec3b6e39 100644 --- a/public/locales/de/common.json +++ b/public/locales/de/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From c9bbdbb24a2962b9523d4604593739842fd78da4 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:08 +0000 Subject: [PATCH 077/142] Translated using Weblate (Spanish) Currently translated at 98.6% (214 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/es/ --- public/locales/es/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 1311ad04..8ac88578 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rechazado", "filters": "Filtros", "indexers": "Indexadores" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From a6a0ace703799c324be8a2d2e0ed033cf51388a3 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:08 +0000 Subject: [PATCH 078/142] Translated using Weblate (French) Currently translated at 98.6% (214 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index f00d2933..84fadba0 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejeté", "filters": "Filtres", "indexers": "Indexeur" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 57f503aa56c2ccfa9f042fb431edb2df535c5c6f Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:09 +0000 Subject: [PATCH 079/142] Translated using Weblate (Portuguese) Currently translated at 52.9% (115 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pt/ --- public/locales/pt/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/pt/common.json b/public/locales/pt/common.json index d51ef697..1c43e974 100644 --- a/public/locales/pt/common.json +++ b/public/locales/pt/common.json @@ -298,5 +298,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 4bb564a35cb8460dc9018ee3f4a665814698786e Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:09 +0000 Subject: [PATCH 080/142] Translated using Weblate (Russian) Currently translated at 10.5% (23 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ru/ --- public/locales/ru/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index a3dc98b0..319b8012 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From d1d73ab251d770fce8d69644c178749ec1d3c7e5 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:09 +0000 Subject: [PATCH 081/142] Translated using Weblate (Chinese (Simplified)) Currently translated at 63.5% (138 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/zh_Hans/ --- public/locales/zh-CN/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/zh-CN/common.json b/public/locales/zh-CN/common.json index 1a3b524b..e3655745 100644 --- a/public/locales/zh-CN/common.json +++ b/public/locales/zh-CN/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 422aefb04b9df4162437aac264a0c740f9131fdb Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:09 +0000 Subject: [PATCH 082/142] Translated using Weblate (Italian) Currently translated at 76.4% (166 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/it/ --- public/locales/it/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/it/common.json b/public/locales/it/common.json index 8e70bfa6..f1a29332 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 90c0d4323fc0f9d264c5d2b1fbe2622d90556a59 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:08 +0000 Subject: [PATCH 083/142] =?UTF-8?q?Translated=20using=20Weblate=20(Norwegi?= =?UTF-8?q?an=20Bokm=C3=A5l)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 36.4% (79 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/nb_NO/ --- public/locales/nb-NO/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/nb-NO/common.json b/public/locales/nb-NO/common.json index 2e327d32..78b658f0 100644 --- a/public/locales/nb-NO/common.json +++ b/public/locales/nb-NO/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 2fd02e42c31431a125dee0144bc92b93bacd2cd4 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:09 +0000 Subject: [PATCH 084/142] Translated using Weblate (Vietnamese) Currently translated at 20.2% (44 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/vi/ --- public/locales/vi/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json index 28574310..79256902 100644 --- a/public/locales/vi/common.json +++ b/public/locales/vi/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 5d1639a22e9a757c57497d5d9cd54a0b6167f8ce Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:10 +0000 Subject: [PATCH 085/142] Translated using Weblate (Dutch) Currently translated at 29.0% (63 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/nl/ --- public/locales/nl/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/nl/common.json b/public/locales/nl/common.json index 13659416..42d0b6b8 100644 --- a/public/locales/nl/common.json +++ b/public/locales/nl/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From d1901e5815e12a3a7e312367953519fc0352bac6 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:10 +0000 Subject: [PATCH 086/142] Translated using Weblate (Chinese (Traditional)) Currently translated at 4.1% (9 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/zh_Hant/ --- public/locales/zh-Hant/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/zh-Hant/common.json b/public/locales/zh-Hant/common.json index d80edd7d..f28af2c8 100644 --- a/public/locales/zh-Hant/common.json +++ b/public/locales/zh-Hant/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From e8a0abafaa291736e1248f4d0e26551913cb447b Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:06 +0000 Subject: [PATCH 087/142] Translated using Weblate (Catalan) Currently translated at 60.3% (131 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ca/ --- public/locales/ca/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/ca/common.json b/public/locales/ca/common.json index 321c5cee..d7a626d8 100644 --- a/public/locales/ca/common.json +++ b/public/locales/ca/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 7675d97033ccbb6d38d92f3131d577c47daaed91 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:07 +0000 Subject: [PATCH 088/142] Translated using Weblate (Polish) Currently translated at 79.7% (173 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pl/ --- public/locales/pl/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/pl/common.json b/public/locales/pl/common.json index 9e8e4309..922fc6e0 100644 --- a/public/locales/pl/common.json +++ b/public/locales/pl/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 2e9cf474e535018150fd91134270930fb478e51b Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:04 +0000 Subject: [PATCH 089/142] Translated using Weblate (Swedish) Currently translated at 59.9% (130 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/sv/ --- public/locales/sv/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/sv/common.json b/public/locales/sv/common.json index febaec42..fd31ce7f 100644 --- a/public/locales/sv/common.json +++ b/public/locales/sv/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From b503c7c4d4857614cf852e275665ba8df127b3e4 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:05 +0000 Subject: [PATCH 090/142] Translated using Weblate (Croatian) Currently translated at 56.6% (123 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/hr/ --- public/locales/hr/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/hr/common.json b/public/locales/hr/common.json index 1905ff34..cd214c92 100644 --- a/public/locales/hr/common.json +++ b/public/locales/hr/common.json @@ -287,5 +287,10 @@ "approvedPushes": "Approved", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 162b882534e06fa1ffc9fbc2f9aad9ee5b0332c5 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:07 +0000 Subject: [PATCH 091/142] Translated using Weblate (Hungarian) Currently translated at 49.7% (108 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/hu/ --- public/locales/hu/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/hu/common.json b/public/locales/hu/common.json index b86bf0d4..cb2d731e 100644 --- a/public/locales/hu/common.json +++ b/public/locales/hu/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 16a9fe5230f7b823ff5d149111299556cca3b98a Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:05 +0000 Subject: [PATCH 092/142] Translated using Weblate (Hebrew) Currently translated at 46.5% (101 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/he/ --- public/locales/he/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/he/common.json b/public/locales/he/common.json index 9c937846..a865a87f 100644 --- a/public/locales/he/common.json +++ b/public/locales/he/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 330a7722404dfb0d077ddb71d705444da0277e3a Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:05 +0000 Subject: [PATCH 093/142] Translated using Weblate (Romanian) Currently translated at 63.1% (137 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ro/ --- public/locales/ro/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/ro/common.json b/public/locales/ro/common.json index 4158681c..383d6ac6 100644 --- a/public/locales/ro/common.json +++ b/public/locales/ro/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From bfa81274afd93eaf5e2585dd9fde60e25c7a16ee Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:05 +0000 Subject: [PATCH 094/142] Translated using Weblate (Portuguese (Brazil)) Currently translated at 52.9% (115 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pt_BR/ --- public/locales/pt-BR/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/pt-BR/common.json b/public/locales/pt-BR/common.json index ccd8659e..89cc9403 100644 --- a/public/locales/pt-BR/common.json +++ b/public/locales/pt-BR/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 6836b721d345076c094f604c86b96b4f367b6c3b Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:06 +0000 Subject: [PATCH 095/142] Translated using Weblate (Yue) Currently translated at 54.3% (118 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/yue/ --- public/locales/yue/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/yue/common.json b/public/locales/yue/common.json index 0a17761e..58831faf 100644 --- a/public/locales/yue/common.json +++ b/public/locales/yue/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 826258f646416f58b54280b60ae1855703b7f89c Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:07 +0000 Subject: [PATCH 096/142] Translated using Weblate (Finnish) Currently translated at 56.6% (123 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fi/ --- public/locales/fi/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/fi/common.json b/public/locales/fi/common.json index bcf4d9e7..37f8e7b1 100644 --- a/public/locales/fi/common.json +++ b/public/locales/fi/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 4c56eace3366bca15ea6c7d5b2caa4b3718f7a3e Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:07 +0000 Subject: [PATCH 097/142] Translated using Weblate (Telugu) Currently translated at 96.7% (210 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/te/ --- public/locales/te/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/te/common.json b/public/locales/te/common.json index 6b0205fe..4e3ec9a4 100644 --- a/public/locales/te/common.json +++ b/public/locales/te/common.json @@ -287,5 +287,10 @@ "approvedPushes": "Approved", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From bf04ec2a97ce836203ac10e43510fabc987d4873 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:07 +0000 Subject: [PATCH 098/142] Translated using Weblate (Bulgarian) Currently translated at 21.1% (46 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/bg/ --- public/locales/bg/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/bg/common.json b/public/locales/bg/common.json index 0b2df53a..15c7f0f7 100644 --- a/public/locales/bg/common.json +++ b/public/locales/bg/common.json @@ -287,5 +287,10 @@ "filters": "Filters", "indexers": "Indexers", "approvedPushes": "Approved" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From f4181c9e1374554eaadd6010d9bad7c7b7412fa1 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:06 +0000 Subject: [PATCH 099/142] Translated using Weblate (Turkish) Currently translated at 67.2% (146 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/tr/ --- public/locales/tr/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json index ac6cf2d7..9b62ca09 100644 --- a/public/locales/tr/common.json +++ b/public/locales/tr/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 958cae3e5d3b150b1d44106ac0934bf3180a4e03 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Fri, 28 Oct 2022 08:01:05 +0000 Subject: [PATCH 100/142] Translated using Weblate (Serbian) Currently translated at 4.1% (9 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/sr/ --- public/locales/sr/common.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/locales/sr/common.json b/public/locales/sr/common.json index 518a19ef..dbf1f57f 100644 --- a/public/locales/sr/common.json +++ b/public/locales/sr/common.json @@ -287,5 +287,10 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" } } From 546de7f0bff90bf7e6c5481ade22c999b389eb1b Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 29 Oct 2022 10:38:48 -0700 Subject: [PATCH 101/142] Update skeleton config links --- src/skeleton/bookmarks.yaml | 2 +- src/skeleton/docker.yaml | 2 +- src/skeleton/services.yaml | 2 +- src/skeleton/settings.yaml | 2 +- src/skeleton/widgets.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/skeleton/bookmarks.yaml b/src/skeleton/bookmarks.yaml index 871e9134..5a33593a 100644 --- a/src/skeleton/bookmarks.yaml +++ b/src/skeleton/bookmarks.yaml @@ -1,6 +1,6 @@ --- # For configuration options and examples, please see: -# https://github.com/benphelps/homepage/wiki/Bookmarks +# https://gethomepage.dev/en/configs/bookmarks - Developer: - Github: diff --git a/src/skeleton/docker.yaml b/src/skeleton/docker.yaml index 724c2281..27850e83 100644 --- a/src/skeleton/docker.yaml +++ b/src/skeleton/docker.yaml @@ -1,6 +1,6 @@ --- # For configuration options and examples, please see: -# https://github.com/benphelps/homepage/wiki/Docker-Integration +# https://gethomepage.dev/en/configs/docker/ # my-docker: # host: 127.0.0.1 diff --git a/src/skeleton/services.yaml b/src/skeleton/services.yaml index 9514f67e..32378898 100644 --- a/src/skeleton/services.yaml +++ b/src/skeleton/services.yaml @@ -1,6 +1,6 @@ --- # For configuration options and examples, please see: -# https://github.com/benphelps/homepage/wiki/Services +# https://gethomepage.dev/en/configs/services - My First Group: - My First Service: diff --git a/src/skeleton/settings.yaml b/src/skeleton/settings.yaml index 623781c6..2d0d0de0 100644 --- a/src/skeleton/settings.yaml +++ b/src/skeleton/settings.yaml @@ -1,6 +1,6 @@ --- # For configuration options and examples, please see: -# https://github.com/benphelps/homepage/wiki/Settings +# https://gethomepage.dev/en/configs/settings providers: openweathermap: openweathermapapikey diff --git a/src/skeleton/widgets.yaml b/src/skeleton/widgets.yaml index a5c6a911..c21f674b 100644 --- a/src/skeleton/widgets.yaml +++ b/src/skeleton/widgets.yaml @@ -1,6 +1,6 @@ --- # For configuration options and examples, please see: -# https://github.com/benphelps/homepage/wiki/Information-Widgets +# https://gethomepage.dev/en/configs/widgets - resources: cpu: true From 1963a94f741f34910cc3a93fbdbe0432a9d9f4b5 Mon Sep 17 00:00:00 2001 From: ForeverEndeavor <77213414+ForeverEndeavor@users.noreply.github.com> Date: Sat, 29 Oct 2022 13:39:54 -0500 Subject: [PATCH 102/142] fix endpoint typo in emby widget --- src/widgets/emby/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/emby/widget.js b/src/widgets/emby/widget.js index 1bb5a726..27fc749b 100644 --- a/src/widgets/emby/widget.js +++ b/src/widgets/emby/widget.js @@ -10,7 +10,7 @@ const widget = { }, PlayControl: { method: "POST", - enpoint: "Sessions/{sessionId}/Playing/{command}", + endpoint: "Sessions/{sessionId}/Playing/{command}", segments: ["sessionId", "command"], }, }, From 88e876d10b4f42bef40b9962f9dc6675976e44af Mon Sep 17 00:00:00 2001 From: Nonoss117 Date: Fri, 28 Oct 2022 08:08:56 +0000 Subject: [PATCH 103/142] Translated using Weblate (French) Currently translated at 100.0% (217 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 84fadba0..dd9c0ad6 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -289,8 +289,8 @@ "indexers": "Indexeur" }, "watchtower": { - "containers_scanned": "Scanned", - "containers_updated": "Updated", - "containers_failed": "Failed" + "containers_scanned": "Scanné", + "containers_updated": "Mis à jour", + "containers_failed": "Échoué" } } From e062d895b6a42bd35a131c15eafb8b359811bc9e Mon Sep 17 00:00:00 2001 From: hunkyn Date: Sat, 29 Oct 2022 02:02:39 +0000 Subject: [PATCH 104/142] Translated using Weblate (Telugu) Currently translated at 100.0% (217 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/te/ --- public/locales/te/common.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/public/locales/te/common.json b/public/locales/te/common.json index 4e3ec9a4..ddf50753 100644 --- a/public/locales/te/common.json +++ b/public/locales/te/common.json @@ -283,14 +283,14 @@ "child_bridges_status": "{{ok}}/{{total}}" }, "autobrr": { - "rejectedPushes": "Rejected", - "approvedPushes": "Approved", - "filters": "Filters", - "indexers": "Indexers" + "rejectedPushes": "తిరస్కరించారు", + "approvedPushes": "ఆమోదించబడింది", + "filters": "ఫిల్టర్లు", + "indexers": "సూచికలు" }, "watchtower": { - "containers_scanned": "Scanned", - "containers_updated": "Updated", - "containers_failed": "Failed" + "containers_scanned": "స్కాన్ చేశారు", + "containers_updated": "నవీకరించబడింది", + "containers_failed": "విఫలమయ్యారు" } } From e30d21aa7d81e2506883e512b6de15b08f176128 Mon Sep 17 00:00:00 2001 From: stuffinator Date: Sun, 30 Oct 2022 14:44:09 +0100 Subject: [PATCH 105/142] fixed datetime widget size issue - the widget was missing a flex-col div around it and was therefore taking up more space than it needed as it was reported here https://github.com/benphelps/homepage/issues/235#issuecomment-1276209354 --- src/components/widgets/datetime/datetime.jsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/widgets/datetime/datetime.jsx b/src/components/widgets/datetime/datetime.jsx index f35b5939..dceaf06a 100644 --- a/src/components/widgets/datetime/datetime.jsx +++ b/src/components/widgets/datetime/datetime.jsx @@ -27,10 +27,12 @@ export default function DateTime({ options }) { const dateFormat = new Intl.DateTimeFormat(i18n.language, { ...format }); return ( -
- - {dateFormat.format(date)} - +
+
+ + {dateFormat.format(date)} + +
); } From 49a764e8643e86d3e51a8fa89d6eaca497faee75 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 30 Oct 2022 08:18:02 -0700 Subject: [PATCH 106/142] openmeteo right-algned like other weather widgets --- src/pages/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 73dcc912..88c25cc4 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -35,7 +35,7 @@ const Version = dynamic(() => import("components/version"), { ssr: false, }); -const rightAlignedWidgets = ["weatherapi", "openweathermap", "weather", "search", "datetime"]; +const rightAlignedWidgets = ["weatherapi", "openweathermap", "weather", "openmeteo", "search", "datetime"]; export async function getStaticProps() { let logger; From 68b8e4b3762394cef75569532a37c33a709cf5a7 Mon Sep 17 00:00:00 2001 From: Brandon Barker Date: Mon, 31 Oct 2022 15:23:34 +0200 Subject: [PATCH 107/142] feat: add tubearchivist widget --- public/locales/en/common.json | 6 ++++ src/utils/proxy/handlers/credentialed.js | 2 ++ src/widgets/components.js | 1 + src/widgets/tubearchivist/component.jsx | 40 ++++++++++++++++++++++++ src/widgets/tubearchivist/widget.js | 23 ++++++++++++++ src/widgets/widgets.js | 2 ++ 6 files changed, 74 insertions(+) create mode 100644 src/widgets/tubearchivist/component.jsx create mode 100644 src/widgets/tubearchivist/widget.js diff --git a/public/locales/en/common.json b/public/locales/en/common.json index dd00ff86..a4b0628d 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -303,5 +303,11 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } diff --git a/src/utils/proxy/handlers/credentialed.js b/src/utils/proxy/handlers/credentialed.js index c2c6e334..54c393b1 100644 --- a/src/utils/proxy/handlers/credentialed.js +++ b/src/utils/proxy/handlers/credentialed.js @@ -33,6 +33,8 @@ export default async function credentialedProxyHandler(req, res) { headers.Authorization = `PVEAPIToken=${widget.username}=${widget.password}`; } else if (widget.type === "autobrr") { headers["X-API-Token"] = `${widget.key}`; + } else if (widget.type === "tubearchivist") { + headers.Authorization = `Token ${widget.key}`; } else { headers["X-API-Key"] = `${widget.key}`; } diff --git a/src/widgets/components.js b/src/widgets/components.js index c2b50189..47502403 100644 --- a/src/widgets/components.js +++ b/src/widgets/components.js @@ -36,6 +36,7 @@ const components = { tautulli: dynamic(() => import("./tautulli/component")), traefik: dynamic(() => import("./traefik/component")), transmission: dynamic(() => import("./transmission/component")), + tubearchivist: dynamic(() => import("./tubearchivist/component")), unifi: dynamic(() => import("./unifi/component")), watchtower: dynamic(() => import("./watchtower/component")), }; diff --git a/src/widgets/tubearchivist/component.jsx b/src/widgets/tubearchivist/component.jsx new file mode 100644 index 00000000..5b548443 --- /dev/null +++ b/src/widgets/tubearchivist/component.jsx @@ -0,0 +1,40 @@ +import { useTranslation } from "next-i18next"; + +import Container from "components/services/widget/container"; +import Block from "components/services/widget/block"; +import useWidgetAPI from "utils/proxy/use-widget-api"; + +export default function Component({ service }) { + const { t } = useTranslation(); + + const { widget } = service; + + const { data: downloadsData, error: downloadsError } = useWidgetAPI(widget, "downloads"); + const { data: videosData, error: videosError } = useWidgetAPI(widget, "videos"); + const { data: channelsData, error: channelsError } = useWidgetAPI(widget, "channels"); + const { data: playlistsData, error: playlistsError } = useWidgetAPI(widget, "playlists"); + + if (downloadsError || videosError || channelsError || playlistsError) { + return ; + } + + if (!downloadsData || !videosData || !channelsData || !playlistsData) { + return ( + + + + + + + ); + } + + return ( + + + + + + + ); +} diff --git a/src/widgets/tubearchivist/widget.js b/src/widgets/tubearchivist/widget.js new file mode 100644 index 00000000..c73070f0 --- /dev/null +++ b/src/widgets/tubearchivist/widget.js @@ -0,0 +1,23 @@ +import credentialedProxyHandler from "utils/proxy/handlers/credentialed"; + +const widget = { + api: "{url}/api/{endpoint}", + proxyHandler: credentialedProxyHandler, + + mappings: { + downloads: { + endpoint: "download", + }, + videos: { + endpoint: "video", + }, + channels: { + endpoint: "channel", + }, + playlists: { + endpoint: "playlist", + }, + }, +}; + +export default widget; diff --git a/src/widgets/widgets.js b/src/widgets/widgets.js index 74f426b3..0352466d 100644 --- a/src/widgets/widgets.js +++ b/src/widgets/widgets.js @@ -31,6 +31,7 @@ import strelaysrv from "./strelaysrv/widget"; import tautulli from "./tautulli/widget"; import traefik from "./traefik/widget"; import transmission from "./transmission/widget"; +import tubearchivist from "./tubearchivist/widget"; import unifi from "./unifi/widget"; import watchtower from './watchtower/widget' @@ -69,6 +70,7 @@ const widgets = { tautulli, traefik, transmission, + tubearchivist, unifi, unifi_console: unifi, watchtower, From 8974b96fbe314f169c98f40262f8fa0a7d7732ae Mon Sep 17 00:00:00 2001 From: Hussien Fahmy Date: Wed, 2 Nov 2022 13:44:42 +0100 Subject: [PATCH 108/142] Added translation using Weblate (Arabic) --- public/locales/ar/common.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/locales/ar/common.json diff --git a/public/locales/ar/common.json b/public/locales/ar/common.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/public/locales/ar/common.json @@ -0,0 +1 @@ +{} From e5ce081e11719600a11c25d22f5d75ddd2f0cec3 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Wed, 2 Nov 2022 12:44:44 +0000 Subject: [PATCH 109/142] Translated using Weblate (Arabic) Currently translated at 100.0% (0 of 0 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ar/ --- public/locales/ar/common.json | 297 +++++++++++++++++++++++++++++++++- 1 file changed, 296 insertions(+), 1 deletion(-) diff --git a/public/locales/ar/common.json b/public/locales/ar/common.json index 0967ef42..5e5222f9 100644 --- a/public/locales/ar/common.json +++ b/public/locales/ar/common.json @@ -1 +1,296 @@ -{} +{ + "widget": { + "missing_type": "Missing Widget Type: {{type}}", + "api_error": "API Error", + "status": "Status" + }, + "weather": { + "current": "Current Location", + "allow": "Click to allow", + "updating": "Updating", + "wait": "Please wait" + }, + "search": { + "placeholder": "Search…" + }, + "resources": { + "cpu": "CPU", + "total": "Total", + "free": "Free", + "used": "Used", + "load": "Load" + }, + "unifi": { + "users": "Users", + "uptime": "System Uptime", + "days": "Days", + "wan": "WAN", + "lan": "LAN", + "wlan": "WLAN", + "devices": "Devices", + "lan_devices": "LAN Devices", + "wlan_devices": "WLAN Devices", + "lan_users": "LAN Users", + "wlan_users": "WLAN Users", + "up": "UP", + "down": "DOWN", + "wait": "Please wait" + }, + "wmo": { + "73-day": "Snow", + "0-day": "Sunny", + "0-night": "Clear", + "1-day": "Mainly Sunny", + "1-night": "Mainly Clear", + "2-day": "Partly Cloudy", + "2-night": "Partly Cloudy", + "3-day": "Cloudy", + "3-night": "Cloudy", + "45-day": "Foggy", + "45-night": "Foggy", + "48-day": "Foggy", + "48-night": "Foggy", + "51-day": "Light Drizzle", + "51-night": "Light Drizzle", + "53-day": "Drizzle", + "53-night": "Drizzle", + "55-day": "Heavy Drizzle", + "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-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" + }, + "docker": { + "rx": "RX", + "tx": "TX", + "mem": "MEM", + "cpu": "CPU", + "offline": "Offline" + }, + "emby": { + "playing": "Playing", + "transcoding": "Transcoding", + "bitrate": "Bitrate", + "no_active": "No Active Streams" + }, + "changedetectionio": { + "totalObserved": "Total Observed", + "diffsDetected": "Diffs Detected" + }, + "tautulli": { + "playing": "Playing", + "transcoding": "Transcoding", + "bitrate": "Bitrate", + "no_active": "No Active Streams" + }, + "nzbget": { + "rate": "Rate", + "remaining": "Remaining", + "downloaded": "Downloaded" + }, + "plex": { + "streams": "Active Streams", + "movies": "Movies", + "tv": "TV Shows" + }, + "sabnzbd": { + "rate": "Rate", + "queue": "Queue", + "timeleft": "Time Left" + }, + "rutorrent": { + "active": "Active", + "upload": "Upload", + "download": "Download" + }, + "transmission": { + "download": "Download", + "upload": "Upload", + "leech": "Leech", + "seed": "Seed" + }, + "qbittorrent": { + "download": "Download", + "upload": "Upload", + "leech": "Leech", + "seed": "Seed" + }, + "sonarr": { + "wanted": "Wanted", + "queued": "Queued", + "series": "Series" + }, + "radarr": { + "wanted": "Wanted", + "missing": "Missing", + "queued": "Queued", + "movies": "Movies" + }, + "lidarr": { + "wanted": "Wanted", + "queued": "Queued", + "albums": "Albums" + }, + "readarr": { + "wanted": "Wanted", + "queued": "Queued", + "books": "Books" + }, + "bazarr": { + "missingEpisodes": "Missing Episodes", + "missingMovies": "Missing Movies" + }, + "ombi": { + "pending": "Pending", + "approved": "Approved", + "available": "Available" + }, + "jellyseerr": { + "pending": "Pending", + "approved": "Approved", + "available": "Available" + }, + "overseerr": { + "pending": "Pending", + "approved": "Approved", + "available": "Available" + }, + "pihole": { + "queries": "Queries", + "blocked": "Blocked", + "gravity": "Gravity" + }, + "adguard": { + "queries": "Queries", + "blocked": "Blocked", + "filtered": "Filtered", + "latency": "Latency" + }, + "speedtest": { + "upload": "Upload", + "download": "Download", + "ping": "Ping" + }, + "portainer": { + "running": "Running", + "stopped": "Stopped", + "total": "Total" + }, + "traefik": { + "routers": "Routers", + "services": "Services", + "middleware": "Middleware" + }, + "npm": { + "enabled": "Enabled", + "disabled": "Disabled", + "total": "Total" + }, + "coinmarketcap": { + "configure": "Configure one or more crypto currencies to track", + "1hour": "1 Hour", + "1day": "1 Day", + "7days": "7 Days", + "30days": "30 Days" + }, + "gotify": { + "apps": "Applications", + "clients": "Clients", + "messages": "Messages" + }, + "prowlarr": { + "enableIndexers": "Indexers", + "numberOfGrabs": "Grabs", + "numberOfQueries": "Queries", + "numberOfFailGrabs": "Fail Grabs", + "numberOfFailQueries": "Fail Queries" + }, + "jackett": { + "configured": "Configured", + "errored": "Errored" + }, + "strelaysrv": { + "numActiveSessions": "Sessions", + "numConnections": "Connections", + "dataRelayed": "Relayed", + "transferRate": "Rate" + }, + "mastodon": { + "user_count": "Users", + "status_count": "Posts", + "domain_count": "Domains" + }, + "authentik": { + "users": "Users", + "loginsLast24H": "Logins (24h)", + "failedLoginsLast24H": "Failed Logins (24h)" + }, + "proxmox": { + "mem": "MEM", + "cpu": "CPU", + "lxc": "LXC", + "vms": "VMs" + }, + "glances": { + "cpu": "CPU", + "mem": "MEM", + "wait": "Please wait" + }, + "quicklaunch": { + "bookmark": "Bookmark", + "service": "Service" + }, + "homebridge": { + "available_update": "System", + "updates": "Updates", + "update_available": "Update Available", + "up_to_date": "Up to Date", + "child_bridges": "Child Bridges", + "child_bridges_status": "{{ok}}/{{total}}" + }, + "watchtower": { + "containers_scanned": "Scanned", + "containers_updated": "Updated", + "containers_failed": "Failed" + }, + "autobrr": { + "approvedPushes": "Approved", + "rejectedPushes": "Rejected", + "filters": "Filters", + "indexers": "Indexers" + } +} From b9f9ce7734951ed8d1432738e0f5cd611048f178 Mon Sep 17 00:00:00 2001 From: Hussien Fahmy Date: Wed, 2 Nov 2022 12:49:28 +0000 Subject: [PATCH 110/142] Translated using Weblate (Arabic) Currently translated at 20.2% (44 of 217 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ar/ --- public/locales/ar/common.json | 60 +++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/public/locales/ar/common.json b/public/locales/ar/common.json index 5e5222f9..a545a555 100644 --- a/public/locales/ar/common.json +++ b/public/locales/ar/common.json @@ -1,40 +1,40 @@ { "widget": { - "missing_type": "Missing Widget Type: {{type}}", - "api_error": "API Error", - "status": "Status" + "missing_type": "نوع القطعة مفقود: {{type}}", + "api_error": "API خطأ", + "status": "الحالة" }, "weather": { - "current": "Current Location", - "allow": "Click to allow", - "updating": "Updating", - "wait": "Please wait" + "current": "الموقع الحالي", + "allow": "اضغط للسماح", + "updating": "جاري التحديث", + "wait": "الرجاء الانتظار" }, "search": { - "placeholder": "Search…" + "placeholder": "بحث …" }, "resources": { - "cpu": "CPU", - "total": "Total", - "free": "Free", - "used": "Used", - "load": "Load" + "cpu": "المعالج", + "total": "المجموع", + "free": "متاح", + "used": "مستخدم", + "load": "الضغط" }, "unifi": { - "users": "Users", - "uptime": "System Uptime", - "days": "Days", + "users": "المستخدمون", + "uptime": "مدة تشغيل النظام", + "days": "ايام", "wan": "WAN", "lan": "LAN", "wlan": "WLAN", - "devices": "Devices", - "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices", - "lan_users": "LAN Users", - "wlan_users": "WLAN Users", - "up": "UP", - "down": "DOWN", - "wait": "Please wait" + "devices": "الاجهزة", + "lan_devices": "LAN اجهزة", + "wlan_devices": "WLAN احهزة", + "lan_users": "LAN مستخدمين", + "wlan_users": "WLAN مستخدمين", + "up": "اعلي", + "down": "اسفل", + "wait": "الرجاء الانتظار" }, "wmo": { "73-day": "Snow", @@ -97,14 +97,14 @@ "docker": { "rx": "RX", "tx": "TX", - "mem": "MEM", - "cpu": "CPU", - "offline": "Offline" + "mem": "الرام", + "cpu": "المعالج", + "offline": "غير متصل" }, "emby": { - "playing": "Playing", - "transcoding": "Transcoding", - "bitrate": "Bitrate", + "playing": "يعمل الان", + "transcoding": "التحويل", + "bitrate": "معدل البت", "no_active": "No Active Streams" }, "changedetectionio": { From da46b9de218314ab67af69c769be5c2f4744f477 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:19 +0000 Subject: [PATCH 111/142] Translated using Weblate (German) Currently translated at 59.7% (132 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/de/ --- public/locales/de/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/de/common.json b/public/locales/de/common.json index ec3b6e39..28853ca0 100644 --- a/public/locales/de/common.json +++ b/public/locales/de/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From b41224f96514704e354b1eda9ce29755aeb4b097 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:20 +0000 Subject: [PATCH 112/142] Translated using Weblate (Spanish) Currently translated at 96.8% (214 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/es/ --- public/locales/es/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 8ac88578..e9732e84 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From f81b0745378b1b4268c95fb55d1ee4f04dc8a6fe Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:20 +0000 Subject: [PATCH 113/142] Translated using Weblate (French) Currently translated at 98.1% (217 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index dd9c0ad6..f71032b4 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanné", "containers_updated": "Mis à jour", "containers_failed": "Échoué" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 0e1ddf88538512720eb55ca0a83140395759d4bf Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:20 +0000 Subject: [PATCH 114/142] Translated using Weblate (Portuguese) Currently translated at 52.0% (115 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pt/ --- public/locales/pt/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/pt/common.json b/public/locales/pt/common.json index 1c43e974..4e176a03 100644 --- a/public/locales/pt/common.json +++ b/public/locales/pt/common.json @@ -303,5 +303,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From ba6e72b4217e7433ff3ecbab992577c79154e525 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:20 +0000 Subject: [PATCH 115/142] Translated using Weblate (Russian) Currently translated at 10.4% (23 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ru/ --- public/locales/ru/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index 319b8012..f71ac514 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From aedc9244b5be359650c19a0654bdc320d6d3ecd1 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:21 +0000 Subject: [PATCH 116/142] Translated using Weblate (Chinese (Simplified)) Currently translated at 62.4% (138 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/zh_Hans/ --- public/locales/zh-CN/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/zh-CN/common.json b/public/locales/zh-CN/common.json index e3655745..6410180b 100644 --- a/public/locales/zh-CN/common.json +++ b/public/locales/zh-CN/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From a14d88bcf86713c72d8096500e188a5b52544d3a Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:21 +0000 Subject: [PATCH 117/142] Translated using Weblate (Italian) Currently translated at 75.1% (166 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/it/ --- public/locales/it/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/it/common.json b/public/locales/it/common.json index f1a29332..58a29edd 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 97a5d30b51f746e9f03207a4b363481147f8d0e3 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:19 +0000 Subject: [PATCH 118/142] =?UTF-8?q?Translated=20using=20Weblate=20(Norwegi?= =?UTF-8?q?an=20Bokm=C3=A5l)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 35.7% (79 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/nb_NO/ --- public/locales/nb-NO/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/nb-NO/common.json b/public/locales/nb-NO/common.json index 78b658f0..2342b7e5 100644 --- a/public/locales/nb-NO/common.json +++ b/public/locales/nb-NO/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 88f41994d3e715e5fdffe76cd7c86d5492a27c55 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:21 +0000 Subject: [PATCH 119/142] Translated using Weblate (Vietnamese) Currently translated at 19.9% (44 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/vi/ --- public/locales/vi/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json index 79256902..7905c5fe 100644 --- a/public/locales/vi/common.json +++ b/public/locales/vi/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 7ce184f6cbc562f497c55c051592f57b18fe93b9 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:21 +0000 Subject: [PATCH 120/142] Translated using Weblate (Dutch) Currently translated at 28.5% (63 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/nl/ --- public/locales/nl/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/nl/common.json b/public/locales/nl/common.json index 42d0b6b8..67c7b96e 100644 --- a/public/locales/nl/common.json +++ b/public/locales/nl/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 1ffdae45b375b7f3fe934c343b63d34211989860 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:22 +0000 Subject: [PATCH 121/142] Translated using Weblate (Chinese (Traditional)) Currently translated at 4.0% (9 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/zh_Hant/ --- public/locales/zh-Hant/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/zh-Hant/common.json b/public/locales/zh-Hant/common.json index f28af2c8..3c24b83c 100644 --- a/public/locales/zh-Hant/common.json +++ b/public/locales/zh-Hant/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From b473576dec0a1bb628ea528b79ffa8d0250adf40 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:17 +0000 Subject: [PATCH 122/142] Translated using Weblate (Catalan) Currently translated at 59.2% (131 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ca/ --- public/locales/ca/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/ca/common.json b/public/locales/ca/common.json index d7a626d8..be893c61 100644 --- a/public/locales/ca/common.json +++ b/public/locales/ca/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 352b11604998bb7b37625e118a2d96c5e91b1b51 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:18 +0000 Subject: [PATCH 123/142] Translated using Weblate (Polish) Currently translated at 78.2% (173 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pl/ --- public/locales/pl/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/pl/common.json b/public/locales/pl/common.json index 922fc6e0..92bce068 100644 --- a/public/locales/pl/common.json +++ b/public/locales/pl/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From f0d9438e5104f5ed4e6522372877a84932675b52 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:14 +0000 Subject: [PATCH 124/142] Translated using Weblate (Swedish) Currently translated at 58.8% (130 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/sv/ --- public/locales/sv/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/sv/common.json b/public/locales/sv/common.json index fd31ce7f..33235e38 100644 --- a/public/locales/sv/common.json +++ b/public/locales/sv/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 471f270cb9a371e48d21bb29213fc8ca7987c4af Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:14 +0000 Subject: [PATCH 125/142] Translated using Weblate (Croatian) Currently translated at 55.6% (123 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/hr/ --- public/locales/hr/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/hr/common.json b/public/locales/hr/common.json index cd214c92..1ab626b5 100644 --- a/public/locales/hr/common.json +++ b/public/locales/hr/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 6f8fdeb3fd5395011c48bf3771823346934ca0e0 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:17 +0000 Subject: [PATCH 126/142] Translated using Weblate (Hungarian) Currently translated at 48.8% (108 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/hu/ --- public/locales/hu/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/hu/common.json b/public/locales/hu/common.json index cb2d731e..97a32863 100644 --- a/public/locales/hu/common.json +++ b/public/locales/hu/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 81308f05697e58018a7eba452466a85a13f78a93 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:15 +0000 Subject: [PATCH 127/142] Translated using Weblate (Hebrew) Currently translated at 45.7% (101 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/he/ --- public/locales/he/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/he/common.json b/public/locales/he/common.json index a865a87f..f63e1375 100644 --- a/public/locales/he/common.json +++ b/public/locales/he/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From a6a056c622e0fec1148fbd8394164c070dac82f4 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:15 +0000 Subject: [PATCH 128/142] Translated using Weblate (Romanian) Currently translated at 61.9% (137 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ro/ --- public/locales/ro/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/ro/common.json b/public/locales/ro/common.json index 383d6ac6..19b85f45 100644 --- a/public/locales/ro/common.json +++ b/public/locales/ro/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 1536589a81621119ddb91fe325ddba49f6ae3a5e Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:15 +0000 Subject: [PATCH 129/142] Translated using Weblate (Portuguese (Brazil)) Currently translated at 52.0% (115 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/pt_BR/ --- public/locales/pt-BR/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/pt-BR/common.json b/public/locales/pt-BR/common.json index 89cc9403..f512cf94 100644 --- a/public/locales/pt-BR/common.json +++ b/public/locales/pt-BR/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 35dc2b6e24ac270bcd9ee24555450f3b660a9d78 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:17 +0000 Subject: [PATCH 130/142] Translated using Weblate (Yue) Currently translated at 53.3% (118 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/yue/ --- public/locales/yue/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/yue/common.json b/public/locales/yue/common.json index 58831faf..fd2c8abe 100644 --- a/public/locales/yue/common.json +++ b/public/locales/yue/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 0f3916520a7c2ffd421baedd8933e3b87e49b95c Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:19 +0000 Subject: [PATCH 131/142] Translated using Weblate (Finnish) Currently translated at 55.6% (123 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fi/ --- public/locales/fi/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/fi/common.json b/public/locales/fi/common.json index 37f8e7b1..f8f1339d 100644 --- a/public/locales/fi/common.json +++ b/public/locales/fi/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From a95901ee5e8ec093742bfcd8ab898a469e187b6f Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:18 +0000 Subject: [PATCH 132/142] Translated using Weblate (Telugu) Currently translated at 98.1% (217 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/te/ --- public/locales/te/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/te/common.json b/public/locales/te/common.json index ddf50753..cc06942f 100644 --- a/public/locales/te/common.json +++ b/public/locales/te/common.json @@ -292,5 +292,11 @@ "containers_scanned": "స్కాన్ చేశారు", "containers_updated": "నవీకరించబడింది", "containers_failed": "విఫలమయ్యారు" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 4a93a31bb31232defb674c8163cb1f72402f6887 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:19 +0000 Subject: [PATCH 133/142] Translated using Weblate (Bulgarian) Currently translated at 20.8% (46 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/bg/ --- public/locales/bg/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/bg/common.json b/public/locales/bg/common.json index 15c7f0f7..a6a59141 100644 --- a/public/locales/bg/common.json +++ b/public/locales/bg/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 01c31aa8a8e384f386d0fa9f35c473ff93fbbc21 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:16 +0000 Subject: [PATCH 134/142] Translated using Weblate (Turkish) Currently translated at 66.0% (146 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/tr/ --- public/locales/tr/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json index 9b62ca09..a4274a9b 100644 --- a/public/locales/tr/common.json +++ b/public/locales/tr/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From a5e7b59a81c59df78e02ba71d225d4d7690e126e Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:15 +0000 Subject: [PATCH 135/142] Translated using Weblate (Serbian) Currently translated at 4.0% (9 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/sr/ --- public/locales/sr/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/sr/common.json b/public/locales/sr/common.json index dbf1f57f..6c7de927 100644 --- a/public/locales/sr/common.json +++ b/public/locales/sr/common.json @@ -292,5 +292,11 @@ "containers_scanned": "Scanned", "containers_updated": "Updated", "containers_failed": "Failed" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From ad3cf15ea423a3f33bcb03260b7df0f1ab2f9f67 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 3 Nov 2022 05:01:18 +0000 Subject: [PATCH 136/142] Translated using Weblate (Arabic) Currently translated at 19.9% (44 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/ar/ --- public/locales/ar/common.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/locales/ar/common.json b/public/locales/ar/common.json index a545a555..683672ce 100644 --- a/public/locales/ar/common.json +++ b/public/locales/ar/common.json @@ -292,5 +292,11 @@ "rejectedPushes": "Rejected", "filters": "Filters", "indexers": "Indexers" + }, + "tubearchivist": { + "downloads": "Queue", + "videos": "Videos", + "channels": "Channels", + "playlists": "Playlists" } } From 71de8fe0d8d75926f550b3f3281c89c8924eb1d4 Mon Sep 17 00:00:00 2001 From: Ben Phelps Date: Thu, 3 Nov 2022 10:02:43 +0200 Subject: [PATCH 137/142] disable arm7 to get builds working again --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 8f36dcc4..dd84e0fc 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -100,7 +100,7 @@ jobs: REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} # https://github.com/docker/setup-qemu-action#about # platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: linux/amd64,linux/arm64 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max From ce7b532c7f50ef8c8ce80e5dda80d6e533695433 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 3 Nov 2022 11:37:54 -0700 Subject: [PATCH 138/142] Use node v18 See https://github.com/nodejs/docker-node/issues/1798 --- .github/workflows/docker-publish.yml | 2 +- Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index dd84e0fc..1d9c7137 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -100,7 +100,7 @@ jobs: REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} # https://github.com/docker/setup-qemu-action#about # platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max diff --git a/Dockerfile b/Dockerfile index 8921388b..48e5d2f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax = docker/dockerfile:latest # Install dependencies only when needed -FROM node:current-alpine AS deps +FROM docker.io/node:18-alpine AS deps WORKDIR /app @@ -19,7 +19,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm f RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm install -r --offline # Rebuild the source code only when needed -FROM node:current-alpine AS builder +FROM docker.io/node:18-alpine AS builder WORKDIR /app ARG BUILDTIME @@ -37,7 +37,7 @@ RUN < Date: Thu, 3 Nov 2022 21:37:12 +0200 Subject: [PATCH 139/142] disable signing for now, until it gets fixed upstream --- .github/workflows/docker-publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 1d9c7137..59a2cd36 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -109,13 +109,13 @@ jobs: # repository is public to avoid leaking data. If you would like to publish # transparency data even for private images, pass --force to cosign below. # https://github.com/sigstore/cosign - - name: Sign the published Docker image - if: ${{ github.event_name != 'pull_request' }} - env: - COSIGN_EXPERIMENTAL: "true" - # This step uses the identity token to provision an ephemeral certificate - # against the sigstore community Fulcio instance. - run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }} +# - name: Sign the published Docker image +# if: ${{ github.event_name != 'pull_request' }} +# env: +# COSIGN_EXPERIMENTAL: "true" +# # This step uses the identity token to provision an ephemeral certificate +# # against the sigstore community Fulcio instance. +# run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }} # Temp fix # https://github.com/docker/build-push-action/issues/252 From ba480fe1d87522631ff56ffc6e3ae31dad852543 Mon Sep 17 00:00:00 2001 From: gallegonovato Date: Thu, 3 Nov 2022 16:20:48 +0000 Subject: [PATCH 140/142] Translated using Weblate (Spanish) Currently translated at 100.0% (221 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/es/ --- public/locales/es/common.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/public/locales/es/common.json b/public/locales/es/common.json index e9732e84..57c839c0 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -289,14 +289,14 @@ "indexers": "Indexadores" }, "watchtower": { - "containers_scanned": "Scanned", - "containers_updated": "Updated", - "containers_failed": "Failed" + "containers_scanned": "Escaneado", + "containers_updated": "Actualizado", + "containers_failed": "Fallido" }, "tubearchivist": { - "downloads": "Queue", - "videos": "Videos", - "channels": "Channels", - "playlists": "Playlists" + "downloads": "Cola", + "videos": "Vídeos", + "channels": "Canales", + "playlists": "Listas de reproducción" } } From 7f1410e1619facdb2e585789e48181a7673e95bb Mon Sep 17 00:00:00 2001 From: Nonoss117 Date: Thu, 3 Nov 2022 05:51:40 +0000 Subject: [PATCH 141/142] Translated using Weblate (French) Currently translated at 100.0% (221 of 221 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index f71032b4..b3d669bc 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -295,8 +295,8 @@ }, "tubearchivist": { "downloads": "Queue", - "videos": "Videos", - "channels": "Channels", + "videos": "Vidéos", + "channels": "Chaînes", "playlists": "Playlists" } } From d29ea104d29de54ea2fd17f49df6e2331fa15706 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 3 Nov 2022 15:45:46 -0700 Subject: [PATCH 142/142] Update cosign to 1.13.1 See https://github.com/sigstore/cosign/issues/2390 / https://github.com/sigstore/cosign-installer/issues/100 --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 59a2cd36..bacc1fa7 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -43,7 +43,7 @@ jobs: if: github.event_name != 'pull_request' uses: sigstore/cosign-installer@main with: - cosign-release: 'v1.11.0' # optional + cosign-release: 'v1.13.1' # optional # Setup QEMU # https://github.com/marketplace/actions/docker-setup-buildx#with-qemu