Compare commits

..
Author SHA1 Message Date
Thomas 190e30dcf5 Merge branch 'dev' into feat/appearance-updates 2026-05-07 17:52:30 +02:00
Kyle bd99c2cfaf Merge branch 'dev' into feat/appearance-updates 2026-05-04 17:58:31 -06:00
Kyle cc7e5ddcb5 Merge branch 'dev' into feat/appearance-updates 2026-04-23 23:45:53 -06:00
Kyle 4eacce3e0b Merge branch 'dev' into feat/appearance-updates 2026-04-23 12:26:52 -06:00
Kyle 3b44d13791 Merge branch 'dev' into feat/appearance-updates 2026-04-21 23:35:29 -06:00
Kyle Grieder d809398e64 fix: prevent white flash on page load when color scheme is auto 2026-04-21 22:45:35 -06:00
Kyle 3199a7f242 Merge branch 'dev' into feat/appearance-updates 2026-04-21 21:40:37 -06:00
Kyle 748f59f444 Merge branch 'dev' into feat/appearance-updates 2026-04-14 13:29:45 -06:00
Kyle ab51d2f274 Merge branch 'dev' into feat/appearance-updates 2026-04-13 14:31:50 -06:00
Kyle f5b3c5c442 Merge branch 'dev' into feat/appearance-updates 2026-04-12 20:04:15 -06:00
Kyle 7151abdb88 Merge branch 'dev' into feat/appearance-updates 2026-04-12 13:31:34 -06:00
Kyle Grieder 76154b5752 fix: use computed color scheme in system resources charts
useMantineColorScheme() returns 'auto' when system mode is active,
causing the chart background color to fall through to the light variant.
Switch to useComputedColorScheme() which always resolves to the actual
'light' or 'dark' value, keeping charts visually correct in all modes.
2026-04-12 13:30:28 -06:00
Kyle Grieder 0d2675e1bb feat: add auto/system color scheme option
- Extend ColorScheme type to include 'auto' alongside 'light' and 'dark'
- Allow 'auto' to persist to DB and cookie (remove the explicit guard)
- Server default and new-user default both changed to 'auto'
- layout.tsx: omit inline backgroundColor when scheme is 'auto'
- Avatar menu: replace toggle item with a Combobox (Auto/Light/Dark)
  mirroring the existing language selector pattern
- Appearance settings form and color scheme comboboxes updated with
  IconDeviceDesktop for the new auto option
- Spotlight command handles 'auto' state via useComputedColorScheme
- Old import: map legacy 'environment' value to 'auto'
- Add translation keys for 'auto' in all three relevant scopes
2026-04-12 13:30:21 -06:00
123 changed files with 7802 additions and 23953 deletions

No files matched your search

