Compare commits
55 Commits
v2.2.0
...
feature/feeds
| Author | SHA1 | Date | |
|---|---|---|---|
| 2559371332 | |||
| 3c21057f41 | |||
| 9cbd0b2e24 | |||
| 2b161ce4e8 | |||
| 1359651555 | |||
| 6048d05ad7 | |||
| a7b15b9eb5 | |||
| 8d4a76c5bf | |||
| 4b8c5a91e7 | |||
| 83d7fe2556 | |||
| 9669a68995 | |||
| b1935ed8a0 | |||
| c5a218c39a | |||
| 2e287402c4 | |||
| 40082f798d | |||
| db480ca991 | |||
| a7a4378a40 | |||
| df52670871 | |||
| 3b26d0d3f6 | |||
| 76ad5d03cc | |||
| 9c3544eeef | |||
| e031209d68 | |||
| 802201d2a9 | |||
| 8619f93ab4 | |||
| d1c1ee7a1e | |||
| e0be80085e | |||
| b8ed72a03f | |||
| ebff6f4a7d | |||
| e890b544dc | |||
| f7666df9d8 | |||
| 6b6926108e | |||
| c391c91517 | |||
| 941db5706c | |||
| 643ebe8c02 | |||
| 1021027b5a | |||
| 0e131aa0d4 | |||
| 3598869ef0 | |||
| c764d05a0c | |||
| fcd9a715d9 | |||
| eacc205249 | |||
| 4249a3fb95 | |||
| 0b98428ab5 | |||
| bbe52519bb | |||
| 541b2fe9f1 | |||
| 574ba2c7cb | |||
| f78cab7557 | |||
| 2cd77eae1f | |||
| 6ab83b0b5f | |||
| 9aa5a79c41 | |||
| 1c2cb76702 | |||
| 7de1faa769 | |||
| 1024a382ee | |||
| 438788240b | |||
| df34927198 | |||
| ddc5adc91c |
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: crowdin action
|
- name: crowdin action
|
||||||
uses: crowdin/github-action@8f01d54f70f1713ee3f09d82c2bbb2daeac28689 # v2
|
uses: crowdin/github-action@9af557de76d70c480f88065d336f445a362f402b # v3.1.0
|
||||||
with:
|
with:
|
||||||
upload_translations: false
|
upload_translations: false
|
||||||
download_translations: true
|
download_translations: true
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
nextjs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
|
nextjs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
|
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
|
||||||
with:
|
with:
|
||||||
version: 10
|
version: 10
|
||||||
run_install: false
|
run_install: false
|
||||||
@@ -99,14 +99,14 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Setup QEMU
|
- name: Setup QEMU
|
||||||
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
|
uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||||
|
|
||||||
- name: Setup Docker buildx
|
- name: Setup Docker buildx
|
||||||
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
|
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: build-and-push
|
id: build-and-push
|
||||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
|
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
|
||||||
- run: sudo apt-get install pngquant
|
- run: sudo apt-get install pngquant
|
||||||
- name: Test Docs Build
|
- name: Test Docs Build
|
||||||
run: uv run --frozen zensical build --clean
|
run: uv run --frozen zensical build --clean
|
||||||
@@ -45,12 +45,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
|
||||||
- run: sudo apt-get install pngquant
|
- run: sudo apt-get install pngquant
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
run: uv run --frozen zensical build --clean
|
run: uv run --frozen zensical build --clean
|
||||||
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
|
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
|
||||||
with:
|
with:
|
||||||
path: site
|
path: site
|
||||||
- uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
|
- uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
|
||||||
id: deployment
|
id: deployment
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
|
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
|
||||||
with:
|
with:
|
||||||
version: 10
|
version: 10
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
|
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
|
||||||
with:
|
with:
|
||||||
version: 9
|
version: 9
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
# Run Vitest directly so `--shard` is parsed as an option
|
# Run Vitest directly so `--shard` is parsed as an option
|
||||||
- run: pnpm -s exec vitest run --coverage --shard ${{ matrix.shard }}/4 --pool forks
|
- run: pnpm -s exec vitest run --coverage --shard ${{ matrix.shard }}/4 --pool forks
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
files: ./coverage/lcov.info
|
files: ./coverage/lcov.info
|
||||||
|
|||||||
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 794 KiB |
|
After Width: | Height: | Size: 221 KiB |
|
After Width: | Height: | Size: 337 KiB |
@@ -430,6 +430,64 @@ headerStyle: clean
|
|||||||
headerStyle: boxedWidgets
|
headerStyle: boxedWidgets
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Card Style
|
||||||
|
|
||||||
|
Service and bookmark cards use a drop shadow by default. The `hairline` style replaces it with a thin border that brightens on hover.
|
||||||
|
|
||||||
|
<img width="896" alt="default cards" src="../../assets/style-default.webp">
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# default, shadowed cards
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<img width="896" alt="hairline cards" src="../../assets/card-style-hairline.webp">
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
cardStyle: hairline
|
||||||
|
```
|
||||||
|
|
||||||
|
## Block Style
|
||||||
|
|
||||||
|
Widget blocks (the value / label pairs inside a service card) can use the `refined` style to make values heavier and easier to read.
|
||||||
|
|
||||||
|
<img width="896" alt="default blocks" src="../../assets/style-default.webp">
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# default, standard blocks
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<img width="896" alt="refined blocks" src="../../assets/block-style-refined.webp">
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
blockStyle: refined
|
||||||
|
```
|
||||||
|
|
||||||
|
## Font
|
||||||
|
|
||||||
|
Homepage uses Manrope by default. You can switch to IBM Plex Mono instead, either everywhere or for data only.
|
||||||
|
|
||||||
|
<img width="896" alt="IBM Plex Mono everywhere" src="../../assets/font-plex.webp">
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
font: plex # the whole dashboard
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<img width="896" alt="IBM Plex Mono for data only" src="../../assets/font-plex-data.webp">
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
font: plexData # only values, stats, the clock and status tags
|
||||||
|
```
|
||||||
|
|
||||||
|
With `plexData`, labels and names stay in Manrope while numbers line up in columns.
|
||||||
|
|
||||||
|
Both fonts are bundled with Homepage, so no external requests are made.
|
||||||
|
|
||||||
## Base URL
|
## Base URL
|
||||||
|
|
||||||
In some proxy configurations, it may be necessary to set the documents base URL. You can do this by providing a `base` value, like so:
|
In some proxy configurations, it may be necessary to set the documents base URL. You can do this by providing a `base` value, like so:
|
||||||
|
|||||||
@@ -69,6 +69,11 @@ For OIDC login (overrides password login):
|
|||||||
- `HOMEPAGE_OIDC_CLIENT_ID`
|
- `HOMEPAGE_OIDC_CLIENT_ID`
|
||||||
- `HOMEPAGE_OIDC_CLIENT_SECRET`
|
- `HOMEPAGE_OIDC_CLIENT_SECRET`
|
||||||
- Optional: `HOMEPAGE_OIDC_NAME` (display name), `HOMEPAGE_OIDC_SCOPE` (defaults to `openid email profile`)
|
- Optional: `HOMEPAGE_OIDC_NAME` (display name), `HOMEPAGE_OIDC_SCOPE` (defaults to `openid email profile`)
|
||||||
|
- Optional: `HOMEPAGE_OIDC_AUTO_LOGIN=true` to skip the login page and send unauthenticated visitors straight to the provider
|
||||||
|
|
||||||
|
!!! tip
|
||||||
|
|
||||||
|
With auto-login enabled, visit `/auth/signin?autologin=0` to reach the login page without being redirected, e.g. in case something goes wrong!
|
||||||
|
|
||||||
!!! warning
|
!!! warning
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
title: Custom API
|
||||||
|
description: Custom API Information Widget Configuration
|
||||||
|
---
|
||||||
|
|
||||||
|
_(Find the Custom API service widget [here](../services/customapi.md))_
|
||||||
|
|
||||||
|
The Custom API information widget shows values from a custom self-hosted or third party API in your Homepage header, alongside an icon.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- customapi:
|
||||||
|
url: http://custom.api.host.or.ip:port/path/to/exact/api/endpoint
|
||||||
|
icon: mdi-api # optional, see below
|
||||||
|
label: My API # optional, shown below the values
|
||||||
|
href: https://custom.api.host # optional, makes the widget a link
|
||||||
|
refreshInterval: 10000 # optional - in milliseconds, defaults to 10s
|
||||||
|
username: username # auth - optional
|
||||||
|
password: password # auth - optional
|
||||||
|
method: GET # optional, e.g. POST
|
||||||
|
headers: # optional, must be object
|
||||||
|
X-API-Token: token
|
||||||
|
requestBody: # optional, can be string or object
|
||||||
|
mappings:
|
||||||
|
- field: key
|
||||||
|
label: Field 1
|
||||||
|
- field: path.to.key2
|
||||||
|
label: Field 2
|
||||||
|
format: number # optional - defaults to text
|
||||||
|
- field: path.to.key3
|
||||||
|
label: Field 3
|
||||||
|
format: percent
|
||||||
|
```
|
||||||
|
|
||||||
|
The `icon` accepts the same values as [service icons](../../configs/services.md#icons), e.g. `mdi-api`, `si-github`, `sh-homepage`, a dashboard icon name like `homepage.png`, or a full URL. If no icon is set, a generic API icon is shown.
|
||||||
|
|
||||||
|
Mappings support the same `field`, `format`, `remap`, `scale`, `prefix` and `suffix` options as the [Custom API service widget](../services/customapi.md). The `additionalField` option and the `display` modes are not supported.
|
||||||
@@ -7,6 +7,7 @@ search:
|
|||||||
|
|
||||||
You can also find a list of all available info widgets in the sidebar navigation.
|
You can also find a list of all available info widgets in the sidebar navigation.
|
||||||
|
|
||||||
|
- [Custom API](customapi.md)
|
||||||
- [Date & Time](datetime.md)
|
- [Date & Time](datetime.md)
|
||||||
- [Glances](glances.md)
|
- [Glances](glances.md)
|
||||||
- [Greeting](greeting.md)
|
- [Greeting](greeting.md)
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ description: Arcane Widget Configuration
|
|||||||
Learn more about [Arcane](https://github.com/getarcaneapp/arcane).
|
Learn more about [Arcane](https://github.com/getarcaneapp/arcane).
|
||||||
|
|
||||||
**Allowed fields** (max 4): `running`, `stopped`, `total`, `images`, `images_used`, `images_unused`, `image_updates`.
|
**Allowed fields** (max 4): `running`, `stopped`, `total`, `images`, `images_used`, `images_unused`, `image_updates`.
|
||||||
|
|
||||||
**Default fields**: `running`, `stopped`, `total`, `image_updates`.
|
**Default fields**: `running`, `stopped`, `total`, `image_updates`.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@@ -17,4 +18,4 @@ widget:
|
|||||||
fields: ["running", "stopped", "total", "image_updates"] # optional
|
fields: ["running", "stopped", "total", "image_updates"] # optional
|
||||||
```
|
```
|
||||||
|
|
||||||
Using an api key for the widget requires permissions for: `containers:list` `images:list and `image-updates:read`
|
Using an API key for the widget requires permissions for: `containers:list`, `images:list`, and `image-updates:read`.
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ title: Custom API
|
|||||||
description: Custom Widget Configuration from the API
|
description: Custom Widget Configuration from the API
|
||||||
---
|
---
|
||||||
|
|
||||||
|
_(Find the Custom API information widget [here](../info/customapi.md))_
|
||||||
|
|
||||||
This widget can show information from custom self-hosted or third party API.
|
This widget can show information from custom self-hosted or third party API.
|
||||||
|
|
||||||
Fields need to be defined in the `mappings` section YAML object to correlate with the value in the APIs JSON object. Final field definition needs to be the key with the desired value information.
|
Fields need to be defined in the `mappings` section YAML object to correlate with the value in the APIs JSON object. Final field definition needs to be the key with the desired value information.
|
||||||
|
|||||||
@@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
title: Feed
|
||||||
|
description: RSS / Atom feed widget
|
||||||
|
---
|
||||||
|
|
||||||
|
This widget shows the latest items from an RSS 2.0 or Atom feed.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
widget:
|
||||||
|
type: feed
|
||||||
|
url: https://feeds.bbci.co.uk/news/rss.xml
|
||||||
|
maxItems: 5 # optional - defaults to 5
|
||||||
|
layout: list # optional - possible values list, grid - defaults to list
|
||||||
|
images: true # optional - set to false to hide images - defaults to true
|
||||||
|
```
|
||||||
|
|
||||||
|
## Layouts
|
||||||
|
|
||||||
|
`list` shows one row per item. Items with an image get a small thumbnail.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
`grid` shows image tiles that re-flow to fit the width of the widget, e.g.:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- NASA Image of the Day:
|
||||||
|
widget:
|
||||||
|
type: feed
|
||||||
|
url: https://www.nasa.gov/feeds/iotd-feed/
|
||||||
|
layout: grid
|
||||||
|
maxItems: 8
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Images
|
||||||
|
|
||||||
|
Images are taken from the feed's `media:thumbnail` / `media:content` tags or image enclosures, falling back to the first image in the item's content. Some feeds do not include images at all.
|
||||||
|
|
||||||
|
Images are loaded by your browser directly from the feed's host, at whatever size the feed provides. Feeds that link full-size originals can be slow to load; set `images: false` for those.
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
Feeds are fetched by homepage, not your browser, and cached for 10 minutes.
|
||||||
@@ -39,6 +39,7 @@ You can also find a list of all available service widgets in the sidebar navigat
|
|||||||
- [Emby](emby.md)
|
- [Emby](emby.md)
|
||||||
- [ESPHome](esphome.md)
|
- [ESPHome](esphome.md)
|
||||||
- [EVCC](evcc.md)
|
- [EVCC](evcc.md)
|
||||||
|
- [Feed](feed.md)
|
||||||
- [Filebrowser](filebrowser.md)
|
- [Filebrowser](filebrowser.md)
|
||||||
- [Fileflows](fileflows.md)
|
- [Fileflows](fileflows.md)
|
||||||
- [Firefly III](firefly.md)
|
- [Firefly III](firefly.md)
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ Allowed fields: `["movies", "series", "episodes", "songs", "albums"]`.
|
|||||||
|
|
||||||
| Jellyfin Version | Homepage Widget Version |
|
| Jellyfin Version | Homepage Widget Version |
|
||||||
| ---------------- | ----------------------- |
|
| ---------------- | ----------------------- |
|
||||||
| < 10.12 | 1 (default) |
|
| < 12 (10.12) | 1 (default) |
|
||||||
| >= 10.12 | 2 |
|
| >= 12 (10.12) | 2 |
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
widget:
|
widget:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ description: Nginx Proxy Manager Widget Configuration
|
|||||||
|
|
||||||
Learn more about [Nginx Proxy Manager](https://nginxproxymanager.com/).
|
Learn more about [Nginx Proxy Manager](https://nginxproxymanager.com/).
|
||||||
|
|
||||||
Login with the same admin username and password used to access the web UI.
|
Use a "view-only" user for the username and password.
|
||||||
|
|
||||||
Allowed fields: `["enabled", "disabled", "total"]`.
|
Allowed fields: `["enabled", "disabled", "total"]`.
|
||||||
|
|
||||||
@@ -13,6 +13,6 @@ Allowed fields: `["enabled", "disabled", "total"]`.
|
|||||||
widget:
|
widget:
|
||||||
type: npm
|
type: npm
|
||||||
url: http://npm.host.or.ip
|
url: http://npm.host.or.ip
|
||||||
username: admin_username
|
username: view_only_username
|
||||||
password: admin_password
|
password: view_only_password
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -13,4 +13,5 @@ widget:
|
|||||||
url: http://whatsupdocker:port
|
url: http://whatsupdocker:port
|
||||||
username: username # optional
|
username: username # optional
|
||||||
password: password # optional
|
password: password # optional
|
||||||
|
key: bearer-token # optional, takes precedence over username/password
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ nav:
|
|||||||
- widgets/services/emby.md
|
- widgets/services/emby.md
|
||||||
- widgets/services/esphome.md
|
- widgets/services/esphome.md
|
||||||
- widgets/services/evcc.md
|
- widgets/services/evcc.md
|
||||||
|
- widgets/services/feed.md
|
||||||
- widgets/services/filebrowser.md
|
- widgets/services/filebrowser.md
|
||||||
- widgets/services/fileflows.md
|
- widgets/services/fileflows.md
|
||||||
- widgets/services/firefly.md
|
- widgets/services/firefly.md
|
||||||
@@ -194,6 +195,7 @@ nav:
|
|||||||
- widgets/services/zabbix.md
|
- widgets/services/zabbix.md
|
||||||
- "Information Widgets":
|
- "Information Widgets":
|
||||||
- widgets/info/index.md
|
- widgets/info/index.md
|
||||||
|
- widgets/info/customapi.md
|
||||||
- widgets/info/datetime.md
|
- widgets/info/datetime.md
|
||||||
- widgets/info/glances.md
|
- widgets/info/glances.md
|
||||||
- widgets/info/greeting.md
|
- widgets/info/greeting.md
|
||||||
|
|||||||
@@ -106,6 +106,12 @@ function relativeDate(date, formatter) {
|
|||||||
const unitIndex = cutoffs.findIndex((cutoff) => cutoff > Math.abs(delta));
|
const unitIndex = cutoffs.findIndex((cutoff) => cutoff > Math.abs(delta));
|
||||||
const divisor = unitIndex ? cutoffs[unitIndex - 1] : 1;
|
const divisor = unitIndex ? cutoffs[unitIndex - 1] : 1;
|
||||||
|
|
||||||
|
if (units[unitIndex] === "day") {
|
||||||
|
// compare calendar days, not elapsed 24h blocks
|
||||||
|
const startOfDay = (d) => new Date(d.getFullYear(), d.getMonth(), d.getDate());
|
||||||
|
return formatter.format(Math.round((startOfDay(date) - startOfDay(new Date())) / 86400000), "day");
|
||||||
|
}
|
||||||
|
|
||||||
return formatter.format(Math.floor(delta / divisor), units[unitIndex]);
|
return formatter.format(Math.floor(delta / divisor), units[unitIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "homepage",
|
"name": "homepage",
|
||||||
"version": "2.2.0",
|
"version": "2.4.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "npx only-allow pnpm",
|
"preinstall": "npx only-allow pnpm",
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
"gamedig": "^5.3.3",
|
"gamedig": "^5.3.3",
|
||||||
"i18next": "^26.3.6",
|
"i18next": "^26.3.6",
|
||||||
"ical.js": "^2.2.1",
|
"ical.js": "^2.2.1",
|
||||||
"js-yaml": "^5.4.0",
|
"js-yaml": "^5.4.2",
|
||||||
"json-rpc-2.0": "^1.7.1",
|
"json-rpc-2.0": "^1.7.1",
|
||||||
"luxon": "^3.7.2",
|
"luxon": "^3.7.2",
|
||||||
"memory-cache": "^0.2.0",
|
"memory-cache": "^0.2.0",
|
||||||
@@ -39,6 +39,7 @@
|
|||||||
"react-i18next": "^17.0.12",
|
"react-i18next": "^17.0.12",
|
||||||
"react-icons": "^5.6.0",
|
"react-icons": "^5.6.0",
|
||||||
"recharts": "^3.1.2",
|
"recharts": "^3.1.2",
|
||||||
|
"sax": "^1.6.1",
|
||||||
"swr": "^2.5.1",
|
"swr": "^2.5.1",
|
||||||
"systeminformation": "^5.33.1",
|
"systeminformation": "^5.33.1",
|
||||||
"tough-cookie": "^6.0.2",
|
"tough-cookie": "^6.0.2",
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ importers:
|
|||||||
specifier: ^2.2.1
|
specifier: ^2.2.1
|
||||||
version: 2.2.1
|
version: 2.2.1
|
||||||
js-yaml:
|
js-yaml:
|
||||||
specifier: ^5.4.0
|
specifier: ^5.4.2
|
||||||
version: 5.4.0
|
version: 5.4.2
|
||||||
json-rpc-2.0:
|
json-rpc-2.0:
|
||||||
specifier: ^1.7.1
|
specifier: ^1.7.1
|
||||||
version: 1.7.1
|
version: 1.7.1
|
||||||
@@ -83,6 +83,9 @@ importers:
|
|||||||
recharts:
|
recharts:
|
||||||
specifier: ^3.1.2
|
specifier: ^3.1.2
|
||||||
version: 3.10.1(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react-is@17.0.2)(react@19.2.8)(redux@5.0.1)
|
version: 3.10.1(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react-is@17.0.2)(react@19.2.8)(redux@5.0.1)
|
||||||
|
sax:
|
||||||
|
specifier: ^1.6.1
|
||||||
|
version: 1.6.1
|
||||||
swr:
|
swr:
|
||||||
specifier: ^2.5.1
|
specifier: ^2.5.1
|
||||||
version: 2.5.1(react@19.2.8)
|
version: 2.5.1(react@19.2.8)
|
||||||
@@ -431,160 +434,160 @@ packages:
|
|||||||
resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}
|
resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
'@img/sharp-darwin-arm64@0.35.3':
|
'@img/sharp-darwin-arm64@0.35.4':
|
||||||
resolution: {integrity: sha512-RMnFX7YQsMoh7lWfcM4NEHHymBX/rLuKNPVM84XE9ONPcaSCDgE7CHIHpSgPcO2xcRthgBy1HfNO319mwhIAkg==}
|
resolution: {integrity: sha512-Uhfl4V4lhP2nbUVF9+hyH1+luj86f1gUFeo8ALYxFoULoU+G87D43BfeMP8XHsk9boxAnCY/bf2EHwhA7MuGsA==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@img/sharp-darwin-x64@0.35.3':
|
'@img/sharp-darwin-x64@0.35.4':
|
||||||
resolution: {integrity: sha512-Xo+5uFBtLN0BKqieTxiFzFPQAUlBbbH5iBKyRX/z1JrbnYsHTfKJnUfL8+p2TPXr1pXqao4eeL4Rl144uDpK9w==}
|
resolution: {integrity: sha512-hWniXY3bG5qKpkKrAwPe4y+VTPmf086YQAnkxWh7uA1YrlRouWGa0M0Mxj3ZjnXFkv7/TD1bTy9lGUK26vRvWw==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@img/sharp-freebsd-wasm32@0.35.3':
|
'@img/sharp-freebsd-wasm32@0.35.4':
|
||||||
resolution: {integrity: sha512-lUxcqWIj2wMQ9BrwNjngcr1gWUr5xgaGThBRqPPalIC2n67Cqj1uPh8NnA/ZhAg8hUbKl+kVHKwgUIwe6ZYPrg==}
|
resolution: {integrity: sha512-lIsKw/BU+kjB4eZjxrYrZmwOJYi3Ajrv66iAlBmUPyKc3HpnloevB1g3wxGD9P/5BbQ1brBGl65VRRrCvQDEqA==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
os: [freebsd]
|
os: [freebsd]
|
||||||
|
|
||||||
'@img/sharp-libvips-darwin-arm64@1.3.2':
|
'@img/sharp-libvips-darwin-arm64@1.3.3':
|
||||||
resolution: {integrity: sha512-9J6ypZFpQBj4YnePGoq/S38w6nz+vqg5WZLrLGY4YuSemdMq47GMLBPO42MzwdGwpg/agZ7xzZcFHa48xlywfg==}
|
resolution: {integrity: sha512-suTBPTDGrI9WodccaDdwZItTSaBYASlBk1NSfElSHrUfzu3szG6lvIF58+WiFvnfzuK8ZBFS5zE00PxqxnRiPg==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@img/sharp-libvips-darwin-x64@1.3.2':
|
'@img/sharp-libvips-darwin-x64@1.3.3':
|
||||||
resolution: {integrity: sha512-m2pW1n6cns9VaubNwsZ+c3CRYjxNQWgJ5gPlnL1nbBcpkBvFm6SCFN5o0psFHI8w9n11NKhFkeEDns98tiqbEw==}
|
resolution: {integrity: sha512-FVJZ5mITMobmXIz/hPDTw0EintTW5H3WfrxwLqEqjiIihlu+hVRyGrFQ60xl0Lxn7Bt3zdpevPaQi0HEzqz9fw==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-arm64@1.3.2':
|
'@img/sharp-libvips-linux-arm64@1.3.3':
|
||||||
resolution: {integrity: sha512-dqVSFynCox4C/J8kT16V7SIFAns0IjgLwkvYT7p8LQVmJ5OS5b6tI9IGflxTeuBS//zXeFIUbwt5dwxyZ17cnA==}
|
resolution: {integrity: sha512-0DaL0A6Xu6sQSQFwe4iVCrKWU2cCTItnRsYsCdxAMm9NF6twAA9BKnoqy4hqz4+azQ0JHuA26qiUKsf1XJ/v5A==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-arm@1.3.2':
|
'@img/sharp-libvips-linux-arm@1.3.3':
|
||||||
resolution: {integrity: sha512-1eMLzy92I4J6rmi4mAT8yC3HxOtniyGELlzGbNMLLeqe052ahFQ0h6LFq+lh5DsDIdYViIDst08abvSbcEdLXQ==}
|
resolution: {integrity: sha512-3rbU4vqXXc3hY/OiXdl52xZvT0F1yEngWfvqudtPJg/KkyiaQw2DRsFrNzpmLvfavbwOq3qXn36GP8obHRULQA==}
|
||||||
cpu: [arm]
|
cpu: [arm]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-ppc64@1.3.2':
|
'@img/sharp-libvips-linux-ppc64@1.3.3':
|
||||||
resolution: {integrity: sha512-3z0NHDxD6n5I9gc05U1eW1AyRm+Gznzq3naMrthPNqE6oYykcogW0l/jfpJdjYnuNl8R7yI9pNbE1XiUeyq0Aw==}
|
resolution: {integrity: sha512-cdn1OvUBwsXhbC0zSzJnNzf5MZ/mTrobawDvNXBTxe8VtqKAm0sRuEY2Evzovb/w9JMk4TvRxqt1mekSuJz64w==}
|
||||||
cpu: [ppc64]
|
cpu: [ppc64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-riscv64@1.3.2':
|
'@img/sharp-libvips-linux-riscv64@1.3.3':
|
||||||
resolution: {integrity: sha512-bsb4rI+NldGOsXuej2r8OdSS8+zXDVaCWxyWrcv6kneTOlgAHtZABRzBBCwdsPiD90J4myNJuHpg6kA20ImW/w==}
|
resolution: {integrity: sha512-HjPVx7yKz+0lqdhDlTw1tt90wamBoxhiXpvl1XZpJLiHH4RCJ5yDTqH+VlYPv2fwFs89JFw4c1IexYOcQUi4IQ==}
|
||||||
cpu: [riscv64]
|
cpu: [riscv64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-s390x@1.3.2':
|
'@img/sharp-libvips-linux-s390x@1.3.3':
|
||||||
resolution: {integrity: sha512-/ABshyj8gCpyIrNXnHn4LorDJ0HHm1VhXPBlxZ8zAtfVPAaSafXPGn+sUSIRiwaSBy0mmFjSjiXI5mkcwdChKQ==}
|
resolution: {integrity: sha512-neWLh+3yCNThxnfy3c4BbVBeGgt9aftno+XbT56iK28RgeDs3UOFWviLWlUu0bArYVYJaFDK+RRohbicUNCm8Q==}
|
||||||
cpu: [s390x]
|
cpu: [s390x]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-x64@1.3.2':
|
'@img/sharp-libvips-linux-x64@1.3.3':
|
||||||
resolution: {integrity: sha512-ITPEtgffGJ0S6G9dRyw/366tJQqFRcHWPHhC+Stpg3Z8AEMrDrTr2lhdz4f/Y/HMbRh//7Z5mBzEpVdi62Oc3w==}
|
resolution: {integrity: sha512-4vKmvAst9nrowcqquKFAyZJUDolUaIp8uRiN0mWFguJ1IplC9/pitXtlnnlU4aa/eJw3J7i67V+pwUL+wZGdsA==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-libvips-linuxmusl-arm64@1.3.2':
|
'@img/sharp-libvips-linuxmusl-arm64@1.3.3':
|
||||||
resolution: {integrity: sha512-zE9EdiUzUmg5mDT5a1rk5fYJ6GWPloTwWBYDS14naqHsL+EaMpDj1AWnpLgh3u0YCORv2Tt50wrcrpYqkP97Kw==}
|
resolution: {integrity: sha512-Y9kQaLMuNoB0bPYOOdcZMaseNrFpPodIWWMrx+CZyydf2xn68j9WYc6sWWRrDwNkzCQjKYfc68L7jKjGlHMibw==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [musl]
|
libc: [musl]
|
||||||
|
|
||||||
'@img/sharp-libvips-linuxmusl-x64@1.3.2':
|
'@img/sharp-libvips-linuxmusl-x64@1.3.3':
|
||||||
resolution: {integrity: sha512-m0lrLiUt+lBYnCFr8qV/65yMR4E/c7/wf78I5eKTdkEakFAlZ9QlzEM3QIhhAwVeUhLAHLcCq7a7Vszq/oFNZQ==}
|
resolution: {integrity: sha512-fj8Mv0HHfD1Rr+4I68+3agJynxDWtBFgicTbSOb9Bke6pIwzGcJ+RX/yHjmiEGFMCavY/dxvem7MyNaJF+wDiw==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [musl]
|
libc: [musl]
|
||||||
|
|
||||||
'@img/sharp-linux-arm64@0.35.3':
|
'@img/sharp-linux-arm64@0.35.4':
|
||||||
resolution: {integrity: sha512-QgKDspHPnrU+GQ55XPhGwyhC8acLVOOSyAvo1oVfFmrIXLkDNmGWzAfDZ4xK8oSA1qBQrALcHX0G5UZni/SuFQ==}
|
resolution: {integrity: sha512-De4jpEnAU8Hd5oT0j1G3uL4ZvTuipVMn7YC6vPaJhy6/7EwEae0SVAoBrUMYQbkLGDm85taVWwuPc1a44LTzCQ==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-linux-arm@0.35.3':
|
'@img/sharp-linux-arm@0.35.4':
|
||||||
resolution: {integrity: sha512-affVWCTLooy8TSxbDx2qkzuDeaWLNVBA+P//FNBirHsXpP2fuBhk5AuboYUnrDnzoXes8GFjpTx0SBFOCRg+FA==}
|
resolution: {integrity: sha512-7OAS8gI0EReKGVN2HssHlM6umJgxF5VI3xN0p9FA91p/YO+ou5hiNghLdZ5BEHztwaaK5+bLKRf8x/o2L2nk9A==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [arm]
|
cpu: [arm]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-linux-ppc64@0.35.3':
|
'@img/sharp-linux-ppc64@0.35.4':
|
||||||
resolution: {integrity: sha512-sMd8rDxmpLOwv/7N44klFjOD5DUO7FLdjiXDI0hoxYaf7Ar262dQIEkosE98bps+5HPLtp/EvNqeqQtOycP/IA==}
|
resolution: {integrity: sha512-2oYZJeIl4kCcMGk4ouZVjnkCtFrpQFlNEtJ6GbxzhHQchwH0NH/qEb9ykmOl29dqwMq+JhFdZn+1ak2FKhI9fQ==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [ppc64]
|
cpu: [ppc64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-linux-riscv64@0.35.3':
|
'@img/sharp-linux-riscv64@0.35.4':
|
||||||
resolution: {integrity: sha512-0Eob78yjlYPfL5vMNWAW55l3R9Y6BQS/gOfe0ZcP9mEz9ohhKSt4im1hayiknXgf8AWrFqMvJcKIdmLmEe7yeQ==}
|
resolution: {integrity: sha512-cPbNChoRURAWdebDIHSenxRpgEdy7JkPydSnUxRm9VvKD7m0/xVaR/8Fzlu81pk5nHEvHH87UZUA7cTtwnbJSA==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [riscv64]
|
cpu: [riscv64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-linux-s390x@0.35.3':
|
'@img/sharp-linux-s390x@0.35.4':
|
||||||
resolution: {integrity: sha512-KgAxQ0DxpNOq1rG2t5cgTgShJFGSuU7XO45cqC+1NVOuZnP6tlgZRuSYOfNupGkHID0o3cJOsw4DVeJpMovcGw==}
|
resolution: {integrity: sha512-RY0JFY8Fd6RonCBtHz+DvadaPkXDSI1AUn6yWL9TipqkZ1vY8w8evqdgyDFnkm4/K1ve1TvZiaePP5oSd4+WVQ==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [s390x]
|
cpu: [s390x]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-linux-x64@0.35.3':
|
'@img/sharp-linux-x64@0.35.4':
|
||||||
resolution: {integrity: sha512-8pqvxubL2PGdhlPy6GLqzDYMUjyRmKAwKHYKixpdJYBUK7PJ0C029XdsnpFIdgRZG68fZiGdHVWcKPvtiPB4cA==}
|
resolution: {integrity: sha512-9qvvEAuk8k89TfWUoX2htWjbAMX8p+NxCppjpcg5k6xMsjhBQPTsoIh36h9Qde4WRuGpJeYnOjdosDn/cnv+OA==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [glibc]
|
libc: [glibc]
|
||||||
|
|
||||||
'@img/sharp-linuxmusl-arm64@0.35.3':
|
'@img/sharp-linuxmusl-arm64@0.35.4':
|
||||||
resolution: {integrity: sha512-Vz0iQjzzcSX3HCbfwFfCSG/9SCIqyO0mH2sXyiHaAYfBk0cRsCWXRyQYX0ovCK/PAQBbTzQ0dsPQHh5MAFL59w==}
|
resolution: {integrity: sha512-KB5jxpfWQTr0nc3xdHtWChdbifHrBGsd2SM62Eyxrl8afikm+f5qGBU75SJIZBT/S1MC8XyacdlXBMSWq6OURA==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [musl]
|
libc: [musl]
|
||||||
|
|
||||||
'@img/sharp-linuxmusl-x64@0.35.3':
|
'@img/sharp-linuxmusl-x64@0.35.4':
|
||||||
resolution: {integrity: sha512-6O1NPKcDVj9QEdg7Hx549EX8U0rp6yXQERqru6yRN7fGBn32UvIRJUlWnk+8xDCiG76hXVBbX82NZ/ZKr0euIg==}
|
resolution: {integrity: sha512-f+eZJZIQNEEd26RPSW+76chwOf1XtA2Y/O+5ocVyLliHkeih3e+jhLVBdNTd2rS3IbNXK8+ug93Vf5ZXtF5Lxg==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
libc: [musl]
|
libc: [musl]
|
||||||
|
|
||||||
'@img/sharp-wasm32@0.35.3':
|
'@img/sharp-wasm32@0.35.4':
|
||||||
resolution: {integrity: sha512-cZ0XkcYGpHZkqW6iCkqTcmUC0CD9DhD5d/qeZlZkfRBn6GnHniZXLUo5+9xw8Iv76YE6LQFN9YNBlKREcCG76w==}
|
resolution: {integrity: sha512-zQnl4Kwp7Q6NHsENtU2T/00Zi+w3AQNwz3+UaTyVBy2FpXrzXzGjndpK61onhZjRtRpQXxCTeqw19bVyXOh7jA==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
|
|
||||||
'@img/sharp-webcontainers-wasm32@0.35.3':
|
'@img/sharp-webcontainers-wasm32@0.35.4':
|
||||||
resolution: {integrity: sha512-2rnq7bX3NzeR2T4YWgz8qiG4h3TSdMe+vN1iQXpJleSJ3SM5zQ8Fy2SyyXAWlbxpEZ2Y+Z4u1BePgJEYbSy80Q==}
|
resolution: {integrity: sha512-ESfNkywmCfPNyaZjxooddJQiQ+l/nTpGEOGthxiLnIHXC/CmcBixnfwUleX9mCz9ovrUUvKMap/pm8RYbzfwaA==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [wasm32]
|
cpu: [wasm32]
|
||||||
|
|
||||||
'@img/sharp-win32-arm64@0.35.3':
|
'@img/sharp-win32-arm64@0.35.4':
|
||||||
resolution: {integrity: sha512-4bPwFdMbeC4JQ8L8LOyWp6nsHcboP5fxkp6iPOXz2Vg49R42TuMs2whkJ5OAP4/Ul035qOzy0AecOF9VOscn4w==}
|
resolution: {integrity: sha512-iNdlBX9gLVvqe2I3uIJSIKTq6wckP/DYxZtcqxm09x5Gi24DnFBmPAWZmr60ZyYMG0xlzo6goG3670ar+RXvRw==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
'@img/sharp-win32-ia32@0.35.3':
|
'@img/sharp-win32-ia32@0.35.4':
|
||||||
resolution: {integrity: sha512-r53mXsBN6lFUDiST764SvgwUdHAqM4rPAiDzAmf4fLoB6X/rkfyTrLCg6+g17wJJiCmB3JYgHuUldCWUIRFSXw==}
|
resolution: {integrity: sha512-kqRsbaa5CS6KHlpxnN7WhE6vAAugXyZButpRdvDWetlv6Qv4N9WTcrWzF7tXfB9T7MsoadqdI8hmwLq6UlLvtw==}
|
||||||
engines: {node: ^20.9.0}
|
engines: {node: ^20.9.0}
|
||||||
cpu: [ia32]
|
cpu: [ia32]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
'@img/sharp-win32-x64@0.35.3':
|
'@img/sharp-win32-x64@0.35.4':
|
||||||
resolution: {integrity: sha512-D4y1vNeZrIIJCN+uHaWVtH86B+aCrdMYYjicy9pXHvbGZeGYLLSd3wdVuC37FxVXlU1ARsk84eKWfWMXGYEqvA==}
|
resolution: {integrity: sha512-XtmnYhBcrORsJ4XJngyzr/EWP0hRZLAZRFaApdKuviyqF78+ylxh2y06ZmtULAMOnObJ3ucpN0AcwSWnMowTRg==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
@@ -2481,8 +2484,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==}
|
resolution: {integrity: sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
js-yaml@5.4.0:
|
js-yaml@5.4.2:
|
||||||
resolution: {integrity: sha512-jE7vUJIebKzYQI5xu4co5CRBDlDEYnHrdzsxs4O2giCz4v2SbVMYKpmt1D9L38OKQAeCWmrOTRiCV93u0UkaJA==}
|
resolution: {integrity: sha512-m+aqu+LwO1O6sIopafj8HUVl5aawITwZQe/yHpMCKjaWBaA/d07B/QdMb3529REftiU+RMMHL3Vlsw3hON7vWg==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
jsdom@30.0.1:
|
jsdom@30.0.1:
|
||||||
@@ -3318,8 +3321,8 @@ packages:
|
|||||||
setprototypeof@1.2.0:
|
setprototypeof@1.2.0:
|
||||||
resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
|
resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
|
||||||
|
|
||||||
sharp@0.35.3:
|
sharp@0.35.4:
|
||||||
resolution: {integrity: sha512-ej0zVHuZGHCiABXcNxeYhpRnPNPAcvbG8RMdBAhDAxLKkCRVSpK3Iyu7qbqw3JMzoj0REeM6f3tJLtVwl0023Q==}
|
resolution: {integrity: sha512-n++8XWcj+jCOr2IOl7h8LbKnGBDY4aPbmprMONBNFdn0ImXqpGVv5zliDs0V9HbmbCQLpbuo2ej9rAoOQTvMDA==}
|
||||||
engines: {node: '>=20.9.0'}
|
engines: {node: '>=20.9.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/node': '*'
|
'@types/node': '*'
|
||||||
@@ -4206,108 +4209,108 @@ snapshots:
|
|||||||
'@img/colour@1.1.0':
|
'@img/colour@1.1.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-darwin-arm64@0.35.3':
|
'@img/sharp-darwin-arm64@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-darwin-arm64': 1.3.2
|
'@img/sharp-libvips-darwin-arm64': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-darwin-x64@0.35.3':
|
'@img/sharp-darwin-x64@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-darwin-x64': 1.3.2
|
'@img/sharp-libvips-darwin-x64': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-freebsd-wasm32@0.35.3':
|
'@img/sharp-freebsd-wasm32@0.35.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@img/sharp-wasm32': 0.35.3
|
'@img/sharp-wasm32': 0.35.4
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-darwin-arm64@1.3.2':
|
'@img/sharp-libvips-darwin-arm64@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-darwin-x64@1.3.2':
|
'@img/sharp-libvips-darwin-x64@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-arm64@1.3.2':
|
'@img/sharp-libvips-linux-arm64@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-arm@1.3.2':
|
'@img/sharp-libvips-linux-arm@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-ppc64@1.3.2':
|
'@img/sharp-libvips-linux-ppc64@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-riscv64@1.3.2':
|
'@img/sharp-libvips-linux-riscv64@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-s390x@1.3.2':
|
'@img/sharp-libvips-linux-s390x@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-linux-x64@1.3.2':
|
'@img/sharp-libvips-linux-x64@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-linuxmusl-arm64@1.3.2':
|
'@img/sharp-libvips-linuxmusl-arm64@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-libvips-linuxmusl-x64@1.3.2':
|
'@img/sharp-libvips-linuxmusl-x64@1.3.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-linux-arm64@0.35.3':
|
'@img/sharp-linux-arm64@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-linux-arm64': 1.3.2
|
'@img/sharp-libvips-linux-arm64': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-linux-arm@0.35.3':
|
'@img/sharp-linux-arm@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-linux-arm': 1.3.2
|
'@img/sharp-libvips-linux-arm': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-linux-ppc64@0.35.3':
|
'@img/sharp-linux-ppc64@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-linux-ppc64': 1.3.2
|
'@img/sharp-libvips-linux-ppc64': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-linux-riscv64@0.35.3':
|
'@img/sharp-linux-riscv64@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-linux-riscv64': 1.3.2
|
'@img/sharp-libvips-linux-riscv64': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-linux-s390x@0.35.3':
|
'@img/sharp-linux-s390x@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-linux-s390x': 1.3.2
|
'@img/sharp-libvips-linux-s390x': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-linux-x64@0.35.3':
|
'@img/sharp-linux-x64@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-linux-x64': 1.3.2
|
'@img/sharp-libvips-linux-x64': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-linuxmusl-arm64@0.35.3':
|
'@img/sharp-linuxmusl-arm64@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-linuxmusl-arm64': 1.3.2
|
'@img/sharp-libvips-linuxmusl-arm64': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-linuxmusl-x64@0.35.3':
|
'@img/sharp-linuxmusl-x64@0.35.4':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-libvips-linuxmusl-x64': 1.3.2
|
'@img/sharp-libvips-linuxmusl-x64': 1.3.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-wasm32@0.35.3':
|
'@img/sharp-wasm32@0.35.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@emnapi/runtime': 1.11.3
|
'@emnapi/runtime': 1.11.3
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-webcontainers-wasm32@0.35.3':
|
'@img/sharp-webcontainers-wasm32@0.35.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@img/sharp-wasm32': 0.35.3
|
'@img/sharp-wasm32': 0.35.4
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-win32-arm64@0.35.3':
|
'@img/sharp-win32-arm64@0.35.4':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-win32-ia32@0.35.3':
|
'@img/sharp-win32-ia32@0.35.4':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@img/sharp-win32-x64@0.35.3':
|
'@img/sharp-win32-x64@0.35.4':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@internationalized/date@3.12.3':
|
'@internationalized/date@3.12.3':
|
||||||
@@ -4359,7 +4362,7 @@ snapshots:
|
|||||||
form-data: 4.0.6
|
form-data: 4.0.6
|
||||||
hpagent: 1.2.0
|
hpagent: 1.2.0
|
||||||
isomorphic-ws: 5.0.0(ws@8.21.2)
|
isomorphic-ws: 5.0.0(ws@8.21.2)
|
||||||
js-yaml: 5.4.0
|
js-yaml: 5.4.2
|
||||||
jsonpath-plus: 10.4.0
|
jsonpath-plus: 10.4.0
|
||||||
openid-client: 6.8.5
|
openid-client: 6.8.5
|
||||||
rfc4648: 1.5.4
|
rfc4648: 1.5.4
|
||||||
@@ -6263,7 +6266,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
argparse: 2.0.1
|
argparse: 2.0.1
|
||||||
|
|
||||||
js-yaml@5.4.0:
|
js-yaml@5.4.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
argparse: 2.0.1
|
argparse: 2.0.1
|
||||||
|
|
||||||
@@ -6594,7 +6597,7 @@ snapshots:
|
|||||||
'@next/swc-linux-x64-musl': 16.3.3
|
'@next/swc-linux-x64-musl': 16.3.3
|
||||||
'@next/swc-win32-arm64-msvc': 16.3.3
|
'@next/swc-win32-arm64-msvc': 16.3.3
|
||||||
'@next/swc-win32-x64-msvc': 16.3.3
|
'@next/swc-win32-x64-msvc': 16.3.3
|
||||||
sharp: 0.35.3(@types/node@26.2.0)
|
sharp: 0.35.4(@types/node@26.2.0)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@babel/core'
|
- '@babel/core'
|
||||||
- '@types/node'
|
- '@types/node'
|
||||||
@@ -7079,37 +7082,37 @@ snapshots:
|
|||||||
|
|
||||||
setprototypeof@1.2.0: {}
|
setprototypeof@1.2.0: {}
|
||||||
|
|
||||||
sharp@0.35.3(@types/node@26.2.0):
|
sharp@0.35.4(@types/node@26.2.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@img/colour': 1.1.0
|
'@img/colour': 1.1.0
|
||||||
detect-libc: 2.1.2
|
detect-libc: 2.1.2
|
||||||
semver: 7.8.5
|
semver: 7.8.5
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-darwin-arm64': 0.35.3
|
'@img/sharp-darwin-arm64': 0.35.4
|
||||||
'@img/sharp-darwin-x64': 0.35.3
|
'@img/sharp-darwin-x64': 0.35.4
|
||||||
'@img/sharp-freebsd-wasm32': 0.35.3
|
'@img/sharp-freebsd-wasm32': 0.35.4
|
||||||
'@img/sharp-libvips-darwin-arm64': 1.3.2
|
'@img/sharp-libvips-darwin-arm64': 1.3.3
|
||||||
'@img/sharp-libvips-darwin-x64': 1.3.2
|
'@img/sharp-libvips-darwin-x64': 1.3.3
|
||||||
'@img/sharp-libvips-linux-arm': 1.3.2
|
'@img/sharp-libvips-linux-arm': 1.3.3
|
||||||
'@img/sharp-libvips-linux-arm64': 1.3.2
|
'@img/sharp-libvips-linux-arm64': 1.3.3
|
||||||
'@img/sharp-libvips-linux-ppc64': 1.3.2
|
'@img/sharp-libvips-linux-ppc64': 1.3.3
|
||||||
'@img/sharp-libvips-linux-riscv64': 1.3.2
|
'@img/sharp-libvips-linux-riscv64': 1.3.3
|
||||||
'@img/sharp-libvips-linux-s390x': 1.3.2
|
'@img/sharp-libvips-linux-s390x': 1.3.3
|
||||||
'@img/sharp-libvips-linux-x64': 1.3.2
|
'@img/sharp-libvips-linux-x64': 1.3.3
|
||||||
'@img/sharp-libvips-linuxmusl-arm64': 1.3.2
|
'@img/sharp-libvips-linuxmusl-arm64': 1.3.3
|
||||||
'@img/sharp-libvips-linuxmusl-x64': 1.3.2
|
'@img/sharp-libvips-linuxmusl-x64': 1.3.3
|
||||||
'@img/sharp-linux-arm': 0.35.3
|
'@img/sharp-linux-arm': 0.35.4
|
||||||
'@img/sharp-linux-arm64': 0.35.3
|
'@img/sharp-linux-arm64': 0.35.4
|
||||||
'@img/sharp-linux-ppc64': 0.35.3
|
'@img/sharp-linux-ppc64': 0.35.4
|
||||||
'@img/sharp-linux-riscv64': 0.35.3
|
'@img/sharp-linux-riscv64': 0.35.4
|
||||||
'@img/sharp-linux-s390x': 0.35.3
|
'@img/sharp-linux-s390x': 0.35.4
|
||||||
'@img/sharp-linux-x64': 0.35.3
|
'@img/sharp-linux-x64': 0.35.4
|
||||||
'@img/sharp-linuxmusl-arm64': 0.35.3
|
'@img/sharp-linuxmusl-arm64': 0.35.4
|
||||||
'@img/sharp-linuxmusl-x64': 0.35.3
|
'@img/sharp-linuxmusl-x64': 0.35.4
|
||||||
'@img/sharp-webcontainers-wasm32': 0.35.3
|
'@img/sharp-webcontainers-wasm32': 0.35.4
|
||||||
'@img/sharp-win32-arm64': 0.35.3
|
'@img/sharp-win32-arm64': 0.35.4
|
||||||
'@img/sharp-win32-ia32': 0.35.3
|
'@img/sharp-win32-ia32': 0.35.4
|
||||||
'@img/sharp-win32-x64': 0.35.3
|
'@img/sharp-win32-x64': 0.35.4
|
||||||
'@types/node': 26.2.0
|
'@types/node': 26.2.0
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"seconds": "s"
|
"seconds": "s"
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"signout": "Sign out"
|
"signout": "Teken uit"
|
||||||
},
|
},
|
||||||
"widget": {
|
"widget": {
|
||||||
"missing_type": "Ontbrekende legstuk-tipe: {{type}}",
|
"missing_type": "Ontbrekende legstuk-tipe: {{type}}",
|
||||||
@@ -40,8 +40,8 @@
|
|||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "Soek…",
|
"placeholder": "Soek…",
|
||||||
"provider": "Search engine: {{name}}",
|
"provider": "Soekenjin: {{name}}",
|
||||||
"select_provider": "Select search engine"
|
"select_provider": "Kies soekenjin"
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"cpu": "SVE",
|
"cpu": "SVE",
|
||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Ongesond",
|
"unhealthy": "Ongesond",
|
||||||
"not_found": "Nie Gevind Nie",
|
"not_found": "Nie Gevind Nie",
|
||||||
"exited": "Verlaat",
|
"exited": "Verlaat",
|
||||||
"partial": "Gedeeltelik"
|
"partial": "Gedeeltelik",
|
||||||
|
"created": "Geskep",
|
||||||
|
"paused": "Onderbreek",
|
||||||
|
"restarting": "Herlaai",
|
||||||
|
"removing": "Verwydering",
|
||||||
|
"dead": "Dood"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Fout",
|
"error": "Fout",
|
||||||
@@ -474,7 +479,7 @@
|
|||||||
"users": "Gebruikers",
|
"users": "Gebruikers",
|
||||||
"loginsLast24H": "Aantekenings (24h)",
|
"loginsLast24H": "Aantekenings (24h)",
|
||||||
"failedLoginsLast24H": "Mislukte Aantekenings (24h)",
|
"failedLoginsLast24H": "Mislukte Aantekenings (24h)",
|
||||||
"authorizationsLast24H": "Auths (24h)"
|
"authorizationsLast24H": "Magtigings (24h)"
|
||||||
},
|
},
|
||||||
"proxmox": {
|
"proxmox": {
|
||||||
"mem": "GEH",
|
"mem": "GEH",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "غير سليم",
|
"unhealthy": "غير سليم",
|
||||||
"not_found": "غير موجود",
|
"not_found": "غير موجود",
|
||||||
"exited": "خرجت",
|
"exited": "خرجت",
|
||||||
"partial": "جزئي"
|
"partial": "جزئي",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "خطأ",
|
"error": "خطأ",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Нездравословен",
|
"unhealthy": "Нездравословен",
|
||||||
"not_found": "Не е открит",
|
"not_found": "Не е открит",
|
||||||
"exited": "Напуснал",
|
"exited": "Напуснал",
|
||||||
"partial": "Частично"
|
"partial": "Частично",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Грешка",
|
"error": "Грешка",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "No saludable",
|
"unhealthy": "No saludable",
|
||||||
"not_found": "No trobat",
|
"not_found": "No trobat",
|
||||||
"exited": "Tancat",
|
"exited": "Tancat",
|
||||||
"partial": "Parcial"
|
"partial": "Parcial",
|
||||||
|
"created": "Creat",
|
||||||
|
"paused": "Pausat",
|
||||||
|
"restarting": "Reiniciant",
|
||||||
|
"removing": "Eliminant",
|
||||||
|
"dead": "Mort"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
@@ -276,28 +281,28 @@
|
|||||||
"seed": "Sembrat"
|
"seed": "Sembrat"
|
||||||
},
|
},
|
||||||
"sonarr": {
|
"sonarr": {
|
||||||
"wanted": "Volgut",
|
"wanted": "Pendents",
|
||||||
"queued": "En cua",
|
"queued": "En cua",
|
||||||
"series": "Sèries",
|
"series": "Sèries",
|
||||||
"queue": "Cua",
|
"queue": "Cua",
|
||||||
"unknown": "Desconegut"
|
"unknown": "Desconegut"
|
||||||
},
|
},
|
||||||
"radarr": {
|
"radarr": {
|
||||||
"wanted": "Volguts",
|
"wanted": "Pendents",
|
||||||
"missing": "Falten",
|
"missing": "Falten",
|
||||||
"queued": "Encuat",
|
"queued": "En cua",
|
||||||
"movies": "Pel·lícules",
|
"movies": "Pel·lícules",
|
||||||
"queue": "Cua",
|
"queue": "Cua",
|
||||||
"unknown": "Desconegut"
|
"unknown": "Desconegut"
|
||||||
},
|
},
|
||||||
"lidarr": {
|
"lidarr": {
|
||||||
"wanted": "Volguts",
|
"wanted": "Pendents",
|
||||||
"queued": "Encuat",
|
"queued": "En cua",
|
||||||
"artists": "Artistes"
|
"artists": "Artistes"
|
||||||
},
|
},
|
||||||
"readarr": {
|
"readarr": {
|
||||||
"wanted": "Volguts",
|
"wanted": "Pendents",
|
||||||
"queued": "Encuat",
|
"queued": "En cua",
|
||||||
"books": "Llibres"
|
"books": "Llibres"
|
||||||
},
|
},
|
||||||
"bazarr": {
|
"bazarr": {
|
||||||
@@ -315,7 +320,7 @@
|
|||||||
"available": "Disponible",
|
"available": "Disponible",
|
||||||
"completed": "Completat",
|
"completed": "Completat",
|
||||||
"processing": "Processant",
|
"processing": "Processant",
|
||||||
"issues": "Temes oberts"
|
"issues": "Incidències"
|
||||||
},
|
},
|
||||||
"netalertx": {
|
"netalertx": {
|
||||||
"total": "Total",
|
"total": "Total",
|
||||||
@@ -455,8 +460,8 @@
|
|||||||
"domain_count": "Dominis"
|
"domain_count": "Dominis"
|
||||||
},
|
},
|
||||||
"medusa": {
|
"medusa": {
|
||||||
"wanted": "Volguts",
|
"wanted": "Pendents",
|
||||||
"queued": "Encuat",
|
"queued": "En cua",
|
||||||
"series": "Sèries"
|
"series": "Sèries"
|
||||||
},
|
},
|
||||||
"minecraft": {
|
"minecraft": {
|
||||||
@@ -762,8 +767,8 @@
|
|||||||
},
|
},
|
||||||
"mylar": {
|
"mylar": {
|
||||||
"series": "Sèries",
|
"series": "Sèries",
|
||||||
"issues": "Problemes",
|
"issues": "Números",
|
||||||
"wanted": "Volguts"
|
"wanted": "Pendents"
|
||||||
},
|
},
|
||||||
"photoprism": {
|
"photoprism": {
|
||||||
"albums": "Àlbums",
|
"albums": "Àlbums",
|
||||||
@@ -989,7 +994,7 @@
|
|||||||
},
|
},
|
||||||
"gitea": {
|
"gitea": {
|
||||||
"notifications": "Notificacions",
|
"notifications": "Notificacions",
|
||||||
"issues": "Problemes",
|
"issues": "Incidències",
|
||||||
"pulls": "Sol·licitud de Canvis",
|
"pulls": "Sol·licitud de Canvis",
|
||||||
"repositories": "Repositoris"
|
"repositories": "Repositoris"
|
||||||
},
|
},
|
||||||
@@ -1119,7 +1124,7 @@
|
|||||||
},
|
},
|
||||||
"gitlab": {
|
"gitlab": {
|
||||||
"groups": "Grups",
|
"groups": "Grups",
|
||||||
"issues": "Problemes",
|
"issues": "Incidències",
|
||||||
"merges": "Merge Requests",
|
"merges": "Merge Requests",
|
||||||
"projects": "Projectes"
|
"projects": "Projectes"
|
||||||
},
|
},
|
||||||
@@ -1156,7 +1161,7 @@
|
|||||||
},
|
},
|
||||||
"checkmk": {
|
"checkmk": {
|
||||||
"serviceErrors": "Errors de servei",
|
"serviceErrors": "Errors de servei",
|
||||||
"hostErrors": "Problemes de l'hoste"
|
"hostErrors": "Errors de l'hoste"
|
||||||
},
|
},
|
||||||
"komodo": {
|
"komodo": {
|
||||||
"total": "Total",
|
"total": "Total",
|
||||||
@@ -1250,8 +1255,8 @@
|
|||||||
"storage": "Emmagatzematge"
|
"storage": "Emmagatzematge"
|
||||||
},
|
},
|
||||||
"sportarr": {
|
"sportarr": {
|
||||||
"wanted": "Volgut",
|
"wanted": "Pendents",
|
||||||
"queued": "Encuat",
|
"queued": "En cua",
|
||||||
"leagues": "Lligues"
|
"leagues": "Lligues"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Nezdravý",
|
"unhealthy": "Nezdravý",
|
||||||
"not_found": "Nenalezen",
|
"not_found": "Nenalezen",
|
||||||
"exited": "Ukončen",
|
"exited": "Ukončen",
|
||||||
"partial": "Částečný"
|
"partial": "Částečný",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Chyba",
|
"error": "Chyba",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Usund",
|
"unhealthy": "Usund",
|
||||||
"not_found": "Ikke Fundet",
|
"not_found": "Ikke Fundet",
|
||||||
"exited": "Forladt",
|
"exited": "Forladt",
|
||||||
"partial": "Delvis"
|
"partial": "Delvis",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"seconds": "s"
|
"seconds": "s"
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"signout": "Sign out"
|
"signout": "Abmelden"
|
||||||
},
|
},
|
||||||
"widget": {
|
"widget": {
|
||||||
"missing_type": "Fehlender Widget-Typ: {{type}}",
|
"missing_type": "Fehlender Widget-Typ: {{type}}",
|
||||||
@@ -40,8 +40,8 @@
|
|||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "Suche…",
|
"placeholder": "Suche…",
|
||||||
"provider": "Search engine: {{name}}",
|
"provider": "Suchmaschine: {{name}}",
|
||||||
"select_provider": "Select search engine"
|
"select_provider": "Suchmaschine auswählen"
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
@@ -77,13 +77,13 @@
|
|||||||
"no_data": "Keine Speicherdaten verfügbar"
|
"no_data": "Keine Speicherdaten verfügbar"
|
||||||
},
|
},
|
||||||
"duplicati": {
|
"duplicati": {
|
||||||
"jobs": "Jobs",
|
"jobs": "Aufgaben",
|
||||||
"stored": "Stored",
|
"stored": "Gespeichert",
|
||||||
"lastBackup": "Last Run",
|
"lastBackup": "Zuletzt ausgeführt",
|
||||||
"nextRun": "Next Run",
|
"nextRun": "Nächste Ausführung",
|
||||||
"running": "Running",
|
"running": "Wird ausgeführt",
|
||||||
"warnings": "Warnings",
|
"warnings": "Warnungen",
|
||||||
"errors": "Errors"
|
"errors": "Fehler"
|
||||||
},
|
},
|
||||||
"docker": {
|
"docker": {
|
||||||
"rx": "RX",
|
"rx": "RX",
|
||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Fehlerhaft",
|
"unhealthy": "Fehlerhaft",
|
||||||
"not_found": "Nicht gefunden",
|
"not_found": "Nicht gefunden",
|
||||||
"exited": "Beendet",
|
"exited": "Beendet",
|
||||||
"partial": "Teilweise"
|
"partial": "Teilweise",
|
||||||
|
"created": "Erstellt am",
|
||||||
|
"paused": "Pausiert",
|
||||||
|
"restarting": "Wird neu gestartet",
|
||||||
|
"removing": "Wird entfernt",
|
||||||
|
"dead": "Tot"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Fehler",
|
"error": "Fehler",
|
||||||
@@ -135,7 +140,7 @@
|
|||||||
"series": "Serien",
|
"series": "Serien",
|
||||||
"episodes": "Episoden",
|
"episodes": "Episoden",
|
||||||
"songs": "Titel",
|
"songs": "Titel",
|
||||||
"albums": "Albums"
|
"albums": "Alben"
|
||||||
},
|
},
|
||||||
"esphome": {
|
"esphome": {
|
||||||
"offline": "Offline",
|
"offline": "Offline",
|
||||||
@@ -359,15 +364,15 @@
|
|||||||
"address": "Adresse",
|
"address": "Adresse",
|
||||||
"expires": "Läuft ab",
|
"expires": "Läuft ab",
|
||||||
"never": "Nie",
|
"never": "Nie",
|
||||||
"user": "User",
|
"user": "Benutzer",
|
||||||
"hostname": "Hostname",
|
"hostname": "Hostname",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"client_version": "Client Version",
|
"client_version": "Client-Version",
|
||||||
"os": "OS",
|
"os": "Betriebssystem",
|
||||||
"created": "Created",
|
"created": "Erstellt am",
|
||||||
"authorized": "Authorized",
|
"authorized": "Autorisiert",
|
||||||
"is_external": "Is External",
|
"is_external": "Ist extern",
|
||||||
"update_available": "Update Available",
|
"update_available": "Aktualisierung verfügbar",
|
||||||
"tags": "Tags",
|
"tags": "Tags",
|
||||||
"last_seen": "Zuletzt gesehen",
|
"last_seen": "Zuletzt gesehen",
|
||||||
"now": "Jetzt",
|
"now": "Jetzt",
|
||||||
@@ -378,8 +383,8 @@
|
|||||||
"minutes": "{{number}}min",
|
"minutes": "{{number}}min",
|
||||||
"seconds": "{{number}}s",
|
"seconds": "{{number}}s",
|
||||||
"ago": "Vor {{value}}",
|
"ago": "Vor {{value}}",
|
||||||
"true": "Yes",
|
"true": "Ja",
|
||||||
"false": "No"
|
"false": "Nein"
|
||||||
},
|
},
|
||||||
"technitium": {
|
"technitium": {
|
||||||
"totalQueries": "Anfragen",
|
"totalQueries": "Anfragen",
|
||||||
@@ -474,7 +479,7 @@
|
|||||||
"users": "Benutzer",
|
"users": "Benutzer",
|
||||||
"loginsLast24H": "Anmeldungen (24 h)",
|
"loginsLast24H": "Anmeldungen (24 h)",
|
||||||
"failedLoginsLast24H": "Fehlversuche (24 h)",
|
"failedLoginsLast24H": "Fehlversuche (24 h)",
|
||||||
"authorizationsLast24H": "Auths (24h)"
|
"authorizationsLast24H": "Autorisierungen (24h)"
|
||||||
},
|
},
|
||||||
"proxmox": {
|
"proxmox": {
|
||||||
"mem": "RAM",
|
"mem": "RAM",
|
||||||
@@ -483,7 +488,7 @@
|
|||||||
"vms": "VMs"
|
"vms": "VMs"
|
||||||
},
|
},
|
||||||
"pulse": {
|
"pulse": {
|
||||||
"nodes": "Nodes",
|
"nodes": "Knoten",
|
||||||
"vms": "VMs",
|
"vms": "VMs",
|
||||||
"lxcs": "LXCs"
|
"lxcs": "LXCs"
|
||||||
},
|
},
|
||||||
@@ -652,13 +657,13 @@
|
|||||||
"total": "Total"
|
"total": "Total"
|
||||||
},
|
},
|
||||||
"pangolin": {
|
"pangolin": {
|
||||||
"orgs": "Orgs",
|
"orgs": "Organisationen",
|
||||||
"sites": "Seiten",
|
"sites": "Seiten",
|
||||||
"resources": "Ressourcen",
|
"resources": "Ressourcen",
|
||||||
"targets": "Ziele",
|
"targets": "Ziele",
|
||||||
"traffic": "Traffic",
|
"traffic": "Traffic",
|
||||||
"in": "In",
|
"in": "Eingehend",
|
||||||
"out": "Out"
|
"out": "Ausgehend"
|
||||||
},
|
},
|
||||||
"peanut": {
|
"peanut": {
|
||||||
"battery_charge": "Akkuladung",
|
"battery_charge": "Akkuladung",
|
||||||
@@ -954,27 +959,27 @@
|
|||||||
"storage": "Speicher"
|
"storage": "Speicher"
|
||||||
},
|
},
|
||||||
"maintainerr": {
|
"maintainerr": {
|
||||||
"itemsHandled": "Items Handled",
|
"itemsHandled": "Items bearbeitet",
|
||||||
"episodesHandled": "Episodes Handled",
|
"episodesHandled": "Episoden behandelt",
|
||||||
"moviesHandled": "Movies Handled",
|
"moviesHandled": "Filme behandelt",
|
||||||
"showsHandled": "Shows Handled",
|
"showsHandled": "Serien behandelt",
|
||||||
"seasonsHandled": "Seasons Handled",
|
"seasonsHandled": "Staffeln bearbeitet",
|
||||||
"reclaimable": "Reclaimable",
|
"reclaimable": "Zurückforderbar",
|
||||||
"movieReclaimable": "Movie Reclaimable",
|
"movieReclaimable": "Film zurückforderbar",
|
||||||
"showReclaimable": "Show Reclaimable",
|
"showReclaimable": "Serie zurückforderbar",
|
||||||
"totalCapacity": "Total Capacity"
|
"totalCapacity": "Gesamte Kapazität"
|
||||||
},
|
},
|
||||||
"netdata": {
|
"netdata": {
|
||||||
"warnings": "Warnungen",
|
"warnings": "Warnungen",
|
||||||
"criticals": "Kritisch"
|
"criticals": "Kritisch"
|
||||||
},
|
},
|
||||||
"ntfy": {
|
"ntfy": {
|
||||||
"title": "Title",
|
"title": "Titel",
|
||||||
"priority": "Priority",
|
"priority": "Priorität",
|
||||||
"lastReceived": "Last Received",
|
"lastReceived": "Zuletzt erhalten",
|
||||||
"message": "Message",
|
"message": "Nachricht",
|
||||||
"tags": "Tags",
|
"tags": "Schlagwörter",
|
||||||
"none": "None",
|
"none": "Keine",
|
||||||
"min": "Min",
|
"min": "Min",
|
||||||
"low": "Low",
|
"low": "Low",
|
||||||
"default": "Default",
|
"default": "Default",
|
||||||
|
|||||||
@@ -14,14 +14,14 @@
|
|||||||
"date": "{{value, date}}",
|
"date": "{{value, date}}",
|
||||||
"relativeDate": "{{value, relativeDate}}",
|
"relativeDate": "{{value, relativeDate}}",
|
||||||
"duration": "{{value, duration}}",
|
"duration": "{{value, duration}}",
|
||||||
"months": "mo",
|
"months": "Μ",
|
||||||
"days": "d",
|
"days": "μ",
|
||||||
"hours": "h",
|
"hours": "ω",
|
||||||
"minutes": "m",
|
"minutes": "λ",
|
||||||
"seconds": "s"
|
"seconds": "δ"
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"signout": "Sign out"
|
"signout": "Αποσύνδεση"
|
||||||
},
|
},
|
||||||
"widget": {
|
"widget": {
|
||||||
"missing_type": "Λείπει ο τύπος widget: {{type}}",
|
"missing_type": "Λείπει ο τύπος widget: {{type}}",
|
||||||
@@ -40,8 +40,8 @@
|
|||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "Αναζήτηση…",
|
"placeholder": "Αναζήτηση…",
|
||||||
"provider": "Search engine: {{name}}",
|
"provider": "Μηχανή αναζήτησης: {{name}}",
|
||||||
"select_provider": "Select search engine"
|
"select_provider": "Επιλέξτε τις μηχανές αναζήτησης"
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"cpu": "Επεξεργαστής",
|
"cpu": "Επεξεργαστής",
|
||||||
@@ -66,24 +66,24 @@
|
|||||||
"wlan_devices": "WLAN Συσκευές",
|
"wlan_devices": "WLAN Συσκευές",
|
||||||
"lan_users": "LAN Χρήστες",
|
"lan_users": "LAN Χρήστες",
|
||||||
"wlan_users": "WLAN Χρήστες",
|
"wlan_users": "WLAN Χρήστες",
|
||||||
"up": "UP",
|
"up": "ΕΠΑΝΩ",
|
||||||
"down": "ΚΑΤΩ",
|
"down": "ΚΑΤΩ",
|
||||||
"wait": "Please wait",
|
"wait": "Παρακαλώ περιμένετε",
|
||||||
"empty_data": "Άγνωστη κατάσταση υποσυστήματος"
|
"empty_data": "Άγνωστη κατάσταση υποσυστήματος"
|
||||||
},
|
},
|
||||||
"unifi_drive": {
|
"unifi_drive": {
|
||||||
"healthy": "Healthy",
|
"healthy": "Υγειές",
|
||||||
"degraded": "Degraded",
|
"degraded": "Degraded",
|
||||||
"no_data": "No storage data available"
|
"no_data": "Δεν υπάρχουν διαθέσιμα δεδομένα χώρου αποθήκευσης"
|
||||||
},
|
},
|
||||||
"duplicati": {
|
"duplicati": {
|
||||||
"jobs": "Jobs",
|
"jobs": "Εργασίες",
|
||||||
"stored": "Stored",
|
"stored": "Αποθηκευμένα",
|
||||||
"lastBackup": "Last Run",
|
"lastBackup": "Τελευταία εκτέλεση",
|
||||||
"nextRun": "Next Run",
|
"nextRun": "Επόμενη εκτέλεση",
|
||||||
"running": "Running",
|
"running": "Εκτελείται",
|
||||||
"warnings": "Warnings",
|
"warnings": "Προειδοποιήσεις",
|
||||||
"errors": "Errors"
|
"errors": "Σφάλματα"
|
||||||
},
|
},
|
||||||
"docker": {
|
"docker": {
|
||||||
"rx": "RX",
|
"rx": "RX",
|
||||||
@@ -99,10 +99,15 @@
|
|||||||
"unhealthy": "Άρρωστο",
|
"unhealthy": "Άρρωστο",
|
||||||
"not_found": "Δεν βρέθηκε",
|
"not_found": "Δεν βρέθηκε",
|
||||||
"exited": "Έκλεισε",
|
"exited": "Έκλεισε",
|
||||||
"partial": "Μερικό"
|
"partial": "Μερικό",
|
||||||
|
"created": "Δημιουργήθηκε",
|
||||||
|
"paused": "Σε παύση",
|
||||||
|
"restarting": "Γίνεται επανεκκίνηση",
|
||||||
|
"removing": "Αφαιρείται",
|
||||||
|
"dead": "Νεκρό"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Σφάλμα",
|
||||||
"ping": "Ping",
|
"ping": "Ping",
|
||||||
"down": "Ping down",
|
"down": "Ping down",
|
||||||
"up": "Ping up",
|
"up": "Ping up",
|
||||||
@@ -110,11 +115,11 @@
|
|||||||
},
|
},
|
||||||
"siteMonitor": {
|
"siteMonitor": {
|
||||||
"http_status": "Κατάσταση HTTP",
|
"http_status": "Κατάσταση HTTP",
|
||||||
"error": "Error",
|
"error": "Σφάλμα",
|
||||||
"response": "Απόκριση",
|
"response": "Απόκριση",
|
||||||
"down": "Down",
|
"down": "Κάτω",
|
||||||
"up": "Up",
|
"up": "Πάνω",
|
||||||
"not_available": "Not Available"
|
"not_available": "Μη Διαθέσιμο"
|
||||||
},
|
},
|
||||||
"emby": {
|
"emby": {
|
||||||
"playing": "Παίζει",
|
"playing": "Παίζει",
|
||||||
@@ -127,22 +132,22 @@
|
|||||||
"songs": "Τραγούδια"
|
"songs": "Τραγούδια"
|
||||||
},
|
},
|
||||||
"jellyfin": {
|
"jellyfin": {
|
||||||
"playing": "Playing",
|
"playing": "Γίνεται αναπαραγωγή",
|
||||||
"transcoding": "Transcoding",
|
"transcoding": "Επανακωδικοποίηση",
|
||||||
"bitrate": "Bitrate",
|
"bitrate": "Ρυθμός μετάδοσης",
|
||||||
"no_active": "No Active Streams",
|
"no_active": "Δεν Υπάρχουν Ενεργές Ροές",
|
||||||
"movies": "Movies",
|
"movies": "Ταινίες",
|
||||||
"series": "Series",
|
"series": "Σειρές",
|
||||||
"episodes": "Episodes",
|
"episodes": "Επεισόδια",
|
||||||
"songs": "Songs",
|
"songs": "Τραγούδια",
|
||||||
"albums": "Albums"
|
"albums": "Άλμπουμ"
|
||||||
},
|
},
|
||||||
"esphome": {
|
"esphome": {
|
||||||
"offline": "Offline",
|
"offline": "Εκτός σύνδεσης",
|
||||||
"offline_alt": "Offline",
|
"offline_alt": "Χωρίς Σύνδεση",
|
||||||
"online": "Συνδεδεμένοι",
|
"online": "Συνδεδεμένοι",
|
||||||
"total": "Total",
|
"total": "Σύνολο",
|
||||||
"unknown": "Unknown"
|
"unknown": "Άγνωστο"
|
||||||
},
|
},
|
||||||
"evcc": {
|
"evcc": {
|
||||||
"pv_power": "Παραγωγή",
|
"pv_power": "Παραγωγή",
|
||||||
@@ -163,7 +168,7 @@
|
|||||||
"unread": "Μη Διαβασμένο"
|
"unread": "Μη Διαβασμένο"
|
||||||
},
|
},
|
||||||
"fritzbox": {
|
"fritzbox": {
|
||||||
"connectionStatus": "Status",
|
"connectionStatus": "Κατάσταση",
|
||||||
"connectionStatusUnconfigured": "Μη Ρυθμισμένο",
|
"connectionStatusUnconfigured": "Μη Ρυθμισμένο",
|
||||||
"connectionStatusConnecting": "Κατάσταση Σύνδεσης",
|
"connectionStatusConnecting": "Κατάσταση Σύνδεσης",
|
||||||
"connectionStatusAuthenticating": "Ταυτοποίηση",
|
"connectionStatusAuthenticating": "Ταυτοποίηση",
|
||||||
@@ -171,16 +176,16 @@
|
|||||||
"connectionStatusDisconnecting": "Αποσύνδεση",
|
"connectionStatusDisconnecting": "Αποσύνδεση",
|
||||||
"connectionStatusDisconnected": "Αποσυνδέθηκε",
|
"connectionStatusDisconnected": "Αποσυνδέθηκε",
|
||||||
"connectionStatusConnected": "Συνδέθηκε",
|
"connectionStatusConnected": "Συνδέθηκε",
|
||||||
"uptime": "Uptime",
|
"uptime": "Συνεχής λειτουργία",
|
||||||
"maxDown": "Μέγιστο Download",
|
"maxDown": "Μέγιστο Download",
|
||||||
"maxUp": "Μέγιστο Upload",
|
"maxUp": "Μέγιστο Upload",
|
||||||
"down": "Down",
|
"down": "Κάτω",
|
||||||
"up": "Up",
|
"up": "Πάνω",
|
||||||
"received": "Ληφθέντα",
|
"received": "Ληφθέντα",
|
||||||
"sent": "Απεσταλμένα",
|
"sent": "Απεσταλμένα",
|
||||||
"externalIPAddress": "Εξωτερική IP",
|
"externalIPAddress": "Εξωτερική IP",
|
||||||
"externalIPv6Address": "Ext. IPv6",
|
"externalIPv6Address": "Εξωτ. IPv6",
|
||||||
"externalIPv6Prefix": "Ext. IPv6-Prefix"
|
"externalIPv6Prefix": "Εξωτ. IPv6-Prefix"
|
||||||
},
|
},
|
||||||
"caddy": {
|
"caddy": {
|
||||||
"upstreams": "Upstreams",
|
"upstreams": "Upstreams",
|
||||||
@@ -198,10 +203,10 @@
|
|||||||
"passes": "Περάσματα"
|
"passes": "Περάσματα"
|
||||||
},
|
},
|
||||||
"tautulli": {
|
"tautulli": {
|
||||||
"playing": "Playing",
|
"playing": "Γίνεται αναπαραγωγή",
|
||||||
"transcoding": "Transcoding",
|
"transcoding": "Γίνεται επανακωδικοποίηση",
|
||||||
"bitrate": "Bitrate",
|
"bitrate": "Ρυθμός μετάδοσης",
|
||||||
"no_active": "No Active Streams",
|
"no_active": "Δεν Υπάρχουν Ενεργές Ροές",
|
||||||
"plex_connection_error": "Έλεγχος Σύνδεσης με Plex"
|
"plex_connection_error": "Έλεγχος Σύνδεσης με Plex"
|
||||||
},
|
},
|
||||||
"tracearr": {
|
"tracearr": {
|
||||||
@@ -288,16 +293,16 @@
|
|||||||
"queued": "Queued",
|
"queued": "Queued",
|
||||||
"movies": "Movies",
|
"movies": "Movies",
|
||||||
"queue": "Queue",
|
"queue": "Queue",
|
||||||
"unknown": "Unknown"
|
"unknown": "Άγνωστο"
|
||||||
},
|
},
|
||||||
"lidarr": {
|
"lidarr": {
|
||||||
"wanted": "Wanted",
|
"wanted": "Επιθυμητό",
|
||||||
"queued": "Queued",
|
"queued": "Σε αναμονή",
|
||||||
"artists": "Καλλιτέχνες"
|
"artists": "Καλλιτέχνες"
|
||||||
},
|
},
|
||||||
"readarr": {
|
"readarr": {
|
||||||
"wanted": "Wanted",
|
"wanted": "Επιθυμητό",
|
||||||
"queued": "Queued",
|
"queued": "Σε αναμονή",
|
||||||
"books": "Βιβλία"
|
"books": "Βιβλία"
|
||||||
},
|
},
|
||||||
"bazarr": {
|
"bazarr": {
|
||||||
@@ -310,16 +315,16 @@
|
|||||||
"available": "Διαθέσιμο"
|
"available": "Διαθέσιμο"
|
||||||
},
|
},
|
||||||
"seerr": {
|
"seerr": {
|
||||||
"pending": "Pending",
|
"pending": "Σε εκκρεμότητα",
|
||||||
"approved": "Approved",
|
"approved": "Εγκρίθηκε",
|
||||||
"available": "Available",
|
"available": "Διαθέσιμα",
|
||||||
"completed": "Completed",
|
"completed": "Ολοκληρώθηκε",
|
||||||
"processing": "Processing",
|
"processing": "Σε επεξεργασία",
|
||||||
"issues": "Open Issues"
|
"issues": "Ανοιχτά θέματα"
|
||||||
},
|
},
|
||||||
"netalertx": {
|
"netalertx": {
|
||||||
"total": "Total",
|
"total": "Σύνολο",
|
||||||
"connected": "Connected",
|
"connected": "Σε σύνδεση",
|
||||||
"new_devices": "Νέες συσκευές",
|
"new_devices": "Νέες συσκευές",
|
||||||
"down_alerts": "Ειδοποιήσεις offline"
|
"down_alerts": "Ειδοποιήσεις offline"
|
||||||
},
|
},
|
||||||
@@ -330,45 +335,45 @@
|
|||||||
"gravity": "Gravity"
|
"gravity": "Gravity"
|
||||||
},
|
},
|
||||||
"adguard": {
|
"adguard": {
|
||||||
"queries": "Queries",
|
"queries": "Ερωτήματα",
|
||||||
"blocked": "Blocked",
|
"blocked": "Αποκλεισμένα",
|
||||||
"filtered": "Φιλτραρισμένα",
|
"filtered": "Φιλτραρισμένα",
|
||||||
"latency": "Καθυστέρηση"
|
"latency": "Καθυστέρηση"
|
||||||
},
|
},
|
||||||
"speedtest": {
|
"speedtest": {
|
||||||
"upload": "Upload",
|
"upload": "Αποστολή",
|
||||||
"download": "Download",
|
"download": "Λήψη",
|
||||||
"ping": "Ping"
|
"ping": "Ping"
|
||||||
},
|
},
|
||||||
"portainer": {
|
"portainer": {
|
||||||
"running": "Running",
|
"running": "Εκτελείται",
|
||||||
"stopped": "Σταματημένο",
|
"stopped": "Σταματημένο",
|
||||||
"total": "Total"
|
"total": "Σύνολο"
|
||||||
},
|
},
|
||||||
"suwayomi": {
|
"suwayomi": {
|
||||||
"download": "Downloaded",
|
"download": "Ελήφθησαν",
|
||||||
"nondownload": "Non-Downloaded",
|
"nondownload": "Δεν Ελήφθησαν",
|
||||||
"read": "Read",
|
"read": "Διαβάστηκε",
|
||||||
"unread": "Unread",
|
"unread": "Μη αναγνωσμένα",
|
||||||
"downloadedread": "Downloaded & Read",
|
"downloadedread": "Ληφθέν & Αναγνωσμένο",
|
||||||
"downloadedunread": "Downloaded & Unread",
|
"downloadedunread": "Ληφθέν & Μη Αναγνωσμένο",
|
||||||
"nondownloadedread": "Non-Downloaded & Read",
|
"nondownloadedread": "Μη Ληφθέν & Αναγνωσμένο",
|
||||||
"nondownloadedunread": "Non-Downloaded & Unread"
|
"nondownloadedunread": "Μη Ληφθέν & Μη Αναγνωσμένο"
|
||||||
},
|
},
|
||||||
"tailscale": {
|
"tailscale": {
|
||||||
"address": "Διεύθυνση",
|
"address": "Διεύθυνση",
|
||||||
"expires": "Λήγει",
|
"expires": "Λήγει",
|
||||||
"never": "Ποτέ",
|
"never": "Ποτέ",
|
||||||
"user": "User",
|
"user": "Χρήστης",
|
||||||
"hostname": "Hostname",
|
"hostname": "Όνομα υπολογιστή",
|
||||||
"name": "Name",
|
"name": "Όνομα",
|
||||||
"client_version": "Client Version",
|
"client_version": "Έκδοση Πελάτη",
|
||||||
"os": "OS",
|
"os": "Λειτουργικό",
|
||||||
"created": "Created",
|
"created": "Δημιουργήθηκε",
|
||||||
"authorized": "Authorized",
|
"authorized": "Εξουσιοδοτημένο",
|
||||||
"is_external": "Is External",
|
"is_external": "Είναι Εξωτερική",
|
||||||
"update_available": "Update Available",
|
"update_available": "Διαθέσιμη ενημέρωση",
|
||||||
"tags": "Tags",
|
"tags": "Ετικέτες",
|
||||||
"last_seen": "Τελευταία Σύνδεση",
|
"last_seen": "Τελευταία Σύνδεση",
|
||||||
"now": "Τώρα",
|
"now": "Τώρα",
|
||||||
"years": "{{number}}χρόνια",
|
"years": "{{number}}χρόνια",
|
||||||
@@ -378,20 +383,20 @@
|
|||||||
"minutes": "{{number}}λεπτά",
|
"minutes": "{{number}}λεπτά",
|
||||||
"seconds": "{{number}}δευτερόλεπτα",
|
"seconds": "{{number}}δευτερόλεπτα",
|
||||||
"ago": "{{value}} πρίν",
|
"ago": "{{value}} πρίν",
|
||||||
"true": "Yes",
|
"true": "Ναι",
|
||||||
"false": "No"
|
"false": "Όχι"
|
||||||
},
|
},
|
||||||
"technitium": {
|
"technitium": {
|
||||||
"totalQueries": "Queries",
|
"totalQueries": "Ερωτήματα",
|
||||||
"totalNoError": "Success",
|
"totalNoError": "Επιτυχία",
|
||||||
"totalServerFailure": "Failures",
|
"totalServerFailure": "Σφάλματα",
|
||||||
"totalNxDomain": "NX Domains",
|
"totalNxDomain": "Τομείς NX",
|
||||||
"totalRefused": "Refused",
|
"totalRefused": "Απορρίφθηκαν",
|
||||||
"totalAuthoritative": "Authoritative",
|
"totalAuthoritative": "Εξουσιοδοτημένο",
|
||||||
"totalRecursive": "Recursive",
|
"totalRecursive": "Recursive",
|
||||||
"totalCached": "Cached",
|
"totalCached": "Cached",
|
||||||
"totalBlocked": "Blocked",
|
"totalBlocked": "Αποκλεισμένα",
|
||||||
"totalDropped": "Dropped",
|
"totalDropped": "Απορρίφθηκαν",
|
||||||
"totalClients": "Πελάτες"
|
"totalClients": "Πελάτες"
|
||||||
},
|
},
|
||||||
"tdarr": {
|
"tdarr": {
|
||||||
@@ -524,75 +529,75 @@
|
|||||||
"2-day": "Αραιές Νεφώσεις",
|
"2-day": "Αραιές Νεφώσεις",
|
||||||
"2-night": "Partly Cloudy",
|
"2-night": "Partly Cloudy",
|
||||||
"3-day": "Συννεφιές",
|
"3-day": "Συννεφιές",
|
||||||
"3-night": "Cloudy",
|
"3-night": "Συννεφιά",
|
||||||
"45-day": "Ομίχλη",
|
"45-day": "Ομίχλη",
|
||||||
"45-night": "Foggy",
|
"45-night": "Ομίχλη",
|
||||||
"48-day": "Foggy",
|
"48-day": "Ομίχλη",
|
||||||
"48-night": "Foggy",
|
"48-night": "Ομίχλη",
|
||||||
"51-day": "Ψιλόβροχο",
|
"51-day": "Ψιλόβροχο",
|
||||||
"51-night": "Light Drizzle",
|
"51-night": "Ελαφρύ Ψιλόβροχο",
|
||||||
"53-day": "Ψιλόβροχο",
|
"53-day": "Ψιλόβροχο",
|
||||||
"53-night": "Drizzle",
|
"53-night": "Ψιλόβροχο",
|
||||||
"55-day": "Heavy Drizzle",
|
"55-day": "Βαρύ Ψιλόβροχο",
|
||||||
"55-night": "Heavy Drizzle",
|
"55-night": "Βαρύ Ψιλόβροχο",
|
||||||
"56-day": "Light Freezing Drizzle",
|
"56-day": "Ελαφρύ Παγωμένο Ψιλόβροχο",
|
||||||
"56-night": "Light Freezing Drizzle",
|
"56-night": "Ελαφρύ Παγωμένο Ψιλόβροχο",
|
||||||
"57-day": "Παγωμένο ψιχάλισμα",
|
"57-day": "Παγωμένο ψιχάλισμα",
|
||||||
"57-night": "Freezing Drizzle",
|
"57-night": "Παγωμένο ψιλόβροχο",
|
||||||
"61-day": "Ψιλόβροχο",
|
"61-day": "Ψιλόβροχο",
|
||||||
"61-night": "Light Rain",
|
"61-night": "Ελαφριά Βροχή",
|
||||||
"63-day": "Βροχή",
|
"63-day": "Βροχή",
|
||||||
"63-night": "Rain",
|
"63-night": "Βροχή",
|
||||||
"65-day": "Δυνατή βροχή",
|
"65-day": "Δυνατή βροχή",
|
||||||
"65-night": "Heavy Rain",
|
"65-night": "Δυνατή βροχή",
|
||||||
"66-day": "Παγωμένη βροχή",
|
"66-day": "Παγωμένη βροχή",
|
||||||
"66-night": "Freezing Rain",
|
"66-night": "Παγωμένη βροχή",
|
||||||
"67-day": "Freezing Rain",
|
"67-day": "Παγωμένη βροχή",
|
||||||
"67-night": "Freezing Rain",
|
"67-night": "Παγωμένη βροχή",
|
||||||
"71-day": "Ελαφριά Χιονόπτωση",
|
"71-day": "Ελαφριά Χιονόπτωση",
|
||||||
"71-night": "Light Snow",
|
"71-night": "Ελαφρά Χιονόπτωση",
|
||||||
"73-day": "Χιόνι",
|
"73-day": "Χιόνι",
|
||||||
"73-night": "Snow",
|
"73-night": "Χιόνι",
|
||||||
"75-day": "Ισχυρή χιονόπτωση",
|
"75-day": "Ισχυρή χιονόπτωση",
|
||||||
"75-night": "Heavy Snow",
|
"75-night": "Ισχυρή χιονόπτωση",
|
||||||
"77-day": "Κόκκοι Χιονιού",
|
"77-day": "Κόκκοι Χιονιού",
|
||||||
"77-night": "Snow Grains",
|
"77-night": "Χιονάκι",
|
||||||
"80-day": "Ασθενείς βροχές",
|
"80-day": "Ασθενείς βροχές",
|
||||||
"80-night": "Light Showers",
|
"80-night": "Ασθενείς βροχές",
|
||||||
"81-day": "Βροχοπτώσεις",
|
"81-day": "Βροχοπτώσεις",
|
||||||
"81-night": "Showers",
|
"81-night": "Βροχοπτώσεις",
|
||||||
"82-day": "Ισχυρές βροχοπτώσεις",
|
"82-day": "Ισχυρές βροχοπτώσεις",
|
||||||
"82-night": "Heavy Showers",
|
"82-night": "Ισχυρές βροχοπτώσεις",
|
||||||
"85-day": "Χιονοπτώσεις",
|
"85-day": "Χιονοπτώσεις",
|
||||||
"85-night": "Snow Showers",
|
"85-night": "Χιονοπτώσεις",
|
||||||
"86-day": "Snow Showers",
|
"86-day": "Χιονοπτώσεις",
|
||||||
"86-night": "Snow Showers",
|
"86-night": "Χιονοπτώσεις",
|
||||||
"95-day": "Καταιγίδα",
|
"95-day": "Καταιγίδα",
|
||||||
"95-night": "Thunderstorm",
|
"95-night": "Καταιγίδα",
|
||||||
"96-day": "Καταιγίδα Με Χαλάζι",
|
"96-day": "Καταιγίδα Με Χαλάζι",
|
||||||
"96-night": "Thunderstorm With Hail",
|
"96-night": "Καταιγίδα Με Χαλάζι",
|
||||||
"99-day": "Thunderstorm With Hail",
|
"99-day": "Καταιγίδα Με Χαλάζι",
|
||||||
"99-night": "Thunderstorm With Hail"
|
"99-night": "Καταιγίδα Με Χαλάζι"
|
||||||
},
|
},
|
||||||
"homebridge": {
|
"homebridge": {
|
||||||
"available_update": "Σύστημα",
|
"available_update": "Σύστημα",
|
||||||
"updates": "Ενημερώσεις",
|
"updates": "Ενημερώσεις",
|
||||||
"update_available": "Διαθέσιμη ενημέρωση",
|
"update_available": "Διαθέσιμη ενημέρωση",
|
||||||
"up_to_date": "Ενημερωμένο",
|
"up_to_date": "Ενημερωμένο",
|
||||||
"child_bridges": "Child Bridges",
|
"child_bridges": "Θυγατρικές Γέφυρες",
|
||||||
"child_bridges_status": "{{ok}}/{{total}}",
|
"child_bridges_status": "{{ok}}/{{total}}",
|
||||||
"up": "Up",
|
"up": "Πάνω",
|
||||||
"pending": "Pending",
|
"pending": "Σε εκκρεμότητα",
|
||||||
"down": "Down",
|
"down": "Κάτω",
|
||||||
"ok": "Ok"
|
"ok": "Οκ"
|
||||||
},
|
},
|
||||||
"healthchecks": {
|
"healthchecks": {
|
||||||
"new": "New",
|
"new": "Νέο",
|
||||||
"up": "Up",
|
"up": "Πάνω",
|
||||||
"grace": "In Grace Period",
|
"grace": "Σε Περίοδο Χάριτος",
|
||||||
"down": "Down",
|
"down": "Κάτω",
|
||||||
"paused": "Paused",
|
"paused": "Σε παύση",
|
||||||
"status": "Status",
|
"status": "Κατάσταση",
|
||||||
"last_ping": "Τελευταίο Ping",
|
"last_ping": "Τελευταίο Ping",
|
||||||
"never": "Δεν υπάρχουν ping ακόμα"
|
"never": "Δεν υπάρχουν ping ακόμα"
|
||||||
},
|
},
|
||||||
@@ -602,26 +607,26 @@
|
|||||||
"containers_failed": "Απέτυχε"
|
"containers_failed": "Απέτυχε"
|
||||||
},
|
},
|
||||||
"autobrr": {
|
"autobrr": {
|
||||||
"approvedPushes": "Approved",
|
"approvedPushes": "Εγκρίθηκε",
|
||||||
"rejectedPushes": "Απορρίφθηκε",
|
"rejectedPushes": "Απορρίφθηκε",
|
||||||
"filters": "Φίλτρα",
|
"filters": "Φίλτρα",
|
||||||
"indexers": "Indexers"
|
"indexers": "Ευρετήρια"
|
||||||
},
|
},
|
||||||
"tubearchivist": {
|
"tubearchivist": {
|
||||||
"downloads": "Queue",
|
"downloads": "Αναμονή",
|
||||||
"videos": "Βίντεο",
|
"videos": "Βίντεο",
|
||||||
"channels": "Κανάλια",
|
"channels": "Κανάλια",
|
||||||
"playlists": "Λίστες αναπαραγωγής"
|
"playlists": "Λίστες αναπαραγωγής"
|
||||||
},
|
},
|
||||||
"truenas": {
|
"truenas": {
|
||||||
"load": "Φόρτος Συστήματος",
|
"load": "Φόρτος Συστήματος",
|
||||||
"uptime": "Uptime",
|
"uptime": "Συνεχής λειτουργία",
|
||||||
"alerts": "Alerts"
|
"alerts": "Ειδοποιήσεις"
|
||||||
},
|
},
|
||||||
"pyload": {
|
"pyload": {
|
||||||
"speed": "Ταχύτητα",
|
"speed": "Ταχύτητα",
|
||||||
"active": "Active",
|
"active": "Ενεργό",
|
||||||
"queue": "Queue",
|
"queue": "Αναμονή",
|
||||||
"total": "Total"
|
"total": "Total"
|
||||||
},
|
},
|
||||||
"gluetun": {
|
"gluetun": {
|
||||||
@@ -730,56 +735,56 @@
|
|||||||
"immich": {
|
"immich": {
|
||||||
"users": "Users",
|
"users": "Users",
|
||||||
"photos": "Φωτογραφίες",
|
"photos": "Φωτογραφίες",
|
||||||
"videos": "Videos",
|
"videos": "Βίντεο",
|
||||||
"storage": "Αποθηκευτικός χώρος"
|
"storage": "Αποθηκευτικός χώρος"
|
||||||
},
|
},
|
||||||
"uptimekuma": {
|
"uptimekuma": {
|
||||||
"up": "Online τοποθεσίες",
|
"up": "Online τοποθεσίες",
|
||||||
"down": "Offline τοποθεσίες",
|
"down": "Offline τοποθεσίες",
|
||||||
"uptime": "Uptime",
|
"uptime": "Συνεχής λειτουργία",
|
||||||
"incident": "Περιστατικό",
|
"incident": "Περιστατικό",
|
||||||
"m": "m"
|
"m": "λ"
|
||||||
},
|
},
|
||||||
"atsumeru": {
|
"atsumeru": {
|
||||||
"series": "Series",
|
"series": "Σειρές",
|
||||||
"archives": "Archives",
|
"archives": "Αρχεία",
|
||||||
"chapters": "Chapters",
|
"chapters": "Κεφάλαια",
|
||||||
"categories": "Κατηγορίες"
|
"categories": "Κατηγορίες"
|
||||||
},
|
},
|
||||||
"komga": {
|
"komga": {
|
||||||
"libraries": "Libraries",
|
"libraries": "Βιβλιοθήκες",
|
||||||
"series": "Series",
|
"series": "Σειρές",
|
||||||
"books": "Books"
|
"books": "Βιβλία"
|
||||||
},
|
},
|
||||||
"diskstation": {
|
"diskstation": {
|
||||||
"days": "Days",
|
"days": "Ημέρες",
|
||||||
"uptime": "Uptime",
|
"uptime": "Συνεχής λειτουργία",
|
||||||
"volumeAvailable": "Available"
|
"volumeAvailable": "Διαθέσιμα"
|
||||||
},
|
},
|
||||||
"dispatcharr": {
|
"dispatcharr": {
|
||||||
"channels": "Channels",
|
"channels": "Κανάλια",
|
||||||
"streams": "Streams"
|
"streams": "Ροές"
|
||||||
},
|
},
|
||||||
"mylar": {
|
"mylar": {
|
||||||
"series": "Series",
|
"series": "Σειρές",
|
||||||
"issues": "Issues",
|
"issues": "Προβλήματα",
|
||||||
"wanted": "Wanted"
|
"wanted": "Επιθυμητά"
|
||||||
},
|
},
|
||||||
"photoprism": {
|
"photoprism": {
|
||||||
"albums": "Albums",
|
"albums": "Άλμπουμ",
|
||||||
"photos": "Photos",
|
"photos": "Φωτογραφίες",
|
||||||
"videos": "Videos",
|
"videos": "Βίντεο",
|
||||||
"people": "Άνθρωποι"
|
"people": "Άνθρωποι"
|
||||||
},
|
},
|
||||||
"fileflows": {
|
"fileflows": {
|
||||||
"queue": "Queue",
|
"queue": "Αναμονή",
|
||||||
"processing": "Processing",
|
"processing": "Σε επεξεργασία",
|
||||||
"processed": "Processed",
|
"processed": "Επεξεργασμένα",
|
||||||
"time": "Ώρα"
|
"time": "Ώρα"
|
||||||
},
|
},
|
||||||
"firefly": {
|
"firefly": {
|
||||||
"networth": "Net Worth",
|
"networth": "Καθαρή αξία",
|
||||||
"budget": "Budget"
|
"budget": "Προϋπολογισμός"
|
||||||
},
|
},
|
||||||
"grafana": {
|
"grafana": {
|
||||||
"dashboards": "Πίνακας Ελέγχου",
|
"dashboards": "Πίνακας Ελέγχου",
|
||||||
@@ -796,15 +801,15 @@
|
|||||||
"numshares": "Κοινόχρηστα στοιχεία"
|
"numshares": "Κοινόχρηστα στοιχεία"
|
||||||
},
|
},
|
||||||
"kopia": {
|
"kopia": {
|
||||||
"status": "Status",
|
"status": "Κατάσταση",
|
||||||
"size": "Μέγεθος",
|
"size": "Μέγεθος",
|
||||||
"lastrun": "Τελευταία εκτέλεση",
|
"lastrun": "Τελευταία εκτέλεση",
|
||||||
"nextrun": "Επόμενη εκτέλεση",
|
"nextrun": "Επόμενη εκτέλεση",
|
||||||
"failed": "Failed"
|
"failed": "Απέτυχε"
|
||||||
},
|
},
|
||||||
"unmanic": {
|
"unmanic": {
|
||||||
"active_workers": "Ενεργοί χρήστες",
|
"active_workers": "Ενεργοί χρήστες",
|
||||||
"total_workers": "Total Workers",
|
"total_workers": "Σύνολο Εργατών",
|
||||||
"records_total": "Μήκος Ουράς"
|
"records_total": "Μήκος Ουράς"
|
||||||
},
|
},
|
||||||
"pterodactyl": {
|
"pterodactyl": {
|
||||||
@@ -817,21 +822,21 @@
|
|||||||
"targets_total": "Συνολικοί Στόχοι"
|
"targets_total": "Συνολικοί Στόχοι"
|
||||||
},
|
},
|
||||||
"gatus": {
|
"gatus": {
|
||||||
"up": "Sites Up",
|
"up": "Ιστοσελίδες Πάνω",
|
||||||
"down": "Sites Down",
|
"down": "Ιστοσελίδες Κάτω",
|
||||||
"uptime": "Uptime"
|
"uptime": "Συνεχής λειτουργία"
|
||||||
},
|
},
|
||||||
"ghostfolio": {
|
"ghostfolio": {
|
||||||
"gross_percent_today": "Today",
|
"gross_percent_today": "Σήμερα",
|
||||||
"gross_percent_1y": "Ένας χρόνος",
|
"gross_percent_1y": "Ένας χρόνος",
|
||||||
"gross_percent_max": "Διαχρονικά",
|
"gross_percent_max": "Διαχρονικά",
|
||||||
"net_worth": "Net Worth"
|
"net_worth": "Καθαρή αξία"
|
||||||
},
|
},
|
||||||
"audiobookshelf": {
|
"audiobookshelf": {
|
||||||
"podcasts": "Podcasts",
|
"podcasts": "Podcasts",
|
||||||
"books": "Books",
|
"books": "Βιβλία",
|
||||||
"podcastsDuration": "Διάρκεια",
|
"podcastsDuration": "Διάρκεια",
|
||||||
"booksDuration": "Duration"
|
"booksDuration": "Διάρκεια"
|
||||||
},
|
},
|
||||||
"homeassistant": {
|
"homeassistant": {
|
||||||
"people_home": "Σύνολο ανθρώπων στο σπίτι",
|
"people_home": "Σύνολο ανθρώπων στο σπίτι",
|
||||||
@@ -840,33 +845,33 @@
|
|||||||
},
|
},
|
||||||
"whatsupdocker": {
|
"whatsupdocker": {
|
||||||
"monitoring": "Παρακολούθηση",
|
"monitoring": "Παρακολούθηση",
|
||||||
"updates": "Updates"
|
"updates": "Ενημερώσεις"
|
||||||
},
|
},
|
||||||
"calibreweb": {
|
"calibreweb": {
|
||||||
"books": "Books",
|
"books": "Βιβλία",
|
||||||
"authors": "Συντάκτες",
|
"authors": "Συντάκτες",
|
||||||
"categories": "Categories",
|
"categories": "Κατηγορίες",
|
||||||
"series": "Series"
|
"series": "Σειρές"
|
||||||
},
|
},
|
||||||
"booklore": {
|
"booklore": {
|
||||||
"libraries": "Libraries",
|
"libraries": "Βιβλιοθήκες",
|
||||||
"books": "Books",
|
"books": "Βιβλία",
|
||||||
"reading": "Reading",
|
"reading": "Ανάγνωση",
|
||||||
"finished": "Finished"
|
"finished": "Ολοκληρώθηκε"
|
||||||
},
|
},
|
||||||
"jdownloader": {
|
"jdownloader": {
|
||||||
"downloadCount": "Queue",
|
"downloadCount": "Αναμονή",
|
||||||
"downloadBytesRemaining": "Remaining",
|
"downloadBytesRemaining": "Απομένουν",
|
||||||
"downloadTotalBytes": "Size",
|
"downloadTotalBytes": "Μέγεθος",
|
||||||
"downloadSpeed": "Speed"
|
"downloadSpeed": "Ταχύτητα"
|
||||||
},
|
},
|
||||||
"kavita": {
|
"kavita": {
|
||||||
"seriesCount": "Series",
|
"seriesCount": "Σειρές",
|
||||||
"totalFiles": "Files"
|
"totalFiles": "Αρχεία"
|
||||||
},
|
},
|
||||||
"azuredevops": {
|
"azuredevops": {
|
||||||
"result": "Αποτέλεσμα",
|
"result": "Αποτέλεσμα",
|
||||||
"status": "Status",
|
"status": "Κατάσταση",
|
||||||
"buildId": "Build ID",
|
"buildId": "Build ID",
|
||||||
"succeeded": "Πέτυχε",
|
"succeeded": "Πέτυχε",
|
||||||
"notStarted": "Δεν ξεκίνησε",
|
"notStarted": "Δεν ξεκίνησε",
|
||||||
@@ -951,7 +956,7 @@
|
|||||||
"domains": "Domains",
|
"domains": "Domains",
|
||||||
"mailboxes": "Mailboxes",
|
"mailboxes": "Mailboxes",
|
||||||
"mails": "Mails",
|
"mails": "Mails",
|
||||||
"storage": "Storage"
|
"storage": "Αποθηκευτικός χώρος"
|
||||||
},
|
},
|
||||||
"maintainerr": {
|
"maintainerr": {
|
||||||
"itemsHandled": "Items Handled",
|
"itemsHandled": "Items Handled",
|
||||||
@@ -962,61 +967,61 @@
|
|||||||
"reclaimable": "Reclaimable",
|
"reclaimable": "Reclaimable",
|
||||||
"movieReclaimable": "Movie Reclaimable",
|
"movieReclaimable": "Movie Reclaimable",
|
||||||
"showReclaimable": "Show Reclaimable",
|
"showReclaimable": "Show Reclaimable",
|
||||||
"totalCapacity": "Total Capacity"
|
"totalCapacity": "Συνολική χωρητικότητα"
|
||||||
},
|
},
|
||||||
"netdata": {
|
"netdata": {
|
||||||
"warnings": "Warnings",
|
"warnings": "Προειδοποιήσεις",
|
||||||
"criticals": "Criticals"
|
"criticals": "Κρίσιμα"
|
||||||
},
|
},
|
||||||
"ntfy": {
|
"ntfy": {
|
||||||
"title": "Title",
|
"title": "Τίτλος",
|
||||||
"priority": "Priority",
|
"priority": "Προτεραιότητα",
|
||||||
"lastReceived": "Last Received",
|
"lastReceived": "Τελευταία Ληφθέντα",
|
||||||
"message": "Message",
|
"message": "Μήνυμα",
|
||||||
"tags": "Tags",
|
"tags": "Ετικέτες",
|
||||||
"none": "None",
|
"none": "Κανένα",
|
||||||
"min": "Min",
|
"min": "Ελάχιστο",
|
||||||
"low": "Low",
|
"low": "Χαμηλό",
|
||||||
"default": "Default",
|
"default": "Προεπιλογή",
|
||||||
"high": "High",
|
"high": "Υψηλό",
|
||||||
"urgent": "Urgent"
|
"urgent": "Επείγον"
|
||||||
},
|
},
|
||||||
"plantit": {
|
"plantit": {
|
||||||
"events": "Events",
|
"events": "Συμβάντα",
|
||||||
"plants": "Plants",
|
"plants": "Φυτά",
|
||||||
"photos": "Photos",
|
"photos": "Φωτογραφίες",
|
||||||
"species": "Species"
|
"species": "Είδη"
|
||||||
},
|
},
|
||||||
"gitea": {
|
"gitea": {
|
||||||
"notifications": "Notifications",
|
"notifications": "Ειδοποιήσεις",
|
||||||
"issues": "Issues",
|
"issues": "Προβλήματα",
|
||||||
"pulls": "Pull Requests",
|
"pulls": "Pull Requests",
|
||||||
"repositories": "Repositories"
|
"repositories": "Αποθετήρια"
|
||||||
},
|
},
|
||||||
"stash": {
|
"stash": {
|
||||||
"scenes": "Scenes",
|
"scenes": "Σκηνές",
|
||||||
"scenesPlayed": "Scenes Played",
|
"scenesPlayed": "Σκηνές Που Παίχτηκαν",
|
||||||
"playCount": "Total Plays",
|
"playCount": "Συνολικές Αναπαραγωγές",
|
||||||
"playDuration": "Time Watched",
|
"playDuration": "Ώρα Παρακολούθησης",
|
||||||
"sceneSize": "Scenes Size",
|
"sceneSize": "Μέγεθος Σκηνών",
|
||||||
"sceneDuration": "Scenes Duration",
|
"sceneDuration": "Διάρκεια Σκηνών",
|
||||||
"images": "Images",
|
"images": "Εικόνες",
|
||||||
"imageSize": "Images Size",
|
"imageSize": "Μέγεθος Εικόνων",
|
||||||
"galleries": "Galleries",
|
"galleries": "Συλλογές",
|
||||||
"performers": "Performers",
|
"performers": "Καλλιτέχνες",
|
||||||
"studios": "Studios",
|
"studios": "Στούντιο",
|
||||||
"movies": "Movies",
|
"movies": "Ταινίες",
|
||||||
"tags": "Tags",
|
"tags": "Ετικέτες",
|
||||||
"oCount": "O Count"
|
"oCount": "Μετρητής O"
|
||||||
},
|
},
|
||||||
"tandoor": {
|
"tandoor": {
|
||||||
"users": "Users",
|
"users": "Χρήστες",
|
||||||
"recipes": "Recipes",
|
"recipes": "Συνταγές",
|
||||||
"keywords": "Keywords"
|
"keywords": "Λέξεις-κλειδιά"
|
||||||
},
|
},
|
||||||
"homebox": {
|
"homebox": {
|
||||||
"items": "Items",
|
"items": "Στοιχεία",
|
||||||
"totalWithWarranty": "With Warranty",
|
"totalWithWarranty": "Με Εγγύηση",
|
||||||
"locations": "Locations",
|
"locations": "Locations",
|
||||||
"labels": "Labels",
|
"labels": "Labels",
|
||||||
"users": "Users",
|
"users": "Users",
|
||||||
@@ -1079,72 +1084,72 @@
|
|||||||
"vikunja": {
|
"vikunja": {
|
||||||
"projects": "Active Projects",
|
"projects": "Active Projects",
|
||||||
"tasks7d": "Tasks Due This Week",
|
"tasks7d": "Tasks Due This Week",
|
||||||
"tasksOverdue": "Overdue Tasks",
|
"tasksOverdue": "Εκπρόθεσμες Εργασίες",
|
||||||
"tasksInProgress": "Tasks In Progress"
|
"tasksInProgress": "Εργασίες Σε Εξέλιξη"
|
||||||
},
|
},
|
||||||
"headscale": {
|
"headscale": {
|
||||||
"name": "Name",
|
"name": "Όνομα",
|
||||||
"address": "Address",
|
"address": "Διεύθυνση",
|
||||||
"last_seen": "Last Seen",
|
"last_seen": "Τελευταία Σύνδεση",
|
||||||
"status": "Status",
|
"status": "Κατάσταση",
|
||||||
"online": "Online",
|
"online": "Σε Σύνδεση",
|
||||||
"offline": "Offline"
|
"offline": "Χωρίς Σύνδεση"
|
||||||
},
|
},
|
||||||
"beszel": {
|
"beszel": {
|
||||||
"name": "Name",
|
"name": "Όνομα",
|
||||||
"systems": "Systems",
|
"systems": "Συστήματα",
|
||||||
"up": "Up",
|
"up": "Πάνω",
|
||||||
"down": "Down",
|
"down": "Κάτω",
|
||||||
"paused": "Paused",
|
"paused": "Σε παύση",
|
||||||
"pending": "Pending",
|
"pending": "Σε εκκρεμότητα",
|
||||||
"status": "Status",
|
"status": "Κατάσταση",
|
||||||
"updated": "Updated",
|
"updated": "Ενημερώθηκε",
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
"memory": "MEM",
|
"memory": "MEM",
|
||||||
"disk": "Disk",
|
"disk": "Δίσκος",
|
||||||
"network": "NET"
|
"network": "Δίκτυο"
|
||||||
},
|
},
|
||||||
"argocd": {
|
"argocd": {
|
||||||
"apps": "Apps",
|
"apps": "Εφαρμογές",
|
||||||
"synced": "Synced",
|
"synced": "Συγχρονισμένα",
|
||||||
"outOfSync": "Out Of Sync",
|
"outOfSync": "Εκτός Συγχρονισμού",
|
||||||
"healthy": "Healthy",
|
"healthy": "Υγιή",
|
||||||
"degraded": "Degraded",
|
"degraded": "Degraded",
|
||||||
"progressing": "Progressing",
|
"progressing": "Σε εξέλιξη",
|
||||||
"missing": "Missing",
|
"missing": "Λείπουν",
|
||||||
"suspended": "Suspended"
|
"suspended": "Σε αναστολή"
|
||||||
},
|
},
|
||||||
"spoolman": {
|
"spoolman": {
|
||||||
"loading": "Loading"
|
"loading": "Γίνεται φόρτωση"
|
||||||
},
|
},
|
||||||
"gitlab": {
|
"gitlab": {
|
||||||
"groups": "Groups",
|
"groups": "Ομάδες",
|
||||||
"issues": "Issues",
|
"issues": "Προβλήματα",
|
||||||
"merges": "Merge Requests",
|
"merges": "Αιτήματα Συγχώνευσης",
|
||||||
"projects": "Projects"
|
"projects": "Projects"
|
||||||
},
|
},
|
||||||
"apcups": {
|
"apcups": {
|
||||||
"status": "Status",
|
"status": "Κατάσταση",
|
||||||
"load": "Load",
|
"load": "Φόρτωση",
|
||||||
"bcharge": "Battery Charge",
|
"bcharge": "Φόρτιση Μπαταρίας",
|
||||||
"timeleft": "Time Left"
|
"timeleft": "Χρόνος που απομένει"
|
||||||
},
|
},
|
||||||
"karakeep": {
|
"karakeep": {
|
||||||
"bookmarks": "Bookmarks",
|
"bookmarks": "Σελιδοδείκτες",
|
||||||
"favorites": "Favorites",
|
"favorites": "Αγαπημένα",
|
||||||
"archived": "Archived",
|
"archived": "Αρχειοθετημένα",
|
||||||
"highlights": "Highlights",
|
"highlights": "Επισημάνσεις",
|
||||||
"lists": "Lists",
|
"lists": "Λίστες",
|
||||||
"tags": "Tags"
|
"tags": "Ετικέτες"
|
||||||
},
|
},
|
||||||
"slskd": {
|
"slskd": {
|
||||||
"slskStatus": "Network",
|
"slskStatus": "Δίκτυο",
|
||||||
"connected": "Connected",
|
"connected": "Σε σύνδεση",
|
||||||
"disconnected": "Disconnected",
|
"disconnected": "Αποσυνδέθηκε",
|
||||||
"updateStatus": "Update",
|
"updateStatus": "Ενημέρωση",
|
||||||
"update_yes": "Available",
|
"update_yes": "Διαθέσιμα",
|
||||||
"update_no": "Up to Date",
|
"update_no": "Ενημερωμένο",
|
||||||
"downloads": "Downloads",
|
"downloads": "Λήψεις",
|
||||||
"uploads": "Uploads",
|
"uploads": "Uploads",
|
||||||
"sharedFiles": "Files"
|
"sharedFiles": "Files"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Unhealthy",
|
"unhealthy": "Unhealthy",
|
||||||
"not_found": "Not Found",
|
"not_found": "Not Found",
|
||||||
"exited": "Exited",
|
"exited": "Exited",
|
||||||
"partial": "Partial"
|
"partial": "Partial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
@@ -1253,5 +1258,8 @@
|
|||||||
"wanted": "Wanted",
|
"wanted": "Wanted",
|
||||||
"queued": "Queued",
|
"queued": "Queued",
|
||||||
"leagues": "Leagues"
|
"leagues": "Leagues"
|
||||||
|
},
|
||||||
|
"feed": {
|
||||||
|
"noItems": "No items"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Malsana",
|
"unhealthy": "Malsana",
|
||||||
"not_found": "Ne trovita",
|
"not_found": "Ne trovita",
|
||||||
"exited": "Eliris",
|
"exited": "Eliris",
|
||||||
"partial": "Parta"
|
"partial": "Parta",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "No saludable",
|
"unhealthy": "No saludable",
|
||||||
"not_found": "No encontrado",
|
"not_found": "No encontrado",
|
||||||
"exited": "Terminado",
|
"exited": "Terminado",
|
||||||
"partial": "Parcial"
|
"partial": "Parcial",
|
||||||
|
"created": "Creado",
|
||||||
|
"paused": "Pausado",
|
||||||
|
"restarting": "Reiniciando",
|
||||||
|
"removing": "Eliminando",
|
||||||
|
"dead": "Muerto"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Unhealthy",
|
"unhealthy": "Unhealthy",
|
||||||
"not_found": "Not Found",
|
"not_found": "Not Found",
|
||||||
"exited": "Exited",
|
"exited": "Exited",
|
||||||
"partial": "Partial"
|
"partial": "Partial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Unhealthy",
|
"unhealthy": "Unhealthy",
|
||||||
"not_found": "Not Found",
|
"not_found": "Not Found",
|
||||||
"exited": "Exited",
|
"exited": "Exited",
|
||||||
"partial": "Partial"
|
"partial": "Partial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Mauvaise santé",
|
"unhealthy": "Mauvaise santé",
|
||||||
"not_found": "Inconnu",
|
"not_found": "Inconnu",
|
||||||
"exited": "Arrêté",
|
"exited": "Arrêté",
|
||||||
"partial": "Partiel"
|
"partial": "Partiel",
|
||||||
|
"created": "Créé",
|
||||||
|
"paused": "En pause",
|
||||||
|
"restarting": "Redémarrage",
|
||||||
|
"removing": "Suppression",
|
||||||
|
"dead": "Mort"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Erreur",
|
"error": "Erreur",
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"seconds": "שניות"
|
"seconds": "שניות"
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"signout": "Sign out"
|
"signout": "התנתק"
|
||||||
},
|
},
|
||||||
"widget": {
|
"widget": {
|
||||||
"missing_type": "סוג ווידג'ט חסר: {{type}}",
|
"missing_type": "סוג ווידג'ט חסר: {{type}}",
|
||||||
@@ -40,8 +40,8 @@
|
|||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "חיפוש…",
|
"placeholder": "חיפוש…",
|
||||||
"provider": "Search engine: {{name}}",
|
"provider": "מנוע חיפוש: {{name}}",
|
||||||
"select_provider": "Select search engine"
|
"select_provider": "בחר מנוע חיפוש"
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"cpu": "מעבד",
|
"cpu": "מעבד",
|
||||||
@@ -72,18 +72,18 @@
|
|||||||
"empty_data": "מצב תת-מערכת לא ידוע"
|
"empty_data": "מצב תת-מערכת לא ידוע"
|
||||||
},
|
},
|
||||||
"unifi_drive": {
|
"unifi_drive": {
|
||||||
"healthy": "Healthy",
|
"healthy": "בריא",
|
||||||
"degraded": "Degraded",
|
"degraded": "ירוד",
|
||||||
"no_data": "No storage data available"
|
"no_data": "אין אחסון זמין"
|
||||||
},
|
},
|
||||||
"duplicati": {
|
"duplicati": {
|
||||||
"jobs": "Jobs",
|
"jobs": "משימות",
|
||||||
"stored": "Stored",
|
"stored": "שמור",
|
||||||
"lastBackup": "Last Run",
|
"lastBackup": "Last Run",
|
||||||
"nextRun": "Next Run",
|
"nextRun": "Next Run",
|
||||||
"running": "Running",
|
"running": "Running",
|
||||||
"warnings": "Warnings",
|
"warnings": "הזהרות",
|
||||||
"errors": "Errors"
|
"errors": "שגיאות"
|
||||||
},
|
},
|
||||||
"docker": {
|
"docker": {
|
||||||
"rx": "RX",
|
"rx": "RX",
|
||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "לא בריא",
|
"unhealthy": "לא בריא",
|
||||||
"not_found": "לא נמצא",
|
"not_found": "לא נמצא",
|
||||||
"exited": "יצא",
|
"exited": "יצא",
|
||||||
"partial": "חלקי"
|
"partial": "חלקי",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "שגיאה",
|
"error": "שגיאה",
|
||||||
@@ -127,15 +132,15 @@
|
|||||||
"songs": "שירים"
|
"songs": "שירים"
|
||||||
},
|
},
|
||||||
"jellyfin": {
|
"jellyfin": {
|
||||||
"playing": "Playing",
|
"playing": "מנגן",
|
||||||
"transcoding": "Transcoding",
|
"transcoding": "Transcoding",
|
||||||
"bitrate": "Bitrate",
|
"bitrate": "Bitrate",
|
||||||
"no_active": "No Active Streams",
|
"no_active": "אין מדיה פעילה",
|
||||||
"movies": "Movies",
|
"movies": "סרטים",
|
||||||
"series": "Series",
|
"series": "סדרות",
|
||||||
"episodes": "Episodes",
|
"episodes": "פרקים",
|
||||||
"songs": "Songs",
|
"songs": "שירים",
|
||||||
"albums": "Albums"
|
"albums": "אלבומים"
|
||||||
},
|
},
|
||||||
"esphome": {
|
"esphome": {
|
||||||
"offline": "מכובה",
|
"offline": "מכובה",
|
||||||
@@ -310,11 +315,11 @@
|
|||||||
"available": "זמין"
|
"available": "זמין"
|
||||||
},
|
},
|
||||||
"seerr": {
|
"seerr": {
|
||||||
"pending": "Pending",
|
"pending": "ממתין",
|
||||||
"approved": "Approved",
|
"approved": "מאושר",
|
||||||
"available": "Available",
|
"available": "זמין",
|
||||||
"completed": "Completed",
|
"completed": "הסתיים",
|
||||||
"processing": "Processing",
|
"processing": "מעבד",
|
||||||
"issues": "Open Issues"
|
"issues": "Open Issues"
|
||||||
},
|
},
|
||||||
"netalertx": {
|
"netalertx": {
|
||||||
@@ -359,16 +364,16 @@
|
|||||||
"address": "כתובת",
|
"address": "כתובת",
|
||||||
"expires": "תאריך תפוגה",
|
"expires": "תאריך תפוגה",
|
||||||
"never": "אף פעם",
|
"never": "אף פעם",
|
||||||
"user": "User",
|
"user": "משתמש",
|
||||||
"hostname": "Hostname",
|
"hostname": "Hostname",
|
||||||
"name": "Name",
|
"name": "שם",
|
||||||
"client_version": "Client Version",
|
"client_version": "Client Version",
|
||||||
"os": "OS",
|
"os": "מערכת הפעלה",
|
||||||
"created": "Created",
|
"created": "יוצר",
|
||||||
"authorized": "Authorized",
|
"authorized": "מורשה",
|
||||||
"is_external": "Is External",
|
"is_external": "האם חיצוני",
|
||||||
"update_available": "Update Available",
|
"update_available": "עדכון זמין",
|
||||||
"tags": "Tags",
|
"tags": "תגיות",
|
||||||
"last_seen": "נראה לאחרונה",
|
"last_seen": "נראה לאחרונה",
|
||||||
"now": "כעת",
|
"now": "כעת",
|
||||||
"years": "{{number}}y",
|
"years": "{{number}}y",
|
||||||
@@ -378,8 +383,8 @@
|
|||||||
"minutes": "{{number}}m",
|
"minutes": "{{number}}m",
|
||||||
"seconds": "{{number}}s",
|
"seconds": "{{number}}s",
|
||||||
"ago": "{{value}} Ago",
|
"ago": "{{value}} Ago",
|
||||||
"true": "Yes",
|
"true": "כן",
|
||||||
"false": "No"
|
"false": "לא"
|
||||||
},
|
},
|
||||||
"technitium": {
|
"technitium": {
|
||||||
"totalQueries": "שאילתות",
|
"totalQueries": "שאילתות",
|
||||||
@@ -484,7 +489,7 @@
|
|||||||
},
|
},
|
||||||
"pulse": {
|
"pulse": {
|
||||||
"nodes": "Nodes",
|
"nodes": "Nodes",
|
||||||
"vms": "VMs",
|
"vms": "מכונות וירטואליות",
|
||||||
"lxcs": "LXCs"
|
"lxcs": "LXCs"
|
||||||
},
|
},
|
||||||
"glances": {
|
"glances": {
|
||||||
@@ -584,7 +589,7 @@
|
|||||||
"up": "למעלה",
|
"up": "למעלה",
|
||||||
"pending": "ממתין",
|
"pending": "ממתין",
|
||||||
"down": "למטה",
|
"down": "למטה",
|
||||||
"ok": "Ok"
|
"ok": "אוקיי"
|
||||||
},
|
},
|
||||||
"healthchecks": {
|
"healthchecks": {
|
||||||
"new": "חדש",
|
"new": "חדש",
|
||||||
@@ -653,9 +658,9 @@
|
|||||||
},
|
},
|
||||||
"pangolin": {
|
"pangolin": {
|
||||||
"orgs": "Orgs",
|
"orgs": "Orgs",
|
||||||
"sites": "Sites",
|
"sites": "אתרים",
|
||||||
"resources": "Resources",
|
"resources": "משאבים",
|
||||||
"targets": "Targets",
|
"targets": "מטרות",
|
||||||
"traffic": "Traffic",
|
"traffic": "Traffic",
|
||||||
"in": "In",
|
"in": "In",
|
||||||
"out": "Out"
|
"out": "Out"
|
||||||
@@ -757,7 +762,7 @@
|
|||||||
"volumeAvailable": "זמין"
|
"volumeAvailable": "זמין"
|
||||||
},
|
},
|
||||||
"dispatcharr": {
|
"dispatcharr": {
|
||||||
"channels": "Channels",
|
"channels": "ערוצים",
|
||||||
"streams": "Streams"
|
"streams": "Streams"
|
||||||
},
|
},
|
||||||
"mylar": {
|
"mylar": {
|
||||||
@@ -1182,9 +1187,9 @@
|
|||||||
"nextRenewingSubscription": "תשלום הבא"
|
"nextRenewingSubscription": "תשלום הבא"
|
||||||
},
|
},
|
||||||
"unraid": {
|
"unraid": {
|
||||||
"STARTED": "Started",
|
"STARTED": "התחיל",
|
||||||
"STOPPED": "Stopped",
|
"STOPPED": "נעצר",
|
||||||
"NEW_ARRAY": "New Array",
|
"NEW_ARRAY": "מערך חדש",
|
||||||
"RECON_DISK": "Reconstructing Disk",
|
"RECON_DISK": "Reconstructing Disk",
|
||||||
"DISABLE_DISK": "Disk Disabled",
|
"DISABLE_DISK": "Disk Disabled",
|
||||||
"SWAP_DSBL": "Swap Disable",
|
"SWAP_DSBL": "Swap Disable",
|
||||||
@@ -1196,31 +1201,31 @@
|
|||||||
"notifications": "Notifications",
|
"notifications": "Notifications",
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
"memoryUsed": "Memory Used",
|
"memoryUsed": "זיכרון בשימוש",
|
||||||
"memoryAvailable": "Memory Available",
|
"memoryAvailable": "זיכרון זמין",
|
||||||
"arrayUsed": "Array Used",
|
"arrayUsed": "Array Used",
|
||||||
"arrayFree": "Array Free",
|
"arrayFree": "Array Free",
|
||||||
"poolUsed": "{{pool}} Used",
|
"poolUsed": "{{pool}} Used",
|
||||||
"poolFree": "{{pool}} Free"
|
"poolFree": "{{pool}} Free"
|
||||||
},
|
},
|
||||||
"backrest": {
|
"backrest": {
|
||||||
"num_plans": "Plans",
|
"num_plans": "תוכניות",
|
||||||
"num_success_30": "Successes",
|
"num_success_30": "הצלחות",
|
||||||
"num_failure_30": "Failures",
|
"num_failure_30": "כשלונות",
|
||||||
"num_success_latest": "Succeeding",
|
"num_success_latest": "Succeeding",
|
||||||
"num_failure_latest": "Failing",
|
"num_failure_latest": "Failing",
|
||||||
"bytes_added_30": "Bytes Added"
|
"bytes_added_30": "Bytes Added"
|
||||||
},
|
},
|
||||||
"yourspotify": {
|
"yourspotify": {
|
||||||
"songs": "Songs",
|
"songs": "שירים",
|
||||||
"time": "Time",
|
"time": "זמן",
|
||||||
"artists": "Artists"
|
"artists": "אומנים"
|
||||||
},
|
},
|
||||||
"arcane": {
|
"arcane": {
|
||||||
"containers": "Containers",
|
"containers": "Containers",
|
||||||
"images": "Images",
|
"images": "Images",
|
||||||
"image_updates": "Image Updates",
|
"image_updates": "Image Updates",
|
||||||
"images_unused": "Unused",
|
"images_unused": "לא בשימוש",
|
||||||
"environment_required": "Environment ID Required"
|
"environment_required": "Environment ID Required"
|
||||||
},
|
},
|
||||||
"dockhand": {
|
"dockhand": {
|
||||||
@@ -1230,7 +1235,7 @@
|
|||||||
"memory": "Memory",
|
"memory": "Memory",
|
||||||
"images": "Images",
|
"images": "Images",
|
||||||
"volumes": "Volumes",
|
"volumes": "Volumes",
|
||||||
"events_today": "Events Today",
|
"events_today": "אירועים היום",
|
||||||
"pending_updates": "Pending Updates",
|
"pending_updates": "Pending Updates",
|
||||||
"stacks": "Stacks",
|
"stacks": "Stacks",
|
||||||
"paused": "Paused",
|
"paused": "Paused",
|
||||||
@@ -1238,16 +1243,16 @@
|
|||||||
"environment_not_found": "Environment Not Found"
|
"environment_not_found": "Environment Not Found"
|
||||||
},
|
},
|
||||||
"sparkyfitness": {
|
"sparkyfitness": {
|
||||||
"eaten": "Eaten",
|
"eaten": "נאכלו",
|
||||||
"burned": "Burned",
|
"burned": "נשרפו",
|
||||||
"remaining": "Remaining",
|
"remaining": "נותרו",
|
||||||
"steps": "Steps"
|
"steps": "צעדים"
|
||||||
},
|
},
|
||||||
"syncthing": {
|
"syncthing": {
|
||||||
"connected": "Connected",
|
"connected": "Connected",
|
||||||
"synced": "Synced",
|
"synced": "מסונכרן",
|
||||||
"errors": "Errors",
|
"errors": "שגיאות",
|
||||||
"storage": "Storage"
|
"storage": "אחסון"
|
||||||
},
|
},
|
||||||
"sportarr": {
|
"sportarr": {
|
||||||
"wanted": "Wanted",
|
"wanted": "Wanted",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Unhealthy",
|
"unhealthy": "Unhealthy",
|
||||||
"not_found": "Not Found",
|
"not_found": "Not Found",
|
||||||
"exited": "Exited",
|
"exited": "Exited",
|
||||||
"partial": "Partial"
|
"partial": "Partial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Nefunkcionalno",
|
"unhealthy": "Nefunkcionalno",
|
||||||
"not_found": "Nepronađeno",
|
"not_found": "Nepronađeno",
|
||||||
"exited": "Zatoreno",
|
"exited": "Zatoreno",
|
||||||
"partial": "Djelomično"
|
"partial": "Djelomično",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Greška",
|
"error": "Greška",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Egészségtelen",
|
"unhealthy": "Egészségtelen",
|
||||||
"not_found": "Nem található",
|
"not_found": "Nem található",
|
||||||
"exited": "Kilépett",
|
"exited": "Kilépett",
|
||||||
"partial": "Részleges"
|
"partial": "Részleges",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Hiba",
|
"error": "Hiba",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Tidak Lancar",
|
"unhealthy": "Tidak Lancar",
|
||||||
"not_found": "Tidak Ditemukan",
|
"not_found": "Tidak Ditemukan",
|
||||||
"exited": "Terkeluar",
|
"exited": "Terkeluar",
|
||||||
"partial": "Sebagian"
|
"partial": "Sebagian",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Non sano",
|
"unhealthy": "Non sano",
|
||||||
"not_found": "Non trovato",
|
"not_found": "Non trovato",
|
||||||
"exited": "Uscito",
|
"exited": "Uscito",
|
||||||
"partial": "Parziale"
|
"partial": "Parziale",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Errore",
|
"error": "Errore",
|
||||||
|
|||||||
@@ -39,9 +39,9 @@
|
|||||||
"wait": "お待ちください"
|
"wait": "お待ちください"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "検索…",
|
"placeholder": "検索 ...",
|
||||||
"provider": "Search engine: {{name}}",
|
"provider": "Search engine: {{name}}",
|
||||||
"select_provider": "Select search engine"
|
"select_provider": "検索エンジンを選択"
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "非健全",
|
"unhealthy": "非健全",
|
||||||
"not_found": "不明",
|
"not_found": "不明",
|
||||||
"exited": "停止しました",
|
"exited": "停止しました",
|
||||||
"partial": "部分的"
|
"partial": "部分的",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "エラー",
|
"error": "エラー",
|
||||||
@@ -127,18 +132,18 @@
|
|||||||
"songs": "曲"
|
"songs": "曲"
|
||||||
},
|
},
|
||||||
"jellyfin": {
|
"jellyfin": {
|
||||||
"playing": "Playing",
|
"playing": "再生中",
|
||||||
"transcoding": "Transcoding",
|
"transcoding": "変換中",
|
||||||
"bitrate": "Bitrate",
|
"bitrate": "ビットレート",
|
||||||
"no_active": "No Active Streams",
|
"no_active": "アクティブ・ストリーム無し",
|
||||||
"movies": "Movies",
|
"movies": "映画",
|
||||||
"series": "Series",
|
"series": "シリーズ",
|
||||||
"episodes": "Episodes",
|
"episodes": "エピソード",
|
||||||
"songs": "Songs",
|
"songs": "曲",
|
||||||
"albums": "Albums"
|
"albums": "アルバム"
|
||||||
},
|
},
|
||||||
"esphome": {
|
"esphome": {
|
||||||
"offline": "",
|
"offline": "オフライン ",
|
||||||
"offline_alt": "オフライン",
|
"offline_alt": "オフライン",
|
||||||
"online": "オンライン",
|
"online": "オンライン",
|
||||||
"total": "Total",
|
"total": "Total",
|
||||||
@@ -236,18 +241,18 @@
|
|||||||
},
|
},
|
||||||
"rutorrent": {
|
"rutorrent": {
|
||||||
"active": "アクティブ",
|
"active": "アクティブ",
|
||||||
"upload": "Upload",
|
"upload": "アップロード",
|
||||||
"download": "Download"
|
"download": "ダウンロード"
|
||||||
},
|
},
|
||||||
"transmission": {
|
"transmission": {
|
||||||
"download": "Download",
|
"download": "ダウンロード",
|
||||||
"upload": "Upload",
|
"upload": "アップロード",
|
||||||
"leech": "Leech",
|
"leech": "Leech",
|
||||||
"seed": "Seed"
|
"seed": "Seed"
|
||||||
},
|
},
|
||||||
"qbittorrent": {
|
"qbittorrent": {
|
||||||
"download": "Download",
|
"download": "ダウンロード",
|
||||||
"upload": "Upload",
|
"upload": "アップロード",
|
||||||
"leech": "Leech",
|
"leech": "Leech",
|
||||||
"seed": "Seed"
|
"seed": "Seed"
|
||||||
},
|
},
|
||||||
@@ -280,7 +285,7 @@
|
|||||||
"queued": "待機中",
|
"queued": "待機中",
|
||||||
"series": "Series",
|
"series": "Series",
|
||||||
"queue": "Queue",
|
"queue": "Queue",
|
||||||
"unknown": "Unknown"
|
"unknown": "不明"
|
||||||
},
|
},
|
||||||
"radarr": {
|
"radarr": {
|
||||||
"wanted": "Wanted",
|
"wanted": "Wanted",
|
||||||
@@ -360,15 +365,15 @@
|
|||||||
"expires": "失効",
|
"expires": "失効",
|
||||||
"never": "なし",
|
"never": "なし",
|
||||||
"user": "User",
|
"user": "User",
|
||||||
"hostname": "Hostname",
|
"hostname": "ホスト名",
|
||||||
"name": "Name",
|
"name": "名前",
|
||||||
"client_version": "Client Version",
|
"client_version": "クライアントバージョン",
|
||||||
"os": "OS",
|
"os": "OS",
|
||||||
"created": "Created",
|
"created": "作成済み",
|
||||||
"authorized": "Authorized",
|
"authorized": "承認済み",
|
||||||
"is_external": "Is External",
|
"is_external": "Is External",
|
||||||
"update_available": "Update Available",
|
"update_available": "アップデートが利用できます",
|
||||||
"tags": "Tags",
|
"tags": "タグ",
|
||||||
"last_seen": "最終日時",
|
"last_seen": "最終日時",
|
||||||
"now": "現在",
|
"now": "現在",
|
||||||
"years": "{{number}}年",
|
"years": "{{number}}年",
|
||||||
@@ -378,11 +383,11 @@
|
|||||||
"minutes": "{{number}}分",
|
"minutes": "{{number}}分",
|
||||||
"seconds": "{{number}}秒",
|
"seconds": "{{number}}秒",
|
||||||
"ago": "{{value}} 前",
|
"ago": "{{value}} 前",
|
||||||
"true": "Yes",
|
"true": "はい",
|
||||||
"false": "No"
|
"false": "いいえ"
|
||||||
},
|
},
|
||||||
"technitium": {
|
"technitium": {
|
||||||
"totalQueries": "Queries",
|
"totalQueries": "クエリ",
|
||||||
"totalNoError": "成功",
|
"totalNoError": "成功",
|
||||||
"totalServerFailure": "失敗",
|
"totalServerFailure": "失敗",
|
||||||
"totalNxDomain": "NXドメイン",
|
"totalNxDomain": "NXドメイン",
|
||||||
@@ -390,7 +395,7 @@
|
|||||||
"totalAuthoritative": "正式",
|
"totalAuthoritative": "正式",
|
||||||
"totalRecursive": "再帰的",
|
"totalRecursive": "再帰的",
|
||||||
"totalCached": "キャッシュ済み",
|
"totalCached": "キャッシュ済み",
|
||||||
"totalBlocked": "Blocked",
|
"totalBlocked": "ブロック中",
|
||||||
"totalDropped": "ドロップ済み",
|
"totalDropped": "ドロップ済み",
|
||||||
"totalClients": "クライアント"
|
"totalClients": "クライアント"
|
||||||
},
|
},
|
||||||
@@ -406,13 +411,13 @@
|
|||||||
"middleware": "ミドルウェア"
|
"middleware": "ミドルウェア"
|
||||||
},
|
},
|
||||||
"trilium": {
|
"trilium": {
|
||||||
"version": "Version",
|
"version": "バージョン",
|
||||||
"notesCount": "Notes",
|
"notesCount": "メモ",
|
||||||
"dbSize": "Database Size",
|
"dbSize": "データベースサイズ",
|
||||||
"unknown": "Unknown"
|
"unknown": "不明"
|
||||||
},
|
},
|
||||||
"navidrome": {
|
"navidrome": {
|
||||||
"nothing_streaming": "No Active Streams",
|
"nothing_streaming": "アクティブストリーム無し",
|
||||||
"please_wait": "お待ちください"
|
"please_wait": "お待ちください"
|
||||||
},
|
},
|
||||||
"npm": {
|
"npm": {
|
||||||
@@ -477,7 +482,7 @@
|
|||||||
"authorizationsLast24H": "Auths (24h)"
|
"authorizationsLast24H": "Auths (24h)"
|
||||||
},
|
},
|
||||||
"proxmox": {
|
"proxmox": {
|
||||||
"mem": "MEM",
|
"mem": "メモリ",
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
"lxc": "LXC",
|
"lxc": "LXC",
|
||||||
"vms": "VM"
|
"vms": "VM"
|
||||||
@@ -489,17 +494,17 @@
|
|||||||
},
|
},
|
||||||
"glances": {
|
"glances": {
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
"load": "Load",
|
"load": "負荷",
|
||||||
"wait": "Please wait",
|
"wait": "お待ちください",
|
||||||
"temp": "TEMP",
|
"temp": "温度",
|
||||||
"_temp": "温度",
|
"_temp": "温度",
|
||||||
"warn": "警告",
|
"warn": "警告",
|
||||||
"uptime": "UP",
|
"uptime": "稼働時間",
|
||||||
"total": "Total",
|
"total": "合計",
|
||||||
"free": "Free",
|
"free": "空き容量",
|
||||||
"used": "Used",
|
"used": "使用済み",
|
||||||
"days": "d",
|
"days": "日",
|
||||||
"hours": "h",
|
"hours": "時",
|
||||||
"crit": "クリティカル",
|
"crit": "クリティカル",
|
||||||
"read": "Read",
|
"read": "Read",
|
||||||
"write": "書き込み",
|
"write": "書き込み",
|
||||||
@@ -540,39 +545,39 @@
|
|||||||
"57-day": "着氷性の小雨",
|
"57-day": "着氷性の小雨",
|
||||||
"57-night": "Freezing Drizzle",
|
"57-night": "Freezing Drizzle",
|
||||||
"61-day": "小雨",
|
"61-day": "小雨",
|
||||||
"61-night": "Light Rain",
|
"61-night": "小雨",
|
||||||
"63-day": "雨",
|
"63-day": "雨",
|
||||||
"63-night": "Rain",
|
"63-night": "雨",
|
||||||
"65-day": "大雨",
|
"65-day": "大雨",
|
||||||
"65-night": "Heavy Rain",
|
"65-night": "大雨",
|
||||||
"66-day": "着氷性の雨",
|
"66-day": "着氷性の雨",
|
||||||
"66-night": "Freezing Rain",
|
"66-night": "着氷性の雨",
|
||||||
"67-day": "Freezing Rain",
|
"67-day": "着氷性の雨",
|
||||||
"67-night": "Freezing Rain",
|
"67-night": "着氷性の雨",
|
||||||
"71-day": "小雪",
|
"71-day": "小雪",
|
||||||
"71-night": "Light Snow",
|
"71-night": "小雪",
|
||||||
"73-day": "雪",
|
"73-day": "雪",
|
||||||
"73-night": "Snow",
|
"73-night": "雪",
|
||||||
"75-day": "大雪",
|
"75-day": "大雪",
|
||||||
"75-night": "Heavy Snow",
|
"75-night": "Heavy Snow",
|
||||||
"77-day": "霧雪",
|
"77-day": "霧雪",
|
||||||
"77-night": "Snow Grains",
|
"77-night": "Snow Grains",
|
||||||
"80-day": "弱いにわか雨",
|
"80-day": "弱いにわか雨",
|
||||||
"80-night": "Light Showers",
|
"80-night": "弱いにわか雨",
|
||||||
"81-day": "にわか雨",
|
"81-day": "にわか雨",
|
||||||
"81-night": "Showers",
|
"81-night": "にわか雨",
|
||||||
"82-day": "強いにわか雨",
|
"82-day": "強いにわか雨",
|
||||||
"82-night": "Heavy Showers",
|
"82-night": "強いにわか雨",
|
||||||
"85-day": "にわか雪",
|
"85-day": "にわか雪",
|
||||||
"85-night": "Snow Showers",
|
"85-night": "にわか雪",
|
||||||
"86-day": "Snow Showers",
|
"86-day": "にわか雪",
|
||||||
"86-night": "Snow Showers",
|
"86-night": "にわか雪",
|
||||||
"95-day": "雷雨",
|
"95-day": "雷雨",
|
||||||
"95-night": "Thunderstorm",
|
"95-night": "雷雨",
|
||||||
"96-day": "雷雨・ひょう",
|
"96-day": "雷雨・ひょう",
|
||||||
"96-night": "Thunderstorm With Hail",
|
"96-night": "雹を伴う雷雨",
|
||||||
"99-day": "Thunderstorm With Hail",
|
"99-day": "雹を伴う雷雨",
|
||||||
"99-night": "Thunderstorm With Hail"
|
"99-night": "雹を伴う雷雨"
|
||||||
},
|
},
|
||||||
"homebridge": {
|
"homebridge": {
|
||||||
"available_update": "システム",
|
"available_update": "システム",
|
||||||
@@ -640,7 +645,7 @@
|
|||||||
"signalQuality": "クオリティ",
|
"signalQuality": "クオリティ",
|
||||||
"symbolQuality": "Quality",
|
"symbolQuality": "Quality",
|
||||||
"networkRate": "Bitrate",
|
"networkRate": "Bitrate",
|
||||||
"clientIP": "クライアント IP"
|
"clientIP": "クライアントIP"
|
||||||
},
|
},
|
||||||
"scrutiny": {
|
"scrutiny": {
|
||||||
"passed": "合格",
|
"passed": "合格",
|
||||||
@@ -656,7 +661,7 @@
|
|||||||
"sites": "Sites",
|
"sites": "Sites",
|
||||||
"resources": "Resources",
|
"resources": "Resources",
|
||||||
"targets": "Targets",
|
"targets": "Targets",
|
||||||
"traffic": "Traffic",
|
"traffic": "トラフィック",
|
||||||
"in": "In",
|
"in": "In",
|
||||||
"out": "Out"
|
"out": "Out"
|
||||||
},
|
},
|
||||||
@@ -669,7 +674,7 @@
|
|||||||
"low_battery": "バッテリー残量低下"
|
"low_battery": "バッテリー残量低下"
|
||||||
},
|
},
|
||||||
"nextdns": {
|
"nextdns": {
|
||||||
"wait": "Please Wait",
|
"wait": "お待ちください",
|
||||||
"no_devices": "デバイス データを受信していません"
|
"no_devices": "デバイス データを受信していません"
|
||||||
},
|
},
|
||||||
"mikrotik": {
|
"mikrotik": {
|
||||||
@@ -690,7 +695,7 @@
|
|||||||
"limit": "リミット"
|
"limit": "リミット"
|
||||||
},
|
},
|
||||||
"opnsense": {
|
"opnsense": {
|
||||||
"cpu": "CPU Load",
|
"cpu": "CPU負荷",
|
||||||
"memory": "アクティブ・メモリ",
|
"memory": "アクティブ・メモリ",
|
||||||
"wanUpload": "WANアップロード",
|
"wanUpload": "WANアップロード",
|
||||||
"wanDownload": "WANダウンロード"
|
"wanDownload": "WANダウンロード"
|
||||||
@@ -702,14 +707,14 @@
|
|||||||
"layers": "レイヤー"
|
"layers": "レイヤー"
|
||||||
},
|
},
|
||||||
"octoprint": {
|
"octoprint": {
|
||||||
"printer_state": "Status",
|
"printer_state": "ステータス",
|
||||||
"temp_tool": "ツール温度",
|
"temp_tool": "ツール温度",
|
||||||
"temp_bed": "ベッド温度",
|
"temp_bed": "ベッド温度",
|
||||||
"job_completion": "完了"
|
"job_completion": "完了"
|
||||||
},
|
},
|
||||||
"cloudflared": {
|
"cloudflared": {
|
||||||
"origin_ip": "オリジンIP",
|
"origin_ip": "オリジンIP",
|
||||||
"status": "Status"
|
"status": "ステータス"
|
||||||
},
|
},
|
||||||
"pfsense": {
|
"pfsense": {
|
||||||
"load": "読み込み平均",
|
"load": "読み込み平均",
|
||||||
@@ -728,17 +733,17 @@
|
|||||||
"memory_usage": "メモリ"
|
"memory_usage": "メモリ"
|
||||||
},
|
},
|
||||||
"immich": {
|
"immich": {
|
||||||
"users": "Users",
|
"users": "ユーザ",
|
||||||
"photos": "写真",
|
"photos": "写真",
|
||||||
"videos": "Videos",
|
"videos": "ビデオ",
|
||||||
"storage": "ストレージ"
|
"storage": "ストレージ"
|
||||||
},
|
},
|
||||||
"uptimekuma": {
|
"uptimekuma": {
|
||||||
"up": "サイトUp",
|
"up": "サイトUp",
|
||||||
"down": "サイトDown",
|
"down": "サイトDown",
|
||||||
"uptime": "Uptime",
|
"uptime": "稼働時間",
|
||||||
"incident": "事件",
|
"incident": "事件",
|
||||||
"m": "m"
|
"m": "分"
|
||||||
},
|
},
|
||||||
"atsumeru": {
|
"atsumeru": {
|
||||||
"series": "Series",
|
"series": "Series",
|
||||||
@@ -767,8 +772,8 @@
|
|||||||
},
|
},
|
||||||
"photoprism": {
|
"photoprism": {
|
||||||
"albums": "Albums",
|
"albums": "Albums",
|
||||||
"photos": "Photos",
|
"photos": "写真",
|
||||||
"videos": "Videos",
|
"videos": "動画",
|
||||||
"people": "人"
|
"people": "人"
|
||||||
},
|
},
|
||||||
"fileflows": {
|
"fileflows": {
|
||||||
@@ -879,12 +884,12 @@
|
|||||||
},
|
},
|
||||||
"gamedig": {
|
"gamedig": {
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"online": "Online",
|
"online": "オンライン",
|
||||||
"offline": "Offline",
|
"offline": "オフライン ",
|
||||||
"name": "名前",
|
"name": "名前",
|
||||||
"map": "マップ",
|
"map": "マップ",
|
||||||
"currentPlayers": "現在のプレーヤー",
|
"currentPlayers": "現在のプレーヤー",
|
||||||
"players": "Players",
|
"players": "プレイヤー",
|
||||||
"maxPlayers": "最大プレイヤー数",
|
"maxPlayers": "最大プレイヤー数",
|
||||||
"bots": "ボット",
|
"bots": "ボット",
|
||||||
"ping": "Ping"
|
"ping": "Ping"
|
||||||
@@ -897,21 +902,21 @@
|
|||||||
},
|
},
|
||||||
"mealie": {
|
"mealie": {
|
||||||
"recipes": "レシピ",
|
"recipes": "レシピ",
|
||||||
"users": "Users",
|
"users": "ユーザ",
|
||||||
"categories": "Categories",
|
"categories": "カテゴリ",
|
||||||
"tags": "タグ"
|
"tags": "タグ"
|
||||||
},
|
},
|
||||||
"openmediavault": {
|
"openmediavault": {
|
||||||
"downloading": "ダウンロード中",
|
"downloading": "ダウンロード中",
|
||||||
"total": "Total",
|
"total": "合計",
|
||||||
"running": "Running",
|
"running": "実行中",
|
||||||
"stopped": "Stopped",
|
"stopped": "停止中",
|
||||||
"passed": "Passed",
|
"passed": "Passed",
|
||||||
"failed": "Failed"
|
"failed": "Failed"
|
||||||
},
|
},
|
||||||
"openwrt": {
|
"openwrt": {
|
||||||
"uptime": "Uptime",
|
"uptime": "Uptime",
|
||||||
"cpuLoad": "CPU 平均負荷(5 分)",
|
"cpuLoad": "CPU 平均負荷(5分)",
|
||||||
"up": "Up",
|
"up": "Up",
|
||||||
"down": "Down",
|
"down": "Down",
|
||||||
"bytesTx": "送信済み",
|
"bytesTx": "送信済み",
|
||||||
@@ -919,7 +924,7 @@
|
|||||||
},
|
},
|
||||||
"uptimerobot": {
|
"uptimerobot": {
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"uptime": "Uptime",
|
"uptime": "稼働時間",
|
||||||
"lastDown": "最後のダウンタイム",
|
"lastDown": "最後のダウンタイム",
|
||||||
"downDuration": "ダウンタイム時間",
|
"downDuration": "ダウンタイム時間",
|
||||||
"sitesUp": "Sites Up",
|
"sitesUp": "Sites Up",
|
||||||
@@ -949,9 +954,9 @@
|
|||||||
},
|
},
|
||||||
"mailcow": {
|
"mailcow": {
|
||||||
"domains": "Domains",
|
"domains": "Domains",
|
||||||
"mailboxes": "Mailboxes",
|
"mailboxes": "受信箱",
|
||||||
"mails": "Mails",
|
"mails": "メール",
|
||||||
"storage": "Storage"
|
"storage": "ストレージ"
|
||||||
},
|
},
|
||||||
"maintainerr": {
|
"maintainerr": {
|
||||||
"itemsHandled": "Items Handled",
|
"itemsHandled": "Items Handled",
|
||||||
@@ -969,7 +974,7 @@
|
|||||||
"criticals": "重大"
|
"criticals": "重大"
|
||||||
},
|
},
|
||||||
"ntfy": {
|
"ntfy": {
|
||||||
"title": "Title",
|
"title": "タイトル",
|
||||||
"priority": "Priority",
|
"priority": "Priority",
|
||||||
"lastReceived": "Last Received",
|
"lastReceived": "Last Received",
|
||||||
"message": "Message",
|
"message": "Message",
|
||||||
@@ -984,7 +989,7 @@
|
|||||||
"plantit": {
|
"plantit": {
|
||||||
"events": "イベント",
|
"events": "イベント",
|
||||||
"plants": "植物",
|
"plants": "植物",
|
||||||
"photos": "Photos",
|
"photos": "写真",
|
||||||
"species": "種"
|
"species": "種"
|
||||||
},
|
},
|
||||||
"gitea": {
|
"gitea": {
|
||||||
@@ -1132,27 +1137,27 @@
|
|||||||
"karakeep": {
|
"karakeep": {
|
||||||
"bookmarks": "Bookmarks",
|
"bookmarks": "Bookmarks",
|
||||||
"favorites": "Favorites",
|
"favorites": "Favorites",
|
||||||
"archived": "Archived",
|
"archived": "アーカイブ済み",
|
||||||
"highlights": "Highlights",
|
"highlights": "ハイライト",
|
||||||
"lists": "Lists",
|
"lists": "リスト",
|
||||||
"tags": "Tags"
|
"tags": "タグ"
|
||||||
},
|
},
|
||||||
"slskd": {
|
"slskd": {
|
||||||
"slskStatus": "Network",
|
"slskStatus": "ネットワーク",
|
||||||
"connected": "Connected",
|
"connected": "接続されています",
|
||||||
"disconnected": "Disconnected",
|
"disconnected": "切断されています",
|
||||||
"updateStatus": "Update",
|
"updateStatus": "更新",
|
||||||
"update_yes": "Available",
|
"update_yes": "利用可能",
|
||||||
"update_no": "Up to Date",
|
"update_no": "最新",
|
||||||
"downloads": "Downloads",
|
"downloads": "ダウンロード",
|
||||||
"uploads": "Uploads",
|
"uploads": "アップロード",
|
||||||
"sharedFiles": "Files"
|
"sharedFiles": "ファイル"
|
||||||
},
|
},
|
||||||
"jellystat": {
|
"jellystat": {
|
||||||
"songs": "Songs",
|
"songs": "曲",
|
||||||
"movies": "Movies",
|
"movies": "映画",
|
||||||
"episodes": "Episodes",
|
"episodes": "エピソード",
|
||||||
"other": "Other"
|
"other": "その他"
|
||||||
},
|
},
|
||||||
"checkmk": {
|
"checkmk": {
|
||||||
"serviceErrors": "Service issues",
|
"serviceErrors": "Service issues",
|
||||||
@@ -1193,11 +1198,11 @@
|
|||||||
"TOO_MANY_MISSING_DISKS": "Too Many Missing Disks",
|
"TOO_MANY_MISSING_DISKS": "Too Many Missing Disks",
|
||||||
"NEW_DISK_TOO_SMALL": "New Disk Too Small",
|
"NEW_DISK_TOO_SMALL": "New Disk Too Small",
|
||||||
"NO_DATA_DISKS": "No Data Disks",
|
"NO_DATA_DISKS": "No Data Disks",
|
||||||
"notifications": "Notifications",
|
"notifications": "通知",
|
||||||
"status": "Status",
|
"status": "ステータス",
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
"memoryUsed": "Memory Used",
|
"memoryUsed": "メモリ使用量",
|
||||||
"memoryAvailable": "Memory Available",
|
"memoryAvailable": "使用可能なメモリ",
|
||||||
"arrayUsed": "Array Used",
|
"arrayUsed": "Array Used",
|
||||||
"arrayFree": "Array Free",
|
"arrayFree": "Array Free",
|
||||||
"poolUsed": "{{pool}} Used",
|
"poolUsed": "{{pool}} Used",
|
||||||
@@ -1205,53 +1210,53 @@
|
|||||||
},
|
},
|
||||||
"backrest": {
|
"backrest": {
|
||||||
"num_plans": "Plans",
|
"num_plans": "Plans",
|
||||||
"num_success_30": "Successes",
|
"num_success_30": "成功",
|
||||||
"num_failure_30": "Failures",
|
"num_failure_30": "失敗",
|
||||||
"num_success_latest": "Succeeding",
|
"num_success_latest": "成功",
|
||||||
"num_failure_latest": "Failing",
|
"num_failure_latest": "失敗",
|
||||||
"bytes_added_30": "Bytes Added"
|
"bytes_added_30": "バイトが追加されました"
|
||||||
},
|
},
|
||||||
"yourspotify": {
|
"yourspotify": {
|
||||||
"songs": "Songs",
|
"songs": "曲",
|
||||||
"time": "Time",
|
"time": "時間",
|
||||||
"artists": "Artists"
|
"artists": "アーティスト"
|
||||||
},
|
},
|
||||||
"arcane": {
|
"arcane": {
|
||||||
"containers": "Containers",
|
"containers": "コンテナ",
|
||||||
"images": "Images",
|
"images": "イメージ",
|
||||||
"image_updates": "Image Updates",
|
"image_updates": "イメージの更新",
|
||||||
"images_unused": "Unused",
|
"images_unused": "未使用",
|
||||||
"environment_required": "Environment ID Required"
|
"environment_required": "Enviroment ID が必要です"
|
||||||
},
|
},
|
||||||
"dockhand": {
|
"dockhand": {
|
||||||
"running": "Running",
|
"running": "実行中",
|
||||||
"stopped": "Stopped",
|
"stopped": "停止中",
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
"memory": "Memory",
|
"memory": "メモリ",
|
||||||
"images": "Images",
|
"images": "イメージ",
|
||||||
"volumes": "Volumes",
|
"volumes": "ボリューム",
|
||||||
"events_today": "Events Today",
|
"events_today": "今日のイベント",
|
||||||
"pending_updates": "Pending Updates",
|
"pending_updates": "保留中の更新",
|
||||||
"stacks": "Stacks",
|
"stacks": "スタック数",
|
||||||
"paused": "Paused",
|
"paused": "一時停止中",
|
||||||
"total": "Total",
|
"total": "合計",
|
||||||
"environment_not_found": "Environment Not Found"
|
"environment_not_found": "環境が見つかりません"
|
||||||
},
|
},
|
||||||
"sparkyfitness": {
|
"sparkyfitness": {
|
||||||
"eaten": "Eaten",
|
"eaten": "摂取カロリー",
|
||||||
"burned": "Burned",
|
"burned": "消費カロリー",
|
||||||
"remaining": "Remaining",
|
"remaining": "残り",
|
||||||
"steps": "Steps"
|
"steps": "ステップ"
|
||||||
},
|
},
|
||||||
"syncthing": {
|
"syncthing": {
|
||||||
"connected": "Connected",
|
"connected": "接続されています",
|
||||||
"synced": "Synced",
|
"synced": "同期しました",
|
||||||
"errors": "Errors",
|
"errors": "エラー",
|
||||||
"storage": "Storage"
|
"storage": "ストレージ"
|
||||||
},
|
},
|
||||||
"sportarr": {
|
"sportarr": {
|
||||||
"wanted": "Wanted",
|
"wanted": "募集中",
|
||||||
"queued": "Queued",
|
"queued": "処理待ち",
|
||||||
"leagues": "Leagues"
|
"leagues": "リーグ"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,8 +40,8 @@
|
|||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "검색…",
|
"placeholder": "검색…",
|
||||||
"provider": "Search engine: {{name}}",
|
"provider": "검색 엔진: {{name}}",
|
||||||
"select_provider": "Select search engine"
|
"select_provider": "검색 엔진 선택"
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "비정상",
|
"unhealthy": "비정상",
|
||||||
"not_found": "찾을 수 없음",
|
"not_found": "찾을 수 없음",
|
||||||
"exited": "종료됨",
|
"exited": "종료됨",
|
||||||
"partial": "부분적"
|
"partial": "부분적",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "오류",
|
"error": "오류",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Unhealthy",
|
"unhealthy": "Unhealthy",
|
||||||
"not_found": "Not Found",
|
"not_found": "Not Found",
|
||||||
"exited": "Exited",
|
"exited": "Exited",
|
||||||
"partial": "Partial"
|
"partial": "Partial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Kurang sihat",
|
"unhealthy": "Kurang sihat",
|
||||||
"not_found": "Tidak dijumpai",
|
"not_found": "Tidak dijumpai",
|
||||||
"exited": "Dimatikan",
|
"exited": "Dimatikan",
|
||||||
"partial": "Sebahagian"
|
"partial": "Sebahagian",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Ongezond",
|
"unhealthy": "Ongezond",
|
||||||
"not_found": "Niet Gevonden",
|
"not_found": "Niet Gevonden",
|
||||||
"exited": "Gestopt",
|
"exited": "Gestopt",
|
||||||
"partial": "Gedeeltelijk"
|
"partial": "Gedeeltelijk",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Fout",
|
"error": "Fout",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Usunn",
|
"unhealthy": "Usunn",
|
||||||
"not_found": "Not Found",
|
"not_found": "Not Found",
|
||||||
"exited": "Exited",
|
"exited": "Exited",
|
||||||
"partial": "Delvis"
|
"partial": "Delvis",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Niezdrowy",
|
"unhealthy": "Niezdrowy",
|
||||||
"not_found": "Nie znaleziono",
|
"not_found": "Nie znaleziono",
|
||||||
"exited": "Zakończony",
|
"exited": "Zakończony",
|
||||||
"partial": "Częściowy"
|
"partial": "Częściowy",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Błąd",
|
"error": "Błąd",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Não-saudável",
|
"unhealthy": "Não-saudável",
|
||||||
"not_found": "Não Encontrado",
|
"not_found": "Não Encontrado",
|
||||||
"exited": "Saiu",
|
"exited": "Saiu",
|
||||||
"partial": "Parcial"
|
"partial": "Parcial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Erro",
|
"error": "Erro",
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"seconds": "s"
|
"seconds": "s"
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"signout": "Sign out"
|
"signout": "Encerrar Sessão"
|
||||||
},
|
},
|
||||||
"widget": {
|
"widget": {
|
||||||
"missing_type": "Tipo de Widget ausente: {{type}}",
|
"missing_type": "Tipo de Widget ausente: {{type}}",
|
||||||
@@ -40,8 +40,8 @@
|
|||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "Pesquisar…",
|
"placeholder": "Pesquisar…",
|
||||||
"provider": "Search engine: {{name}}",
|
"provider": "Motor de pesquisa: {{name}}",
|
||||||
"select_provider": "Select search engine"
|
"select_provider": "Selecionar motor de busca"
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Não-saudável",
|
"unhealthy": "Não-saudável",
|
||||||
"not_found": "Não Encontrado",
|
"not_found": "Não Encontrado",
|
||||||
"exited": "Encerrado",
|
"exited": "Encerrado",
|
||||||
"partial": "Parcial"
|
"partial": "Parcial",
|
||||||
|
"created": "Criado",
|
||||||
|
"paused": "Pausado",
|
||||||
|
"restarting": "Reiniciando",
|
||||||
|
"removing": "Removendo",
|
||||||
|
"dead": "Inativo"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Erro",
|
"error": "Erro",
|
||||||
@@ -135,7 +140,7 @@
|
|||||||
"series": "Séries",
|
"series": "Séries",
|
||||||
"episodes": "Episódios",
|
"episodes": "Episódios",
|
||||||
"songs": "Músicas",
|
"songs": "Músicas",
|
||||||
"albums": "Albums"
|
"albums": "Álbuns"
|
||||||
},
|
},
|
||||||
"esphome": {
|
"esphome": {
|
||||||
"offline": "Offline",
|
"offline": "Offline",
|
||||||
@@ -954,15 +959,15 @@
|
|||||||
"storage": "Armazenamento"
|
"storage": "Armazenamento"
|
||||||
},
|
},
|
||||||
"maintainerr": {
|
"maintainerr": {
|
||||||
"itemsHandled": "Items Handled",
|
"itemsHandled": "Itens manuseados",
|
||||||
"episodesHandled": "Episodes Handled",
|
"episodesHandled": "Episódios tratados",
|
||||||
"moviesHandled": "Movies Handled",
|
"moviesHandled": "Filmes tratados",
|
||||||
"showsHandled": "Shows Handled",
|
"showsHandled": "Séries tratados",
|
||||||
"seasonsHandled": "Seasons Handled",
|
"seasonsHandled": "Temporadas tratadas",
|
||||||
"reclaimable": "Reclaimable",
|
"reclaimable": "Reclamável",
|
||||||
"movieReclaimable": "Movie Reclaimable",
|
"movieReclaimable": "Filme Reclamável",
|
||||||
"showReclaimable": "Show Reclaimable",
|
"showReclaimable": "Show Reclamável",
|
||||||
"totalCapacity": "Total Capacity"
|
"totalCapacity": "Capacidade total"
|
||||||
},
|
},
|
||||||
"netdata": {
|
"netdata": {
|
||||||
"warnings": "Alertas",
|
"warnings": "Alertas",
|
||||||
@@ -1250,8 +1255,8 @@
|
|||||||
"storage": "Armazenagem"
|
"storage": "Armazenagem"
|
||||||
},
|
},
|
||||||
"sportarr": {
|
"sportarr": {
|
||||||
"wanted": "Wanted",
|
"wanted": "Desejado",
|
||||||
"queued": "Queued",
|
"queued": "Na fila",
|
||||||
"leagues": "Leagues"
|
"leagues": "Ligas"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Nesănătos",
|
"unhealthy": "Nesănătos",
|
||||||
"not_found": "Negăsit",
|
"not_found": "Negăsit",
|
||||||
"exited": "Ieşit",
|
"exited": "Ieşit",
|
||||||
"partial": "Parțial"
|
"partial": "Parțial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Нездоровый",
|
"unhealthy": "Нездоровый",
|
||||||
"not_found": "Не найдено",
|
"not_found": "Не найдено",
|
||||||
"exited": "Вышел",
|
"exited": "Вышел",
|
||||||
"partial": "Частичный"
|
"partial": "Частичный",
|
||||||
|
"created": "Создан",
|
||||||
|
"paused": "Приостановлен",
|
||||||
|
"restarting": "Перезапуск",
|
||||||
|
"removing": "Удаление",
|
||||||
|
"dead": "Мёртв"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Ошибка",
|
"error": "Ошибка",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Nezdravý",
|
"unhealthy": "Nezdravý",
|
||||||
"not_found": "Nenájdené",
|
"not_found": "Nenájdené",
|
||||||
"exited": "Ukončené",
|
"exited": "Ukončené",
|
||||||
"partial": "Čiastočný"
|
"partial": "Čiastočný",
|
||||||
|
"created": "Vytvorené",
|
||||||
|
"paused": "Pozastavené",
|
||||||
|
"restarting": "Reštartuje sa",
|
||||||
|
"removing": "Odstraňuje sa",
|
||||||
|
"dead": "Mŕtve"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Chyba",
|
"error": "Chyba",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Ni zdrav",
|
"unhealthy": "Ni zdrav",
|
||||||
"not_found": "Ni najden",
|
"not_found": "Ni najden",
|
||||||
"exited": "V izhodu",
|
"exited": "V izhodu",
|
||||||
"partial": "Delni"
|
"partial": "Delni",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Нездравих",
|
"unhealthy": "Нездравих",
|
||||||
"not_found": "Није пронађено",
|
"not_found": "Није пронађено",
|
||||||
"exited": "Напуштених",
|
"exited": "Напуштених",
|
||||||
"partial": "Делимично"
|
"partial": "Делимично",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Грешка",
|
"error": "Грешка",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Unhealthy",
|
"unhealthy": "Unhealthy",
|
||||||
"not_found": "Not Found",
|
"not_found": "Not Found",
|
||||||
"exited": "Exited",
|
"exited": "Exited",
|
||||||
"partial": "Partial"
|
"partial": "Partial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Unhealthy",
|
"unhealthy": "Unhealthy",
|
||||||
"not_found": "Not Found",
|
"not_found": "Not Found",
|
||||||
"exited": "Exited",
|
"exited": "Exited",
|
||||||
"partial": "Partial"
|
"partial": "Partial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Unhealthy",
|
"unhealthy": "Unhealthy",
|
||||||
"not_found": "Not Found",
|
"not_found": "Not Found",
|
||||||
"exited": "Exited",
|
"exited": "Exited",
|
||||||
"partial": "Partial"
|
"partial": "Partial",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Sağlıksız",
|
"unhealthy": "Sağlıksız",
|
||||||
"not_found": "Bulunamadı",
|
"not_found": "Bulunamadı",
|
||||||
"exited": "Kapandı",
|
"exited": "Kapandı",
|
||||||
"partial": "Kısmi"
|
"partial": "Kısmi",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Hata",
|
"error": "Hata",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Нездоровий",
|
"unhealthy": "Нездоровий",
|
||||||
"not_found": "Не знайдено",
|
"not_found": "Не знайдено",
|
||||||
"exited": "Вийшов",
|
"exited": "Вийшов",
|
||||||
"partial": "Частковий"
|
"partial": "Частковий",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Помилка",
|
"error": "Помилка",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "Bất thường",
|
"unhealthy": "Bất thường",
|
||||||
"not_found": "Không tìm thấy",
|
"not_found": "Không tìm thấy",
|
||||||
"exited": "Đã thoát",
|
"exited": "Đã thoát",
|
||||||
"partial": "Một phần"
|
"partial": "Một phần",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Lỗi",
|
"error": "Lỗi",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "不健康的",
|
"unhealthy": "不健康的",
|
||||||
"not_found": "未找到",
|
"not_found": "未找到",
|
||||||
"exited": "已退出",
|
"exited": "已退出",
|
||||||
"partial": "部分"
|
"partial": "部分",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "不健康",
|
"unhealthy": "不健康",
|
||||||
"not_found": "未找到",
|
"not_found": "未找到",
|
||||||
"exited": "已退出",
|
"exited": "已退出",
|
||||||
"partial": "部分"
|
"partial": "部分",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "错误",
|
"error": "错误",
|
||||||
|
|||||||
@@ -99,7 +99,12 @@
|
|||||||
"unhealthy": "不健康的",
|
"unhealthy": "不健康的",
|
||||||
"not_found": "找不到",
|
"not_found": "找不到",
|
||||||
"exited": "已退出",
|
"exited": "已退出",
|
||||||
"partial": "部分"
|
"partial": "部分",
|
||||||
|
"created": "Created",
|
||||||
|
"paused": "Paused",
|
||||||
|
"restarting": "Restarting",
|
||||||
|
"removing": "Removing",
|
||||||
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
|
|||||||
@@ -0,0 +1,60 @@
|
|||||||
|
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
|
|
||||||
|
import createMockRes from "test-utils/create-mock-res";
|
||||||
|
|
||||||
|
const { getDockerStats, logger } = vi.hoisted(() => ({
|
||||||
|
getDockerStats: vi.fn(),
|
||||||
|
logger: { error: vi.fn() },
|
||||||
|
}));
|
||||||
|
|
||||||
|
vi.mock("utils/docker/stats", () => ({ getDockerStats }));
|
||||||
|
|
||||||
|
vi.mock("utils/logger", () => ({
|
||||||
|
default: () => logger,
|
||||||
|
}));
|
||||||
|
|
||||||
|
import handler from "pages/api/docker/stats";
|
||||||
|
|
||||||
|
describe("pages/api/docker/stats", () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
vi.clearAllMocks();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("returns the stats map for the requested server", async () => {
|
||||||
|
getDockerStats.mockResolvedValue({ stats: { app: { cpu: 20, mem: 900, rx: 4, tx: 6 } } });
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(getDockerStats).toHaveBeenCalledWith("local");
|
||||||
|
expect(res.statusCode).toBe(200);
|
||||||
|
expect(res.body).toEqual({ stats: { app: { cpu: 20, mem: 900, rx: 4, tx: 6 } } });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("returns 500 when the stats lookup reports an error", async () => {
|
||||||
|
getDockerStats.mockResolvedValue({ error: "query failed" });
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.statusCode).toBe(500);
|
||||||
|
expect(res.body).toEqual({ error: "query failed" });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("logs and returns 500 when the stats lookup throws", async () => {
|
||||||
|
getDockerStats.mockRejectedValue(new Error("boom"));
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.statusCode).toBe(500);
|
||||||
|
expect(res.body).toEqual({ error: { message: "boom" } });
|
||||||
|
expect(logger.error).toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
|
||||||
|
|
||||||
import createMockRes from "test-utils/create-mock-res";
|
|
||||||
|
|
||||||
const { state, DockerCtor, getDockerArguments, logger } = vi.hoisted(() => {
|
|
||||||
const state = {
|
|
||||||
docker: null,
|
|
||||||
dockerArgs: { conn: { socketPath: "/var/run/docker.sock" }, swarm: false },
|
|
||||||
};
|
|
||||||
|
|
||||||
function DockerCtor() {
|
|
||||||
return state.docker;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
state,
|
|
||||||
DockerCtor,
|
|
||||||
getDockerArguments: vi.fn(() => state.dockerArgs),
|
|
||||||
logger: { error: vi.fn() },
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
vi.mock("dockerode", () => ({
|
|
||||||
default: DockerCtor,
|
|
||||||
}));
|
|
||||||
|
|
||||||
vi.mock("utils/config/docker", () => ({
|
|
||||||
default: getDockerArguments,
|
|
||||||
}));
|
|
||||||
|
|
||||||
vi.mock("utils/logger", () => ({
|
|
||||||
default: () => logger,
|
|
||||||
}));
|
|
||||||
|
|
||||||
import handler from "pages/api/docker/stats/[...service]";
|
|
||||||
|
|
||||||
describe("pages/api/docker/stats/[...service]", () => {
|
|
||||||
beforeEach(() => {
|
|
||||||
vi.clearAllMocks();
|
|
||||||
state.dockerArgs = { conn: { socketPath: "/var/run/docker.sock" }, swarm: false };
|
|
||||||
state.docker = {
|
|
||||||
listContainers: vi.fn(),
|
|
||||||
getContainer: vi.fn(),
|
|
||||||
listTasks: vi.fn(),
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns 400 when container name/server params are missing", async () => {
|
|
||||||
const req = { query: { service: [] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(400);
|
|
||||||
expect(res.body).toEqual({ error: "docker query parameters are required" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns 500 when docker returns a non-array containers payload", async () => {
|
|
||||||
state.docker.listContainers.mockResolvedValue(Buffer.from("bad"));
|
|
||||||
|
|
||||||
const req = { query: { service: ["c", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(500);
|
|
||||||
expect(res.body).toEqual({ error: "query failed" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns stats for an existing container", async () => {
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/myapp"], Id: "cid1" }]);
|
|
||||||
const containerStats = { cpu_stats: { cpu_usage: { total_usage: 1 } } };
|
|
||||||
state.docker.getContainer.mockReturnValue({
|
|
||||||
stats: vi.fn().mockResolvedValue(containerStats),
|
|
||||||
});
|
|
||||||
|
|
||||||
const req = { query: { service: ["myapp", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(200);
|
|
||||||
expect(res.body).toEqual({ stats: containerStats });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("uses swarm tasks to locate a container and reports a friendly error when stats cannot be retrieved", async () => {
|
|
||||||
state.dockerArgs.swarm = true;
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/other"], Id: "local1" }]);
|
|
||||||
state.docker.listTasks.mockResolvedValue([
|
|
||||||
{ Status: { ContainerStatus: { ContainerID: "local1" } } },
|
|
||||||
{ Status: { ContainerStatus: { ContainerID: "remote1" } } },
|
|
||||||
]);
|
|
||||||
state.docker.getContainer.mockReturnValue({
|
|
||||||
stats: vi.fn().mockRejectedValue(new Error("nope")),
|
|
||||||
});
|
|
||||||
|
|
||||||
const req = { query: { service: ["svc", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(200);
|
|
||||||
expect(res.body).toEqual({ error: "Unable to retrieve stats" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns stats for a swarm task container when present locally", async () => {
|
|
||||||
state.dockerArgs.swarm = true;
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/other"], Id: "local1" }]);
|
|
||||||
state.docker.listTasks.mockResolvedValue([{ Status: { ContainerStatus: { ContainerID: "local1" } } }]);
|
|
||||||
|
|
||||||
const containerStats = { cpu_stats: { cpu_usage: { total_usage: 2 } } };
|
|
||||||
state.docker.getContainer.mockReturnValue({
|
|
||||||
stats: vi.fn().mockResolvedValue(containerStats),
|
|
||||||
});
|
|
||||||
|
|
||||||
const req = { query: { service: ["svc", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(200);
|
|
||||||
expect(res.body).toEqual({ stats: containerStats });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns 404 when no container or swarm task is found", async () => {
|
|
||||||
state.dockerArgs.swarm = true;
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/other"], Id: "local1" }]);
|
|
||||||
state.docker.listTasks.mockResolvedValue([]);
|
|
||||||
|
|
||||||
const req = { query: { service: ["missing", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(404);
|
|
||||||
expect(res.body).toEqual({ error: "not found" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("logs and returns 500 when the docker query throws", async () => {
|
|
||||||
getDockerArguments.mockImplementationOnce(() => {
|
|
||||||
throw new Error("boom");
|
|
||||||
});
|
|
||||||
|
|
||||||
const req = { query: { service: ["myapp", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(500);
|
|
||||||
expect(res.body).toEqual({ error: { message: "boom" } });
|
|
||||||
expect(logger.error).toHaveBeenCalled();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,211 +0,0 @@
|
|||||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
|
||||||
|
|
||||||
import createMockRes from "test-utils/create-mock-res";
|
|
||||||
|
|
||||||
const { state, DockerCtor, getDockerArguments, logger } = vi.hoisted(() => {
|
|
||||||
const state = {
|
|
||||||
docker: null,
|
|
||||||
dockerCtorArgs: [],
|
|
||||||
dockerArgs: { conn: { socketPath: "/var/run/docker.sock" }, swarm: false },
|
|
||||||
};
|
|
||||||
|
|
||||||
function DockerCtor(conn) {
|
|
||||||
state.dockerCtorArgs.push(conn);
|
|
||||||
return state.docker;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
state,
|
|
||||||
DockerCtor,
|
|
||||||
getDockerArguments: vi.fn(() => state.dockerArgs),
|
|
||||||
logger: { error: vi.fn() },
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
vi.mock("dockerode", () => ({
|
|
||||||
default: DockerCtor,
|
|
||||||
}));
|
|
||||||
|
|
||||||
vi.mock("utils/config/docker", () => ({
|
|
||||||
default: getDockerArguments,
|
|
||||||
}));
|
|
||||||
|
|
||||||
vi.mock("utils/logger", () => ({
|
|
||||||
default: () => logger,
|
|
||||||
}));
|
|
||||||
|
|
||||||
import handler from "pages/api/docker/status/[...service]";
|
|
||||||
|
|
||||||
describe("pages/api/docker/status/[...service]", () => {
|
|
||||||
beforeEach(() => {
|
|
||||||
vi.clearAllMocks();
|
|
||||||
state.dockerCtorArgs.length = 0;
|
|
||||||
state.dockerArgs = { conn: { socketPath: "/var/run/docker.sock" }, swarm: false };
|
|
||||||
state.docker = {
|
|
||||||
listContainers: vi.fn(),
|
|
||||||
getContainer: vi.fn(),
|
|
||||||
getService: vi.fn(),
|
|
||||||
listTasks: vi.fn(),
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns 400 when container name/server params are missing", async () => {
|
|
||||||
const req = { query: { service: [] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(400);
|
|
||||||
expect(res.body).toEqual({ error: "docker query parameters are required" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns 500 when docker returns a non-array containers payload", async () => {
|
|
||||||
state.docker.listContainers.mockResolvedValue(Buffer.from("bad"));
|
|
||||||
|
|
||||||
const req = { query: { service: ["c", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(500);
|
|
||||||
expect(res.body).toEqual({ error: "query failed" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("inspects an existing container and returns status + health", async () => {
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/myapp"], Id: "cid1" }]);
|
|
||||||
state.docker.getContainer.mockReturnValue({
|
|
||||||
inspect: vi.fn().mockResolvedValue({ State: { Status: "running", Health: { Status: "healthy" } } }),
|
|
||||||
});
|
|
||||||
|
|
||||||
const req = { query: { service: ["myapp", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(getDockerArguments).toHaveBeenCalledWith("local");
|
|
||||||
expect(state.dockerCtorArgs).toHaveLength(1);
|
|
||||||
expect(res.statusCode).toBe(200);
|
|
||||||
expect(res.body).toEqual({ status: "running", health: "healthy" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns 404 when container does not exist and swarm is disabled", async () => {
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/other"], Id: "cid1" }]);
|
|
||||||
|
|
||||||
const req = { query: { service: ["missing", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(404);
|
|
||||||
expect(res.body).toEqual({ status: "not found" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("reports replicated swarm service status based on desired replicas", async () => {
|
|
||||||
state.dockerArgs.swarm = true;
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/other"], Id: "cid1" }]);
|
|
||||||
state.docker.getService.mockReturnValue({
|
|
||||||
inspect: vi.fn().mockResolvedValue({ Spec: { Mode: { Replicated: { Replicas: "2" } } } }),
|
|
||||||
});
|
|
||||||
state.docker.listTasks.mockResolvedValue([{ Status: {} }, { Status: {} }]);
|
|
||||||
|
|
||||||
const req = { query: { service: ["svc", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(200);
|
|
||||||
expect(res.body).toEqual({ status: "running 2/2" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("reports partial status for replicated services with fewer running tasks", async () => {
|
|
||||||
state.dockerArgs.swarm = true;
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/other"], Id: "cid1" }]);
|
|
||||||
state.docker.getService.mockReturnValue({
|
|
||||||
inspect: vi.fn().mockResolvedValue({ Spec: { Mode: { Replicated: { Replicas: "3" } } } }),
|
|
||||||
});
|
|
||||||
state.docker.listTasks.mockResolvedValue([{ Status: {} }]);
|
|
||||||
|
|
||||||
const req = { query: { service: ["svc", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(200);
|
|
||||||
expect(res.body).toEqual({ status: "partial 1/3" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("handles global services by inspecting a local task container when possible", async () => {
|
|
||||||
state.dockerArgs.swarm = true;
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/other"], Id: "local1" }]);
|
|
||||||
state.docker.getService.mockReturnValue({
|
|
||||||
inspect: vi.fn().mockResolvedValue({ Spec: { Mode: { Global: {} } } }),
|
|
||||||
});
|
|
||||||
state.docker.listTasks.mockResolvedValue([
|
|
||||||
{ Status: { ContainerStatus: { ContainerID: "local1" }, State: "running" } },
|
|
||||||
]);
|
|
||||||
state.docker.getContainer.mockReturnValue({
|
|
||||||
inspect: vi.fn().mockResolvedValue({ State: { Status: "running", Health: { Status: "unhealthy" } } }),
|
|
||||||
});
|
|
||||||
|
|
||||||
const req = { query: { service: ["svc", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(200);
|
|
||||||
expect(res.body).toEqual({ status: "running", health: "unhealthy" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("falls back to task status when global service container inspect fails", async () => {
|
|
||||||
state.dockerArgs.swarm = true;
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/other"], Id: "local1" }]);
|
|
||||||
state.docker.getService.mockReturnValue({
|
|
||||||
inspect: vi.fn().mockResolvedValue({ Spec: { Mode: { Global: {} } } }),
|
|
||||||
});
|
|
||||||
state.docker.listTasks.mockResolvedValue([
|
|
||||||
{ Status: { ContainerStatus: { ContainerID: "local1" }, State: "pending" } },
|
|
||||||
]);
|
|
||||||
state.docker.getContainer.mockReturnValue({
|
|
||||||
inspect: vi.fn().mockRejectedValue(new Error("nope")),
|
|
||||||
});
|
|
||||||
|
|
||||||
const req = { query: { service: ["svc", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(200);
|
|
||||||
expect(res.body).toEqual({ status: "pending" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns 404 when swarm is enabled but the service does not exist", async () => {
|
|
||||||
state.dockerArgs.swarm = true;
|
|
||||||
state.docker.listContainers.mockResolvedValue([{ Names: ["/other"], Id: "cid1" }]);
|
|
||||||
state.docker.getService.mockReturnValue({
|
|
||||||
inspect: vi.fn().mockRejectedValue(new Error("not found")),
|
|
||||||
});
|
|
||||||
|
|
||||||
const req = { query: { service: ["svc", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(404);
|
|
||||||
expect(res.body).toEqual({ status: "not found" });
|
|
||||||
});
|
|
||||||
|
|
||||||
it("logs and returns 500 when the docker query throws", async () => {
|
|
||||||
getDockerArguments.mockImplementationOnce(() => {
|
|
||||||
throw new Error("boom");
|
|
||||||
});
|
|
||||||
|
|
||||||
const req = { query: { service: ["svc", "local"] } };
|
|
||||||
const res = createMockRes();
|
|
||||||
|
|
||||||
await handler(req, res);
|
|
||||||
|
|
||||||
expect(res.statusCode).toBe(500);
|
|
||||||
expect(res.body).toEqual({ error: { message: "boom" } });
|
|
||||||
expect(logger.error).toHaveBeenCalled();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -0,0 +1,265 @@
|
|||||||
|
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
|
|
||||||
|
import createMockRes from "test-utils/create-mock-res";
|
||||||
|
|
||||||
|
const { state, DockerCtor, getDockerArguments, containersFromConfig, hasHomepageLabels, getSettings, logger } =
|
||||||
|
vi.hoisted(() => {
|
||||||
|
const state = {
|
||||||
|
docker: null,
|
||||||
|
containers: [],
|
||||||
|
health: {},
|
||||||
|
containers: [],
|
||||||
|
health: {},
|
||||||
|
dockerArgs: { conn: { socketPath: "/var/run/docker.sock" }, swarm: false },
|
||||||
|
};
|
||||||
|
|
||||||
|
function DockerCtor() {
|
||||||
|
return state.docker;
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
state,
|
||||||
|
DockerCtor,
|
||||||
|
getDockerArguments: vi.fn(() => state.dockerArgs),
|
||||||
|
containersFromConfig: vi.fn(async () => new Set()),
|
||||||
|
hasHomepageLabels: vi.fn(() => false),
|
||||||
|
getSettings: vi.fn(() => ({ instanceName: undefined })),
|
||||||
|
logger: { error: vi.fn() },
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
vi.mock("dockerode", () => ({
|
||||||
|
default: DockerCtor,
|
||||||
|
}));
|
||||||
|
|
||||||
|
vi.mock("utils/config/docker", () => ({
|
||||||
|
default: getDockerArguments,
|
||||||
|
}));
|
||||||
|
|
||||||
|
vi.mock("utils/config/service-helpers", () => ({
|
||||||
|
containersFromConfig,
|
||||||
|
hasHomepageLabels,
|
||||||
|
}));
|
||||||
|
|
||||||
|
vi.mock("utils/config/config", () => ({
|
||||||
|
getSettings,
|
||||||
|
}));
|
||||||
|
|
||||||
|
vi.mock("utils/logger", () => ({
|
||||||
|
default: () => logger,
|
||||||
|
}));
|
||||||
|
|
||||||
|
import handler from "pages/api/docker/statuses";
|
||||||
|
|
||||||
|
describe("pages/api/docker/statuses", () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
vi.clearAllMocks();
|
||||||
|
state.dockerArgs = { conn: { socketPath: "/var/run/docker.sock" }, swarm: false };
|
||||||
|
state.containers = [];
|
||||||
|
state.health = {};
|
||||||
|
state.docker = {
|
||||||
|
listContainers: vi.fn(async (options) => {
|
||||||
|
const health = options?.filters?.health?.[0];
|
||||||
|
return health ? (state.health[health] ?? []) : state.containers;
|
||||||
|
}),
|
||||||
|
listServices: vi.fn(),
|
||||||
|
listTasks: vi.fn(),
|
||||||
|
};
|
||||||
|
containersFromConfig.mockResolvedValue(new Set());
|
||||||
|
hasHomepageLabels.mockReturnValue(false);
|
||||||
|
getSettings.mockReturnValue({ instanceName: undefined });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("returns configured container statuses with health from the docker health filters", async () => {
|
||||||
|
containersFromConfig.mockResolvedValue(new Set(["glance", "share"]));
|
||||||
|
state.containers = [
|
||||||
|
{ Names: ["/glance"], Id: "cid-glance", State: "running" },
|
||||||
|
{ Names: ["/share"], Id: "cid-share", State: "exited" },
|
||||||
|
];
|
||||||
|
state.health = { healthy: [{ Id: "cid-glance" }] };
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(getDockerArguments).toHaveBeenCalledWith("local");
|
||||||
|
expect(containersFromConfig).toHaveBeenCalledWith("local");
|
||||||
|
// one list plus one per health state, constant regardless of container count
|
||||||
|
expect(state.docker.listContainers).toHaveBeenCalledTimes(4);
|
||||||
|
expect(state.docker.listServices).not.toHaveBeenCalled();
|
||||||
|
expect(res.statusCode).toBe(200);
|
||||||
|
expect(res.body).toEqual({
|
||||||
|
statuses: {
|
||||||
|
glance: { status: "running", health: "healthy" },
|
||||||
|
share: { status: "exited" },
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
it("takes health from the filter results rather than the status string", async () => {
|
||||||
|
containersFromConfig.mockResolvedValue(new Set(["app"]));
|
||||||
|
state.containers = [{ Names: ["/app"], Id: "cid1", State: "running", Status: "Up 2 hours (healthy)" }];
|
||||||
|
state.health = { unhealthy: [{ Id: "cid1" }] };
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.body).toEqual({ statuses: { app: { status: "running", health: "unhealthy" } } });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("omits health when the docker daemon rejects the health filter", async () => {
|
||||||
|
containersFromConfig.mockResolvedValue(new Set(["app"]));
|
||||||
|
state.containers = [{ Names: ["/app"], Id: "cid1", State: "running", Status: "Up 2 hours (healthy)" }];
|
||||||
|
state.docker.listContainers.mockImplementation(async (options) => {
|
||||||
|
if (options?.filters?.health) throw new Error("filter unsupported");
|
||||||
|
return state.containers;
|
||||||
|
});
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.body).toEqual({ statuses: { app: { status: "running" } } });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("omits containers that are neither configured nor labelled for homepage", async () => {
|
||||||
|
containersFromConfig.mockResolvedValue(new Set(["glance"]));
|
||||||
|
state.containers = [
|
||||||
|
{ Names: ["/glance"], State: "running", Status: "Up" },
|
||||||
|
{ Names: ["/secret-db"], State: "running", Status: "Up" },
|
||||||
|
];
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.body).toEqual({ statuses: { glance: { status: "running" } } });
|
||||||
|
expect(res.body.statuses["secret-db"]).toBeUndefined();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("includes containers discovered through homepage labels", async () => {
|
||||||
|
hasHomepageLabels.mockImplementation((labels) => labels?.["homepage.name"] !== undefined);
|
||||||
|
state.containers = [
|
||||||
|
{ Names: ["/labelled"], State: "running", Status: "Up", Labels: { "homepage.name": "App" } },
|
||||||
|
{ Names: ["/unlabelled"], State: "running", Status: "Up", Labels: {} },
|
||||||
|
];
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.body).toEqual({ statuses: { labelled: { status: "running" } } });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("includes swarm services when the server is in swarm mode", async () => {
|
||||||
|
state.dockerArgs.swarm = true;
|
||||||
|
containersFromConfig.mockResolvedValue(new Set(["web", "api"]));
|
||||||
|
state.containers = [{ Names: ["/web"], Id: "cid1", State: "running", Status: "Up" }];
|
||||||
|
state.docker.listServices.mockResolvedValue([
|
||||||
|
{ ID: "sid", Spec: { Name: "api", Mode: { Replicated: { Replicas: "2" } } } },
|
||||||
|
]);
|
||||||
|
state.docker.listTasks.mockResolvedValue([
|
||||||
|
{ ServiceID: "sid", Status: {} },
|
||||||
|
{ ServiceID: "sid", Status: {} },
|
||||||
|
]);
|
||||||
|
|
||||||
|
const req = { query: { server: "swarm" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.statusCode).toBe(200);
|
||||||
|
expect(res.body).toEqual({
|
||||||
|
statuses: {
|
||||||
|
web: { status: "running" },
|
||||||
|
api: { status: "running 2/2" },
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
it("omits swarm services that are neither configured nor labelled", async () => {
|
||||||
|
state.dockerArgs.swarm = true;
|
||||||
|
containersFromConfig.mockResolvedValue(new Set());
|
||||||
|
state.containers = [];
|
||||||
|
state.docker.listServices.mockResolvedValue([
|
||||||
|
{ ID: "sid", Spec: { Name: "internal", Mode: { Replicated: { Replicas: "1" } } } },
|
||||||
|
]);
|
||||||
|
state.docker.listTasks.mockResolvedValue([{ ServiceID: "sid", Status: {} }]);
|
||||||
|
|
||||||
|
const req = { query: { server: "swarm" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.body).toEqual({ statuses: {} });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("includes swarm services discovered through homepage labels", async () => {
|
||||||
|
state.dockerArgs.swarm = true;
|
||||||
|
hasHomepageLabels.mockImplementation((labels) => labels?.["homepage.name"] !== undefined);
|
||||||
|
state.containers = [];
|
||||||
|
state.docker.listServices.mockResolvedValue([
|
||||||
|
{
|
||||||
|
ID: "sid",
|
||||||
|
Spec: { Name: "api", Labels: { "homepage.name": "Api" }, Mode: { Replicated: { Replicas: "1" } } },
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
state.docker.listTasks.mockResolvedValue([{ ServiceID: "sid", Status: {} }]);
|
||||||
|
|
||||||
|
const req = { query: { server: "swarm" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.body).toEqual({ statuses: { api: { status: "running 1/1" } } });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("returns only listed containers when swarm queries fail", async () => {
|
||||||
|
state.dockerArgs.swarm = true;
|
||||||
|
containersFromConfig.mockResolvedValue(new Set(["web"]));
|
||||||
|
state.containers = [{ Names: ["/web"], Id: "cid1", State: "running", Status: "Up" }];
|
||||||
|
state.docker.listServices.mockRejectedValue(new Error("no services"));
|
||||||
|
state.docker.listTasks.mockRejectedValue(new Error("no tasks"));
|
||||||
|
|
||||||
|
const req = { query: { server: "swarm" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.statusCode).toBe(200);
|
||||||
|
expect(res.body).toEqual({ statuses: { web: { status: "running" } } });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("returns 500 when docker returns a non-array containers payload", async () => {
|
||||||
|
state.containers = Buffer.from("bad");
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.statusCode).toBe(500);
|
||||||
|
expect(res.body).toEqual({ error: "query failed" });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("logs and returns 500 when the docker query throws", async () => {
|
||||||
|
getDockerArguments.mockImplementationOnce(() => {
|
||||||
|
throw new Error("boom");
|
||||||
|
});
|
||||||
|
|
||||||
|
const req = { query: { server: "local" } };
|
||||||
|
const res = createMockRes();
|
||||||
|
|
||||||
|
await handler(req, res);
|
||||||
|
|
||||||
|
expect(res.statusCode).toBe(500);
|
||||||
|
expect(res.body).toEqual({ error: { message: "boom" } });
|
||||||
|
expect(logger.error).toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,118 @@
|
|||||||
|
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
|
|
||||||
|
import createMockRes from "test-utils/create-mock-res";
|
||||||
|
|
||||||
|
const { getPrivateWidgetOptions, httpProxy, logger } = vi.hoisted(() => ({
|
||||||
|
getPrivateWidgetOptions: vi.fn(),
|
||||||
|
httpProxy: vi.fn(),
|
||||||
|
logger: { debug: vi.fn() },
|
||||||
|
}));
|
||||||
|
|
||||||
|
vi.mock("utils/config/widget-helpers", () => ({
|
||||||
|
getPrivateWidgetOptions,
|
||||||
|
}));
|
||||||
|
|
||||||
|
vi.mock("utils/proxy/http", () => ({
|
||||||
|
httpProxy,
|
||||||
|
}));
|
||||||
|
|
||||||
|
vi.mock("utils/logger", () => ({
|
||||||
|
default: () => logger,
|
||||||
|
}));
|
||||||
|
|
||||||
|
import handler from "pages/api/widgets/customapi";
|
||||||
|
|
||||||
|
const json = (body) => Buffer.from(JSON.stringify(body));
|
||||||
|
|
||||||
|
async function callRoute(options, index = "0") {
|
||||||
|
getPrivateWidgetOptions.mockResolvedValueOnce(options);
|
||||||
|
const res = createMockRes();
|
||||||
|
await handler({ query: { index } }, res);
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
describe("pages/api/widgets/customapi", () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
vi.clearAllMocks();
|
||||||
|
});
|
||||||
|
|
||||||
|
it.each([
|
||||||
|
["no widget at that index", undefined],
|
||||||
|
["a widget without a url", { method: "GET" }],
|
||||||
|
["an invalid url", { url: "api.local/data" }],
|
||||||
|
])("returns 400 without calling upstream for %s", async (_, options) => {
|
||||||
|
const res = await callRoute(options, "3");
|
||||||
|
|
||||||
|
expect(getPrivateWidgetOptions).toHaveBeenCalledWith("customapi", "3");
|
||||||
|
expect(res.statusCode).toBe(400);
|
||||||
|
expect(httpProxy).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("proxies an authenticated POST with custom headers and a JSON body", async () => {
|
||||||
|
httpProxy.mockResolvedValueOnce([200, "application/json", json({ json: { hello: "world" } })]);
|
||||||
|
|
||||||
|
const res = await callRoute({
|
||||||
|
url: "https://httpbin.org/post",
|
||||||
|
username: "admin",
|
||||||
|
password: "hunter2",
|
||||||
|
method: "POST",
|
||||||
|
headers: { "X-Secret-Token": "super-secret", "Content-Type": "application/json" },
|
||||||
|
requestBody: { hello: "world" },
|
||||||
|
});
|
||||||
|
|
||||||
|
expect(httpProxy).toHaveBeenCalledWith(new URL("https://httpbin.org/post"), {
|
||||||
|
method: "POST",
|
||||||
|
headers: {
|
||||||
|
"User-Agent": "homepage",
|
||||||
|
Accept: "application/json",
|
||||||
|
"X-Secret-Token": "super-secret",
|
||||||
|
"Content-Type": "application/json",
|
||||||
|
Authorization: `Basic ${Buffer.from("admin:hunter2").toString("base64")}`,
|
||||||
|
},
|
||||||
|
body: '{"hello":"world"}',
|
||||||
|
});
|
||||||
|
expect(res.statusCode).toBe(200);
|
||||||
|
expect(res.body).toEqual({ json: { hello: "world" } });
|
||||||
|
});
|
||||||
|
|
||||||
|
it("sends a string body as-is and lets config override default headers", async () => {
|
||||||
|
httpProxy.mockResolvedValueOnce([200, "application/json", json({ data: { viewer: { login: "shamoon" } } })]);
|
||||||
|
const query = '{"query":"{ viewer { login } }"}';
|
||||||
|
|
||||||
|
const res = await callRoute({
|
||||||
|
url: "https://api.github.com/graphql",
|
||||||
|
method: "POST",
|
||||||
|
headers: { Authorization: "Bearer ghp_token", "User-Agent": "my-dashboard" },
|
||||||
|
requestBody: query,
|
||||||
|
});
|
||||||
|
|
||||||
|
expect(httpProxy).toHaveBeenCalledWith(expect.any(URL), {
|
||||||
|
method: "POST",
|
||||||
|
headers: { "User-Agent": "my-dashboard", Accept: "application/json", Authorization: "Bearer ghp_token" },
|
||||||
|
body: query,
|
||||||
|
});
|
||||||
|
expect(res.body).toEqual({ data: { viewer: { login: "shamoon" } } });
|
||||||
|
});
|
||||||
|
|
||||||
|
it.each([
|
||||||
|
["an HTTP error", [403, "application/json", json({ message: "API rate limit exceeded for 1.2.3.4" })]],
|
||||||
|
[
|
||||||
|
"a network failure",
|
||||||
|
[500, "application/json", { error: { message: "connect ECONNREFUSED", rawError: { address: "10.0.0.5" } } }],
|
||||||
|
],
|
||||||
|
["a non-JSON response", [200, "text/html", Buffer.from("<html><body>Login</body></html>")]],
|
||||||
|
])("returns only a sanitized error for %s", async (_, upstream) => {
|
||||||
|
httpProxy.mockResolvedValueOnce(upstream);
|
||||||
|
|
||||||
|
const res = await callRoute({ url: "https://api.github.com/repos/gethomepage/homepage?token=abc" });
|
||||||
|
|
||||||
|
expect(httpProxy).toHaveBeenCalledWith(expect.any(URL), {
|
||||||
|
method: "GET",
|
||||||
|
headers: { "User-Agent": "homepage", Accept: "application/json" },
|
||||||
|
});
|
||||||
|
expect(res.statusCode).toBe(upstream[0] === 200 ? 500 : upstream[0]);
|
||||||
|
expect(res.body.error.url).toBe("api.github.com (see logs for details)");
|
||||||
|
expect(JSON.stringify(res.body)).not.toMatch(/rate limit|ECONNREFUSED|10\.0\.0\.5|<html>|token=abc/);
|
||||||
|
expect(res.setHeader).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -1,11 +1,15 @@
|
|||||||
// @vitest-environment jsdom
|
// @vitest-environment jsdom
|
||||||
|
|
||||||
import { render, screen, waitFor } from "@testing-library/react";
|
import { render, screen, waitFor } from "@testing-library/react";
|
||||||
import { describe, expect, it, vi } from "vitest";
|
import { StrictMode } from "react";
|
||||||
|
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
|
|
||||||
const { getSettingsMock, authOptionsMock } = vi.hoisted(() => ({
|
const { getSettingsMock, authOptionsMock, signInMock, replaceMock, routerQuery } = vi.hoisted(() => ({
|
||||||
getSettingsMock: vi.fn(),
|
getSettingsMock: vi.fn(),
|
||||||
authOptionsMock: vi.fn(),
|
authOptionsMock: vi.fn(),
|
||||||
|
signInMock: vi.fn(),
|
||||||
|
replaceMock: vi.fn(),
|
||||||
|
routerQuery: {},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
vi.mock("utils/config/config", () => ({
|
vi.mock("utils/config/config", () => ({
|
||||||
@@ -20,13 +24,25 @@ vi.mock("pages/api/auth/[...nextauth]", () => ({
|
|||||||
|
|
||||||
vi.mock("next/router", () => ({
|
vi.mock("next/router", () => ({
|
||||||
useRouter: () => ({
|
useRouter: () => ({
|
||||||
query: {},
|
query: routerQuery,
|
||||||
|
replace: replaceMock,
|
||||||
}),
|
}),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
vi.mock("next-auth/react", () => ({ signIn: signInMock }));
|
||||||
|
|
||||||
import SignInPage, { getServerSideProps } from "pages/auth/signin";
|
import SignInPage, { getServerSideProps } from "pages/auth/signin";
|
||||||
|
|
||||||
|
const OIDC_PROVIDERS = { "homepage-oidc": { id: "homepage-oidc", name: "Homepage OIDC", type: "oauth" } };
|
||||||
|
const SETTINGS = { theme: "dark", color: "slate", title: "Homepage" };
|
||||||
|
|
||||||
describe("pages/auth/signin", () => {
|
describe("pages/auth/signin", () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
vi.clearAllMocks();
|
||||||
|
Object.keys(routerQuery).forEach((key) => delete routerQuery[key]);
|
||||||
|
window.sessionStorage.clear();
|
||||||
|
});
|
||||||
|
|
||||||
it("renders an error state when no providers are configured", async () => {
|
it("renders an error state when no providers are configured", async () => {
|
||||||
render(
|
render(
|
||||||
<SignInPage
|
<SignInPage
|
||||||
@@ -66,6 +82,67 @@ describe("pages/auth/signin", () => {
|
|||||||
expect(screen.getByRole("button", { name: /login via oidc/i })).toBeInTheDocument();
|
expect(screen.getByRole("button", { name: /login via oidc/i })).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("redirects to the provider when auto-login is enabled", () => {
|
||||||
|
routerQuery.callbackUrl = "/some/page";
|
||||||
|
|
||||||
|
render(<SignInPage providers={OIDC_PROVIDERS} settings={SETTINGS} autoLogin />);
|
||||||
|
|
||||||
|
expect(signInMock).toHaveBeenCalledWith("homepage-oidc", { callbackUrl: "/some/page" });
|
||||||
|
expect(screen.getByText(/redirecting to homepage oidc/i)).toBeInTheDocument();
|
||||||
|
expect(screen.queryByRole("button", { name: /login via/i })).not.toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("does not auto-login when the provider returned an error", () => {
|
||||||
|
routerQuery.error = "OAuthCallback";
|
||||||
|
|
||||||
|
render(<SignInPage providers={OIDC_PROVIDERS} settings={SETTINGS} autoLogin />);
|
||||||
|
|
||||||
|
expect(signInMock).not.toHaveBeenCalled();
|
||||||
|
expect(screen.getByRole("button", { name: /login via homepage oidc/i })).toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("does not auto-login when it is explicitly disabled in the url", () => {
|
||||||
|
routerQuery.autologin = "0";
|
||||||
|
|
||||||
|
render(<SignInPage providers={OIDC_PROVIDERS} settings={SETTINGS} autoLogin />);
|
||||||
|
|
||||||
|
expect(signInMock).not.toHaveBeenCalled();
|
||||||
|
expect(screen.getByRole("button", { name: /login via homepage oidc/i })).toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("redirects once under strict mode, rather than tripping its own loop guard", () => {
|
||||||
|
render(
|
||||||
|
<StrictMode>
|
||||||
|
<SignInPage providers={OIDC_PROVIDERS} settings={SETTINGS} autoLogin />
|
||||||
|
</StrictMode>,
|
||||||
|
);
|
||||||
|
|
||||||
|
expect(signInMock).toHaveBeenCalledTimes(1);
|
||||||
|
expect(replaceMock).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("stops auto-login and hands back the page when the session never sticks", () => {
|
||||||
|
routerQuery.callbackUrl = "/some/page";
|
||||||
|
|
||||||
|
render(<SignInPage providers={OIDC_PROVIDERS} settings={SETTINGS} autoLogin />);
|
||||||
|
render(<SignInPage providers={OIDC_PROVIDERS} settings={SETTINGS} autoLogin />);
|
||||||
|
|
||||||
|
expect(signInMock).toHaveBeenCalledTimes(1);
|
||||||
|
expect(replaceMock).toHaveBeenCalledWith("/auth/signin?autologin=0&callbackUrl=%2Fsome%2Fpage");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("does not auto-login the password provider", () => {
|
||||||
|
render(
|
||||||
|
<SignInPage
|
||||||
|
providers={{ credentials: { id: "credentials", name: "Password", type: "credentials" } }}
|
||||||
|
settings={SETTINGS}
|
||||||
|
autoLogin
|
||||||
|
/>,
|
||||||
|
);
|
||||||
|
|
||||||
|
expect(signInMock).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
|
||||||
it("getServerSideProps returns providers and only public sign-in settings", async () => {
|
it("getServerSideProps returns providers and only public sign-in settings", async () => {
|
||||||
authOptionsMock.mockReturnValueOnce({ providers: [{ id: "foo", name: "Foo", type: "oauth" }] });
|
authOptionsMock.mockReturnValueOnce({ providers: [{ id: "foo", name: "Foo", type: "oauth" }] });
|
||||||
getSettingsMock.mockReturnValueOnce({
|
getSettingsMock.mockReturnValueOnce({
|
||||||
@@ -88,6 +165,7 @@ describe("pages/auth/signin", () => {
|
|||||||
expect(getSettingsMock).toHaveBeenCalled();
|
expect(getSettingsMock).toHaveBeenCalled();
|
||||||
expect(res).toEqual({
|
expect(res).toEqual({
|
||||||
props: {
|
props: {
|
||||||
|
autoLogin: false,
|
||||||
providers: { foo: { id: "foo", name: "Foo", type: "oauth" } },
|
providers: { foo: { id: "foo", name: "Foo", type: "oauth" } },
|
||||||
settings: {
|
settings: {
|
||||||
theme: "dark",
|
theme: "dark",
|
||||||
@@ -102,6 +180,17 @@ describe("pages/auth/signin", () => {
|
|||||||
expect(res.props.settings).not.toHaveProperty("layout");
|
expect(res.props.settings).not.toHaveProperty("layout");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("getServerSideProps enables auto-login from the environment", async () => {
|
||||||
|
authOptionsMock.mockReturnValueOnce({ providers: [] });
|
||||||
|
getSettingsMock.mockReturnValueOnce({ theme: "dark" });
|
||||||
|
vi.stubEnv("HOMEPAGE_OIDC_AUTO_LOGIN", "true");
|
||||||
|
|
||||||
|
const res = await getServerSideProps({});
|
||||||
|
|
||||||
|
expect(res.props.autoLogin).toBe(true);
|
||||||
|
vi.unstubAllEnvs();
|
||||||
|
});
|
||||||
|
|
||||||
it("getServerSideProps falls back to no providers when auth options fail to load", async () => {
|
it("getServerSideProps falls back to no providers when auth options fail to load", async () => {
|
||||||
const consoleError = vi.spyOn(console, "error").mockImplementation(() => {});
|
const consoleError = vi.spyOn(console, "error").mockImplementation(() => {});
|
||||||
authOptionsMock.mockImplementationOnce(() => {
|
authOptionsMock.mockImplementationOnce(() => {
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ import { SettingsContext } from "utils/contexts/settings";
|
|||||||
export default function Item({ bookmark, iconOnly = false }) {
|
export default function Item({ bookmark, iconOnly = false }) {
|
||||||
const description = bookmark.description ?? new URL(bookmark.href).hostname;
|
const description = bookmark.description ?? new URL(bookmark.href).hostname;
|
||||||
const { settings } = useContext(SettingsContext);
|
const { settings } = useContext(SettingsContext);
|
||||||
|
const cardStyle =
|
||||||
|
settings.cardStyle === "hairline"
|
||||||
|
? "shadow-xs inset-ring inset-ring-black/5 dark:inset-ring-white/5 hover:inset-ring-black/10 dark:hover:inset-ring-white/10"
|
||||||
|
: "shadow-md shadow-theme-900/10 dark:shadow-theme-900/20";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<li
|
<li
|
||||||
@@ -22,7 +26,8 @@ export default function Item({ bookmark, iconOnly = false }) {
|
|||||||
target={bookmark.target ?? settings.target ?? "_blank"}
|
target={bookmark.target ?? settings.target ?? "_blank"}
|
||||||
className={classNames(
|
className={classNames(
|
||||||
settings.cardBlur !== undefined && `backdrop-blur${settings.cardBlur.length ? "-" : ""}${settings.cardBlur}`,
|
settings.cardBlur !== undefined && `backdrop-blur${settings.cardBlur.length ? "-" : ""}${settings.cardBlur}`,
|
||||||
"text-left cursor-pointer transition-all rounded-md font-medium text-theme-700 dark:text-theme-200 dark:hover:text-theme-300 shadow-md shadow-theme-900/10 dark:shadow-theme-900/20 bg-theme-100/20 hover:bg-theme-300/20 dark:bg-white/5 dark:hover:bg-white/10",
|
cardStyle,
|
||||||
|
"text-left cursor-pointer transition-all rounded-md font-medium text-theme-700 dark:text-theme-200 dark:hover:text-theme-300 bg-theme-100/20 hover:bg-theme-300/20 dark:bg-white/5 dark:hover:bg-white/10",
|
||||||
iconOnly ? "h-[60px] w-[60px] grid" : "block w-full mb-3",
|
iconOnly ? "h-[60px] w-[60px] grid" : "block w-full mb-3",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -21,6 +21,16 @@ describe("components/bookmarks/item", () => {
|
|||||||
expect(screen.getByRole("link").getAttribute("target")).toBe("_self");
|
expect(screen.getByRole("link").getAttribute("target")).toBe("_self");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("applies hairline card styles when cardStyle is set", () => {
|
||||||
|
renderWithProviders(<Item bookmark={{ name: "A", href: "http://example.com/x", abbr: "A" }} iconOnly={false} />, {
|
||||||
|
settings: { cardStyle: "hairline" },
|
||||||
|
});
|
||||||
|
|
||||||
|
const className = screen.getByRole("link").className;
|
||||||
|
expect(className).toContain("inset-ring");
|
||||||
|
expect(className).not.toContain("shadow-md");
|
||||||
|
});
|
||||||
|
|
||||||
it("renders icon-only layout with icon when provided", () => {
|
it("renders icon-only layout with icon when provided", () => {
|
||||||
renderWithProviders(
|
renderWithProviders(
|
||||||
<Item bookmark={{ name: "A", href: "http://example.com/x", abbr: "A", icon: "mdi-home" }} iconOnly />,
|
<Item bookmark={{ name: "A", href: "http://example.com/x", abbr: "A", icon: "mdi-home" }} iconOnly />,
|
||||||
|
|||||||
@@ -124,8 +124,8 @@ export default function QuickLaunch({ servicesAndBookmarks, searchString, setSea
|
|||||||
? MOBILE_BUTTON_POSITIONS[settings.quicklaunch.mobileButtonPosition]
|
? MOBILE_BUTTON_POSITIONS[settings.quicklaunch.mobileButtonPosition]
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
function openCurrentItem(newWindow) {
|
function openCurrentItem(newWindow, index = activeItemIndex) {
|
||||||
const result = results[activeItemIndex];
|
const result = results[index];
|
||||||
window.open(
|
window.open(
|
||||||
result.href,
|
result.href,
|
||||||
newWindow ? "_blank" : (result.target ?? searchProvider?.target ?? settings.target ?? "_blank"),
|
newWindow ? "_blank" : (result.target ?? searchProvider?.target ?? settings.target ?? "_blank"),
|
||||||
@@ -180,7 +180,8 @@ export default function QuickLaunch({ servicesAndBookmarks, searchString, setSea
|
|||||||
|
|
||||||
function handleItemClick(event) {
|
function handleItemClick(event) {
|
||||||
closeAndReset();
|
closeAndReset();
|
||||||
openCurrentItem(event.metaKey);
|
// in case hover doesnt fire, use the clicked item, not the highlighted one
|
||||||
|
openCurrentItem(event.metaKey, parseInt(event.currentTarget.dataset.index, 10));
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleItemKeyDown(event) {
|
function handleItemKeyDown(event) {
|
||||||
|
|||||||
@@ -263,6 +263,37 @@ describe("components/quicklaunch", () => {
|
|||||||
openSpy.mockRestore();
|
openSpy.mockRestore();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("opens the clicked result even without a preceding hover event", async () => {
|
||||||
|
const openSpy = vi.spyOn(window, "open").mockImplementation(() => null);
|
||||||
|
|
||||||
|
renderWithProviders(
|
||||||
|
<Wrapper
|
||||||
|
servicesAndBookmarks={[
|
||||||
|
{ name: "Alpha", href: "https://alpha.example" },
|
||||||
|
{ name: "Alpine", href: "https://alpine.example" },
|
||||||
|
{ name: "Almond", href: "https://almond.example" },
|
||||||
|
]}
|
||||||
|
/>,
|
||||||
|
{ settings: { target: "_self", quicklaunch: { showSearchSuggestions: false } } },
|
||||||
|
);
|
||||||
|
|
||||||
|
const input = screen.getByPlaceholderText("Search");
|
||||||
|
await waitFor(() => expect(input).toHaveFocus());
|
||||||
|
|
||||||
|
fireEvent.change(input, { target: { value: "al" } });
|
||||||
|
await waitFor(() => expect(document.querySelector('button[data-index="2"]')).toBeTruthy());
|
||||||
|
|
||||||
|
// touch devices don't fire mouseEnter, so the highlighted item is still the first one
|
||||||
|
fireEvent.click(document.querySelector('button[data-index="2"]'));
|
||||||
|
|
||||||
|
await act(async () => {
|
||||||
|
await new Promise((r) => setTimeout(r, 350));
|
||||||
|
});
|
||||||
|
|
||||||
|
expect(openSpy).toHaveBeenCalledWith("https://almond.example", "_self", "noreferrer");
|
||||||
|
openSpy.mockRestore();
|
||||||
|
});
|
||||||
|
|
||||||
it("handles Escape on a result button (not just the input)", async () => {
|
it("handles Escape on a result button (not just the input)", async () => {
|
||||||
renderWithProviders(<Wrapper servicesAndBookmarks={[{ name: "Alpha", href: "https://alpha.example" }]} />, {
|
renderWithProviders(<Wrapper servicesAndBookmarks={[{ name: "Alpha", href: "https://alpha.example" }]} />, {
|
||||||
settings: { quicklaunch: { showSearchSuggestions: false } },
|
settings: { quicklaunch: { showSearchSuggestions: false } },
|
||||||
|
|||||||
@@ -19,6 +19,10 @@ export default function Item({ service, groupName, useEqualHeights }) {
|
|||||||
const { settings } = useContext(SettingsContext);
|
const { settings } = useContext(SettingsContext);
|
||||||
const showStats = service.showStats === false ? false : settings.showStats;
|
const showStats = service.showStats === false ? false : settings.showStats;
|
||||||
const statusStyle = service.statusStyle !== undefined ? service.statusStyle : settings.statusStyle;
|
const statusStyle = service.statusStyle !== undefined ? service.statusStyle : settings.statusStyle;
|
||||||
|
const cardStyle =
|
||||||
|
settings.cardStyle === "hairline"
|
||||||
|
? "shadow-xs inset-ring inset-ring-black/5 dark:inset-ring-white/5 hover:inset-ring-black/10 dark:hover:inset-ring-white/10"
|
||||||
|
: "shadow-md shadow-theme-900/10 dark:shadow-theme-900/20";
|
||||||
const [statsOpen, setStatsOpen] = useState(service.showStats);
|
const [statsOpen, setStatsOpen] = useState(service.showStats);
|
||||||
const [statsClosing, setStatsClosing] = useState(false);
|
const [statsClosing, setStatsClosing] = useState(false);
|
||||||
|
|
||||||
@@ -39,7 +43,8 @@ export default function Item({ service, groupName, useEqualHeights }) {
|
|||||||
className={classNames(
|
className={classNames(
|
||||||
settings.cardBlur !== undefined && `backdrop-blur${settings.cardBlur.length ? "-" : ""}${settings.cardBlur}`,
|
settings.cardBlur !== undefined && `backdrop-blur${settings.cardBlur.length ? "-" : ""}${settings.cardBlur}`,
|
||||||
useEqualHeights && "h-[calc(100%-0.5rem)]",
|
useEqualHeights && "h-[calc(100%-0.5rem)]",
|
||||||
"transition-all mb-2 p-1 rounded-md font-medium text-theme-700 dark:text-theme-200 dark:hover:text-theme-300 shadow-md shadow-theme-900/10 dark:shadow-theme-900/20 bg-theme-100/20 hover:bg-theme-300/20 dark:bg-white/5 dark:hover:bg-white/10 relative overflow-clip service-card",
|
cardStyle,
|
||||||
|
"transition-all mb-2 p-1 rounded-md font-medium text-theme-700 dark:text-theme-200 dark:hover:text-theme-300 bg-theme-100/20 hover:bg-theme-300/20 dark:bg-white/5 dark:hover:bg-white/10 relative overflow-clip service-card",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="flex select-none z-0 service-title">
|
<div className="flex select-none z-0 service-title">
|
||||||
|
|||||||
@@ -1,45 +1,61 @@
|
|||||||
import { useTranslation } from "next-i18next/pages";
|
import { useTranslation } from "next-i18next/pages";
|
||||||
import useSWR from "swr";
|
import useSWR from "swr";
|
||||||
|
|
||||||
|
const WARNING_CLASS = "text-orange-400/50 dark:text-orange-400/80";
|
||||||
|
|
||||||
|
// docker container states other than running
|
||||||
|
const STATE_LABELS = {
|
||||||
|
created: "docker.created",
|
||||||
|
dead: "docker.dead",
|
||||||
|
exited: "docker.exited",
|
||||||
|
"not found": "docker.not_found",
|
||||||
|
paused: "docker.paused",
|
||||||
|
removing: "docker.removing",
|
||||||
|
restarting: "docker.restarting",
|
||||||
|
};
|
||||||
|
|
||||||
|
// states that mean something is wrong rather than merely not started
|
||||||
|
const WARNING_STATES = new Set(["dead", "exited", "not found", "restarting"]);
|
||||||
|
|
||||||
export default function Status({ service, style }) {
|
export default function Status({ service, style }) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const { data, error } = useSWR(`/api/docker/status/${service.container}/${service.server || ""}`);
|
const { data: response, error } = useSWR(`/api/docker/statuses?server=${encodeURIComponent(service.server || "")}`);
|
||||||
|
const statusError = error ?? response?.error;
|
||||||
|
const { statuses } = response ?? {};
|
||||||
|
const data = statuses ? (statuses[service.container] ?? { status: "not found" }) : undefined;
|
||||||
|
|
||||||
let statusLabel = t("docker.unknown");
|
let statusLabel = t("docker.unknown");
|
||||||
let backgroundClass = "px-1.5 py-0.5 bg-theme-500/10 dark:bg-theme-900/50";
|
let backgroundClass = "px-1.5 py-0.5 bg-theme-500/10 dark:bg-theme-900/50";
|
||||||
let colorClass = "text-black/20 dark:text-white/40 ";
|
let colorClass = "text-black/20 dark:text-white/40 ";
|
||||||
|
|
||||||
if (error) {
|
if (statusError) {
|
||||||
statusLabel = t("docker.error");
|
statusLabel = t("docker.error");
|
||||||
colorClass = "text-rose-500/80";
|
colorClass = "text-rose-500/80";
|
||||||
} else if (data) {
|
} else if (data?.status?.includes("running")) {
|
||||||
if (data.status?.includes("running")) {
|
colorClass = "text-emerald-500/80";
|
||||||
colorClass = "text-emerald-500/80";
|
|
||||||
|
|
||||||
if (!data.health) {
|
if (!data.health) {
|
||||||
statusLabel = data.status.replace("running", t("docker.running"));
|
statusLabel = data.status.replace("running", t("docker.running"));
|
||||||
} else {
|
} else {
|
||||||
statusLabel = data.health === "healthy" ? t("docker.healthy") : data.health;
|
statusLabel = data.health === "healthy" ? t("docker.healthy") : data.health;
|
||||||
|
|
||||||
if (data.health === "starting") {
|
if (data.health === "starting") {
|
||||||
statusLabel = t("docker.starting");
|
statusLabel = t("docker.starting");
|
||||||
colorClass = "text-blue-500/80";
|
colorClass = "text-blue-500/80";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.health === "unhealthy") {
|
if (data.health === "unhealthy") {
|
||||||
statusLabel = t("docker.unhealthy");
|
statusLabel = t("docker.unhealthy");
|
||||||
colorClass = "text-orange-400/50 dark:text-orange-400/80";
|
colorClass = WARNING_CLASS;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (data?.status?.startsWith("partial")) {
|
||||||
if (data.status === "not found" || data.status === "exited" || data.status?.startsWith("partial")) {
|
statusLabel = data.status.replace("partial", t("docker.partial"));
|
||||||
if (data.status === "not found") statusLabel = t("docker.not_found");
|
colorClass = WARNING_CLASS;
|
||||||
else if (data.status === "exited") statusLabel = t("docker.exited");
|
} else if (data && STATE_LABELS[data.status]) {
|
||||||
else statusLabel = data.status.replace("partial", t("docker.partial"));
|
statusLabel = t(STATE_LABELS[data.status]);
|
||||||
colorClass = "text-orange-400/50 dark:text-orange-400/80";
|
if (WARNING_STATES.has(data.status)) colorClass = WARNING_CLASS;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (style === "dot") {
|
if (style === "dot") {
|
||||||
|
|||||||
@@ -21,8 +21,11 @@ describe("components/services/status", () => {
|
|||||||
|
|
||||||
render(<Status service={{ container: "c", server: "s" }} />);
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
|
|
||||||
expect(useSWR).toHaveBeenCalledWith("/api/docker/status/c/s");
|
expect(useSWR).toHaveBeenCalledWith("/api/docker/statuses?server=s");
|
||||||
expect(screen.getByText("docker.unknown")).toBeInTheDocument();
|
expect(screen.getByText("docker.unknown")).toBeInTheDocument();
|
||||||
|
|
||||||
|
render(<Status service={{ container: "c" }} />);
|
||||||
|
expect(useSWR).toHaveBeenCalledWith("/api/docker/statuses?server=");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("renders error when SWR fails", () => {
|
it("renders error when SWR fails", () => {
|
||||||
@@ -33,38 +36,87 @@ describe("components/services/status", () => {
|
|||||||
expect(screen.getByText("docker.error")).toBeInTheDocument();
|
expect(screen.getByText("docker.error")).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("renders error when the api returns an error payload with a 200-parsed body", () => {
|
||||||
|
useSWR.mockReturnValue({ data: { error: "query failed" }, error: undefined });
|
||||||
|
|
||||||
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
|
|
||||||
|
expect(screen.getByText("docker.error")).toBeInTheDocument();
|
||||||
|
expect(screen.queryByText("docker.not_found")).not.toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
it("renders healthy/unhealthy and partial/exited/not found statuses", () => {
|
it("renders healthy/unhealthy and partial/exited/not found statuses", () => {
|
||||||
useSWR.mockReturnValue({ data: { status: "running", health: "healthy" }, error: undefined });
|
useSWR.mockReturnValue({ data: { statuses: { c: { status: "running", health: "healthy" } } }, error: undefined });
|
||||||
render(<Status service={{ container: "c", server: "s" }} />);
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
expect(screen.getByText("docker.healthy")).toBeInTheDocument();
|
expect(screen.getByText("docker.healthy")).toBeInTheDocument();
|
||||||
|
|
||||||
useSWR.mockReturnValue({ data: { status: "running", health: "unhealthy" }, error: undefined });
|
useSWR.mockReturnValue({ data: { statuses: { c: { status: "running", health: "unhealthy" } } }, error: undefined });
|
||||||
render(<Status service={{ container: "c", server: "s" }} />);
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
expect(screen.getByText("docker.unhealthy")).toBeInTheDocument();
|
expect(screen.getByText("docker.unhealthy")).toBeInTheDocument();
|
||||||
|
|
||||||
useSWR.mockReturnValue({ data: { status: "partial 1/2" }, error: undefined });
|
useSWR.mockReturnValue({ data: { statuses: { c: { status: "partial 1/2" } } }, error: undefined });
|
||||||
render(<Status service={{ container: "c", server: "s" }} />);
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
expect(screen.getByText("docker.partial 1/2")).toBeInTheDocument();
|
expect(screen.getByText("docker.partial 1/2")).toBeInTheDocument();
|
||||||
|
|
||||||
useSWR.mockReturnValue({ data: { status: "exited" }, error: undefined });
|
useSWR.mockReturnValue({ data: { statuses: { c: { status: "exited" } } }, error: undefined });
|
||||||
render(<Status service={{ container: "c", server: "s" }} />);
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
expect(screen.getByText("docker.exited")).toBeInTheDocument();
|
expect(screen.getByText("docker.exited")).toBeInTheDocument();
|
||||||
|
|
||||||
useSWR.mockReturnValue({ data: { status: "not found" }, error: undefined });
|
useSWR.mockReturnValue({ data: { statuses: {} }, error: undefined });
|
||||||
render(<Status service={{ container: "c", server: "s" }} />);
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
expect(screen.getByText("docker.not_found")).toBeInTheDocument();
|
expect(screen.getByText("docker.not_found")).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("renders starting health when container is running and starting", () => {
|
it("renders starting health when container is running and starting", () => {
|
||||||
useSWR.mockReturnValue({ data: { status: "running", health: "starting" }, error: undefined });
|
useSWR.mockReturnValue({ data: { statuses: { c: { status: "running", health: "starting" } } }, error: undefined });
|
||||||
|
|
||||||
render(<Status service={{ container: "c", server: "s" }} />);
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
|
|
||||||
expect(screen.getByText("docker.starting")).toBeInTheDocument();
|
expect(screen.getByText("docker.starting")).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("renders the remaining container states instead of falling through to unknown", () => {
|
||||||
|
const states = {
|
||||||
|
created: "docker.created",
|
||||||
|
paused: "docker.paused",
|
||||||
|
restarting: "docker.restarting",
|
||||||
|
removing: "docker.removing",
|
||||||
|
dead: "docker.dead",
|
||||||
|
};
|
||||||
|
|
||||||
|
Object.entries(states).forEach(([status, label]) => {
|
||||||
|
useSWR.mockReturnValue({ data: { statuses: { c: { status } } }, error: undefined });
|
||||||
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
|
expect(screen.getByText(label)).toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
|
expect(screen.queryByText("docker.unknown")).not.toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("colors problem states as warnings and merely stopped states neutrally", () => {
|
||||||
|
useSWR.mockReturnValue({ data: { statuses: { c: { status: "restarting" } } }, error: undefined });
|
||||||
|
const { container: restarting } = render(<Status service={{ container: "c", server: "s" }} style="dot" />);
|
||||||
|
expect(restarting.querySelector(".bg-orange-400")).toBeInTheDocument();
|
||||||
|
|
||||||
|
useSWR.mockReturnValue({ data: { statuses: { c: { status: "paused" } } }, error: undefined });
|
||||||
|
const { container: paused } = render(<Status service={{ container: "c", server: "s" }} style="dot" />);
|
||||||
|
expect(paused.querySelector(".bg-orange-400")).not.toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("does not surface health for containers that are not running", () => {
|
||||||
|
useSWR.mockReturnValue({
|
||||||
|
data: { statuses: { c: { status: "paused", health: "unhealthy" } } },
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
|
||||||
|
render(<Status service={{ container: "c", server: "s" }} />);
|
||||||
|
|
||||||
|
expect(screen.getByText("docker.paused")).toBeInTheDocument();
|
||||||
|
expect(screen.queryByText("docker.unhealthy")).not.toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
it("renders a dot when style is dot", () => {
|
it("renders a dot when style is dot", () => {
|
||||||
useSWR.mockReturnValue({ data: { status: "running" }, error: undefined });
|
useSWR.mockReturnValue({ data: { statuses: { c: { status: "running" } } }, error: undefined });
|
||||||
|
|
||||||
const { container } = render(<Status service={{ container: "c", server: "s" }} style="dot" />);
|
const { container } = render(<Status service={{ container: "c", server: "s" }} style="dot" />);
|
||||||
|
|
||||||
|
|||||||
@@ -4,11 +4,14 @@ import { useContext, useMemo } from "react";
|
|||||||
|
|
||||||
import { BlockHighlightContext } from "./highlight-context";
|
import { BlockHighlightContext } from "./highlight-context";
|
||||||
|
|
||||||
|
import { SettingsContext } from "utils/contexts/settings";
|
||||||
import { evaluateHighlight, getHighlightClass } from "utils/highlights";
|
import { evaluateHighlight, getHighlightClass } from "utils/highlights";
|
||||||
|
|
||||||
export default function Block({ value, highlightValue, label, field }) {
|
export default function Block({ value, highlightValue, label, field }) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const highlightConfig = useContext(BlockHighlightContext);
|
const highlightConfig = useContext(BlockHighlightContext);
|
||||||
|
const { settings } = useContext(SettingsContext);
|
||||||
|
const refined = settings?.blockStyle === "refined";
|
||||||
|
|
||||||
const highlight = useMemo(() => {
|
const highlight = useMemo(() => {
|
||||||
if (!highlightConfig) return null;
|
if (!highlightConfig) return null;
|
||||||
@@ -45,9 +48,20 @@ export default function Block({ value, highlightValue, label, field }) {
|
|||||||
data-highlight-level={highlight?.level}
|
data-highlight-level={highlight?.level}
|
||||||
data-highlight-source={highlight?.source}
|
data-highlight-source={highlight?.source}
|
||||||
>
|
>
|
||||||
<div className="font-thin text-sm">{value === undefined || value === null ? "-" : value}</div>
|
|
||||||
<div
|
<div
|
||||||
className={classNames("font-bold text-xs uppercase", applyToValueOnly && "text-theme-700 dark:text-theme-200")}
|
className={classNames(
|
||||||
|
refined ? "text-[13px] font-medium tabular-nums" : "font-thin text-sm",
|
||||||
|
"service-block-value",
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
{value === undefined || value === null ? "-" : value}
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
className={classNames(
|
||||||
|
refined ? "text-[10px] font-semibold uppercase tracking-wider opacity-60" : "font-bold text-xs uppercase",
|
||||||
|
applyToValueOnly && "text-theme-700 dark:text-theme-200",
|
||||||
|
"service-block-label",
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
{t(label)}
|
{t(label)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -39,6 +39,24 @@ describe("components/services/widget/block", () => {
|
|||||||
expect(el.className).toContain("danger-class");
|
expect(el.className).toContain("danger-class");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("uses the standard block styles by default", () => {
|
||||||
|
const { container } = renderWithProviders(<Block label="some.label" value="1" />, { settings: {} });
|
||||||
|
|
||||||
|
expect(container.querySelector(".service-block-value").className).toContain("font-thin");
|
||||||
|
expect(container.querySelector(".service-block-label").className).toContain("font-bold");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("applies refined block styles when blockStyle is set", () => {
|
||||||
|
const { container } = renderWithProviders(<Block label="some.label" value="1" />, {
|
||||||
|
settings: { blockStyle: "refined" },
|
||||||
|
});
|
||||||
|
|
||||||
|
const value = container.querySelector(".service-block-value");
|
||||||
|
expect(value.className).toContain("tabular-nums");
|
||||||
|
expect(value.className).not.toContain("font-thin");
|
||||||
|
expect(container.querySelector(".service-block-label").className).toContain("tracking-wider");
|
||||||
|
});
|
||||||
|
|
||||||
it("prefers highlightValue over the rendered value for numeric highlighting", () => {
|
it("prefers highlightValue over the rendered value for numeric highlighting", () => {
|
||||||
const highlightConfig = {
|
const highlightConfig = {
|
||||||
levels: { warn: "warn-class" },
|
levels: { warn: "warn-class" },
|
||||||
|
|||||||
@@ -12,7 +12,11 @@ export default function SignOut() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div id="signout" className="rounded-full flex align-middle self-center mr-3">
|
<div id="signout" className="rounded-full flex align-middle self-center mr-3">
|
||||||
<button type="button" onClick={() => signOut({ callbackUrl: "/" })} className="outline-hidden">
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={() => signOut({ callbackUrl: "/auth/signin?autologin=0" })}
|
||||||
|
className="outline-hidden"
|
||||||
|
>
|
||||||
<MdLogout className="text-theme-800 dark:text-theme-200 w-6 h-6 cursor-pointer" aria-hidden="true" />
|
<MdLogout className="text-theme-800 dark:text-theme-200 w-6 h-6 cursor-pointer" aria-hidden="true" />
|
||||||
<span className="sr-only">{t("auth.signout")}</span>
|
<span className="sr-only">{t("auth.signout")}</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ describe("components/toggles/signout", () => {
|
|||||||
const { getByRole } = render(<SignOut />);
|
const { getByRole } = render(<SignOut />);
|
||||||
fireEvent.click(getByRole("button"));
|
fireEvent.click(getByRole("button"));
|
||||||
|
|
||||||
expect(signOut).toHaveBeenCalledWith({ callbackUrl: "/" });
|
// Not "/", which would bounce straight back into the provider when auto-login is on
|
||||||
|
expect(signOut).toHaveBeenCalledWith({ callbackUrl: "/auth/signin?autologin=0" });
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -0,0 +1,53 @@
|
|||||||
|
import classNames from "classnames";
|
||||||
|
import { useTranslation } from "next-i18next/pages";
|
||||||
|
import { TbApi } from "react-icons/tb";
|
||||||
|
import useSWR from "swr";
|
||||||
|
|
||||||
|
import Container from "../widget/container";
|
||||||
|
import Error from "../widget/error";
|
||||||
|
import Raw from "../widget/raw";
|
||||||
|
import WidgetLabel from "../widget/widget_label";
|
||||||
|
|
||||||
|
import ResolvedIcon from "components/resolvedicon";
|
||||||
|
import { formatValue, getValue } from "widgets/customapi/utils";
|
||||||
|
|
||||||
|
export default function CustomApi({ options }) {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
const { index, icon, label, mappings = [], refreshInterval = 10000 } = options;
|
||||||
|
|
||||||
|
const { data, error } = useSWR(`/api/widgets/customapi?${new URLSearchParams({ index }).toString()}`, {
|
||||||
|
refreshInterval: Math.max(1000, refreshInterval),
|
||||||
|
});
|
||||||
|
|
||||||
|
if (error || (data?.error && !mappings.some((mapping) => mapping.field === "error"))) {
|
||||||
|
return <Error options={options} />;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Container options={options} additionalClassNames="information-widget-customapi">
|
||||||
|
<Raw>
|
||||||
|
<div className="flex flex-row items-center">
|
||||||
|
<div className="flex-none mr-2">
|
||||||
|
{icon ? (
|
||||||
|
<ResolvedIcon icon={icon} width={24} height={24} />
|
||||||
|
) : (
|
||||||
|
<TbApi className="w-6 h-6 text-theme-800 dark:text-theme-200" />
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
<div className={classNames("flex flex-wrap items-center gap-0.5", !data && "animate-pulse")}>
|
||||||
|
{mappings.map((mapping) => (
|
||||||
|
<div key={mapping.label} className="flex flex-col items-center justify-center px-1 text-xs">
|
||||||
|
<span className="text-theme-800 dark:text-theme-200">{mapping.label}</span>
|
||||||
|
<span className="text-theme-800/70 dark:text-theme-200/50">
|
||||||
|
{data ? formatValue(t, mapping, getValue(mapping.field, data)) : "-"}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{label && <WidgetLabel label={label} />}
|
||||||
|
</Raw>
|
||||||
|
</Container>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,117 @@
|
|||||||
|
// @vitest-environment jsdom
|
||||||
|
|
||||||
|
import { screen } from "@testing-library/react";
|
||||||
|
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
|
|
||||||
|
import { renderWithProviders } from "test-utils/render-with-providers";
|
||||||
|
|
||||||
|
const { useSWR } = vi.hoisted(() => ({ useSWR: vi.fn() }));
|
||||||
|
vi.mock("swr", () => ({ default: useSWR }));
|
||||||
|
|
||||||
|
vi.mock("components/resolvedicon", () => ({
|
||||||
|
default: ({ icon }) => <div data-testid="resolved-icon" data-icon={icon} />,
|
||||||
|
}));
|
||||||
|
|
||||||
|
import CustomApi from "./customapi";
|
||||||
|
|
||||||
|
const settings = { settings: { target: "_self" } };
|
||||||
|
|
||||||
|
describe("components/widgets/customapi", () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
vi.clearAllMocks();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("shows GitHub repo stats once loaded, with the fallback icon and a label", () => {
|
||||||
|
const options = {
|
||||||
|
index: 6,
|
||||||
|
label: "Homepage",
|
||||||
|
refreshInterval: 300000,
|
||||||
|
mappings: [
|
||||||
|
{ field: "stargazers_count", label: "Stars", format: "number" },
|
||||||
|
{ field: "open_issues_count", label: "Open", format: "number" },
|
||||||
|
{ field: "forks_count", label: "Forks", format: "number" },
|
||||||
|
],
|
||||||
|
};
|
||||||
|
|
||||||
|
useSWR.mockReturnValue({ data: undefined, error: undefined });
|
||||||
|
const { container, rerender } = renderWithProviders(<CustomApi options={options} />, settings);
|
||||||
|
|
||||||
|
expect(useSWR).toHaveBeenCalledWith("/api/widgets/customapi?index=6", { refreshInterval: 300000 });
|
||||||
|
expect(screen.getAllByText("-")).toHaveLength(3);
|
||||||
|
expect(screen.queryByTestId("resolved-icon")).toBeNull();
|
||||||
|
expect(container.querySelector("svg")).not.toBeNull();
|
||||||
|
|
||||||
|
useSWR.mockReturnValue({
|
||||||
|
data: { stargazers_count: 32809, open_issues_count: 1, forks_count: 2127, owner: { login: "gethomepage" } },
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
rerender(<CustomApi options={options} />);
|
||||||
|
|
||||||
|
expect(screen.queryByText("-")).toBeNull();
|
||||||
|
expect(screen.getByText("Stars").nextSibling).toHaveTextContent("32809");
|
||||||
|
expect(screen.getByText("Open").nextSibling).toHaveTextContent("1");
|
||||||
|
expect(screen.getByText("Forks").nextSibling).toHaveTextContent("2127");
|
||||||
|
expect(screen.getByText("Homepage")).toHaveClass("information-widget-label");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("shows a nested weather value with a configured icon and suffix", () => {
|
||||||
|
useSWR.mockReturnValue({
|
||||||
|
data: { current: { time: "2026-09-22T20:15", temperature_2m: 7.8, wind_speed_10m: 12.4 } },
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
|
||||||
|
renderWithProviders(
|
||||||
|
<CustomApi
|
||||||
|
options={{
|
||||||
|
index: 7,
|
||||||
|
icon: "mdi-thermometer",
|
||||||
|
mappings: [{ field: "current.temperature_2m", label: "Temp", format: "float", suffix: "°C" }],
|
||||||
|
}}
|
||||||
|
/>,
|
||||||
|
settings,
|
||||||
|
);
|
||||||
|
|
||||||
|
expect(useSWR).toHaveBeenCalledWith("/api/widgets/customapi?index=7", { refreshInterval: 10000 });
|
||||||
|
expect(screen.getByTestId("resolved-icon")).toHaveAttribute("data-icon", "mdi-thermometer");
|
||||||
|
expect(screen.getByText("7.8 °C")).toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("shows a status API's error field as data when it is mapped", () => {
|
||||||
|
useSWR.mockReturnValue({ data: { error: "E_NONE", pending: 3 }, error: undefined });
|
||||||
|
|
||||||
|
renderWithProviders(
|
||||||
|
<CustomApi
|
||||||
|
options={{
|
||||||
|
index: 0,
|
||||||
|
mappings: [
|
||||||
|
{ field: "error", label: "Status", remap: [{ value: "E_NONE", to: "OK" }] },
|
||||||
|
{ field: "pending", label: "Queue", format: "number" },
|
||||||
|
],
|
||||||
|
}}
|
||||||
|
/>,
|
||||||
|
settings,
|
||||||
|
);
|
||||||
|
|
||||||
|
expect(screen.queryByText("widget.api_error")).toBeNull();
|
||||||
|
expect(screen.getByText("OK")).toBeInTheDocument();
|
||||||
|
expect(screen.getByText("3")).toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("shows the error state when the upstream API fails, clamping a too-fast refresh", () => {
|
||||||
|
useSWR.mockReturnValue({
|
||||||
|
data: { error: { message: "HTTP Error", url: "api.github.com (see logs for details)" } },
|
||||||
|
error: undefined,
|
||||||
|
});
|
||||||
|
|
||||||
|
renderWithProviders(
|
||||||
|
<CustomApi
|
||||||
|
options={{ index: 6, refreshInterval: 500, mappings: [{ field: "stargazers_count", label: "Stars" }] }}
|
||||||
|
/>,
|
||||||
|
settings,
|
||||||
|
);
|
||||||
|
|
||||||
|
expect(useSWR).toHaveBeenCalledWith("/api/widgets/customapi?index=6", { refreshInterval: 1000 });
|
||||||
|
expect(screen.getByText("widget.api_error")).toBeInTheDocument();
|
||||||
|
expect(screen.queryByText("Stars")).toBeNull();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -139,6 +139,8 @@ export default function Search({ options }) {
|
|||||||
}, [selectedProvider, options, query, searchSuggestions]);
|
}, [selectedProvider, options, query, searchSuggestions]);
|
||||||
|
|
||||||
function doSearch(value) {
|
function doSearch(value) {
|
||||||
|
if (!value) return;
|
||||||
|
|
||||||
const q = encodeURIComponent(value);
|
const q = encodeURIComponent(value);
|
||||||
const { url } = selectedProvider;
|
const { url } = selectedProvider;
|
||||||
if (url) {
|
if (url) {
|
||||||
|
|||||||
@@ -24,7 +24,19 @@ vi.mock("@headlessui/react", async () => {
|
|||||||
<div>{children}</div>
|
<div>{children}</div>
|
||||||
</ComboboxContext.Provider>
|
</ComboboxContext.Provider>
|
||||||
),
|
),
|
||||||
ComboboxInput: (props) => <input {...props} />,
|
ComboboxInput: (props) => {
|
||||||
|
const ctx = useContext(ComboboxContext);
|
||||||
|
// real headlessui fires onChange(null) when the input is cleared
|
||||||
|
return (
|
||||||
|
<input
|
||||||
|
{...props}
|
||||||
|
onChange={(event) => {
|
||||||
|
props.onChange?.(event);
|
||||||
|
if (event.target.value === "") ctx?.onChange?.(null);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
},
|
||||||
ComboboxOption: ({ as: As = "div", value, children, ...props }) => {
|
ComboboxOption: ({ as: As = "div", value, children, ...props }) => {
|
||||||
const ctx = useContext(ComboboxContext);
|
const ctx = useContext(ComboboxContext);
|
||||||
const content = typeof children === "function" ? children({ active: false }) : children;
|
const content = typeof children === "function" ? children({ active: false }) : children;
|
||||||
@@ -83,6 +95,21 @@ describe("components/widgets/search", () => {
|
|||||||
openSpy.mockRestore();
|
openSpy.mockRestore();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("does not search when the input is cleared", () => {
|
||||||
|
const openSpy = vi.spyOn(window, "open").mockImplementation(() => null);
|
||||||
|
|
||||||
|
renderWithProviders(<Search options={{ provider: ["google"], showSearchSuggestions: false, target: "_self" }} />, {
|
||||||
|
settings: {},
|
||||||
|
});
|
||||||
|
|
||||||
|
const input = screen.getByPlaceholderText("search.placeholder");
|
||||||
|
fireEvent.change(input, { target: { value: "a" } });
|
||||||
|
fireEvent.change(input, { target: { value: "" } });
|
||||||
|
|
||||||
|
expect(openSpy).not.toHaveBeenCalled();
|
||||||
|
openSpy.mockRestore();
|
||||||
|
});
|
||||||
|
|
||||||
it("accepts provider configured as a string", () => {
|
it("accepts provider configured as a string", () => {
|
||||||
const openSpy = vi.spyOn(window, "open").mockImplementation(() => null);
|
const openSpy = vi.spyOn(window, "open").mockImplementation(() => null);
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ const widgetMappings = {
|
|||||||
longhorn: dynamic(() => import("components/widgets/longhorn/longhorn")),
|
longhorn: dynamic(() => import("components/widgets/longhorn/longhorn")),
|
||||||
kubernetes: dynamic(() => import("components/widgets/kubernetes/kubernetes")),
|
kubernetes: dynamic(() => import("components/widgets/kubernetes/kubernetes")),
|
||||||
stocks: dynamic(() => import("components/widgets/stocks/stocks")),
|
stocks: dynamic(() => import("components/widgets/stocks/stocks")),
|
||||||
|
customapi: dynamic(() => import("components/widgets/customapi/customapi")),
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function Widget({ widget, style }) {
|
export default function Widget({ widget, style }) {
|
||||||
|
|||||||
@@ -25,12 +25,12 @@ export default function Resource({
|
|||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<div className="text-theme-800 dark:text-theme-200 text-xs flex flex-row justify-between gap-2">
|
<div className="text-theme-800 dark:text-theme-200 text-xs flex flex-row justify-between gap-2">
|
||||||
<div className="pl-0.5">{value}</div>
|
<div className="pl-0.5 resource-value">{value}</div>
|
||||||
<div className="pr-1">{label}</div>
|
<div className="pr-1">{label}</div>
|
||||||
</div>
|
</div>
|
||||||
{expanded && (
|
{expanded && (
|
||||||
<div className="text-theme-800 dark:text-theme-200 text-xs flex flex-row justify-between gap-2">
|
<div className="text-theme-800 dark:text-theme-200 text-xs flex flex-row justify-between gap-2">
|
||||||
<div className="pl-0.5">{expandedValue}</div>
|
<div className="pl-0.5 resource-value">{expandedValue}</div>
|
||||||
<div className="pr-1">{expandedLabel}</div>
|
<div className="pr-1">{expandedLabel}</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export async function middleware(req) {
|
|||||||
return NextResponse.json({ error: "Host validation failed. See logs for more details." }, { status: 400 });
|
return NextResponse.json({ error: "Host validation failed. See logs for more details." }, { status: 400 });
|
||||||
}
|
}
|
||||||
|
|
||||||
const pathname = new URL(req.url).pathname;
|
const { pathname, search } = new URL(req.url);
|
||||||
const isPublicAuthPath = pathname.startsWith("/api/healthcheck") || pathname === "/api/config/custom.css";
|
const isPublicAuthPath = pathname.startsWith("/api/healthcheck") || pathname === "/api/config/custom.css";
|
||||||
if (authEnabled && !isPublicAuthPath) {
|
if (authEnabled && !isPublicAuthPath) {
|
||||||
// The MCP API handler authorizes both bearer tokens and Homepage sessions.
|
// The MCP API handler authorizes both bearer tokens and Homepage sessions.
|
||||||
@@ -43,7 +43,8 @@ export async function middleware(req) {
|
|||||||
const token = await getToken({ req, secret: authSecret });
|
const token = await getToken({ req, secret: authSecret });
|
||||||
if (!token) {
|
if (!token) {
|
||||||
const signInUrl = new URL("/auth/signin", req.url);
|
const signInUrl = new URL("/auth/signin", req.url);
|
||||||
signInUrl.searchParams.set("callbackUrl", "/");
|
// Same-origin by construction, so this cannot be used as an open redirect
|
||||||
|
signInUrl.searchParams.set("callbackUrl", `${pathname}${search}`);
|
||||||
return withPrivateCache(NextResponse.redirect(signInUrl));
|
return withPrivateCache(NextResponse.redirect(signInUrl));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -153,6 +153,18 @@ describe("middleware", () => {
|
|||||||
expect(String(res.url)).toContain("/auth/signin");
|
expect(String(res.url)).toContain("/auth/signin");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("preserves the requested path and query as the callback url", async () => {
|
||||||
|
process.env.HOMEPAGE_AUTH_ENABLED = "true";
|
||||||
|
process.env.HOMEPAGE_AUTH_SECRET = "secret";
|
||||||
|
|
||||||
|
getToken.mockResolvedValueOnce(null);
|
||||||
|
|
||||||
|
const middleware = await loadMiddleware();
|
||||||
|
const res = await middleware(createReq("localhost:3000", "http://localhost:3000/some/page?tab=2"));
|
||||||
|
|
||||||
|
expect(new URL(res.url).searchParams.get("callbackUrl")).toBe("/some/page?tab=2");
|
||||||
|
});
|
||||||
|
|
||||||
it("allows requests when auth is enabled and a token is present", async () => {
|
it("allows requests when auth is enabled and a token is present", async () => {
|
||||||
process.env.HOMEPAGE_AUTH_ENABLED = "true";
|
process.env.HOMEPAGE_AUTH_ENABLED = "true";
|
||||||
process.env.HOMEPAGE_AUTH_SECRET = "secret";
|
process.env.HOMEPAGE_AUTH_SECRET = "secret";
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { appWithTranslation } from "next-i18next/pages";
|
|||||||
import Head from "next/head";
|
import Head from "next/head";
|
||||||
import "styles/globals.css";
|
import "styles/globals.css";
|
||||||
import "styles/manrope.css";
|
import "styles/manrope.css";
|
||||||
|
import "styles/plex-mono.css";
|
||||||
import "styles/theme.css";
|
import "styles/theme.css";
|
||||||
import { SWRConfig } from "swr";
|
import { SWRConfig } from "swr";
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
import { getDockerStats } from "utils/docker/stats";
|
||||||
|
import createLogger from "utils/logger";
|
||||||
|
|
||||||
|
const logger = createLogger("dockerStats");
|
||||||
|
|
||||||
|
export default async function handler(req, res) {
|
||||||
|
try {
|
||||||
|
const result = await getDockerStats(req.query.server);
|
||||||
|
|
||||||
|
if (result.error) {
|
||||||
|
return res.status(500).send({ error: result.error });
|
||||||
|
}
|
||||||
|
|
||||||
|
return res.status(200).json(result);
|
||||||
|
} catch (e) {
|
||||||
|
if (e) logger.error(e);
|
||||||
|
return res.status(500).send({
|
||||||
|
error: { message: e?.message ?? "Unknown error" },
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,88 +0,0 @@
|
|||||||
import Docker from "dockerode";
|
|
||||||
|
|
||||||
import getDockerArguments from "utils/config/docker";
|
|
||||||
import createLogger from "utils/logger";
|
|
||||||
|
|
||||||
const logger = createLogger("dockerStatsService");
|
|
||||||
|
|
||||||
export default async function handler(req, res) {
|
|
||||||
const { service } = req.query;
|
|
||||||
const [containerName, containerServer] = service;
|
|
||||||
|
|
||||||
if (!containerName && !containerServer) {
|
|
||||||
return res.status(400).send({
|
|
||||||
error: "docker query parameters are required",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
const dockerArgs = getDockerArguments(containerServer);
|
|
||||||
const docker = new Docker(dockerArgs.conn);
|
|
||||||
const containers = await docker.listContainers({
|
|
||||||
all: true,
|
|
||||||
});
|
|
||||||
|
|
||||||
// bad docker connections can result in a <Buffer ...> object?
|
|
||||||
// in any case, this ensures the result is the expected array
|
|
||||||
if (!Array.isArray(containers)) {
|
|
||||||
return res.status(500).send({
|
|
||||||
error: "query failed",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
const containerNames = containers.flatMap((container) => container.Names.map((name) => name.replace(/^\//, "")));
|
|
||||||
const containerExists = containerNames.includes(containerName);
|
|
||||||
|
|
||||||
if (containerExists) {
|
|
||||||
const container = docker.getContainer(containerName);
|
|
||||||
const stats = await container.stats({ stream: false });
|
|
||||||
|
|
||||||
return res.status(200).json({
|
|
||||||
stats,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// Try with a service deployed in Docker Swarm, if enabled
|
|
||||||
if (dockerArgs.swarm) {
|
|
||||||
const tasks = await docker
|
|
||||||
.listTasks({
|
|
||||||
filters: {
|
|
||||||
service: [containerName],
|
|
||||||
// A service can have several offline containers, so we only look for an active one.
|
|
||||||
"desired-state": ["running"],
|
|
||||||
},
|
|
||||||
})
|
|
||||||
.catch(() => []);
|
|
||||||
|
|
||||||
// TODO: Show the result for all replicas/containers?
|
|
||||||
// We can only get stats for 'local' containers so try to find one
|
|
||||||
const localContainerIDs = containers.map((c) => c.Id);
|
|
||||||
const task = tasks.find((t) => localContainerIDs.includes(t.Status?.ContainerStatus?.ContainerID)) ?? tasks.at(0);
|
|
||||||
const taskContainerId = task?.Status?.ContainerStatus?.ContainerID;
|
|
||||||
|
|
||||||
if (taskContainerId) {
|
|
||||||
try {
|
|
||||||
const container = docker.getContainer(taskContainerId);
|
|
||||||
const stats = await container.stats({ stream: false });
|
|
||||||
|
|
||||||
return res.status(200).json({
|
|
||||||
stats,
|
|
||||||
});
|
|
||||||
} catch (e) {
|
|
||||||
return res.status(200).json({
|
|
||||||
error: "Unable to retrieve stats",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return res.status(404).send({
|
|
||||||
error: "not found",
|
|
||||||
});
|
|
||||||
} catch (e) {
|
|
||||||
if (e) logger.error(e);
|
|
||||||
return res.status(500).send({
|
|
||||||
error: { message: e?.message ?? "Unknown error" },
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,116 +0,0 @@
|
|||||||
import Docker from "dockerode";
|
|
||||||
|
|
||||||
import getDockerArguments from "utils/config/docker";
|
|
||||||
import createLogger from "utils/logger";
|
|
||||||
|
|
||||||
const logger = createLogger("dockerStatusService");
|
|
||||||
|
|
||||||
export default async function handler(req, res) {
|
|
||||||
const { service } = req.query;
|
|
||||||
const [containerName, containerServer] = service;
|
|
||||||
|
|
||||||
if (!containerName && !containerServer) {
|
|
||||||
return res.status(400).send({
|
|
||||||
error: "docker query parameters are required",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
const dockerArgs = getDockerArguments(containerServer);
|
|
||||||
const docker = new Docker(dockerArgs.conn);
|
|
||||||
const containers = await docker.listContainers({
|
|
||||||
all: true,
|
|
||||||
});
|
|
||||||
|
|
||||||
// bad docker connections can result in a <Buffer ...> object?
|
|
||||||
// in any case, this ensures the result is the expected array
|
|
||||||
if (!Array.isArray(containers)) {
|
|
||||||
return res.status(500).send({
|
|
||||||
error: "query failed",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
const containerNames = containers.flatMap((container) => container.Names.map((name) => name.replace(/^\//, "")));
|
|
||||||
const containerExists = containerNames.includes(containerName);
|
|
||||||
|
|
||||||
if (containerExists) {
|
|
||||||
const container = docker.getContainer(containerName);
|
|
||||||
const info = await container.inspect();
|
|
||||||
|
|
||||||
return res.status(200).json({
|
|
||||||
status: info.State.Status,
|
|
||||||
health: info.State.Health?.Status,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (dockerArgs.swarm) {
|
|
||||||
const serviceInfo = await docker
|
|
||||||
.getService(containerName)
|
|
||||||
.inspect()
|
|
||||||
.catch(() => undefined);
|
|
||||||
|
|
||||||
if (!serviceInfo) {
|
|
||||||
return res.status(404).send({
|
|
||||||
status: "not found",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
const tasks = await docker
|
|
||||||
.listTasks({
|
|
||||||
filters: {
|
|
||||||
service: [containerName],
|
|
||||||
"desired-state": ["running"],
|
|
||||||
},
|
|
||||||
})
|
|
||||||
.catch(() => []);
|
|
||||||
|
|
||||||
if (serviceInfo.Spec.Mode?.Replicated) {
|
|
||||||
// Replicated service, check n replicas
|
|
||||||
const replicas = parseInt(serviceInfo.Spec.Mode?.Replicated?.Replicas, 10);
|
|
||||||
if (tasks.length === replicas) {
|
|
||||||
return res.status(200).json({
|
|
||||||
status: `running ${tasks.length}/${replicas}`,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (tasks.length > 0) {
|
|
||||||
return res.status(200).json({
|
|
||||||
status: `partial ${tasks.length}/${replicas}`,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// Global service, prefer 'local' containers
|
|
||||||
const localContainerIDs = containers.map((c) => c.Id);
|
|
||||||
const task =
|
|
||||||
tasks.find((t) => localContainerIDs.includes(t.Status?.ContainerStatus?.ContainerID)) ?? tasks.at(0);
|
|
||||||
const taskContainerId = task?.Status?.ContainerStatus?.ContainerID;
|
|
||||||
|
|
||||||
if (taskContainerId) {
|
|
||||||
try {
|
|
||||||
const container = docker.getContainer(taskContainerId);
|
|
||||||
const info = await container.inspect();
|
|
||||||
|
|
||||||
return res.status(200).json({
|
|
||||||
status: info.State.Status,
|
|
||||||
health: info.State.Health?.Status,
|
|
||||||
});
|
|
||||||
} catch (e) {
|
|
||||||
if (task) {
|
|
||||||
return res.status(200).json({
|
|
||||||
status: task.Status.State,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return res.status(404).send({
|
|
||||||
status: "not found",
|
|
||||||
});
|
|
||||||
} catch (e) {
|
|
||||||
if (e) logger.error(e);
|
|
||||||
return res.status(500).send({
|
|
||||||
error: { message: e?.message ?? "Unknown error" },
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||