Compare commits

...

7 Commits

Author SHA1 Message Date
Crowdin Bot 2ec4741e31 New Crowdin translations by GitHub Action
Lint / Linting Checks (push) Waiting to run
Tests / vitest (1) (push) Waiting to run
Tests / vitest (2) (push) Waiting to run
Tests / vitest (3) (push) Waiting to run
Tests / vitest (4) (push) Waiting to run
2026-08-31 00:58:23 +00:00
shamoon f6dca0c5ad Fixhancement: crowdsec widget improvements (#7075)
Docker CI / Docker Build & Push (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Release Drafter / Auto Label PR (push) Has been cancelled
Lint / Linting Checks (push) Has been cancelled
Tests / vitest (1) (push) Has been cancelled
Tests / vitest (2) (push) Has been cancelled
Tests / vitest (3) (push) Has been cancelled
Tests / vitest (4) (push) Has been cancelled
2026-08-29 23:43:19 -07:00
shamoon e6ad43a76c Tweak: improve nextauth error logging for easier debugging (#7070)
Docker CI / Docker Build & Push (push) Has been cancelled
Lint / Linting Checks (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Release Drafter / Auto Label PR (push) Has been cancelled
Tests / vitest (1) (push) Has been cancelled
Tests / vitest (2) (push) Has been cancelled
Tests / vitest (3) (push) Has been cancelled
Tests / vitest (4) (push) Has been cancelled
2026-08-28 12:23:55 -07:00
dependabot[bot] c46b3e6cff Chore(deps): Bump docker/setup-buildx-action from 4.2.0 to 4.3.0 (#7065)
Docker CI / Docker Build & Push (push) Has been cancelled
Lint / Linting Checks (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Release Drafter / Auto Label PR (push) Has been cancelled
Tests / vitest (1) (push) Has been cancelled
Tests / vitest (2) (push) Has been cancelled
Tests / vitest (3) (push) Has been cancelled
Tests / vitest (4) (push) Has been cancelled
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-27 17:43:25 +00:00
dependabot[bot] e913243149 Chore(deps): Bump crowdin/github-action from 2.17.0 to 2.17.1 (#7066)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-27 17:37:38 +00:00
dependabot[bot] 99e16c6da0 Chore(deps): Bump astral-sh/setup-uv from 10.0.0 to 10.0.1 (#7067)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-27 10:31:08 -07:00
Vaibhav Srivastava c0b6eb3501 Documentation: fix typo ommitted -> omitted (#7064)
Docker CI / Docker Build & Push (push) Has been cancelled
Lint / Linting Checks (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Release Drafter / Auto Label PR (push) Has been cancelled
Tests / vitest (1) (push) Has been cancelled
Tests / vitest (2) (push) Has been cancelled
Tests / vitest (3) (push) Has been cancelled
Tests / vitest (4) (push) Has been cancelled
2026-08-27 00:20:59 -07:00
52 changed files with 406 additions and 274 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: crowdin action
uses: crowdin/github-action@c7af9bc98b01694653031fef2a0dc6c7888ce9bc # v2
uses: crowdin/github-action@8f01d54f70f1713ee3f09d82c2bbb2daeac28689 # v2
with:
upload_translations: false
download_translations: true
+1 -1
View File
@@ -102,7 +102,7 @@ jobs:
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
- name: Setup Docker buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
- name: Build and push Docker image
id: build-and-push
+2 -2
View File
@@ -23,7 +23,7 @@ jobs:
with:
python-version-file: ".python-version"
- name: Install uv
uses: astral-sh/setup-uv@ae62891fec2bb8e7d6c99fc78c9fec3a63790f8d # v10.0.0
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
- run: sudo apt-get install pngquant
- name: Test Docs Build
run: uv run --frozen zensical build --clean
@@ -45,7 +45,7 @@ jobs:
with:
python-version-file: ".python-version"
- name: Install uv
uses: astral-sh/setup-uv@ae62891fec2bb8e7d6c99fc78c9fec3a63790f8d # v10.0.0
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
- run: sudo apt-get install pngquant
- name: Build Docs
run: uv run --frozen zensical build --clean
+3 -2
View File
@@ -9,7 +9,9 @@ See the [crowdsec docs](https://docs.crowdsec.net/docs/local_api/intro/#machines
in most instances you can use the default credentials (`/etc/crowdsec/local_api_credentials.yaml`).
!!! note
Without the `limit24h` option, the widget will fetch all alerts which is limited to 100 by the API to avoid performance issues.
`alerts` counts alerts raised by your own engine in the last 24 hours. Alerts originating from the
CrowdSec community blocklist are excluded.
Allowed fields: `["alerts", "bans"]`.
@@ -19,5 +21,4 @@ widget:
url: http://crowdsechostorip:port
username: localhost # machine_id in crowdsec
password: password
limit24h: true # optional, limits alerts to last 24h. Default: false
```
+1 -1
View File
@@ -15,5 +15,5 @@ widget:
url: https://proxmoxbackupserver.host:port
username: api_token_id
password: api_token_secret
datastore: datastore_name #optional; if ommitted, will display a combination of all datastores used / total
datastore: datastore_name #optional; if omitted, will display a combination of all datastores used / total
```
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Wag asseblief"
},
"search": {
"placeholder": "Soek…"
"placeholder": "Soek…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "SVE",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "الرجاء الإنتظار"
},
"search": {
"placeholder": "بحث …"
"placeholder": "بحث …",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "المعالج",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Моля изчакайте"
},
"search": {
"placeholder": "Търсене…"
"placeholder": "Търсене…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "Процесор",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Si us plau, espereu"
},
"search": {
"placeholder": "Cerca…"
"placeholder": "Cerca…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Počkejte prosím"
},
"search": {
"placeholder": "Hledat…"
"placeholder": "Hledat…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "Využití procesoru",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Vent venligst"
},
"search": {
"placeholder": "Søg…"
"placeholder": "Søg…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Bitte warten"
},
"search": {
"placeholder": "Suche…"
"placeholder": "Suche…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Παρακαλώ περιμένετε"
},
"search": {
"placeholder": "Αναζήτηση…"
"placeholder": "Αναζήτηση…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "Επεξεργαστής",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Bonvolu atendi"
},
"search": {
"placeholder": "Serĉi…"
"placeholder": "Serĉi…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "Ĉefprocesoro",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Espera, por favor"
},
"search": {
"placeholder": "Buscar…"
"placeholder": "Buscar…",
"provider": "Motor de búsqueda: {{name}}",
"select_provider": "Seleccionar motores de búsqueda"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Itxaron mesedez"
},
"search": {
"placeholder": "Bilatu…"
"placeholder": "Bilatu…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Odota, ole hyvä"
},
"search": {
"placeholder": "Hae…"
"placeholder": "Hae…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Veuillez patienter"
},
"search": {
"placeholder": "Recherche…"
"placeholder": "Recherche…",
"provider": "Moteur de recherche : {{name}}",
"select_provider": "Sélectionnez un moteur de recherche"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "המתן בבקשה"
},
"search": {
"placeholder": "חיפוש…"
"placeholder": "חיפוש…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "מעבד",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Please wait"
},
"search": {
"placeholder": "Search…"
"placeholder": "Search…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+15 -13
View File
@@ -21,7 +21,7 @@
"seconds": "s"
},
"auth": {
"signout": "Sign out"
"signout": "Odjavi se"
},
"widget": {
"missing_type": "Nedostajuća vrsta widgeta: {{type}}",
@@ -39,7 +39,9 @@
"wait": "Pričekaj"
},
"search": {
"placeholder": "Traži …"
"placeholder": "Traži …",
"provider": "Tražilica: {{name}}",
"select_provider": "Odaberi tražilicu"
},
"resources": {
"cpu": "CPU",
@@ -133,7 +135,7 @@
"series": "Serije",
"episodes": "Epizode",
"songs": "Pjesme",
"albums": "Albums"
"albums": "Albumi"
},
"esphome": {
"offline": "Offline",
@@ -472,7 +474,7 @@
"users": "Korisnici",
"loginsLast24H": "Prijave (24 h)",
"failedLoginsLast24H": "Neuspjele prijave (24 h)",
"authorizationsLast24H": "Auths (24h)"
"authorizationsLast24H": "Autorizacije (24h)"
},
"proxmox": {
"mem": "MEM",
@@ -952,15 +954,15 @@
"storage": "Spremište"
},
"maintainerr": {
"itemsHandled": "Items Handled",
"episodesHandled": "Episodes Handled",
"moviesHandled": "Movies Handled",
"showsHandled": "Shows Handled",
"seasonsHandled": "Seasons Handled",
"itemsHandled": "Obrađene stavke",
"episodesHandled": "Obrađene epizode",
"moviesHandled": "Obrađeni filmovi",
"showsHandled": "Obrađene emisije",
"seasonsHandled": "Obrađene sezone",
"reclaimable": "Reclaimable",
"movieReclaimable": "Movie Reclaimable",
"showReclaimable": "Show Reclaimable",
"totalCapacity": "Total Capacity"
"totalCapacity": "Ukupni kapacitet"
},
"netdata": {
"warnings": "Upozorenja",
@@ -1248,8 +1250,8 @@
"storage": "Spremište"
},
"sportarr": {
"wanted": "Wanted",
"queued": "Queued",
"leagues": "Leagues"
"wanted": "Željeno",
"queued": "U redu čekanja",
"leagues": "Lige"
}
}
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Kérjük várjon"
},
"search": {
"placeholder": "Keresés…"
"placeholder": "Keresés…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "Processzor",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Harap tunggu"
},
"search": {
"placeholder": "Telusuri…"
"placeholder": "Telusuri…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Attendi per favore"
},
"search": {
"placeholder": "Cerca…"
"placeholder": "Cerca…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "お待ちください"
},
"search": {
"placeholder": "検索…"
"placeholder": "検索…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+4 -2
View File
@@ -39,7 +39,9 @@
"wait": "잠시만 기다리세요"
},
"search": {
"placeholder": "검색…"
"placeholder": "검색…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
@@ -472,7 +474,7 @@
"users": "사용자",
"loginsLast24H": "로그인 (24시간)",
"failedLoginsLast24H": "실패한 로그인 (24시간)",
"authorizationsLast24H": "Auths (24h)"
"authorizationsLast24H": "인증(24시간)"
},
"proxmox": {
"mem": "메모리",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Lūdzu, uzgaidiet"
},
"search": {
"placeholder": "Meklēt…"
"placeholder": "Meklēt…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Sila tunggu"
},
"search": {
"placeholder": "Carian…"
"placeholder": "Carian…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Even geduld"
},
"search": {
"placeholder": "Zoeken…"
"placeholder": "Zoeken…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Vennligst vent"
},
"search": {
"placeholder": "Søk…"
"placeholder": "Søk…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+4 -2
View File
@@ -39,7 +39,9 @@
"wait": "Proszę czekać"
},
"search": {
"placeholder": "Szukaj…"
"placeholder": "Szukaj…",
"provider": "Wyszukiwarka: {{name}}",
"select_provider": "Wybierz wyszukiwarkę"
},
"resources": {
"cpu": "Procesor",
@@ -472,7 +474,7 @@
"users": "Użytkownicy",
"loginsLast24H": "Logowania (24h)",
"failedLoginsLast24H": "Nieudane logowania (24h)",
"authorizationsLast24H": "Auths (24h)"
"authorizationsLast24H": "Uwierzytelnienia (24h)"
},
"proxmox": {
"mem": "RAM",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Por favor aguarde"
},
"search": {
"placeholder": "Pesquisar…"
"placeholder": "Pesquisar…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Por favor, aguarde"
},
"search": {
"placeholder": "Pesquisar…"
"placeholder": "Pesquisar…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Va rugăm așteptați"
},
"search": {
"placeholder": "Caută…"
"placeholder": "Caută…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "Procesor",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Пожалуйста, подождите"
},
"search": {
"placeholder": "Поиск…"
"placeholder": "Поиск…",
"provider": "Поисковая система: {{name}}",
"select_provider": "Выберите поисковую систему"
},
"resources": {
"cpu": "ЦП",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Počkajte prosím"
},
"search": {
"placeholder": "Hľadať…"
"placeholder": "Hľadať…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Prosimo počakajte"
},
"search": {
"placeholder": "Iskanje…"
"placeholder": "Iskanje…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Молим сачекајте"
},
"search": {
"placeholder": "Претражи…"
"placeholder": "Претражи…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "Процесор",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Vänligen vänta"
},
"search": {
"placeholder": "Sök…"
"placeholder": "Sök…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "దయచేసి వేచి ఉండండి"
},
"search": {
"placeholder": "వెతకండి…"
"placeholder": "వెతకండి…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "సీపియూ",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "โปรดรอ"
},
"search": {
"placeholder": "ค้นหา…"
"placeholder": "ค้นหา…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "ซีพียู",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Lütfen bekleyin"
},
"search": {
"placeholder": "Ara…"
"placeholder": "Ara…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "İşlemci",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "Будь ласка, зачекайте"
},
"search": {
"placeholder": "Пошук…"
"placeholder": "Пошук…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "ЦП",
+202 -200
View File
@@ -21,7 +21,7 @@
"seconds": "giây"
},
"auth": {
"signout": "Sign out"
"signout": "Đăng xuất"
},
"widget": {
"missing_type": "Thiếu loại Widget: {{type}}",
@@ -39,7 +39,9 @@
"wait": "Vui lòng chờ"
},
"search": {
"placeholder": "Tìm kiếm…"
"placeholder": "Tìm kiếm…",
"provider": "Công cụ tìm kiếm: {{name}}",
"select_provider": "Chọn công cụ tìm kiếm"
},
"resources": {
"cpu": "CPU",
@@ -48,7 +50,7 @@
"free": "Dư",
"used": "Đã dùng",
"load": "\n",
"temp": "TEMP",
"temp": "Tạm thời",
"max": "Tối đa",
"uptime": "UP"
},
@@ -64,24 +66,24 @@
"wlan_devices": "Thiết bị trong mạng WLAN",
"lan_users": "Người dùng mạng LAN",
"wlan_users": "Người dùng mạng WLAN",
"up": "UP",
"down": "DOWN",
"up": "Hoạt động",
"down": "Không hoạt động",
"wait": "Vui lòng chờ",
"empty_data": "Trạng thái hệ thống phụ không xác định"
},
"unifi_drive": {
"healthy": "Healthy",
"degraded": "Degraded",
"no_data": "No storage data available"
"healthy": "Bình thường",
"degraded": "Suy giảm",
"no_data": "Không có dữ liệu"
},
"duplicati": {
"jobs": "Jobs",
"stored": "Stored",
"lastBackup": "Last Run",
"nextRun": "Next Run",
"running": "Running",
"warnings": "Warnings",
"errors": "Errors"
"jobs": "Tác vụ",
"stored": "Đã lưu",
"lastBackup": "Lần chạy cuối",
"nextRun": "Lần chạy tiếp theo",
"running": "Đang chạy",
"warnings": "Cảnh báo",
"errors": "Lỗi"
},
"docker": {
"rx": "RX",
@@ -96,8 +98,8 @@
"starting": "Đang bắt đầu",
"unhealthy": "Bất thường",
"not_found": "Không tìm thấy",
"exited": "Exited",
"partial": "Partial"
"exited": "Đã thoát",
"partial": "Một phần"
},
"ping": {
"error": "Lỗi",
@@ -118,35 +120,35 @@
"playing": "Đang chơi",
"transcoding": "Chuyển định dạng",
"bitrate": "Bitrate",
"no_active": "No Active Streams",
"no_active": "Không có luồng đang hoạt động",
"movies": "Phim ảnh",
"series": "Series",
"episodes": "Episodes",
"episodes": "Tập",
"songs": "Bài hát"
},
"jellyfin": {
"playing": "Playing",
"transcoding": "Transcoding",
"bitrate": "Bitrate",
"no_active": "No Active Streams",
"movies": "Movies",
"playing": "Đang phát",
"transcoding": "Đang chuyển mã",
"bitrate": "Tốc độ bit",
"no_active": "Không có luồng đang hoạt động",
"movies": "Phim",
"series": "Series",
"episodes": "Episodes",
"songs": "Songs",
"albums": "Albums"
"episodes": "Tập",
"songs": "Bài hát",
"albums": "Album"
},
"esphome": {
"offline": "Offline",
"offline_alt": "Offline",
"online": "Online",
"total": "Total",
"total": "Tổng cộng",
"unknown": "Không xác định"
},
"evcc": {
"pv_power": "Production",
"pv_power": "Công suất phát",
"battery_soc": "Pin",
"grid_power": "Lưới",
"home_power": "Consumption",
"home_power": "Công suất tiêu thụ",
"charge_power": "Bộ sạc",
"kilowatt": "kW"
},
@@ -154,7 +156,7 @@
"download": "Tải xuống",
"upload": "Tải lên",
"leech": "",
"seed": "Seed"
"seed": "Seeder"
},
"freshrss": {
"subscriptions": "Đăng ký",
@@ -173,115 +175,115 @@
"maxDown": "Tải xuống tối đa",
"maxUp": "Tải lên tối đa",
"down": "Down",
"up": "Up",
"received": "Received",
"sent": "Sent",
"externalIPAddress": "Ext. IP",
"externalIPv6Address": "Ext. IPv6",
"externalIPv6Prefix": "Ext. IPv6-Prefix"
"up": "Tải lên",
"received": "Đã nhận",
"sent": "Đã gửi",
"externalIPAddress": "Địa chỉ IP bên ngoài",
"externalIPv6Address": "Địa chỉ IPv6 bên ngoài",
"externalIPv6Prefix": "Tiền tố IPv6 bên ngoài"
},
"caddy": {
"upstreams": "Upstreams",
"requests": "Current requests",
"requests_failed": "Failed requests"
"upstreams": "Máy chủ backend",
"requests": "Yêu cầu hiện tại",
"requests_failed": "Yêu cầu thất bại"
},
"changedetectionio": {
"totalObserved": "Total Observed",
"diffsDetected": "Diffs Detected"
"totalObserved": "Tổng số đã theo dõi",
"diffsDetected": "Số thay đổi đã phát hiện"
},
"channelsdvrserver": {
"shows": "Shows",
"recordings": "Recordings",
"scheduled": "Scheduled",
"passes": "Passes"
"shows": "Chương trình",
"recordings": "Bản ghi",
"scheduled": "Đã lên lịch",
"passes": "Quy tắc ghi"
},
"tautulli": {
"playing": "Playing",
"transcoding": "Transcoding",
"bitrate": "Bitrate",
"no_active": "No Active Streams",
"plex_connection_error": "Check Plex Connection"
"playing": "Đang phát",
"transcoding": "Đang chuyển mã",
"bitrate": "Tốc độ bit",
"no_active": "Không có luồng đang hoạt động",
"plex_connection_error": "Kiểm tra kết nối Plex"
},
"tracearr": {
"no_active": "No Active Streams",
"streams": "Streams",
"transcodes": "Transcodes",
"directplay": "Direct Play",
"bitrate": "Bitrate"
"no_active": "Không có luồng đang hoạt động",
"streams": "Luồng",
"transcodes": "Luồng chuyển mã",
"directplay": "Phát trực tiếp",
"bitrate": "Tốc độ bit"
},
"omada": {
"connectedAp": "Connected APs",
"activeUser": "Active devices",
"alerts": "Alerts",
"connectedGateways": "Connected gateways",
"connectedSwitches": "Connected switches"
"connectedAp": "AP đã kết nối",
"activeUser": "Thiết bị đang hoạt động",
"alerts": "Cảnh báo",
"connectedGateways": "Gateway đã kết nối",
"connectedSwitches": "Switch đã kết nối"
},
"nzbget": {
"rate": "Rate",
"remaining": "Remaining",
"rate": "Tốc độ",
"remaining": "Còn lại",
"downloaded": "Đã tải"
},
"plex": {
"streams": "Active Streams",
"albums": "Albums",
"movies": "Movies",
"tv": "TV Shows"
"streams": "Luồng đang hoạt động",
"albums": "Album",
"movies": "Phim",
"tv": "Chương trình TV"
},
"sabnzbd": {
"rate": "Rate",
"rate": "Tốc độ",
"queue": "Hàng chờ",
"timeleft": "Thời gian còn lại"
},
"rutorrent": {
"active": "Hoạt động",
"upload": "Upload",
"download": "Download"
"upload": "Tải lên",
"download": "Tải xuống"
},
"transmission": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "Tải xuống",
"upload": "Tải lên",
"leech": "Leecher",
"seed": "Seeder"
},
"qbittorrent": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "Tải xuống",
"upload": "Tải lên",
"leech": "Leecher",
"seed": "Seeder"
},
"qnap": {
"cpuUsage": "CPU Usage",
"memUsage": "MEM Usage",
"systemTempC": "System Temp",
"poolUsage": "Pool Usage",
"volumeUsage": "Volume Usage",
"invalid": "Invalid"
"cpuUsage": "Mức sử dụng CPU",
"memUsage": "Mức sử dụng bộ nhớ",
"systemTempC": "Nhiệt độ hệ thống",
"poolUsage": "Mức sử dụng pool",
"volumeUsage": "Mức sử dụng volume",
"invalid": "Không hợp lệ"
},
"deluge": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "Tải xuống",
"upload": "Tải lên",
"leech": "Leecher",
"seed": "Seeder"
},
"develancacheui": {
"cachehitbytes": "Cache Hit Bytes",
"cachemissbytes": "Cache Miss Bytes"
"cachehitbytes": "Dung lượng cache hit",
"cachemissbytes": "Dung lượng cache miss"
},
"downloadstation": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "Tải xuống",
"upload": "Tải lên",
"leech": "Leecher",
"seed": "Seeder"
},
"sonarr": {
"wanted": "Wanted",
"wanted": "Cần tải",
"queued": "Queued",
"series": "Series",
"series": "Phim bộ",
"queue": "Queue",
"unknown": "Unknown"
},
"radarr": {
"wanted": "Wanted",
"wanted": "Cần tải",
"missing": "Missing",
"queued": "Queued",
"movies": "Movies",
@@ -289,12 +291,12 @@
"unknown": "Unknown"
},
"lidarr": {
"wanted": "Wanted",
"wanted": "Cần tải",
"queued": "Queued",
"artists": "Artists"
},
"readarr": {
"wanted": "Wanted",
"wanted": "Cần tải",
"queued": "Queued",
"books": "Sách"
},
@@ -334,66 +336,66 @@
"latency": "Latency"
},
"speedtest": {
"upload": "Upload",
"download": "Download",
"upload": "Tải lên",
"download": "Tải xuống",
"ping": "Ping"
},
"portainer": {
"running": "Running",
"stopped": "Stopped",
"total": "Total"
"running": "Đang chạy",
"stopped": "Đã dừng",
"total": "Tổng cộng"
},
"suwayomi": {
"download": "Downloaded",
"nondownload": "Non-Downloaded",
"read": "Read",
"unread": "Unread",
"downloadedread": "Downloaded & Read",
"downloadedunread": "Downloaded & Unread",
"nondownloadedread": "Non-Downloaded & Read",
"nondownloadedunread": "Non-Downloaded & Unread"
"download": "Đã tải xuống",
"nondownload": "Chưa tải xuống",
"read": "Đã đọc",
"unread": "Chưa đọc",
"downloadedread": "Đã tải xuống & Đã đọc",
"downloadedunread": "Đã tải xuống & Chưa đọc",
"nondownloadedread": "Chưa tải xuống & Đã đọc",
"nondownloadedunread": "Chưa tải xuống & Chưa đọc"
},
"tailscale": {
"address": "Address",
"expires": "Expires",
"never": "Never",
"user": "User",
"hostname": "Hostname",
"name": "Name",
"client_version": "Client Version",
"os": "OS",
"created": "Created",
"authorized": "Authorized",
"is_external": "Is External",
"update_available": "Update Available",
"tags": "Tags",
"last_seen": "Last Seen",
"now": "Now",
"years": "{{number}}y",
"weeks": "{{number}}w",
"days": "{{number}}d",
"hours": "{{number}}h",
"minutes": "{{number}}m",
"seconds": "{{number}}s",
"ago": "{{value}} Ago",
"true": "Yes",
"false": "No"
"address": "Địa chỉ",
"expires": "Hết hạn",
"never": "Không bao giờ",
"user": "Người dùng",
"hostname": "Tên máy chủ",
"name": "Tên",
"client_version": "Phiên bản máy khách",
"os": "Hệ điều hành",
"created": "Đã tạo",
"authorized": "Đã cấp quyền",
"is_external": "Là bên ngoài",
"update_available": "Có bản cập nhật",
"tags": "Thẻ",
"last_seen": "Lần cuối nhìn thấy",
"now": "Bây giờ",
"years": "{{number}} năm",
"weeks": "{{number}} tuần",
"days": "{{number}} ngày",
"hours": "{{number}} giờ",
"minutes": "{{number}} phút",
"seconds": "{{number}} giây",
"ago": "{{value}} trước",
"true": "",
"false": "Không"
},
"technitium": {
"totalQueries": "Queries",
"totalNoError": "Success",
"totalServerFailure": "Failures",
"totalNxDomain": "NX Domains",
"totalRefused": "Refused",
"totalQueries": "Tổng số truy vấn",
"totalNoError": "Thành công",
"totalServerFailure": "Lỗi máy chủ",
"totalNxDomain": "NX Domain",
"totalRefused": "Bị từ chối",
"totalAuthoritative": "Authoritative",
"totalRecursive": "Recursive",
"totalCached": "Cached",
"totalBlocked": "Blocked",
"totalDropped": "Dropped",
"totalClients": "Clients"
"totalCached": "Được lưu trong bộ nhớ đệm",
"totalBlocked": "Bị chặn",
"totalDropped": "Bị loại bỏ",
"totalClients": "Số máy khách"
},
"tdarr": {
"queue": "Queue",
"queue": "Hàng đợi",
"processed": "Processed",
"errored": "Errored",
"saved": "Saved"
@@ -410,7 +412,7 @@
"unknown": "Unknown"
},
"navidrome": {
"nothing_streaming": "No Active Streams",
"nothing_streaming": "Không có luồng đang hoạt động",
"please_wait": "Please Wait"
},
"npm": {
@@ -453,9 +455,9 @@
"domain_count": "Domains"
},
"medusa": {
"wanted": "Wanted",
"wanted": "Cần tải",
"queued": "Queued",
"series": "Series"
"series": "Phim bộ"
},
"minecraft": {
"players": "Players",
@@ -472,66 +474,66 @@
"users": "Users",
"loginsLast24H": "Logins (24h)",
"failedLoginsLast24H": "Failed Logins (24h)",
"authorizationsLast24H": "Auths (24h)"
"authorizationsLast24H": "Lượt ủy quyền (24 giờ)"
},
"proxmox": {
"mem": "MEM",
"mem": "Bộ nhớ",
"cpu": "CPU",
"lxc": "LXC",
"vms": "VMs"
"vms": "VM"
},
"pulse": {
"nodes": "Nodes",
"vms": "VMs",
"lxcs": "LXCs"
"nodes": "Node",
"vms": "VM",
"lxcs": "LXC"
},
"glances": {
"cpu": "CPU",
"load": "Load",
"wait": "Please wait",
"temp": "TEMP",
"_temp": "Temp",
"warn": "Warn",
"uptime": "UP",
"total": "Total",
"free": "Free",
"used": "Used",
"days": "d",
"hours": "h",
"crit": "Crit",
"read": "Read",
"write": "Write",
"load": "Tải hệ thống",
"wait": "Vui lòng đợi",
"temp": "Nhiệt độ",
"_temp": "Nhiệt độ",
"warn": "Cảnh báo",
"uptime": "Thời gian hoạt động",
"total": "Tổng cộng",
"free": "Còn trống",
"used": "Đã sử dụng",
"days": "ngày",
"hours": "giờ",
"crit": "Nghiêm trọng",
"read": "Đọc",
"write": "Ghi",
"gpu": "GPU",
"mem": "Mem",
"mem": "Bộ nhớ",
"swap": "Swap"
},
"quicklaunch": {
"bookmark": "Bookmark",
"service": "Service",
"search": "Search",
"custom": "Custom",
"visit": "Visit",
"bookmark": "Dấu trang",
"service": "Dịch vụ",
"search": "Tìm kiếm",
"custom": "Tùy chỉnh",
"visit": "Truy cập",
"url": "URL",
"searchsuggestion": "Suggestion"
"searchsuggestion": "Gợi ý"
},
"wmo": {
"0-day": "Sunny",
"0-night": "Clear",
"1-day": "Mainly Sunny",
"1-night": "Mainly Clear",
"2-day": "Partly Cloudy",
"2-night": "Partly Cloudy",
"3-day": "Cloudy",
"3-night": "Cloudy",
"45-day": "Foggy",
"45-night": "Foggy",
"48-day": "Foggy",
"48-night": "Foggy",
"51-day": "Light Drizzle",
"51-night": "Light Drizzle",
"53-day": "Drizzle",
"53-night": "Drizzle",
"55-day": "Heavy Drizzle",
"0-day": "Trời nắng",
"0-night": "Trời quang",
"1-day": "Chủ yếu có nắng",
"1-night": "Chủ yếu trời quang",
"2-day": "Có mây từng phần",
"2-night": "Có mây từng phần",
"3-day": "Nhiều mây",
"3-night": "Nhiều mây",
"45-day": "Có sương mù",
"45-night": "Có sương mù",
"48-day": "Có sương mù",
"48-night": "Có sương mù",
"51-day": "Mưa phùn nhẹ",
"51-night": "Mưa phùn nhẹ",
"53-day": "Mưa phùn",
"53-night": "Mưa phùn",
"55-day": "Mưa phùn lớn",
"55-night": "Heavy Drizzle",
"56-day": "Light Freezing Drizzle",
"56-night": "Light Freezing Drizzle",
@@ -739,14 +741,14 @@
"m": "m"
},
"atsumeru": {
"series": "Series",
"series": "Bộ truyện",
"archives": "Archives",
"chapters": "Chapters",
"categories": "Categories"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"series": "Bộ truyện",
"books": "Books"
},
"diskstation": {
@@ -759,9 +761,9 @@
"streams": "Streams"
},
"mylar": {
"series": "Series",
"series": "Phim bộ",
"issues": "Issues",
"wanted": "Wanted"
"wanted": "Cần tải"
},
"photoprism": {
"albums": "Albums",
@@ -844,7 +846,7 @@
"books": "Books",
"authors": "Authors",
"categories": "Categories",
"series": "Series"
"series": "Bộ sách"
},
"booklore": {
"libraries": "Libraries",
@@ -859,7 +861,7 @@
"downloadSpeed": "Speed"
},
"kavita": {
"seriesCount": "Series",
"seriesCount": "Số bộ truyện",
"totalFiles": "Files"
},
"azuredevops": {
@@ -1248,7 +1250,7 @@
"storage": "Storage"
},
"sportarr": {
"wanted": "Wanted",
"wanted": "Cần tải",
"queued": "Queued",
"leagues": "Leagues"
}
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "請稍後"
},
"search": {
"placeholder": "搜索緊…"
"placeholder": "搜索緊…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "请稍候"
},
"search": {
"placeholder": "搜索…"
"placeholder": "搜索…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
+3 -1
View File
@@ -39,7 +39,9 @@
"wait": "請稍候"
},
"search": {
"placeholder": "搜尋…"
"placeholder": "搜尋…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
},
"resources": {
"cpu": "CPU",
@@ -73,6 +73,7 @@ describe("pages/api/auth/[...nextauth]", () => {
it("routes sanitized NextAuth logs through the Homepage logger", async () => {
const mod = await import("pages/api/auth/[...nextauth]");
const sensitiveMetadata = {
error: Object.assign(new Error("State cookie was missing."), { access_token: "sensitive-access-token" }),
clientSecret: "sensitive-client-secret",
access_token: "sensitive-access-token",
id_token: "sensitive-id-token",
@@ -82,7 +83,7 @@ describe("pages/api/auth/[...nextauth]", () => {
mod.authOptions.logger.warn("NEXTAUTH_URL", sensitiveMetadata);
mod.authOptions.logger.debug("OAUTH_CALLBACK_RESPONSE", sensitiveMetadata);
expect(errorMock).toHaveBeenCalledWith("%s", "OAUTH_CALLBACK_ERROR");
expect(errorMock).toHaveBeenCalledWith("%s: %s", "OAUTH_CALLBACK_ERROR", "State cookie was missing.");
expect(warnMock).toHaveBeenCalledWith("%s", "NEXTAUTH_URL");
expect(debugMock).toHaveBeenCalledWith("%s", "OAUTH_CALLBACK_RESPONSE");
expect(JSON.stringify([...errorMock.mock.calls, ...warnMock.mock.calls, ...debugMock.mock.calls])).not.toContain(
+11 -1
View File
@@ -71,6 +71,16 @@ function logFailedPasswordSignIn() {
createLogger("nextauth").warn("Failed password sign-in attempt");
}
function logNextAuthError(code, metadata) {
const error = metadata instanceof Error ? metadata : metadata?.error;
if (error?.message) {
createLogger("nextauth").error("%s: %s", code, error.message);
} else {
createLogger("nextauth").error("%s", code);
}
}
let providers = [];
if (authEnabled) {
if (hasOidcConfig) {
@@ -140,7 +150,7 @@ export const authOptions = {
signIn: "/auth/signin",
},
logger: {
error: (code) => createLogger("nextauth").error("%s", code),
error: logNextAuthError,
warn: (code) => createLogger("nextauth").warn("%s", code),
debug: (code) => createLogger("nextauth").debug("%s", code),
},
+7 -2
View File
@@ -4,14 +4,19 @@ import { useTranslation } from "next-i18next/pages";
import useWidgetAPI from "utils/proxy/use-widget-api";
const ALERTS_LIMIT = 500;
export default function Component({ service }) {
const { t } = useTranslation();
const { widget } = service;
const { data: alerts, error: alertsError } = useWidgetAPI(widget, !!widget.limit24h ? "alerts24h" : "alerts");
const { data: alerts, error: alertsError } = useWidgetAPI(widget, "alerts");
const { data: bans, error: bansError } = useWidgetAPI(widget, "bans");
const alertsCount = alerts?.length ?? 0;
const alertsValue = t("common.number", { value: alertsCount });
if (alertsError || bansError) {
return <Container service={service} error={alertsError ?? bansError} />;
}
@@ -27,7 +32,7 @@ export default function Component({ service }) {
return (
<Container service={service}>
<Block label="crowdsec.alerts" value={t("common.number", { value: alerts?.length ?? 0 })} />
<Block label="crowdsec.alerts" value={alertsCount >= ALERTS_LIMIT ? `${alertsValue}+` : alertsValue} />
<Block label="crowdsec.bans" value={t("common.number", { value: bans?.length ?? 0 })} />
</Container>
);
+37 -3
View File
@@ -17,15 +17,25 @@ describe("widgets/crowdsec/component", () => {
vi.clearAllMocks();
});
it("selects alerts24h endpoint when limit24h is enabled", () => {
it("requests the alerts and bans endpoints", () => {
useWidgetAPI.mockImplementation(() => ({ data: undefined, error: undefined }));
renderWithProviders(<Component service={{ widget: { type: "crowdsec" } }} />, {
settings: { hideErrors: false },
});
expect(useWidgetAPI).toHaveBeenNthCalledWith(1, expect.any(Object), "alerts");
expect(useWidgetAPI).toHaveBeenNthCalledWith(2, expect.any(Object), "bans");
});
it("ignores the deprecated limit24h option", () => {
useWidgetAPI.mockImplementation(() => ({ data: undefined, error: undefined }));
renderWithProviders(<Component service={{ widget: { type: "crowdsec", limit24h: true } }} />, {
settings: { hideErrors: false },
});
expect(useWidgetAPI).toHaveBeenNthCalledWith(1, expect.any(Object), "alerts24h");
expect(useWidgetAPI).toHaveBeenNthCalledWith(2, expect.any(Object), "bans");
expect(useWidgetAPI).toHaveBeenNthCalledWith(1, expect.any(Object), "alerts");
});
it("renders placeholders when both alerts and bans are missing", () => {
@@ -52,4 +62,28 @@ describe("widgets/crowdsec/component", () => {
expectBlockValue(container, "crowdsec.alerts", 0);
expectBlockValue(container, "crowdsec.bans", 0);
});
it("marks the alert count as truncated at the API limit", () => {
useWidgetAPI
.mockReturnValueOnce({ data: new Array(500).fill({}), error: undefined })
.mockReturnValueOnce({ data: [], error: undefined });
renderWithProviders(<Component service={{ widget: { type: "crowdsec" } }} />, {
settings: { hideErrors: false },
});
expect(screen.getByText("500+")).toBeInTheDocument();
});
it("does not mark the alert count below the API limit", () => {
useWidgetAPI
.mockReturnValueOnce({ data: new Array(499).fill({}), error: undefined })
.mockReturnValueOnce({ data: [], error: undefined });
const { container } = renderWithProviders(<Component service={{ widget: { type: "crowdsec" } }} />, {
settings: { hideErrors: false },
});
expectBlockValue(container, "crowdsec.alerts", 499);
});
});
+2 -5
View File
@@ -7,13 +7,10 @@ const widget = {
mappings: {
alerts: {
endpoint: "alerts",
},
alerts24h: {
endpoint: "alerts?limit=0&since=24h",
endpoint: "alerts?limit=500&since=24h&with_decisions=false&include_capi=false",
},
bans: {
endpoint: "alerts?decision_type=ban&origin=crowdsec&has_active_decision=1",
endpoint: "alerts?decision_type=ban&include_capi=false&has_active_decision=1&with_decisions=false",
},
},
};