-191
View File
@@ -1,191 +0,0 @@
---
description: Comprehensive Homarr codebase architecture and conventions reference
alwaysApply: true
---
# Homarr Codebase Context
Homarr is an open-source, self-hosted dashboard for managing homelab services. It integrates with 50+ self-hosted apps (media servers, download clients, DNS, NAS, etc.) and provides a drag-and-drop widget-based UI.
## Tech Stack
- **Monorepo**: pnpm workspaces + Turborepo
- **Framework**: Next.js (App Router, `output: "standalone"`) — T3 Stack
- **Language**: TypeScript throughout
- **ORM**: Drizzle (supports SQLite via better-sqlite3, MySQL, PostgreSQL)
- **API**: tRPC (HTTP + WebSocket subscriptions) with superjson + OpenAPI bridge via `trpc-to-openapi`
- **Auth**: NextAuth v5 (database sessions, Credentials/LDAP/OIDC providers)
- **UI**: Mantine v7 (not Tailwind) + Tabler icons
- **State**: Jotai (atoms), TanStack Query (server state via tRPC)
- **Realtime**: WebSocket server (`ws`) for tRPC subscriptions, backed by Redis pub/sub
- **Cron**: `node-cron` in a standalone Fastify service (`apps/tasks`)
- **i18n**: next-intl with `[locale]` dynamic segment (prefix mode: `"never"`, locale from cookie)
- **Testing**: Vitest + jsdom, Playwright for E2E
- **Package manager**: pnpm 10.33.2, Node >= 24.15.0
## Repository Structure
```
homarr/
├── apps/
│ ├── nextjs/ # Main Next.js application (port 3000)
│ ├── tasks/ # Cron job runner + Fastify tRPC API (port 3002)
│ └── websocket/ # Standalone tRPC WebSocket server (port 3001)
├── packages/
│ ├── api/ # tRPC appRouter, procedures, OpenAPI
│ ├── auth/ # NextAuth config, providers, session, API keys
│ ├── db/ # Drizzle schema (3 DB drivers), migrations, queries
│ ├── core/ # Env validation, DB/Redis driver factories, logging
│ ├── definitions/ # Domain enums: WidgetKind, IntegrationKind, permissions
│ ├── widgets/ # All 39 dashboard widgets (definitions + components)
│ ├── integrations/ # Integration classes (HTTP clients to external apps)
│ ├── redis/ # Redis pub/sub channels, caching abstractions
│ ├── translation/ # next-intl setup, locale configs, lang JSON files
│ ├── ui/ # Shared Mantine components, theme, hooks
│ ├── validation/ # Shared zod schemas for API/forms
│ ├── common/ # Shared utilities, IDs, errors
│ ├── cron-jobs/ # Cron job implementations (25+ jobs)
│ ├── cron-jobs-core/ # Cron scheduling primitives
│ ├── cron-job-api/ # tRPC router for job management (start/stop/trigger)
│ ├── cron-job-status/ # Cron status via Redis
│ ├── boards/ # Board context, edit mode, cache updater
│ ├── modals/ # Modal primitives on Mantine
│ ├── modals-collection/ # Feature modals (apps, boards, docker, etc.)
│ ├── form/ # useZodForm (Mantine + zod resolver)
│ ├── forms-collection/# Reusable form UIs (new app, icon picker, upload)
│ ├── spotlight/ # Command palette / search with multiple modes
│ ├── request-handler/ # Server request handlers (feeds, integrations)
│ ├── notifications/ # Mantine notifications wrapper
│ ├── docker/ # Dockerode-based Docker access
│ ├── icons/ # Icon DB/repo integration
│ ├── image-proxy/ # Image proxy + caching
│ ├── ping/ # Reachability / ping utilities
│ ├── analytics/ # Server-side analytics (Umami)
│ ├── server-settings/ # Server setting keys/types
│ ├── settings/ # User-facing settings UI context
│ ├── old-import/ # Legacy Homarr import
│ ├── old-schema/ # Legacy Homarr zod schemas
│ └── cli/ # Node CLI for ops (brocli)
├── tooling/
│ ├── eslint/ # Shared ESLint configs
│ ├── prettier/ # Shared Prettier config
│ ├── typescript/ # Base tsconfig
│ └── github/ # CI setup action
├── development/ # Dev docker-compose (Redis, MySQL, PostgreSQL)
├── e2e/ # E2E test specs
└── Dockerfile # Multi-stage production build
```
## Three Runtime Services
| Service | Port | Role |
|---------|------|------|
| Next.js | 3000 | Main web app (SSR + API routes) |
| WebSocket | 3001 | tRPC subscriptions via `ws` |
| Tasks | 3002 | Cron job runner + management API via Fastify |
In Docker, nginx listens on **7575** and proxies to all three. The tasks service authenticates via `CRON_JOB_API_KEY` header.
## Package Dependency Layers
1. **Foundation**: `core` (env, DB drivers, Redis client, logging) → no `@homarr` deps
2. **Domain**: `definitions` → `common` → `core`
3. **Data**: `db` → `core`, `definitions`, `common`
4. **Auth**: `auth` → `db`, `definitions`, `core`, `validation`
5. **Cross-cutting**: `translation`, `validation`, `redis`, `server-settings`
6. **Feature backends**: `integrations`, `request-handler`, `cron-jobs`, `docker`, `ping`
7. **API surface**: `api` → pulls in auth, db, redis, integrations, etc.
8. **UI stack**: `ui`, `modals`, `form`, `notifications`, `boards`, `spotlight`
9. **Composed features**: `widgets`, `modals-collection`, `forms-collection`
## Key Patterns
### tRPC
- **Server caller** (RSC): `import { api } from "@homarr/api/server"` → cached caller with auth context
- **Client hooks**: `import { clientApi } from "@homarr/api/client"` → React Query hooks
- **Router structure**: `packages/api/src/root.ts` defines top-level namespaces (`user`, `board`, `widget`, `integration`, `docker`, `kubernetes`, etc.)
- **Procedures**: `publicProcedure`, `protectedProcedure`, `permissionRequiredProcedure`, `onboardingProcedure`
- **WebSocket subscriptions**: Client uses `wsLink` when `type === "subscription"`, connects to port 3001
### Multi-Database Support
Drizzle schemas exist in three parallel implementations:
- `packages/db/schema/sqlite.ts`
- `packages/db/schema/mysql.ts`
- `packages/db/schema/postgresql.ts`
Selected at runtime via `DB_DRIVER` env (`better-sqlite3` | `mysql2` | `node-postgres`). Migrations are per-engine in `packages/db/migrations/{sqlite,mysql,postgresql}/`.
### Widget System
Widgets are registered in `packages/widgets/src/index.tsx` as `widgetImports` (must satisfy `Record<WidgetKind, ...>`). Each widget:
- Has a `definition` created via `createWidgetDefinition(kind, { icon, createOptions, supportedIntegrations? })`
- Uses `optionsBuilder.from(factory => ({ ... }))` for typed options
- Loads dynamically via `next/dynamic`
- Fetches data via tRPC client hooks (backed by cron job caches)
### Integration System
Integrations are defined in `packages/definitions/src/integration.ts` (`integrationDefs`) and instantiated via `createIntegrationAsync` in `packages/integrations/src/base/creator.ts`. Each extends abstract `Integration` class with `testConnectionAsync` and typed methods.
### Cron Job System
Jobs defined in `packages/cron-jobs/src/jobs/`. Each job:
- Uses `createCronJob` with a cron expression
- Publishes results to Redis channels
- Widget subscriptions consume those channels via tRPC subscriptions
- Job management (start/stop/trigger) via `cronJobApi` HTTP client to port 3002
### Modals
Created with `createModal(component).withOptions({ defaultTitle })` from `@homarr/modals`. Opened via `useModalAction(SomeModal)`. Feature modals live in `packages/modals-collection/`.
### Forms
`useZodForm` from `@homarr/form` wraps Mantine `useForm` with zod validation. Shared form UIs in `packages/forms-collection/`.
### Routing (App Router)
- `apps/nextjs/src/app/[locale]/` — all UI routes under locale segment
- Route groups: `(home)`, `(content)`, `(board)` — don't affect URLs
- Key routes: `boards/[name]`, `manage/...` (admin), `auth/login`, `init` (onboarding), `widgets/[kind]`
- Locale driven by cookie (no URL prefix)
### Auth Providers
Configured via `AUTH_PROVIDERS` env. Supports: `credentials` (local), `ldap`, `oidc`. Database sessions with httpOnly cookies. API key auth for programmatic access.
## Environment Variables
Key env vars (from `.env.example`):
- `DB_DRIVER`: `better-sqlite3` | `mysql2` | `node-postgres`
- `DB_URL`: Database connection string
- `AUTH_SECRET`: NextAuth secret
- `SECRET_ENCRYPTION_KEY`: AES-256-CBC for integration secrets
- `AUTH_PROVIDERS`: Comma-separated (`credentials`, `ldap`, `oidc`)
- `CRON_JOB_API_KEY`: Shared key between Next.js and tasks service
- `REDIS_*`: Redis connection (host, port, password)
- `ENABLE_KUBERNETES`: Optional Kubernetes integration
## Development Commands
- `pnpm dev` — runs all three services in parallel via Turborepo
- `pnpm docker:dev` — starts Redis + MySQL + PostgreSQL containers
- `pnpm db:push` — push schema to SQLite (dev)
- `pnpm db:studio` — Drizzle Studio
- `pnpm test` — Vitest unit tests
- `pnpm test:e2e` — Playwright E2E
- `pnpm lint` / `pnpm format` — ESLint + Prettier
- `pnpm typecheck` — tsc --noEmit across all packages
## Conventions
- Workspace packages use `@homarr/` scope
- All versions managed via pnpm `catalog:` in workspace
- Path alias `~/*` → `./src/*` in Next.js app
- Mantine for all UI (no Tailwind) — primary color is red, `autoContrast: true`
- Icons from `@tabler/icons-react`
- Drag-and-drop via `@dnd-kit/*`
- `typescript.ignoreBuildErrors: true` in next.config (types checked separately via `typecheck`)
- `serverExternalPackages`: `dockerode`, `isomorphic-dompurify`, `jsdom`
+4 -6
View File
@@ -12,6 +12,10 @@ AUTH_SECRET="supersecret"
# or starting the project without any (which will show a randomly generated one).
SECRET_ENCRYPTION_KEY=0000000000000000000000000000000000000000000000000000000000000000
# Cron job API key is generated every time the container starts as it is required for communication between nextjs-api and tasks-api
# export CRON_JOB_API_KEY=$(openssl rand -base64 32)
# CRON_JOB_API_KEY="your-generated-api-key"
LOG_LEVEL='info'
# This is how you can use the sqlite driver:
@@ -41,12 +45,6 @@ DB_URL='FULL_PATH_TO_YOUR_SQLITE_DB_FILE'
TURBO_TELEMETRY_DISABLED=1
# Comma-separated paths to Docker-compatible Unix sockets.
# Useful for connecting to multiple runtimes (Docker + Podman) simultaneously.
# When unset and no TCP hosts configured, defaults to /var/run/docker.sock.
# Example: DOCKER_SOCKET_PATHS=/var/run/docker.sock,/run/user/1000/podman/podman.sock
# DOCKER_SOCKET_PATHS=
# Enable kubernetes tool
# ENABLE_KUBERNETES=true
-1
View File
@@ -33,7 +33,6 @@ body:
options:
# The below comment is used to insert a new version with on-release.yml
#NEXT_VERSION#
- 1.61.0
- 1.60.1-beta.1
- 1.60.0
- 1.59.3
+10 -12
View File
@@ -5,7 +5,6 @@ on:
branches:
- main
- beta
- next
- dev
workflow_dispatch:
inputs:
@@ -35,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
SKIP_RELEASE: ${{ github.event_name == 'workflow_dispatch' || github.ref_name == 'dev' || github.ref_name == 'next' }}
SKIP_RELEASE: ${{ github.event_name == 'workflow_dispatch' || github.ref_name == 'dev' }}
outputs:
version: ${{ steps.read-semver.outputs.version || steps.version-fallback.outputs.version }}
git_ref: ${{ steps.read-git-ref.outputs.ref || github.ref }}
@@ -55,7 +54,7 @@ jobs:
with:
private-key: ${{ secrets.RENOVATE_MERGE_PRIVATE_KEY }}
client-id: ${{ secrets.RENOVATE_MERGE_APP_ID }}
permission-contents: write # required to commit package.json & changelog changes, merge them to dev / next and publish the release
permission-contents: write # required to commit package.json & changelog changes, merge them to dev and publish the release
- uses: actions/checkout@v6
if: env.SKIP_RELEASE == 'false'
@@ -67,7 +66,7 @@ jobs:
if: env.SKIP_RELEASE == 'false'
with:
node-version: 24.15.0
package-manager-cache: false
cache: "pnpm"
- run: npm i -g pnpm
if: env.SKIP_RELEASE == 'false'
- name: Install dependencies
@@ -96,21 +95,20 @@ jobs:
id: read-git-ref
run: |
echo "ref=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- name: Update dev / next branch
- name: Update dev branch
if: env.SKIP_RELEASE == 'false'
continue-on-error: true # Prevent pipeline from failing when merge fails
env:
GITHUB_TOKEN: ${{ steps.obtainToken.outputs.token }}
UPSTREAM_BRANCH: ${{ github.ref_name == 'main' && 'dev' || 'next' }}
run: |
git config user.name "Releases Homarr"
git config user.email "175486441+homarr-releases[bot]@users.noreply.github.com"
git remote set-url origin https://x-access-token:${{ steps.obtainToken.outputs.token }}@github.com/${{ github.repository }}.git
git fetch origin ${{ env.UPSTREAM_BRANCH }}
git checkout ${{ env.UPSTREAM_BRANCH }}
git pull origin ${{ env.UPSTREAM_BRANCH }}
git fetch origin dev
git checkout dev
git pull origin dev
git rebase ${{ github.ref_name }}
git push origin ${{ env.UPSTREAM_BRANCH }}
git push origin dev
build-amd64:
name: Build docker image for amd64
needs: release
@@ -193,7 +191,7 @@ jobs:
name: Extract amd64 asset from docker image
needs: [release, build-amd64]
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 2
steps:
- name: Extract amd64
if: needs.release.outputs.skipped == 'false'
@@ -209,7 +207,7 @@ jobs:
name: Extract arm64 asset from docker image
needs: [release, build-arm64]
runs-on: ubuntu-24.04-arm
timeout-minutes: 5
timeout-minutes: 2
steps:
- name: Extract arm64
if: needs.release.outputs.skipped == 'false'
+3825 -3869
View File
File diff suppressed because it is too large. Load diff
-4
View File
@@ -3,11 +3,7 @@
# Exempt Renovate‑managed files (no owners)
package.json
**/package.json
package-lock.json
**/package-lock.json
pnpm-lock.yaml
**/pnpm-lock.yaml
pnpm-workspace.yaml
Dockerfile
docker-compose.yml
+2
View File
@@ -43,6 +43,8 @@ RUN mkdir -p /var/cache/nginx && \
COPY --from=builder /app/apps/nextjs/next.config.ts .
COPY --from=builder /app/apps/nextjs/package.json .
COPY --from=builder /app/apps/tasks/tasks.cjs ./apps/tasks/tasks.cjs
COPY --from=builder /app/apps/websocket/wssServer.cjs ./apps/websocket/wssServer.cjs
COPY --from=builder /app/node_modules/better-sqlite3/build/Release/better_sqlite3.node /app/build/better_sqlite3.node
COPY --from=builder /app/packages/db/migrations ./db/migrations
-17
View File
@@ -10,21 +10,4 @@ export default [
...baseConfig,
...reactConfig,
...nextjsConfig,
{
files: ["public/sw.js"],
languageOptions: {
globals: {
self: "readonly",
clients: "readonly",
skipWaiting: "readonly",
importScripts: "readonly",
caches: "readonly",
fetch: "readonly",
},
},
rules: {
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
},
},
];
-11
View File
@@ -32,8 +32,6 @@ const nextConfig: NextConfig = {
experimental: {
optimizePackageImports: ["@mantine/core", "@mantine/hooks", "@tabler/icons-react"],
turbopackFileSystemCacheForDev: true,
preloadEntriesOnStart: false,
webpackMemoryOptimizations: true,
},
transpilePackages: ["@homarr/ui", "@homarr/notifications", "@homarr/modals", "@homarr/spotlight", "@homarr/widgets"],
images: {
@@ -44,18 +42,9 @@ const nextConfig: NextConfig = {
},
],
},
// skipcq: JS-0116
// eslint-disable-next-line @typescript-eslint/require-await,no-restricted-syntax
async headers() {
return [
{
source: "/sw.js",
headers: [
{ key: "Content-Type", value: "application/javascript; charset=utf-8" },
{ key: "Cache-Control", value: "no-cache, no-store, must-revalidate" },
{ key: "Content-Security-Policy", value: "default-src 'self'; script-src 'self'" },
],
},
{
source: "/(.*)", // Apply CSP to all routes
headers: [
-2
View File
@@ -44,11 +44,9 @@
"@homarr/server-settings": "workspace:^0.1.0",
"@homarr/settings": "workspace:^0.1.0",
"@homarr/spotlight": "workspace:^0.1.0",
"@homarr/tasks": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0",
"@homarr/websocket": "workspace:^0.1.0",
"@homarr/widgets": "workspace:^0.1.0",
"@mantine/colors-generator": "catalog:",
"@mantine/core": "catalog:",
-7
View File
@@ -1,7 +0,0 @@
self.addEventListener("install", () => {
self.skipWaiting();
});
self.addEventListener("activate", (event) => {
event.waitUntil(self.clients.claim());
});
-2
View File
@@ -26,7 +26,6 @@ import { isLocaleRTL, isLocaleSupported } from "@homarr/translation";
import { Analytics } from "~/components/layout/analytics";
import { CrowdinLiveTranslation } from "~/components/layout/crowdin-live-translation";
import { SearchEngineOptimization } from "~/components/layout/search-engine-optimization";
import { ServiceWorkerRegistration } from "~/components/layout/service-worker-registration";
import { getCurrentColorSchemeAsync } from "~/theme/color-scheme";
import { DayJsLoader } from "./_client-providers/dayjs-loader";
import { JotaiProvider } from "./_client-providers/jotai";
@@ -143,7 +142,6 @@ export default async function Layout(props: {
<body className={["font-sans", fontSans.variable].join(" ")}>
<StackedProvider>
<Notifications />
<ServiceWorkerRegistration />
{props.children}
</StackedProvider>
</body>
@@ -58,18 +58,6 @@ const createColumns = (
return <ContainerStateBadge state={cell.row.original.state} />;
},
},
{
accessorKey: "host",
header: t("docker.field.host.label"),
size: 140,
Cell({ row }) {
return (
<Text truncate="end" title={row.original.host}>
{row.original.host}
</Text>
);
},
},
{
accessorKey: "image",
header: t("docker.field.containerImage.label"),
@@ -26,7 +26,6 @@ export const ChangeSearchPreferencesForm = ({ user, searchEnginesData }: ChangeS
form.setInitialValues({
defaultSearchEngineId: variables.defaultSearchEngineId,
openInNewTab: variables.openInNewTab,
ddgBangsEnabled: variables.ddgBangsEnabled,
});
showSuccessNotification({
message: t("user.action.changeSearchPreferences.notification.success.message"),
@@ -42,7 +41,6 @@ export const ChangeSearchPreferencesForm = ({ user, searchEnginesData }: ChangeS
initialValues: {
defaultSearchEngineId: user.defaultSearchEngineId,
openInNewTab: user.openSearchInNewTab,
ddgBangsEnabled: user.ddgBangs,
},
});
@@ -66,10 +64,6 @@ export const ChangeSearchPreferencesForm = ({ user, searchEnginesData }: ChangeS
label={t("user.field.openSearchInNewTab.label")}
{...form.getInputProps("openInNewTab", { type: "checkbox" })}
/>
<Switch
label={t("user.field.ddgBangs.label")}
{...form.getInputProps("ddgBangsEnabled", { type: "checkbox" })}
/>
<Group justify="end">
<Button type="submit" loading={isPending}>
@@ -1,14 +0,0 @@
"use client";
import { useEffect } from "react";
export const ServiceWorkerRegistration = () => {
useEffect(() => {
if (!("serviceWorker" in navigator)) return;
navigator.serviceWorker.register("/sw.js", { scope: "/", updateViaCache: "none" }).catch((error) => {
console.error("Service worker registration failed", error);
});
}, []);
return null;
};
-6
View File
@@ -1,6 +0,0 @@
export async function register() {
if (process.env.NEXT_RUNTIME === "nodejs") {
await import("@homarr/tasks");
await import("@homarr/websocket");
}
}
+3 -1
View File
@@ -5,11 +5,12 @@
"license": "Apache-2.0",
"type": "module",
"exports": {
".": "./src/main.ts"
".": "./src/index.ts"
},
"main": "./src/main.ts",
"types": "./src/main.ts",
"scripts": {
"build": "esbuild src/main.ts --bundle --platform=node --loader:.scss=text --external:*.node --external:@opentelemetry/api --external:deasync --external:bcrypt --outfile=tasks.cjs",
"clean": "rm -rf .turbo node_modules",
"dev": "pnpm with-env tsx ./src/main.ts",
"format": "prettier --check . --ignore-path ../../.gitignore",
@@ -23,6 +24,7 @@
"@homarr/auth": "workspace:^0.1.0",
"@homarr/common": "workspace:^0.1.0",
"@homarr/core": "workspace:^",
"@homarr/cron-job-api": "workspace:^0.1.0",
"@homarr/cron-jobs": "workspace:^0.1.0",
"@homarr/cron-jobs-core": "workspace:^0.1.0",
"@homarr/db": "workspace:^0.1.0",
@@ -1,6 +1,7 @@
import { Cron } from "croner";
import { createLogger } from "@homarr/core/infrastructure/logs";
import type { IJobManager } from "@homarr/cron-job-api";
import type { jobGroup as cronJobGroup, JobGroupKeys } from "@homarr/cron-jobs";
import type { Database, InferInsertModel } from "@homarr/db";
import { eq } from "@homarr/db";
@@ -8,7 +9,7 @@ import { cronJobConfigurations } from "@homarr/db/schema";
const logger = createLogger({ module: "jobManager" });
export class JobManager {
export class JobManager implements IJobManager {
constructor(
private db: Database,
private jobGroup: typeof cronJobGroup,
+41 -1
View File
@@ -1,12 +1,52 @@
// This import has to be the first import in the file so that the agent is overridden before any other modules are imported.
import "./overrides";
import { jobGroup } from "@homarr/cron-jobs";
import type { FastifyTRPCPluginOptions } from "@trpc/server/adapters/fastify";
import { fastifyTRPCPlugin } from "@trpc/server/adapters/fastify";
import fastify from "fastify";
import { createLogger } from "@homarr/core/infrastructure/logs";
import { ErrorWithMetadata } from "@homarr/core/infrastructure/logs/error";
import type { JobRouter } from "@homarr/cron-job-api";
import { jobRouter } from "@homarr/cron-job-api";
import { CRON_JOB_API_KEY_HEADER, CRON_JOB_API_PATH, CRON_JOB_API_PORT } from "@homarr/cron-job-api/constants";
import { jobGroup } from "@homarr/cron-jobs";
import { db } from "@homarr/db";
import { JobManager } from "./job-manager";
import { onStartAsync } from "./on-start";
const logger = createLogger({ module: "tasksMain" });
const server = fastify({
maxParamLength: 5000,
});
server.register(fastifyTRPCPlugin, {
prefix: CRON_JOB_API_PATH,
trpcOptions: {
router: jobRouter,
createContext: ({ req }) => ({
manager: new JobManager(db, jobGroup),
apiKey: req.headers[CRON_JOB_API_KEY_HEADER] as string | undefined,
}),
onError({ path, error }) {
logger.error(new ErrorWithMetadata("Error in tasks tRPC handler", { path }, { cause: error }));
},
} satisfies FastifyTRPCPluginOptions<JobRouter>["trpcOptions"],
});
void (async () => {
await onStartAsync();
await jobGroup.initializeAsync();
await jobGroup.startAllAsync();
try {
await server.listen({ port: CRON_JOB_API_PORT });
logger.info("Tasks web server started successfully", { port: CRON_JOB_API_PORT });
} catch (err) {
logger.error(
new ErrorWithMetadata("Failed to start tasks web server", { port: CRON_JOB_API_PORT }, { cause: err }),
);
process.exit(1);
}
})();
+1 -3
View File
@@ -4,12 +4,10 @@
"private": true,
"license": "Apache-2.0",
"type": "module",
"exports": {
".": "./src/main.ts"
},
"main": "./src/main.ts",
"types": "./src/main.ts",
"scripts": {
"build": "esbuild src/main.ts --bundle --platform=node --outfile=wssServer.cjs --external:bcrypt --external:@opentelemetry/api --external:deasync --external:cpu-features --loader:.html=text --loader:.scss=text --loader:.node=text",
"clean": "rm -rf .turbo node_modules",
"dev": "pnpm with-env tsx ./src/main.ts",
"format": "prettier --check . --ignore-path ../../.gitignore",
+2 -2
View File
@@ -4,10 +4,10 @@
"dependencies": {
"better-sqlite3": "^12.9.0"
},
"packageManager": "pnpm@10.33.4",
"packageManager": "pnpm@10.33.2",
"engines": {
"node": ">=24.15.0",
"pnpm": ">=10.33.4"
"pnpm": ">=10.33.2"
},
"pnpm": {
"onlyBuiltDependencies": [
-7
View File
@@ -372,13 +372,6 @@
</a>
</td>
<td align="center">
<a href="https://homarr.dev/docs/integrations/umami" target="_blank" rel="noreferrer noopener">
<img src="https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/umami.svg" alt="Umami" width="90" height="90" />
<br/>
<p align="center">Umami</p>
</a>
</td>
<td align="center">
<a href="https://homarr.dev/docs/integrations/unifi-controller" target="_blank" rel="noreferrer noopener">
<img src="https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/png/unifi.png" alt="Unifi Controller" width="90" height="90" />
<br/>
+10 -10
View File
@@ -1,6 +1,6 @@
{
"name": "homarr",
"version": "1.61.1-beta.1",
"version": "1.60.0",
"private": true,
"scripts": {
"build": "cross-env CI=true turbo build",
@@ -15,7 +15,7 @@
"db:migration:sqlite:run": "pnpm -F db migration:sqlite:run",
"db:push": "pnpm -F db push:sqlite",
"db:studio": "pnpm -F db studio",
"dev": "pnpm -F nextjs dev",
"dev": "turbo dev --parallel",
"docker:dev": "docker compose -f ./development/development.docker-compose.yml up",
"format": "turbo format --continue -- --cache --cache-location node_modules/.cache/.prettiercache",
"format:fix": "turbo format --continue -- --write --cache --cache-location node_modules/.cache/.prettiercache",
@@ -59,10 +59,10 @@
"vite-tsconfig-paths": "catalog:",
"vitest": "catalog:"
},
"packageManager": "pnpm@10.33.4",
"packageManager": "pnpm@10.33.2",
"engines": {
"node": ">=24.15.0",
"pnpm": ">=10.33.4"
"pnpm": ">=10.33.2"
},
"pnpm": {
"onlyBuiltDependencies": [
@@ -79,9 +79,9 @@
"overrides": {
"@babel/helpers@<7.26.10": ">=7.29.2",
"@babel/runtime@<7.26.10": ">=7.29.2",
"axios@>=1.0.0 <1.8.2": ">=1.16.0",
"brace-expansion@>=2.0.0 <=2.0.1": ">=5.0.6",
"brace-expansion@>=1.0.0 <=1.1.11": ">=5.0.6",
"axios@>=1.0.0 <1.8.2": ">=1.15.2",
"brace-expansion@>=2.0.0 <=2.0.1": ">=5.0.5",
"brace-expansion@>=1.0.0 <=1.1.11": ">=5.0.5",
"esbuild@<=0.24.2": ">=0.28.0",
"form-data@>=4.0.0 <4.0.4": ">=4.0.5",
"hono@<4.6.5": ">=4.12.16",
@@ -89,13 +89,13 @@
"nanoid@>=4.0.0 <5.0.9": ">=5.1.11",
"prismjs@<1.30.0": ">=1.30.0",
"proxmox-api>undici": "7.24.6",
"react-is": "^19.2.6",
"rollup@>=4.0.0 <4.22.4": ">=4.60.3",
"react-is": "^19.2.5",
"rollup@>=4.0.0 <4.22.4": ">=4.60.2",
"sha.js@<=2.4.11": ">=2.4.12",
"tar-fs@>=3.0.0 <3.0.9": ">=3.1.2",
"tar-fs@>=2.0.0 <2.1.3": ">=3.1.2",
"tmp@<=0.2.3": ">=0.2.5",
"vite@>=5.0.0 <=5.4.18": ">=8.0.11"
"vite@>=5.0.0 <=5.4.18": ">=8.0.10"
},
"patchedDependencies": {
"@types/node-unifi": "patches/@types__node-unifi.patch",
+1
View File
@@ -25,6 +25,7 @@
"@homarr/auth": "workspace:^0.1.0",
"@homarr/common": "workspace:^0.1.0",
"@homarr/core": "workspace:^0.1.0",
"@homarr/cron-job-api": "workspace:^0.1.0",
"@homarr/cron-job-status": "workspace:^0.1.0",
"@homarr/cron-jobs": "workspace:^0.1.0",
"@homarr/db": "workspace:^0.1.0",
-1
View File
@@ -26,7 +26,6 @@ export const appRouter = createTRPCRouter({
media: lazy(() => import("./router/medias/media-router").then((mod) => mod.mediaRouter)),
updateChecker: lazy(() => import("./router/update-checker").then((mod) => mod.updateCheckerRouter)),
certificates: lazy(() => import("./router/certificates/certificate-router").then((mod) => mod.certificateRouter)),
bangs: lazy(() => import("./router/bangs/bangs-router").then((mod) => mod.bangsRouter)),
info: lazy(() => import("./router/info").then((mod) => mod.infoRouter)),
});
@@ -1,17 +0,0 @@
import { z } from "zod/v4";
import { searchDuckDuckGoBangsAsync } from "../../services/duckduckgo-bangs";
import { createTRPCRouter, publicProcedure } from "../../trpc";
export const bangsRouter = createTRPCRouter({
search: publicProcedure
.input(
z.object({
query: z.string(),
limit: z.number().int().min(1).max(50).default(20),
}),
)
.query(async ({ input }) => {
return await searchDuckDuckGoBangsAsync({ query: input.query, limit: input.limit });
}),
});
+16 -19
View File
@@ -2,36 +2,33 @@ import { observable } from "@trpc/server/observable";
import z from "zod/v4";
import { createLogger } from "@homarr/core/infrastructure/logs";
import { jobGroupKeys, jobNameSchema } from "@homarr/cron-job-api";
import { cronJobApi } from "@homarr/cron-job-api/client";
import type { TaskStatus } from "@homarr/cron-job-status";
import { createCronJobStatusChannel } from "@homarr/cron-job-status";
import { jobGroup } from "@homarr/cron-jobs";
import { JobManager } from "@homarr/cron-jobs/job-manager";
import { createTRPCRouter, permissionRequiredProcedure } from "../trpc";
const jobGroupKeys = jobGroup.getKeys();
const jobNameSchema = z.enum(jobGroup.getKeys());
const logger = createLogger({ module: "cronJobsRouter" });
export const cronJobsRouter = createTRPCRouter({
triggerJob: permissionRequiredProcedure
.requiresPermission("admin")
.input(jobNameSchema)
.mutation(async ({ input, ctx }) => {
await new JobManager(ctx.db, jobGroup).triggerAsync(input);
.mutation(async ({ input }) => {
await cronJobApi.trigger.mutate(input);
}),
startJob: permissionRequiredProcedure
.requiresPermission("admin")
.input(jobNameSchema)
.mutation(async ({ input, ctx }) => {
await new JobManager(ctx.db, jobGroup).startAsync(input);
.mutation(async ({ input }) => {
await cronJobApi.start.mutate(input);
}),
stopJob: permissionRequiredProcedure
.requiresPermission("admin")
.input(jobNameSchema)
.mutation(({ input, ctx }) => {
new JobManager(ctx.db, jobGroup).stop(input);
.mutation(async ({ input }) => {
await cronJobApi.stop.mutate(input);
}),
updateJobInterval: permissionRequiredProcedure
.requiresPermission("admin")
@@ -41,23 +38,23 @@ export const cronJobsRouter = createTRPCRouter({
cron: z.string(),
}),
)
.mutation(async ({ input, ctx }) => {
await new JobManager(ctx.db, jobGroup).updateIntervalAsync(input.name, input.cron);
.mutation(async ({ input }) => {
await cronJobApi.updateInterval.mutate(input);
}),
disableJob: permissionRequiredProcedure
.requiresPermission("admin")
.input(jobNameSchema)
.mutation(async ({ input, ctx }) => {
await new JobManager(ctx.db, jobGroup).disableAsync(input);
.mutation(async ({ input }) => {
await cronJobApi.disable.mutate(input);
}),
enableJob: permissionRequiredProcedure
.requiresPermission("admin")
.input(jobNameSchema)
.mutation(async ({ input, ctx }) => {
await new JobManager(ctx.db, jobGroup).enableAsync(input);
.mutation(async ({ input }) => {
await cronJobApi.enable.mutate(input);
}),
getJobs: permissionRequiredProcedure.requiresPermission("admin").query(async ({ ctx }) => {
return await new JobManager(ctx.db, jobGroup).getAllAsync();
getJobs: permissionRequiredProcedure.requiresPermission("admin").query(async () => {
return await cronJobApi.getAll.query();
}),
subscribeToStatusUpdates: permissionRequiredProcedure.requiresPermission("admin").subscription(() => {
return observable<TaskStatus>((emit) => {
@@ -138,7 +138,6 @@ const getContainerOrThrowAsync = async (id: string) => {
interface DockerContainer {
name: string;
id: string;
host: string;
state: ContainerState;
image: string;
ports: Port[] | undefined;
-30
View File
@@ -21,7 +21,6 @@ import {
userChangePasswordApiSchema,
userChangeSearchPreferencesSchema,
userCreateSchema,
userDdgBangsSchema,
userEditProfileSchema,
userFirstDayOfWeekSchema,
userInitSchema,
@@ -277,7 +276,6 @@ export const userRouter = createTRPCRouter({
pingIconsEnabled: true,
defaultSearchEngineId: true,
openSearchInNewTab: true,
ddgBangs: true,
}),
)
.meta({ openapi: { method: "GET", path: "/api/users/{userId}", tags: ["users"], protect: true } })
@@ -303,7 +301,6 @@ export const userRouter = createTRPCRouter({
pingIconsEnabled: true,
defaultSearchEngineId: true,
openSearchInNewTab: true,
ddgBangs: true,
},
where: eq(users.id, input.userId),
});
@@ -544,33 +541,6 @@ export const userRouter = createTRPCRouter({
})
.where(eq(users.id, ctx.session.user.id));
}),
changeDdgBangs: protectedProcedure
.input(convertIntersectionToZodObject(userDdgBangsSchema.and(byIdSchema)))
.output(z.void())
.meta({
openapi: {
method: "PATCH",
path: "/api/users/ddg-bangs",
tags: ["users"],
protect: true,
deprecated: true,
},
})
.mutation(async ({ input, ctx }) => {
if (!ctx.session.user.permissions.includes("admin") && ctx.session.user.id !== input.id) {
throw new TRPCError({
code: "NOT_FOUND",
message: "User not found",
});
}
await ctx.db
.update(users)
.set({
ddgBangs: input.ddgBangs,
})
.where(eq(users.id, input.id));
}),
changeFirstDayOfWeek: protectedProcedure
.input(convertIntersectionToZodObject(userFirstDayOfWeekSchema.and(byIdSchema)))
.output(z.void())
@@ -15,13 +15,10 @@ export const changeSearchPreferencesInputSchema = userChangeSearchPreferencesSch
export const changeSearchPreferencesAsync = async (
db: Database,
session: Session,
input: Modify<
z.infer<typeof changeSearchPreferencesInputSchema>,
{ openInNewTab: boolean | undefined; ddgBangsEnabled: boolean | undefined }
>,
input: Modify<z.infer<typeof changeSearchPreferencesInputSchema>, { openInNewTab: boolean | undefined }>,
) => {
const user = session.user;
// Only admins can change other users search preferences
// Only admins can change other users passwords
if (!user.permissions.includes("admin") && user.id !== input.userId) {
throw new TRPCError({
code: "NOT_FOUND",
@@ -48,7 +45,6 @@ export const changeSearchPreferencesAsync = async (
.set({
defaultSearchEngineId: input.defaultSearchEngineId,
openSearchInNewTab: input.openInNewTab,
ddgBangs: input.ddgBangsEnabled,
})
.where(eq(users.id, input.userId));
};
+1 -23
View File
@@ -2,8 +2,6 @@ import { observable } from "@trpc/server/observable";
import { z } from "zod/v4";
import type { Modify } from "@homarr/common/types";
import { createLogger } from "@homarr/core/infrastructure/logs";
import { ErrorWithMetadata } from "@homarr/core/infrastructure/logs/error";
import type { Integration } from "@homarr/db/schema";
import type { IntegrationKindByCategory } from "@homarr/definitions";
import { getIntegrationKindsByCategory } from "@homarr/definitions";
@@ -14,8 +12,6 @@ import { calendarMonthRequestHandler } from "@homarr/request-handler/calendar";
import { createManyIntegrationMiddleware } from "../../middlewares/integration";
import { createTRPCRouter, publicProcedure } from "../../trpc";
const logger = createLogger({ module: "calendarRouter" });
export const calendarRouter = createTRPCRouter({
findAllEvents: publicProcedure
.input(
@@ -28,7 +24,7 @@ export const calendarRouter = createTRPCRouter({
)
.concat(createManyIntegrationMiddleware("query", ...getIntegrationKindsByCategory("calendar")))
.query(async ({ ctx, input }) => {
const settled = await Promise.allSettled(
return await Promise.all(
ctx.integrations.map(async (integration) => {
const { integrationIds: _integrationIds, ...handlerInput } = input;
const innerHandler = calendarMonthRequestHandler.handler(integration, handlerInput);
@@ -44,24 +40,6 @@ export const calendarRouter = createTRPCRouter({
};
}),
);
return settled.flatMap((result, index) => {
if (result.status === "fulfilled") {
return [result.value];
}
const integration = ctx.integrations[index];
logger.warn(
new ErrorWithMetadata(
"Calendar integration request failed; skipping events for this integration",
{
integrationId: integration?.id,
integrationKind: integration?.kind,
},
{ cause: result.reason },
),
);
return [];
});
}),
subscribeToEvents: publicProcedure
.input(
@@ -1,55 +0,0 @@
import { duckDuckGoBangsRequestHandler } from "@homarr/request-handler/duckduckgo-bangs";
import type { DuckDuckGoBang } from "@homarr/request-handler/duckduckgo-bangs";
// DuckDuckGo bang keys are intentionally short:
// - `t`: token (e.g. "yt"), `s`: display name, `u`: URL template (contains `{{{s}}}`)
// - `d`: domain, `c`: category, `sc`: subcategory, `r`: rank (optional)
const normalizeBangToken = (token: string) => token.toLowerCase().trim();
/**
* Binary search to find the first index where bang.t >= tokenPrefix.
* This is O(log n) vs O(n) for findIndex, which matters because DuckDuckGo
* has ~13,000+ bangs. Combined with the pre-sorted data, this allows
* efficient prefix matching by finding the start position and iterating
* only through consecutive matches.
*/
const lowerBound = (arr: DuckDuckGoBang[], tokenPrefix: string) => {
let low = 0;
let high = arr.length;
while (low < high) {
const mid = (low + high) >> 1;
const midBang = arr[mid];
// Must use the same ordering as the source list sort (localeCompare),
// otherwise binary search can miss tokens with symbols like "&" or "_".
if (!midBang || midBang.t.localeCompare(tokenPrefix) >= 0) {
high = mid;
continue;
}
low = mid + 1;
}
return low;
};
export const searchDuckDuckGoBangsAsync = async (input: {
query: string;
limit: number;
}): Promise<DuckDuckGoBang[]> => {
const queryTokenPrefix = normalizeBangToken(input.query);
if (!queryTokenPrefix) return [];
const { data: allBangs } = await duckDuckGoBangsRequestHandler.handler({}).getCachedOrUpdatedDataAsync({});
const startIndex = lowerBound(allBangs, queryTokenPrefix);
const matches: DuckDuckGoBang[] = [];
for (let index = startIndex; index < allBangs.length; index++) {
const bang = allBangs[index];
if (!bang) break;
if (!bang.t.startsWith(queryTokenPrefix)) break;
matches.push(bang);
if (matches.length >= input.limit) break;
}
return matches;
};
+9
View File
@@ -0,0 +1,9 @@
import baseConfig from "@homarr/eslint-config/base";
/** @type {import('typescript-eslint').Config} */
export default [
{
ignores: [],
},
...baseConfig,
];
+46
View File
@@ -0,0 +1,46 @@
{
"name": "@homarr/cron-job-api",
"version": "0.1.0",
"private": true,
"license": "Apache-2.0",
"type": "module",
"exports": {
".": "./src/index.ts",
"./env": "./src/env.ts",
"./constants": "./src/constants.ts",
"./client": "./src/client.ts"
},
"typesVersions": {
"*": {
"*": [
"src/*"
]
}
},
"scripts": {
"clean": "rm -rf .turbo node_modules",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
"typecheck": "tsc --noEmit"
},
"prettier": "@homarr/prettier-config",
"dependencies": {
"@homarr/common": "workspace:^0.1.0",
"@homarr/core": "workspace:^0.1.0",
"@homarr/cron-jobs": "workspace:^0.1.0",
"@tanstack/react-query": "catalog:",
"@trpc/client": "catalog:",
"@trpc/server": "catalog:",
"@trpc/tanstack-react-query": "catalog:",
"react": "catalog:",
"zod": "catalog:"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/react": "catalog:",
"eslint": "catalog:",
"typescript": "catalog:"
}
}
+20
View File
@@ -0,0 +1,20 @@
import { createTRPCClient, httpLink } from "@trpc/client";
import type { JobRouter } from ".";
import { CRON_JOB_API_KEY_HEADER, CRON_JOB_API_PATH, CRON_JOB_API_PORT } from "./constants";
import { env } from "./env";
export const cronJobApi = createTRPCClient<JobRouter>({
links: [
httpLink({
url: `${getBaseUrl()}${CRON_JOB_API_PATH}`,
headers: {
[CRON_JOB_API_KEY_HEADER]: env.CRON_JOB_API_KEY,
},
}),
],
});
function getBaseUrl() {
return `http://localhost:${CRON_JOB_API_PORT}`;
}
+3
View File
@@ -0,0 +1,3 @@
export const CRON_JOB_API_PORT = 3002;
export const CRON_JOB_API_PATH = "/trpc";
export const CRON_JOB_API_KEY_HEADER = "cron-job-api-key";
+11
View File
@@ -0,0 +1,11 @@
import { z } from "zod/v4";
import { env as commonEnv } from "@homarr/common/env";
import { createEnv } from "@homarr/core/infrastructure/env";
export const env = createEnv({
server: {
CRON_JOB_API_KEY: commonEnv.NODE_ENV === "development" ? z.string().default("test") : z.string(),
},
experimental__runtimeEnv: process.env,
});
+85
View File
@@ -0,0 +1,85 @@
import { initTRPC, TRPCError } from "@trpc/server";
import { z } from "zod/v4";
import type { JobGroupKeys } from "@homarr/cron-jobs";
import { jobGroup } from "@homarr/cron-jobs";
import { env } from "./env";
export const jobGroupKeys = jobGroup.getKeys();
export const jobNameSchema = z.enum(jobGroup.getKeys());
export interface IJobManager {
startAsync(name: JobGroupKeys): Promise<void>;
triggerAsync(name: JobGroupKeys): Promise<void>;
stop(name: JobGroupKeys): void;
updateIntervalAsync(name: JobGroupKeys, cron: string): Promise<void>;
disableAsync(name: JobGroupKeys): Promise<void>;
enableAsync(name: JobGroupKeys): Promise<void>;
getAllAsync(): Promise<
{
name: JobGroupKeys;
cron: string;
preventManualExecution: boolean;
preventCustomInterval: boolean;
isEnabled: boolean;
}[]
>;
}
const t = initTRPC
.context<{
manager: IJobManager;
apiKey?: string;
}>()
.create();
const createTrpcRouter = t.router;
const apiKeyProcedure = t.procedure.use(({ ctx, next }) => {
if (ctx.apiKey !== env.CRON_JOB_API_KEY) {
throw new TRPCError({
code: "FORBIDDEN",
message: "Missing or invalid API key",
});
}
return next({
ctx: {
...ctx,
apiKey: undefined, // Clear the API key after checking
},
});
});
export const jobRouter = createTrpcRouter({
start: apiKeyProcedure.input(jobNameSchema).mutation(async ({ input, ctx }) => {
await ctx.manager.startAsync(input);
}),
trigger: apiKeyProcedure.input(jobNameSchema).mutation(async ({ input, ctx }) => {
await ctx.manager.triggerAsync(input);
}),
stop: apiKeyProcedure.input(jobNameSchema).mutation(({ input, ctx }) => {
ctx.manager.stop(input);
}),
updateInterval: apiKeyProcedure
.input(
z.object({
name: jobNameSchema,
cron: z.string(),
}),
)
.mutation(async ({ input, ctx }) => {
await ctx.manager.updateIntervalAsync(input.name, input.cron);
}),
disable: apiKeyProcedure.input(jobNameSchema).mutation(async ({ input, ctx }) => {
await ctx.manager.disableAsync(input);
}),
enable: apiKeyProcedure.input(jobNameSchema).mutation(async ({ input, ctx }) => {
await ctx.manager.enableAsync(input);
}),
getAll: apiKeyProcedure.query(({ ctx }) => {
return ctx.manager.getAllAsync();
}),
});
export type JobRouter = typeof jobRouter;
+8
View File
@@ -0,0 +1,8 @@
{
"extends": "@homarr/tsconfig/base.json",
"compilerOptions": {
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"
},
"include": ["*.ts", "src"],
"exclude": ["node_modules"]
}
+2 -4
View File
@@ -5,8 +5,7 @@
"license": "Apache-2.0",
"type": "module",
"exports": {
".": "./index.ts",
"./job-manager": "./src/job-manager.ts"
".": "./index.ts"
},
"typesVersions": {
"*": {
@@ -39,8 +38,7 @@
"@homarr/server-settings": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0",
"semver-parser": "catalog:",
"zod": "catalog:"
"semver-parser": "catalog:"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
+29 -40
View File
@@ -28,45 +28,34 @@ import { updateCheckerJob } from "./jobs/update-checker";
import { weatherJob } from "./jobs/weather";
import { createCronJobGroup } from "./lib";
const getJobGroup = () => {
return createCronJobGroup({
analytics: analyticsJob,
iconsUpdater: iconsUpdaterJob,
ping: pingJob,
smartHomeEntityState: smartHomeEntityStateJob,
mediaServer: mediaServerJob,
mediaOrganizer: mediaOrganizerJob,
downloads: downloadsJob,
dnsHole: dnsHoleJob,
mediaRequestStats: mediaRequestStatsJob,
mediaRequestList: mediaRequestListJob,
rssFeeds: rssFeedsJob,
indexerManager: indexerManagerJob,
healthMonitoring: healthMonitoringJob,
updateChecker: updateCheckerJob,
mediaTranscoding: mediaTranscodingJob,
minecraftServerStatus: minecraftServerStatusJob,
dockerContainers: dockerContainersJob,
networkController: networkControllerJob,
firewallCpu: firewallCpuJob,
firewallMemory: firewallMemoryJob,
firewallVersion: firewallVersionJob,
firewallInterfaces: firewallInterfacesJob,
refreshNotifications: refreshNotificationsJob,
weather: weatherJob,
timetable: timetableJob,
tracearr: tracearrJob,
umamiActiveVisitors: umamiActiveVisitorsJob,
});
};
// Add global type augmentation for homarr
declare global {
var cronJobs: ReturnType<typeof getJobGroup> | undefined;
}
global.cronJobs ??= getJobGroup();
export const jobGroup = global.cronJobs;
export const jobGroup = createCronJobGroup({
analytics: analyticsJob,
iconsUpdater: iconsUpdaterJob,
ping: pingJob,
smartHomeEntityState: smartHomeEntityStateJob,
mediaServer: mediaServerJob,
mediaOrganizer: mediaOrganizerJob,
downloads: downloadsJob,
dnsHole: dnsHoleJob,
mediaRequestStats: mediaRequestStatsJob,
mediaRequestList: mediaRequestListJob,
rssFeeds: rssFeedsJob,
indexerManager: indexerManagerJob,
healthMonitoring: healthMonitoringJob,
updateChecker: updateCheckerJob,
mediaTranscoding: mediaTranscodingJob,
minecraftServerStatus: minecraftServerStatusJob,
dockerContainers: dockerContainersJob,
networkController: networkControllerJob,
firewallCpu: firewallCpuJob,
firewallMemory: firewallMemoryJob,
firewallVersion: firewallVersionJob,
firewallInterfaces: firewallInterfacesJob,
refreshNotifications: refreshNotificationsJob,
weather: weatherJob,
timetable: timetableJob,
tracearr: tracearrJob,
umamiActiveVisitors: umamiActiveVisitorsJob,
});
export type JobGroupKeys = ReturnType<(typeof jobGroup)["getKeys"]>[number];
@@ -1 +0,0 @@
ALTER TABLE `user` ADD `ddg_bangs` boolean DEFAULT true NOT NULL;
File diff suppressed because it is too large. Load diff
@@ -267,13 +267,6 @@
"when": 1775399941430,
"tag": "0037_remove_salt",
"breakpoints": true
},
{
"idx": 38,
"version": "5",
"when": 1775400000000,
"tag": "0038_add_user_ddg_bangs",
"breakpoints": true
}
]
}
@@ -1 +0,0 @@
ALTER TABLE "user" ADD COLUMN "ddg_bangs" boolean DEFAULT true NOT NULL;
File diff suppressed because it is too large. Load diff
@@ -29,13 +29,6 @@
"when": 1775399963041,
"tag": "0003_remove_salt",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1775400000000,
"tag": "0004_add_user_ddg_bangs",
"breakpoints": true
}
]
}
@@ -1 +0,0 @@
ALTER TABLE `user` ADD `ddg_bangs` integer DEFAULT true NOT NULL;
File diff suppressed because it is too large. Load diff
@@ -253,13 +253,6 @@
"when": 1775399918831,
"tag": "0035_remove_salt",
"breakpoints": true
},
{
"idx": 36,
"version": "6",
"when": 1775400000000,
"tag": "0036_add_user_ddg_bangs",
"breakpoints": true
}
]
}
-1
View File
@@ -76,7 +76,6 @@ export const users = mysqlTable("user", {
onDelete: "set null",
}),
openSearchInNewTab: boolean().default(false).notNull(),
ddgBangs: boolean().default(true).notNull(),
colorScheme: varchar({ length: 5 }).$type<ColorScheme>().default("dark").notNull(),
firstDayOfWeek: tinyint().$type<DayOfWeek>().default(1).notNull(), // Defaults to Monday
pingIconsEnabled: boolean().default(false).notNull(),
-1
View File
@@ -75,7 +75,6 @@ export const users = pgTable("user", {
onDelete: "set null",
}),
openSearchInNewTab: boolean().default(false).notNull(),
ddgBangs: boolean().default(true).notNull(),
colorScheme: varchar({ length: 5 }).$type<ColorScheme>().default("dark").notNull(),
firstDayOfWeek: smallint().$type<DayOfWeek>().default(1).notNull(), // Defaults to Monday
pingIconsEnabled: boolean().default(false).notNull(),
-1
View File
@@ -58,7 +58,6 @@ export const users = sqliteTable("user", {
onDelete: "set null",
}),
openSearchInNewTab: int({ mode: "boolean" }).default(true).notNull(),
ddgBangs: int({ mode: "boolean" }).default(true).notNull(),
colorScheme: text().$type<ColorScheme>().default("dark").notNull(),
firstDayOfWeek: int().$type<DayOfWeek>().default(1).notNull(), // Defaults to Monday
pingIconsEnabled: int({ mode: "boolean" }).default(false).notNull(),
@@ -93,7 +93,6 @@ export type HomarrDocumentationPath =
| "/docs/tags/roles"
| "/docs/tags/search"
| "/docs/tags/search-engines"
| "/docs/tags/secrets"
| "/docs/tags/security"
| "/docs/tags/self-signed"
| "/docs/tags/seo"
@@ -199,7 +198,6 @@ export type HomarrDocumentationPath =
| "/docs/integrations/tracearr"
| "/docs/integrations/transmission"
| "/docs/integrations/truenas"
| "/docs/integrations/umami"
| "/docs/integrations/unifi-controller"
| "/docs/integrations/unraid"
| "/docs/management/api"
@@ -246,7 +244,6 @@ export type HomarrDocumentationPath =
| "/docs/widgets/system-resources"
| "/docs/widgets/timetable"
| "/docs/widgets/tracearr"
| "/docs/widgets/umami"
| "/docs/widgets/video"
| "/docs/widgets/weather"
| ""
+2 -1
View File
@@ -61,7 +61,7 @@ export const integrationDefs = {
},
qBittorrent: {
name: "qBittorrent",
secretKinds: [["apiKey"], ["username", "password"]],
secretKinds: [["username", "password"]],
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/qbittorrent.svg",
category: ["downloadClient", "torrent"],
documentationUrl: createDocumentationLink("/docs/integrations/q-bittorent"),
@@ -376,6 +376,7 @@ export const integrationDefs = {
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/umami.svg",
category: ["analytics"],
defaultUrl: "https://api.umami.is/v1",
// @ts-expect-error - docs page will be created when integration is merged
documentationUrl: createDocumentationLink("/docs/integrations/umami"),
},
// This integration only returns mock data, it is used during development (but can also be used in production by directly going to the create page)
+1 -3
View File
@@ -4,11 +4,9 @@ import { createBooleanSchema, createEnv } from "@homarr/core/infrastructure/env"
export const env = createEnv({
server: {
// Comma separated list of docker hostnames that can be used to connect to query the docker endpoints (localhost,host.docker.internal, ...)
// Comma separated list of docker hostnames that can be used to connect to query the docker endpoints (localhost:2375,host.docker.internal:2375, ...)
DOCKER_HOSTNAMES: z.string().optional(),
DOCKER_PORTS: z.string().optional(),
// Comma separated paths to Docker-compatible Unix sockets (e.g., /var/run/docker.sock,/run/user/1000/podman/podman.sock)
DOCKER_SOCKET_PATHS: z.string().optional(),
ENABLE_DOCKER: createBooleanSchema(true),
ENABLE_KUBERNETES: createBooleanSchema(false),
},
+20 -32
View File
@@ -11,43 +11,31 @@ export class DockerSingleton {
private static instances: DockerInstance[] | null = null;
private createInstances() {
const socketPaths = env.DOCKER_SOCKET_PATHS;
const hostVariable = env.DOCKER_HOSTNAMES;
const portVariable = env.DOCKER_PORTS;
// Socket instances from DOCKER_SOCKET_PATHS
const socketInstances: DockerInstance[] = socketPaths
? socketPaths.split(",").map((socketPath) => ({
host: socketPath,
instance: new Docker({ socketPath }),
}))
: [];
// TCP instances from existing DOCKER_HOSTNAMES/DOCKER_PORTS
let tcpInstances: DockerInstance[] = [];
if (hostVariable !== undefined && portVariable !== undefined) {
const hostnames = hostVariable.split(",");
const ports = portVariable.split(",");
if (hostnames.length !== ports.length) {
throw new Error("The number of hosts and ports must match");
}
tcpInstances = hostnames.map((host, i) => ({
host: `${host}:${ports[i]}`,
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
instance: new Docker({ host, port: parseInt(ports[i]!, 10) }),
}));
}
const instances = [...socketInstances, ...tcpInstances];
// Default: local socket if nothing else configured
if (instances.length === 0) {
if (hostVariable === undefined || portVariable === undefined) {
return [{ host: "socket", instance: new Docker() }];
}
const hostnames = hostVariable.split(",");
const ports = portVariable.split(",");
return instances;
if (hostnames.length !== ports.length) {
throw new Error("The number of hosts and ports must match");
}
return hostnames.map((host, i) => {
// Check above ensures that ports[i] is not undefined
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const port = ports[i]!;
return {
host: `${host}:${port}`,
instance: new Docker({
host,
port: parseInt(port, 10),
}),
};
});
}
public static findInstance(host: string): DockerInstance | undefined {
-110
View File
@@ -1,110 +0,0 @@
import { beforeEach, describe, expect, test, vi } from "vitest";
import { DockerSingleton } from "../singleton";
const mockEnv = vi.hoisted(() => ({
DOCKER_SOCKET_PATHS: undefined as string | undefined,
DOCKER_HOSTNAMES: undefined as string | undefined,
DOCKER_PORTS: undefined as string | undefined,
ENABLE_DOCKER: true,
ENABLE_KUBERNETES: false,
}));
vi.mock("dockerode", () => {
return {
default: class MockDocker {
constructor(public opts?: Record<string, unknown>) {}
},
};
});
vi.mock("../env", () => ({
env: mockEnv,
}));
describe("DockerSingleton", () => {
beforeEach(() => {
// Reset singleton cache between tests
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
(DockerSingleton as any).instances = null;
// Reset env to defaults
mockEnv.DOCKER_SOCKET_PATHS = undefined;
mockEnv.DOCKER_HOSTNAMES = undefined;
mockEnv.DOCKER_PORTS = undefined;
});
test("should return default socket when no env vars set", () => {
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(1);
expect(instances[0]?.host).toBe("socket");
});
test("should return TCP instances only when DOCKER_HOSTNAMES and DOCKER_PORTS set", () => {
mockEnv.DOCKER_HOSTNAMES = "remote-host";
mockEnv.DOCKER_PORTS = "2375";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(1);
expect(instances[0]?.host).toBe("remote-host:2375");
});
test("should return multiple TCP instances", () => {
mockEnv.DOCKER_HOSTNAMES = "host1,host2";
mockEnv.DOCKER_PORTS = "2375,2376";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(2);
expect(instances[0]?.host).toBe("host1:2375");
expect(instances[1]?.host).toBe("host2:2376");
});
test("should throw when hostname and port counts do not match", () => {
mockEnv.DOCKER_HOSTNAMES = "host1,host2";
mockEnv.DOCKER_PORTS = "2375";
expect(() => DockerSingleton.getInstances()).toThrow("The number of hosts and ports must match");
});
test("should return socket instances when DOCKER_SOCKET_PATHS set", () => {
mockEnv.DOCKER_SOCKET_PATHS = "/var/run/docker.sock";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(1);
expect(instances[0]?.host).toBe("/var/run/docker.sock");
});
test("should return multiple socket instances", () => {
mockEnv.DOCKER_SOCKET_PATHS = "/var/run/docker.sock,/run/user/1000/podman/podman.sock";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(2);
expect(instances[0]?.host).toBe("/var/run/docker.sock");
expect(instances[1]?.host).toBe("/run/user/1000/podman/podman.sock");
});
test("should combine socket and TCP instances", () => {
mockEnv.DOCKER_SOCKET_PATHS = "/var/run/docker.sock,/run/user/1000/podman/podman.sock";
mockEnv.DOCKER_HOSTNAMES = "remote-host";
mockEnv.DOCKER_PORTS = "2375";
const instances = DockerSingleton.getInstances();
expect(instances).toHaveLength(3);
expect(instances[0]?.host).toBe("/var/run/docker.sock");
expect(instances[1]?.host).toBe("/run/user/1000/podman/podman.sock");
expect(instances[2]?.host).toBe("remote-host:2375");
});
test("should cache instances on subsequent calls", () => {
const first = DockerSingleton.getInstances();
const second = DockerSingleton.getInstances();
expect(first).toBe(second);
});
});
@@ -90,18 +90,10 @@ export class QBitTorrentIntegration extends Integration implements IDownloadClie
}
private async getClientAsync(dispatcher?: Dispatcher) {
const credentials = this.hasSecretValue("apiKey")
? {
apiKey: this.getSecretValue("apiKey"),
}
: {
username: this.getSecretValue("username"),
password: this.getSecretValue("password"),
};
return new QBittorrent({
...credentials,
baseUrl: this.url("/").toString(),
username: this.getSecretValue("username"),
password: this.getSecretValue("password"),
dispatcher: dispatcher ?? (await createCertificateAgentAsync()),
});
}
+12 -32
View File
@@ -2,8 +2,6 @@ import dayjs from "dayjs";
import type { ContainerInfo, ContainerStats } from "dockerode";
import type Dockerode from "dockerode";
import { createLogger } from "@homarr/core/infrastructure/logs";
import { ErrorWithMetadata } from "@homarr/core/infrastructure/logs/error";
import { db, like, or } from "@homarr/db";
import { icons } from "@homarr/db/schema";
import type { ContainerState } from "@homarr/docker";
@@ -11,8 +9,6 @@ import { dockerLabels, DockerSingleton } from "@homarr/docker";
import { createCachedWidgetRequestHandler } from "./lib/cached-widget-request-handler";
const logger = createLogger({ module: "dockerRequestHandler" });
export const dockerContainersRequestHandler = createCachedWidgetRequestHandler({
queryKey: "dockerContainersResult",
widgetKind: "dockerContainers",
@@ -22,34 +18,19 @@ export const dockerContainersRequestHandler = createCachedWidgetRequestHandler({
cacheDuration: dayjs.duration(20, "seconds"),
});
const dockerInstances = DockerSingleton.getInstances();
const extractImage = (container: ContainerInfo) => container.Image.split("/").at(-1)?.split(":").at(0) ?? "";
async function getContainersWithStatsAsync() {
const dockerInstances = DockerSingleton.getInstances();
const results = await Promise.allSettled(
const containers = await Promise.all(
dockerInstances.map(async ({ instance, host }) => {
const instanceContainers = await instance.listContainers({ all: true });
return instanceContainers
.filter((container) => !(dockerLabels.hide in container.Labels))
.map((container) => ({ ...container, instance: host }));
}),
);
const containers = results.flatMap((result, index) => {
if (result.status === "fulfilled") return result.value;
logger.warn(
new ErrorWithMetadata(
"Failed to list containers from Docker host",
{
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
host: dockerInstances[index]!.host,
},
{ cause: result.reason },
),
);
return [];
});
).then((res) => res.flat());
const likeQueries = containers.map((container) => like(icons.name, `%${extractImage(container)}%`));
const dbIcons =
@@ -63,6 +44,8 @@ async function getContainersWithStatsAsync() {
const instance = dockerInstances.find(({ host }) => host === container.instance)?.instance;
if (!instance) return null;
// Get stats, falling back to an empty stats object if fetch fails
// calculateCpuUsage and calculateMemoryUsage will return 0 for invalid/missing stats
const stats = await instance
.getContainer(container.Id)
.stats({ stream: false, "one-shot": true })
@@ -80,7 +63,6 @@ async function getContainersWithStatsAsync() {
return {
id: container.Id,
name: container.Names[0]?.split("/")[1] ?? "Unknown",
host: container.instance,
state: container.State as ContainerState,
iconUrl:
dbIcons.find((icon) => {
@@ -98,10 +80,9 @@ async function getContainersWithStatsAsync() {
return (await Promise.all(containerStatsPromises)).filter((container) => container !== null);
}
export function calculateCpuUsage(stats: ContainerStats): number {
// Handle containers with missing or invalid stats (e.g., exited, dead containers, Podman responses)
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (!stats.cpu_stats?.online_cpus || stats.cpu_stats.online_cpus === 0 || !stats.cpu_stats.cpu_usage?.total_usage) {
function calculateCpuUsage(stats: ContainerStats): number {
// Handle containers with missing or invalid stats (e.g., exited, dead containers)
if (!stats.cpu_stats.online_cpus || stats.cpu_stats.online_cpus === 0 || !stats.cpu_stats.cpu_usage.total_usage) {
return 0;
}
@@ -114,10 +95,9 @@ export function calculateCpuUsage(stats: ContainerStats): number {
return (stats.cpu_stats.cpu_usage.total_usage / usage) * numberOfCpus * 100;
}
export function calculateMemoryUsage(stats: ContainerStats): number {
// Handle containers with missing or invalid stats (e.g., exited, dead containers, Podman responses)
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (!stats.memory_stats?.usage) {
function calculateMemoryUsage(stats: ContainerStats): number {
// Handle containers with missing or invalid stats (e.g., exited, dead containers)
if (!stats.memory_stats.usage) {
return 0;
}
@@ -1,79 +0,0 @@
import dayjs from "dayjs";
import { z } from "zod";
import { env } from "@homarr/common/env";
import { ResponseError } from "@homarr/common/server";
import { fetchWithTrustedCertificatesAsync } from "@homarr/core/infrastructure/http";
import { withTimeoutAsync } from "@homarr/core/infrastructure/http/timeout";
import { createChannelWithLatestAndEvents } from "@homarr/redis";
import { createCachedRequestHandler } from "@homarr/request-handler/lib/cached-request-handler";
export type DuckDuckGoBang = z.infer<typeof duckDuckGoBangSchema>;
const DUCKDUCKGO_BANGS_URL = "https://duckduckgo.com/bang.js";
/**
* DuckDuckGo `bang.js` uses short keys (to reduce the payload size):
* - `t`: bang token (e.g. `"yt"`)
* - `s`: display name
* - `d`: domain (optional)
* - `u`: URL template (contains `{{{s}}}`)
* - `c`: category (optional)
* - `sc`: subcategory (optional)
* - `r`: rank (optional)
*/
export const duckDuckGoBangSchema = z.object({
t: z.string(),
s: z.string(),
d: z.string().optional(),
u: z.string(),
c: z.string().optional(),
sc: z.string().optional(),
r: z.number().optional(),
});
const duckDuckGoBangsResponseSchema = z.array(duckDuckGoBangSchema);
const normalizeBangToken = (token: string) => token.toLowerCase().trim();
const compareBangTokenAsc = (left: DuckDuckGoBang, right: DuckDuckGoBang) => left.t.localeCompare(right.t);
export const duckDuckGoBangsRequestHandler = createCachedRequestHandler({
queryKey: "duckduckgo-bangs",
cacheDuration: dayjs.duration(1, "day"),
async requestAsync(_) {
if (env.NO_EXTERNAL_CONNECTION) {
return [];
}
const res = await withTimeoutAsync(async (signal) => {
return await fetchWithTrustedCertificatesAsync(DUCKDUCKGO_BANGS_URL, {
signal,
headers: {
accept: "application/json,text/plain,*/*",
},
});
});
if (!res.ok) {
throw new ResponseError(res);
}
const json: unknown = await res.json();
const bangs = await duckDuckGoBangsResponseSchema.parseAsync(json);
const normalized = bangs
.map((bang) => ({
...bang,
t: normalizeBangToken(bang.t),
}))
.filter((bang) => bang.t.length > 0);
normalized.sort(compareBangTokenAsc);
return normalized;
},
createRedisChannel() {
return createChannelWithLatestAndEvents<DuckDuckGoBang[]>("homarr:duckduckgo-bangs");
},
});
@@ -1,121 +0,0 @@
import type { ContainerStats } from "dockerode";
import { describe, expect, test, vi } from "vitest";
import { createDb } from "@homarr/db/test";
import { calculateCpuUsage, calculateMemoryUsage } from "../docker";
vi.mock("@homarr/db", async (importActual) => {
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
const actual = await importActual<typeof import("@homarr/db")>();
return {
...actual,
db: createDb(),
};
});
// Helper to create a partial stats object, cast to ContainerStats.
// This mirrors what Podman and other Docker-compatible runtimes may return
// at runtime, even though @types/dockerode declares all fields as required.
const createStats = (overrides: Record<string, unknown> = {}) => overrides as unknown as ContainerStats;
describe("calculateCpuUsage", () => {
test("should return 0 when cpu_stats is undefined (Podman)", () => {
const stats = createStats({ cpu_stats: undefined });
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when online_cpus is 0", () => {
const stats = createStats({
cpu_stats: { online_cpus: 0, cpu_usage: { total_usage: 1000 }, system_cpu_usage: 5000 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when online_cpus is undefined", () => {
const stats = createStats({
cpu_stats: { cpu_usage: { total_usage: 1000 }, system_cpu_usage: 5000 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when cpu_usage is undefined", () => {
const stats = createStats({
cpu_stats: { online_cpus: 4, system_cpu_usage: 5000 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when total_usage is 0", () => {
const stats = createStats({
cpu_stats: { online_cpus: 4, cpu_usage: { total_usage: 0 }, system_cpu_usage: 5000 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should return 0 when system_cpu_usage is 0", () => {
const stats = createStats({
cpu_stats: { online_cpus: 4, cpu_usage: { total_usage: 1000 }, system_cpu_usage: 0 },
});
expect(calculateCpuUsage(stats)).toBe(0);
});
test("should calculate correct CPU percentage for valid stats", () => {
const stats = createStats({
cpu_stats: { online_cpus: 4, cpu_usage: { total_usage: 2000 }, system_cpu_usage: 10000 },
});
// (2000 / 10000) * 4 * 100 = 80
expect(calculateCpuUsage(stats)).toBe(80);
});
test("should handle fractional CPU usage", () => {
const stats = createStats({
cpu_stats: { online_cpus: 2, cpu_usage: { total_usage: 500 }, system_cpu_usage: 100000 },
});
// (500 / 100000) * 2 * 100 = 1
expect(calculateCpuUsage(stats)).toBe(1);
});
});
describe("calculateMemoryUsage", () => {
test("should return 0 when memory_stats is undefined (Podman)", () => {
const stats = createStats({ memory_stats: undefined });
expect(calculateMemoryUsage(stats)).toBe(0);
});
test("should return 0 when memory_stats.usage is 0", () => {
const stats = createStats({ memory_stats: { usage: 0 } });
expect(calculateMemoryUsage(stats)).toBe(0);
});
test("should return 0 when memory_stats.usage is undefined", () => {
const stats = createStats({ memory_stats: {} });
expect(calculateMemoryUsage(stats)).toBe(0);
});
test("should subtract cache from usage", () => {
const stats = createStats({
memory_stats: { usage: 1000, stats: { cache: 200 } },
});
expect(calculateMemoryUsage(stats)).toBe(800);
});
test("should use total_inactive_file when cache is absent", () => {
const stats = createStats({
memory_stats: { usage: 1000, stats: { total_inactive_file: 300 } },
});
expect(calculateMemoryUsage(stats)).toBe(700);
});
test("should use inactive_file as last fallback", () => {
const stats = createStats({
memory_stats: { usage: 1000, stats: { inactive_file: 150 } },
});
expect(calculateMemoryUsage(stats)).toBe(850);
});
test("should return raw usage when memory_stats.stats is undefined", () => {
const stats = createStats({ memory_stats: { usage: 512 } });
expect(calculateMemoryUsage(stats)).toBe(512);
});
});
-3
View File
@@ -8,7 +8,6 @@ export type SettingsContextProps = Pick<
| "homeBoardId"
| "mobileHomeBoardId"
| "openSearchInNewTab"
| "ddgBangs"
| "pingIconsEnabled"
> &
Pick<ServerSettings["board"], "enableStatusByDefault" | "forceDisableStatus"> &
@@ -30,7 +29,6 @@ export type UserSettings = Pick<
| "homeBoardId"
| "mobileHomeBoardId"
| "openSearchInNewTab"
| "ddgBangs"
| "pingIconsEnabled"
>;
@@ -43,7 +41,6 @@ export const createSettings = ({
}) => ({
defaultSearchEngineId: user?.defaultSearchEngineId ?? serverSettings.search.defaultSearchEngineId,
openSearchInNewTab: user?.openSearchInNewTab ?? true,
ddgBangs: user?.ddgBangs ?? true,
firstDayOfWeek: user?.firstDayOfWeek ?? (1 as const),
homeBoardId: user?.homeBoardId ?? serverSettings.board.homeBoardId,
mobileHomeBoardId: user?.mobileHomeBoardId ?? serverSettings.board.mobileHomeBoardId,
@@ -12,7 +12,6 @@ import { SpotlightGroupActionItem } from "./items/group-action-item";
interface GroupActionsProps<TOption extends Record<string, unknown>> {
group: SearchGroup<TOption>;
query: string;
setQuery: (query: string) => void;
setMode: (mode: keyof TranslationObject["search"]["mode"]) => void;
setChildrenOptions: (options: inferSearchInteractionOptions<"children">) => void;
}
@@ -20,7 +19,6 @@ interface GroupActionsProps<TOption extends Record<string, unknown>> {
export const SpotlightGroupActions = <TOption extends Record<string, unknown>>({
group,
query,
setQuery,
setMode,
setChildrenOptions,
}: GroupActionsProps<TOption>) => {
@@ -60,7 +58,6 @@ export const SpotlightGroupActions = <TOption extends Record<string, unknown>>({
option={option}
group={group}
query={query}
setQuery={setQuery}
setMode={setMode}
setChildrenOptions={setChildrenOptions}
/>
@@ -93,7 +90,6 @@ export const SpotlightGroupActions = <TOption extends Record<string, unknown>>({
option={option}
group={group}
query={query}
setQuery={setQuery}
setMode={setMode}
setChildrenOptions={setChildrenOptions}
/>
@@ -11,7 +11,6 @@ import { SpotlightGroupActions } from "../group-actions";
interface SpotlightActionGroupsProps {
groups: SearchGroup[];
query: string;
setQuery: (query: string) => void;
setMode: (mode: keyof TranslationObject["search"]["mode"]) => void;
setChildrenOptions: (options: inferSearchInteractionOptions<"children">) => void;
}
@@ -20,10 +19,7 @@ export const SpotlightActionGroups = ({ groups, ...others }: SpotlightActionGrou
const t = useI18n();
return groups.map((group) => (
<Spotlight.ActionsGroup
key={`${translateIfNecessary(t, group.title)}::${String(group.keyPath)}`}
label={translateIfNecessary(t, group.title)}
>
<Spotlight.ActionsGroup key={translateIfNecessary(t, group.title)} label={translateIfNecessary(t, group.title)}>
{/*eslint-disable-next-line @typescript-eslint/no-explicit-any */}
<SpotlightGroupActions<any> group={group} {...others} />
</Spotlight.ActionsGroup>
@@ -5,13 +5,11 @@ import { Link } from "@homarr/ui";
import type { SearchGroup } from "../../../lib/group";
import type { inferSearchInteractionOptions } from "../../../lib/interaction";
import { selectAction, spotlightStore } from "../../../spotlight-store";
import classes from "./action-item.module.css";
interface SpotlightGroupActionItemProps<TOption extends Record<string, unknown>> {
option: TOption;
query: string;
setQuery: (query: string) => void;
setMode: (mode: keyof TranslationObject["search"]["mode"]) => void;
setChildrenOptions: (options: inferSearchInteractionOptions<"children">) => void;
group: SearchGroup<TOption>;
@@ -20,15 +18,11 @@ interface SpotlightGroupActionItemProps<TOption extends Record<string, unknown>>
export const SpotlightGroupActionItem = <TOption extends Record<string, unknown>>({
group,
query,
setQuery,
setMode,
setChildrenOptions,
option,
}: SpotlightGroupActionItemProps<TOption>) => {
const interaction = group.useInteraction(option, query);
// Avoid passing React's special `key` prop via spread
const { key: _reactKey, ...optionProps } = option as unknown as { key?: unknown } & Record<string, unknown>;
const renderRoot =
interaction.type === "link"
@@ -40,9 +34,6 @@ export const SpotlightGroupActionItem = <TOption extends Record<string, unknown>
const handleClickAsync = async () => {
if (interaction.type === "javaScript") {
await interaction.onSelect();
} else if (interaction.type === "setQuery") {
setQuery(interaction.query);
setTimeout(() => selectAction(0, spotlightStore));
} else if (interaction.type === "mode") {
setMode(interaction.mode);
} else if (interaction.type === "children") {
@@ -55,14 +46,11 @@ export const SpotlightGroupActionItem = <TOption extends Record<string, unknown>
renderRoot={renderRoot}
onClick={handleClickAsync}
closeSpotlightOnTrigger={
interaction.type !== "mode" &&
interaction.type !== "children" &&
interaction.type !== "none" &&
interaction.type !== "setQuery"
interaction.type !== "mode" && interaction.type !== "children" && interaction.type !== "none"
}
className={classes.spotlightAction}
>
<group.Component {...(optionProps as TOption)} />
<group.Component {...option} />
</Spotlight.Action>
);
};
+24 -26
View File
@@ -4,7 +4,7 @@ import type { Dispatch, SetStateAction } from "react";
import { useMemo, useRef, useState } from "react";
import { ActionIcon, Center, Group, Kbd } from "@mantine/core";
import { Spotlight as MantineSpotlight } from "@mantine/spotlight";
import { IconSearch, IconX } from "@tabler/icons-react";
import { IconQuestionMark, IconSearch, IconX } from "@tabler/icons-react";
import { hotkeys } from "@homarr/definitions";
import type { TranslationObject } from "@homarr/translation";
@@ -13,7 +13,6 @@ import { useI18n } from "@homarr/translation/client";
import type { inferSearchInteractionOptions } from "../lib/interaction";
import type { SearchMode } from "../lib/mode";
import { searchModes } from "../modes";
import { useHomeEmptyGroups } from "../modes/help/home-empty-groups";
import { selectAction, spotlightStore } from "../spotlight-store";
import { SpotlightChildrenActions } from "./actions/children-actions";
import { SpotlightActionGroups } from "./actions/groups/action-group";
@@ -23,7 +22,6 @@ type SearchModeKey = keyof TranslationObject["search"]["mode"];
const defaultMode = "home";
export const Spotlight = () => {
const searchModeState = useState<SearchModeKey>(defaultMode);
const queryState = useState("");
const mode = searchModeState[0];
const activeMode = useMemo(() => searchModes.find((searchMode) => searchMode.modeKey === mode), [mode]);
@@ -32,19 +30,16 @@ export const Spotlight = () => {
}
// We use the "key" below to prevent the 'Different amounts of hooks' error
return (
<SpotlightWithActiveMode key={mode} modeState={searchModeState} queryState={queryState} activeMode={activeMode} />
);
return <SpotlightWithActiveMode key={mode} modeState={searchModeState} activeMode={activeMode} />;
};
interface SpotlightWithActiveModeProps {
modeState: [SearchModeKey, Dispatch<SetStateAction<SearchModeKey>>];
queryState: [string, Dispatch<SetStateAction<string>>];
activeMode: SearchMode;
}
const SpotlightWithActiveMode = ({ modeState, queryState, activeMode }: SpotlightWithActiveModeProps) => {
const [query, setQuery] = queryState;
const SpotlightWithActiveMode = ({ modeState, activeMode }: SpotlightWithActiveModeProps) => {
const [query, setQuery] = useState("");
const [mode, setMode] = modeState;
const [childrenOptions, setChildrenOptions] = useState<inferSearchInteractionOptions<"children"> | null>(null);
const t = useI18n();
@@ -52,34 +47,28 @@ const SpotlightWithActiveMode = ({ modeState, queryState, activeMode }: Spotligh
// Works as always the same amount of hooks are executed
const useGroups = "groups" in activeMode ? () => activeMode.groups : activeMode.useGroups;
const groups = useGroups();
const homeEmptyGroups = useHomeEmptyGroups();
return (
<MantineSpotlight.Root
shortcut={hotkeys.openSpotlight}
yOffset={8}
overlayProps={{ blur: 2, backgroundOpacity: 0.2 }}
onSpotlightClose={() => {
setMode(defaultMode);
setChildrenOptions(null);
setQuery("");
}}
query={query}
onQueryChange={(nextQuery) => {
const sanitizedQuery = mode === "external" && nextQuery.startsWith("!") ? nextQuery.slice(1) : nextQuery;
setQuery(sanitizedQuery);
onQueryChange={(query) => {
if (mode !== "help" || query.length !== 1) {
setQuery(query);
}
// Only switch modes when a single trigger character is typed
if (sanitizedQuery.length !== 1) return;
const modeToActivate = searchModes.find((mode) => mode.character === sanitizedQuery);
if (!modeToActivate) return;
const modeToActivate = searchModes.find((mode) => mode.character === query);
if (!modeToActivate) {
return;
}
setMode(modeToActivate.modeKey);
setChildrenOptions(null);
setQuery("");
setTimeout(() => selectAction(0, spotlightStore));
}}
store={spotlightStore}
@@ -102,7 +91,17 @@ const SpotlightWithActiveMode = ({ modeState, queryState, activeMode }: Spotligh
},
}}
rightSection={
mode === defaultMode ? null : (
mode === defaultMode ? (
<ActionIcon
onClick={() => {
setMode("help");
inputRef.current?.focus();
}}
variant="subtle"
>
<IconQuestionMark stroke={1.5} />
</ActionIcon>
) : (
<ActionIcon
onClick={() => {
setMode(defaultMode);
@@ -139,7 +138,6 @@ const SpotlightWithActiveMode = ({ modeState, queryState, activeMode }: Spotligh
/>
) : (
<SpotlightActionGroups
setQuery={setQuery}
setMode={(mode) => {
setMode(mode);
setChildrenOptions(null);
@@ -154,7 +152,7 @@ const SpotlightWithActiveMode = ({ modeState, queryState, activeMode }: Spotligh
});
}}
query={query}
groups={mode === defaultMode && query.length === 0 ? [...homeEmptyGroups] : groups}
groups={groups}
/>
)}
</MantineSpotlight.ActionsList>
@@ -11,7 +11,6 @@ const createSearchInteraction = <TType extends string>(type: TType) => ({
const searchInteractions = [
createSearchInteraction("link").optionsType<{ href: string; newTab?: boolean }>(),
createSearchInteraction("javaScript").optionsType<{ onSelect: () => MaybePromise<void> }>(),
createSearchInteraction("setQuery").optionsType<{ query: string }>(),
createSearchInteraction("mode").optionsType<{ mode: keyof TranslationObject["search"]["mode"] }>(),
createSearchInteraction("children").optionsType<{
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -1,7 +1,5 @@
import { Group, Image, Kbd, Stack, Text } from "@mantine/core";
import { useDebouncedValue } from "@mantine/hooks";
import { IconDownload, IconSearch } from "@tabler/icons-react";
import { keepPreviousData } from "@tanstack/react-query";
import type { RouterOutputs } from "@homarr/api";
import { clientApi } from "@homarr/api/client";
@@ -19,35 +17,6 @@ import { interaction } from "../../lib/interaction";
type SearchEngine = RouterOutputs["searchEngine"]["search"][number];
type FromIntegrationSearchResult = RouterOutputs["integration"]["searchInIntegration"][number];
type DuckDuckGoBang = RouterOutputs["bangs"]["search"][number];
type ExternalOption =
| {
key: string;
kind: "hint";
label: string;
description?: string;
}
| {
key: string;
kind: "search";
label: string;
description?: string;
iconUrl?: string;
bang: string;
urlTemplate: string;
searchText: string;
}
| {
key: string;
kind: "engine";
engine: SearchEngine;
}
| {
key: string;
kind: "ddg";
bang: DuckDuckGoBang;
};
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
type MediaRequestChildrenProps = {
@@ -266,217 +235,57 @@ export const searchEnginesChildrenOptions = createChildrenOptions<SearchEngine>(
},
});
const parseBangQuery = (query: string) => {
const withBangPrefix = query.startsWith("!") ? query.slice(1) : query;
const bangIdx = withBangPrefix.indexOf(" ");
const bangToken = (bangIdx === -1 ? withBangPrefix : withBangPrefix.slice(0, bangIdx)).toLowerCase().trim();
const searchText = bangIdx === -1 ? "" : withBangPrefix.slice(bangIdx + 1);
const locked = bangIdx !== -1;
return { bangToken, searchText, locked };
};
const buildSearchUrl = (template: string, query: string) => {
const encoded = encodeURIComponent(query);
if (template.includes("{{{s}}}")) {
return template.replaceAll("{{{s}}}", encoded);
}
return template.replaceAll("%s", encoded);
};
export const searchEnginesSearchGroups = createGroup<ExternalOption>({
keyPath: "key",
export const searchEnginesSearchGroups = createGroup<SearchEngine>({
keyPath: "short",
title: (t) => t("search.mode.external.group.searchEngine.title"),
Component: (option) => {
if (option.kind === "hint") {
return (
<Group w="100%" wrap="nowrap" align="center" px="md" py="xs">
<IconSearch stroke={1.5} />
<Stack gap={0}>
<Text size="sm">{option.label}</Text>
{option.description ? (
<Text size="xs" c="gray.6">
{option.description}
</Text>
) : null}
</Stack>
</Group>
);
}
if (option.kind === "search") {
return (
<Group w="100%" wrap="nowrap" justify="space-between" align="center" px="md" py="xs">
<Group wrap="nowrap">
{option.iconUrl ? (
<img height={24} width={24} src={option.iconUrl} alt={option.label} />
) : (
<IconSearch stroke={1.5} />
)}
<Stack gap={0} justify="center">
<Text size="sm">{option.label}</Text>
{option.description ? (
<Text size="xs" c="gray.6">
{option.description}
</Text>
) : null}
</Stack>
</Group>
<Kbd size="sm">!{option.bang}</Kbd>
</Group>
);
}
if (option.kind === "engine") {
const { iconUrl, name, short, description } = option.engine;
return (
<Group w="100%" wrap="nowrap" justify="space-between" align="center" px="md" py="xs">
<Group wrap="nowrap">
<img height={24} width={24} src={iconUrl} alt={name} />
<Stack gap={0} justify="center">
<Text size="sm">{name}</Text>
<Text size="xs" c="gray.6">
{description}
</Text>
</Stack>
</Group>
<Kbd size="sm">!{short}</Kbd>
</Group>
);
}
const { s: name, t: short, d: domain } = option.bang;
Component: ({ iconUrl, name, short, description }) => {
return (
<Group w="100%" wrap="nowrap" justify="space-between" align="center" px="md" py="xs">
<Group wrap="nowrap">
<IconSearch stroke={1.5} />
<img height={24} width={24} src={iconUrl} alt={name} />
<Stack gap={0} justify="center">
<Text size="sm">{name}</Text>
<Text size="xs" c="gray.6">
{domain ?? "DuckDuckGo bang"}
{description}
</Text>
</Stack>
</Group>
<Kbd size="sm">!{short}</Kbd>
<Kbd size="sm">{short}</Kbd>
</Group>
);
},
useInteraction(option, query) {
const { openSearchInNewTab } = useSettings();
const { bangToken, searchText } = parseBangQuery(query);
onKeyDown(event, options, query, { setChildrenOptions }) {
if (event.code !== "Space") return;
if (option.kind === "search") {
const engine = options.find((option) => option.short === query);
if (!engine) return;
setChildrenOptions(searchEnginesChildrenOptions(engine));
},
useInteraction: (searchEngine, query) => {
const { openSearchInNewTab } = useSettings();
if (searchEngine.type === "generic" && searchEngine.urlTemplate) {
return {
type: "link",
href: buildSearchUrl(option.urlTemplate, option.searchText),
type: "link" as const,
href: searchEngine.urlTemplate.replace("%s", query),
newTab: openSearchInNewTab,
};
}
if (option.kind === "engine") {
const nextBang = option.engine.short;
const nextQuery = `${`${nextBang} ${searchText}`.trimEnd()} `;
return { type: "setQuery", query: bangToken === nextBang && query.endsWith(" ") ? query : nextQuery };
if (searchEngine.type === "fromIntegration" && searchEngine.integrationId !== null) {
return {
type: "children",
...searchEnginesChildrenOptions(searchEngine),
};
}
if (option.kind === "ddg") {
const nextBang = option.bang.t;
const nextQuery = `${`${nextBang} ${searchText}`.trimEnd()} `;
return { type: "setQuery", query: bangToken === nextBang && query.endsWith(" ") ? query : nextQuery };
}
return { type: "none" };
throw new Error(`Unable to process search engine with type ${searchEngine.type}`);
},
useQueryOptions(query) {
const tExternal = useScopedI18n("search.mode.external.group.searchEngine");
const { ddgBangs } = useSettings();
const { bangToken, searchText, locked } = parseBangQuery(query);
const [debouncedBangToken] = useDebouncedValue(bangToken, 150);
const enginesQuery = clientApi.searchEngine.search.useQuery(
{ query: debouncedBangToken, limit: 10 },
{ placeholderData: keepPreviousData },
);
const ddgQuery = clientApi.bangs.search.useQuery(
{ query: debouncedBangToken, limit: 10 },
{
enabled: ddgBangs && debouncedBangToken.length >= 1,
placeholderData: keepPreviousData,
},
);
const isLoading = enginesQuery.isLoading || ddgQuery.isLoading;
const isError = enginesQuery.isError || ddgQuery.isError;
const engineOptions = (enginesQuery.data ?? []).map(
(engine): ExternalOption => ({
key: `engine-${engine.short}`,
kind: "engine",
engine,
}),
);
const ddgOptions = (ddgQuery.data ?? [])
.filter((bang) => !engineOptions.some((option) => option.kind === "engine" && option.engine.short === bang.t))
.map(
(bang): ExternalOption => ({
key: `ddg-${bang.t}`,
kind: "ddg",
bang,
}),
);
const searchActions: ExternalOption[] = [];
if (locked && bangToken.length > 0) {
const matchedEngine = (enginesQuery.data ?? []).find((engine) => engine.short === bangToken);
const matchedDdg = (ddgQuery.data ?? []).find((bang) => bang.t === bangToken);
const label = matchedEngine?.name ?? matchedDdg?.s;
const iconUrl = matchedEngine?.iconUrl;
const urlTemplate = matchedEngine?.type === "generic" ? matchedEngine.urlTemplate : matchedDdg?.u;
if (label && urlTemplate) {
if (searchText.trim().length > 0) {
searchActions.push({
key: "search-action",
kind: "search",
label: tExternal("bang.searchWithQuery", {
query: searchText.trim(),
label,
}),
description: tExternal("bang.pressEnterToOpen"),
bang: bangToken,
iconUrl,
urlTemplate,
searchText: searchText.trim(),
});
} else {
searchActions.push({
key: "search-hint",
kind: "hint",
label: tExternal("bang.engineSelected", { label, bang: bangToken }),
description: tExternal("bang.typeQueryToContinue"),
});
}
}
}
if (query.length === 0) {
searchActions.push({
key: "hint",
kind: "hint",
label: tExternal("bang.emptyBangHint"),
description: ddgBangs ? tExternal("tipDdgBangs") : undefined,
});
}
return {
isLoading,
isError,
data: [...searchActions, ...engineOptions, ...ddgOptions].slice(0, 10),
};
return clientApi.searchEngine.search.useQuery({
query: query.trim(),
limit: 5,
});
},
});
@@ -1,140 +0,0 @@
import { Group, Kbd, Text } from "@mantine/core";
import {
IconBook2,
IconBrandDiscord,
IconBrandGithub,
IconLayoutDashboard,
IconSearch,
IconSettings,
} from "@tabler/icons-react";
import { useSession } from "@homarr/auth/client";
import { createDocumentationLink } from "@homarr/definitions";
import { useScopedI18n } from "@homarr/translation/client";
import type { TablerIcon } from "@homarr/ui";
import { createGroup } from "../../lib/group";
import { interaction } from "../../lib/interaction";
import type { SearchMode } from "../../lib/mode";
import { appIntegrationBoardMode } from "../app-integration-board";
import { commandMode } from "../command";
import { externalMode } from "../external";
import { pageMode } from "../page";
import { userGroupMode } from "../user-group";
// We need type to allow it as generic type for Record<string, unknown>
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
type QuickLinkOption = {
icon: TablerIcon;
name: string;
path: string;
};
export const useHomeEmptyGroups = () => {
const { data: session } = useSession();
const tPages = useScopedI18n("search.mode.page.group.page.option");
const visibleSearchModes: SearchMode[] = [appIntegrationBoardMode, externalMode, commandMode, pageMode];
if (session?.user.permissions.includes("admin")) {
visibleSearchModes.unshift(userGroupMode);
}
return [
createGroup({
keyPath: "path",
title: () => "Quick links",
options: (() => {
const quickLinks: QuickLinkOption[] = [];
if (session?.user) {
quickLinks.push({
icon: IconSettings,
path: `/manage/users/${session.user.id}/general`,
name: tPages("preferences.label"),
});
}
quickLinks.push({
icon: IconLayoutDashboard,
path: "/manage/boards",
name: tPages("manageBoard.label"),
});
if (session?.user.permissions.includes("admin")) {
quickLinks.push({
icon: IconSettings,
path: "/manage/settings",
name: tPages("manageSettings.label"),
});
}
if (session) {
quickLinks.push({
icon: IconSearch,
path: "/manage/search-engines",
name: tPages("manageSearchEngine.label"),
});
}
return quickLinks;
})(),
Component: ({ name, icon: Icon }) => (
<Group px="md" py="xs" w="100%" wrap="nowrap" align="center">
<Icon stroke={1.5} />
<Text>{name}</Text>
</Group>
),
filter: () => true,
useInteraction: interaction.link(({ path }) => ({ href: path })),
}),
createGroup({
keyPath: "character",
title: (t) => t("search.mode.help.group.mode.title"),
options: visibleSearchModes.map(({ character, modeKey }) => ({ character, modeKey })),
Component: ({ modeKey, character }) => {
const t = useScopedI18n(`search.mode.${modeKey}`);
return (
<Group px="md" py="xs" w="100%" wrap="nowrap" align="center" justify="space-between">
<Text>{t("help")}</Text>
<Kbd size="sm">{character}</Kbd>
</Group>
);
},
filter: () => true,
useInteraction: interaction.mode(({ modeKey }) => ({ mode: modeKey })),
}),
createGroup({
keyPath: "href",
title: (t) => t("search.mode.help.group.help.title"),
useOptions() {
const t = useScopedI18n("search.mode.help.group.help.option");
return [
{
href: createDocumentationLink("/docs/getting-started"),
icon: IconBook2,
label: t("documentation.label"),
},
{
href: "https://github.com/homarr-labs/homarr/issues/new/choose",
icon: IconBrandGithub,
label: t("submitIssue.label"),
},
{
href: "https://discord.com/invite/aCsmEV5RgA",
icon: IconBrandDiscord,
label: t("discord.label"),
},
];
},
Component: (props) => (
<Group px="md" py="xs" w="100%" wrap="nowrap" align="center">
<props.icon stroke={1.5} />
<Text>{props.label}</Text>
</Group>
),
filter: () => true,
useInteraction: interaction.link(({ href }) => ({ href, newTab: true })),
}),
] as const;
};
@@ -1,5 +1,5 @@
import { Box, Group, Stack, Text } from "@mantine/core";
import { IconSearch, IconSearchOff } from "@tabler/icons-react";
import { IconCaretUpDown, IconSearch, IconSearchOff } from "@tabler/icons-react";
import type { RouterOutputs } from "@homarr/api";
import { clientApi } from "@homarr/api/client";
@@ -79,7 +79,20 @@ export const homeSearchEngineGroup = createGroup<GroupItem>({
isLoading:
defaultSearchEngineQuery.isLoading || (resultQuery.isLoading && fromIntegrationEnabled) || status === "loading",
isError: defaultSearchEngineQuery.isError || (resultQuery.isError && fromIntegrationEnabled),
data: createDefaultSearchEntries(defaultSearchEngine, results, session, query, t),
data: [
...createDefaultSearchEntries(defaultSearchEngine, results, session, query, t),
{
id: "other",
name: t("search.mode.home.group.search.option.other.label"),
icon: IconCaretUpDown,
useInteraction() {
return {
type: "mode",
mode: "external",
};
},
},
],
};
},
});
+79 -8
View File
@@ -1,3 +1,13 @@
import { Group, Kbd, Text } from "@mantine/core";
import { IconBook2, IconBrandDiscord, IconBrandGithub } from "@tabler/icons-react";
import { useSession } from "@homarr/auth/client";
import { createDocumentationLink } from "@homarr/definitions";
import { useScopedI18n } from "@homarr/translation/client";
import { createGroup } from "../lib/group";
import { interaction } from "../lib/interaction";
import type { SearchMode } from "../lib/mode";
import { appIntegrationBoardMode } from "./app-integration-board";
import { commandMode } from "./command";
import { externalMode } from "./external";
@@ -5,11 +15,72 @@ import { homeMode } from "./home";
import { pageMode } from "./page";
import { userGroupMode } from "./user-group";
export const searchModes = [
userGroupMode,
appIntegrationBoardMode,
externalMode,
commandMode,
pageMode,
homeMode,
] as const;
const searchModesForHelp = [userGroupMode, appIntegrationBoardMode, externalMode, commandMode, pageMode] as const;
const helpMode = {
modeKey: "help",
character: "?",
useGroups() {
const { data: session } = useSession();
const visibleSearchModes: SearchMode[] = [appIntegrationBoardMode, externalMode, commandMode, pageMode];
if (session?.user.permissions.includes("admin")) {
visibleSearchModes.unshift(userGroupMode);
}
return [
createGroup({
keyPath: "character",
title: (t) => t("search.mode.help.group.mode.title"),
options: visibleSearchModes.map(({ character, modeKey }) => ({ character, modeKey })),
Component: ({ modeKey, character }) => {
const t = useScopedI18n(`search.mode.${modeKey}`);
return (
<Group px="md" py="xs" w="100%" wrap="nowrap" align="center" justify="space-between">
<Text>{t("help")}</Text>
<Kbd size="sm">{character}</Kbd>
</Group>
);
},
filter: () => true,
useInteraction: interaction.mode(({ modeKey }) => ({ mode: modeKey })),
}),
createGroup({
keyPath: "href",
title: (t) => t("search.mode.help.group.help.title"),
useOptions() {
const t = useScopedI18n("search.mode.help.group.help.option");
return [
{
label: t("documentation.label"),
icon: IconBook2,
href: createDocumentationLink("/docs/getting-started"),
},
{
label: t("submitIssue.label"),
icon: IconBrandGithub,
href: "https://github.com/homarr-labs/homarr/issues/new/choose",
},
{
label: t("discord.label"),
icon: IconBrandDiscord,
href: "https://discord.com/invite/aCsmEV5RgA",
},
];
},
Component: (props) => (
<Group px="md" py="xs" w="100%" wrap="nowrap" align="center">
<props.icon />
<Text>{props.label}</Text>
</Group>
),
filter: () => true,
useInteraction: interaction.link(({ href }) => ({ href, newTab: true })),
}),
];
},
} satisfies SearchMode;
export const searchModes = [...searchModesForHelp, helpMode, homeMode] as const;
-11
View File
@@ -284,17 +284,6 @@ export const localeConfigurations = {
return import("dayjs/locale/pt").then((module) => module.default);
},
},
"pt-br": {
name: "Português (Brasil)",
translatedName: "Portuguese (Brazil)",
icon: flagIcon("br"),
importMrtLocalization() {
return import("mantine-react-table/locales/pt-BR/index.esm.mjs").then((module) => module.MRT_Localization_PT_BR);
},
importDayJsLocale() {
return import("dayjs/locale/pt-br").then((module) => module.default);
},
},
ro: {
name: "Românesc",
translatedName: "Romanian",
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Obre els resultats de la cerca en una pestanya nova"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Canvia la imatge",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
+87 -215
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "在新标签页中打开搜索结果"
},
"ddgBangs": {
"label": "启用 DuckDuckGo bangs"
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo bangs 切换成功"
},
"error": {
"message": "无法切换 DuckDuckGo bangs"
}
}
},
"manageAvatar": {
"changeImage": {
"label": "更改头像",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "自动",
"light": "日间",
"dark": "暗黑"
}
@@ -1540,13 +1526,13 @@
}
},
"timetable": {
"name": "时刻表",
"description": "显示车站的出发时间",
"title": "出发时间 {station}",
"noStation": "未选择车站",
"name": "",
"description": "",
"title": "",
"noStation": "",
"option": {
"station": {
"label": "车站"
"label": ""
}
}
},
@@ -1621,11 +1607,11 @@
}
},
"anchorNote": {
"name": "锚点笔记",
"description": "显示来自锚点的所选笔记",
"name": "",
"description": "",
"option": {
"noteId": {
"label": "笔记"
"label": ""
},
"showTitle": {
"label": "显示标题"
@@ -1637,16 +1623,16 @@
"empty": "选择要显示的笔记",
"emptyContent": "此笔记没有内容",
"notFound": "未找到笔记",
"noNotes": "未找到笔记",
"integrationRequired": "请先选择锚点集成",
"noNotes": "",
"integrationRequired": "",
"updatedAt": "更新时间:{date}",
"untitled": "未命名",
"edit": "编辑",
"save": "保存",
"cancel": "取消",
"readOnlyViewer": "您对该笔记只有查看权限,编辑已禁用。",
"saveForbidden": "您没有编辑此笔记的权限。",
"saveFailed": "保存此笔记失败,请重试。"
"readOnlyViewer": "",
"saveForbidden": "",
"saveFailed": ""
},
"iframe": {
"name": "iFrame",
@@ -1680,7 +1666,7 @@
"label": "允许地理位置"
},
"allowModals": {
"label": "允许弹窗"
"label": ""
}
},
"error": {
@@ -2056,156 +2042,58 @@
}
},
"tracearr": {
"name": "Tracearr",
"description": "增强型媒体服务器监控,提供详细的流与转码数据",
"name": "",
"description": "",
"option": {
"showStreams": {
"label": "显示活跃流"
"label": ""
},
"showStats": {
"label": "显示统计摘要"
"label": ""
},
"showRecentActivity": {
"label": "显示近期活动"
"label": ""
},
"showViolations": {
"label": "显示违规记录"
"label": ""
}
},
"stats": {
"activeStreams": "活跃流",
"totalUsers": "总用户数",
"transcodes": "转码数",
"bandwidth": "带宽"
"activeStreams": "",
"totalUsers": "",
"transcodes": "",
"bandwidth": ""
},
"streams": {
"empty": "无活跃流",
"user": "用户",
"media": "媒体",
"state": "状态",
"quality": "画质",
"device": "设备",
"progress": "进度",
"empty": "",
"user": "",
"media": "",
"state": "",
"quality": "",
"device": "",
"progress": "",
"videoDecision": {
"directPlay": "直接播放",
"transcode": "转码",
"directStream": "直接串流"
"directPlay": "",
"transcode": "",
"directStream": ""
}
},
"recentActivity": {
"title": "近期活动",
"empty": "暂无近期活动",
"watched": "已观看",
"partial": "部分观看"
"title": "",
"empty": "",
"watched": "",
"partial": ""
},
"violations": {
"title": "违规记录",
"empty": "暂无近期违规",
"rule": "规则",
"user": "用户"
"title": "",
"empty": "",
"rule": "",
"user": ""
},
"noSectionsEnabled": "未启用任何分区",
"noSectionsEnabled": "",
"error": {
"noIntegration": "未配置 Tracearr 集成",
"internalServerError": "获取 Tracearr 数据失败"
}
},
"umami": {
"name": "Umami 分析",
"description": "显示来自 Umami 分析实例的访客统计",
"visitors": "访客",
"active": "活跃",
"pageviews": "浏览量",
"visits": "访问数",
"bounceRate": "跳出率",
"avgDuration": "平均",
"option": {
"websiteId": {
"label": "网站",
"description": "选择您的 Umami 实例所追踪的网站",
"placeholder": "选择一个网站",
"loading": "正在加载网站……",
"noWebsites": "未找到网站",
"configureIntegrationFirst": "请先添加 Umami 集成"
},
"timeFrame": {
"label": "时间范围",
"description": "用于展示访客数据的时间段",
"option": {
"today": "今天",
"24h": "过去 24 小时",
"7d": "过去 7 天",
"30d": "过去 30 天",
"month": "本月",
"lastMonth": "上月"
}
},
"eventName": {
"label": "事件",
"description": "显示特定事件的总发生次数",
"placeholder": "选择一个事件",
"loading": "正在加载事件……",
"noEvents": "未找到事件",
"none": "无事件",
"configureWebsiteFirst": "请先选择网站以加载事件"
},
"chartType": {
"label": "图表类型",
"description": "图表的显示样式",
"option": {
"bar": "条形图",
"sparkline": "迷你趋势图"
}
},
"chartStyle": {
"label": "图表样式",
"description": "如何在图表中显示事件序列",
"option": {
"grouped": "并排",
"overlay": "叠加(子集)"
}
},
"viewMode": {
"label": "视图",
"description": "组件主体中要显示的内容",
"option": {
"chart": "图表",
"events": "事件图表",
"topPages": "热门页面",
"topReferrers": "热门来源"
}
},
"eventNames": {
"label": "事件",
"description": "选择一个或多个要图表化的事件",
"placeholder": "选择事件……",
"loading": "正在加载事件……",
"noEvents": "未找到事件",
"configureWebsiteFirst": "请先选择网站以加载事件"
},
"topCount": {
"label": "显示数量",
"description": "要显示的热门项目数量(最大 500)"
}
},
"event": {
"occurrences": "事件",
"label": "事件"
},
"topPages": {
"direct": "直接"
},
"topReferrers": {
"direct": "直接"
},
"events": {
"selectPrompt": "选择要图表化的事件"
},
"error": {
"noIntegration": "未配置 Umami 集成",
"noWebsite": "未配置网站",
"noData": "无可用数据",
"internalServerError": "获取 Umami 数据失败"
"noIntegration": "",
"internalServerError": ""
}
},
"common": {
@@ -2304,50 +2192,50 @@
}
},
"immich-serverStats": {
"name": "Immich 服务器统计",
"description": "有关您的 Immich 实例的信息",
"name": "",
"description": "",
"option": {
"showUsers": {
"label": "显示用户",
"description": "显示实例上的用户数量"
"label": "",
"description": ""
},
"showPhotos": {
"label": "显示图片",
"description": "显示实例上的照片数量"
"description": ""
},
"showVideos": {
"label": "显示视频",
"description": "显示实例上的视频数量"
"description": ""
},
"showStorage": {
"label": "显示存储",
"description": "显示已使用的总存储空间"
"description": ""
}
},
"users": "用户",
"photos": "照片",
"videos": "视频",
"storage": "已用存储"
"users": "",
"photos": "",
"videos": "",
"storage": ""
},
"immich-albumCarousel": {
"name": "Immich 相册",
"name": "",
"option": {
"albumId": {
"label": "相册ID",
"description": "这是一个唯一标识符,用于指向您的 Immich 相册。您可以通过打开相册并从 URL 中复制那段唯一字符串来找到该 ID,例如:'a21aca09-9f05-47dc-b1a1-7b53c547226e'"
"label": "",
"description": ""
},
"rotationIntervalSeconds": {
"label": "间隔(秒)",
"description": "每 X 秒切换一次相册中的图片。最小为 1,最大不得超过 3600。"
"label": "",
"description": ""
},
"showPhotoInfo": {
"label": "显示图片信息",
"description": "在幻灯片底部显示图片日期和当前索引"
"description": ""
}
},
"description": "Immich 相册图片幻灯片",
"noAlbumSelected": "未选择相册,请编辑组件并选择一个相册",
"noPhotos": "此相册中没有照片"
"description": "",
"noAlbumSelected": "",
"noPhotos": ""
},
"downloads": {
"name": "下载客户端",
@@ -2658,7 +2546,7 @@
"label": "隐藏描述"
},
"showPosterImage": {
"label": "显示封面图"
"label": ""
}
}
},
@@ -2873,28 +2761,28 @@
"option": {}
},
"speedtestTracker": {
"name": "网速测试追踪器",
"description": "显示 网速测试追踪器 实例中的测速结果。",
"name": "",
"description": "",
"option": {
"showLatestResult": {
"label": "显示最新结果"
"label": ""
},
"showStats": {
"label": "显示平均值"
"label": ""
},
"showRecentResults": {
"label": "显示近期结果"
"label": ""
},
"showPingGraph": {
"label": "显示 Ping 图表"
"label": ""
}
},
"latestResult": "最新结果",
"averages": "平均值",
"tests": "{count}次测试",
"recentResults": "近期结果",
"recentResultsSpeed": "速度",
"recentResultsPing": "Ping",
"latestResult": "",
"averages": "",
"tests": "",
"recentResults": "",
"recentResultsSpeed": "",
"recentResultsPing": "",
"download": "下载",
"upload": "上传",
"ping": "Ping",
@@ -2902,13 +2790,13 @@
"avgDownload": "平均下载",
"avgUpload": "平均上传",
"avgPing": "平均Ping",
"healthy": "健康",
"unhealthy": "不健康",
"ok": "正常",
"healthy": "",
"unhealthy": "",
"ok": "",
"fail": "失败",
"noSectionsEnabled": "请在组件选项中至少启用一个模块。",
"noSectionsEnabled": "",
"error": {
"internalServerError": "获取测速数据失败"
"internalServerError": ""
}
},
"systemResources": {
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "默认配色方案",
"options": {
"auto": "自动",
"light": "日间",
"dark": "暗黑"
}
@@ -3708,7 +3595,7 @@
"label": "Minecraft 服务状态"
},
"timetable": {
"label": "时刻表"
"label": ""
},
"iconsUpdater": {
"label": "图标更新"
@@ -3780,10 +3667,7 @@
"label": "天气"
},
"tracearr": {
"label": "Tracearr"
},
"umamiActiveVisitors": {
"label": "Umami 活跃访客"
"label": ""
}
},
"interval": {
@@ -3907,8 +3791,8 @@
"subtitle": "在许多语言中,有{count}人贡献了翻译"
},
"sponsors": {
"title": "赞助商",
"subtitle": "{count}人通过财务方式支持该项目"
"title": "",
"subtitle": ""
},
"libraries": {
"title": "相关的库",
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "端口"
},
"host": {
"label": "宿主机"
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "全局命令",
"option": {
"colorScheme": {
"auto": "切换外观模式",
"light": "切换到日间模式",
"dark": "切换到暗黑模式"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "搜索引擎",
"tipDdgBangs": "提示:你也可以在此使用任何 DuckDuckGo Bangs,例如 !something",
"bang": {
"searchWithQuery": "使用“‘’{query}”搜索“{label}”",
"pressEnterToOpen": "按 Enter 键打开",
"engineSelected": "已选择{label}({bang})",
"typeQueryToContinue": "输入搜索查询以继续",
"emptyBangHint": "输入 bang,例如 !yt,然后按空格键进行选择"
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "crwdns2696:0crwdne2696:0"
},
"ddgBangs": {
"label": "crwdns4231:0crwdne4231:0"
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": "crwdns4233:0crwdne4233:0"
},
"error": {
"message": "crwdns4235:0crwdne4235:0"
}
}
},
"manageAvatar": {
"changeImage": {
"label": "crwdns94:0crwdne94:0",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "crwdns4225:0crwdne4225:0",
"light": "crwdns2362:0crwdne2362:0",
"dark": "crwdns2364:0crwdne2364:0"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "crwdns3988:0crwdne3988:0"
}
},
"umami": {
"name": "crwdns4103:0crwdne4103:0",
"description": "crwdns4105:0crwdne4105:0",
"visitors": "crwdns4107:0crwdne4107:0",
"active": "crwdns4109:0crwdne4109:0",
"pageviews": "crwdns4111:0crwdne4111:0",
"visits": "crwdns4113:0crwdne4113:0",
"bounceRate": "crwdns4115:0crwdne4115:0",
"avgDuration": "crwdns4117:0crwdne4117:0",
"option": {
"websiteId": {
"label": "crwdns4119:0crwdne4119:0",
"description": "crwdns4121:0crwdne4121:0",
"placeholder": "crwdns4123:0crwdne4123:0",
"loading": "crwdns4125:0crwdne4125:0",
"noWebsites": "crwdns4127:0crwdne4127:0",
"configureIntegrationFirst": "crwdns4129:0crwdne4129:0"
},
"timeFrame": {
"label": "crwdns4131:0crwdne4131:0",
"description": "crwdns4133:0crwdne4133:0",
"option": {
"today": "crwdns4135:0crwdne4135:0",
"24h": "crwdns4137:0crwdne4137:0",
"7d": "crwdns4139:0crwdne4139:0",
"30d": "crwdns4141:0crwdne4141:0",
"month": "crwdns4143:0crwdne4143:0",
"lastMonth": "crwdns4145:0crwdne4145:0"
}
},
"eventName": {
"label": "crwdns4147:0crwdne4147:0",
"description": "crwdns4149:0crwdne4149:0",
"placeholder": "crwdns4151:0crwdne4151:0",
"loading": "crwdns4153:0crwdne4153:0",
"noEvents": "crwdns4155:0crwdne4155:0",
"none": "crwdns4157:0crwdne4157:0",
"configureWebsiteFirst": "crwdns4159:0crwdne4159:0"
},
"chartType": {
"label": "crwdns4161:0crwdne4161:0",
"description": "crwdns4163:0crwdne4163:0",
"option": {
"bar": "crwdns4165:0crwdne4165:0",
"sparkline": "crwdns4167:0crwdne4167:0"
}
},
"chartStyle": {
"label": "crwdns4169:0crwdne4169:0",
"description": "crwdns4171:0crwdne4171:0",
"option": {
"grouped": "crwdns4173:0crwdne4173:0",
"overlay": "crwdns4175:0crwdne4175:0"
}
},
"viewMode": {
"label": "crwdns4177:0crwdne4177:0",
"description": "crwdns4179:0crwdne4179:0",
"option": {
"chart": "crwdns4181:0crwdne4181:0",
"events": "crwdns4183:0crwdne4183:0",
"topPages": "crwdns4185:0crwdne4185:0",
"topReferrers": "crwdns4187:0crwdne4187:0"
}
},
"eventNames": {
"label": "crwdns4189:0crwdne4189:0",
"description": "crwdns4191:0crwdne4191:0",
"placeholder": "crwdns4193:0crwdne4193:0",
"loading": "crwdns4195:0crwdne4195:0",
"noEvents": "crwdns4197:0crwdne4197:0",
"configureWebsiteFirst": "crwdns4199:0crwdne4199:0"
},
"topCount": {
"label": "crwdns4201:0crwdne4201:0",
"description": "crwdns4203:0crwdne4203:0"
}
},
"event": {
"occurrences": "crwdns4205:0crwdne4205:0",
"label": "crwdns4207:0crwdne4207:0"
},
"topPages": {
"direct": "crwdns4209:0crwdne4209:0"
},
"topReferrers": {
"direct": "crwdns4211:0crwdne4211:0"
},
"events": {
"selectPrompt": "crwdns4213:0crwdne4213:0"
},
"error": {
"noIntegration": "crwdns4215:0crwdne4215:0",
"noWebsite": "crwdns4217:0crwdne4217:0",
"noData": "crwdns4219:0crwdne4219:0",
"internalServerError": "crwdns4221:0crwdne4221:0"
}
},
"common": {
"location": {
"query": "crwdns1110:0crwdne1110:0",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "crwdns1810:0crwdne1810:0",
"options": {
"auto": "crwdns4227:0crwdne4227:0",
"light": "crwdns1812:0crwdne1812:0",
"dark": "crwdns1814:0crwdne1814:0"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": "crwdns3990:0crwdne3990:0"
},
"umamiActiveVisitors": {
"label": "crwdns4223:0crwdne4223:0"
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "crwdns1920:0crwdne1920:0"
},
"host": {
"label": "crwdns4249:0crwdne4249:0"
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "crwdns2072:0crwdne2072:0",
"option": {
"colorScheme": {
"auto": "crwdns4229:0crwdne4229:0",
"light": "crwdns2074:0crwdne2074:0",
"dark": "crwdns2076:0crwdne2076:0"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "crwdns2100:0crwdne2100:0",
"tipDdgBangs": "crwdns4237:0crwdne4237:0",
"bang": {
"searchWithQuery": "crwdns4239:0{query}crwdnd4239:0{label}crwdne4239:0",
"pressEnterToOpen": "crwdns4241:0crwdne4241:0",
"engineSelected": "crwdns4243:0{label}crwdnd4243:0{bang}crwdne4243:0",
"typeQueryToContinue": "crwdns4245:0crwdne4245:0",
"emptyBangHint": "crwdns4247:0crwdne4247:0"
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": ""
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Změnit obrázek",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "Světlý",
"dark": "Tmavý"
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Porty"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Åben søgeresultater i en ny fane"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Skift billede",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "Lys",
"dark": "Mørk"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "Kunne ikke hente Tracearr data"
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "By / Postnummer",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Standard farvetema",
"options": {
"auto": "",
"light": "Lys",
"dark": "Mørk"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": "Tracearr"
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Porte"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "Globale kommandoer",
"option": {
"colorScheme": {
"auto": "",
"light": "Skift til lys tilstand",
"dark": "Skift til mørk tilstand"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Søgemaskiner",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Suchergebnisse in neuem Tab öffnen"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Biud wächsle",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "Hell",
"dark": "Dunkel"
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "Stadt / Postleitzahl",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Standard Farbschema",
"options": {
"auto": "",
"light": "Hell",
"dark": "Dunkel"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "Globale Befehle",
"option": {
"colorScheme": {
"auto": "",
"light": "Zum hellen Design wechseln",
"dark": "Zum dunklen Design wechseln"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Suchmaschinen",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Suchergebnisse in neuem Tab öffnen"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Bild ändern",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "Hell",
"dark": "Dunkel"
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "Stadt / Postleitzahl",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Standard Farbschema",
"options": {
"auto": "",
"light": "Hell",
"dark": "Dunkel"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Ports"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "Globale Befehle",
"option": {
"colorScheme": {
"auto": "",
"light": "Zum hellen Design wechseln",
"dark": "Zum dunklen Design wechseln"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Suchmaschinen",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": ""
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Θύρες"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
+28 -156
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Open the search results in a new tab"
},
"ddgBangs": {
"label": "Enable DuckDuckGo bangs"
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo bangs toggled successfully"
},
"error": {
"message": "Unable to toggle DuckDuckGo bangs"
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Change image",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "Auto",
"light": "Light",
"dark": "Dark"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "Failed to fetch Tracearr data"
}
},
"umami": {
"name": "Umami Analytics",
"description": "Display visitor stats from your Umami analytics instance",
"visitors": "visitors",
"active": "active",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "City / Postal code",
@@ -2290,55 +2178,55 @@
"resolution": "Resolution"
},
"audio": {
"title": "Audio",
"channelCount": "Audio channels",
"codec": "Audio codec"
"title": "",
"channelCount": "",
"codec": ""
},
"transcoding": {
"title": "Transcoding",
"container": "Container",
"resolution": "Resolution",
"target": "Target codec"
"title": "",
"container": "",
"resolution": "",
"target": ""
}
}
}
},
"immich-serverStats": {
"name": "Immich Server Stats",
"description": "Information about your Immich instance",
"name": "",
"description": "",
"option": {
"showUsers": {
"label": "Show users",
"description": "Show count of users on your instance"
"label": "",
"description": ""
},
"showPhotos": {
"label": "Show photos",
"description": "Show count of photos on your instance"
"label": "",
"description": ""
},
"showVideos": {
"label": "Show videos",
"description": "Show count of videos on your instance"
"label": "",
"description": ""
},
"showStorage": {
"label": "Show storage",
"description": "Show the total amount of storage used"
"label": "",
"description": ""
}
},
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Used Storage"
"users": "",
"photos": "",
"videos": "",
"storage": ""
},
"immich-albumCarousel": {
"name": "Immich Album",
"name": "",
"option": {
"albumId": {
"label": "Album ID",
"description": "This is a unique ID which refers to your Immich album. You can find this id by opening an album and copying the unique string from the URL, for example 'a21aca09-9f05-47dc-b1a1-7b53c547226e'"
"label": "",
"description": ""
},
"rotationIntervalSeconds": {
"label": "Interval in seconds",
"description": "Rotate between pictures in the album every X seconds. Must be at least 1. Must be below 3600."
"label": "",
"description": ""
},
"showPhotoInfo": {
"label": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Default colour scheme",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4521,10 +4401,10 @@
"label": ""
},
"newIntegration": {
"label": "Create a new integration",
"label": "",
"children": {
"detail": {
"title": "Select the integration type you want to create"
"title": ""
}
}
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-24
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Open search results in new tab"
},
"ddgBangs": {
"label": "Enable DuckDuckGo bangs"
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo bangs toggled successfully"
},
"error": {
"message": "Unable to toggle DuckDuckGo bangs"
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Change image",
@@ -3970,9 +3957,6 @@
},
"ports": {
"label": "Ports"
},
"host": {
"label": "Host"
}
},
"action": {
@@ -4551,14 +4535,6 @@
"group": {
"searchEngine": {
"title": "Search engines",
"tipDdgBangs": "Tip: You can use any DuckDuckGo bangs here as well, e.g. !something",
"bang": {
"searchWithQuery": "Search \"{query}\" with {label}",
"pressEnterToOpen": "Press Enter to open",
"engineSelected": "{label} selected (!{bang})",
"typeQueryToContinue": "Type your search query to continue",
"emptyBangHint": "Type a bang, e.g. !yt, then press Space to select"
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Abrir resultados de búsqueda en una nueva pestaña"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Cambiar imagen",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "Claro",
"dark": "Oscuro"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "Error al obtener los datos de Tracearr"
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "Ciudad / Código postal",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Esquema de color predeterminado",
"options": {
"auto": "",
"light": "Claro",
"dark": "Oscuro"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": "Tracearr"
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Puertos"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "Comandos globales",
"option": {
"colorScheme": {
"auto": "",
"light": "Cambiar a modo claro",
"dark": "Cambiar a modo oscuro"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Motores de búsqueda",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": ""
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Ouvrir les résultats de recherche dans un nouvel onglet"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Modifier l’image",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "Clair",
"dark": "Sombre"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "Impossible de récupérer les données de Tracearr"
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "Ville / Code Postal",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Schéma de couleurs par défaut",
"options": {
"auto": "",
"light": "Clair",
"dark": "Sombre"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": "Tracearr"
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Ports"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "Commandes globales",
"option": {
"colorScheme": {
"auto": "",
"light": "Activer le mode clair",
"dark": "Activer le mode sombre"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Moteurs de recherche",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "פתיחת תוצאות חיפוש בכרטיסיה חדשה"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "שנה תמונה",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "בהיר",
"dark": "כהה"
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "עיר / מיקוד",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "סכמת צבעים ברירת מחדל",
"options": {
"auto": "",
"light": "בהיר",
"dark": "כהה"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "יציאות"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "פקודות גלובליות",
"option": {
"colorScheme": {
"auto": "",
"light": "עבור למצב בהיר",
"dark": "עבור למצב כהה"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "מנועי חיפוש",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": ""
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Portovi"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
+59 -187
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Nyissa meg a keresési eredményeket új ablakban"
},
"ddgBangs": {
"label": "DuckDuckGo parancsok engedélyezése"
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo parancsok sikeresen bekapcsolódott"
},
"error": {
"message": "DuckDuckGo parancsokkat nem sikerült bekapcsolni"
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Képcsere",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "Automatikus",
"light": "Világos",
"dark": "Sötét"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "Nem sikerült letölteni a Tracearr-adatokat"
}
},
"umami": {
"name": "Umami Analitika",
"description": "Umami elemzési rendszeréből származó látogatói statisztikák megjelenítése",
"visitors": "látogatók",
"active": "aktív",
"pageviews": "oldalletöltések",
"visits": "látogatások",
"bounceRate": "visszapattan",
"avgDuration": "átl",
"option": {
"websiteId": {
"label": "Honlap",
"description": "Válasszon ki egy olyan webhelyet, amelyet az Ön Umami-példánya követ",
"placeholder": "Válasszon ki egy weboldalt",
"loading": "Weboldalak betöltése...",
"noWebsites": "Nem található weboldal",
"configureIntegrationFirst": "Először csatlakoztassa az Umami integrációt"
},
"timeFrame": {
"label": "Időkeret",
"description": "Látogatói adatok megjelenítésének időtartama",
"option": {
"today": "Ma",
"24h": "Elmúlt 24 óra",
"7d": "Elmúlt 7 nap",
"30d": "Elmúlt 30 nap",
"month": "Ez a hónap",
"lastMonth": "Előző hónap"
}
},
"eventName": {
"label": "Esemény",
"description": "Egy adott esemény összes előfordulásának megjelenítése",
"placeholder": "Válasszon ki egy eseményt",
"loading": "Események betöltése...",
"noEvents": "Nem található esemény",
"none": "Nincs esemény",
"configureWebsiteFirst": "Először válasszon ki egy weboldalt az események betöltéséhez"
},
"chartType": {
"label": "Diagramtípus",
"description": "A diagram megjelenítési stílusa",
"option": {
"bar": "Oszlopdiagram",
"sparkline": "Mikrodiagram"
}
},
"chartStyle": {
"label": "Diagramstílus",
"description": "Hogyan jeleníthetjük meg az eseménysorozatot a diagramon",
"option": {
"grouped": "Egymás mellett",
"overlay": "Átfedés (részhalmaz)"
}
},
"viewMode": {
"label": "Megtekintés",
"description": "Mit jelenítsen meg a widget törzse",
"option": {
"chart": "Ábra",
"events": "Eseménynaptár",
"topPages": "Legnépszerűbb oldalak",
"topReferrers": "Legjobb hivatkozások"
}
},
"eventNames": {
"label": "Események",
"description": "Válasszon ki egy vagy több eseményt a grafikonhoz",
"placeholder": "Események kiválasztása...",
"loading": "Események betöltése...",
"noEvents": "Nem található esemény",
"configureWebsiteFirst": "Először válasszon ki egy weboldalt az események betöltéséhez"
},
"topCount": {
"label": "Items to show",
"description": "Megjelenítendő legnépszerűbb elemek száma (max. 500)"
}
},
"event": {
"occurrences": "események",
"label": "események"
},
"topPages": {
"direct": "Közvetlen"
},
"topReferrers": {
"direct": "Közvetlen"
},
"events": {
"selectPrompt": "Válassza ki a grafikonra felveendő eseményeket"
},
"error": {
"noIntegration": "Nincs beállítva az Umami-integráció",
"noWebsite": "Nincs beállított webhely",
"noData": "Nincs elérhető adat",
"internalServerError": "Umami-adatok letöltése nem sikerült"
}
},
"common": {
"location": {
"query": "Város / Irányítószám",
@@ -2745,15 +2633,15 @@
}
},
"importForm": {
"title": "Importálás a Docker-ből"
"title": ""
},
"example": {
"label": "Példa"
"label": ""
},
"invalid": "A tároló meghatározása érvénytelen, kérjük, ellenőrizze az értékeket",
"invalid": "",
"noProvider": {
"label": "Nincs Szolgáltató",
"tooltip": "A szolgáltató adatai nem értelmezhetők; kérjük, az importálás után állítsa be azokat manuálisan"
"label": "",
"tooltip": ""
}
}
},
@@ -2826,34 +2714,34 @@
}
},
"error": {
"integrationsDisconnected": "Nincs elérhető adat, az összes integráció le van választva",
"unknownContentOption": "A hálózati állapot-widget ismeretlen tartalmi beállítása: "
"integrationsDisconnected": "",
"unknownContentOption": ""
},
"name": "Hálózat állapota",
"description": "A hálózathoz csatlakozó eszközök megjelenítése"
"name": "",
"description": ""
},
"networkController": {
"error": {
"internalServerError": "A hálózati vezérlő összefoglalójának letöltése nem sikerült"
"internalServerError": ""
}
},
"firewall": {
"name": "Tűzfal-felügyelet",
"description": "Megjeleníti a tűzfalak összefoglalóját",
"name": "",
"description": "",
"tab": {
"system": "Rendszer",
"interfaces": "Interfészek"
"system": "",
"interfaces": ""
},
"error": {
"internalServerError": "Nem sikerült adatokat lekérni a tűzfalról"
"internalServerError": ""
},
"option": {
"interfaces": "Megjelenítendő hálózati interfészek"
"interfaces": ""
},
"widget": {
"fwname": "Név",
"version": "Verzió",
"versiontitle": "Verziók",
"fwname": "",
"version": "",
"versiontitle": "",
"cputitle": "CPU használat",
"memorytitle": "Memória használat",
"cpu": "CPU",
@@ -2942,63 +2830,63 @@
"cpu": "CPU",
"memory": "RAM",
"gpu": "GPU",
"network": "NET",
"up": "FÖNN",
"down": "LENN"
"network": "",
"up": "",
"down": ""
}
},
"systemDisks": {
"name": "Rendszer lemezek",
"description": "A rendszer lemezhasználata",
"name": "",
"description": "",
"option": {
"showTemperatureIfAvailable": {
"label": "Ha elérhető, mutassa a hőmérsékletet"
"label": ""
},
"displayMode": {
"label": "Megjelenítési mód",
"label": "",
"option": {
"percentage": {
"label": "Százalék (pl: 76%)"
"label": ""
},
"absolute": {
"label": "Abszolút értékek (pl. 800 Gb / 1 Tb)"
"label": ""
},
"free": {
"label": "A szabad hely aránya (pl. 24% szabad)"
"label": ""
}
}
},
"showBackgroundBar": {
"label": "Háttérhasználati sáv megjelenítése"
"label": ""
}
},
"status": {
"unhealthy": "Hibás"
"unhealthy": ""
}
}
},
"widgetPreview": {
"toggle": {
"enabled": "Szerkesztési mód engedélyezve",
"disabled": "Szerkesztési mód tiltva"
"enabled": "",
"disabled": ""
},
"dimensions": {
"title": "Dimenzió váltása"
"title": ""
}
},
"board": {
"action": {
"duplicate": {
"title": "Tábla duplikálása",
"message": "Ezzel a {name} tábla teljes tartalmával együtt duplikálódik. Ha a widgetek olyan integrációkra hivatkoznak, amelyek használata nem engedélyezett, azok eltávolításra kerülnek.",
"title": "",
"message": "",
"notification": {
"success": {
"title": "Tábla duplikálva",
"message": "A tábla sikeresen duplikálódott"
"title": "",
"message": ""
},
"error": {
"title": "Nem lehet duplikálni a táblát",
"message": "Nem tudtam duplikálni a táblát"
"title": "",
"message": ""
}
}
},
@@ -3006,44 +2894,44 @@
"notification": {
"success": {
"title": "A módosítások sikeresen alkalmazva",
"message": "A tábla sikeresen elmentve"
"message": ""
},
"error": {
"title": "Nem sikerült alkalmazni a változtatásokat",
"message": "A táblát nem sikerült elmenteni"
"message": ""
}
},
"confirmLeave": {
"title": "Mentetlen változtatások",
"message": "Nem mentett változtatásai vannak, biztosan el akarja hagyni az oldalt?"
"title": "",
"message": ""
}
},
"oldImport": {
"label": "Importálás a homarr 1.0.0 előtti verzióból",
"label": "",
"notification": {
"success": {
"title": "Sikeres importálás",
"message": "A tábla sikeresen importálva"
"title": "",
"message": ""
},
"error": {
"title": "Importálás nem sikerült",
"message": "Táblát nem sikerült importálni; további részletekért nézd meg a naplófájlokat"
"title": "",
"message": ""
}
},
"form": {
"file": {
"label": "JSON fájl kiválasztása",
"invalidError": "Érvénytelen konfigurációs fájl"
"label": "",
"invalidError": ""
},
"apps": {
"label": "Alkalmazások",
"avoidDuplicates": {
"label": "Kerülje az ismétlődéseket",
"description": "Nem veszi figyelembe azokat az alkalmazásokat, amelyeknél már létezik azonos href-vel rendelkező alkalmazás"
"label": "",
"description": ""
},
"onlyImportApps": {
"label": "Csak alkalmazások importálása",
"description": "Csak az alkalmazásokat adja hozzá, a táblát manuálisan kell újra létrehozni"
"label": "",
"description": ""
}
},
"name": {
@@ -3272,15 +3160,15 @@
"description": ""
},
"private": {
"title": "Nyilvános tábla készítése",
"description": "Biztosan nyilvánossá szeretnéd tenni ezt a fórumot? Ezzel a fórum mindenki számára elérhetővé válik."
"title": "",
"description": ""
}
}
},
"delete": {
"label": "Törölje ezt a táblát",
"label": "",
"description": "",
"button": "Törölje ezt a táblát",
"button": "",
"confirm": {
"title": "Tábla törlése",
"description": ""
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "Világos",
"dark": "Sötét"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Portok"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Keresőmotorok",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Apri risultati di ricerca in una nuova scheda"
},
"ddgBangs": {
"label": "Abilita bangs DuckDuckGo"
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo bangs attivato con successo"
},
"error": {
"message": "Impossibile attivare i bangs DuckDuckGo"
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Cambia immagine",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "Automatico",
"light": "Chiaro",
"dark": "Scuro"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "Impossibile recuperare i dati di Tracearr"
}
},
"umami": {
"name": "Umami Analytics",
"description": "Visualizza le statistiche dei visitatori dall'istanza Umami analytics",
"visitors": "visitatori",
"active": "attivo",
"pageviews": "pagine viste",
"visits": "visite",
"bounceRate": "rimbalzo",
"avgDuration": "media",
"option": {
"websiteId": {
"label": "Sito web",
"description": "Seleziona un sito web tracciato dalla tua istanza di Umami",
"placeholder": "Seleziona un sito web",
"loading": "Caricamento siti web...",
"noWebsites": "Nessun sito web trovato",
"configureIntegrationFirst": "Connetti prima un'integrazione Umami"
},
"timeFrame": {
"label": "Intervallo di tempo",
"description": "Il periodo di tempo per visualizzare i dati dei visitatori per",
"option": {
"today": "Oggi",
"24h": "Ultime 24 ore",
"7d": "Ultimi 7 giorni",
"30d": "Ultimi 30 giorni",
"month": "Questo mese",
"lastMonth": "Mese precedente"
}
},
"eventName": {
"label": "Evento",
"description": "Mostra le occorrenze totali di un evento specifico",
"placeholder": "Seleziona un evento",
"loading": "Caricamento eventi...",
"noEvents": "Nessun evento trovato",
"none": "Nessun evento",
"configureWebsiteFirst": "Seleziona un sito web prima di caricare gli eventi"
},
"chartType": {
"label": "Tipo di grafico",
"description": "Stile di visualizzazione del grafico",
"option": {
"bar": "Grafico a barre",
"sparkline": "Grafico a linee compatto"
}
},
"chartStyle": {
"label": "Stile del grafico",
"description": "Come visualizzare la serie di eventi nel grafico",
"option": {
"grouped": "Affiancati",
"overlay": "Sovrapponi (subset)"
}
},
"viewMode": {
"label": "Vista",
"description": "Cosa mostrare nel corpo del widget",
"option": {
"chart": "Grafico",
"events": "Grafico degli eventi",
"topPages": "Pagine più visitate",
"topReferrers": "Referrer principali"
}
},
"eventNames": {
"label": "Eventi",
"description": "Scegli uno o più eventi per il grafico",
"placeholder": "Seleziona eventi...",
"loading": "Caricamento eventi...",
"noEvents": "Nessun evento trovato",
"configureWebsiteFirst": "Seleziona prima un sito web per caricare gli eventi"
},
"topCount": {
"label": "Elementi da mostrare",
"description": "Numero di elementi principali da visualizzare (max 500)"
}
},
"event": {
"occurrences": "eventi",
"label": "eventi"
},
"topPages": {
"direct": "Diretto"
},
"topReferrers": {
"direct": "Diretto"
},
"events": {
"selectPrompt": "Seleziona gli eventi per il grafico"
},
"error": {
"noIntegration": "Nessuna integrazione di Umami configurata",
"noWebsite": "Nessun sito web configurato",
"noData": "Nessun dato disponibile",
"internalServerError": "Recupero dati Umami fallito"
}
},
"common": {
"location": {
"query": "Città / Codice postale",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Schema colore predefinito",
"options": {
"auto": "Automatico",
"light": "Chiaro",
"dark": "Scuro"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": "Tracearr"
},
"umamiActiveVisitors": {
"label": "Visitatori Attivi Umami"
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Porte"
},
"host": {
"label": "Host"
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "Comandi generali",
"option": {
"colorScheme": {
"auto": "Attiva/Disattiva modalità aspetto",
"light": "Passa al tema chiaro",
"dark": "Passa al tema scuro"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Motori di ricerca",
"tipDdgBangs": "Suggerimento: puoi usare anche i bang di DuckDuckGo, ad esempio !qualcosa",
"bang": {
"searchWithQuery": "Cerca \"{query}\" con {label}",
"pressEnterToOpen": "Premere Invio per aprire",
"engineSelected": "{label} selezionato (!{bang})",
"typeQueryToContinue": "Digita la tua query di ricerca per continuare",
"emptyBangHint": "Digita un bang, ad es. !yt, poi premi Spazio per selezionare"
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "新しいタブで検索結果を見る"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "画像を変更",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "ライト",
"dark": "ダーク"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "Tracearrデータの取得に失敗しました"
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "都市/郵便番号",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "既定の配色設定",
"options": {
"auto": "",
"light": "ライト",
"dark": "ダーク"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": "Tracearr"
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "ポート"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "グローバルコマンド",
"option": {
"colorScheme": {
"auto": "",
"light": "ライトモードに切り替え",
"dark": "ダークモードに切り替え"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "検索エンジン",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": ""
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "포트"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": ""
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Prievadai"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": ""
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": ""
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Zoekresultaten openen in nieuw tabblad"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Afbeelding veranderen",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "Licht",
"dark": "Donker"
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "Stad / postcode",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Standaard kleurenschema",
"options": {
"auto": "",
"light": "Licht",
"dark": "Donker"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Poorten"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "Globale commando's",
"option": {
"colorScheme": {
"auto": "",
"light": "Schakel naar lichte modus",
"dark": "Schakel naar donkere modus"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Zoekmachines",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Åpne søkeresultater i ny fane"
},
"ddgBangs": {
"label": "Aktiver DuckDuckGo bangs"
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": "DuckDuckGo bangs er endret vellykket"
},
"error": {
"message": "Kan ikke slå av/på DuckDuckGo bangs"
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Endre bilde",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "Auto",
"light": "Lys",
"dark": "Mørk"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "Kunne ikke hente Tracearr data"
}
},
"umami": {
"name": "Umami Analytics",
"description": "Vise besøkende statistikk fra din Umami-analyseinstans",
"visitors": "besøkende",
"active": "aktiv",
"pageviews": "sidevisninger",
"visits": "besøk",
"bounceRate": "tilbakesende",
"avgDuration": "gjennomsnitt",
"option": {
"websiteId": {
"label": "Nettsted",
"description": "Velg et nettsted som spores av Umami-instansen din",
"placeholder": "Velg en nettside",
"loading": "Laster inn nettsteder...",
"noWebsites": "Ingen nettsteder ble funnet",
"configureIntegrationFirst": "Koble til en Umami integrasjon først"
},
"timeFrame": {
"label": "Tidsramme",
"description": "Tidsperiode som skal vise besøkende data for",
"option": {
"today": "I dag",
"24h": "Siste 24 timer",
"7d": "Siste 7 dager",
"30d": "Siste 30 dager",
"month": "Denne måneden",
"lastMonth": "Siste måned"
}
},
"eventName": {
"label": "Hendelse",
"description": "Vis totale forekomster av en bestemt hendelse",
"placeholder": "Velg en hendelse",
"loading": "Laster inn hendelser...",
"noEvents": "Ingen hendelser funnet",
"none": "Ingen hendelser",
"configureWebsiteFirst": "Velg en nettside først for å laste inn hendelser"
},
"chartType": {
"label": "Diagramtype",
"description": "Vis stil for diagrammet",
"option": {
"bar": "Søylediagram",
"sparkline": "Minigraf"
}
},
"chartStyle": {
"label": "Diagramtype",
"description": "Hvordan vise hendelsesserier i diagrammet",
"option": {
"grouped": "Side om side",
"overlay": "Overlegg (delmengde)"
}
},
"viewMode": {
"label": "Visning",
"description": "Hva skal vises i widgetkroppen",
"option": {
"chart": "Diagram",
"events": "Hendelser diagram",
"topPages": "Toppsider",
"topReferrers": "Topp referenter"
}
},
"eventNames": {
"label": "Hendelser",
"description": "Velg ett eller flere hendelser i diagrammet",
"placeholder": "Velg en hendelse...",
"loading": "Laster inn hendelser...",
"noEvents": "Ingen hendelser funnet",
"configureWebsiteFirst": "Velg en nettside først for å laste inn hendelser"
},
"topCount": {
"label": "Gjenstander å vise",
"description": "Antall oppføringer som skal vises (maks 500)"
}
},
"event": {
"occurrences": "hendelser",
"label": "hendelser"
},
"topPages": {
"direct": "Direkte"
},
"topReferrers": {
"direct": "Direkte"
},
"events": {
"selectPrompt": "Velg hendelser for å diagram"
},
"error": {
"noIntegration": "Ingen Umami integrasjon konfigurert",
"noWebsite": "Ingen nettsted konfigurert",
"noData": "Ingen data tilgjengelig",
"internalServerError": "Kunne ikke hente Umami data"
}
},
"common": {
"location": {
"query": "By / Postnummer",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Standard fargetema",
"options": {
"auto": "Auto",
"light": "Lys",
"dark": "Mørk"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": "Tracearr"
},
"umamiActiveVisitors": {
"label": "Umami Aktive Besøkende"
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Porter"
},
"host": {
"label": "Vert"
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "Globale kommandoer",
"option": {
"colorScheme": {
"auto": "Bytt visningsmodus",
"light": "Bytt til lys modus",
"dark": "Bytt til mørk modus"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Søkemotorer",
"tipDdgBangs": "Tips: Du kan også bruke DuckDuckGo-bangs her, f.eks. !something",
"bang": {
"searchWithQuery": "Søk etter \"{query}\" med {label}",
"pressEnterToOpen": "Trykk på Enter for å åpne",
"engineSelected": "{label} valgt (!{bang})",
"typeQueryToContinue": "Skriv inn søkeordet for å fortsette",
"emptyBangHint": "Skriv inn en bang, f.eks. !yt, og trykk deretter på mellomrom for å velge"
},
"children": {
"action": {
"search": {
+2 -130
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": "Otwórz wyniki wyszukiwania w nowej karcie"
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "Zmień obraz",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "Jasny",
"dark": "Ciemny"
}
@@ -2110,104 +2096,6 @@
"internalServerError": "Nie udało się pobrać danych z Tracearr"
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "Miasto / kod pocztowy",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "Domyślny schemat kolorów",
"options": {
"auto": "",
"light": "Jasny",
"dark": "Ciemny"
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": "Tracearr"
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3907,8 +3791,8 @@
"subtitle": "{count} współtworzy tłumaczenia w wielu językach"
},
"sponsors": {
"title": "Sponsorzy",
"subtitle": "{count} wspiera finansowo projekt"
"title": "",
"subtitle": ""
},
"libraries": {
"title": "Biblioteki",
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Porty"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "Polecenia globalne",
"option": {
"colorScheme": {
"auto": "",
"light": "Przełącz na tryb jasny",
"dark": "Przełącz na tryb ciemny"
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "Wyszukiwarki",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
-128
View File
@@ -157,9 +157,6 @@
},
"openSearchInNewTab": {
"label": ""
},
"ddgBangs": {
"label": ""
}
},
"error": {
@@ -249,16 +246,6 @@
}
}
},
"changeDdgBangs": {
"notification": {
"success": {
"message": ""
},
"error": {
"message": ""
}
}
},
"manageAvatar": {
"changeImage": {
"label": "",
@@ -1093,7 +1080,6 @@
},
"colorScheme": {
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -2110,104 +2096,6 @@
"internalServerError": ""
}
},
"umami": {
"name": "",
"description": "",
"visitors": "",
"active": "",
"pageviews": "",
"visits": "",
"bounceRate": "",
"avgDuration": "",
"option": {
"websiteId": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noWebsites": "",
"configureIntegrationFirst": ""
},
"timeFrame": {
"label": "",
"description": "",
"option": {
"today": "",
"24h": "",
"7d": "",
"30d": "",
"month": "",
"lastMonth": ""
}
},
"eventName": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"none": "",
"configureWebsiteFirst": ""
},
"chartType": {
"label": "",
"description": "",
"option": {
"bar": "",
"sparkline": ""
}
},
"chartStyle": {
"label": "",
"description": "",
"option": {
"grouped": "",
"overlay": ""
}
},
"viewMode": {
"label": "",
"description": "",
"option": {
"chart": "",
"events": "",
"topPages": "",
"topReferrers": ""
}
},
"eventNames": {
"label": "",
"description": "",
"placeholder": "",
"loading": "",
"noEvents": "",
"configureWebsiteFirst": ""
},
"topCount": {
"label": "",
"description": ""
}
},
"event": {
"occurrences": "",
"label": ""
},
"topPages": {
"direct": ""
},
"topReferrers": {
"direct": ""
},
"events": {
"selectPrompt": ""
},
"error": {
"noIntegration": "",
"noWebsite": "",
"noData": "",
"internalServerError": ""
}
},
"common": {
"location": {
"query": "",
@@ -3680,7 +3568,6 @@
"defaultColorScheme": {
"label": "",
"options": {
"auto": "",
"light": "",
"dark": ""
}
@@ -3781,9 +3668,6 @@
},
"tracearr": {
"label": ""
},
"umamiActiveVisitors": {
"label": ""
}
},
"interval": {
@@ -3970,9 +3854,6 @@
},
"ports": {
"label": "Porturi"
},
"host": {
"label": ""
}
},
"action": {
@@ -4499,7 +4380,6 @@
"title": "",
"option": {
"colorScheme": {
"auto": "",
"light": "",
"dark": ""
},
@@ -4551,14 +4431,6 @@
"group": {
"searchEngine": {
"title": "",
"tipDdgBangs": "",
"bang": {
"searchWithQuery": "",
"pressEnterToOpen": "",
"engineSelected": "",
"typeQueryToContinue": "",
"emptyBangHint": ""
},
"children": {
"action": {
"search": {
Loaded 100 of 123 files, more files were not shown because too many files have changed in this diff. Show more