Compare commits

..

29 Commits

Author SHA1 Message Date
github-actions[bot]
12ec1cfdcb New Crowdin translations by GitHub Action (#3270)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-04-17 01:42:55 -07:00
shamoon
303a62369f Fix: pihole ads_percentage_today sometimes returned as string (#3313) 2024-04-16 15:50:32 -07:00
shamoon
034f6d29d6 Docs: show carbon ads on more pages too 2024-04-15 12:53:15 -07:00
Ben Phelps
60098d3909 Docs: move Carbon ads to sidebar (#3302) 2024-04-15 12:20:39 -07:00
Ben Phelps
2c68f1e7ee place carbon ads in docs (#3296)
* place carbon ads in docs

* fix lint

* keep 4 space tabs
2024-04-15 15:59:30 +03:00
brikim
bfd392026d Enhancement: option to show user for Tautulli and Emby/Jellyfin widgets (#3287)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-04-12 20:33:40 -07:00
shamoon
c18fd02c8e Fix typo in crowdsec docs 2024-04-08 15:19:35 -07:00
github-actions[bot]
ffad2b890e New Crowdin translations by GitHub Action (#3199)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-04-08 10:20:52 -07:00
shamoon
4239e8fe97 Update contributing / development guidelines 2024-04-08 08:11:55 -07:00
shamoon
f82a122e26 Fix site monitor with error 2024-04-06 20:00:16 -07:00
shamoon
d49a06efd9 Fix: rename pialert to netalertx (#3253) 2024-04-06 17:35:12 -07:00
mrmorganmurphy
9904c2db2f Documentation: update diskstation instructions (#3230) 2024-04-03 10:03:12 -07:00
XavierDupuis
60db01cc57 Documentation: fix allowed fields uniformity (#3224) 2024-04-02 15:42:34 -07:00
rgon10
4e69ea6088 Fix: TrueNAS Core support for pool stats (#3206)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-04-01 14:32:39 -07:00
dependabot[bot]
268d8efa0e Chore(deps-dev): Bump tailwindcss from 3.4.1 to 3.4.3 (#3214)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.1 to 3.4.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.3/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.1...v3.4.3)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:18:39 -07:00
dependabot[bot]
43bbb69d53 Chore(deps-dev): Bump eslint-plugin-react from 7.33.2 to 7.34.1 (#3213)
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.33.2 to 7.34.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.34.1/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:18:29 -07:00
dependabot[bot]
cdfb5a11f7 Chore(deps): Bump recharts from 2.12.2 to 2.12.3 (#3215)
Bumps [recharts](https://github.com/recharts/recharts) from 2.12.2 to 2.12.3.
- [Release notes](https://github.com/recharts/recharts/releases)
- [Changelog](https://github.com/recharts/recharts/blob/3.x/CHANGELOG.md)
- [Commits](https://github.com/recharts/recharts/compare/v2.12.2...v2.12.3)

---
updated-dependencies:
- dependency-name: recharts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:18:07 -07:00
Luca Herrero
2ebcb311e8 Fix: homebridge widget with numeric username or password (#3220) 2024-04-01 14:17:56 -07:00
dependabot[bot]
0d7b77260f Chore(deps-dev): Bump postcss from 8.4.35 to 8.4.38 (#3212)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.35 to 8.4.38.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.35...8.4.38)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 10:18:28 -07:00
dependabot[bot]
6f07acab15 Chore(deps): Bump follow-redirects from 1.15.5 to 1.15.6 (#3211)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 10:17:34 -07:00
shamoon
29447c55ff Fix: remove invalid form attribute (#3210) 2024-04-01 07:49:58 -07:00
Jalin Wang
dd819ad677 Documentation: correct link for Docker automatic service discovery (#3208) 2024-04-01 07:25:14 -07:00
Jalin Wang
212e517ebb Chore: fix ypos in the PR template (#3209)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-04-01 07:23:52 -07:00
shamoon
29ac7bfea7 Feature: Support pi-hole v6 (#3207) 2024-03-31 20:34:46 -07:00
shamoon
b0d57866a0 Fix glances service widgets handling of default version 2024-03-29 06:32:25 -07:00
shamoon
97d193faf1 Fix crowdsec widget with no bans / alerts 2024-03-28 21:50:10 -07:00
shamoon
d4c0e482d3 Feature: crowdsec widget (#3197) 2024-03-28 13:39:40 -07:00
shamoon
def9b27006 Enhancement: support for glances v4 (#3196) 2024-03-28 11:16:00 -05:00
ThorTheStorm
4fe4ae9622 Documentation: Update authentik api key info (#3195)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-03-28 09:51:07 -05:00
100 changed files with 2618 additions and 1450 deletions

View File

@@ -1,12 +1,12 @@
## Proposed change ## Proposed change
<!-- <!--
Please include a summary of the change. Screenshots and / or videos can also be helpful if appropriate. Please include a summary of the change. Screenshots and/or videos can also be helpful if appropriate.
*** Please see the development guidelines for new widgets: https://gethomepage.dev/latest/more/development/#service-widget-guidelines *** Please see the development guidelines for new widgets: https://gethomepage.dev/latest/more/development/#service-widget-guidelines
*** If you do not follow these guidelines your PR will likely be closed without review. *** If you do not follow these guidelines your PR will likely be closed without review.
New service widgets should include example(s) of relevant relevant API output as well updates to the docs for the new widget. New service widgets should include example(s) of relevant API output as well as updates to the docs for the new widget.
--> -->
Closes # (issue) Closes # (issue)

View File

@@ -48,11 +48,15 @@ Please see information in the docs regarding [code formatting with pre-commit ho
By contributing, you agree that your contributions will be licensed under its GNU General Public License. By contributing, you agree that your contributions will be licensed under its GNU General Public License.
## Use of AI for pull requests
In general, homepage does not accept "AI-generated" PRs. If you choose to use something like that to aid the development process to generate a significant proportion of the pull request, please make sure this is explicitly stated in the PR itself.
## References ## References
This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/main/CONTRIBUTING.md) This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/main/CONTRIBUTING.md)
# Automatic Respository Maintenance ## Automatic Respository Maintenance
The homepage team appreciates all effort and interest from the community in filing bug reports, creating feature requests, sharing ideas and helping other community members. That said, in an effort to keep the repository organized and managebale the project uses automatic handling of certain areas: The homepage team appreciates all effort and interest from the community in filing bug reports, creating feature requests, sharing ideas and helping other community members. That said, in an effort to keep the repository organized and managebale the project uses automatic handling of certain areas:

View File

@@ -41,7 +41,7 @@ With features like quick search, bookmarks, weather support, a wide range of int
## Docker Integration ## Docker Integration
Homepage has built-in support for Docker, and can automatically discover and add services to the homepage based on labels. See the [Docker](https://gethomepage.dev/latest/installation/docker/) page for more information. Homepage has built-in support for Docker, and can automatically discover and add services to the homepage based on labels. See the [Docker Service Discovery](https://gethomepage.dev/latest/configs/docker/#automatic-service-discovery) page for more information.
## Service Widgets ## Service Widgets

View File

@@ -39,6 +39,11 @@ Once installed, hooks will run when you commit. If the formatting isn't quite ri
See the [pre-commit documentation](https://pre-commit.com/#install) to get started. See the [pre-commit documentation](https://pre-commit.com/#install) to get started.
## Preferring self-hosted open-source software
In general, homepage is meant to be a dashboard for 'self-hosted' services and we believe it is a small way we can help showcase this kind of software. While exceptions are made, mostly when there is no viable
self-hosted / open-source alternative, we ask that any widgets, etc. are developed primarily for a self-hosted tool.
## New Feature Guidelines ## New Feature Guidelines
- New features should be linked to an existing feature request with at least 10 'up-votes'. The purpose of this requirement is to avoid the addition (and maintenance) of features that might only benefit a small number of users. - New features should be linked to an existing feature request with at least 10 'up-votes'. The purpose of this requirement is to avoid the addition (and maintenance) of features that might only benefit a small number of users.

47
docs/overrides/main.html Normal file
View File

@@ -0,0 +1,47 @@
{% extends "base.html" %}
{% block site_nav %}
<!-- Navigation -->
{% if nav %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "navigation" in page.meta.hide %}
{% endif %}
<div
class="md-sidebar md-sidebar--primary"
data-md-component="sidebar"
data-md-type="navigation"
{{ hidden }}
>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/nav.html" %}
{% if 'widgets/' not in page.url and 'more/' not in page.url %}
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CWYIL2JU&placement=gethomepagedev&format=cover" id="_carbonads_js"></script>
{% endif %}
</div>
</div>
</div>
{% endif %}
<!-- Table of contents -->
{% if "toc.integrate" not in features %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "toc" in page.meta.hide %}
{% endif %}
<div
class="md-sidebar md-sidebar--secondary"
data-md-component="sidebar"
data-md-type="toc"
{{ hidden }}
>
<div class="md-sidebar__scrollwrap" style="height: 200px;">
<div class="md-sidebar__inner">
{% include "partials/toc.html" %}
{% if 'widgets/' in page.url or 'more/' in page.url %}
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CWYIL2JU&placement=gethomepagedev&format=cover" id="_carbonads_js"></script>
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endblock %}

View File

@@ -22,3 +22,15 @@
#glimeRoot * { #glimeRoot * {
font-family: var(--md-text-font) !important; font-family: var(--md-text-font) !important;
} }
#carbonads {
margin-top: 10px;
}
#carbon-responsive {
--carbon-padding: 1em;
--carbon-max-char: 20ch;
--carbon-bg-primary: var(--md-default-bg-color) !important;
--carbon-bg-secondary: var(--md-default-fg-color--lightest) !important;
--carbon-text-color: var(--md-typeset-color) !important;
}

View File

@@ -12,6 +12,7 @@ The Glances widget allows you to monitor the resources (CPU, memory, storage, te
url: http://host.or.ip:port url: http://host.or.ip:port
username: user # optional if auth enabled in Glances username: user # optional if auth enabled in Glances
password: pass # optional if auth enabled in Glances password: pass # optional if auth enabled in Glances
version: 4 # required only if running glances v4 or higher, defaults to 3
cpu: true # optional, enabled by default, disable by setting to false cpu: true # optional, enabled by default, disable by setting to false
mem: true # optional, enabled by default, disable by setting to false mem: true # optional, enabled by default, disable by setting to false
cputemp: true # disabled by default cputemp: true # disabled by default

View File

@@ -7,14 +7,15 @@ Learn more about [Authentik](https://github.com/goauthentik/authentik).
This widget reads the number of active users in the system, as well as logins for the last 24 hours. This widget reads the number of active users in the system, as well as logins for the last 24 hours.
You will need to generate an API token for an existing user. To do so follow these steps: You will need to generate an API token for an existing user under `Admin Portal` > `Directory` > `Tokens & App passwords`.
Make sure to set Intent to "API Token".
1. Navigate to the Authentik Admin Portal The account you made the API token for also needs the following **Assigned global permissions** in Authentik:
2. Expand Directory, the click Tokens & App passwords
3. Click the Create button - authentik Core
4. Fill out the dialog making sure to set Intent to API Token - User
5. Click the Create button on the dialog - authentik Events
6. Click the copy button on the far right of the newly created API Token - Event
Allowed fields: `["users", "loginsLast24H", "failedLoginsLast24H"]`. Allowed fields: `["users", "loginsLast24H", "failedLoginsLast24H"]`.

View File

@@ -7,10 +7,10 @@ Learn more about [Azure DevOps](https://azure.microsoft.com/en-us/products/devop
This widget has 2 functions: This widget has 2 functions:
1. Pipelines: checks if the relevant pipeline is running or not, and if not, reports the last status.\ 1. Pipelines: checks if the relevant pipeline is running or not, and if not, reports the last status.<br>
Allowed fields: `["result", "status"]`. Allowed fields: `["result", "status"]`.
2. Pull Requests: returns the amount of open PRs, the amount of the PRs you have open, and how many PRs that you open are marked as 'Approved' by at least 1 person and not yet completed.\ 2. Pull Requests: returns the amount of open PRs, the amount of the PRs you have open, and how many PRs that you open are marked as 'Approved' by at least 1 person and not yet completed.<br>
Allowed fields: `["totalPrs", "myPrs", "approved"]`. Allowed fields: `["totalPrs", "myPrs", "approved"]`.
You will need to generate a personal access token for an existing user, see the [azure documentation](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#create-a-pat) You will need to generate a personal access token for an existing user, see the [azure documentation](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#create-a-pat)

View File

@@ -0,0 +1,19 @@
---
title: Crowdsec
description: Crowdsec Widget Configuration
---
Learn more about [Crowdsec](https://crowdsec.net).
See the [crowdsec docs](https://docs.crowdsec.net/docs/local_api/intro/#machines) for information about registering a machine,
in most instances you can use the default credentials (`/etc/crowdsec/local_api_credentials.yaml`).
Allowed fields: `["alerts", "bans"]`.
```yaml
widget:
type: crowdsec
url: http://crowdsechostorip:port
username: localhost # machine_id in crowdsec
password: password
```

View File

@@ -11,22 +11,27 @@ An optional 'volume' parameter can be supplied to specify which volume's free sp
Allowed fields: `["uptime", "volumeAvailable", "resources.cpu", "resources.mem"]`. Allowed fields: `["uptime", "volumeAvailable", "resources.cpu", "resources.mem"]`.
To access these system metrics you need to connect to the DiskStation with an account that is a member of the default `Administrators` group. That is because these metrics are requested from the API's `SYNO.Core.System` part that is only available to admin users. In order to keep the security impact as small as possible we can set the account in DSM up to limit the user's permissions inside the Synology system. In DSM 7.x, for instance, follow these steps: To access these system metrics you need to connect to the DiskStation (`DSM`) with an account that is a member of the default `Administrators` group. That is because these metrics are requested from the API's `SYNO.Core.System` part that is only available to admin users. In order to keep the security impact as small as possible we can set the account in DSM up to limit the user's permissions inside the Synology system. In DSM 7.x, for instance, follow these steps:
1. Create a new user, i.e. `remote_stats`. 1. Create a new user, i.e. `remote_stats`.
2. Set up a strong password for the new user 2. Set up a strong password for the new user
3. Under the `User Groups` tab of the user config dialogue check the box for `Administrators`. 3. Under the `User Groups` tab of the user config dialogue check the box for `Administrators`.
4. On the `Permissions` tab check the top box for `No Access`, effectively prohibiting the user from accessing anything in the shared folders. 4. On the `Permissions` tab check the top box for `No Access`, effectively prohibiting the user from accessing anything in the shared folders.
5. Under `Applications` check the box next to `Deny` in the header to explicitly prohibit login to all applications. 5. Under `Applications` check the box next to `Deny` in the header to explicitly prohibit login to all applications.
6. Now _only_ allow login to the `Download Station` application, either by 6. Now _only_ allow login to the `DSM` application, either by
- unchecking `Deny` in the respective row, or (if inheriting permission doesn't work because of other group settings) - unchecking `Deny` in the respective row, or (if inheriting permission doesn't work because of other group settings)
- checking `Allow` for this app, or - checking `Allow` for this app, or
- checking `By IP` for this app to limit the source of login attempts to one or more IP addresses/subnets. - checking `By IP` for this app to limit the source of login attempts to one or more IP addresses/subnets.
7. When the `Preview` column shows `Allow` in the `Download Station` row, click `Save`. 7. When the `Preview` column shows `Allow` in the `DSM` row, click `Save`.
Now configure the widget with the correct login information and test it. Now configure the widget with the correct login information and test it.
If you encounter issues during testing, make sure to uncheck the option for automatic blocking due to invalid logins under `Control Panel > Security > Protection`. If desired, this setting can be reactivated once the login is established working. If you encounter issues during testing:
1. Make sure to uncheck the option for automatic blocking due to invalid logins under `Control Panel > Security > Protection`.
- If desired, this setting can be reactivated once the login is established working.
2. Login to your Synology DSM with the newly created account and accept terms and conditions.
3. Reattempt
```yaml ```yaml
widget: widget:

View File

@@ -16,4 +16,5 @@ widget:
key: apikeyapikeyapikeyapikeyapikey key: apikeyapikeyapikeyapikeyapikey
enableBlocks: true # optional, defaults to false enableBlocks: true # optional, defaults to false
enableNowPlaying: true # optional, defaults to true enableNowPlaying: true # optional, defaults to true
enableUser: true # optional, defaults to false
``` ```

View File

@@ -7,7 +7,7 @@ Learn more about [Gitea](https://gitea.com).
API token requires `notifications`, `repository` and `issue` permissions. See the [gitea documentation](https://docs.gitea.com/development/api-usage#generating-and-listing-api-tokens) for details on generating tokens. API token requires `notifications`, `repository` and `issue` permissions. See the [gitea documentation](https://docs.gitea.com/development/api-usage#generating-and-listing-api-tokens) for details on generating tokens.
Allowed fields: ["notifications", "issues", "pulls"] Allowed fields: `["notifications", "issues", "pulls"]`.
```yaml ```yaml
widget: widget:

View File

@@ -17,6 +17,7 @@ widget:
url: http://glances.host.or.ip:port url: http://glances.host.or.ip:port
username: user # optional if auth enabled in Glances username: user # optional if auth enabled in Glances
password: pass # optional if auth enabled in Glances password: pass # optional if auth enabled in Glances
version: 4 # required only if running glances v4 or higher, defaults to 3
metric: cpu metric: cpu
diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
refreshInterval: 5000 # optional - in milliseconds, defaults to 1000 or more, depending on the metric refreshInterval: 5000 # optional - in milliseconds, defaults to 1000 or more, depending on the metric

View File

@@ -0,0 +1,16 @@
---
title: NetAlertX
description: NetAlertX (formerly PiAlert) Widget Configuration
---
Learn more about [NetAlertX](https://github.com/jokob-sk/NetAlertX).
_Note that the project was renamed from PiAlert to NetAlertX._
Allowed fields: `["total", "connected", "new_devices", "down_alerts"]`.
```yaml
widget:
type: netalertx
url: http://ip:port
```

View File

@@ -9,7 +9,7 @@ This widget adds support for [Network UPS Tools](https://networkupstools.org/) v
The default ups name is `ups`. To configure more than one ups, you must create multiple peanut services. The default ups name is `ups`. To configure more than one ups, you must create multiple peanut services.
Allowed fields: `["battery_charge", "ups_load", "ups_status"]` Allowed fields: `["battery_charge", "ups_load", "ups_status"]`.
!!! note !!! note

View File

@@ -1,16 +0,0 @@
---
title: PiAlert
description: PiAlert Widget Configuration
---
Learn more about [PiAlert](https://github.com/jokob-sk/Pi.Alert).
Note that [pucherot/PiAlert](https://github.com/pucherot/Pi.Alert) has been abandoned and might not work properly.
Allowed fields: `["total", "connected", "new_devices", "down_alerts"]`.
```yaml
widget:
type: pialert
url: http://ip:port
```

View File

@@ -15,6 +15,7 @@ Note: by default the "blocked" and "blocked_percent" fields are merged e.g. "1,2
widget: widget:
type: pihole type: pihole
url: http://pi.hole.or.ip url: http://pi.hole.or.ip
version: 6 # required if running v6 or higher, defaults to 5
key: yourpiholeapikey # optional key: yourpiholeapikey # optional
``` ```

View File

@@ -14,4 +14,5 @@ widget:
type: tautulli type: tautulli
url: http://tautulli.host.or.ip url: http://tautulli.host.or.ip
key: apikeyapikeyapikeyapikeyapikey key: apikeyapikeyapikeyapikeyapikey
enableUser: true # optional, defaults to false
``` ```

View File

@@ -5,7 +5,7 @@ description: Prometheus Widget Configuration
Learn more about [Prometheus](https://github.com/prometheus/prometheus). Learn more about [Prometheus](https://github.com/prometheus/prometheus).
Allowed fields: `["targets_up", "targets_down", "targets_total"]` Allowed fields: `["targets_up", "targets_down", "targets_total"]`.
```yaml ```yaml
widget: widget:

View File

@@ -5,7 +5,7 @@ description: Pterodactyl Widget Configuration
Learn more about [Pterodactyl](https://github.com/pterodactyl). Learn more about [Pterodactyl](https://github.com/pterodactyl).
Allowed fields: `["nodes", "servers"]` Allowed fields: `["nodes", "servers"]`.
```yaml ```yaml
widget: widget:

View File

@@ -11,6 +11,8 @@ To create an API Key, follow [the official TrueNAS documentation](https://www.tr
A detailed pool listing is disabled by default, but can be enabled with the `enablePools` option. A detailed pool listing is disabled by default, but can be enabled with the `enablePools` option.
To use the `enablePools` option with TrueNAS Core, the `nasType` parameter is required.
```yaml ```yaml
widget: widget:
type: truenas type: truenas
@@ -19,4 +21,5 @@ widget:
password: pass # not required if using api key password: pass # not required if using api key
key: yourtruenasapikey # not required if using username / password key: yourtruenasapikey # not required if using username / password
enablePools: true # optional, defaults to false enablePools: true # optional, defaults to false
nasType: scale # defaults to scale, must be set to 'core' if using enablePools with TrueNAS Core
``` ```

View File

@@ -44,6 +44,7 @@ nav:
- widgets/services/channelsdvrserver.md - widgets/services/channelsdvrserver.md
- widgets/services/cloudflared.md - widgets/services/cloudflared.md
- widgets/services/coin-market-cap.md - widgets/services/coin-market-cap.md
- widgets/services/crowdsec.md
- widgets/services/customapi.md - widgets/services/customapi.md
- widgets/services/deluge.md - widgets/services/deluge.md
- widgets/services/diskstation.md - widgets/services/diskstation.md
@@ -89,6 +90,7 @@ nav:
- widgets/services/mylar.md - widgets/services/mylar.md
- widgets/services/navidrome.md - widgets/services/navidrome.md
- widgets/services/netdata.md - widgets/services/netdata.md
- widgets/services/netalertx.md
- widgets/services/nextcloud.md - widgets/services/nextcloud.md
- widgets/services/nextdns.md - widgets/services/nextdns.md
- widgets/services/nginx-proxy-manager.md - widgets/services/nginx-proxy-manager.md
@@ -99,12 +101,12 @@ nav:
- widgets/services/opendtu.md - widgets/services/opendtu.md
- widgets/services/openmediavault.md - widgets/services/openmediavault.md
- widgets/services/opnsense.md - widgets/services/opnsense.md
- widgets/services/openwrt.md
- widgets/services/overseerr.md - widgets/services/overseerr.md
- widgets/services/paperlessngx.md - widgets/services/paperlessngx.md
- widgets/services/peanut.md - widgets/services/peanut.md
- widgets/services/pfsense.md - widgets/services/pfsense.md
- widgets/services/photoprism.md - widgets/services/photoprism.md
- widgets/services/pialert.md
- widgets/services/pihole.md - widgets/services/pihole.md
- widgets/services/plantit.md - widgets/services/plantit.md
- widgets/services/plex-tautulli.md - widgets/services/plex-tautulli.md
@@ -129,6 +131,7 @@ nav:
- widgets/services/stash.md - widgets/services/stash.md
- widgets/services/syncthing-relay-server.md - widgets/services/syncthing-relay-server.md
- widgets/services/tailscale.md - widgets/services/tailscale.md
- widgets/services/tandoor.md
- widgets/services/tdarr.md - widgets/services/tdarr.md
- widgets/services/traefik.md - widgets/services/traefik.md
- widgets/services/transmission.md - widgets/services/transmission.md
@@ -165,6 +168,7 @@ nav:
theme: theme:
name: material name: material
custom_dir: docs/overrides
language: en language: en
palette: palette:
- media: "(prefers-color-scheme)" - media: "(prefers-color-scheme)"

660
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,7 @@
"classnames": "^2.5.1", "classnames": "^2.5.1",
"compare-versions": "^6.1.0", "compare-versions": "^6.1.0",
"dockerode": "^4.0.2", "dockerode": "^4.0.2",
"follow-redirects": "^1.15.5", "follow-redirects": "^1.15.6",
"gamedig": "^4.3.1", "gamedig": "^4.3.1",
"i18next": "^21.10.0", "i18next": "^21.10.0",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
@@ -33,7 +33,7 @@
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-i18next": "^11.18.6", "react-i18next": "^11.18.6",
"react-icons": "^4.12.0", "react-icons": "^4.12.0",
"recharts": "^2.12.2", "recharts": "^2.12.3",
"rrule": "^2.8.1", "rrule": "^2.8.1",
"swr": "^1.3.0", "swr": "^1.3.0",
"systeminformation": "^5.22.0", "systeminformation": "^5.22.0",
@@ -52,12 +52,12 @@
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2", "eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.35", "postcss": "^8.4.38",
"prettier": "^3.2.5", "prettier": "^3.2.5",
"tailwind-scrollbar": "^3.0.5", "tailwind-scrollbar": "^3.0.5",
"tailwindcss": "^3.4.1", "tailwindcss": "^3.4.3",
"typescript": "^4.9.5" "typescript": "^4.9.5"
}, },
"optionalDependencies": { "optionalDependencies": {

553
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -277,7 +277,7 @@
"approved": "Goedgekeur", "approved": "Goedgekeur",
"available": "Beskikbaar" "available": "Beskikbaar"
}, },
"pialert": { "netalertx": {
"total": "Totaal", "total": "Totaal",
"connected": "Gekoppel", "connected": "Gekoppel",
"new_devices": "Nuwe Toestelle", "new_devices": "Nuwe Toestelle",
@@ -872,5 +872,9 @@
"labels": "Etikette", "labels": "Etikette",
"users": "Gebruikers", "users": "Gebruikers",
"totalValue": "Totale Waarde" "totalValue": "Totale Waarde"
},
"crowdsec": {
"alerts": "Waarskuwings",
"bans": "Verbanne"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "في انتظار قطع الاتصال", "connectionStatusPendingDisconnect": "في انتظار قطع الاتصال",
"connectionStatusDisconnecting": "جار قطع الاتصال", "connectionStatusDisconnecting": "جار قطع الاتصال",
"connectionStatusDisconnected": "غير متصل", "connectionStatusDisconnected": "غير متصل",
"connectionStatusConnected": "متصل", "connectionStatusConnected": "Connected",
"uptime": "مدة التشغيل", "uptime": "مدة التشغيل",
"maxDown": "أقصى حد للتنزيل", "maxDown": "أقصى حد للتنزيل",
"maxUp": "أقصى حد للتحميل", "maxUp": "أقصى حد للتحميل",
@@ -277,11 +277,11 @@
"approved": "مصدق", "approved": "مصدق",
"available": "متاح" "available": "متاح"
}, },
"pialert": { "netalertx": {
"total": "المجموع", "total": "المجموع",
"connected": "متصل", "connected": "Connected",
"new_devices": "أجهزة جديدة", "new_devices": "New Devices",
"down_alerts": "تنبيهات تعطل الخوادم" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "الاستعلامات", "queries": "الاستعلامات",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "المستخدمون", "users": "المستخدمون",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "تنبيهات",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Pending Disconnect", "connectionStatusPendingDisconnect": "Pending Disconnect",
"connectionStatusDisconnecting": "Disconnecting", "connectionStatusDisconnecting": "Disconnecting",
"connectionStatusDisconnected": "Disconnected", "connectionStatusDisconnected": "Disconnected",
"connectionStatusConnected": "Свързано", "connectionStatusConnected": "Connected",
"uptime": "Uptime", "uptime": "Uptime",
"maxDown": "Max. Down", "maxDown": "Max. Down",
"maxUp": "Max. Up", "maxUp": "Max. Up",
@@ -277,10 +277,10 @@
"approved": "Одобрен", "approved": "Одобрен",
"available": "Наличен" "available": "Наличен"
}, },
"pialert": { "netalertx": {
"total": "Общо", "total": "Общо",
"connected": "Свързано", "connected": "Connected",
"new_devices": "Нови устройства", "new_devices": "New Devices",
"down_alerts": "Down Alerts" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Потребители", "users": "Потребители",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Предупреждения",
"bans": "Bans"
} }
} }

View File

@@ -14,7 +14,7 @@
"date": "{{value, date}}", "date": "{{value, date}}",
"relativeDate": "{{value, relativeDate}}", "relativeDate": "{{value, relativeDate}}",
"uptime": "{{value, uptime}}", "uptime": "{{value, uptime}}",
"months": "mo", "months": "mes",
"days": "d", "days": "d",
"hours": "h", "hours": "h",
"minutes": "m", "minutes": "m",
@@ -46,8 +46,8 @@
"used": "Utilitzat", "used": "Utilitzat",
"load": "Càrrega", "load": "Càrrega",
"temp": "TEMP", "temp": "TEMP",
"max": "Max", "max": "Màx.",
"uptime": "UP" "uptime": "ACTIU"
}, },
"unifi": { "unifi": {
"users": "Usuaris", "users": "Usuaris",
@@ -61,65 +61,65 @@
"wlan_devices": "Dispositius WLAN", "wlan_devices": "Dispositius WLAN",
"lan_users": "Usuaris LAN", "lan_users": "Usuaris LAN",
"wlan_users": "Usuaris WLAN", "wlan_users": "Usuaris WLAN",
"up": "UP", "up": "ACTIU",
"down": "INACTIU", "down": "INACTIU",
"wait": "Si us plau, espereu", "wait": "Si us plau, espereu",
"empty_data": "Subsystem status unknown" "empty_data": "Estat del subsistema desconegut"
}, },
"docker": { "docker": {
"rx": "Rebut", "rx": "Rebut",
"tx": "Transmès", "tx": "Transmès",
"mem": "MEM", "mem": "MEM",
"cpu": "CPU", "cpu": "CPU",
"running": "Running", "running": "En execució",
"offline": "Fora de línia", "offline": "Fora de línia",
"error": "Error", "error": "Error",
"unknown": "Desconegut", "unknown": "Desconegut",
"healthy": "Healthy", "healthy": "Saludable",
"starting": "Starting", "starting": "Iniciant",
"unhealthy": "Unhealthy", "unhealthy": "No saludable",
"not_found": "Not Found", "not_found": "No trobat",
"exited": "Exited", "exited": "Tancat",
"partial": "Partial" "partial": "Parcial"
}, },
"ping": { "ping": {
"error": "Error", "error": "Error",
"ping": "Ping", "ping": "Latència",
"down": "Down", "down": "Inactiu",
"up": "Up", "up": "Actiu",
"not_available": "Not Available" "not_available": "No Disponible"
}, },
"siteMonitor": { "siteMonitor": {
"http_status": "HTTP status", "http_status": "Estat HTTP",
"error": "Error", "error": "Error",
"response": "Response", "response": "Resposta",
"down": "Down", "down": "Inactiu",
"up": "Up", "up": "Actiu",
"not_available": "Not Available" "not_available": "No Disponible"
}, },
"emby": { "emby": {
"playing": "Reproduint", "playing": "Reproduint",
"transcoding": "Transcodificant", "transcoding": "Transcodificant",
"bitrate": "Taxa de bits", "bitrate": "Taxa de bits",
"no_active": "Sense reproduccions actives", "no_active": "Sense reproduccions actives",
"movies": "Movies", "movies": "Pel·lícules",
"series": "Series", "series": "Sèries",
"episodes": "Episodes", "episodes": "Episodis",
"songs": "Songs" "songs": "Cançons"
}, },
"esphome": { "esphome": {
"offline": "Fora de línia", "offline": "Fora de línia",
"offline_alt": "Fora de línia", "offline_alt": "Fora de línia",
"online": "Online", "online": "En línia",
"total": "Total", "total": "Total",
"unknown": "Desconegut" "unknown": "Desconegut"
}, },
"evcc": { "evcc": {
"pv_power": "Production", "pv_power": "Producció",
"battery_soc": "Battery", "battery_soc": "Bateria",
"grid_power": "Grid", "grid_power": "Xarxa",
"home_power": "Consumption", "home_power": "Consum",
"charge_power": "Charger", "charge_power": "Carregador",
"watt_hour": "Wh" "watt_hour": "Wh"
}, },
"flood": { "flood": {
@@ -129,55 +129,55 @@
"seed": "Llavor" "seed": "Llavor"
}, },
"freshrss": { "freshrss": {
"subscriptions": "Subscriptions", "subscriptions": "Subcripcions",
"unread": "Unread" "unread": "Sense llegir"
}, },
"fritzbox": { "fritzbox": {
"connectionStatus": "Estat", "connectionStatus": "Estat",
"connectionStatusUnconfigured": "Unconfigured", "connectionStatusUnconfigured": "Sense configurar",
"connectionStatusConnecting": "Connecting", "connectionStatusConnecting": "Connectant",
"connectionStatusAuthenticating": "Authenticating", "connectionStatusAuthenticating": "Autenticant",
"connectionStatusPendingDisconnect": "Pending Disconnect", "connectionStatusPendingDisconnect": "Desconnexió pendent",
"connectionStatusDisconnecting": "Disconnecting", "connectionStatusDisconnecting": "Desconnectant",
"connectionStatusDisconnected": "Disconnected", "connectionStatusDisconnected": "Desconnectat",
"connectionStatusConnected": "Connected", "connectionStatusConnected": "Connectat",
"uptime": "Temps actiu", "uptime": "Temps actiu",
"maxDown": "Max. Down", "maxDown": "Màx. Descàrrega",
"maxUp": "Max. Up", "maxUp": "Màx. Càrrega",
"down": "Down", "down": "Inactiu",
"up": "Up", "up": "Actiu",
"received": "Received", "received": "Rebuts",
"sent": "Sent", "sent": "Enviats",
"externalIPAddress": "Ext. IP" "externalIPAddress": "IP ext."
}, },
"caddy": { "caddy": {
"upstreams": "Upstreams", "upstreams": "Upstreams",
"requests": "Current requests", "requests": "Peticions actuals",
"requests_failed": "Failed requests" "requests_failed": "Peticions fallides"
}, },
"changedetectionio": { "changedetectionio": {
"totalObserved": "Total d'observats", "totalObserved": "Total d'observats",
"diffsDetected": "Diferències detectades" "diffsDetected": "Diferències detectades"
}, },
"channelsdvrserver": { "channelsdvrserver": {
"shows": "Shows", "shows": "Sèries",
"recordings": "Recordings", "recordings": "Gravacions",
"scheduled": "Scheduled", "scheduled": "Programat",
"passes": "Passes" "passes": "Aprovat"
}, },
"tautulli": { "tautulli": {
"playing": "Reproduint", "playing": "Reproduint",
"transcoding": "Transcodificant", "transcoding": "Transcodificant",
"bitrate": "Taxa de bits", "bitrate": "Taxa de bits",
"no_active": "Sense reproduccions actives", "no_active": "Sense reproduccions actives",
"plex_connection_error": "Check Plex Connection" "plex_connection_error": "Comprova la connexió de Plex"
}, },
"omada": { "omada": {
"connectedAp": "Connected APs", "connectedAp": "AP connectats",
"activeUser": "Active devices", "activeUser": "Dispositius actius",
"alerts": "Alerts", "alerts": "Alertes",
"connectedGateway": "Connected gateways", "connectedGateway": "Pasarel·les connectades",
"connectedSwitches": "Connected switches" "connectedSwitches": "Conmutadors connectats"
}, },
"nzbget": { "nzbget": {
"rate": "Taxa", "rate": "Taxa",
@@ -187,7 +187,7 @@
"plex": { "plex": {
"streams": "Transmissions actives", "streams": "Transmissions actives",
"albums": "Àlbums", "albums": "Àlbums",
"movies": "Movies", "movies": "Pel·lícules",
"tv": "Sèries" "tv": "Sèries"
}, },
"sabnzbd": { "sabnzbd": {
@@ -213,12 +213,12 @@
"seed": "Llavor" "seed": "Llavor"
}, },
"qnap": { "qnap": {
"cpuUsage": "CPU Usage", "cpuUsage": "Ús de CPU",
"memUsage": "MEM Usage", "memUsage": "Ús de Memòria",
"systemTempC": "System Temp", "systemTempC": "Temp. Sistema",
"poolUsage": "Pool Usage", "poolUsage": "Ús de les Reserves",
"volumeUsage": "Volume Usage", "volumeUsage": "Ús dels Volums",
"invalid": "Invalid" "invalid": "No vàlid"
}, },
"deluge": { "deluge": {
"download": "Descarregar", "download": "Descarregar",
@@ -235,7 +235,7 @@
"sonarr": { "sonarr": {
"wanted": "Volgut", "wanted": "Volgut",
"queued": "En cua", "queued": "En cua",
"series": "Series", "series": "Sèries",
"queue": "Cua", "queue": "Cua",
"unknown": "Desconegut" "unknown": "Desconegut"
}, },
@@ -243,14 +243,14 @@
"wanted": "Volgut", "wanted": "Volgut",
"missing": "Faltant", "missing": "Faltant",
"queued": "En cua", "queued": "En cua",
"movies": "Movies", "movies": "Pel·lícules",
"queue": "Cua", "queue": "Cua",
"unknown": "Desconegut" "unknown": "Desconegut"
}, },
"lidarr": { "lidarr": {
"wanted": "Volgut", "wanted": "Volgut",
"queued": "En cua", "queued": "En cua",
"artists": "Artists" "artists": "Artistes"
}, },
"readarr": { "readarr": {
"wanted": "Volgut", "wanted": "Volgut",
@@ -277,17 +277,17 @@
"approved": "Aprovat", "approved": "Aprovat",
"available": "Disponible" "available": "Disponible"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Connected", "connected": "Connectat",
"new_devices": "New Devices", "new_devices": "Nous dispositius",
"down_alerts": "Down Alerts" "down_alerts": "Alertes de caigudes"
}, },
"pihole": { "pihole": {
"queries": "Consultes", "queries": "Consultes",
"blocked": "Bloquejat", "blocked": "Bloquejat",
"blocked_percent": "Blocked %", "blocked_percent": "Bloquejat %",
"gravity": "Gravity" "gravity": "Gravetat"
}, },
"adguard": { "adguard": {
"queries": "Consultes", "queries": "Consultes",
@@ -298,37 +298,37 @@
"speedtest": { "speedtest": {
"upload": "Pujada", "upload": "Pujada",
"download": "Descarregar", "download": "Descarregar",
"ping": "Ping" "ping": "Latència"
}, },
"portainer": { "portainer": {
"running": "Running", "running": "En execució",
"stopped": "Aturat", "stopped": "Aturat",
"total": "Total" "total": "Total"
}, },
"tailscale": { "tailscale": {
"address": "Address", "address": "Adreça",
"expires": "Expires", "expires": "Caduca",
"never": "Never", "never": "Mai",
"last_seen": "Last Seen", "last_seen": "Vist per darrer cop",
"now": "Now", "now": "Ara",
"years": "{{number}}y", "years": "{{number}}a",
"weeks": "{{number}}w", "weeks": "{{number}}set",
"days": "{{number}}d", "days": "{{number}}d",
"hours": "{{number}}h", "hours": "{{number}}h",
"minutes": "{{number}}m", "minutes": "{{number}}m",
"seconds": "{{number}}s", "seconds": "{{number}}s",
"ago": "{{value}} Ago" "ago": "Fa {{value}}"
}, },
"tdarr": { "tdarr": {
"queue": "Cua", "queue": "Cua",
"processed": "Processed", "processed": "Processat",
"errored": "Errored", "errored": "Error",
"saved": "Saved" "saved": "Desat"
}, },
"traefik": { "traefik": {
"routers": "Encaminadors", "routers": "Encaminadors",
"services": "Serveis", "services": "Serveis",
"middleware": "Middleware" "middleware": "Intermediari"
}, },
"navidrome": { "navidrome": {
"nothing_streaming": "Sense reproduccions actives", "nothing_streaming": "Sense reproduccions actives",
@@ -360,7 +360,7 @@
}, },
"jackett": { "jackett": {
"configured": "Configurat", "configured": "Configurat",
"errored": "Errored" "errored": "Error"
}, },
"strelaysrv": { "strelaysrv": {
"numActiveSessions": "Sessions", "numActiveSessions": "Sessions",
@@ -376,18 +376,18 @@
"medusa": { "medusa": {
"wanted": "Volgut", "wanted": "Volgut",
"queued": "En cua", "queued": "En cua",
"series": "Series" "series": "Sèries"
}, },
"minecraft": { "minecraft": {
"players": "Players", "players": "Jugadors",
"version": "Version", "version": "Versió",
"status": "Estat", "status": "Estat",
"up": "Online", "up": "En línia",
"down": "Fora de línia" "down": "Fora de línia"
}, },
"miniflux": { "miniflux": {
"read": "Read", "read": "Llegir",
"unread": "Unread" "unread": "Sense llegir"
}, },
"authentik": { "authentik": {
"users": "Usuaris", "users": "Usuaris",
@@ -406,28 +406,28 @@
"wait": "Si us plau, espereu", "wait": "Si us plau, espereu",
"temp": "TEMP", "temp": "TEMP",
"_temp": "Temp", "_temp": "Temp",
"warn": "Warn", "warn": "Avís",
"uptime": "UP", "uptime": "ACTIU",
"total": "Total", "total": "Total",
"free": "Lliure", "free": "Lliure",
"used": "Utilitzat", "used": "Utilitzat",
"days": "d", "days": "d",
"hours": "h", "hours": "h",
"crit": "Crit", "crit": "Crític",
"read": "Read", "read": "Llegir",
"write": "Write", "write": "Escriure",
"gpu": "GPU", "gpu": "GPU",
"mem": "Mem", "mem": "Mem",
"swap": "Swap" "swap": "Intercanvi"
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Marcador", "bookmark": "Marcador",
"service": "Servei", "service": "Servei",
"search": "Search", "search": "Cercar",
"custom": "Custom", "custom": "Personalitzat",
"visit": "Visit", "visit": "Visitar",
"url": "URL", "url": "URL",
"searchsuggestion": "Suggestion" "searchsuggestion": "Suggeriment"
}, },
"wmo": { "wmo": {
"0-day": "Assolellat", "0-day": "Assolellat",
@@ -492,21 +492,21 @@
"updates": "Actualitzacions", "updates": "Actualitzacions",
"update_available": "Actualització disponible", "update_available": "Actualització disponible",
"up_to_date": "Actualitzat", "up_to_date": "Actualitzat",
"child_bridges": "Child Bridges", "child_bridges": "Ponts fills",
"child_bridges_status": "{{ok}}/{{total}}", "child_bridges_status": "{{ok}}/{{total}}",
"up": "Up", "up": "Actiu",
"pending": "Pendent", "pending": "Pendent",
"down": "Down" "down": "Inactiu"
}, },
"healthchecks": { "healthchecks": {
"new": "New", "new": "Nou",
"up": "Up", "up": "Actiu",
"grace": "In Grace Period", "grace": "En Període de gràcia",
"down": "Down", "down": "Inactiu",
"paused": "Paused", "paused": "En pausa",
"status": "Estat", "status": "Estat",
"last_ping": "Last Ping", "last_ping": "Últim ping",
"never": "No pings yet" "never": "Sense pings"
}, },
"watchtower": { "watchtower": {
"containers_scanned": "Escanejat", "containers_scanned": "Escanejat",
@@ -528,7 +528,7 @@
"truenas": { "truenas": {
"load": "Càrrega del sistema", "load": "Càrrega del sistema",
"uptime": "Temps actiu", "uptime": "Temps actiu",
"alerts": "Alerts" "alerts": "Alertes"
}, },
"pyload": { "pyload": {
"speed": "Velocitat", "speed": "Velocitat",
@@ -544,12 +544,12 @@
"hdhomerun": { "hdhomerun": {
"channels": "Canals", "channels": "Canals",
"hd": "HD", "hd": "HD",
"tunerCount": "Tuners", "tunerCount": "Sintonitzadors",
"channelNumber": "Channel", "channelNumber": "Canal",
"channelNetwork": "Network", "channelNetwork": "Xarxa",
"signalStrength": "Strength", "signalStrength": "Intensitat",
"signalQuality": "Quality", "signalQuality": "Qualitat",
"symbolQuality": "Quality", "symbolQuality": "Qualitat",
"networkRate": "Taxa de bits", "networkRate": "Taxa de bits",
"clientIP": "Client" "clientIP": "Client"
}, },
@@ -563,94 +563,94 @@
"total": "Total" "total": "Total"
}, },
"peanut": { "peanut": {
"battery_charge": "Battery Charge", "battery_charge": "Càrrega de la bateria",
"ups_load": "UPS Load", "ups_load": "Càrrega del SAI",
"ups_status": "UPS Status", "ups_status": "Estat del SAI",
"online": "Online", "online": "En línia",
"on_battery": "On Battery", "on_battery": "En Bateria",
"low_battery": "Low Battery" "low_battery": "Bateria Baixa"
}, },
"nextdns": { "nextdns": {
"wait": "Espereu si us plau", "wait": "Espereu si us plau",
"no_devices": "No Device Data Received" "no_devices": "No s'han rebut dades del Dispositiu"
}, },
"mikrotik": { "mikrotik": {
"cpuLoad": "CPU Load", "cpuLoad": "Càrrega de CPU",
"memoryUsed": "Memory Used", "memoryUsed": "Memoria en ús",
"uptime": "Temps actiu", "uptime": "Temps actiu",
"numberOfLeases": "Leases" "numberOfLeases": "IPs assignades"
}, },
"xteve": { "xteve": {
"streams_all": "All Streams", "streams_all": "Tots els fluxos",
"streams_active": "Transmissions actives", "streams_active": "Transmissions actives",
"streams_xepg": "XEPG Channels" "streams_xepg": "Canals XEPG"
}, },
"opendtu": { "opendtu": {
"yieldDay": "Today", "yieldDay": "Avui",
"absolutePower": "Power", "absolutePower": "Potència",
"relativePower": "Power %", "relativePower": "Potència %",
"limit": "Limit" "limit": "Límit"
}, },
"opnsense": { "opnsense": {
"cpu": "CPU Load", "cpu": "Càrrega de CPU",
"memory": "Active Memory", "memory": "Memòria activa",
"wanUpload": "WAN Upload", "wanUpload": "Pujada WAN",
"wanDownload": "WAN Download" "wanDownload": "Baixada WAN"
}, },
"moonraker": { "moonraker": {
"printer_state": "Printer State", "printer_state": "Estat de l'impressora",
"print_status": "Print Status", "print_status": "Estat de l'impressió",
"print_progress": "Progress", "print_progress": "Progress",
"layers": "Layers" "layers": "Capes"
}, },
"octoprint": { "octoprint": {
"printer_state": "Estat", "printer_state": "Estat",
"temp_tool": "Tool temp", "temp_tool": "Temperatura capçal",
"temp_bed": "Bed temp", "temp_bed": "Temperatura llit",
"job_completion": "Completion" "job_completion": "Finalització"
}, },
"cloudflared": { "cloudflared": {
"origin_ip": "Origin IP", "origin_ip": "IP Origen",
"status": "Estat" "status": "Estat"
}, },
"pfsense": { "pfsense": {
"load": "Load Avg", "load": "Promig Càrrega",
"memory": "Mem Usage", "memory": "Ús Memòria",
"wanStatus": "WAN Status", "wanStatus": "Estat WAN",
"up": "Up", "up": "Actiu",
"down": "Down", "down": "Inactiu",
"temp": "Temp", "temp": "Temp",
"disk": "Disk Usage", "disk": "Ús Disc",
"wanIP": "WAN IP" "wanIP": "WAN IP"
}, },
"proxmoxbackupserver": { "proxmoxbackupserver": {
"datastore_usage": "Datastore", "datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h", "failed_tasks_24h": "Tasques fallides (24h)",
"cpu_usage": "CPU", "cpu_usage": "CPU",
"memory_usage": "Memory" "memory_usage": "Memòria"
}, },
"immich": { "immich": {
"users": "Usuaris", "users": "Usuaris",
"photos": "Photos", "photos": "Fotos",
"videos": "Vídeos", "videos": "Vídeos",
"storage": "Storage" "storage": "Emmagatzematge"
}, },
"uptimekuma": { "uptimekuma": {
"up": "Sites Up", "up": "Actius",
"down": "Sites Down", "down": "Caiguts",
"uptime": "Temps actiu", "uptime": "Temps actiu",
"incident": "Incident", "incident": "Incidència",
"m": "m" "m": "m"
}, },
"atsumeru": { "atsumeru": {
"series": "Series", "series": "Sèries",
"archives": "Archives", "archives": "Arxius",
"chapters": "Chapters", "chapters": "Capítols",
"categories": "Categories" "categories": "Categories"
}, },
"komga": { "komga": {
"libraries": "Libraries", "libraries": "Biblioteques",
"series": "Series", "series": "Sèries",
"books": "Llibres" "books": "Llibres"
}, },
"diskstation": { "diskstation": {
@@ -659,77 +659,77 @@
"volumeAvailable": "Disponible" "volumeAvailable": "Disponible"
}, },
"mylar": { "mylar": {
"series": "Series", "series": "Sèries",
"issues": "Issues", "issues": "Problemes",
"wanted": "Volgut" "wanted": "Volgut"
}, },
"photoprism": { "photoprism": {
"albums": "Àlbums", "albums": "Àlbums",
"photos": "Photos", "photos": "Fotos",
"videos": "Vídeos", "videos": "Vídeos",
"people": "People" "people": "Gent"
}, },
"fileflows": { "fileflows": {
"queue": "Cua", "queue": "Cua",
"processing": "Processant", "processing": "Processant",
"processed": "Processed", "processed": "Processat",
"time": "Time" "time": "Temps"
}, },
"grafana": { "grafana": {
"dashboards": "Dashboards", "dashboards": "Taulells",
"datasources": "Data Sources", "datasources": "Origen de dades",
"totalalerts": "Total Alerts", "totalalerts": "Alertes Totals",
"alertstriggered": "Alerts Triggered" "alertstriggered": "Alertes disparades"
}, },
"nextcloud": { "nextcloud": {
"cpuload": "Cpu Load", "cpuload": "Càrrega de CPU",
"memoryusage": "Memory Usage", "memoryusage": "Ús Memòria",
"freespace": "Free Space", "freespace": "Espai lliure",
"activeusers": "Active Users", "activeusers": "Usuaris actius",
"numfiles": "Files", "numfiles": "Fitxers",
"numshares": "Shared Items" "numshares": "Elements compartits"
}, },
"kopia": { "kopia": {
"status": "Estat", "status": "Estat",
"size": "Size", "size": "Mida",
"lastrun": "Last Run", "lastrun": "Darrera execució",
"nextrun": "Next Run", "nextrun": "Següent execució",
"failed": "Error" "failed": "Error"
}, },
"unmanic": { "unmanic": {
"active_workers": "Active Workers", "active_workers": "Treballadors actius",
"total_workers": "Total Workers", "total_workers": "Treballadors Totals",
"records_total": "Queue Length" "records_total": "Llargada de la Cua"
}, },
"pterodactyl": { "pterodactyl": {
"servers": "Servers", "servers": "Servidors",
"nodes": "Nodes" "nodes": "Nodes"
}, },
"prometheus": { "prometheus": {
"targets_up": "Targets Up", "targets_up": "Objectius actius",
"targets_down": "Targets Down", "targets_down": "Objectius caiguts",
"targets_total": "Total Targets" "targets_total": "Objectius Totals"
}, },
"gatus": { "gatus": {
"up": "Sites Up", "up": "Actius",
"down": "Sites Down", "down": "Caiguts",
"uptime": "Temps actiu" "uptime": "Temps actiu"
}, },
"ghostfolio": { "ghostfolio": {
"gross_percent_today": "Today", "gross_percent_today": "Avui",
"gross_percent_1y": "One year", "gross_percent_1y": "Un any",
"gross_percent_max": "All time" "gross_percent_max": "Tot"
}, },
"audiobookshelf": { "audiobookshelf": {
"podcasts": "Podcasts", "podcasts": "Podcasts",
"books": "Llibres", "books": "Llibres",
"podcastsDuration": "Duration", "podcastsDuration": "Durada",
"booksDuration": "Duration" "booksDuration": "Durada"
}, },
"homeassistant": { "homeassistant": {
"people_home": "People Home", "people_home": "Gent a casa",
"lights_on": "Lights On", "lights_on": "Llums enceses",
"switches_on": "Switches On" "switches_on": "Endolls activats"
}, },
"whatsupdocker": { "whatsupdocker": {
"monitoring": "Supervisió", "monitoring": "Supervisió",
@@ -737,140 +737,144 @@
}, },
"calibreweb": { "calibreweb": {
"books": "Llibres", "books": "Llibres",
"authors": "Authors", "authors": "Autors",
"categories": "Categories", "categories": "Categories",
"series": "Series" "series": "Sèries"
}, },
"jdownloader": { "jdownloader": {
"downloadCount": "Cua", "downloadCount": "Cua",
"downloadBytesRemaining": "Restant", "downloadBytesRemaining": "Restant",
"downloadTotalBytes": "Size", "downloadTotalBytes": "Mida",
"downloadSpeed": "Velocitat" "downloadSpeed": "Velocitat"
}, },
"kavita": { "kavita": {
"seriesCount": "Series", "seriesCount": "Sèries",
"totalFiles": "Files" "totalFiles": "Fitxers"
}, },
"azuredevops": { "azuredevops": {
"result": "Result", "result": "Resultat",
"status": "Estat", "status": "Estat",
"buildId": "Build ID", "buildId": "Id de compilació",
"succeeded": "Succeeded", "succeeded": "Amb èxit",
"notStarted": "Not Started", "notStarted": "No Iniciat",
"failed": "Error", "failed": "Error",
"canceled": "Canceled", "canceled": "Cancel·lat",
"inProgress": "In Progress", "inProgress": "En curs",
"totalPrs": "Total PRs", "totalPrs": "RP Totals",
"myPrs": "My PRs", "myPrs": "Els meus RP",
"approved": "Aprovat" "approved": "Aprovat"
}, },
"gamedig": { "gamedig": {
"status": "Estat", "status": "Estat",
"online": "Online", "online": "En línia",
"offline": "Fora de línia", "offline": "Fora de línia",
"name": "Name", "name": "Nom",
"map": "Map", "map": "Mapa",
"currentPlayers": "Current players", "currentPlayers": "Jugadors actuals",
"players": "Players", "players": "Jugadors",
"maxPlayers": "Max players", "maxPlayers": "Màxim de jugadors",
"bots": "Bots", "bots": "Bots",
"ping": "Ping" "ping": "Latència"
}, },
"urbackup": { "urbackup": {
"ok": "Ok", "ok": "Ok",
"errored": "Errors", "errored": "Errors",
"noRecent": "Out of Date", "noRecent": "Obsolet",
"totalUsed": "Used Storage" "totalUsed": "Emmagatzematge utilitzat"
}, },
"mealie": { "mealie": {
"recipes": "Recipes", "recipes": "Receptes",
"users": "Usuaris", "users": "Usuaris",
"categories": "Categories", "categories": "Categories",
"tags": "Tags" "tags": "Etiquetes"
}, },
"openmediavault": { "openmediavault": {
"downloading": "Downloading", "downloading": "Descarregant",
"total": "Total", "total": "Total",
"running": "Running", "running": "En execució",
"stopped": "Aturat", "stopped": "Aturat",
"passed": "Aprobat", "passed": "Aprobat",
"failed": "Error" "failed": "Error"
}, },
"openwrt": { "openwrt": {
"uptime": "Temps actiu", "uptime": "Temps actiu",
"cpuLoad": "CPU Load Avg (5m)", "cpuLoad": "Càrrega promig de CPU (5m)",
"up": "Up", "up": "Actiu",
"down": "Down", "down": "Inactiu",
"bytesTx": "Transmitted", "bytesTx": "Enviat",
"bytesRx": "Received" "bytesRx": "Rebuts"
}, },
"uptimerobot": { "uptimerobot": {
"status": "Estat", "status": "Estat",
"uptime": "Temps actiu", "uptime": "Temps actiu",
"lastDown": "Last Downtime", "lastDown": "Darrera Inactivitat",
"downDuration": "Downtime Duration", "downDuration": "Duració d'Inactivitat",
"sitesUp": "Sites Up", "sitesUp": "Actius",
"sitesDown": "Sites Down", "sitesDown": "Caiguts",
"paused": "Paused", "paused": "En pausa",
"notyetchecked": "Not Yet Checked", "notyetchecked": "Sense verificar",
"up": "Up", "up": "Actiu",
"seemsdown": "Seems Down", "seemsdown": "Sembla caigut",
"down": "Down", "down": "Inactiu",
"unknown": "Desconegut" "unknown": "Desconegut"
}, },
"calendar": { "calendar": {
"inCinemas": "In cinemas", "inCinemas": "En cines",
"physicalRelease": "Physical release", "physicalRelease": "Estrena física",
"digitalRelease": "Digital release", "digitalRelease": "Estrena digital",
"noEventsToday": "No events for today!", "noEventsToday": "Cap esdeveniment per avui!",
"noEventsFound": "No events found" "noEventsFound": "No s'han trobat esdeveniments"
}, },
"romm": { "romm": {
"platforms": "Platforms", "platforms": "Plataformes",
"totalRoms": "Total ROMs" "totalRoms": "ROMs totals"
}, },
"netdata": { "netdata": {
"warnings": "Warnings", "warnings": "Avisos",
"criticals": "Criticals" "criticals": "Crítics"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "Esdeveniments",
"plants": "Plants", "plants": "Plantes",
"photos": "Photos", "photos": "Fotos",
"species": "Species" "species": "Espècies"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "Notificacions",
"issues": "Issues", "issues": "Problemes",
"pulls": "Pull Requests" "pulls": "Sol·licitud de Canvis"
}, },
"stash": { "stash": {
"scenes": "Scenes", "scenes": "Escenes",
"scenesPlayed": "Scenes Played", "scenesPlayed": "Escenes reproduïdes",
"playCount": "Total Plays", "playCount": "Total reproduccions",
"playDuration": "Time Watched", "playDuration": "Temps visionat",
"sceneSize": "Scenes Size", "sceneSize": "Tamany Escena",
"sceneDuration": "Scenes Duration", "sceneDuration": "Duració Escenes",
"images": "Images", "images": "Imatges",
"imageSize": "Images Size", "imageSize": "Mida Imatges",
"galleries": "Galleries", "galleries": "Biblioteques",
"performers": "Performers", "performers": "Intèrprets",
"studios": "Studios", "studios": "Estudis",
"movies": "Movies", "movies": "Pel·lícules",
"tags": "Tags", "tags": "Etiquetes",
"oCount": "O Count" "oCount": "O Count"
}, },
"tandoor": { "tandoor": {
"users": "Usuaris", "users": "Usuaris",
"recipes": "Recipes", "recipes": "Receptes",
"keywords": "Keywords" "keywords": "Paraules claus"
}, },
"homebox": { "homebox": {
"items": "Items", "items": "Elements",
"totalWithWarranty": "With Warranty", "totalWithWarranty": "Amb Garantia",
"locations": "Locations", "locations": "Ubicacions",
"labels": "Labels", "labels": "Etiquetes",
"users": "Usuaris", "users": "Usuaris",
"totalValue": "Total Value" "totalValue": "Valor total"
},
"crowdsec": {
"alerts": "Alertes",
"bans": "Prohibicions"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Čeká na odpojení", "connectionStatusPendingDisconnect": "Čeká na odpojení",
"connectionStatusDisconnecting": "Odpojování", "connectionStatusDisconnecting": "Odpojování",
"connectionStatusDisconnected": "Odpojeno", "connectionStatusDisconnected": "Odpojeno",
"connectionStatusConnected": "Připojeno", "connectionStatusConnected": "Connected",
"uptime": "Doba spuštění", "uptime": "Doba spuštění",
"maxDown": "Max. Down", "maxDown": "Max. Down",
"maxUp": "Max. Up", "maxUp": "Max. Up",
@@ -277,10 +277,10 @@
"approved": "Schváleno", "approved": "Schváleno",
"available": "Dostupné" "available": "Dostupné"
}, },
"pialert": { "netalertx": {
"total": "Celkem", "total": "Celkem",
"connected": "Připojeno", "connected": "Connected",
"new_devices": "Nová zařízení", "new_devices": "New Devices",
"down_alerts": "Down Alerts" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Uživatelé", "users": "Uživatelé",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Upozornění",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Pending Disconnect", "connectionStatusPendingDisconnect": "Pending Disconnect",
"connectionStatusDisconnecting": "Disconnecting", "connectionStatusDisconnecting": "Disconnecting",
"connectionStatusDisconnected": "Disconnected", "connectionStatusDisconnected": "Disconnected",
"connectionStatusConnected": "Forbundet", "connectionStatusConnected": "Connected",
"uptime": "Oppetid", "uptime": "Oppetid",
"maxDown": "Max. Down", "maxDown": "Max. Down",
"maxUp": "Max. Up", "maxUp": "Max. Up",
@@ -277,11 +277,11 @@
"approved": "Godkendt", "approved": "Godkendt",
"available": "Tilgængelig" "available": "Tilgængelig"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Forbundet", "connected": "Connected",
"new_devices": "Nye Enheder", "new_devices": "New Devices",
"down_alerts": "Nedadvarsler" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Forespørgsler", "queries": "Forespørgsler",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Brugere", "users": "Brugere",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Advarsler",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Genehmigt", "approved": "Genehmigt",
"available": "Verfügbar" "available": "Verfügbar"
}, },
"pialert": { "netalertx": {
"total": "Gesamt", "total": "Gesamt",
"connected": "Verbunden", "connected": "Verbunden",
"new_devices": "Neue Geräte", "new_devices": "Neue Geräte",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Benutzer", "users": "Benutzer",
"totalValue": "Gesamtwert" "totalValue": "Gesamtwert"
},
"crowdsec": {
"alerts": "Warnungen",
"bans": "Banns"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Εγκρίθηκε", "approved": "Εγκρίθηκε",
"available": "Διαθέσιμο" "available": "Διαθέσιμο"
}, },
"pialert": { "netalertx": {
"total": "Σύνολο", "total": "Σύνολο",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Χρήστες", "users": "Χρήστες",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Ειδοποιήσεις",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Approved", "approved": "Approved",
"available": "Available" "available": "Available"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Users", "users": "Users",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Aprobita", "approved": "Aprobita",
"available": "Havebla" "available": "Havebla"
}, },
"pialert": { "netalertx": {
"total": "Totalo", "total": "Totalo",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Uzantoj", "users": "Uzantoj",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -12,7 +12,7 @@
"number": "{{value, number}}", "number": "{{value, number}}",
"ms": "{{value, number}}", "ms": "{{value, number}}",
"date": "{{value, date}}", "date": "{{value, date}}",
"relativeDate": "{{value, relativeDate}}", "relativeDate": "{{valor, relativaFecha}}",
"uptime": "{{value, uptime}}", "uptime": "{{value, uptime}}",
"months": "me", "months": "me",
"days": "d", "days": "d",
@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Desconexión pendiente", "connectionStatusPendingDisconnect": "Desconexión pendiente",
"connectionStatusDisconnecting": "Desconectando", "connectionStatusDisconnecting": "Desconectando",
"connectionStatusDisconnected": "Desconectado", "connectionStatusDisconnected": "Desconectado",
"connectionStatusConnected": "Conectado", "connectionStatusConnected": "Connected",
"uptime": "Tiempo activo", "uptime": "Tiempo activo",
"maxDown": "Descarga máxima", "maxDown": "Descarga máxima",
"maxUp": "Subida máxima", "maxUp": "Subida máxima",
@@ -277,11 +277,11 @@
"approved": "Aprobado", "approved": "Aprobado",
"available": "Disponible" "available": "Disponible"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Conectado", "connected": "Connected",
"new_devices": "Nuevos dispositivos", "new_devices": "New Devices",
"down_alerts": "Alertas de caídas" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Consultas", "queries": "Consultas",
@@ -427,7 +427,7 @@
"custom": "Personalizado", "custom": "Personalizado",
"visit": "Visitar", "visit": "Visitar",
"url": "Enlace", "url": "Enlace",
"searchsuggestion": "Suggestion" "searchsuggestion": "Sugerencia"
}, },
"wmo": { "wmo": {
"0-day": "Soleado", "0-day": "Soleado",
@@ -546,12 +546,12 @@
"hd": "Alta definición", "hd": "Alta definición",
"tunerCount": "Tuners", "tunerCount": "Tuners",
"channelNumber": "Canal", "channelNumber": "Canal",
"channelNetwork": "Network", "channelNetwork": "Red",
"signalStrength": "Strength", "signalStrength": "Intensidad",
"signalQuality": "Quality", "signalQuality": "Calidad",
"symbolQuality": "Quality", "symbolQuality": "Calidad",
"networkRate": "Tasa de bits", "networkRate": "Tasa de bits",
"clientIP": "Client" "clientIP": "Cliente"
}, },
"scrutiny": { "scrutiny": {
"passed": "Aprobado", "passed": "Aprobado",
@@ -798,10 +798,10 @@
}, },
"openwrt": { "openwrt": {
"uptime": "Tiempo activo", "uptime": "Tiempo activo",
"cpuLoad": "CPU Load Avg (5m)", "cpuLoad": "Carga promedio del CPU (5m)",
"up": "Activo", "up": "Activo",
"down": "Inactivo", "down": "Inactivo",
"bytesTx": "Transmitted", "bytesTx": "Transmitido",
"bytesRx": "Recibido" "bytesRx": "Recibido"
}, },
"uptimerobot": { "uptimerobot": {
@@ -826,21 +826,21 @@
"noEventsFound": "No se encontraron eventos" "noEventsFound": "No se encontraron eventos"
}, },
"romm": { "romm": {
"platforms": "Platforms", "platforms": "Plataformas",
"totalRoms": "Total ROMs" "totalRoms": "Total ROMs"
}, },
"netdata": { "netdata": {
"warnings": "Warnings", "warnings": "Advertencias",
"criticals": "Criticals" "criticals": "Críticos"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "Eventos",
"plants": "Plants", "plants": "Plants",
"photos": "Fotos", "photos": "Fotos",
"species": "Species" "species": "Species"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "Notificaciones",
"issues": "Números", "issues": "Números",
"pulls": "Pull Requests" "pulls": "Pull Requests"
}, },
@@ -852,7 +852,7 @@
"sceneSize": "Scenes Size", "sceneSize": "Scenes Size",
"sceneDuration": "Scenes Duration", "sceneDuration": "Scenes Duration",
"images": "Imágenes", "images": "Imágenes",
"imageSize": "Images Size", "imageSize": "Tamaño de imagen",
"galleries": "Galerías", "galleries": "Galerías",
"performers": "Performers", "performers": "Performers",
"studios": "Studios", "studios": "Studios",
@@ -869,8 +869,12 @@
"items": "Items", "items": "Items",
"totalWithWarranty": "Con Garantía", "totalWithWarranty": "Con Garantía",
"locations": "Ubicaciones", "locations": "Ubicaciones",
"labels": "Labels", "labels": "Etiquetas",
"users": "Usuarios", "users": "Usuarios",
"totalValue": "Total Value" "totalValue": "Valor total"
},
"crowdsec": {
"alerts": "Alertas",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Approved", "approved": "Approved",
"available": "Available" "available": "Available"
}, },
"pialert": { "netalertx": {
"total": "Guztira", "total": "Guztira",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Users", "users": "Users",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Hyväksytty", "approved": "Hyväksytty",
"available": "Saatavilla" "available": "Saatavilla"
}, },
"pialert": { "netalertx": {
"total": "Yhteensä", "total": "Yhteensä",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Users", "users": "Users",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Déconnexion en attente", "connectionStatusPendingDisconnect": "Déconnexion en attente",
"connectionStatusDisconnecting": "Déconnexion en cours", "connectionStatusDisconnecting": "Déconnexion en cours",
"connectionStatusDisconnected": "Déconnecté", "connectionStatusDisconnected": "Déconnecté",
"connectionStatusConnected": "Connecté", "connectionStatusConnected": "Connected",
"uptime": "Démarré depuis", "uptime": "Démarré depuis",
"maxDown": "Max. Bas", "maxDown": "Max. Bas",
"maxUp": "Max. Haut", "maxUp": "Max. Haut",
@@ -277,11 +277,11 @@
"approved": "Validé", "approved": "Validé",
"available": "Disponible" "available": "Disponible"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Connecté", "connected": "Connected",
"new_devices": "Nouvel Appareil", "new_devices": "New Devices",
"down_alerts": "Alertes" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Requêtes", "queries": "Requêtes",
@@ -872,5 +872,9 @@
"labels": "Étiquettes", "labels": "Étiquettes",
"users": "Utilisateurs", "users": "Utilisateurs",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alertes",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "מאושר", "approved": "מאושר",
"available": "זמין" "available": "זמין"
}, },
"pialert": { "netalertx": {
"total": "סה\"כ", "total": "סה\"כ",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Users", "users": "Users",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Approved", "approved": "Approved",
"available": "Available" "available": "Available"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Users", "users": "Users",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Odspajanje u tijeku", "connectionStatusPendingDisconnect": "Odspajanje u tijeku",
"connectionStatusDisconnecting": "Odspajanje", "connectionStatusDisconnecting": "Odspajanje",
"connectionStatusDisconnected": "Odspojeno", "connectionStatusDisconnected": "Odspojeno",
"connectionStatusConnected": "Povezano", "connectionStatusConnected": "Connected",
"uptime": "Vrijeme rada", "uptime": "Vrijeme rada",
"maxDown": "Maksimum preuzimanja", "maxDown": "Maksimum preuzimanja",
"maxUp": "Maksimum prijenosa", "maxUp": "Maksimum prijenosa",
@@ -277,11 +277,11 @@
"approved": "Odobreno", "approved": "Odobreno",
"available": "Dostupno" "available": "Dostupno"
}, },
"pialert": { "netalertx": {
"total": "Ukupno", "total": "Ukupno",
"connected": "Povezano", "connected": "Connected",
"new_devices": "Novi uređaji", "new_devices": "New Devices",
"down_alerts": "Obavijesti o nedostupnosti" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Upiti", "queries": "Upiti",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Korisnici", "users": "Korisnici",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Upozorenja",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Szétkapcsolás függőben", "connectionStatusPendingDisconnect": "Szétkapcsolás függőben",
"connectionStatusDisconnecting": "Kapcsolat bontása", "connectionStatusDisconnecting": "Kapcsolat bontása",
"connectionStatusDisconnected": "Kapcsolat bontva", "connectionStatusDisconnected": "Kapcsolat bontva",
"connectionStatusConnected": "Csatlakoztatott", "connectionStatusConnected": "Connected",
"uptime": "Üzemidő", "uptime": "Üzemidő",
"maxDown": "Max let.", "maxDown": "Max let.",
"maxUp": "Max felt.", "maxUp": "Max felt.",
@@ -277,11 +277,11 @@
"approved": "Engedélyezett", "approved": "Engedélyezett",
"available": "Elérhető" "available": "Elérhető"
}, },
"pialert": { "netalertx": {
"total": "Összes", "total": "Összes",
"connected": "Csatlakoztatott", "connected": "Connected",
"new_devices": "Új Eszközök", "new_devices": "New Devices",
"down_alerts": "Leállási Figyelmeztetések" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Lekérdezések", "queries": "Lekérdezések",
@@ -872,5 +872,9 @@
"labels": "Címkék", "labels": "Címkék",
"users": "Felhasználók", "users": "Felhasználók",
"totalValue": "Teljes érték" "totalValue": "Teljes érték"
},
"crowdsec": {
"alerts": "Riasztások",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Menunggu Terputus", "connectionStatusPendingDisconnect": "Menunggu Terputus",
"connectionStatusDisconnecting": "Sedan Memutus", "connectionStatusDisconnecting": "Sedan Memutus",
"connectionStatusDisconnected": "Terputus", "connectionStatusDisconnected": "Terputus",
"connectionStatusConnected": "Tersambung", "connectionStatusConnected": "Connected",
"uptime": "Waktu Aktif", "uptime": "Waktu Aktif",
"maxDown": "Maks Unduh", "maxDown": "Maks Unduh",
"maxUp": "Maks Unggah", "maxUp": "Maks Unggah",
@@ -277,11 +277,11 @@
"approved": "Tersetujui", "approved": "Tersetujui",
"available": "Tersedia" "available": "Tersedia"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Tersambung", "connected": "Connected",
"new_devices": "Perangkat Baru", "new_devices": "New Devices",
"down_alerts": "Alert Mati" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Kueri", "queries": "Kueri",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Pengguna", "users": "Pengguna",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Peringatan",
"bans": "Bans"
} }
} }

View File

@@ -15,8 +15,8 @@
"relativeDate": "{{value, relativeDate}}", "relativeDate": "{{value, relativeDate}}",
"uptime": "{{value, uptime}}", "uptime": "{{value, uptime}}",
"months": "mo", "months": "mo",
"days": "d", "days": "g",
"hours": "h", "hours": "o",
"minutes": "m", "minutes": "m",
"seconds": "s" "seconds": "s"
}, },
@@ -277,7 +277,7 @@
"approved": "Approvati", "approved": "Approvati",
"available": "Disponibili" "available": "Disponibili"
}, },
"pialert": { "netalertx": {
"total": "Totale", "total": "Totale",
"connected": "Connesso", "connected": "Connesso",
"new_devices": "Nuovi Dispositivi", "new_devices": "Nuovi Dispositivi",
@@ -411,8 +411,8 @@
"total": "Totale", "total": "Totale",
"free": "Libero", "free": "Libero",
"used": "In utilizzo", "used": "In utilizzo",
"days": "d", "days": "g",
"hours": "h", "hours": "o",
"crit": "Critico", "crit": "Critico",
"read": "Letti", "read": "Letti",
"write": "Scrittura", "write": "Scrittura",
@@ -427,7 +427,7 @@
"custom": "Personalizzato", "custom": "Personalizzato",
"visit": "Visita", "visit": "Visita",
"url": "URL", "url": "URL",
"searchsuggestion": "Suggestion" "searchsuggestion": "Suggerimenti"
}, },
"wmo": { "wmo": {
"0-day": "Soleggiato", "0-day": "Soleggiato",
@@ -546,8 +546,8 @@
"hd": "HD", "hd": "HD",
"tunerCount": "Tuners", "tunerCount": "Tuners",
"channelNumber": "Channel", "channelNumber": "Channel",
"channelNetwork": "Network", "channelNetwork": "Rete",
"signalStrength": "Strength", "signalStrength": "Intensità",
"signalQuality": "Quality", "signalQuality": "Quality",
"symbolQuality": "Quality", "symbolQuality": "Quality",
"networkRate": "Bitrate", "networkRate": "Bitrate",
@@ -830,32 +830,32 @@
"totalRoms": "Total ROMs" "totalRoms": "Total ROMs"
}, },
"netdata": { "netdata": {
"warnings": "Warnings", "warnings": "Avvisi",
"criticals": "Criticals" "criticals": "Criticals"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "Events",
"plants": "Plants", "plants": "Plants",
"photos": "Foto", "photos": "Foto",
"species": "Species" "species": "Specie"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "Notifiche",
"issues": "Problemi", "issues": "Problemi",
"pulls": "Pull Requests" "pulls": "Richieste di Pull"
}, },
"stash": { "stash": {
"scenes": "Scenes", "scenes": "Scene",
"scenesPlayed": "Scenes Played", "scenesPlayed": "Scene Riprodotte",
"playCount": "Total Plays", "playCount": "Totale Riproduzioni",
"playDuration": "Time Watched", "playDuration": "Tempo Guardato",
"sceneSize": "Scenes Size", "sceneSize": "Dimensione Delle Scene",
"sceneDuration": "Scenes Duration", "sceneDuration": "Durata Delle Scene",
"images": "Images", "images": "Immagini",
"imageSize": "Images Size", "imageSize": "Images Size",
"galleries": "Galleries", "galleries": "Galleries",
"performers": "Performers", "performers": "Esecutori",
"studios": "Studios", "studios": "Studi",
"movies": "Film", "movies": "Film",
"tags": "Tag", "tags": "Tag",
"oCount": "O Count" "oCount": "O Count"
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Utenti", "users": "Utenti",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Allarmi",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "接続を切断する", "connectionStatusPendingDisconnect": "接続を切断する",
"connectionStatusDisconnecting": "接続を切断中", "connectionStatusDisconnecting": "接続を切断中",
"connectionStatusDisconnected": "切断されました", "connectionStatusDisconnected": "切断されました",
"connectionStatusConnected": "接続済み", "connectionStatusConnected": "Connected",
"uptime": "稼働時間", "uptime": "稼働時間",
"maxDown": "最大ダウン", "maxDown": "最大ダウン",
"maxUp": "最大アップ", "maxUp": "最大アップ",
@@ -277,11 +277,11 @@
"approved": "承認済", "approved": "承認済",
"available": "利用可" "available": "利用可"
}, },
"pialert": { "netalertx": {
"total": "合計", "total": "合計",
"connected": "接続済み", "connected": "Connected",
"new_devices": "新しいデバイス", "new_devices": "New Devices",
"down_alerts": "ダウンアラート" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "クエリ", "queries": "クエリ",
@@ -872,5 +872,9 @@
"labels": "ラベル", "labels": "ラベル",
"users": "ユーザ", "users": "ユーザ",
"totalValue": "合計値" "totalValue": "合計値"
},
"crowdsec": {
"alerts": "アラート",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "승인됨", "approved": "승인됨",
"available": "이용 가능" "available": "이용 가능"
}, },
"pialert": { "netalertx": {
"total": "총합", "total": "총합",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "사용자", "users": "사용자",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "경고",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Approved", "approved": "Approved",
"available": "Available" "available": "Available"
}, },
"pialert": { "netalertx": {
"total": "Kopā", "total": "Kopā",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Lietotāji", "users": "Lietotāji",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Paziņojumi",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Lulus", "approved": "Lulus",
"available": "Sudah Ada" "available": "Sudah Ada"
}, },
"pialert": { "netalertx": {
"total": "Jumlah", "total": "Jumlah",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Pengguna", "users": "Pengguna",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Goedgekeurd", "approved": "Goedgekeurd",
"available": "Beschikbaar" "available": "Beschikbaar"
}, },
"pialert": { "netalertx": {
"total": "Totaal", "total": "Totaal",
"connected": "Verbonden", "connected": "Verbonden",
"new_devices": "Nieuwe Apparaten", "new_devices": "Nieuwe Apparaten",
@@ -826,8 +826,8 @@
"noEventsFound": "Geen gebeurtenissen gevonden" "noEventsFound": "Geen gebeurtenissen gevonden"
}, },
"romm": { "romm": {
"platforms": "Platforms", "platforms": "Platformen",
"totalRoms": "Total ROMs" "totalRoms": "Totale ROM's"
}, },
"netdata": { "netdata": {
"warnings": "Waarschuwingen", "warnings": "Waarschuwingen",
@@ -840,7 +840,7 @@
"species": "Soorten" "species": "Soorten"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "Notificaties",
"issues": "Problemen", "issues": "Problemen",
"pulls": "Pull Requests" "pulls": "Pull Requests"
}, },
@@ -863,7 +863,7 @@
"tandoor": { "tandoor": {
"users": "Gebruikers", "users": "Gebruikers",
"recipes": "Recepten", "recipes": "Recepten",
"keywords": "Keywords" "keywords": "Trefwoorden"
}, },
"homebox": { "homebox": {
"items": "Items", "items": "Items",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Gebruikers", "users": "Gebruikers",
"totalValue": "Totale waarde" "totalValue": "Totale waarde"
},
"crowdsec": {
"alerts": "Meldingen",
"bans": "Bans"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -40,7 +40,7 @@
}, },
"resources": { "resources": {
"cpu": "Procesor", "cpu": "Procesor",
"mem": "PAM", "mem": "RAM",
"total": "Całkowite", "total": "Całkowite",
"free": "Wolne", "free": "Wolne",
"used": "Użyte", "used": "Użyte",
@@ -53,9 +53,9 @@
"users": "Użytkownicy", "users": "Użytkownicy",
"uptime": "Czas działania", "uptime": "Czas działania",
"days": "Dni", "days": "Dni",
"wan": "Sieć WAN", "wan": "WAN",
"lan": "Sieć LAN", "lan": "LAN",
"wlan": "Sieć WLAN", "wlan": "WLAN",
"devices": "Urządzenia", "devices": "Urządzenia",
"lan_devices": "Urządzenia LAN", "lan_devices": "Urządzenia LAN",
"wlan_devices": "Urządzenia WLAN", "wlan_devices": "Urządzenia WLAN",
@@ -64,23 +64,23 @@
"up": "CZAS", "up": "CZAS",
"down": "Pobieranie", "down": "Pobieranie",
"wait": "Proszę czekać", "wait": "Proszę czekać",
"empty_data": "Nieznany stan" "empty_data": "Status podsystemu nieznany"
}, },
"docker": { "docker": {
"rx": "Rx", "rx": "Rx",
"tx": "Tx", "tx": "Tx",
"mem": "PAM", "mem": "RAM",
"cpu": "Procesor", "cpu": "Procesor",
"running": "Działa", "running": "Działa",
"offline": "Nieosiągalny", "offline": "Nieosiągalny",
"error": "Błąd", "error": "Błąd",
"unknown": "Nieznany", "unknown": "Nieznany",
"healthy": "Zdrowy", "healthy": "Zdrowy",
"starting": "Rozpoczynanie", "starting": "Uruchamianie",
"unhealthy": "Niezdrowe", "unhealthy": "Niezdrowy",
"not_found": "Nie znaleziono", "not_found": "Nie znaleziono",
"exited": "Zakończone", "exited": "Zakończony",
"partial": "Częściowe" "partial": "Częściowy"
}, },
"ping": { "ping": {
"error": "Błąd", "error": "Błąd",
@@ -137,18 +137,18 @@
"connectionStatusUnconfigured": "Nieskonfigurowane", "connectionStatusUnconfigured": "Nieskonfigurowane",
"connectionStatusConnecting": "Łączenie", "connectionStatusConnecting": "Łączenie",
"connectionStatusAuthenticating": "Uwierzytelnianie", "connectionStatusAuthenticating": "Uwierzytelnianie",
"connectionStatusPendingDisconnect": "Pending Disconnect", "connectionStatusPendingDisconnect": "Oczekujące rozłączenie",
"connectionStatusDisconnecting": "Rozłączanie", "connectionStatusDisconnecting": "Rozłączanie",
"connectionStatusDisconnected": "Rozłączono", "connectionStatusDisconnected": "Rozłączono",
"connectionStatusConnected": "Połączony", "connectionStatusConnected": "Connected",
"uptime": "Czas działania", "uptime": "Czas działania",
"maxDown": "Max. Down", "maxDown": "Maks. Pobieranie",
"maxUp": "Max. Up", "maxUp": "Maks. Wysyłanie",
"down": "Niedostępny", "down": "Niedostępny",
"up": "Dostępny", "up": "Dostępny",
"received": "Odebrane", "received": "Odebrane",
"sent": "Wysłane", "sent": "Wysłane",
"externalIPAddress": "Ext. IP" "externalIPAddress": "Pub. IP"
}, },
"caddy": { "caddy": {
"upstreams": "Upstreams", "upstreams": "Upstreams",
@@ -156,12 +156,12 @@
"requests_failed": "Nieudane zapytania" "requests_failed": "Nieudane zapytania"
}, },
"changedetectionio": { "changedetectionio": {
"totalObserved": "Obserwowanych ogółem", "totalObserved": "Łącznie obserwowanych",
"diffsDetected": "Wykryto różnic" "diffsDetected": "Wykrytych różnic"
}, },
"channelsdvrserver": { "channelsdvrserver": {
"shows": "Seriale", "shows": "Seriale",
"recordings": "Nagrywanie", "recordings": "Nagrania",
"scheduled": "W kolejce", "scheduled": "W kolejce",
"passes": "Przebiegi" "passes": "Przebiegi"
}, },
@@ -277,11 +277,11 @@
"approved": "Zaakceptowane", "approved": "Zaakceptowane",
"available": "Dostępne" "available": "Dostępne"
}, },
"pialert": { "netalertx": {
"total": "Całkowite", "total": "Całkowite",
"connected": "Połączony", "connected": "Connected",
"new_devices": "Nowe urządzenia", "new_devices": "New Devices",
"down_alerts": "Powiadomienia o niedostępności" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Zapytania", "queries": "Zapytania",
@@ -395,7 +395,7 @@
"failedLoginsLast24H": "Nieudane logowania (24h)" "failedLoginsLast24H": "Nieudane logowania (24h)"
}, },
"proxmox": { "proxmox": {
"mem": "PAM", "mem": "RAM",
"cpu": "Procesor", "cpu": "Procesor",
"lxc": "Kontenery LXC", "lxc": "Kontenery LXC",
"vms": "Maszyn wirtualnych" "vms": "Maszyn wirtualnych"
@@ -413,7 +413,7 @@
"used": "Użyte", "used": "Użyte",
"days": "d", "days": "d",
"hours": "g", "hours": "g",
"crit": "Crit", "crit": "Krytyczyny",
"read": "Przeczytane", "read": "Przeczytane",
"write": "Zapis", "write": "Zapis",
"gpu": "Karta graficzna", "gpu": "Karta graficzna",
@@ -492,7 +492,7 @@
"updates": "Aktualizacje", "updates": "Aktualizacje",
"update_available": "Dostępna aktualizacja", "update_available": "Dostępna aktualizacja",
"up_to_date": "Aktualny", "up_to_date": "Aktualny",
"child_bridges": "Child Bridges", "child_bridges": "Mostki podrzędne",
"child_bridges_status": "{{ok}}/{{total}}", "child_bridges_status": "{{ok}}/{{total}}",
"up": "Dostępny", "up": "Dostępny",
"pending": "Oczekiwane", "pending": "Oczekiwane",
@@ -501,12 +501,12 @@
"healthchecks": { "healthchecks": {
"new": "Nowy", "new": "Nowy",
"up": "Dostępny", "up": "Dostępny",
"grace": "In Grace Period", "grace": "W okresie karencji",
"down": "Niedostępny", "down": "Niedostępny",
"paused": "Zatrzymane", "paused": "Zatrzymane",
"status": "Stan", "status": "Stan",
"last_ping": "Ostatni ping", "last_ping": "Ostatni ping",
"never": "No pings yet" "never": "Brak pingów"
}, },
"watchtower": { "watchtower": {
"containers_scanned": "Zeskanowane", "containers_scanned": "Zeskanowane",
@@ -544,7 +544,7 @@
"hdhomerun": { "hdhomerun": {
"channels": "Kanały", "channels": "Kanały",
"hd": "HD", "hd": "HD",
"tunerCount": "Tuners", "tunerCount": "Tunery",
"channelNumber": "Kanał", "channelNumber": "Kanał",
"channelNetwork": "Sieć", "channelNetwork": "Sieć",
"signalStrength": "Siła", "signalStrength": "Siła",
@@ -563,7 +563,7 @@
"total": "Całkowite" "total": "Całkowite"
}, },
"peanut": { "peanut": {
"battery_charge": "Battery Charge", "battery_charge": "Stan baterii",
"ups_load": "Obciążenie UPS", "ups_load": "Obciążenie UPS",
"ups_status": "Status UPS", "ups_status": "Status UPS",
"online": "Dostępny", "online": "Dostępny",
@@ -576,7 +576,7 @@
}, },
"mikrotik": { "mikrotik": {
"cpuLoad": "Obciążenie procesora", "cpuLoad": "Obciążenie procesora",
"memoryUsed": "Zuyżyta pamięć", "memoryUsed": "Zużyta pamięć",
"uptime": "Czas działania", "uptime": "Czas działania",
"numberOfLeases": "Dzierżawy" "numberOfLeases": "Dzierżawy"
}, },
@@ -587,8 +587,8 @@
}, },
"opendtu": { "opendtu": {
"yieldDay": "Dzisiaj", "yieldDay": "Dzisiaj",
"absolutePower": "Power", "absolutePower": "Zasilanie",
"relativePower": "Power %", "relativePower": "Moc %",
"limit": "Limit" "limit": "Limit"
}, },
"opnsense": { "opnsense": {
@@ -605,16 +605,16 @@
}, },
"octoprint": { "octoprint": {
"printer_state": "Stan", "printer_state": "Stan",
"temp_tool": "Tool temp", "temp_tool": "Temperatura narzędzia",
"temp_bed": "Bed temp", "temp_bed": "Temp. łóżka",
"job_completion": "Ukończono" "job_completion": "Ukończono"
}, },
"cloudflared": { "cloudflared": {
"origin_ip": "Origin IP", "origin_ip": "IP Źródła",
"status": "Stan" "status": "Stan"
}, },
"pfsense": { "pfsense": {
"load": "Load Avg", "load": "Śr. Obciążenie",
"memory": "Użycie pamięci", "memory": "Użycie pamięci",
"wanStatus": "Status WAN", "wanStatus": "Status WAN",
"up": "Dostępny", "up": "Dostępny",
@@ -624,8 +624,8 @@
"wanIP": "WAN IP" "wanIP": "WAN IP"
}, },
"proxmoxbackupserver": { "proxmoxbackupserver": {
"datastore_usage": "Datastore", "datastore_usage": "Magazyn danych",
"failed_tasks_24h": "Failed Tasks 24h", "failed_tasks_24h": "Nieudane zadania 24h",
"cpu_usage": "Procesor", "cpu_usage": "Procesor",
"memory_usage": "Pamięć" "memory_usage": "Pamięć"
}, },
@@ -679,7 +679,7 @@
"dashboards": "Panel główny", "dashboards": "Panel główny",
"datasources": "Źródła danych", "datasources": "Źródła danych",
"totalalerts": "Wszystkie alerty", "totalalerts": "Wszystkie alerty",
"alertstriggered": "Alerts Triggered" "alertstriggered": "Wywołane alerty"
}, },
"nextcloud": { "nextcloud": {
"cpuload": "Obciążenie CPU", "cpuload": "Obciążenie CPU",
@@ -687,7 +687,7 @@
"freespace": "Wolna przestrzeń", "freespace": "Wolna przestrzeń",
"activeusers": "Aktywni użytkownicy", "activeusers": "Aktywni użytkownicy",
"numfiles": "Pliki", "numfiles": "Pliki",
"numshares": "Shared Items" "numshares": "Udostępnione elementy"
}, },
"kopia": { "kopia": {
"status": "Stan", "status": "Stan",
@@ -698,7 +698,7 @@
}, },
"unmanic": { "unmanic": {
"active_workers": "Aktywni pracownicy", "active_workers": "Aktywni pracownicy",
"total_workers": "Total Workers", "total_workers": "Wszyscy pracownicy",
"records_total": "Długość kolejki" "records_total": "Długość kolejki"
}, },
"pterodactyl": { "pterodactyl": {
@@ -706,9 +706,9 @@
"nodes": "Węzły" "nodes": "Węzły"
}, },
"prometheus": { "prometheus": {
"targets_up": "Targets Up", "targets_up": "Cele włączone",
"targets_down": "Targets Down", "targets_down": "Cele wyłączone",
"targets_total": "Total Targets" "targets_total": "Wszystkich Celi"
}, },
"gatus": { "gatus": {
"up": "Działające", "up": "Działające",
@@ -727,9 +727,9 @@
"booksDuration": "Czas trwania" "booksDuration": "Czas trwania"
}, },
"homeassistant": { "homeassistant": {
"people_home": "People Home", "people_home": "Dom ludzi",
"lights_on": "Lights On", "lights_on": "Światła włączone",
"switches_on": "Switches On" "switches_on": "Przełączniki włączone"
}, },
"whatsupdocker": { "whatsupdocker": {
"monitoring": "Monitoring", "monitoring": "Monitoring",
@@ -756,12 +756,12 @@
"status": "Stan", "status": "Stan",
"buildId": "ID kompilacji", "buildId": "ID kompilacji",
"succeeded": "Ukończono", "succeeded": "Ukończono",
"notStarted": "Not Started", "notStarted": "Nierozpoczęte",
"failed": "Niepowodzenie", "failed": "Niepowodzenie",
"canceled": "Anulowano", "canceled": "Anulowano",
"inProgress": "W trakcie", "inProgress": "W trakcie",
"totalPrs": "Total PRs", "totalPrs": "Łącznie PRs",
"myPrs": "My PRs", "myPrs": "Moje PRs",
"approved": "Zaakceptowane" "approved": "Zaakceptowane"
}, },
"gamedig": { "gamedig": {
@@ -770,7 +770,7 @@
"offline": "Nieosiągalny", "offline": "Nieosiągalny",
"name": "Nazwa", "name": "Nazwa",
"map": "Mapa", "map": "Mapa",
"currentPlayers": "Current players", "currentPlayers": "Gracze online",
"players": "Gracze", "players": "Gracze",
"maxPlayers": "Maksymalna ilość graczy", "maxPlayers": "Maksymalna ilość graczy",
"bots": "Boty", "bots": "Boty",
@@ -783,7 +783,7 @@
"totalUsed": "Użyta pamięć" "totalUsed": "Użyta pamięć"
}, },
"mealie": { "mealie": {
"recipes": "Recipes", "recipes": "Przepisy",
"users": "Użytkownicy", "users": "Użytkownicy",
"categories": "Kategorie", "categories": "Kategorie",
"tags": "Tagi" "tags": "Tagi"
@@ -798,79 +798,83 @@
}, },
"openwrt": { "openwrt": {
"uptime": "Czas działania", "uptime": "Czas działania",
"cpuLoad": "CPU Load Avg (5m)", "cpuLoad": "Śr. obciążenie CPU (5m)",
"up": "Dostępny", "up": "Dostępny",
"down": "Niedostępny", "down": "Niedostępny",
"bytesTx": "Transmitted", "bytesTx": "Przesłane",
"bytesRx": "Odebrane" "bytesRx": "Odebrane"
}, },
"uptimerobot": { "uptimerobot": {
"status": "Stan", "status": "Stan",
"uptime": "Czas działania", "uptime": "Czas działania",
"lastDown": "Last Downtime", "lastDown": "Ostatni downtime",
"downDuration": "Downtime Duration", "downDuration": "Długość downtime'u",
"sitesUp": "Działające", "sitesUp": "Działające",
"sitesDown": "Niedziałające", "sitesDown": "Niedziałające",
"paused": "Zatrzymane", "paused": "Zatrzymane",
"notyetchecked": "Not Yet Checked", "notyetchecked": "Nie sprawdzono",
"up": "Dostępny", "up": "Dostępny",
"seemsdown": "Seems Down", "seemsdown": "Możliwe, że wyłączony",
"down": "Niedostępny", "down": "Niedostępny",
"unknown": "Nieznany" "unknown": "Nieznany"
}, },
"calendar": { "calendar": {
"inCinemas": "W kinach", "inCinemas": "W kinach",
"physicalRelease": "Wydanie fizyczne", "physicalRelease": "Wydanie fizyczne",
"digitalRelease": "Digital release", "digitalRelease": "Wydanie cyfrowe",
"noEventsToday": "No events for today!", "noEventsToday": "Brak wydarzeń na dziś!",
"noEventsFound": "No events found" "noEventsFound": "Nie znaleziono wydarzeń"
}, },
"romm": { "romm": {
"platforms": "Platformy", "platforms": "Platformy",
"totalRoms": "Total ROMs" "totalRoms": "Łącznie ROM"
}, },
"netdata": { "netdata": {
"warnings": "Ostrzeżenia", "warnings": "Ostrzeżenia",
"criticals": "Criticals" "criticals": "Krytyczny"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "Wydarzenia",
"plants": "Plants", "plants": "Rośliny",
"photos": "Zdjęcia", "photos": "Zdjęcia",
"species": "Species" "species": "Gatunki"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "Powiadomienia",
"issues": "Zgłoszenia", "issues": "Zgłoszenia",
"pulls": "Pull Requests" "pulls": "Żądania Pull"
}, },
"stash": { "stash": {
"scenes": "Scenes", "scenes": "Sceny",
"scenesPlayed": "Scenes Played", "scenesPlayed": "Odgrane sceny",
"playCount": "Total Plays", "playCount": "Łącznie odtworzone",
"playDuration": "Time Watched", "playDuration": "Łączny czas oglądania",
"sceneSize": "Scenes Size", "sceneSize": "Rozmiar scen",
"sceneDuration": "Scenes Duration", "sceneDuration": "Czas trwania scen",
"images": "Images", "images": "Obrazy",
"imageSize": "Images Size", "imageSize": "Rozmiar obrazów",
"galleries": "Galleries", "galleries": "Galerie",
"performers": "Performers", "performers": "Artyści",
"studios": "Studios", "studios": "Studia",
"movies": "Filmy", "movies": "Filmy",
"tags": "Tagi", "tags": "Tagi",
"oCount": "O Count" "oCount": "O Licznik"
}, },
"tandoor": { "tandoor": {
"users": "Użytkownicy", "users": "Użytkownicy",
"recipes": "Recipes", "recipes": "Przepisy",
"keywords": "Keywords" "keywords": "Słowa kluczowe"
}, },
"homebox": { "homebox": {
"items": "Items", "items": "Elementy",
"totalWithWarranty": "With Warranty", "totalWithWarranty": "Z gwarancją",
"locations": "Locations", "locations": "Lokalizacje",
"labels": "Labels", "labels": "Etykiety",
"users": "Użytkownicy", "users": "Użytkownicy",
"totalValue": "Total Value" "totalValue": "Wartość całkowita"
},
"crowdsec": {
"alerts": "Alarmy",
"bans": "Bany"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Desconexão pendente", "connectionStatusPendingDisconnect": "Desconexão pendente",
"connectionStatusDisconnecting": "Desconectando", "connectionStatusDisconnecting": "Desconectando",
"connectionStatusDisconnected": "Desconectado", "connectionStatusDisconnected": "Desconectado",
"connectionStatusConnected": "Conectado", "connectionStatusConnected": "Connected",
"uptime": "Ligado", "uptime": "Ligado",
"maxDown": "Máx. de Descarga", "maxDown": "Máx. de Descarga",
"maxUp": "Max. de Envio", "maxUp": "Max. de Envio",
@@ -277,11 +277,11 @@
"approved": "Aprovada", "approved": "Aprovada",
"available": "Disponível" "available": "Disponível"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Conectado", "connected": "Connected",
"new_devices": "Novos dispositivos", "new_devices": "New Devices",
"down_alerts": "Alertas de Baixo" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Consultas", "queries": "Consultas",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Utilizadores", "users": "Utilizadores",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alertas",
"bans": "Bans"
} }
} }

View File

@@ -14,7 +14,7 @@
"date": "{{value, date}}", "date": "{{value, date}}",
"relativeDate": "{{value, relativeDate}}", "relativeDate": "{{value, relativeDate}}",
"uptime": "{{value, uptime}}", "uptime": "{{value, uptime}}",
"months": "mo", "months": "M",
"days": "d", "days": "d",
"hours": "h", "hours": "h",
"minutes": "m", "minutes": "m",
@@ -85,17 +85,17 @@
"ping": { "ping": {
"error": "Erro", "error": "Erro",
"ping": "Tempo de resposta", "ping": "Tempo de resposta",
"down": "Down", "down": "Inativo",
"up": "Up", "up": "Ativo",
"not_available": "Not Available" "not_available": "Não Disponível"
}, },
"siteMonitor": { "siteMonitor": {
"http_status": "HTTP status", "http_status": "Estado HTTP",
"error": "Erro", "error": "Erro",
"response": "Response", "response": "Resposta",
"down": "Down", "down": "Inativo",
"up": "Up", "up": "Ativo",
"not_available": "Not Available" "not_available": "Não Disponível"
}, },
"emby": { "emby": {
"playing": "A reproduzir", "playing": "A reproduzir",
@@ -134,21 +134,21 @@
}, },
"fritzbox": { "fritzbox": {
"connectionStatus": "Estado", "connectionStatus": "Estado",
"connectionStatusUnconfigured": "Unconfigured", "connectionStatusUnconfigured": "Não configurado",
"connectionStatusConnecting": "Connecting", "connectionStatusConnecting": "Conectando",
"connectionStatusAuthenticating": "Authenticating", "connectionStatusAuthenticating": "Autenticando",
"connectionStatusPendingDisconnect": "Pending Disconnect", "connectionStatusPendingDisconnect": "Desconexão Pendente",
"connectionStatusDisconnecting": "Disconnecting", "connectionStatusDisconnecting": "Desconectando",
"connectionStatusDisconnected": "Disconnected", "connectionStatusDisconnected": "Desconectado",
"connectionStatusConnected": "Connected", "connectionStatusConnected": "Connected",
"uptime": "Ligado", "uptime": "Ligado",
"maxDown": "Max. Down", "maxDown": "Max. Down",
"maxUp": "Max. Up", "maxUp": "Max. Up",
"down": "Down", "down": "Inativo",
"up": "Up", "up": "Ativo",
"received": "Received", "received": "Recebido",
"sent": "Sent", "sent": "Enviado",
"externalIPAddress": "Ext. IP" "externalIPAddress": "IP Externo"
}, },
"caddy": { "caddy": {
"upstreams": "Upstreams", "upstreams": "Upstreams",
@@ -160,9 +160,9 @@
"diffsDetected": "Diferenças Detetadas" "diffsDetected": "Diferenças Detetadas"
}, },
"channelsdvrserver": { "channelsdvrserver": {
"shows": "Shows", "shows": "Programas",
"recordings": "Gravações", "recordings": "Gravações",
"scheduled": "Scheduled", "scheduled": "Agendado",
"passes": "Passes" "passes": "Passes"
}, },
"tautulli": { "tautulli": {
@@ -170,7 +170,7 @@
"transcoding": "Transcodificação", "transcoding": "Transcodificação",
"bitrate": "Taxa de bits", "bitrate": "Taxa de bits",
"no_active": "Sem streams ativas", "no_active": "Sem streams ativas",
"plex_connection_error": "Check Plex Connection" "plex_connection_error": "Verifique a conexão do Plex"
}, },
"omada": { "omada": {
"connectedAp": "APs Ligados", "connectedAp": "APs Ligados",
@@ -186,7 +186,7 @@
}, },
"plex": { "plex": {
"streams": "Streams Ativas", "streams": "Streams Ativas",
"albums": "Albums", "albums": "Álbuns",
"movies": "Filmes", "movies": "Filmes",
"tv": "Series de TV" "tv": "Series de TV"
}, },
@@ -213,9 +213,9 @@
"seed": "Semente" "seed": "Semente"
}, },
"qnap": { "qnap": {
"cpuUsage": "CPU Usage", "cpuUsage": "Uso de CPU",
"memUsage": "MEM Usage", "memUsage": "Uso de Memória",
"systemTempC": "System Temp", "systemTempC": "Temp. do Sistema",
"poolUsage": "Pool Usage", "poolUsage": "Pool Usage",
"volumeUsage": "Volume Usage", "volumeUsage": "Volume Usage",
"invalid": "Invalid" "invalid": "Invalid"
@@ -277,7 +277,7 @@
"approved": "Aprovada", "approved": "Aprovada",
"available": "Disponível" "available": "Disponível"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -494,15 +494,15 @@
"up_to_date": "Atualizado", "up_to_date": "Atualizado",
"child_bridges": "Pontes Filhas", "child_bridges": "Pontes Filhas",
"child_bridges_status": "{{ok}}/{{total}}", "child_bridges_status": "{{ok}}/{{total}}",
"up": "Up", "up": "Ativo",
"pending": "Pendente", "pending": "Pendente",
"down": "Down" "down": "Inativo"
}, },
"healthchecks": { "healthchecks": {
"new": "Novo", "new": "Novo",
"up": "Up", "up": "Ativo",
"grace": "Em Período Gratuito", "grace": "Em Período Gratuito",
"down": "Down", "down": "Inativo",
"paused": "Pausado", "paused": "Pausado",
"status": "Estado", "status": "Estado",
"last_ping": "Ultimo Ping", "last_ping": "Ultimo Ping",
@@ -617,8 +617,8 @@
"load": "Load Avg", "load": "Load Avg",
"memory": "Mem Usage", "memory": "Mem Usage",
"wanStatus": "WAN Status", "wanStatus": "WAN Status",
"up": "Up", "up": "Ativo",
"down": "Down", "down": "Inativo",
"temp": "Temp", "temp": "Temp",
"disk": "Disk Usage", "disk": "Disk Usage",
"wanIP": "WAN IP" "wanIP": "WAN IP"
@@ -664,7 +664,7 @@
"wanted": "Desejada" "wanted": "Desejada"
}, },
"photoprism": { "photoprism": {
"albums": "Albums", "albums": "Álbuns",
"photos": "Fotos", "photos": "Fotos",
"videos": "Vídeos", "videos": "Vídeos",
"people": "Pessoa" "people": "Pessoa"
@@ -799,10 +799,10 @@
"openwrt": { "openwrt": {
"uptime": "Ligado", "uptime": "Ligado",
"cpuLoad": "CPU Load Avg (5m)", "cpuLoad": "CPU Load Avg (5m)",
"up": "Up", "up": "Ativo",
"down": "Down", "down": "Inativo",
"bytesTx": "Transmitted", "bytesTx": "Transmitted",
"bytesRx": "Received" "bytesRx": "Recebido"
}, },
"uptimerobot": { "uptimerobot": {
"status": "Estado", "status": "Estado",
@@ -813,9 +813,9 @@
"sitesDown": "Sites Fora do Ar", "sitesDown": "Sites Fora do Ar",
"paused": "Pausado", "paused": "Pausado",
"notyetchecked": "Not Yet Checked", "notyetchecked": "Not Yet Checked",
"up": "Up", "up": "Ativo",
"seemsdown": "Seems Down", "seemsdown": "Seems Down",
"down": "Down", "down": "Inativo",
"unknown": "Desconhecido" "unknown": "Desconhecido"
}, },
"calendar": { "calendar": {
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Utilizadores", "users": "Utilizadores",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alertas",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Aprobate", "approved": "Aprobate",
"available": "Disponibile" "available": "Disponibile"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Utilizatori", "users": "Utilizatori",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Ожидает отключения", "connectionStatusPendingDisconnect": "Ожидает отключения",
"connectionStatusDisconnecting": "Отключение", "connectionStatusDisconnecting": "Отключение",
"connectionStatusDisconnected": "Отключено", "connectionStatusDisconnected": "Отключено",
"connectionStatusConnected": "Подключено", "connectionStatusConnected": "Connected",
"uptime": "Время работы", "uptime": "Время работы",
"maxDown": "Макс. Загрузка", "maxDown": "Макс. Загрузка",
"maxUp": "Макс. Отдача", "maxUp": "Макс. Отдача",
@@ -277,11 +277,11 @@
"approved": "Одобрено", "approved": "Одобрено",
"available": "Доступно" "available": "Доступно"
}, },
"pialert": { "netalertx": {
"total": "Всего", "total": "Всего",
"connected": "Подключено", "connected": "Connected",
"new_devices": "Новые устройства", "new_devices": "New Devices",
"down_alerts": "Оповещение о недоступности" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Запросы", "queries": "Запросы",
@@ -872,5 +872,9 @@
"labels": "Ярлыки", "labels": "Ярлыки",
"users": "Пользователи", "users": "Пользователи",
"totalValue": "Общая стоимость" "totalValue": "Общая стоимость"
},
"crowdsec": {
"alerts": "Предупреждения",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Čakám na odpojenie", "connectionStatusPendingDisconnect": "Čakám na odpojenie",
"connectionStatusDisconnecting": "Odpájanie", "connectionStatusDisconnecting": "Odpájanie",
"connectionStatusDisconnected": "Odpojené", "connectionStatusDisconnected": "Odpojené",
"connectionStatusConnected": "Pripojené", "connectionStatusConnected": "Connected",
"uptime": "Prevádzka", "uptime": "Prevádzka",
"maxDown": "Max. sťahovanie", "maxDown": "Max. sťahovanie",
"maxUp": "Max. nahrávanie", "maxUp": "Max. nahrávanie",
@@ -277,11 +277,11 @@
"approved": "Schválené", "approved": "Schválené",
"available": "Dostupné" "available": "Dostupné"
}, },
"pialert": { "netalertx": {
"total": "Celkovo", "total": "Celkovo",
"connected": "Pripojené", "connected": "Connected",
"new_devices": "Nové zariadenia", "new_devices": "New Devices",
"down_alerts": "Upozornenia o výpadkoch" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Dopyty", "queries": "Dopyty",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Používatelia", "users": "Používatelia",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Upozornenia",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Čakanje na prekinitev", "connectionStatusPendingDisconnect": "Čakanje na prekinitev",
"connectionStatusDisconnecting": "Prekinitev", "connectionStatusDisconnecting": "Prekinitev",
"connectionStatusDisconnected": "Prekinjeno", "connectionStatusDisconnected": "Prekinjeno",
"connectionStatusConnected": "Povezanih", "connectionStatusConnected": "Povezan",
"uptime": "Čas delovanja", "uptime": "Čas delovanja",
"maxDown": "Maks. dol", "maxDown": "Maks. dol",
"maxUp": "Maks. gor", "maxUp": "Maks. gor",
@@ -277,11 +277,11 @@
"approved": "Odobreno", "approved": "Odobreno",
"available": "Na voljo" "available": "Na voljo"
}, },
"pialert": { "netalertx": {
"total": "Skupaj", "total": "Skupaj",
"connected": "Povezanih", "connected": "Povezan",
"new_devices": "Nove naprave", "new_devices": "Nova naprave",
"down_alerts": "Izključeno" "down_alerts": "Alarmi nedelovanja"
}, },
"pihole": { "pihole": {
"queries": "Poizvedbe", "queries": "Poizvedbe",
@@ -872,5 +872,9 @@
"labels": "Oznake", "labels": "Oznake",
"users": "Uporabniki", "users": "Uporabniki",
"totalValue": "Skupna vrednost" "totalValue": "Skupna vrednost"
},
"crowdsec": {
"alerts": "Opozorila",
"bans": "Prepovedi"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Approved", "approved": "Approved",
"available": "Available" "available": "Available"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Users", "users": "Users",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -104,7 +104,7 @@
"no_active": "Inga aktiva strömmar", "no_active": "Inga aktiva strömmar",
"movies": "Movies", "movies": "Movies",
"series": "Series", "series": "Series",
"episodes": "Episodes", "episodes": "Avsnitt",
"songs": "Songs" "songs": "Songs"
}, },
"esphome": { "esphome": {
@@ -277,7 +277,7 @@
"approved": "Godkända", "approved": "Godkända",
"available": "Tillgänglig" "available": "Tillgänglig"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -423,7 +423,7 @@
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service", "service": "Service",
"search": "Search", "search": "Sök",
"custom": "Custom", "custom": "Custom",
"visit": "Visit", "visit": "Visit",
"url": "URL", "url": "URL",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Användare", "users": "Användare",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "ఆమోదించబడింది", "approved": "ఆమోదించబడింది",
"available": "అందుబాటులో వున్నవి" "available": "అందుబాటులో వున్నవి"
}, },
"pialert": { "netalertx": {
"total": "మొత్తం", "total": "మొత్తం",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "వినియోగదారులు", "users": "వినియోగదారులు",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Approved", "approved": "Approved",
"available": "Available" "available": "Available"
}, },
"pialert": { "netalertx": {
"total": "ทั้งหมด", "total": "ทั้งหมด",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "ผู้ใช้", "users": "ผู้ใช้",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Bağlantının Kesilmesi Bekleniyor", "connectionStatusPendingDisconnect": "Bağlantının Kesilmesi Bekleniyor",
"connectionStatusDisconnecting": "Bağlantı kesiliyor...", "connectionStatusDisconnecting": "Bağlantı kesiliyor...",
"connectionStatusDisconnected": "Bağlantı kesildi", "connectionStatusDisconnected": "Bağlantı kesildi",
"connectionStatusConnected": "Bağlandı", "connectionStatusConnected": "Connected",
"uptime": "Çalışma Süresi", "uptime": "Çalışma Süresi",
"maxDown": "Max. Indirme", "maxDown": "Max. Indirme",
"maxUp": "Max. Gönderme", "maxUp": "Max. Gönderme",
@@ -277,11 +277,11 @@
"approved": "Onaylı", "approved": "Onaylı",
"available": "Kullanılabilir" "available": "Kullanılabilir"
}, },
"pialert": { "netalertx": {
"total": "Toplam", "total": "Toplam",
"connected": "Bağlandı", "connected": "Connected",
"new_devices": "Yeni Cihazlar", "new_devices": "New Devices",
"down_alerts": "Düşme Uyarıları" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Sorgular", "queries": "Sorgular",
@@ -872,5 +872,9 @@
"labels": "Etiketler", "labels": "Etiketler",
"users": "Kullanıcılar", "users": "Kullanıcılar",
"totalValue": "Toplam Değer" "totalValue": "Toplam Değer"
},
"crowdsec": {
"alerts": "Alarmlar",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "Pending Disconnect", "connectionStatusPendingDisconnect": "Pending Disconnect",
"connectionStatusDisconnecting": "Disconnecting", "connectionStatusDisconnecting": "Disconnecting",
"connectionStatusDisconnected": "Disconnected", "connectionStatusDisconnected": "Disconnected",
"connectionStatusConnected": "Підключено", "connectionStatusConnected": "Connected",
"uptime": "Час роботи", "uptime": "Час роботи",
"maxDown": "Max. Down", "maxDown": "Max. Down",
"maxUp": "Max. Up", "maxUp": "Max. Up",
@@ -277,11 +277,11 @@
"approved": "Затверджено", "approved": "Затверджено",
"available": "Доступно" "available": "Доступно"
}, },
"pialert": { "netalertx": {
"total": "Усього", "total": "Усього",
"connected": "Підключено", "connected": "Connected",
"new_devices": "Нові пристрої", "new_devices": "New Devices",
"down_alerts": "Сповіщення про збій" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "Запити", "queries": "Запити",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Користувачі", "users": "Користувачі",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Оповіщення",
"bans": "Bans"
} }
} }

View File

@@ -277,7 +277,7 @@
"approved": "Đã duyệt", "approved": "Đã duyệt",
"available": "Available" "available": "Available"
}, },
"pialert": { "netalertx": {
"total": "Tổng", "total": "Tổng",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Users", "users": "Users",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "待辦的斷開", "connectionStatusPendingDisconnect": "待辦的斷開",
"connectionStatusDisconnecting": "正在中斷連線", "connectionStatusDisconnecting": "正在中斷連線",
"connectionStatusDisconnected": "連接已中斷", "connectionStatusDisconnected": "連接已中斷",
"connectionStatusConnected": "已連線", "connectionStatusConnected": "Connected",
"uptime": "運行時間", "uptime": "運行時間",
"maxDown": "最大下載速率", "maxDown": "最大下載速率",
"maxUp": "最大上傳速率", "maxUp": "最大上傳速率",
@@ -277,11 +277,11 @@
"approved": "批准", "approved": "批准",
"available": "可用" "available": "可用"
}, },
"pialert": { "netalertx": {
"total": "全部", "total": "全部",
"connected": "已連線", "connected": "Connected",
"new_devices": "新裝置", "new_devices": "New Devices",
"down_alerts": "離線警告" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "查詢", "queries": "查詢",
@@ -858,7 +858,7 @@
"studios": "工作室", "studios": "工作室",
"movies": "電影", "movies": "電影",
"tags": "標籤", "tags": "標籤",
"oCount": "O Count" "oCount": "0 個"
}, },
"tandoor": { "tandoor": {
"users": "使用者", "users": "使用者",
@@ -867,10 +867,14 @@
}, },
"homebox": { "homebox": {
"items": "項目", "items": "項目",
"totalWithWarranty": "With Warranty", "totalWithWarranty": "有保証",
"locations": "位置", "locations": "位置",
"labels": "標籤", "labels": "標籤",
"users": "使用者", "users": "使用者",
"totalValue": "總共" "totalValue": "總共"
},
"crowdsec": {
"alerts": "警示",
"bans": "禁止"
} }
} }

View File

@@ -54,13 +54,13 @@
"uptime": "运行时间", "uptime": "运行时间",
"days": "天", "days": "天",
"wan": "WAN", "wan": "WAN",
"lan": "LAN", "lan": "局域网",
"wlan": "WLAN", "wlan": "无线局域网",
"devices": "设备", "devices": "设备",
"lan_devices": "LAN设备", "lan_devices": "有线设备",
"wlan_devices": "WLAN 设备", "wlan_devices": "WLAN 设备",
"lan_users": "LAN 用户", "lan_users": "有线用户",
"wlan_users": "WLAN 用户", "wlan_users": "无线用户",
"up": "运行时间", "up": "运行时间",
"down": "离线", "down": "离线",
"wait": "请稍候", "wait": "请稍候",
@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "等待断开连接", "connectionStatusPendingDisconnect": "等待断开连接",
"connectionStatusDisconnecting": "正在断开连接", "connectionStatusDisconnecting": "正在断开连接",
"connectionStatusDisconnected": "未连接", "connectionStatusDisconnected": "未连接",
"connectionStatusConnected": "已连接", "connectionStatusConnected": "Connected",
"uptime": "运行时间", "uptime": "运行时间",
"maxDown": "最大下载速度", "maxDown": "最大下载速度",
"maxUp": "", "maxUp": "",
@@ -277,11 +277,11 @@
"approved": "已批准", "approved": "已批准",
"available": "可用" "available": "可用"
}, },
"pialert": { "netalertx": {
"total": "总计", "total": "总计",
"connected": "已连接", "connected": "Connected",
"new_devices": "新设备", "new_devices": "New Devices",
"down_alerts": "离线警报" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "查询", "queries": "查询",
@@ -858,7 +858,7 @@
"studios": "工作室", "studios": "工作室",
"movies": "电影", "movies": "电影",
"tags": "标签", "tags": "标签",
"oCount": "O Count" "oCount": "O "
}, },
"tandoor": { "tandoor": {
"users": "用户数", "users": "用户数",
@@ -866,11 +866,15 @@
"keywords": "关键词" "keywords": "关键词"
}, },
"homebox": { "homebox": {
"items": "Items", "items": "条目",
"totalWithWarranty": "With Warranty", "totalWithWarranty": "有保证",
"locations": "Locations", "locations": "位置",
"labels": "Labels", "labels": "标签",
"users": "用户数", "users": "用户数",
"totalValue": "Total Value" "totalValue": "总计"
},
"crowdsec": {
"alerts": "警告",
"bans": "禁用"
} }
} }

View File

@@ -140,7 +140,7 @@
"connectionStatusPendingDisconnect": "待辦的斷開", "connectionStatusPendingDisconnect": "待辦的斷開",
"connectionStatusDisconnecting": "正在中斷連線", "connectionStatusDisconnecting": "正在中斷連線",
"connectionStatusDisconnected": "連接已中斷", "connectionStatusDisconnected": "連接已中斷",
"connectionStatusConnected": "已連線", "connectionStatusConnected": "Connected",
"uptime": "運行時間", "uptime": "運行時間",
"maxDown": "最大下載速率", "maxDown": "最大下載速率",
"maxUp": "最大上傳速率", "maxUp": "最大上傳速率",
@@ -277,11 +277,11 @@
"approved": "已核准", "approved": "已核准",
"available": "可觀看" "available": "可觀看"
}, },
"pialert": { "netalertx": {
"total": "全部", "total": "全部",
"connected": "已連線", "connected": "Connected",
"new_devices": "新裝置", "new_devices": "New Devices",
"down_alerts": "離線警告" "down_alerts": "Down Alerts"
}, },
"pihole": { "pihole": {
"queries": "查詢", "queries": "查詢",
@@ -858,7 +858,7 @@
"studios": "工作室", "studios": "工作室",
"movies": "電影", "movies": "電影",
"tags": "標籤", "tags": "標籤",
"oCount": "O Count" "oCount": "0 個"
}, },
"tandoor": { "tandoor": {
"users": "用戶", "users": "用戶",
@@ -867,10 +867,14 @@
}, },
"homebox": { "homebox": {
"items": "項目", "items": "項目",
"totalWithWarranty": "With Warranty", "totalWithWarranty": "有保証",
"locations": "位置", "locations": "位置",
"labels": "標籤", "labels": "標籤",
"users": "用戶", "users": "用戶",
"totalValue": "總共" "totalValue": "總共"
},
"crowdsec": {
"alerts": "警示",
"bans": "禁止"
} }
} }

View File

@@ -12,7 +12,7 @@ export default function SiteMonitor({ group, service, style }) {
let statusTitle = t("siteMonitor.http_status"); let statusTitle = t("siteMonitor.http_status");
let statusText = ""; let statusText = "";
if (error) { if (error || (data && data.error)) {
colorClass = "text-rose-500"; colorClass = "text-rose-500";
statusText = t("siteMonitor.error"); statusText = t("siteMonitor.error");
statusTitle += ` ${t("siteMonitor.error")}`; statusTitle += ` ${t("siteMonitor.error")}`;

View File

@@ -2,11 +2,7 @@ import { getAllClasses, getInnerBlock, getBottomBlock } from "./container";
export default function ContainerForm({ children = [], options, additionalClassNames = "", callback }) { export default function ContainerForm({ children = [], options, additionalClassNames = "", callback }) {
return ( return (
<form <form onSubmit={callback} className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}>
type="button"
onSubmit={callback}
className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}
>
{getInnerBlock(children)} {getInnerBlock(children)}
{getBottomBlock(children)} {getBottomBlock(children)}
</form> </form>

View File

@@ -13,7 +13,7 @@ async function retrieveFromGlancesAPI(privateWidgetOptions, endpoint) {
throw new Error(errorMessage); throw new Error(errorMessage);
} }
const apiUrl = `${url}/api/3/${endpoint}`; const apiUrl = `${url}/api/${privateWidgetOptions.version}/${endpoint}`;
const headers = { const headers = {
"Accept-Encoding": "application/json", "Accept-Encoding": "application/json",
}; };
@@ -42,9 +42,10 @@ async function retrieveFromGlancesAPI(privateWidgetOptions, endpoint) {
} }
export default async function handler(req, res) { export default async function handler(req, res) {
const { index, cputemp: includeCpuTemp, uptime: includeUptime, disk: includeDisks } = req.query; const { index, cputemp: includeCpuTemp, uptime: includeUptime, disk: includeDisks, version } = req.query;
const privateWidgetOptions = await getPrivateWidgetOptions("glances", index); const privateWidgetOptions = await getPrivateWidgetOptions("glances", index);
privateWidgetOptions.version = version ?? 3;
try { try {
const cpuData = await retrieveFromGlancesAPI(privateWidgetOptions, "cpu"); const cpuData = await retrieveFromGlancesAPI(privateWidgetOptions, "cpu");

View File

@@ -393,6 +393,12 @@ export function cleanServiceGroups(groups) {
enableBlocks, enableBlocks,
enableNowPlaying, enableNowPlaying,
// emby, jellyfin, tautulli
enableUser,
// glances, pihole
version,
// glances // glances
chart, chart,
metric, metric,
@@ -447,6 +453,7 @@ export function cleanServiceGroups(groups) {
// truenas // truenas
enablePools, enablePools,
nasType,
// unifi // unifi
site, site,
@@ -513,12 +520,21 @@ export function cleanServiceGroups(groups) {
if (["emby", "jellyfin"].includes(type)) { if (["emby", "jellyfin"].includes(type)) {
if (enableBlocks !== undefined) cleanedService.widget.enableBlocks = JSON.parse(enableBlocks); if (enableBlocks !== undefined) cleanedService.widget.enableBlocks = JSON.parse(enableBlocks);
if (enableNowPlaying !== undefined) cleanedService.widget.enableNowPlaying = JSON.parse(enableNowPlaying); if (enableNowPlaying !== undefined) cleanedService.widget.enableNowPlaying = JSON.parse(enableNowPlaying);
if (enableUser !== undefined) {
cleanedService.widget.enableUser = !!JSON.parse(enableUser);
}
}
if (["tautulli"].includes(type)) {
if (enableUser !== undefined) {
cleanedService.widget.enableUser = !!JSON.parse(enableUser);
}
} }
if (["sonarr", "radarr"].includes(type)) { if (["sonarr", "radarr"].includes(type)) {
if (enableQueue !== undefined) cleanedService.widget.enableQueue = JSON.parse(enableQueue); if (enableQueue !== undefined) cleanedService.widget.enableQueue = JSON.parse(enableQueue);
} }
if (type === "truenas") { if (type === "truenas") {
if (enablePools !== undefined) cleanedService.widget.enablePools = JSON.parse(enablePools); if (enablePools !== undefined) cleanedService.widget.enablePools = JSON.parse(enablePools);
if (nasType !== undefined) cleanedService.widget.nasType = nasType;
} }
if (["diskstation", "qnap"].includes(type)) { if (["diskstation", "qnap"].includes(type)) {
if (volume) cleanedService.widget.volume = volume; if (volume) cleanedService.widget.volume = volume;
@@ -527,6 +543,9 @@ export function cleanServiceGroups(groups) {
if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost; if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost;
if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath; if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath;
} }
if (["glances", "pihole"].includes(type)) {
if (version) cleanedService.widget.version = version;
}
if (type === "glances") { if (type === "glances") {
if (metric) cleanedService.widget.metric = metric; if (metric) cleanedService.widget.metric = metric;
if (chart !== undefined) { if (chart !== undefined) {

View File

@@ -15,6 +15,7 @@ const components = {
channelsdvrserver: dynamic(() => import("./channelsdvrserver/component")), channelsdvrserver: dynamic(() => import("./channelsdvrserver/component")),
cloudflared: dynamic(() => import("./cloudflared/component")), cloudflared: dynamic(() => import("./cloudflared/component")),
coinmarketcap: dynamic(() => import("./coinmarketcap/component")), coinmarketcap: dynamic(() => import("./coinmarketcap/component")),
crowdsec: dynamic(() => import("./crowdsec/component")),
iframe: dynamic(() => import("./iframe/component")), iframe: dynamic(() => import("./iframe/component")),
customapi: dynamic(() => import("./customapi/component")), customapi: dynamic(() => import("./customapi/component")),
deluge: dynamic(() => import("./deluge/component")), deluge: dynamic(() => import("./deluge/component")),
@@ -62,6 +63,7 @@ const components = {
moonraker: dynamic(() => import("./moonraker/component")), moonraker: dynamic(() => import("./moonraker/component")),
mylar: dynamic(() => import("./mylar/component")), mylar: dynamic(() => import("./mylar/component")),
navidrome: dynamic(() => import("./navidrome/component")), navidrome: dynamic(() => import("./navidrome/component")),
netalertx: dynamic(() => import("./netalertx/component")),
netdata: dynamic(() => import("./netdata/component")), netdata: dynamic(() => import("./netdata/component")),
nextcloud: dynamic(() => import("./nextcloud/component")), nextcloud: dynamic(() => import("./nextcloud/component")),
nextdns: dynamic(() => import("./nextdns/component")), nextdns: dynamic(() => import("./nextdns/component")),
@@ -79,7 +81,7 @@ const components = {
pfsense: dynamic(() => import("./pfsense/component")), pfsense: dynamic(() => import("./pfsense/component")),
photoprism: dynamic(() => import("./photoprism/component")), photoprism: dynamic(() => import("./photoprism/component")),
proxmoxbackupserver: dynamic(() => import("./proxmoxbackupserver/component")), proxmoxbackupserver: dynamic(() => import("./proxmoxbackupserver/component")),
pialert: dynamic(() => import("./pialert/component")), pialert: dynamic(() => import("./netalertx/component")),
pihole: dynamic(() => import("./pihole/component")), pihole: dynamic(() => import("./pihole/component")),
plantit: dynamic(() => import("./plantit/component")), plantit: dynamic(() => import("./plantit/component")),
plex: dynamic(() => import("./plex/component")), plex: dynamic(() => import("./plex/component")),

View File

@@ -0,0 +1,34 @@
import { useTranslation } from "next-i18next";
import Container from "components/services/widget/container";
import Block from "components/services/widget/block";
import useWidgetAPI from "utils/proxy/use-widget-api";
export default function Component({ service }) {
const { t } = useTranslation();
const { widget } = service;
const { data: alerts, error: alertsError } = useWidgetAPI(widget, "alerts");
const { data: bans, error: bansError } = useWidgetAPI(widget, "bans");
if (alertsError || bansError) {
return <Container service={service} error={alertsError ?? bansError} />;
}
if (!alerts && !bans) {
return (
<Container service={service}>
<Block label="crowdsec.alerts" />
<Block label="crowdsec.bans" />
</Container>
);
}
return (
<Container service={service}>
<Block label="crowdsec.alerts" value={t("common.number", { value: alerts?.length ?? 0 })} />
<Block label="crowdsec.bans" value={t("common.number", { value: bans?.length ?? 0 })} />
</Container>
);
}

View File

@@ -0,0 +1,86 @@
import cache from "memory-cache";
import { httpProxy } from "utils/proxy/http";
import { formatApiCall } from "utils/proxy/api-helpers";
import getServiceWidget from "utils/config/service-helpers";
import createLogger from "utils/logger";
import widgets from "widgets/widgets";
const proxyName = "crowdsecProxyHandler";
const logger = createLogger(proxyName);
const sessionTokenCacheKey = `${proxyName}__sessionToken`;
async function login(widget, service) {
const url = formatApiCall(widgets[widget.type].loginURL, widget);
const [status, , data] = await httpProxy(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0", // Crowdsec requires a user-agent
},
body: JSON.stringify({
machine_id: widget.username,
password: widget.password,
scenarios: [],
}),
});
const dataParsed = JSON.parse(data);
if (!(status === 200) || !dataParsed.token) {
logger.error("Failed to login to Crowdsec API, status: %d", status);
cache.del(`${sessionTokenCacheKey}.${service}`);
}
cache.put(`${sessionTokenCacheKey}.${service}`, dataParsed.token, new Date(dataParsed.expire) - new Date());
}
export default async function crowdsecProxyHandler(req, res) {
const { group, service, endpoint } = req.query;
if (!group || !service) {
logger.error("Invalid or missing service '%s' or group '%s'", service, group);
return res.status(400).json({ error: "Invalid proxy service type" });
}
const widget = await getServiceWidget(group, service);
if (!widget || !widgets[widget.type].api) {
logger.error("Invalid or missing widget for service '%s' in group '%s'", service, group);
return res.status(400).json({ error: "Invalid widget configuration" });
}
if (!cache.get(`${sessionTokenCacheKey}.${service}`)) {
await login(widget, service);
}
const token = cache.get(`${sessionTokenCacheKey}.${service}`);
if (!token) {
return res.status(500).json({ error: "Failed to authenticate with Crowdsec" });
}
const url = new URL(formatApiCall(widgets[widget.type].api, { endpoint, ...widget }));
try {
const params = {
method: "GET",
headers: {
"User-Agent": "Mozilla/5.0", // Crowdsec requires a user-agent
"Content-Type": "application/json",
Authorization: `Bearer ${token}`,
},
};
logger.debug("Calling Crowdsec API endpoint: %s", endpoint);
const [status, , data] = await httpProxy(url, params);
if (status !== 200) {
logger.error("Error calling Crowdsec API: %d. Data: %s", status, data);
return res.status(status).json({ error: "Crowdsec API Error", data });
}
return res.status(status).send(data);
} catch (error) {
logger.error("Exception calling Crowdsec API: %s", error.message);
return res.status(500).json({ error: "Crowdsec API Error", message: error.message });
}
}

View File

@@ -0,0 +1,18 @@
import crowdsecProxyHandler from "./proxy";
const widget = {
api: "{url}/v1/{endpoint}",
loginURL: "{url}/v1/watchers/login",
proxyHandler: crowdsecProxyHandler,
mappings: {
alerts: {
endpoint: "alerts",
},
bans: {
endpoint: "alerts?decision_type=ban&origin=crowdsec&has_active_decision=1",
},
},
};
export default widget;

View File

@@ -27,10 +27,11 @@ function ticksToString(ticks) {
return parts.map((part) => part.toString().padStart(2, "0")).join(":"); return parts.map((part) => part.toString().padStart(2, "0")).join(":");
} }
function SingleSessionEntry({ playCommand, session }) { function SingleSessionEntry({ playCommand, session, enableUser }) {
const { const {
NowPlayingItem: { Name, SeriesName }, NowPlayingItem: { Name, SeriesName },
PlayState: { PositionTicks, IsPaused, IsMuted }, PlayState: { PositionTicks, IsPaused, IsMuted },
UserName,
} = session; } = session;
const RunTimeTicks = const RunTimeTicks =
@@ -49,6 +50,7 @@ function SingleSessionEntry({ playCommand, session }) {
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden"> <div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">
{Name} {Name}
{SeriesName && ` - ${SeriesName}`} {SeriesName && ` - ${SeriesName}`}
{enableUser && ` (${UserName})`}
</div> </div>
</div> </div>
<div className="self-center text-xs flex justify-end mr-1.5 pl-1"> <div className="self-center text-xs flex justify-end mr-1.5 pl-1">
@@ -97,10 +99,11 @@ function SingleSessionEntry({ playCommand, session }) {
); );
} }
function SessionEntry({ playCommand, session }) { function SessionEntry({ playCommand, session, enableUser }) {
const { const {
NowPlayingItem: { Name, SeriesName }, NowPlayingItem: { Name, SeriesName },
PlayState: { PositionTicks, IsPaused, IsMuted }, PlayState: { PositionTicks, IsPaused, IsMuted },
UserName,
} = session; } = session;
const RunTimeTicks = const RunTimeTicks =
@@ -142,6 +145,7 @@ function SessionEntry({ playCommand, session }) {
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden"> <div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">
{Name} {Name}
{SeriesName && ` - ${SeriesName}`} {SeriesName && ` - ${SeriesName}`}
{enableUser && ` (${UserName})`}
</div> </div>
</div> </div>
<div className="self-center text-xs flex justify-end mr-1 z-10">{IsMuted && <BsVolumeMuteFill />}</div> <div className="self-center text-xs flex justify-end mr-1 z-10">{IsMuted && <BsVolumeMuteFill />}</div>
@@ -215,6 +219,7 @@ export default function Component({ service }) {
const enableBlocks = service.widget?.enableBlocks; const enableBlocks = service.widget?.enableBlocks;
const enableNowPlaying = service.widget?.enableNowPlaying ?? true; const enableNowPlaying = service.widget?.enableNowPlaying ?? true;
const enableUser = !!service.widget?.enableUser;
if (!sessionsData || !countData) { if (!sessionsData || !countData) {
return ( return (
@@ -272,6 +277,7 @@ export default function Component({ service }) {
<SingleSessionEntry <SingleSessionEntry
playCommand={(currentSession, command) => handlePlayCommand(currentSession, command)} playCommand={(currentSession, command) => handlePlayCommand(currentSession, command)}
session={session} session={session}
enableUser={enableUser}
/> />
</div> </div>
</> </>
@@ -288,6 +294,7 @@ export default function Component({ service }) {
key={session.Id} key={session.Id}
playCommand={(currentSession, command) => handlePlayCommand(currentSession, command)} playCommand={(currentSession, command) => handlePlayCommand(currentSession, command)}
session={session} session={session}
enableUser={enableUser}
/> />
))} ))}
</div> </div>

View File

@@ -16,15 +16,15 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit } = widget; const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit)); const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(service.widget, "cpu", { const { data, error } = useWidgetAPI(service.widget, `${version}/cpu`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });
const { data: quicklookData, error: quicklookError } = useWidgetAPI(service.widget, "quicklook"); const { data: quicklookData, error: quicklookError } = useWidgetAPI(service.widget, `${version}/quicklook`);
useEffect(() => { useEffect(() => {
if (data) { if (data) {

View File

@@ -16,7 +16,7 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit } = widget; const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [, diskName] = widget.metric.split(":"); const [, diskName] = widget.metric.split(":");
const [dataPoints, setDataPoints] = useState( const [dataPoints, setDataPoints] = useState(
@@ -24,7 +24,7 @@ export default function Component({ service }) {
); );
const [ratePoints, setRatePoints] = useState(new Array(pointsLimit).fill({ a: 0, b: 0 }, 0, pointsLimit)); const [ratePoints, setRatePoints] = useState(new Array(pointsLimit).fill({ a: 0, b: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(service.widget, "diskio", { const { data, error } = useWidgetAPI(service.widget, `${version}/diskio`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });

View File

@@ -11,11 +11,11 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval } = widget; const { chart, refreshInterval = defaultInterval, version = 3 } = widget;
const [, fsName] = widget.metric.split("fs:"); const [, fsName] = widget.metric.split("fs:");
const diskUnits = widget.diskUnits === "bbytes" ? "common.bbytes" : "common.bytes"; const diskUnits = widget.diskUnits === "bbytes" ? "common.bbytes" : "common.bytes";
const { data, error } = useWidgetAPI(widget, "fs", { const { data, error } = useWidgetAPI(widget, `${version}/fs`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });

View File

@@ -16,12 +16,12 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit } = widget; const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [, gpuName] = widget.metric.split(":"); const [, gpuName] = widget.metric.split(":");
const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ a: 0, b: 0 }, 0, pointsLimit)); const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ a: 0, b: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(widget, "gpu", { const { data, error } = useWidgetAPI(widget, `${version}/gpu`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });

View File

@@ -74,13 +74,13 @@ const defaultSystemInterval = 30000; // This data (OS, hostname, distribution) i
export default function Component({ service }) { export default function Component({ service }) {
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval } = widget; const { chart, refreshInterval = defaultInterval, version = 3 } = widget;
const { data: quicklookData, errorL: quicklookError } = useWidgetAPI(service.widget, "quicklook", { const { data: quicklookData, errorL: quicklookError } = useWidgetAPI(service.widget, `${version}/quicklook`, {
refreshInterval, refreshInterval,
}); });
const { data: systemData, errorL: systemError } = useWidgetAPI(service.widget, "system", { const { data: systemData, errorL: systemError } = useWidgetAPI(service.widget, `${version}/system`, {
refreshInterval: defaultSystemInterval, refreshInterval: defaultSystemInterval,
}); });

View File

@@ -17,11 +17,11 @@ export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart } = widget; const { chart } = widget;
const { refreshInterval = defaultInterval(chart), pointsLimit = defaultPointsLimit } = widget; const { refreshInterval = defaultInterval(chart), pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit)); const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(service.widget, "mem", { const { data, error } = useWidgetAPI(service.widget, `${version}/mem`, {
refreshInterval: Math.max(defaultInterval(chart), refreshInterval), refreshInterval: Math.max(defaultInterval(chart), refreshInterval),
}); });

View File

@@ -17,13 +17,16 @@ export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, metric } = widget; const { chart, metric } = widget;
const { refreshInterval = defaultInterval(chart), pointsLimit = defaultPointsLimit } = widget; const { refreshInterval = defaultInterval(chart), pointsLimit = defaultPointsLimit, version = 3 } = widget;
const rxKey = version === 3 ? "rx" : "bytes_recv";
const txKey = version === 3 ? "tx" : "bytes_sent";
const [, interfaceName] = metric.split(":"); const [, interfaceName] = metric.split(":");
const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit)); const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(widget, "network", { const { data, error } = useWidgetAPI(widget, `${version}/network`, {
refreshInterval: Math.max(defaultInterval(chart), refreshInterval), refreshInterval: Math.max(defaultInterval(chart), refreshInterval),
}); });
@@ -36,8 +39,8 @@ export default function Component({ service }) {
const newDataPoints = [ const newDataPoints = [
...prevDataPoints, ...prevDataPoints,
{ {
a: (interfaceData.rx * 8) / interfaceData.time_since_update, a: (interfaceData[rxKey] * 8) / interfaceData.time_since_update,
b: (interfaceData.tx * 8) / interfaceData.time_since_update, b: (interfaceData[txKey] * 8) / interfaceData.time_since_update,
}, },
]; ];
if (newDataPoints.length > pointsLimit) { if (newDataPoints.length > pointsLimit) {
@@ -47,7 +50,7 @@ export default function Component({ service }) {
}); });
} }
} }
}, [data, interfaceName, pointsLimit]); }, [data, interfaceName, pointsLimit, rxKey, txKey]);
if (error) { if (error) {
return ( return (
@@ -97,7 +100,7 @@ export default function Component({ service }) {
<div className="text-xs opacity-75"> <div className="text-xs opacity-75">
{t("common.bitrate", { {t("common.bitrate", {
value: (interfaceData.rx * 8) / interfaceData.time_since_update, value: (interfaceData[rxKey] * 8) / interfaceData.time_since_update,
maximumFractionDigits: 0, maximumFractionDigits: 0,
})}{" "} })}{" "}
{t("docker.rx")} {t("docker.rx")}
@@ -115,7 +118,7 @@ export default function Component({ service }) {
<Block position="bottom-3 right-3"> <Block position="bottom-3 right-3">
<div className="text-xs opacity-75"> <div className="text-xs opacity-75">
{t("common.bitrate", { {t("common.bitrate", {
value: (interfaceData.tx * 8) / interfaceData.time_since_update, value: (interfaceData[txKey] * 8) / interfaceData.time_since_update,
maximumFractionDigits: 0, maximumFractionDigits: 0,
})}{" "} })}{" "}
{t("docker.tx")} {t("docker.tx")}

View File

@@ -22,9 +22,11 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval } = widget; const { chart, refreshInterval = defaultInterval, version = 3 } = widget;
const { data, error } = useWidgetAPI(service.widget, "processlist", { const memoryInfoKey = version === 3 ? 0 : "data";
const { data, error } = useWidgetAPI(service.widget, `${version}/processlist`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });
@@ -66,7 +68,7 @@ export default function Component({ service }) {
<div className="opacity-25 w-14 text-right">{item.cpu_percent.toFixed(1)}%</div> <div className="opacity-25 w-14 text-right">{item.cpu_percent.toFixed(1)}%</div>
<div className="opacity-25 w-14 text-right"> <div className="opacity-25 w-14 text-right">
{t("common.bytes", { {t("common.bytes", {
value: item.memory_info[0], value: item.memory_info[memoryInfoKey],
maximumFractionDigits: 0, maximumFractionDigits: 0,
})} })}
</div> </div>

View File

@@ -16,12 +16,12 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit } = widget; const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [, sensorName] = widget.metric.split(":"); const [, sensorName] = widget.metric.split(":");
const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit)); const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(service.widget, "sensors", { const { data, error } = useWidgetAPI(service.widget, `${version}/sensors`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });

View File

@@ -1,7 +1,7 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed"; import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = { const widget = {
api: "{url}/api/3/{endpoint}", api: "{url}/api/{endpoint}",
proxyHandler: credentialedProxyHandler, proxyHandler: credentialedProxyHandler,
}; };

View File

@@ -14,7 +14,7 @@ async function login(widget, service) {
const endpoint = "auth/login"; const endpoint = "auth/login";
const api = widgets?.[widget.type]?.api; const api = widgets?.[widget.type]?.api;
const loginUrl = new URL(formatApiCall(api, { endpoint, ...widget })); const loginUrl = new URL(formatApiCall(api, { endpoint, ...widget }));
const loginBody = { username: widget.username, password: widget.password }; const loginBody = { username: widget.username.toString(), password: widget.password.toString() };
const headers = { "Content-Type": "application/json" }; const headers = { "Content-Type": "application/json" };
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
const [status, contentType, data, responseHeaders] = await httpProxy(loginUrl, { const [status, contentType, data, responseHeaders] = await httpProxy(loginUrl, {

View File

@@ -0,0 +1,37 @@
import { useTranslation } from "next-i18next";
import Container from "components/services/widget/container";
import Block from "components/services/widget/block";
import useWidgetAPI from "utils/proxy/use-widget-api";
export default function Component({ service }) {
const { t } = useTranslation();
const { widget } = service;
const { data: netalertxData, error: netalertxError } = useWidgetAPI(widget, "data");
if (netalertxError) {
return <Container service={service} error={netalertxError} />;
}
if (!netalertxData) {
return (
<Container service={service}>
<Block label="netalertx.total" />
<Block label="netalertx.connected" />
<Block label="netalertx.new_devices" />
<Block label="netalertx.down_alerts" />
</Container>
);
}
return (
<Container service={service}>
<Block label="netalertx.total" value={t("common.number", { value: parseInt(netalertxData[0], 10) })} />
<Block label="netalertx.connected" value={t("common.number", { value: parseInt(netalertxData[1], 10) })} />
<Block label="netalertx.new_devices" value={t("common.number", { value: parseInt(netalertxData[3], 10) })} />
<Block label="netalertx.down_alerts" value={t("common.number", { value: parseInt(netalertxData[4], 10) })} />
</Container>
);
}

View File

@@ -1,37 +0,0 @@
import { useTranslation } from "next-i18next";
import Container from "components/services/widget/container";
import Block from "components/services/widget/block";
import useWidgetAPI from "utils/proxy/use-widget-api";
export default function Component({ service }) {
const { t } = useTranslation();
const { widget } = service;
const { data: pialertData, error: pialertError } = useWidgetAPI(widget, "data");
if (pialertError) {
return <Container service={service} error={pialertError} />;
}
if (!pialertData) {
return (
<Container service={service}>
<Block label="pialert.total" />
<Block label="pialert.connected" />
<Block label="pialert.new_devices" />
<Block label="pialert.down_alerts" />
</Container>
);
}
return (
<Container service={service}>
<Block label="pialert.total" value={t("common.number", { value: parseInt(pialertData[0], 10) })} />
<Block label="pialert.connected" value={t("common.number", { value: parseInt(pialertData[1], 10) })} />
<Block label="pialert.new_devices" value={t("common.number", { value: parseInt(pialertData[3], 10) })} />
<Block label="pialert.down_alerts" value={t("common.number", { value: parseInt(pialertData[4], 10) })} />
</Container>
);
}

View File

@@ -9,7 +9,7 @@ export default function Component({ service }) {
const { widget } = service; const { widget } = service;
const { data: piholeData, error: piholeError } = useWidgetAPI(widget, "summaryRaw"); const { data: piholeData, error: piholeError } = useWidgetAPI(widget);
if (piholeError) { if (piholeError) {
return <Container service={service} error={piholeError} />; return <Container service={service} error={piholeError} />;
@@ -32,7 +32,7 @@ export default function Component({ service }) {
let blockedValue = `${t("common.number", { value: parseInt(piholeData.ads_blocked_today, 10) })}`; let blockedValue = `${t("common.number", { value: parseInt(piholeData.ads_blocked_today, 10) })}`;
if (!widget.fields.includes("blocked_percent")) { if (!widget.fields.includes("blocked_percent")) {
blockedValue += ` (${t("common.percent", { value: parseFloat(piholeData.ads_percentage_today.toPrecision(3)) })})`; blockedValue += ` (${t("common.percent", { value: parseFloat(piholeData.ads_percentage_today).toPrecision(3) })})`;
} }
return ( return (
@@ -41,7 +41,7 @@ export default function Component({ service }) {
<Block label="pihole.blocked" value={blockedValue} /> <Block label="pihole.blocked" value={blockedValue} />
<Block <Block
label="pihole.blocked_percent" label="pihole.blocked_percent"
value={t("common.percent", { value: parseFloat(piholeData.ads_percentage_today.toPrecision(3)) })} value={t("common.percent", { value: parseFloat(piholeData.ads_percentage_today).toPrecision(3) })}
/> />
<Block <Block
label="pihole.gravity" label="pihole.gravity"

View File

@@ -0,0 +1,95 @@
import cache from "memory-cache";
import { httpProxy } from "utils/proxy/http";
import { formatApiCall } from "utils/proxy/api-helpers";
import getServiceWidget from "utils/config/service-helpers";
import createLogger from "utils/logger";
import widgets from "widgets/widgets";
const proxyName = "piholeProxyHandler";
const logger = createLogger(proxyName);
const sessionSIDCacheKey = `${proxyName}__sessionSID`;
async function login(widget, service) {
const url = formatApiCall(widgets[widget.type].api, { ...widget, endpoint: "auth" });
const [status, , data] = await httpProxy(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
password: widget.key,
}),
});
const dataParsed = JSON.parse(data);
if (status !== 200 || !dataParsed.session) {
logger.error("Failed to login to Pi-Hole API, status: %d", status);
cache.del(`${sessionSIDCacheKey}.${service}`);
} else {
cache.put(`${sessionSIDCacheKey}.${service}`, dataParsed.session.sid, dataParsed.session.validity);
}
}
export default async function piholeProxyHandler(req, res) {
const { group, service } = req.query;
let endpoint = "stats/summary";
if (!group || !service) {
logger.error("Invalid or missing service '%s' or group '%s'", service, group);
return res.status(400).json({ error: "Invalid proxy service type" });
}
const widget = await getServiceWidget(group, service);
if (!widget) {
logger.error("Invalid or missing widget for service '%s' in group '%s'", service, group);
return res.status(400).json({ error: "Invalid widget configuration" });
}
let status;
let data;
if (!widget.version || widget.version < 6) {
// pihole v5
endpoint = "summaryRaw";
[status, , data] = await httpProxy(formatApiCall(widgets[widget.type].apiv5, { ...widget, endpoint }));
return res.status(status).send(data);
}
// pihole v6
if (!cache.get(`${sessionSIDCacheKey}.${service}`)) {
await login(widget, service);
}
const sid = cache.get(`${sessionSIDCacheKey}.${service}`);
if (!sid) {
return res.status(500).json({ error: "Failed to authenticate with Pi-hole" });
}
try {
logger.debug("Calling Pi-hole API endpoint: %s", endpoint);
[status, , data] = await httpProxy(formatApiCall(widgets[widget.type].api, { ...widget, endpoint }), {
headers: {
"Content-Type": "application/json",
"X-FTL-SID": sid,
},
});
if (status !== 200) {
logger.error("Error calling Pi-Hole API: %d. Data: %s", status, data);
return res.status(status).json({ error: "Pi-Hole API Error", data });
}
const dataParsed = JSON.parse(data);
return res.status(status).json({
domains_being_blocked: dataParsed.gravity.domains_being_blocked,
ads_blocked_today: dataParsed.queries.blocked,
ads_percentage_today: dataParsed.queries.percent_blocked,
dns_queries_today: dataParsed.queries.total,
});
} catch (error) {
logger.error("Exception calling Pi-Hole API: %s", error.message);
return res.status(500).json({ error: "Pi-Hole API Error", message: error.message });
}
}

View File

@@ -1,15 +1,9 @@
import genericProxyHandler from "utils/proxy/handlers/generic"; import piholeProxyHandler from "./proxy";
const widget = { const widget = {
api: "{url}/admin/api.php?{endpoint}&auth={key}", api: "{url}/api/{endpoint}",
proxyHandler: genericProxyHandler, apiv5: "{url}/admin/api.php?{endpoint}&auth={key}",
proxyHandler: piholeProxyHandler,
mappings: {
summaryRaw: {
endpoint: "summaryRaw",
validate: ["dns_queries_today", "ads_blocked_today", "ads_percentage_today", "domains_being_blocked"],
},
},
}; };
export default widget; export default widget;

View File

@@ -25,14 +25,18 @@ function millisecondsToString(milliseconds) {
return parts.map((part) => part.toString().padStart(2, "0")).join(":"); return parts.map((part) => part.toString().padStart(2, "0")).join(":");
} }
function SingleSessionEntry({ session }) { function SingleSessionEntry({ session, enableUser }) {
const { full_title, duration, view_offset, progress_percent, state, video_decision, audio_decision } = session; const { full_title, duration, view_offset, progress_percent, state, video_decision, audio_decision, username } =
session;
return ( return (
<> <>
<div className="text-theme-700 dark:text-theme-200 relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1 flex"> <div className="text-theme-700 dark:text-theme-200 relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1 flex">
<div className="text-xs z-10 self-center ml-2 relative w-full h-4 grow mr-2"> <div className="text-xs z-10 self-center ml-2 relative w-full h-4 grow mr-2">
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">{full_title}</div> <div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">
{full_title}
{enableUser && ` (${username})`}
</div>
</div> </div>
<div className="self-center text-xs flex justify-end mr-1.5 pl-1"> <div className="self-center text-xs flex justify-end mr-1.5 pl-1">
{video_decision === "direct play" && audio_decision === "direct play" && ( {video_decision === "direct play" && audio_decision === "direct play" && (
@@ -74,8 +78,8 @@ function SingleSessionEntry({ session }) {
); );
} }
function SessionEntry({ session }) { function SessionEntry({ session, enableUser }) {
const { full_title, view_offset, progress_percent, state, video_decision, audio_decision } = session; const { full_title, view_offset, progress_percent, state, video_decision, audio_decision, username } = session;
return ( return (
<div className="text-theme-700 dark:text-theme-200 relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1 flex"> <div className="text-theme-700 dark:text-theme-200 relative h-5 w-full rounded-md bg-theme-200/50 dark:bg-theme-900/20 mt-1 flex">
@@ -94,7 +98,10 @@ function SessionEntry({ session }) {
)} )}
</div> </div>
<div className="text-xs z-10 self-center ml-2 relative w-full h-4 grow mr-2"> <div className="text-xs z-10 self-center ml-2 relative w-full h-4 grow mr-2">
<div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">{full_title}</div> <div className="absolute w-full whitespace-nowrap text-ellipsis overflow-hidden">
{full_title}
{enableUser && ` (${username})`}
</div>
</div> </div>
<div className="self-center text-xs flex justify-end mr-1.5 pl-1 z-10"> <div className="self-center text-xs flex justify-end mr-1.5 pl-1 z-10">
{video_decision === "direct play" && audio_decision === "direct play" && ( {video_decision === "direct play" && audio_decision === "direct play" && (
@@ -162,11 +169,13 @@ export default function Component({ service }) {
); );
} }
const enableUser = !!service.widget?.enableUser;
if (playing.length === 1) { if (playing.length === 1) {
const session = playing[0]; const session = playing[0];
return ( return (
<div className="flex flex-col pb-1 mx-1"> <div className="flex flex-col pb-1 mx-1">
<SingleSessionEntry session={session} /> <SingleSessionEntry session={session} enableUser={enableUser} />
</div> </div>
); );
} }
@@ -174,7 +183,7 @@ export default function Component({ service }) {
return ( return (
<div className="flex flex-col pb-1 mx-1"> <div className="flex flex-col pb-1 mx-1">
{playing.map((session) => ( {playing.map((session) => (
<SessionEntry key={session.Id} session={session} /> <SessionEntry key={session.Id} session={session} enableUser={enableUser} />
))} ))}
</div> </div>
); );

View File

@@ -40,7 +40,15 @@ export default function Component({ service }) {
</Container> </Container>
{enablePools && {enablePools &&
poolsData.map((pool) => ( poolsData.map((pool) => (
<Pool key={pool.id} name={pool.name} healthy={pool.healthy} allocated={pool.allocated} free={pool.free} /> <Pool
key={pool.id}
name={pool.name}
healthy={pool.healthy}
allocated={pool.allocated}
free={pool.free}
data={pool.data}
nasType={widget?.nasType ?? "scale"}
/>
))} ))}
</> </>
); );

View File

@@ -1,8 +1,18 @@
import classNames from "classnames"; import classNames from "classnames";
import prettyBytes from "pretty-bytes"; import prettyBytes from "pretty-bytes";
export default function Pool({ name, free, allocated, healthy }) { export default function Pool({ name, free, allocated, healthy, data, nasType }) {
const total = free + allocated; let total = 0;
if (nasType === "scale") {
total = free + allocated;
} else {
allocated = 0; // eslint-disable-line no-param-reassign
for (let i = 0; i < data.length; i += 1) {
total += data[i].stats.size;
allocated += data[i].stats.allocated; // eslint-disable-line no-param-reassign
}
}
const usedPercent = Math.round((allocated / total) * 100); const usedPercent = Math.round((allocated / total) * 100);
const statusColor = healthy ? "bg-green-500" : "bg-yellow-500"; const statusColor = healthy ? "bg-green-500" : "bg-yellow-500";

View File

@@ -25,6 +25,7 @@ const widget = {
healthy: entry.healthy, healthy: entry.healthy,
allocated: entry.allocated, allocated: entry.allocated,
free: entry.free, free: entry.free,
data: entry.topology.data,
})), })),
}, },
}, },

View File

@@ -12,6 +12,7 @@ import changedetectionio from "./changedetectionio/widget";
import channelsdvrserver from "./channelsdvrserver/widget"; import channelsdvrserver from "./channelsdvrserver/widget";
import cloudflared from "./cloudflared/widget"; import cloudflared from "./cloudflared/widget";
import coinmarketcap from "./coinmarketcap/widget"; import coinmarketcap from "./coinmarketcap/widget";
import crowdsec from "./crowdsec/widget";
import customapi from "./customapi/widget"; import customapi from "./customapi/widget";
import deluge from "./deluge/widget"; import deluge from "./deluge/widget";
import diskstation from "./diskstation/widget"; import diskstation from "./diskstation/widget";
@@ -54,6 +55,7 @@ import mjpeg from "./mjpeg/widget";
import moonraker from "./moonraker/widget"; import moonraker from "./moonraker/widget";
import mylar from "./mylar/widget"; import mylar from "./mylar/widget";
import navidrome from "./navidrome/widget"; import navidrome from "./navidrome/widget";
import netalertx from "./netalertx/widget";
import netdata from "./netdata/widget"; import netdata from "./netdata/widget";
import nextcloud from "./nextcloud/widget"; import nextcloud from "./nextcloud/widget";
import nextdns from "./nextdns/widget"; import nextdns from "./nextdns/widget";
@@ -72,7 +74,6 @@ import peanut from "./peanut/widget";
import pfsense from "./pfsense/widget"; import pfsense from "./pfsense/widget";
import photoprism from "./photoprism/widget"; import photoprism from "./photoprism/widget";
import proxmoxbackupserver from "./proxmoxbackupserver/widget"; import proxmoxbackupserver from "./proxmoxbackupserver/widget";
import pialert from "./pialert/widget";
import pihole from "./pihole/widget"; import pihole from "./pihole/widget";
import plantit from "./plantit/widget"; import plantit from "./plantit/widget";
import plex from "./plex/widget"; import plex from "./plex/widget";
@@ -125,6 +126,7 @@ const widgets = {
channelsdvrserver, channelsdvrserver,
cloudflared, cloudflared,
coinmarketcap, coinmarketcap,
crowdsec,
customapi, customapi,
deluge, deluge,
diskstation, diskstation,
@@ -169,6 +171,7 @@ const widgets = {
moonraker, moonraker,
mylar, mylar,
navidrome, navidrome,
netalertx,
netdata, netdata,
nextcloud, nextcloud,
nextdns, nextdns,
@@ -187,7 +190,7 @@ const widgets = {
pfsense, pfsense,
photoprism, photoprism,
proxmoxbackupserver, proxmoxbackupserver,
pialert, pialert: netalertx,
pihole, pihole,
plantit, plantit,
plex, plex,