Compare commits

..
Author SHA1 Message Date
Meier Lukas f089c4b232 fix: unable to find socket-cleanup when running with docker 2026-04-15 20:19:29 +02:00
KimP0ssible-no b6f6701eda fix: cap V8 heap and enable effective garbage collection for nextjs
Add --max-old-space-size=1024 to the node process running the Next.js
server. This caps V8's old-generation heap at 1024MB, forcing the
garbage collector to run more aggressively as memory usage approaches
the limit.

Previously, users saw Next.js RSS grow to 4GB+. This was caused by a
reference chain that prevented GC from freeing memory:

  AfterContext (vercel/next.js#89091) retained ServerResponse objects
  after client disconnect, which held zlib Transform streams (from
  compress: true), which allocated native C++ buffers outside V8's
  heap entirely — invisible to GC and uncapped by --max-old-space-size.

Combined with the prior commit's fixes (compress: false moves gzip to
nginx, httpBatchLink closes connections faster, socket-cleanup.cjs
destroys zombie CLOSE_WAIT sockets every 60s), GC can now actually
reclaim memory because:

- zlib native buffers no longer exist (compress: false)
- The AfterContext → ServerResponse reference chain is broken by
  socket cleanup destroying the underlying sockets
- The JS heap is capped at 1024MB so V8 GCs more frequently for
  the memory it does control

Also fixes the Dockerfile to copy socket-cleanup.cjs from the builder
stage instead of the host context.

Ref: https://github.com/homarr-labs/homarr/issues/3759
2026-04-15 12:49:48 +02:00
KimP0ssible-no c5e69c3e40 fix: memory leak fixes for nextjs.
Addresses high memory usage by adding gzip compression to nginx (removing it from nextjs)
socket cleanup handling, and tRPC client optimizations.

Ref: https://github.com/homarr-labs/homarr/issues/3759
2026-04-15 12:15:29 +02:00
87 changed files with 2049 additions and 1935 deletions

No files matched your search

+4
View File
@@ -12,6 +12,10 @@ AUTH_SECRET="supersecret"
# or starting the project without any (which will show a randomly generated one). # or starting the project without any (which will show a randomly generated one).
SECRET_ENCRYPTION_KEY=0000000000000000000000000000000000000000000000000000000000000000 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' LOG_LEVEL='info'
# This is how you can use the sqlite driver: # This is how you can use the sqlite driver:
-2
View File
@@ -33,8 +33,6 @@ body:
options: options:
# The below comment is used to insert a new version with on-release.yml # The below comment is used to insert a new version with on-release.yml
#NEXT_VERSION# #NEXT_VERSION#
- 1.59.3
- 1.59.2
- 1.59.1 - 1.59.1
- 1.59.0 - 1.59.0
- 1.58.1 - 1.58.1
+5 -1
View File
@@ -13,8 +13,12 @@ concurrency:
group: "${{ github.workflow }}-${{ github.ref }}" group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
# You can leverage Vercel Remote Caching with Turbo to speed up your builds
# @link https://turborepo.org/docs/core-concepts/remote-caching#remote-caching-on-vercel-builds
env: env:
FORCE_COLOR: 3 FORCE_COLOR: 3
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
jobs: jobs:
lint: lint:
@@ -55,7 +59,7 @@ jobs:
uses: ./tooling/github/setup uses: ./tooling/github/setup
- name: Typecheck - name: Typecheck
run: pnpm typecheck run: turbo typecheck
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -60,12 +60,12 @@ jobs:
if: env.SKIP_RELEASE == 'false' if: env.SKIP_RELEASE == 'false'
with: with:
persist-credentials: false persist-credentials: false
- uses: pnpm/action-setup@v6 - uses: pnpm/action-setup@v5
if: env.SKIP_RELEASE == 'false' if: env.SKIP_RELEASE == 'false'
- uses: actions/setup-node@v6 - uses: actions/setup-node@v6
if: env.SKIP_RELEASE == 'false' if: env.SKIP_RELEASE == 'false'
with: with:
node-version: 24.15.0 node-version: 24.14.1
cache: "pnpm" cache: "pnpm"
- run: npm i -g pnpm - run: npm i -g pnpm
if: env.SKIP_RELEASE == 'false' if: env.SKIP_RELEASE == 'false'
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ steps.obtainToken.outputs.token }} GITHUB_TOKEN: ${{ steps.obtainToken.outputs.token }}
- uses: pnpm/action-setup@v6 - uses: pnpm/action-setup@v5
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6 uses: actions/setup-node@v6
with: with:
+2
View File
@@ -72,3 +72,5 @@ en.d.json.ts
# personal agent config # personal agent config
AGENTS.md AGENTS.md
.opencode .opencode
.claude/CLAUDE.md
.claude/settings.json
+1 -1
View File
@@ -1 +1 @@
24.15.0 24.14.1
-33
View File
@@ -1,36 +1,3 @@
## [1.59.3](https://github.com/homarr-labs/homarr/compare/v1.59.2...v1.59.3) (2026-04-24)
### Bug Fixes
* **deps:** update dependency better-sqlite3 to ^12.9.0 ([#5531](https://github.com/homarr-labs/homarr/issues/5531)) ([7852f1d](https://github.com/homarr-labs/homarr/commit/7852f1d987d40707ae13494f9c934a563581f97f))
## [1.59.3](https://github.com/homarr-labs/homarr/compare/v1.59.2...v1.59.3) (2026-04-24)
### Bug Fixes
* **deps:** update dependency better-sqlite3 to ^12.9.0 ([#5531](https://github.com/homarr-labs/homarr/issues/5531)) ([7852f1d](https://github.com/homarr-labs/homarr/commit/7852f1d987d40707ae13494f9c934a563581f97f))
## [1.59.2](https://github.com/homarr-labs/homarr/compare/v1.59.1...v1.59.2) (2026-04-17)
### Bug Fixes
* **about:** add missing dependencies ([#5480](https://github.com/homarr-labs/homarr/issues/5480)) ([c48588c](https://github.com/homarr-labs/homarr/commit/c48588c6a748920b05f8afcd79fad17dc65f2930))
* **deps:** update dependency @drizzle-team/brocli to ^0.12.0 ([#5489](https://github.com/homarr-labs/homarr/issues/5489)) ([74611b7](https://github.com/homarr-labs/homarr/commit/74611b75a736df43a77ebc780d2e0eee5c40e3f3))
* **deps:** update dependency @immich/sdk to ^2.7.0 ([#5490](https://github.com/homarr-labs/homarr/issues/5490)) ([9cdf2aa](https://github.com/homarr-labs/homarr/commit/9cdf2aa1f2b1477522879095b603b100c1dd3ac0))
* **deps:** update dependency @immich/sdk to ^2.7.2 ([#5494](https://github.com/homarr-labs/homarr/issues/5494)) ([0927f45](https://github.com/homarr-labs/homarr/commit/0927f45b2573753152fd5e9e318ba62b88abca35))
* **deps:** update dependency fast-xml-parser to ^5.5.11 ([#5500](https://github.com/homarr-labs/homarr/issues/5500)) ([652ed1a](https://github.com/homarr-labs/homarr/commit/652ed1a5ed0beeb2dbd44976890f24dc12b90cf6))
* **deps:** update dependency isomorphic-dompurify to ^3.8.0 ([#5503](https://github.com/homarr-labs/homarr/issues/5503)) ([0731b7c](https://github.com/homarr-labs/homarr/commit/0731b7c5ef272bcf69c566cdec723f2696309e67))
* **deps:** update dependency jotai to ^2.19.1 ([#5487](https://github.com/homarr-labs/homarr/issues/5487)) ([efd8a55](https://github.com/homarr-labs/homarr/commit/efd8a55b6ea113bc42bc90d9ccb0db6c1d2b68ef))
* **deps:** update dependency next-intl to v4.9.1 [security] ([#5470](https://github.com/homarr-labs/homarr/issues/5470)) ([f2437c4](https://github.com/homarr-labs/homarr/commit/f2437c473106689e9fa93e7dcbea84b00800ea4a))
* **deps:** update dependency swagger-ui-react to ^5.32.2 ([#5488](https://github.com/homarr-labs/homarr/issues/5488)) ([cf131c5](https://github.com/homarr-labs/homarr/commit/cf131c5c51f6c21f942ab89d02353f93dc05774c))
* **deps:** update dependency typescript-eslint to ^8.58.1 ([#5496](https://github.com/homarr-labs/homarr/issues/5496)) ([f88984c](https://github.com/homarr-labs/homarr/commit/f88984cda844beb1099a08c9cdeb6691ad13b5a8))
* **deps:** update react monorepo to v19.2.5 ([#5502](https://github.com/homarr-labs/homarr/issues/5502)) ([c8a61a9](https://github.com/homarr-labs/homarr/commit/c8a61a9df3087de28c76f573623725eec246dd32))
* **deps:** update testcontainers-node monorepo to ^11.14.0 ([#5498](https://github.com/homarr-labs/homarr/issues/5498)) ([1057b47](https://github.com/homarr-labs/homarr/commit/1057b478c37d02e9de7bcd155f0b3fb764149abe))
* **deps:** update tiptap monorepo to v3.22.3 ([#5499](https://github.com/homarr-labs/homarr/issues/5499)) ([95abd2c](https://github.com/homarr-labs/homarr/commit/95abd2c9d3a563c7eaebe12f3b8015e3299e27e8))
* **deps:** update turbo monorepo to ^2.9.4 ([#5476](https://github.com/homarr-labs/homarr/issues/5476)) ([813f2fa](https://github.com/homarr-labs/homarr/commit/813f2fa5efb999d3364882578fdf456537dba3a6))
* **deps:** update turbo monorepo to ^2.9.5 ([#5491](https://github.com/homarr-labs/homarr/issues/5491)) ([ed24ce6](https://github.com/homarr-labs/homarr/commit/ed24ce6381466fa530ce225363231303be4ed92e))
* preserve all-day event dates in Nextcloud calendar integration ([#5523](https://github.com/homarr-labs/homarr/issues/5523)) ([2e78979](https://github.com/homarr-labs/homarr/commit/2e789795ed11c816550b6a3ce88fe92a360ede9c))
## [1.59.1](https://github.com/homarr-labs/homarr/compare/v1.59.0...v1.59.1) (2026-04-10) ## [1.59.1](https://github.com/homarr-labs/homarr/compare/v1.59.0...v1.59.1) (2026-04-10)
### Bug Fixes ### Bug Fixes
+4 -1
View File
@@ -1,4 +1,4 @@
FROM node:24.15.0-alpine AS base FROM node:24.14.1-alpine AS base
FROM base AS builder FROM base AS builder
RUN apk add --no-cache libc6-compat RUN apk add --no-cache libc6-compat
@@ -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/next.config.ts .
COPY --from=builder /app/apps/nextjs/package.json . 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/node_modules/better-sqlite3/build/Release/better_sqlite3.node /app/build/better_sqlite3.node
COPY --from=builder /app/packages/db/migrations ./db/migrations COPY --from=builder /app/packages/db/migrations ./db/migrations
@@ -50,6 +52,7 @@ COPY --from=builder /app/packages/db/migrations ./db/migrations
# Automatically leverage output traces to reduce image size # Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing # https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=builder /app/apps/nextjs/.next/standalone ./ COPY --from=builder /app/apps/nextjs/.next/standalone ./
COPY --from=builder /app/apps/nextjs/socket-cleanup.cjs ./apps/nextjs/socket-cleanup.cjs
COPY --from=builder /app/apps/nextjs/.next/static ./apps/nextjs/.next/static COPY --from=builder /app/apps/nextjs/.next/static ./apps/nextjs/.next/static
COPY --from=builder /app/apps/nextjs/public ./apps/nextjs/public COPY --from=builder /app/apps/nextjs/public ./apps/nextjs/public
COPY scripts/run.sh ./run.sh COPY scripts/run.sh ./run.sh
+1
View File
@@ -19,6 +19,7 @@ const withNextIntl = createNextIntlPlugin({
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
output: "standalone", output: "standalone",
compress: false, // Workaround for vercel/next.js#89091 - zlib retains ServerResponse after client disconnect, causing CLOSE-WAIT socket leak
reactStrictMode: true, reactStrictMode: true,
// react compiler breaks mantine-react-table, so disabled for now // react compiler breaks mantine-react-table, so disabled for now
//reactCompiler: true, //reactCompiler: true,
-2
View File
@@ -44,11 +44,9 @@
"@homarr/server-settings": "workspace:^0.1.0", "@homarr/server-settings": "workspace:^0.1.0",
"@homarr/settings": "workspace:^0.1.0", "@homarr/settings": "workspace:^0.1.0",
"@homarr/spotlight": "workspace:^0.1.0", "@homarr/spotlight": "workspace:^0.1.0",
"@homarr/tasks": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0", "@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"@homarr/websocket": "workspace:^0.1.0",
"@homarr/widgets": "workspace:^0.1.0", "@homarr/widgets": "workspace:^0.1.0",
"@mantine/colors-generator": "catalog:", "@mantine/colors-generator": "catalog:",
"@mantine/core": "catalog:", "@mantine/core": "catalog:",
+26
View File
@@ -0,0 +1,26 @@
// Periodic cleanup of zombie CLOSE-WAIT sockets in Next.js standalone mode.
// Workaround for vercel/next.js#89091 — AfterContext retains ServerResponse
// after client disconnect, leaving sockets in CLOSE-WAIT indefinitely.
//
// Usage: node --require ./socket-cleanup.cjs server.js
const INTERVAL_MS = 60_000; // Check every 60 seconds
setInterval(() => {
let destroyed = 0;
for (const handle of process._getActiveHandles()) {
if (
handle.constructor?.name === "Socket" &&
handle.localPort === 3000 &&
handle.readyState === "writeOnly" &&
!handle._httpMessage &&
handle.bytesWritten === 0
) {
handle.destroy();
destroyed++;
}
}
if (destroyed > 0) {
console.log(`[socket-cleanup] Destroyed ${destroyed} zombie socket(s)`);
}
}, INTERVAL_MS).unref(); // unref() so this timer doesn't prevent process exit
@@ -7,7 +7,7 @@ import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
import { ReactQueryStreamedHydration } from "@tanstack/react-query-next-experimental"; import { ReactQueryStreamedHydration } from "@tanstack/react-query-next-experimental";
import { import {
createWSClient, createWSClient,
httpBatchStreamLink, httpBatchLink,
httpLink, httpLink,
isNonJsonSerializable, isNonJsonSerializable,
loggerLink, loggerLink,
@@ -90,7 +90,7 @@ export function TRPCReactProvider(props: PropsWithChildren) {
url: getTrpcUrl(), url: getTrpcUrl(),
headers: createHeadersCallbackForSource("nextjs-react (form-data)"), headers: createHeadersCallbackForSource("nextjs-react (form-data)"),
}), }),
false: httpBatchStreamLink({ false: httpBatchLink({
transformer: superjson, transformer: superjson,
url: getTrpcUrl(), url: getTrpcUrl(),
maxURLLength: 2083, // Suggested by tRPC: https://trpc.io/docs/client/links/httpBatchLink#setting-a-maximum-url-length maxURLLength: 2083, // Suggested by tRPC: https://trpc.io/docs/client/links/httpBatchLink#setting-a-maximum-url-length
@@ -25,14 +25,7 @@ import {
Title, Title,
UnstyledButton, UnstyledButton,
} from "@mantine/core"; } from "@mantine/core";
import { import { IconKeyboard, IconLanguage, IconLibrary, IconPackage, IconUsers } from "@tabler/icons-react";
IconKeyboard,
IconLanguage,
IconLibrary,
IconMoneybagHeart,
IconPackage,
IconUsers,
} from "@tabler/icons-react";
import { capitalize, objectEntries } from "@homarr/common"; import { capitalize, objectEntries } from "@homarr/common";
import { hotkeys } from "@homarr/definitions"; import { hotkeys } from "@homarr/definitions";
@@ -44,7 +37,6 @@ import { createMetaTitle } from "~/metadata";
import type { PackageJsonDependencies } from "~/versions/package-reader"; import type { PackageJsonDependencies } from "~/versions/package-reader";
import { getPackageVersion } from "~/versions/package-reader"; import { getPackageVersion } from "~/versions/package-reader";
import type githubContributorsJson from "../../../../../../../static-data/contributors.json"; import type githubContributorsJson from "../../../../../../../static-data/contributors.json";
import type openCollectiveContributorsJson from "../../../../../../../static-data/opencollective-contributors.json";
import type crowdinContributorsJson from "../../../../../../../static-data/translators.json"; import type crowdinContributorsJson from "../../../../../../../static-data/translators.json";
import classes from "./about.module.css"; import classes from "./about.module.css";
@@ -79,10 +71,6 @@ export default async function AboutPage() {
res.json(), res.json(),
)) as typeof crowdinContributorsJson; )) as typeof crowdinContributorsJson;
const openCollectiveContributors = (await fetch(`${baseServerUrl}/api/about/contributors/opencollective`).then(
(res) => res.json(),
)) as typeof openCollectiveContributorsJson;
return ( return (
<div> <div>
<DynamicBreadcrumb /> <DynamicBreadcrumb />
@@ -148,30 +136,6 @@ export default async function AboutPage() {
</Flex> </Flex>
</AccordionPanel> </AccordionPanel>
</AccordionItem> </AccordionItem>
<AccordionItem value="sponsors">
<AccordionControl icon={<IconMoneybagHeart size="1rem" />}>
<Stack gap={0}>
<Text>{t("accordion.sponsors.title")}</Text>
<Text size="sm" c="dimmed">
{t("accordion.sponsors.subtitle", {
count: String(openCollectiveContributors.length),
})}
</Text>
</Stack>
</AccordionControl>
<AccordionPanel>
<Flex wrap="wrap" gap="xs">
{openCollectiveContributors.map((sponsor) => (
<GenericContributorLinkCard
key={sponsor.slug}
link={`https://opencollective.com/${sponsor.slug}`}
image={sponsor.imageUrl}
name={sponsor.name}
/>
))}
</Flex>
</AccordionPanel>
</AccordionItem>
<AccordionItem value="libraries"> <AccordionItem value="libraries">
<AccordionControl icon={<IconLibrary size="1rem" />}> <AccordionControl icon={<IconLibrary size="1rem" />}>
<Stack gap={0}> <Stack gap={0}>
@@ -2,7 +2,7 @@ import { headers } from "next/headers";
import { notFound } from "next/navigation"; import { notFound } from "next/navigation";
import { Stack, Tabs, TabsList, TabsPanel, TabsTab } from "@mantine/core"; import { Stack, Tabs, TabsList, TabsPanel, TabsTab } from "@mantine/core";
import { openApiDocument } from "@homarr/api/open-api"; import { openApiDocument } from "@homarr/api";
import { api } from "@homarr/api/server"; import { api } from "@homarr/api/server";
import { auth } from "@homarr/auth/next"; import { auth } from "@homarr/auth/next";
import { extractBaseUrlFromHeaders } from "@homarr/common"; import { extractBaseUrlFromHeaders } from "@homarr/common";
@@ -30,7 +30,7 @@ export const FirstDayOfWeek = ({ user }: FirstDayOfWeekProps) => {
}, },
onSuccess(_, variables) { onSuccess(_, variables) {
form.setInitialValues({ form.setInitialValues({
firstDayOfWeek: variables.firstDayOfWeek as DayOfWeek, firstDayOfWeek: variables.firstDayOfWeek,
}); });
showSuccessNotification({ showSuccessNotification({
message: t("user.action.changeFirstDayOfWeek.notification.success.message"), message: t("user.action.changeFirstDayOfWeek.notification.success.message"),
+2 -3
View File
@@ -2,8 +2,7 @@ import type { NextRequest } from "next/server";
import { userAgent } from "next/server"; import { userAgent } from "next/server";
import { createOpenApiFetchHandler } from "trpc-to-openapi"; import { createOpenApiFetchHandler } from "trpc-to-openapi";
import { createTRPCContext } from "@homarr/api"; import { appRouter, createTRPCContext } from "@homarr/api";
import { openApiRouter } from "@homarr/api/open-api";
import { API_KEY_HEADER_NAME, getSessionFromApiKeyAsync } from "@homarr/auth/api-key"; import { API_KEY_HEADER_NAME, getSessionFromApiKeyAsync } from "@homarr/auth/api-key";
import { ipAddressFromHeaders } from "@homarr/common/server"; import { ipAddressFromHeaders } from "@homarr/common/server";
import { createLogger } from "@homarr/core/infrastructure/logs"; import { createLogger } from "@homarr/core/infrastructure/logs";
@@ -31,7 +30,7 @@ const handlerAsync = async (req: NextRequest) => {
return createOpenApiFetchHandler({ return createOpenApiFetchHandler({
req, req,
endpoint: "/", endpoint: "/",
router: openApiRouter, router: appRouter,
createContext: () => createTRPCContext({ session, headers: req.headers }), createContext: () => createTRPCContext({ session, headers: req.headers }),
onError({ error, path, type }) { onError({ error, path, type }) {
logger.error(new ErrorWithMetadata("tRPC Error occured", { path, type }, { cause: error })); logger.error(new ErrorWithMetadata("tRPC Error occured", { path, type }, { cause: error }));
@@ -1,9 +0,0 @@
import { NextResponse } from "next/server";
import openCollectiveContributors from "../../../../../../../../static-data/opencollective-contributors.json";
export const GET = () => {
return NextResponse.json(openCollectiveContributors);
};
export const dynamic = "force-static";
+1 -1
View File
@@ -1,6 +1,6 @@
import { NextResponse } from "next/server"; import { NextResponse } from "next/server";
import { openApiDocument } from "@homarr/api/open-api"; import { openApiDocument } from "@homarr/api";
import { extractBaseUrlFromHeaders } from "@homarr/common"; import { extractBaseUrlFromHeaders } from "@homarr/common";
export function GET(request: Request) { export function GET(request: Request) {
-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", "license": "Apache-2.0",
"type": "module", "type": "module",
"exports": { "exports": {
".": "./src/main.ts" ".": "./src/index.ts"
}, },
"main": "./src/main.ts", "main": "./src/main.ts",
"types": "./src/main.ts", "types": "./src/main.ts",
"scripts": { "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", "clean": "rm -rf .turbo node_modules",
"dev": "pnpm with-env tsx ./src/main.ts", "dev": "pnpm with-env tsx ./src/main.ts",
"format": "prettier --check . --ignore-path ../../.gitignore", "format": "prettier --check . --ignore-path ../../.gitignore",
@@ -23,6 +24,7 @@
"@homarr/auth": "workspace:^0.1.0", "@homarr/auth": "workspace:^0.1.0",
"@homarr/common": "workspace:^0.1.0", "@homarr/common": "workspace:^0.1.0",
"@homarr/core": "workspace:^", "@homarr/core": "workspace:^",
"@homarr/cron-job-api": "workspace:^0.1.0",
"@homarr/cron-jobs": "workspace:^0.1.0", "@homarr/cron-jobs": "workspace:^0.1.0",
"@homarr/cron-jobs-core": "workspace:^0.1.0", "@homarr/cron-jobs-core": "workspace:^0.1.0",
"@homarr/db": "workspace:^0.1.0", "@homarr/db": "workspace:^0.1.0",
@@ -1,6 +1,7 @@
import { schedule, validate as validateCron } from "node-cron"; import { schedule, validate as validateCron } from "node-cron";
import { createLogger } from "@homarr/core/infrastructure/logs"; 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 { jobGroup as cronJobGroup, JobGroupKeys } from "@homarr/cron-jobs";
import type { Database, InferInsertModel } from "@homarr/db"; import type { Database, InferInsertModel } from "@homarr/db";
import { eq } from "@homarr/db"; import { eq } from "@homarr/db";
@@ -8,7 +9,7 @@ import { cronJobConfigurations } from "@homarr/db/schema";
const logger = createLogger({ module: "jobManager" }); const logger = createLogger({ module: "jobManager" });
export class JobManager { export class JobManager implements IJobManager {
constructor( constructor(
private db: Database, private db: Database,
private jobGroup: typeof cronJobGroup, 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. // 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 "./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"; 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 () => { void (async () => {
await onStartAsync(); await onStartAsync();
await jobGroup.initializeAsync(); await jobGroup.initializeAsync();
await jobGroup.startAllAsync(); 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, "private": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"type": "module", "type": "module",
"exports": {
".": "./src/main.ts"
},
"main": "./src/main.ts", "main": "./src/main.ts",
"types": "./src/main.ts", "types": "./src/main.ts",
"scripts": { "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", "clean": "rm -rf .turbo node_modules",
"dev": "pnpm with-env tsx ./src/main.ts", "dev": "pnpm with-env tsx ./src/main.ts",
"format": "prettier --check . --ignore-path ../../.gitignore", "format": "prettier --check . --ignore-path ../../.gitignore",
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:24.15.0-trixie AS base FROM node:24.14.1-trixie AS base
WORKDIR /app WORKDIR /app
COPY package.json . COPY package.json .
COPY pnpm-lock.yaml . COPY pnpm-lock.yaml .
+4 -4
View File
@@ -2,12 +2,12 @@
"name": "homarr-prebuilt-debian", "name": "homarr-prebuilt-debian",
"private": true, "private": true,
"dependencies": { "dependencies": {
"better-sqlite3": "^12.9.0" "better-sqlite3": "^12.8.0"
}, },
"packageManager": "pnpm@10.33.2", "packageManager": "pnpm@10.33.0",
"engines": { "engines": {
"node": ">=24.15.0", "node": ">=24.14.1",
"pnpm": ">=10.33.2" "pnpm": ">=10.33.0"
}, },
"pnpm": { "pnpm": {
"onlyBuiltDependencies": [ "onlyBuiltDependencies": [
+5 -5
View File
@@ -9,16 +9,16 @@ importers:
.: .:
dependencies: dependencies:
better-sqlite3: better-sqlite3:
specifier: ^12.9.0 specifier: ^12.8.0
version: 12.9.0 version: 12.8.0
packages: packages:
base64-js@1.5.1: base64-js@1.5.1:
resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
better-sqlite3@12.9.0: better-sqlite3@12.8.0:
resolution: {integrity: sha512-wqUv4Gm3toFpHDQmaKD4QhZm3g1DjUBI0yzS4UBl6lElUmXFYdTQmmEDpAFa5o8FiFiymURypEnfVHzILKaxqQ==} resolution: {integrity: sha512-RxD2Vd96sQDjQr20kdP+F+dK/1OUNiVOl200vKBZY8u0vTwysfolF6Hq+3ZK2+h8My9YvZhHsF+RSGZW2VYrPQ==}
engines: {node: 20.x || 22.x || 23.x || 24.x || 25.x} engines: {node: 20.x || 22.x || 23.x || 24.x || 25.x}
bindings@1.5.0: bindings@1.5.0:
@@ -148,7 +148,7 @@ snapshots:
base64-js@1.5.1: {} base64-js@1.5.1: {}
better-sqlite3@12.9.0: better-sqlite3@12.8.0:
dependencies: dependencies:
bindings: 1.5.0 bindings: 1.5.0
prebuild-install: 7.1.3 prebuild-install: 7.1.3
+6
View File
@@ -3,6 +3,12 @@ events {
} }
http { http {
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml text/javascript image/svg+xml;
gzip_min_length 1000;
gzip_proxied any;
gzip_vary on;
server { server {
listen 7575; listen 7575;
listen [::]:7575; listen [::]:7575;
+10 -10
View File
@@ -1,6 +1,6 @@
{ {
"name": "homarr", "name": "homarr",
"version": "1.59.3", "version": "1.59.1",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "cross-env CI=true turbo build", "build": "cross-env CI=true turbo build",
@@ -15,7 +15,7 @@
"db:migration:sqlite:run": "pnpm -F db migration:sqlite:run", "db:migration:sqlite:run": "pnpm -F db migration:sqlite:run",
"db:push": "pnpm -F db push:sqlite", "db:push": "pnpm -F db push:sqlite",
"db:studio": "pnpm -F db studio", "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", "docker:dev": "docker compose -f ./development/development.docker-compose.yml up",
"format": "turbo format --continue -- --cache --cache-location node_modules/.cache/.prettiercache", "format": "turbo format --continue -- --cache --cache-location node_modules/.cache/.prettiercache",
"format:fix": "turbo format --continue -- --write --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:", "vite-tsconfig-paths": "catalog:",
"vitest": "catalog:" "vitest": "catalog:"
}, },
"packageManager": "pnpm@10.33.2", "packageManager": "pnpm@10.33.0",
"engines": { "engines": {
"node": ">=24.15.0", "node": ">=24.14.1",
"pnpm": ">=10.33.2" "pnpm": ">=10.33.0"
}, },
"pnpm": { "pnpm": {
"onlyBuiltDependencies": [ "onlyBuiltDependencies": [
@@ -79,23 +79,23 @@
"overrides": { "overrides": {
"@babel/helpers@<7.26.10": ">=7.29.2", "@babel/helpers@<7.26.10": ">=7.29.2",
"@babel/runtime@<7.26.10": ">=7.29.2", "@babel/runtime@<7.26.10": ">=7.29.2",
"axios@>=1.0.0 <1.8.2": ">=1.15.2", "axios@>=1.0.0 <1.8.2": ">=1.15.0",
"brace-expansion@>=2.0.0 <=2.0.1": ">=5.0.5", "brace-expansion@>=2.0.0 <=2.0.1": ">=5.0.5",
"brace-expansion@>=1.0.0 <=1.1.11": ">=5.0.5", "brace-expansion@>=1.0.0 <=1.1.11": ">=5.0.5",
"esbuild@<=0.24.2": ">=0.28.0", "esbuild@<=0.24.2": ">=0.28.0",
"form-data@>=4.0.0 <4.0.4": ">=4.0.5", "form-data@>=4.0.0 <4.0.4": ">=4.0.5",
"hono@<4.6.5": ">=4.12.15", "hono@<4.6.5": ">=4.12.12",
"linkifyjs@<4.3.2": ">=4.3.2", "linkifyjs@<4.3.2": ">=4.3.2",
"nanoid@>=4.0.0 <5.0.9": ">=5.1.9", "nanoid@>=4.0.0 <5.0.9": ">=5.1.7",
"prismjs@<1.30.0": ">=1.30.0", "prismjs@<1.30.0": ">=1.30.0",
"proxmox-api>undici": "7.24.6", "proxmox-api>undici": "7.24.6",
"react-is": "^19.2.5", "react-is": "^19.2.5",
"rollup@>=4.0.0 <4.22.4": ">=4.60.2", "rollup@>=4.0.0 <4.22.4": ">=4.60.1",
"sha.js@<=2.4.11": ">=2.4.12", "sha.js@<=2.4.11": ">=2.4.12",
"tar-fs@>=3.0.0 <3.0.9": ">=3.1.2", "tar-fs@>=3.0.0 <3.0.9": ">=3.1.2",
"tar-fs@>=2.0.0 <2.1.3": ">=3.1.2", "tar-fs@>=2.0.0 <2.1.3": ">=3.1.2",
"tmp@<=0.2.3": ">=0.2.5", "tmp@<=0.2.3": ">=0.2.5",
"vite@>=5.0.0 <=5.4.18": ">=8.0.10" "vite@>=5.0.0 <=5.4.18": ">=8.0.8"
}, },
"patchedDependencies": { "patchedDependencies": {
"@types/node-unifi": "patches/@types__node-unifi.patch", "@types/node-unifi": "patches/@types__node-unifi.patch",
+2 -2
View File
@@ -9,8 +9,7 @@
"./client": "./src/client.ts", "./client": "./src/client.ts",
"./server": "./src/server.ts", "./server": "./src/server.ts",
"./websocket": "./src/websocket.ts", "./websocket": "./src/websocket.ts",
"./shared": "./src/shared.ts", "./shared": "./src/shared.ts"
"./open-api": "./src/open-api.ts"
}, },
"main": "./index.ts", "main": "./index.ts",
"types": "./index.ts", "types": "./index.ts",
@@ -25,6 +24,7 @@
"@homarr/auth": "workspace:^0.1.0", "@homarr/auth": "workspace:^0.1.0",
"@homarr/common": "workspace:^0.1.0", "@homarr/common": "workspace:^0.1.0",
"@homarr/core": "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-job-status": "workspace:^0.1.0",
"@homarr/cron-jobs": "workspace:^0.1.0", "@homarr/cron-jobs": "workspace:^0.1.0",
"@homarr/db": "workspace:^0.1.0", "@homarr/db": "workspace:^0.1.0",
+2 -1
View File
@@ -1,5 +1,6 @@
import type { inferRouterInputs, inferRouterOutputs } from "@trpc/server"; import type { inferRouterInputs, inferRouterOutputs } from "@trpc/server";
import { openApiDocument } from "./open-api";
import type { AppRouter } from "./root"; import type { AppRouter } from "./root";
import { appRouter } from "./root"; import { appRouter } from "./root";
import { createCallerFactory, createTRPCContext } from "./trpc"; import { createCallerFactory, createTRPCContext } from "./trpc";
@@ -29,5 +30,5 @@ type RouterInputs = inferRouterInputs<AppRouter>;
**/ **/
type RouterOutputs = inferRouterOutputs<AppRouter>; type RouterOutputs = inferRouterOutputs<AppRouter>;
export { createTRPCContext, appRouter, createCaller }; export { createTRPCContext, appRouter, createCaller, openApiDocument };
export type { AppRouter, RouterInputs, RouterOutputs }; export type { AppRouter, RouterInputs, RouterOutputs };
+2 -13
View File
@@ -2,21 +2,10 @@ import { generateOpenApiDocument } from "trpc-to-openapi";
import { API_KEY_HEADER_NAME } from "@homarr/auth/api-key"; import { API_KEY_HEADER_NAME } from "@homarr/auth/api-key";
import { appRouter } from "./router/app"; import { appRouter } from "./root";
import { infoRouter } from "./router/info";
import { inviteRouter } from "./router/invite";
import { userRouter } from "./router/user";
import { createTRPCRouter } from "./trpc";
export const openApiRouter = createTRPCRouter({
appRouter,
infoRouter,
inviteRouter,
userRouter,
});
export const openApiDocument = (base: string) => export const openApiDocument = (base: string) =>
generateOpenApiDocument(openApiRouter, { generateOpenApiDocument(appRouter, {
title: "Homarr API documentation", title: "Homarr API documentation",
version: "1.0.0", version: "1.0.0",
baseUrl: base, baseUrl: base,
+16 -19
View File
@@ -2,36 +2,33 @@ import { observable } from "@trpc/server/observable";
import z from "zod/v4"; import z from "zod/v4";
import { createLogger } from "@homarr/core/infrastructure/logs"; import { createLogger } from "@homarr/core/infrastructure/logs";
import { cronExpressionSchema, jobGroupKeys, jobNameSchema } from "@homarr/cron-job-api";
import { cronJobApi } from "@homarr/cron-job-api/client";
import type { TaskStatus } from "@homarr/cron-job-status"; import type { TaskStatus } from "@homarr/cron-job-status";
import { createCronJobStatusChannel } from "@homarr/cron-job-status"; import { createCronJobStatusChannel } from "@homarr/cron-job-status";
import { cronExpressionSchema, jobGroup } from "@homarr/cron-jobs";
import { JobManager } from "@homarr/cron-jobs/job-manager";
import { createTRPCRouter, permissionRequiredProcedure } from "../trpc"; import { createTRPCRouter, permissionRequiredProcedure } from "../trpc";
const jobGroupKeys = jobGroup.getKeys();
const jobNameSchema = z.enum(jobGroup.getKeys());
const logger = createLogger({ module: "cronJobsRouter" }); const logger = createLogger({ module: "cronJobsRouter" });
export const cronJobsRouter = createTRPCRouter({ export const cronJobsRouter = createTRPCRouter({
triggerJob: permissionRequiredProcedure triggerJob: permissionRequiredProcedure
.requiresPermission("admin") .requiresPermission("admin")
.input(jobNameSchema) .input(jobNameSchema)
.mutation(async ({ input, ctx }) => { .mutation(async ({ input }) => {
await new JobManager(ctx.db, jobGroup).triggerAsync(input); await cronJobApi.trigger.mutate(input);
}), }),
startJob: permissionRequiredProcedure startJob: permissionRequiredProcedure
.requiresPermission("admin") .requiresPermission("admin")
.input(jobNameSchema) .input(jobNameSchema)
.mutation(async ({ input, ctx }) => { .mutation(async ({ input }) => {
await new JobManager(ctx.db, jobGroup).startAsync(input); await cronJobApi.start.mutate(input);
}), }),
stopJob: permissionRequiredProcedure stopJob: permissionRequiredProcedure
.requiresPermission("admin") .requiresPermission("admin")
.input(jobNameSchema) .input(jobNameSchema)
.mutation(async ({ input, ctx }) => { .mutation(async ({ input }) => {
await new JobManager(ctx.db, jobGroup).stopAsync(input); await cronJobApi.stop.mutate(input);
}), }),
updateJobInterval: permissionRequiredProcedure updateJobInterval: permissionRequiredProcedure
.requiresPermission("admin") .requiresPermission("admin")
@@ -41,23 +38,23 @@ export const cronJobsRouter = createTRPCRouter({
cron: cronExpressionSchema, cron: cronExpressionSchema,
}), }),
) )
.mutation(async ({ input, ctx }) => { .mutation(async ({ input }) => {
await new JobManager(ctx.db, jobGroup).updateIntervalAsync(input.name, input.cron); await cronJobApi.updateInterval.mutate(input);
}), }),
disableJob: permissionRequiredProcedure disableJob: permissionRequiredProcedure
.requiresPermission("admin") .requiresPermission("admin")
.input(jobNameSchema) .input(jobNameSchema)
.mutation(async ({ input, ctx }) => { .mutation(async ({ input }) => {
await new JobManager(ctx.db, jobGroup).disableAsync(input); await cronJobApi.disable.mutate(input);
}), }),
enableJob: permissionRequiredProcedure enableJob: permissionRequiredProcedure
.requiresPermission("admin") .requiresPermission("admin")
.input(jobNameSchema) .input(jobNameSchema)
.mutation(async ({ input, ctx }) => { .mutation(async ({ input }) => {
await new JobManager(ctx.db, jobGroup).enableAsync(input); await cronJobApi.enable.mutate(input);
}), }),
getJobs: permissionRequiredProcedure.requiresPermission("admin").query(async ({ ctx }) => { getJobs: permissionRequiredProcedure.requiresPermission("admin").query(async () => {
return await new JobManager(ctx.db, jobGroup).getAllAsync(); return await cronJobApi.getAll.query();
}), }),
subscribeToStatusUpdates: permissionRequiredProcedure.requiresPermission("admin").subscription(() => { subscribeToStatusUpdates: permissionRequiredProcedure.requiresPermission("admin").subscription(() => {
return observable<TaskStatus>((emit) => { return observable<TaskStatus>((emit) => {
+9
View File
@@ -0,0 +1,9 @@
import baseConfig from "@homarr/eslint-config/base";
/** @type {import('typescript-eslint').Config} */
export default [
{
ignores: [],
},
...baseConfig,
];
+48
View File
@@ -0,0 +1,48 @@
{
"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:",
"node-cron": "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/node-cron": "catalog:",
"@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,
});
+90
View File
@@ -0,0 +1,90 @@
import { initTRPC, TRPCError } from "@trpc/server";
import { validate } from "node-cron";
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>;
stopAsync(name: JobGroupKeys): Promise<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 cronExpressionSchema = z.string().refine((expression) => validate(expression), {
error: "Invalid cron expression",
});
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(async ({ input, ctx }) => {
await ctx.manager.stopAsync(input);
}),
updateInterval: apiKeyProcedure
.input(
z.object({
name: jobNameSchema,
cron: cronExpressionSchema,
}),
)
.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 -6
View File
@@ -5,8 +5,7 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"type": "module", "type": "module",
"exports": { "exports": {
".": "./index.ts", ".": "./index.ts"
"./job-manager": "./src/job-manager.ts"
}, },
"typesVersions": { "typesVersions": {
"*": { "*": {
@@ -39,15 +38,12 @@
"@homarr/server-settings": "workspace:^0.1.0", "@homarr/server-settings": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0", "@homarr/translation": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0", "@homarr/validation": "workspace:^0.1.0",
"node-cron": "catalog:", "semver-parser": "catalog:"
"semver-parser": "catalog:",
"zod": "catalog:"
}, },
"devDependencies": { "devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/node-cron": "catalog:",
"eslint": "catalog:", "eslint": "catalog:",
"typescript": "catalog:" "typescript": "catalog:"
} }
+28 -40
View File
@@ -27,45 +27,33 @@ import { updateCheckerJob } from "./jobs/update-checker";
import { weatherJob } from "./jobs/weather"; import { weatherJob } from "./jobs/weather";
import { createCronJobGroup } from "./lib"; import { createCronJobGroup } from "./lib";
const getJobGroup = () => { export const jobGroup = createCronJobGroup({
return createCronJobGroup({ analytics: analyticsJob,
analytics: analyticsJob, iconsUpdater: iconsUpdaterJob,
iconsUpdater: iconsUpdaterJob, ping: pingJob,
ping: pingJob, smartHomeEntityState: smartHomeEntityStateJob,
smartHomeEntityState: smartHomeEntityStateJob, mediaServer: mediaServerJob,
mediaServer: mediaServerJob, mediaOrganizer: mediaOrganizerJob,
mediaOrganizer: mediaOrganizerJob, downloads: downloadsJob,
downloads: downloadsJob, dnsHole: dnsHoleJob,
dnsHole: dnsHoleJob, mediaRequestStats: mediaRequestStatsJob,
mediaRequestStats: mediaRequestStatsJob, mediaRequestList: mediaRequestListJob,
mediaRequestList: mediaRequestListJob, rssFeeds: rssFeedsJob,
rssFeeds: rssFeedsJob, indexerManager: indexerManagerJob,
indexerManager: indexerManagerJob, healthMonitoring: healthMonitoringJob,
healthMonitoring: healthMonitoringJob, updateChecker: updateCheckerJob,
updateChecker: updateCheckerJob, mediaTranscoding: mediaTranscodingJob,
mediaTranscoding: mediaTranscodingJob, minecraftServerStatus: minecraftServerStatusJob,
minecraftServerStatus: minecraftServerStatusJob, dockerContainers: dockerContainersJob,
dockerContainers: dockerContainersJob, networkController: networkControllerJob,
networkController: networkControllerJob, firewallCpu: firewallCpuJob,
firewallCpu: firewallCpuJob, firewallMemory: firewallMemoryJob,
firewallMemory: firewallMemoryJob, firewallVersion: firewallVersionJob,
firewallVersion: firewallVersionJob, firewallInterfaces: firewallInterfacesJob,
firewallInterfaces: firewallInterfacesJob, refreshNotifications: refreshNotificationsJob,
refreshNotifications: refreshNotificationsJob, weather: weatherJob,
weather: weatherJob, timetable: timetableJob,
timetable: timetableJob, tracearr: tracearrJob,
tracearr: tracearrJob, });
});
};
// Add global type augmentation for homarr
declare global {
var cronJobs: ReturnType<typeof getJobGroup> | undefined;
}
global.cronJobs ??= getJobGroup();
export const jobGroup = global.cronJobs;
export type JobGroupKeys = ReturnType<(typeof jobGroup)["getKeys"]>[number]; export type JobGroupKeys = ReturnType<(typeof jobGroup)["getKeys"]>[number];
export * from "./schemas";
-6
View File
@@ -1,6 +0,0 @@
import { validate } from "node-cron";
import z from "zod";
export const cronExpressionSchema = z.string().refine((expression) => validate(expression), {
error: "Invalid cron expression",
});
@@ -113,9 +113,7 @@ export class NextcloudIntegration extends Integration implements ICalendarIntegr
// next actually returns undefined when there are no more occurrences // next actually returns undefined when there are no more occurrences
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
while ((next = iterator.next())) { while ((next = iterator.next())) {
const nextStartDate = next.isDate const nextStartDate = next.convertToZone(ICAL.Timezone.utcTimezone).toJSDate();
? next.toJSDate()
: next.convertToZone(ICAL.Timezone.utcTimezone).toJSDate();
if (nextStartDate > end) break; if (nextStartDate > end) break;
const nextEndDate = new Date(nextStartDate.getTime() + durationMs); const nextEndDate = new Date(nextStartDate.getTime() + durationMs);
if (nextEndDate < start) continue; if (nextEndDate < start) continue;
@@ -123,11 +121,7 @@ export class NextcloudIntegration extends Integration implements ICalendarIntegr
startDates.push(nextStartDate); startDates.push(nextStartDate);
} }
} else { } else {
startDates = [ startDates = [veventObject.startDate.convertToZone(ICAL.Timezone.utcTimezone).toJSDate()];
veventObject.startDate.isDate
? veventObject.startDate.toJSDate()
: veventObject.startDate.convertToZone(ICAL.Timezone.utcTimezone).toJSDate(),
];
} }
return startDates.map((startDate) => { return startDates.map((startDate) => {
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
+25 -29
View File
@@ -1614,22 +1614,22 @@
"label": "" "label": ""
}, },
"showTitle": { "showTitle": {
"label": "显示标题" "label": ""
}, },
"showUpdatedAt": { "showUpdatedAt": {
"label": "显示最近更新" "label": ""
} }
}, },
"empty": "选择要显示的笔记", "empty": "",
"emptyContent": "此笔记没有内容", "emptyContent": "",
"notFound": "未找到笔记", "notFound": "",
"noNotes": "", "noNotes": "",
"integrationRequired": "", "integrationRequired": "",
"updatedAt": "更新时间:{date}", "updatedAt": "",
"untitled": "未命名", "untitled": "",
"edit": "编辑", "edit": "",
"save": "保存", "save": "",
"cancel": "取消", "cancel": "",
"readOnlyViewer": "", "readOnlyViewer": "",
"saveForbidden": "", "saveForbidden": "",
"saveFailed": "" "saveFailed": ""
@@ -1901,7 +1901,7 @@
"label": "显示内存信息" "label": "显示内存信息"
}, },
"gpu": { "gpu": {
"label": "显示 GPU 信息" "label": ""
}, },
"showUptime": { "showUptime": {
"label": "显示运行时间" "label": "显示运行时间"
@@ -2200,15 +2200,15 @@
"description": "" "description": ""
}, },
"showPhotos": { "showPhotos": {
"label": "显示图片", "label": "",
"description": "" "description": ""
}, },
"showVideos": { "showVideos": {
"label": "显示视频", "label": "",
"description": "" "description": ""
}, },
"showStorage": { "showStorage": {
"label": "显示存储", "label": "",
"description": "" "description": ""
} }
}, },
@@ -2229,7 +2229,7 @@
"description": "" "description": ""
}, },
"showPhotoInfo": { "showPhotoInfo": {
"label": "显示图片信息", "label": "",
"description": "" "description": ""
} }
}, },
@@ -2783,17 +2783,17 @@
"recentResults": "", "recentResults": "",
"recentResultsSpeed": "", "recentResultsSpeed": "",
"recentResultsPing": "", "recentResultsPing": "",
"download": "下载", "download": "",
"upload": "上传", "upload": "",
"ping": "Ping", "ping": "",
"status": "状态", "status": "",
"avgDownload": "平均下载", "avgDownload": "",
"avgUpload": "平均上传", "avgUpload": "",
"avgPing": "平均Ping", "avgPing": "",
"healthy": "", "healthy": "",
"unhealthy": "", "unhealthy": "",
"ok": "", "ok": "",
"fail": "失败", "fail": "",
"noSectionsEnabled": "", "noSectionsEnabled": "",
"error": { "error": {
"internalServerError": "" "internalServerError": ""
@@ -2812,7 +2812,7 @@
"option": { "option": {
"cpu": "CPU", "cpu": "CPU",
"memory": "内存", "memory": "内存",
"gpu": "GPU", "gpu": "",
"network": "网络" "network": "网络"
} }
}, },
@@ -2829,7 +2829,7 @@
"card": { "card": {
"cpu": "CPU", "cpu": "CPU",
"memory": "内存", "memory": "内存",
"gpu": "GPU", "gpu": "",
"network": "网络", "network": "网络",
"up": "上传", "up": "上传",
"down": "下载" "down": "下载"
@@ -3790,10 +3790,6 @@
"title": "翻译人员", "title": "翻译人员",
"subtitle": "在许多语言中,有{count}人贡献了翻译" "subtitle": "在许多语言中,有{count}人贡献了翻译"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "相关的库", "title": "相关的库",
"subtitle": "{count} 用于 Homarr 代码中" "subtitle": "{count} 用于 Homarr 代码中"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "crwdns1884:0crwdne1884:0", "title": "crwdns1884:0crwdne1884:0",
"subtitle": "crwdns1886:0{count}crwdne1886:0" "subtitle": "crwdns1886:0{count}crwdne1886:0"
}, },
"sponsors": {
"title": "crwdns4100:0crwdne4100:0",
"subtitle": "crwdns4102:0{count}crwdne4102:0"
},
"libraries": { "libraries": {
"title": "crwdns1888:0crwdne1888:0", "title": "crwdns1888:0crwdne1888:0",
"subtitle": "crwdns1890:0{count}crwdne1890:0" "subtitle": "crwdns1890:0{count}crwdne1890:0"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Překladatelé", "title": "Překladatelé",
"subtitle": "{count} přispívá překladem do mnoha jazyků" "subtitle": "{count} přispívá překladem do mnoha jazyků"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Oversættere", "title": "Oversættere",
"subtitle": "{count} bidragende oversættere på mange sprog" "subtitle": "{count} bidragende oversættere på mange sprog"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Biblioteker", "title": "Biblioteker",
"subtitle": "{count} brugt i koden for Homarr" "subtitle": "{count} brugt i koden for Homarr"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Übersetzer", "title": "Übersetzer",
"subtitle": "{count} tragen Übersetzungen in viele Sprachen bei" "subtitle": "{count} tragen Übersetzungen in viele Sprachen bei"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Bibliotheken", "title": "Bibliotheken",
"subtitle": "{count} im Code von Homarr verwendet" "subtitle": "{count} im Code von Homarr verwendet"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Übersetzer", "title": "Übersetzer",
"subtitle": "{count} tragen Übersetzungen in viele Sprachen bei" "subtitle": "{count} tragen Übersetzungen in viele Sprachen bei"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Bibliotheken", "title": "Bibliotheken",
"subtitle": "{count} im Code von Homarr verwendet" "subtitle": "{count} im Code von Homarr verwendet"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
+18 -22
View File
@@ -1607,32 +1607,32 @@
} }
}, },
"anchorNote": { "anchorNote": {
"name": "Anchor Note", "name": "",
"description": "Displays a selected note from Anchor", "description": "",
"option": { "option": {
"noteId": { "noteId": {
"label": "Note" "label": ""
}, },
"showTitle": { "showTitle": {
"label": "Show title" "label": ""
}, },
"showUpdatedAt": { "showUpdatedAt": {
"label": "Show last updated" "label": ""
} }
}, },
"empty": "Select a note to display", "empty": "",
"emptyContent": "This note has no content", "emptyContent": "",
"notFound": "Note not found", "notFound": "",
"noNotes": "No notes found", "noNotes": "",
"integrationRequired": "Select an Anchor integration first", "integrationRequired": "",
"updatedAt": "Updated {date}", "updatedAt": "",
"untitled": "Untitled", "untitled": "",
"edit": "Edit", "edit": "",
"save": "Save", "save": "",
"cancel": "Cancel", "cancel": "",
"readOnlyViewer": "You have viewer access to this note. Editing is disabled.", "readOnlyViewer": "",
"saveForbidden": "You do not have permission to edit this note.", "saveForbidden": "",
"saveFailed": "Failed to save this note. Please try again." "saveFailed": ""
}, },
"iframe": { "iframe": {
"name": "iFrame", "name": "iFrame",
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Translators", "title": "Translators",
"subtitle": "{count} contributing translations in many languages" "subtitle": "{count} contributing translations in many languages"
}, },
"sponsors": {
"title": "Sponsors",
"subtitle": "{count} supporting the project financially"
},
"libraries": { "libraries": {
"title": "Libraries", "title": "Libraries",
"subtitle": "{count} used in the Code of Homarr" "subtitle": "{count} used in the Code of Homarr"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Traductores", "title": "Traductores",
"subtitle": "{count} contribuyendo con las traducciones en muchos idiomas" "subtitle": "{count} contribuyendo con las traducciones en muchos idiomas"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Librerías", "title": "Librerías",
"subtitle": "{count} usadas en el Código de Homarr" "subtitle": "{count} usadas en el Código de Homarr"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Traducteurs", "title": "Traducteurs",
"subtitle": "{count} ont contribué à des traductions dans de nombreuses langues" "subtitle": "{count} ont contribué à des traductions dans de nombreuses langues"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Bibliothèques", "title": "Bibliothèques",
"subtitle": "{count} utilisés dans le Code d'Homarr" "subtitle": "{count} utilisés dans le Code d'Homarr"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "מתרגמים", "title": "מתרגמים",
"subtitle": "{count} תורמים בתרגום לשפות שונות" "subtitle": "{count} תורמים בתרגום לשפות שונות"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "ספריות", "title": "ספריות",
"subtitle": "{count} בשימוש בקוד של Homarr" "subtitle": "{count} בשימוש בקוד של Homarr"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
+146 -150
View File
@@ -2101,7 +2101,7 @@
"query": "Város / Irányítószám", "query": "Város / Irányítószám",
"latitude": "Szélesség", "latitude": "Szélesség",
"longitude": "Hosszúság", "longitude": "Hosszúság",
"disabledTooltip": "Adj meg egy várost vagy irányítószámot", "disabledTooltip": "",
"unknownLocation": "Ismeretlen hely", "unknownLocation": "Ismeretlen hely",
"search": "Keresés", "search": "Keresés",
"table": { "table": {
@@ -2120,16 +2120,16 @@
} }
}, },
"integration": { "integration": {
"noData": "Nem találtam integrációt", "noData": "",
"description": "Kattintson <here></here> egy új integráció létrehozásához" "description": ""
}, },
"app": { "app": {
"noData": "Nem található alkalmazás", "noData": "Nem található alkalmazás",
"description": "Kattintson <here></here> egy új alkalmazás létrehozásához", "description": "",
"quickCreate": "Alkalmazás létrehozása pillanatok alatt" "quickCreate": ""
}, },
"error": { "error": {
"noIntegration": "Nincs kiválasztva integráció", "noIntegration": "",
"noData": "Nincs elérhető integrációs adat" "noData": "Nincs elérhető integrációs adat"
}, },
"option": {} "option": {}
@@ -2325,20 +2325,20 @@
"detailsTitle": "Összes letöltés" "detailsTitle": "Összes letöltés"
}, },
"sent": { "sent": {
"columnTitle": "Teljesen fönn", "columnTitle": "",
"detailsTitle": "Teljesen föltöltött" "detailsTitle": ""
}, },
"size": { "size": {
"columnTitle": "Fájl mérete", "columnTitle": "",
"detailsTitle": "A kijelölt elemek/fájlok teljes mérete" "detailsTitle": ""
}, },
"state": { "state": {
"columnTitle": "Állapot", "columnTitle": "Állapot",
"detailsTitle": "A feladat állapota" "detailsTitle": ""
}, },
"time": { "time": {
"columnTitle": "Befejezési idő", "columnTitle": "",
"detailsTitle": "A befejezésig hátralévő idő" "detailsTitle": ""
}, },
"type": { "type": {
"columnTitle": "Típus", "columnTitle": "Típus",
@@ -2364,57 +2364,57 @@
"actions": { "actions": {
"clients": { "clients": {
"modalTitle": "Letöltkliensek listája", "modalTitle": "Letöltkliensek listája",
"pause": "Minden kliens/elem felfüggesztése", "pause": "",
"resume": "Minden kliens/elem folytatása" "resume": ""
}, },
"client": { "client": {
"pause": "Kliens felfüggesztése", "pause": "",
"resume": "Kliens folytatása" "resume": ""
}, },
"item": { "item": {
"pause": "Elem felfüggesztése", "pause": "",
"resume": "Elem folytatása", "resume": "",
"delete": { "delete": {
"title": "Elem törlése", "title": "",
"modalTitle": "Biztosan törli ezt a feladatot?", "modalTitle": "",
"entry": "Bejegyzés törlése", "entry": "",
"entryAndFiles": "Bejegyzés és file(ok) törlése" "entryAndFiles": ""
} }
} }
}, },
"globalRatio": "Összes arány" "globalRatio": ""
}, },
"mediaReleases": { "mediaReleases": {
"name": "Sajtóközlemények", "name": "",
"description": "Az egyes integrációkból származó újonnan hozzáadott médiafájlok vagy hamarosan megjelenő kiadványok megjelenítése", "description": "",
"option": { "option": {
"layout": { "layout": {
"label": "Elrendezés", "label": "",
"option": { "option": {
"backdrop": { "backdrop": {
"label": "Háttér" "label": ""
}, },
"poster": { "poster": {
"label": "Poszter" "label": ""
} }
} }
}, },
"showDescriptionTooltip": { "showDescriptionTooltip": {
"label": "Leírás megjelenítése" "label": ""
}, },
"showType": { "showType": {
"label": "Médiatípus-jelölő megjelenítése" "label": ""
}, },
"showSource": { "showSource": {
"label": "Forrásintegráció megjelenítése" "label": ""
} }
}, },
"length": { "length": {
"duration": "{length}perc" "duration": ""
} }
}, },
"mediaRequests-requestList": { "mediaRequests-requestList": {
"name": "Médiakérések listája", "name": "",
"description": "Az Overseerr vagy Jellyseerr példány összes médiakérelmének listájának megtekintése", "description": "Az Overseerr vagy Jellyseerr példány összes médiakérelmének listájának megtekintése",
"option": { "option": {
"linksTargetNewTab": { "linksTargetNewTab": {
@@ -2422,31 +2422,31 @@
} }
}, },
"pending": { "pending": {
"approve": "Kérelem elfogadása", "approve": "",
"approving": "Kérelem elfogadása...", "approving": "",
"decline": "Kérés elutasítása" "decline": ""
}, },
"availability": { "availability": {
"unknown": "Ismeretlen", "unknown": "Ismeretlen",
"pending": "Függőben", "pending": "",
"processing": "Feldolgozás", "processing": "Feldolgozás",
"requested": "Kérve", "requested": "",
"partiallyAvailable": "Részleges", "partiallyAvailable": "Részleges",
"available": "Elérhető", "available": "Elérhető",
"blacklisted": "Tiltólistára került", "blacklisted": "",
"deleted": "Törölve" "deleted": ""
}, },
"status": { "status": {
"pending": "Függőben", "pending": "",
"approved": "Jóváhagyva", "approved": "",
"declined": "Elutasítva", "declined": "",
"failed": "Sikertelen", "failed": "",
"completed": "Befejezett" "completed": ""
}, },
"toBeDetermined": "TBD" "toBeDetermined": ""
}, },
"mediaRequests-requestStats": { "mediaRequests-requestStats": {
"name": "Médiakérések állapota", "name": "",
"description": "Statisztikák az Ön médiakéréseiről", "description": "Statisztikák az Ön médiakéréseiről",
"option": {}, "option": {},
"titles": { "titles": {
@@ -2528,56 +2528,56 @@
}, },
"rssFeed": { "rssFeed": {
"name": "RSS feedek", "name": "RSS feedek",
"description": "Egy vagy több általános RSS-, ATOM- vagy JSON-hírcsatorna figyelése és megjelenítése", "description": "",
"option": { "option": {
"feedUrls": { "feedUrls": {
"label": "Hírcsatorna URL" "label": ""
}, },
"enableRtl": { "enableRtl": {
"label": "RTL engedélyezése" "label": ""
}, },
"textLinesClamp": { "textLinesClamp": {
"label": "Leírás sorlimit" "label": ""
}, },
"maximumAmountPosts": { "maximumAmountPosts": {
"label": "Bejegyzések számának korlátja" "label": ""
}, },
"hideDescription": { "hideDescription": {
"label": "Leírás elrejtése" "label": ""
}, },
"showPosterImage": { "showPosterImage": {
"label": "Plakátkép megjelenítése" "label": ""
} }
} }
}, },
"releases": { "releases": {
"name": "Kiadások", "name": "",
"description": "Megjeleníti az adott tárolók aktuális verzióinak listáját a megadott verzió-kifejezés alapján.", "description": "",
"option": { "option": {
"newReleaseWithin": { "newReleaseWithin": {
"label": "Új kiadás a", "label": "",
"description": "Használati példa: 1w (1 hét), 10M (10 hónap). Elfogadott mértékegységek: h (óra), d (nap), w (hét), M (hónap), y (év). Ha nem szeretné, hogy az új kiadások kiemelve jelenjenek meg, hagyja üresen." "description": ""
}, },
"staleReleaseWithin": { "staleReleaseWithin": {
"label": "Elavult kiadás", "label": "",
"description": "Használati példa: 1w (1 hét), 10M (10 hónap). Elfogadott mértékegységek: h (óra), d (nap), w (hét), M (hónap), y (év). Ha nem szeretné, hogy a régi kiadások ki legyenek emelve, hagyja üresen." "description": ""
}, },
"showOnlyHighlighted": { "showOnlyHighlighted": {
"label": "Csak a kiemelt elemeket mutasd", "label": "",
"description": "Csak az új vagy lejárt kiadásokat mutassa. A fentiek szerint." "description": ""
}, },
"showDetails": { "showDetails": {
"label": "Részletek megjelenítése" "label": ""
}, },
"showOnlyIcon": { "showOnlyIcon": {
"label": "Csak ikonok megjelenítése" "label": ""
}, },
"topReleases": { "topReleases": {
"label": "Legnépszerűbb kiadások", "label": "",
"description": "A megjelenítendő legújabb kiadások maximális száma. A nulla érték korlátlan számot jelent." "description": ""
}, },
"repositories": { "repositories": {
"label": "Csomagtárolók", "label": "",
"addRepository": { "addRepository": {
"label": "Gyűjtemény Hozzáadása" "label": "Gyűjtemény Hozzáadása"
}, },
@@ -2597,39 +2597,39 @@
}, },
"identifier": { "identifier": {
"label": "Azonosító", "label": "Azonosító",
"placeholder": "Név vagy tulajdonos/név" "placeholder": ""
}, },
"name": { "name": {
"label": "Név" "label": ""
}, },
"versionFilter": { "versionFilter": {
"label": "Verziószűrő", "label": "",
"prefix": { "prefix": {
"label": "Előtag" "label": ""
}, },
"precision": { "precision": {
"label": "Pontosság", "label": "",
"options": { "options": {
"none": "Nem" "none": ""
} }
}, },
"suffix": { "suffix": {
"label": "Utótag" "label": ""
}, },
"regex": { "regex": {
"label": "Reguláris kifejezés" "label": ""
} }
}, },
"edit": { "edit": {
"label": "Szerkesztés" "label": ""
}, },
"editForm": { "editForm": {
"title": "Gyűjtemény Szerkesztése", "title": "",
"cancel": { "cancel": {
"label": "Mégse" "label": ""
}, },
"confirm": { "confirm": {
"label": "Megerősít" "label": ""
} }
}, },
"importForm": { "importForm": {
@@ -2742,94 +2742,94 @@
"fwname": "", "fwname": "",
"version": "", "version": "",
"versiontitle": "", "versiontitle": "",
"cputitle": "CPU használat", "cputitle": "",
"memorytitle": "Memória használat", "memorytitle": "",
"cpu": "CPU", "cpu": "",
"memory": "Memória", "memory": "",
"interfaces": { "interfaces": {
"name": "név", "name": "",
"trans": "Továbbított", "trans": "",
"recv": "Kézbesített", "recv": "",
"title": "Hálózati interfészek" "title": ""
} }
} }
}, },
"notifications": { "notifications": {
"name": "Értesítések", "name": "",
"description": "Egy integráció értesítési előzményeinek megjelenítése", "description": "",
"noItems": "Nincs megjelenítendő üzenet.", "noItems": "",
"option": {} "option": {}
}, },
"speedtestTracker": { "speedtestTracker": {
"name": "Hálózatsebesség Monitorozó", "name": "",
"description": "Megjeleníti a Hálózatsebesség Monitorozó példányából származó sebességteszt-eredményeket.", "description": "",
"option": { "option": {
"showLatestResult": { "showLatestResult": {
"label": "Legfrissebb eredmények megjelenítése" "label": ""
}, },
"showStats": { "showStats": {
"label": "Átlag mutatása" "label": ""
}, },
"showRecentResults": { "showRecentResults": {
"label": "Legutóbbi eredmények megjelenítése" "label": ""
}, },
"showPingGraph": { "showPingGraph": {
"label": "Válaszidő grafikon megjelenítése" "label": ""
} }
}, },
"latestResult": "Legfrissebb eredmény", "latestResult": "",
"averages": "Átlagok", "averages": "",
"tests": "{count} mérések", "tests": "",
"recentResults": "Legutóbbi eredmények", "recentResults": "",
"recentResultsSpeed": "Sebesség", "recentResultsSpeed": "",
"recentResultsPing": "Válaszidő", "recentResultsPing": "",
"download": "Letöltés", "download": "",
"upload": "Feltöltés", "upload": "",
"ping": "Válaszidő", "ping": "",
"status": "Állapot", "status": "",
"avgDownload": "Átlag Letöltés", "avgDownload": "",
"avgUpload": "Átlag Feltöltés", "avgUpload": "",
"avgPing": "Átlag válaszidő", "avgPing": "",
"healthy": "Normális", "healthy": "",
"unhealthy": "Rossz", "unhealthy": "",
"ok": "OK", "ok": "",
"fail": "Hiba", "fail": "",
"noSectionsEnabled": "A widget beállításaiban legalább egy szakaszt engedélyezzen.", "noSectionsEnabled": "",
"error": { "error": {
"internalServerError": "A sebességteszt-adatok letöltése nem sikerült" "internalServerError": ""
} }
}, },
"systemResources": { "systemResources": {
"name": "Rendszer erőforrások", "name": "",
"description": "A rendszer CPU-, memória-, lemez- és egyéb hardverhasználata", "description": "",
"option": { "option": {
"hasShadow": { "hasShadow": {
"label": "Diagram árnyékolás engedélyezése" "label": ""
}, },
"visibleCharts": { "visibleCharts": {
"label": "Látható diagramok", "label": "",
"description": "Válassza ki azokat a diagramokat, amelyeket meg szeretne jeleníteni.", "description": "",
"option": { "option": {
"cpu": "CPU", "cpu": "",
"memory": "Memória", "memory": "",
"gpu": "GPU", "gpu": "",
"network": "Hálózat" "network": ""
} }
}, },
"labelDisplayMode": { "labelDisplayMode": {
"label": "Címke megjelenítési mód", "label": "",
"option": { "option": {
"textWithIcon": "Szöveg megjelenítése ikonnal", "textWithIcon": "",
"text": "Csak a szöveget mutasd", "text": "",
"icon": "Csak az ikont mutatsd", "icon": "",
"hidden": "Címke elrejtése" "hidden": ""
} }
} }
}, },
"card": { "card": {
"cpu": "CPU", "cpu": "",
"memory": "RAM", "memory": "",
"gpu": "GPU", "gpu": "",
"network": "", "network": "",
"up": "", "up": "",
"down": "" "down": ""
@@ -2971,20 +2971,20 @@
}, },
"field": { "field": {
"pageTitle": { "pageTitle": {
"label": "Oldal cím" "label": ""
}, },
"metaTitle": { "metaTitle": {
"label": "Meta cím" "label": ""
}, },
"logoImageUrl": { "logoImageUrl": {
"label": "Logo kép URL" "label": ""
}, },
"faviconImageUrl": { "faviconImageUrl": {
"label": "A favicon képének URL-címe" "label": ""
}, },
"backgroundImageUrl": { "backgroundImageUrl": {
"label": "Háttérkép URL", "label": "",
"placeholder": "Kezdje el gépelni a helyi képek kereséséhez", "placeholder": "",
"group": { "group": {
"your": "", "your": "",
"other": "" "other": ""
@@ -3495,7 +3495,7 @@
"title": "", "title": "",
"general": { "general": {
"title": "", "title": "",
"text": "A Homarr az Umami nevű nyílt forráskódú szoftver segítségével névtelen elemzési adatokat küld. Ha ez az opció engedélyezve van, a következő adatokat gyűjtjük: a Homarr verziója, az adatbázis típusa (MySQL/PostgreSQL/SQLite), a Docker/Kubernetes állapota, az engedélyezett hitelesítési módszerek, valamint az egyes funkciók száma. Minden adat névtelen és összesített formában kerül rögzítésre – személyes adatokat, URL-eket, neveket vagy bármilyen azonosítható adatot soha nem gyűjtünk. Ez segít nyílt forráskódú fejlesztői csapatunknak a használati szokások megértésében és a fejlesztési feladatok fontossági sorrendjének meghatározásában." "text": ""
}, },
"widgetData": { "widgetData": {
"title": "", "title": "",
@@ -3652,10 +3652,10 @@
"label": "" "label": ""
}, },
"firewallCpu": { "firewallCpu": {
"label": "Tűzfal CPU" "label": ""
}, },
"firewallMemory": { "firewallMemory": {
"label": "Tűzfal Memória" "label": ""
}, },
"firewallVersion": { "firewallVersion": {
"label": "" "label": ""
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
@@ -3843,10 +3839,10 @@
}, },
"stats": { "stats": {
"cpu": { "cpu": {
"label": "CPU" "label": ""
}, },
"memory": { "memory": {
"label": "Memória" "label": ""
} }
}, },
"containerImage": { "containerImage": {
@@ -3984,10 +3980,10 @@
} }
}, },
"cpu": { "cpu": {
"label": "CPU" "label": ""
}, },
"memory": { "memory": {
"label": "RAM" "label": ""
}, },
"pods": { "pods": {
"label": "" "label": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Traduttori", "title": "Traduttori",
"subtitle": "{count} contribuendo alle traduzioni in molte lingue" "subtitle": "{count} contribuendo alle traduzioni in molte lingue"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Librerie", "title": "Librerie",
"subtitle": "{count} utilizzato nel Codice di Homarr" "subtitle": "{count} utilizzato nel Codice di Homarr"
+136 -140
View File
@@ -1138,9 +1138,9 @@
"dangerZone": "危険な操作", "dangerZone": "危険な操作",
"noResults": "結果が見つかりません", "noResults": "結果が見つかりません",
"unsavedChanges": "保存していない変更があります!", "unsavedChanges": "保存していない変更があります!",
"servers": "サーバー", "servers": "",
"applications": "アプリケーション", "applications": "",
"services": "サービス", "services": "",
"preview": { "preview": {
"show": "プレビューを表示", "show": "プレビューを表示",
"hide": "プレビューを閉じる" "hide": "プレビューを閉じる"
@@ -1526,13 +1526,13 @@
} }
}, },
"timetable": { "timetable": {
"name": "タイムテーブル", "name": "",
"description": "駅の出発時刻を表示します", "description": "",
"title": "{station} 出発時刻", "title": "",
"noStation": "駅が選択されていません", "noStation": "",
"option": { "option": {
"station": { "station": {
"label": "駅" "label": ""
} }
} }
}, },
@@ -1607,32 +1607,32 @@
} }
}, },
"anchorNote": { "anchorNote": {
"name": "アンカーノート", "name": "",
"description": "アンカーから選択したノートを表示する", "description": "",
"option": { "option": {
"noteId": { "noteId": {
"label": "ノート" "label": ""
}, },
"showTitle": { "showTitle": {
"label": "タイトルを表示" "label": ""
}, },
"showUpdatedAt": { "showUpdatedAt": {
"label": "最終更新を表示" "label": ""
} }
}, },
"empty": "表示するノートを選択", "empty": "",
"emptyContent": "このノートにはコンテンツがありません", "emptyContent": "",
"notFound": "ノートが見つかりません", "notFound": "",
"noNotes": "ノートがありません", "noNotes": "",
"integrationRequired": "アンカー統合を最初に選択してください", "integrationRequired": "",
"updatedAt": "{date} に更新しました", "updatedAt": "",
"untitled": "タイトルなし", "untitled": "",
"edit": "編集", "edit": "",
"save": "保存", "save": "",
"cancel": "キャンセル", "cancel": "",
"readOnlyViewer": "このノートを閲覧することができます。編集は無効になっています", "readOnlyViewer": "",
"saveForbidden": "このノートを編集する権限がありません。", "saveForbidden": "",
"saveFailed": "このノートを保存できませんでした。もう一度やり直してください。" "saveFailed": ""
}, },
"iframe": { "iframe": {
"name": "iFrame", "name": "iFrame",
@@ -1666,7 +1666,7 @@
"label": "位置情報を許可する" "label": "位置情報を許可する"
}, },
"allowModals": { "allowModals": {
"label": "モーダルを許可" "label": ""
} }
}, },
"error": { "error": {
@@ -1901,7 +1901,7 @@
"label": "メモリー情報を表示" "label": "メモリー情報を表示"
}, },
"gpu": { "gpu": {
"label": "GPU情報を表示" "label": ""
}, },
"showUptime": { "showUptime": {
"label": "稼働時間を表示" "label": "稼働時間を表示"
@@ -2009,91 +2009,91 @@
} }
}, },
"coolify": { "coolify": {
"name": "Coolify", "name": "",
"description": "サーバーとアプリケーションを使用した Coolify インスタンスの概要", "description": "",
"option": { "option": {
"showServers": { "showServers": {
"label": "サーバーを表示" "label": ""
}, },
"showApplications": { "showApplications": {
"label": "アプリケーションを表示" "label": ""
}, },
"showServices": { "showServices": {
"label": "サービスを表示" "label": ""
} }
}, },
"empty": { "empty": {
"servers": "サーバーが見つかりません", "servers": "",
"applications": "アプリケーションが見つかりません", "applications": "",
"services": "サービスが見つかりません" "services": ""
}, },
"footer": { "footer": {
"updated": "{when} に更新しました" "updated": ""
}, },
"error": { "error": {
"noIntegration": "Coolify 統合が設定されていません", "noIntegration": "",
"internalServerError": "Coolify データの取得に失敗しました" "internalServerError": ""
}, },
"server": { "server": {
"buildServer": "ビルド" "buildServer": ""
}, },
"instances": { "instances": {
"title": "インスタンス" "title": ""
} }
}, },
"tracearr": { "tracearr": {
"name": "Tracearr", "name": "",
"description": "詳細なストリームとトランスコーディングデータによるメディアサーバーのモニタリングの強化", "description": "",
"option": { "option": {
"showStreams": { "showStreams": {
"label": "アクティブなストリームを表示" "label": ""
}, },
"showStats": { "showStats": {
"label": "統計情報の概要を表示" "label": ""
}, },
"showRecentActivity": { "showRecentActivity": {
"label": "最近のアクティビティを表示" "label": ""
}, },
"showViolations": { "showViolations": {
"label": "違反を表示" "label": ""
} }
}, },
"stats": { "stats": {
"activeStreams": "アクティブなストリーム", "activeStreams": "",
"totalUsers": "総ユーザー数", "totalUsers": "",
"transcodes": "トランスコード", "transcodes": "",
"bandwidth": "帯域幅" "bandwidth": ""
}, },
"streams": { "streams": {
"empty": "アクティブなストリームがありません", "empty": "",
"user": "ユーザー", "user": "",
"media": "メディア", "media": "",
"state": "状態", "state": "",
"quality": "品質", "quality": "",
"device": "デバイス", "device": "",
"progress": "進捗状況", "progress": "",
"videoDecision": { "videoDecision": {
"directPlay": "ダイレクトプレイ", "directPlay": "",
"transcode": "トランスコード", "transcode": "",
"directStream": "ダイレクトストリーム" "directStream": ""
} }
}, },
"recentActivity": { "recentActivity": {
"title": "最近のアクティビティ", "title": "",
"empty": "最近のアクティビティなし", "empty": "",
"watched": "視聴済", "watched": "",
"partial": "一部" "partial": ""
}, },
"violations": { "violations": {
"title": "違反", "title": "",
"empty": "最近の違反はありません", "empty": "",
"rule": "ルール", "rule": "",
"user": "ユーザー" "user": ""
}, },
"noSectionsEnabled": "有効なセクションがありません", "noSectionsEnabled": "",
"error": { "error": {
"noIntegration": "Tracearrとの連携が設定されていません", "noIntegration": "",
"internalServerError": "Tracearrデータの取得に失敗しました" "internalServerError": ""
} }
}, },
"common": { "common": {
@@ -2192,50 +2192,50 @@
} }
}, },
"immich-serverStats": { "immich-serverStats": {
"name": "Immich サーバーの統計", "name": "",
"description": "Immich インスタンスに関する情報", "description": "",
"option": { "option": {
"showUsers": { "showUsers": {
"label": "ユーザを表示", "label": "",
"description": "インスタンスにユーザー数を表示する" "description": ""
}, },
"showPhotos": { "showPhotos": {
"label": "写真を表示", "label": "",
"description": "インスタンス上の写真数を表示する" "description": ""
}, },
"showVideos": { "showVideos": {
"label": "動画を表示", "label": "",
"description": "インスタンスに動画の数を表示する" "description": ""
}, },
"showStorage": { "showStorage": {
"label": "ストレージを表示", "label": "",
"description": "使用されたストレージの合計容量を表示します" "description": ""
} }
}, },
"users": "ユーザー", "users": "",
"photos": "写真", "photos": "",
"videos": "動画", "videos": "",
"storage": "ストレージ使用量" "storage": ""
}, },
"immich-albumCarousel": { "immich-albumCarousel": {
"name": "Immich アルバム", "name": "",
"option": { "option": {
"albumId": { "albumId": {
"label": "アルバム ID", "label": "",
"description": "これはImmichのアルバムを示す固有のIDです。 「a21aca09-9f05-47dc-b1a1-7b53c547226e」など、アルバムを開いてURLから一意の文字列をコピーすることでこのIDを見つけることができます。" "description": ""
}, },
"rotationIntervalSeconds": { "rotationIntervalSeconds": {
"label": "間隔 (秒)", "label": "",
"description": "アルバム内の写真をX秒ごとに回転させます。少なくとも1でなければなりません。3600未満でなければなりません。" "description": ""
}, },
"showPhotoInfo": { "showPhotoInfo": {
"label": "写真情報を表示", "label": "",
"description": "スライドショーの下部に画像の日付と現在の索引を表示します" "description": ""
} }
}, },
"description": "Immichアルバムの写真のスライド", "description": "",
"noAlbumSelected": "アルバムが選択されていない、ウィジェットを編集してアルバムを選択してください", "noAlbumSelected": "",
"noPhotos": "このアルバムには写真がありません" "noPhotos": ""
}, },
"downloads": { "downloads": {
"name": "クライアントをダウンロード", "name": "クライアントをダウンロード",
@@ -2546,7 +2546,7 @@
"label": "詳細を非表示" "label": "詳細を非表示"
}, },
"showPosterImage": { "showPosterImage": {
"label": "ポスターの画像を表示" "label": ""
} }
} }
}, },
@@ -2761,42 +2761,42 @@
"option": {} "option": {}
}, },
"speedtestTracker": { "speedtestTracker": {
"name": "スピードテストトラッカー", "name": "",
"description": "Speedtest Trackerインスタンスからスピードテストの結果を表示します。", "description": "",
"option": { "option": {
"showLatestResult": { "showLatestResult": {
"label": "最新の結果を表示" "label": ""
}, },
"showStats": { "showStats": {
"label": "平均を表示" "label": ""
}, },
"showRecentResults": { "showRecentResults": {
"label": "最近の結果を表示" "label": ""
}, },
"showPingGraph": { "showPingGraph": {
"label": "ping グラフを表示" "label": ""
} }
}, },
"latestResult": "直近の結果", "latestResult": "",
"averages": "平均値", "averages": "",
"tests": "{count} 回テスト", "tests": "",
"recentResults": "最近の結果", "recentResults": "",
"recentResultsSpeed": "スピード", "recentResultsSpeed": "",
"recentResultsPing": "Ping", "recentResultsPing": "",
"download": "ダウンロード", "download": "",
"upload": "アップロード", "upload": "",
"ping": "Ping", "ping": "",
"status": "ステータス", "status": "",
"avgDownload": "平均ダウンロード", "avgDownload": "",
"avgUpload": "平均アップロード", "avgUpload": "",
"avgPing": "平均 Ping", "avgPing": "",
"healthy": "正常", "healthy": "",
"unhealthy": "異常", "unhealthy": "",
"ok": "成功", "ok": "",
"fail": "失敗", "fail": "",
"noSectionsEnabled": "ウィジェットオプションで少なくとも1つのセクションを有効にします。", "noSectionsEnabled": "",
"error": { "error": {
"internalServerError": "スピードテストデータの取得に失敗しました" "internalServerError": ""
} }
}, },
"systemResources": { "systemResources": {
@@ -2812,7 +2812,7 @@
"option": { "option": {
"cpu": "CPU", "cpu": "CPU",
"memory": "メモリ", "memory": "メモリ",
"gpu": "GPU", "gpu": "",
"network": "ネットワーク" "network": "ネットワーク"
} }
}, },
@@ -2829,39 +2829,39 @@
"card": { "card": {
"cpu": "CPU", "cpu": "CPU",
"memory": "MEM", "memory": "MEM",
"gpu": "GPU", "gpu": "",
"network": "NET", "network": "NET",
"up": "UP", "up": "UP",
"down": "DOWN" "down": "DOWN"
} }
}, },
"systemDisks": { "systemDisks": {
"name": "システムディスク", "name": "",
"description": "システムのディスク使用量", "description": "",
"option": { "option": {
"showTemperatureIfAvailable": { "showTemperatureIfAvailable": {
"label": "利用可能な場合は温度を表示" "label": ""
}, },
"displayMode": { "displayMode": {
"label": "表示モード", "label": "",
"option": { "option": {
"percentage": { "percentage": {
"label": "割合 (例 76%)" "label": ""
}, },
"absolute": { "absolute": {
"label": "絶対値(例:800GB / 1TB)" "label": ""
}, },
"free": { "free": {
"label": "空き領域の割合(例:24%空き)" "label": ""
} }
} }
}, },
"showBackgroundBar": { "showBackgroundBar": {
"label": "バックグラウンドの使用状況バーを表示" "label": ""
} }
}, },
"status": { "status": {
"unhealthy": "異常" "unhealthy": ""
} }
} }
}, },
@@ -3495,7 +3495,7 @@
"title": "統計情報", "title": "統計情報",
"general": { "general": {
"title": "匿名の解析を送信", "title": "匿名の解析を送信",
"text": "Homarrは、オープンソースソフトウェアUmamiを使用して匿名化された分析を送信します。 有効にすると、以下が収集されます。Homarrバージョン、データベースタイプ(MySQL/PostgreSQL/SQLite)、Docker/Kubernetesステータス、認証方法、各機能の数。 すべてのデータは匿名で集計されます。個人情報、URL、名前、または識別可能なデータは収集されません。 これにより、オープンソースチームは利用パターンを理解し、開発に優先順位を付けることができます。" "text": "Homarr はオープンソースソフトウェア Umami を使用して匿名化された分析情報を送信します。個人情報を一切収集しないため、GDPRとCCPAに完全に準拠しています。分析機能を有効にすると、オープンソースチームが問題を特定し、バックログの優先順位付けを行うのに役立ちますので、ぜひ有効にしてください。"
}, },
"widgetData": { "widgetData": {
"title": "ウィジェットのデータ", "title": "ウィジェットのデータ",
@@ -3595,7 +3595,7 @@
"label": "Minecraft サーバーの状態" "label": "Minecraft サーバーの状態"
}, },
"timetable": { "timetable": {
"label": "タイムテーブル" "label": ""
}, },
"iconsUpdater": { "iconsUpdater": {
"label": "アイコンアップデータ" "label": "アイコンアップデータ"
@@ -3667,7 +3667,7 @@
"label": "天気" "label": "天気"
}, },
"tracearr": { "tracearr": {
"label": "Tracearr" "label": ""
} }
}, },
"interval": { "interval": {
@@ -3790,10 +3790,6 @@
"title": "翻訳者", "title": "翻訳者",
"subtitle": "{count} の多くの言語で翻訳を行っている" "subtitle": "{count} の多くの言語で翻訳を行っている"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "ライブラリ", "title": "ライブラリ",
"subtitle": "{count} 個が Homarr のコードで使用されています" "subtitle": "{count} 個が Homarr のコードで使用されています"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Vertalers", "title": "Vertalers",
"subtitle": "{count} bijdragen aan vertalingen in vele talen" "subtitle": "{count} bijdragen aan vertalingen in vele talen"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Bibliotheken", "title": "Bibliotheken",
"subtitle": "{count} gebruikt in de code van Homarr" "subtitle": "{count} gebruikt in de code van Homarr"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Oversettere", "title": "Oversettere",
"subtitle": "{count} bidrar med oversettelser på mange språk" "subtitle": "{count} bidrar med oversettelser på mange språk"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Biblioteker", "title": "Biblioteker",
"subtitle": "{count} brukt i koden til Homarr" "subtitle": "{count} brukt i koden til Homarr"
+78 -82
View File
@@ -2080,20 +2080,20 @@
}, },
"recentActivity": { "recentActivity": {
"title": "Ostatnia aktywność", "title": "Ostatnia aktywność",
"empty": "Brak ostatniej aktywności", "empty": "",
"watched": "Obejrzane", "watched": "",
"partial": "Częściowo" "partial": ""
}, },
"violations": { "violations": {
"title": "Naruszenia", "title": "",
"empty": "Brak ostatnich naruszeń", "empty": "",
"rule": "Reguła", "rule": "",
"user": "Użytkownik" "user": ""
}, },
"noSectionsEnabled": "Brak włączonych sekcji", "noSectionsEnabled": "",
"error": { "error": {
"noIntegration": "Brak skonfigurowanej integracji Tracearr", "noIntegration": "",
"internalServerError": "Nie udało się pobrać danych z Tracearr" "internalServerError": ""
} }
}, },
"common": { "common": {
@@ -2192,50 +2192,50 @@
} }
}, },
"immich-serverStats": { "immich-serverStats": {
"name": "Statystyki serwera Immich", "name": "",
"description": "Informacje o Twojej instancji Immich", "description": "",
"option": { "option": {
"showUsers": { "showUsers": {
"label": "Pokaż użytkowników", "label": "",
"description": "Pokaż liczbę użytkowników w Twojej instancji" "description": ""
}, },
"showPhotos": { "showPhotos": {
"label": "Pokaż zdjęcia", "label": "",
"description": "Pokaż liczbę zdjęć w Twojej instancji" "description": ""
}, },
"showVideos": { "showVideos": {
"label": "Pokaż filmy", "label": "",
"description": "Pokaż liczbę filmów w Twojej instancji" "description": ""
}, },
"showStorage": { "showStorage": {
"label": "Pokaż wykorzystanie pamięci", "label": "",
"description": "Pokaż całkowite wykorzystanie pamięci" "description": ""
} }
}, },
"users": "Użytkownicy", "users": "",
"photos": "Zdjęcia", "photos": "",
"videos": "Filmy", "videos": "",
"storage": "Wykorzystana przestrzeń" "storage": ""
}, },
"immich-albumCarousel": { "immich-albumCarousel": {
"name": "Album Immich", "name": "",
"option": { "option": {
"albumId": { "albumId": {
"label": "ID albumu", "label": "",
"description": "To unikalny identyfikator odnoszący się do Twojego albumu w Immich. Możesz go znaleźć, otwierając album i kopiując unikalny ciąg znaków z adresu URL, np. „a21aca09-9f05-47dc-b1a1-7b53c547226e”." "description": ""
}, },
"rotationIntervalSeconds": { "rotationIntervalSeconds": {
"label": "Interwał w sekundach", "label": "",
"description": "Zmieniaj zdjęcia w albumie co X sekund. Wartość musi wynosić co najmniej 1 i mniej niż 3600." "description": ""
}, },
"showPhotoInfo": { "showPhotoInfo": {
"label": "Pokaż informacje o zdjęciu", "label": "",
"description": "Wyświetl datę zdjęcia oraz bieżący indeks na dole pokazu slajdów" "description": ""
} }
}, },
"description": "Pokaz slajdów zdjęć z Twojego albumu w Immich", "description": "",
"noAlbumSelected": "Nie wybrano albumu. Edytuj widget i wybierz album", "noAlbumSelected": "",
"noPhotos": "Brak zdjęć w tym albumie" "noPhotos": ""
}, },
"downloads": { "downloads": {
"name": "Klient pobierania", "name": "Klient pobierania",
@@ -2488,8 +2488,8 @@
"title": "Ocena stanu zdrowia", "title": "Ocena stanu zdrowia",
"queued": "W kolejce", "queued": "W kolejce",
"status": { "status": {
"healthy": "Dobry", "healthy": "Zdrowy",
"unhealthy": "Zły" "unhealthy": "Niezdrowy"
} }
}, },
"panel": { "panel": {
@@ -2546,7 +2546,7 @@
"label": "Ukryj opis" "label": "Ukryj opis"
}, },
"showPosterImage": { "showPosterImage": {
"label": "Pokaż obraz okładki" "label": ""
} }
} }
}, },
@@ -2761,42 +2761,42 @@
"option": {} "option": {}
}, },
"speedtestTracker": { "speedtestTracker": {
"name": "Speedtest Tracker", "name": "",
"description": "Wyświetla wyniki testów prędkości z Twojej instancji Speedtest Tracker", "description": "",
"option": { "option": {
"showLatestResult": { "showLatestResult": {
"label": "Pokaż ostatni wynik" "label": ""
}, },
"showStats": { "showStats": {
"label": "Pokaż średnie" "label": ""
}, },
"showRecentResults": { "showRecentResults": {
"label": "Pokaż ostatnie wyniki" "label": ""
}, },
"showPingGraph": { "showPingGraph": {
"label": "Pokaż wykres pingu" "label": ""
} }
}, },
"latestResult": "Najnowszy wynik", "latestResult": "",
"averages": "Średnie", "averages": "",
"tests": "{count} testów", "tests": "",
"recentResults": "Ostatnie wyniki", "recentResults": "",
"recentResultsSpeed": "Prędkość", "recentResultsSpeed": "",
"recentResultsPing": "Ping", "recentResultsPing": "",
"download": "Pobieranie", "download": "",
"upload": "Wysyłanie", "upload": "",
"ping": "Ping", "ping": "",
"status": "Status", "status": "",
"avgDownload": "Średnie pobieranie", "avgDownload": "",
"avgUpload": "Średnie wysyłanie", "avgUpload": "",
"avgPing": "Średni ping", "avgPing": "",
"healthy": "Dobry", "healthy": "",
"unhealthy": "Zły", "unhealthy": "",
"ok": "Ok", "ok": "",
"fail": "Błąd", "fail": "",
"noSectionsEnabled": "Włącz co najmniej jedną sekcję w opcjach widgetu", "noSectionsEnabled": "",
"error": { "error": {
"internalServerError": "Nie udało się pobrać danych testu prędkości" "internalServerError": ""
} }
}, },
"systemResources": { "systemResources": {
@@ -2812,7 +2812,7 @@
"option": { "option": {
"cpu": "Procesor", "cpu": "Procesor",
"memory": "Pamięć", "memory": "Pamięć",
"gpu": "GPU", "gpu": "",
"network": "Sieć" "network": "Sieć"
} }
}, },
@@ -2829,39 +2829,39 @@
"card": { "card": {
"cpu": "Procesor", "cpu": "Procesor",
"memory": "Pamięć", "memory": "Pamięć",
"gpu": "GPU", "gpu": "",
"network": "Sieć", "network": "Sieć",
"up": "Aktywny", "up": "Aktywny",
"down": "Nieaktywny" "down": "Nieaktywny"
} }
}, },
"systemDisks": { "systemDisks": {
"name": "Dyski systemowe", "name": "",
"description": "Wykorzystanie dysku w Twoim systemie", "description": "",
"option": { "option": {
"showTemperatureIfAvailable": { "showTemperatureIfAvailable": {
"label": "Pokaż temperaturę, jeśli jest dostępna" "label": ""
}, },
"displayMode": { "displayMode": {
"label": "Tryb wyświetlania", "label": "",
"option": { "option": {
"percentage": { "percentage": {
"label": "Procentowo (np. 76%)" "label": ""
}, },
"absolute": { "absolute": {
"label": "Wartości bezwzględne (np. 800 GB / 1 TB)" "label": ""
}, },
"free": { "free": {
"label": "Procent wolnego miejsca (np. 24% wolne)" "label": ""
} }
} }
}, },
"showBackgroundBar": { "showBackgroundBar": {
"label": "Pokaż pasek wykorzystania w tle" "label": ""
} }
}, },
"status": { "status": {
"unhealthy": "Zły" "unhealthy": ""
} }
} }
}, },
@@ -3550,10 +3550,10 @@
} }
}, },
"user": { "user": {
"title": "Użytkownicy", "title": "",
"enableGravatar": { "enableGravatar": {
"label": "Włącz Gravatar", "label": "",
"description": "Używa awatarów z Libravatar/Gravatar, gdy nie ustawiono własnego awatara i skonfigurowano adres e-mail" "description": ""
} }
}, },
"search": { "search": {
@@ -3595,7 +3595,7 @@
"label": "Status serwera Minecraft" "label": "Status serwera Minecraft"
}, },
"timetable": { "timetable": {
"label": "Harmonogram" "label": ""
}, },
"iconsUpdater": { "iconsUpdater": {
"label": "Aktualizator ikon" "label": "Aktualizator ikon"
@@ -3667,7 +3667,7 @@
"label": "Pogoda" "label": "Pogoda"
}, },
"tracearr": { "tracearr": {
"label": "Tracearr" "label": ""
} }
}, },
"interval": { "interval": {
@@ -3790,10 +3790,6 @@
"title": "Tłumacze", "title": "Tłumacze",
"subtitle": "{count} współtworzy tłumaczenia w wielu językach" "subtitle": "{count} współtworzy tłumaczenia w wielu językach"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Biblioteki", "title": "Biblioteki",
"subtitle": "{count} używanych w kodzie Homarr" "subtitle": "{count} używanych w kodzie Homarr"
+4 -8
View File
@@ -27,7 +27,7 @@
"description": "Configure o comportamento da importação" "description": "Configure o comportamento da importação"
}, },
"boardSelection": { "boardSelection": {
"title": "{count} painéis encontrados", "title": "{count} Painéis encontrados",
"description": "Escolha todos os painéis com o tamanho que você deseja importar", "description": "Escolha todos os painéis com o tamanho que você deseja importar",
"action": { "action": {
"selectAll": "Selecionar todos", "selectAll": "Selecionar todos",
@@ -36,13 +36,13 @@
}, },
"summary": { "summary": {
"title": "Resumo da importação", "title": "Resumo da importação",
"description": "No resumo abaixo você pode ver o que será importado", "description": "No resumo abaixo, você pode ver o que será importado",
"action": { "action": {
"import": "Confirmar a importação e continuar" "import": "Confirmar a importação e continuar"
}, },
"entities": { "entities": {
"apps": "Aplicativos", "apps": "Aplicativos",
"boards": "Painéis", "boards": "Placas",
"integrations": "Integrações", "integrations": "Integrações",
"credentialUsers": "Usuários credenciados" "credentialUsers": "Usuários credenciados"
} }
@@ -164,7 +164,7 @@
}, },
"action": { "action": {
"login": { "login": {
"label": "Login", "label": "“Login”",
"labelWith": "Iniciar sessão com {provider}", "labelWith": "Iniciar sessão com {provider}",
"notification": { "notification": {
"success": { "success": {
@@ -3790,10 +3790,6 @@
"title": "Tradutores", "title": "Tradutores",
"subtitle": "{count} traduções contribuídas em vários idiomas" "subtitle": "{count} traduções contribuídas em vários idiomas"
}, },
"sponsors": {
"title": "Apoiadores",
"subtitle": "{count} apoiando o projeto financeiramente"
},
"libraries": { "libraries": {
"title": "Bibliotecas", "title": "Bibliotecas",
"subtitle": "{count} usadas no código do Homarr" "subtitle": "{count} usadas no código do Homarr"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Переводчики", "title": "Переводчики",
"subtitle": "{count} помогают с переводами на разные языки" "subtitle": "{count} помогают с переводами на разные языки"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Библиотеки", "title": "Библиотеки",
"subtitle": "{count} используются в коде Homarr" "subtitle": "{count} используются в коде Homarr"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Prekladatelia", "title": "Prekladatelia",
"subtitle": "{count} prispievanie prekladmi do mnohých jazykov" "subtitle": "{count} prispievanie prekladmi do mnohých jazykov"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Knižnice", "title": "Knižnice",
"subtitle": "{count} používané v Homarrskom kódexe" "subtitle": "{count} používané v Homarrskom kódexe"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Översättare", "title": "Översättare",
"subtitle": "{count} bidrar med översättningar på flera olika språk" "subtitle": "{count} bidrar med översättningar på flera olika språk"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Çevirmenler", "title": "Çevirmenler",
"subtitle": "Birçok kişi Homarr'ın {count} dile çevrilmesine katkı sağlıyor" "subtitle": "Birçok kişi Homarr'ın {count} dile çevrilmesine katkı sağlıyor"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Kütüphaneler", "title": "Kütüphaneler",
"subtitle": "Homarr kodlamasında {count} kütüphane kullanılıyor" "subtitle": "Homarr kodlamasında {count} kütüphane kullanılıyor"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "Перекладачі", "title": "Перекладачі",
"subtitle": "{count} - стільки людей допомагають перекладати багатьма мовами" "subtitle": "{count} - стільки людей допомагають перекладати багатьма мовами"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "Бібліотеки", "title": "Бібліотеки",
"subtitle": "{count} - стільки бібліотек використано в коді Homarr" "subtitle": "{count} - стільки бібліотек використано в коді Homarr"
-4
View File
@@ -3790,10 +3790,6 @@
"title": "", "title": "",
"subtitle": "" "subtitle": ""
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "", "title": "",
"subtitle": "" "subtitle": ""
-4
View File
@@ -3790,10 +3790,6 @@
"title": "翻譯人員", "title": "翻譯人員",
"subtitle": "{count} 翻譯了許多語言" "subtitle": "{count} 翻譯了許多語言"
}, },
"sponsors": {
"title": "",
"subtitle": ""
},
"libraries": { "libraries": {
"title": "資料庫", "title": "資料庫",
"subtitle": "{count} 於 Homarr 待碼中使用" "subtitle": "{count} 於 Homarr 待碼中使用"
+8 -4
View File
@@ -138,10 +138,14 @@ export const userChangeColorSchemeSchema = z.object({
export const userFirstDayOfWeekSchema = z.object({ export const userFirstDayOfWeekSchema = z.object({
firstDayOfWeek: z firstDayOfWeek: z
.number() .custom<DayOfWeek>((value) => z.number().min(0).max(6).safeParse(value).success)
.min(0) .meta({
.max(6) override: {
.transform((value) => value as DayOfWeek), type: "integer",
minimum: 0,
maximum: 6,
},
}),
}); });
export const userPingIconsEnabledSchema = z.object({ export const userPingIconsEnabledSchema = z.object({
+1196 -1054
View File
File diff suppressed because it is too large. Load diff
+41 -41
View File
@@ -8,8 +8,8 @@ minimumReleaseAgeExclude:
- "@next/*" - "@next/*"
catalogMode: strict catalogMode: strict
catalog: catalog:
"@auth/core": ^0.41.2 "@auth/core": ^0.41.1
"@auth/drizzle-adapter": ^1.11.2 "@auth/drizzle-adapter": ^1.11.1
"@ctrl/deluge": ^8.0.0 "@ctrl/deluge": ^8.0.0
"@ctrl/qbittorrent": ^9.11.2 "@ctrl/qbittorrent": ^9.11.2
"@ctrl/transmission": ^7.4.0 "@ctrl/transmission": ^7.4.0
@@ -23,7 +23,7 @@ catalog:
"@homarr/gridstack": ^1.12.0 "@homarr/gridstack": ^1.12.0
"@homarr/node-unifi": ^2.6.0 "@homarr/node-unifi": ^2.6.0
"@ianvs/prettier-plugin-sort-imports": ^4.7.1 "@ianvs/prettier-plugin-sort-imports": ^4.7.1
"@immich/sdk": ^2.7.5 "@immich/sdk": ^2.7.3
"@jellyfin/sdk": ^0.13.0 "@jellyfin/sdk": ^0.13.0
"@kubernetes/client-node": ^1.4.0 "@kubernetes/client-node": ^1.4.0
"@mantine/charts": ^8.3.18 "@mantine/charts": ^8.3.18
@@ -38,7 +38,7 @@ catalog:
"@mantine/spotlight": ^8.3.18 "@mantine/spotlight": ^8.3.18
"@mantine/tiptap": ^8.3.18 "@mantine/tiptap": ^8.3.18
"@million/lint": 1.0.14 "@million/lint": 1.0.14
"@next/eslint-plugin-next": 16.2.4 "@next/eslint-plugin-next": 16.2.3
"@octokit/auth-app": ^8.2.0 "@octokit/auth-app": ^8.2.0
"@paralleldrive/cuid2": ^3.3.0 "@paralleldrive/cuid2": ^3.3.0
"@semantic-release/changelog": ^6.0.3 "@semantic-release/changelog": ^6.0.3
@@ -49,34 +49,34 @@ catalog:
"@semantic-release/release-notes-generator": ^14.1.0 "@semantic-release/release-notes-generator": ^14.1.0
"@t3-oss/env-nextjs": ^0.13.11 "@t3-oss/env-nextjs": ^0.13.11
"@tabler/icons-react": ^3.41.1 "@tabler/icons-react": ^3.41.1
"@tanstack/react-query": ^5.100.2 "@tanstack/react-query": ^5.97.0
"@tanstack/react-query-devtools": ^5.100.2 "@tanstack/react-query-devtools": ^5.97.0
"@tanstack/react-query-next-experimental": ^5.100.2 "@tanstack/react-query-next-experimental": ^5.97.0
"@testcontainers/mysql": ^11.14.0 "@testcontainers/mysql": ^11.14.0
"@testcontainers/postgresql": ^11.14.0 "@testcontainers/postgresql": ^11.14.0
"@testcontainers/redis": ^11.14.0 "@testcontainers/redis": ^11.14.0
"@tiptap/extension-color": 3.22.4 "@tiptap/extension-color": 3.22.3
"@tiptap/extension-highlight": 3.22.4 "@tiptap/extension-highlight": 3.22.3
"@tiptap/extension-image": 3.22.4 "@tiptap/extension-image": 3.22.3
"@tiptap/extension-link": ^3.22.4 "@tiptap/extension-link": ^3.22.3
"@tiptap/extension-placeholder": ^3.22.4 "@tiptap/extension-placeholder": ^3.22.3
"@tiptap/extension-table": 3.22.4 "@tiptap/extension-table": 3.22.3
"@tiptap/extension-table-cell": 3.22.4 "@tiptap/extension-table-cell": 3.22.3
"@tiptap/extension-table-header": 3.22.4 "@tiptap/extension-table-header": 3.22.3
"@tiptap/extension-table-row": 3.22.4 "@tiptap/extension-table-row": 3.22.3
"@tiptap/extension-task-item": 3.22.4 "@tiptap/extension-task-item": 3.22.3
"@tiptap/extension-task-list": 3.22.4 "@tiptap/extension-task-list": 3.22.3
"@tiptap/extension-text-align": 3.22.4 "@tiptap/extension-text-align": 3.22.3
"@tiptap/extension-text-style": 3.22.4 "@tiptap/extension-text-style": 3.22.3
"@tiptap/extension-underline": 3.22.4 "@tiptap/extension-underline": 3.22.3
"@tiptap/react": ^3.22.4 "@tiptap/react": ^3.22.3
"@tiptap/starter-kit": ^3.22.4 "@tiptap/starter-kit": ^3.22.3
"@trpc/client": ^11.16.0 "@trpc/client": ^11.16.0
"@trpc/next": ^11.16.0 "@trpc/next": ^11.16.0
"@trpc/react-query": ^11.16.0 "@trpc/react-query": ^11.16.0
"@trpc/server": ^11.16.0 "@trpc/server": ^11.16.0
"@trpc/tanstack-react-query": ^11.16.0 "@trpc/tanstack-react-query": ^11.16.0
"@turbo/gen": ^2.9.6 "@turbo/gen": ^2.9.5
"@types/adm-zip": 0.5.8 "@types/adm-zip": 0.5.8
"@types/bcrypt": 6.0.0 "@types/bcrypt": 6.0.0
"@types/better-sqlite3": 7.6.13 "@types/better-sqlite3": 7.6.13
@@ -98,15 +98,15 @@ catalog:
"@types/xml2js": ^0.4.14 "@types/xml2js": ^0.4.14
"@umami/node": ^0.4.0 "@umami/node": ^0.4.0
"@vitejs/plugin-react": ^5.2.0 "@vitejs/plugin-react": ^5.2.0
"@vitest/coverage-v8": ^4.1.5 "@vitest/coverage-v8": ^4.1.4
"@vitest/ui": ^4.1.5 "@vitest/ui": ^4.1.4
"@xterm/addon-canvas": ^0.7.0 "@xterm/addon-canvas": ^0.7.0
"@xterm/addon-fit": 0.11.0 "@xterm/addon-fit": 0.11.0
"@xterm/xterm": ^6.0.0 "@xterm/xterm": ^6.0.0
adm-zip: 0.5.17 adm-zip: 0.5.17
babel-plugin-react-compiler: ^1.0.0 babel-plugin-react-compiler: ^1.0.0
bcrypt: ^6.0.0 bcrypt: ^6.0.0
better-sqlite3: ^12.9.0 better-sqlite3: ^12.8.0
chroma-js: ^3.2.0 chroma-js: ^3.2.0
clsx: ^2.1.1 clsx: ^2.1.1
concurrently: ^9.2.1 concurrently: ^9.2.1
@@ -118,8 +118,8 @@ catalog:
dayjs: ^1.11.20 dayjs: ^1.11.20
deepmerge: 4.3.1 deepmerge: 4.3.1
dns-caching: ^0.2.9 dns-caching: ^0.2.9
dockerode: ^5.0.0 dockerode: ^4.0.10
dotenv: ^17.4.2 dotenv: ^17.4.1
dotenv-cli: ^11.0.0 dotenv-cli: ^11.0.0
drizzle-kit: ^0.31.10 drizzle-kit: ^0.31.10
drizzle-orm: ^0.45.2 drizzle-orm: ^0.45.2
@@ -127,18 +127,18 @@ catalog:
esbuild: ^0.28.0 esbuild: ^0.28.0
eslint: ^9.39.4 eslint: ^9.39.4
eslint-config-prettier: ^10.1.8 eslint-config-prettier: ^10.1.8
eslint-config-turbo: ^2.9.6 eslint-config-turbo: ^2.9.5
eslint-plugin-import: ^2.32.0 eslint-plugin-import: ^2.32.0
eslint-plugin-jsx-a11y: ^6.10.2 eslint-plugin-jsx-a11y: ^6.10.2
eslint-plugin-react: ^7.37.5 eslint-plugin-react: ^7.37.5
eslint-plugin-react-hooks: ^6.1.1 eslint-plugin-react-hooks: ^6.1.1
fast-xml-parser: ^5.7.2 fast-xml-parser: ^5.5.11
fastify: ^5.8.5 fastify: ^5.8.4
flag-icons: ^7.5.0 flag-icons: ^7.5.0
glob: ^13.0.6 glob: ^13.0.6
ical.js: ^2.2.1 ical.js: ^2.2.1
ioredis: 5.10.1 ioredis: 5.10.1
isomorphic-dompurify: ^3.10.0 isomorphic-dompurify: ^3.8.0
jotai: ^2.19.1 jotai: ^2.19.1
jsdom: ^29.0.2 jsdom: ^29.0.2
json5: ^2.2.3 json5: ^2.2.3
@@ -147,16 +147,16 @@ catalog:
mantine-form-zod-resolver: ^1.3.0 mantine-form-zod-resolver: ^1.3.0
mantine-react-table: 2.0.0-beta.9 mantine-react-table: 2.0.0-beta.9
maria2: ^0.4.1 maria2: ^0.4.1
mysql2: 3.22.2 mysql2: 3.21.1
next: 16.2.4 next: 16.2.3
next-auth: 5.0.0-beta.31 next-auth: 5.0.0-beta.30
next-intl: 4.9.1 next-intl: 4.9.1
node-cron: ^4.2.1 node-cron: ^4.2.1
node-loader: ^2.1.0 node-loader: ^2.1.0
octokit: ^5.0.5 octokit: ^5.0.5
pg: ^8.20.0 pg: ^8.20.0
postcss-preset-mantine: ^1.18.0 postcss-preset-mantine: ^1.18.0
prettier: ^3.8.3 prettier: ^3.8.1
prettier-plugin-packagejson: ^3.0.2 prettier-plugin-packagejson: ^3.0.2
prismjs: ^1.30.0 prismjs: ^1.30.0
proxmox-api: 1.1.1 proxmox-api: 1.1.1
@@ -172,20 +172,20 @@ catalog:
semver-parser: ^4.1.8 semver-parser: ^4.1.8
superjson: 2.2.6 superjson: 2.2.6
svgson: ^5.3.1 svgson: ^5.3.1
swagger-ui-react: ^5.32.4 swagger-ui-react: ^5.32.2
testcontainers: ^11.14.0 testcontainers: ^11.14.0
timezones-ical-library: ^2.1.3 timezones-ical-library: ^2.1.3
trpc-to-openapi: ^3.2.0 trpc-to-openapi: ^3.2.0
tsdav: ^2.1.8 tsdav: ^2.1.8
tsx: 4.20.4 tsx: 4.20.4
turbo: ^2.9.6 turbo: ^2.9.5
typescript: ^5.9.3 typescript: ^5.9.3
typescript-eslint: ^8.58.2 typescript-eslint: ^8.58.1
undici: 7.24.6 undici: 7.24.6
use-deep-compare-effect: ^1.8.1 use-deep-compare-effect: ^1.8.1
video.js: ^8.23.7 video.js: ^8.23.7
vite-tsconfig-paths: ^6.1.1 vite-tsconfig-paths: ^6.1.1
vitest: ^4.1.5 vitest: ^4.1.4
winston: 3.19.0 winston: 3.19.0
ws: ^8.20.0 ws: ^8.20.0
xml2js: ^0.6.2 xml2js: ^0.6.2
+12 -2
View File
@@ -16,6 +16,8 @@ fi
# Auth secret is generated every time the container starts as it is required, but not used because we don't need JWTs or Mail hashing # Auth secret is generated every time the container starts as it is required, but not used because we don't need JWTs or Mail hashing
export AUTH_SECRET=$(openssl rand -base64 32) export AUTH_SECRET=$(openssl rand -base64 32)
# 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)
# Support secret file for encryption key (is not empty and file exists) # Support secret file for encryption key (is not empty and file exists)
if [ -n "$SECRET_ENCRYPTION_KEY_FILE" ] && [ -f "$SECRET_ENCRYPTION_KEY_FILE" ]; then if [ -n "$SECRET_ENCRYPTION_KEY_FILE" ] && [ -f "$SECRET_ENCRYPTION_KEY_FILE" ]; then
@@ -41,13 +43,21 @@ else
REDIS_PID=$! REDIS_PID=$!
fi fi
node apps/nextjs/server.js &
node apps/tasks/tasks.cjs &
TASKS_PID=$!
node apps/websocket/wssServer.cjs &
WSS_PID=$!
node --max-old-space-size=1024 --require ./apps/nextjs/socket-cleanup.cjs apps/nextjs/server.js &
NEXTJS_PID=$! NEXTJS_PID=$!
# Function to handle SIGTERM and shut down services # Function to handle SIGTERM and shut down services
terminate() { terminate() {
echo "Received SIGTERM. Shutting down..." echo "Received SIGTERM. Shutting down..."
kill -TERM $NGINX_PID $NEXTJS_PID 2>/dev/null kill -TERM $NGINX_PID $TASKS_PID $WSS_PID $NEXTJS_PID 2>/dev/null
wait wait
# kill redis-server last because of logging of other services and only if $REDIS_PID is set # kill redis-server last because of logging of other services and only if $REDIS_PID is set
if [ -n "$REDIS_PID" ]; then if [ -n "$REDIS_PID" ]; then
+8 -62
View File
@@ -1,12 +1,14 @@
import fs from "fs/promises"; import fs from "fs/promises";
const sources = { const sources = {
crowdin: [{ projectId: 534422 }, { projectId: 742587 }], crowdin: [
{ projectId: 534422 },
{ projectId: 742587 },
],
github: [ github: [
{ slug: "ajnart", repository: "homarr" }, { slug: "ajnart", repository: "homarr" },
{ slug: "homarr-labs", repository: "homarr" }, { slug: "homarr-labs", repository: "homarr" },
], ],
opencollective: [{ slug: "homarr" }],
}; };
const env = { const env = {
@@ -45,55 +47,11 @@ const fetchCrowdinMembers = async (projectId) => {
}; };
const response = await fetch(url, options); const response = await fetch(url, options);
const result = await response.json(); const data = await response.json();
return result.data return data.data.flatMap((data) => data.data).map(contributor => ({
.flatMap(({ data }) => data) username: contributor.username,
.map((contributor) => ({ avatarUrl: contributor.avatarUrl,
username: contributor.username,
avatarUrl: contributor.avatarUrl,
}));
};
const fetchOpenCollectiveContributors = async (slug) => {
const query = `
query($slug: String!) {
account(slug: $slug) {
... on Organization {
members(role: [BACKER]) {
nodes {
role
account {
id
name
slug
imageUrl
}
}
}
}
}
}
`;
const response = await fetch("https://api.opencollective.com/graphql/v2", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
query,
variables: { slug },
}),
});
const result = await response.json();
const members = result.data?.account?.members?.nodes || [];
return members.map((member) => ({
id: member.account.id,
name: member.account.name,
slug: member.account.slug,
imageUrl: member.account.imageUrl,
})); }));
}; };
@@ -103,7 +61,6 @@ const distinctBy = (callback) => (value, index, self) => {
const githubContributors = []; const githubContributors = [];
const crowdinContributors = []; const crowdinContributors = [];
const opencollectiveContributors = [];
for (const { repository, slug } of sources.github) { for (const { repository, slug } of sources.github) {
githubContributors.push(...(await fetchGithubContributors(slug, repository))); githubContributors.push(...(await fetchGithubContributors(slug, repository)));
@@ -120,14 +77,3 @@ for (const { projectId } of sources.crowdin) {
} }
const distinctCrowdinContributors = crowdinContributors.filter(distinctBy((contributor) => contributor.username)); const distinctCrowdinContributors = crowdinContributors.filter(distinctBy((contributor) => contributor.username));
await fs.writeFile("./static-data/translators.json", JSON.stringify(distinctCrowdinContributors)); await fs.writeFile("./static-data/translators.json", JSON.stringify(distinctCrowdinContributors));
for (const { slug } of sources.opencollective) {
opencollectiveContributors.push(...(await fetchOpenCollectiveContributors(slug)));
}
const distinctOpenCollectiveContributors = opencollectiveContributors.filter(
distinctBy((contributor) => contributor.slug),
);
await fs.writeFile(
"./static-data/opencollective-contributors.json",
JSON.stringify(distinctOpenCollectiveContributors),
);
+1 -1
View File
@@ -1 +1 @@
[{"login":"ajnart","avatar_url":"https://avatars.githubusercontent.com/u/49837342?v=4"},{"login":"manuel-rw","avatar_url":"https://avatars.githubusercontent.com/u/30572287?v=4"},{"login":"Meierschlumpf","avatar_url":"https://avatars.githubusercontent.com/u/63781622?v=4"},{"login":"SeDemal","avatar_url":"https://avatars.githubusercontent.com/u/26098587?v=4"},{"login":"lammersbjorn","avatar_url":"https://avatars.githubusercontent.com/u/71191962?v=4"},{"login":"LarveyOfficial","avatar_url":"https://avatars.githubusercontent.com/u/39219859?v=4"},{"login":"c00ldude1oo","avatar_url":"https://avatars.githubusercontent.com/u/15677803?v=4"},{"login":"InterN0te","avatar_url":"https://avatars.githubusercontent.com/u/10882916?v=4"},{"login":"Aimsucks","avatar_url":"https://avatars.githubusercontent.com/u/1828486?v=4"},{"login":"JannesV","avatar_url":"https://avatars.githubusercontent.com/u/5984244?v=4"},{"login":"MauriceNino","avatar_url":"https://avatars.githubusercontent.com/u/18658092?v=4"},{"login":"hillaliy","avatar_url":"https://avatars.githubusercontent.com/u/950010?v=4"},{"login":"Skeeww","avatar_url":"https://avatars.githubusercontent.com/u/9639992?v=4"},{"login":"RichyHBM","avatar_url":"https://avatars.githubusercontent.com/u/5472275?v=4"},{"login":"Bonfire","avatar_url":"https://avatars.githubusercontent.com/u/5704760?v=4"},{"login":"wieli99","avatar_url":"https://avatars.githubusercontent.com/u/46794825?v=4"},{"login":"ishaanparlikar","avatar_url":"https://avatars.githubusercontent.com/u/43013132?v=4"},{"login":"Zareix","avatar_url":"https://avatars.githubusercontent.com/u/29818713?v=4"},{"login":"tuggan","avatar_url":"https://avatars.githubusercontent.com/u/4325608?v=4"},{"login":"Spillebulle","avatar_url":"https://avatars.githubusercontent.com/u/46653946?v=4"},{"login":"tancak","avatar_url":"https://avatars.githubusercontent.com/u/11760749?v=4"},{"login":"spkesDE","avatar_url":"https://avatars.githubusercontent.com/u/1682314?v=4"},{"login":"j3lte","avatar_url":"https://avatars.githubusercontent.com/u/2557568?v=4"},{"login":"dslatt","avatar_url":"https://avatars.githubusercontent.com/u/5211001?v=4"},{"login":"Malong11-007","avatar_url":"https://avatars.githubusercontent.com/u/40298510?v=4"},{"login":"StefanB7","avatar_url":"https://avatars.githubusercontent.com/u/22056509?v=4"},{"login":"souravghosh01","avatar_url":"https://avatars.githubusercontent.com/u/37548139?v=4"},{"login":"SR3u","avatar_url":"https://avatars.githubusercontent.com/u/2380522?v=4"},{"login":"Rikpat","avatar_url":"https://avatars.githubusercontent.com/u/33869814?v=4"},{"login":"NormanJS","avatar_url":"https://avatars.githubusercontent.com/u/83409549?v=4"},{"login":"No-Maines-Land","avatar_url":"https://avatars.githubusercontent.com/u/20687725?v=4"},{"login":"stark1tty","avatar_url":"https://avatars.githubusercontent.com/u/69326376?v=4"},{"login":"Momcilo42","avatar_url":"https://avatars.githubusercontent.com/u/10118137?v=4"},{"login":"marius-arch","avatar_url":"https://avatars.githubusercontent.com/u/72494359?v=4"},{"login":"Lumilias","avatar_url":"https://avatars.githubusercontent.com/u/10852161?v=4"},{"login":"Havock94","avatar_url":"https://avatars.githubusercontent.com/u/7635248?v=4"},{"login":"Lollyde","avatar_url":"https://avatars.githubusercontent.com/u/11347524?v=4"},{"login":"krishnamuppaneni","avatar_url":"https://avatars.githubusercontent.com/u/4703366?v=4"},{"login":"devtobi","avatar_url":"https://avatars.githubusercontent.com/u/28538704?v=4"},{"login":"TyxTang","avatar_url":"https://avatars.githubusercontent.com/u/90897955?v=4"},{"login":"alotlikebeans","avatar_url":"https://avatars.githubusercontent.com/u/19630511?v=4"},{"login":"WillyJL","avatar_url":"https://avatars.githubusercontent.com/u/49810075?v=4"},{"login":"anonysoul","avatar_url":"https://avatars.githubusercontent.com/u/105715150?v=4"},{"login":"cospeedster","avatar_url":"https://avatars.githubusercontent.com/u/52749645?v=4"},{"login":"diederbert","avatar_url":"https://avatars.githubusercontent.com/u/162878798?v=4"},{"login":"digdilem","avatar_url":"https://avatars.githubusercontent.com/u/4052275?v=4"},{"login":"dinghino","avatar_url":"https://avatars.githubusercontent.com/u/14729459?v=4"},{"login":"gfomichev","avatar_url":"https://avatars.githubusercontent.com/u/1596146?v=4"},{"login":"gnattu","avatar_url":"https://avatars.githubusercontent.com/u/12995396?v=4"},{"login":"tuxpizza","avatar_url":"https://avatars.githubusercontent.com/u/84710786?v=4"},{"login":"xmarkurion","avatar_url":"https://avatars.githubusercontent.com/u/46654687?v=4"},{"login":"huanga","avatar_url":"https://avatars.githubusercontent.com/u/732970?v=4"},{"login":"taos15","avatar_url":"https://avatars.githubusercontent.com/u/122130728?v=4"},{"login":"arghyadipchak","avatar_url":"https://avatars.githubusercontent.com/u/32430374?v=4"},{"login":"AuthorShin","avatar_url":"https://avatars.githubusercontent.com/u/4959043?v=4"},{"login":"benniblot","avatar_url":"https://avatars.githubusercontent.com/uLine truncated [{"login":"ajnart","avatar_url":"https://avatars.githubusercontent.com/u/49837342?v=4"},{"login":"manuel-rw","avatar_url":"https://avatars.githubusercontent.com/u/30572287?v=4"},{"login":"Meierschlumpf","avatar_url":"https://avatars.githubusercontent.com/u/63781622?v=4"},{"login":"SeDemal","avatar_url":"https://avatars.githubusercontent.com/u/26098587?v=4"},{"login":"lammersbjorn","avatar_url":"https://avatars.githubusercontent.com/u/71191962?v=4"},{"login":"LarveyOfficial","avatar_url":"https://avatars.githubusercontent.com/u/39219859?v=4"},{"login":"c00ldude1oo","avatar_url":"https://avatars.githubusercontent.com/u/15677803?v=4"},{"login":"InterN0te","avatar_url":"https://avatars.githubusercontent.com/u/10882916?v=4"},{"login":"Aimsucks","avatar_url":"https://avatars.githubusercontent.com/u/1828486?v=4"},{"login":"JannesV","avatar_url":"https://avatars.githubusercontent.com/u/5984244?v=4"},{"login":"MauriceNino","avatar_url":"https://avatars.githubusercontent.com/u/18658092?v=4"},{"login":"hillaliy","avatar_url":"https://avatars.githubusercontent.com/u/950010?v=4"},{"login":"Skeeww","avatar_url":"https://avatars.githubusercontent.com/u/9639992?v=4"},{"login":"RichyHBM","avatar_url":"https://avatars.githubusercontent.com/u/5472275?v=4"},{"login":"Bonfire","avatar_url":"https://avatars.githubusercontent.com/u/5704760?v=4"},{"login":"wieli99","avatar_url":"https://avatars.githubusercontent.com/u/46794825?v=4"},{"login":"ishaanparlikar","avatar_url":"https://avatars.githubusercontent.com/u/43013132?v=4"},{"login":"Zareix","avatar_url":"https://avatars.githubusercontent.com/u/29818713?v=4"},{"login":"tuggan","avatar_url":"https://avatars.githubusercontent.com/u/4325608?v=4"},{"login":"Spillebulle","avatar_url":"https://avatars.githubusercontent.com/u/46653946?v=4"},{"login":"tancak","avatar_url":"https://avatars.githubusercontent.com/u/11760749?v=4"},{"login":"spkesDE","avatar_url":"https://avatars.githubusercontent.com/u/1682314?v=4"},{"login":"j3lte","avatar_url":"https://avatars.githubusercontent.com/u/2557568?v=4"},{"login":"dslatt","avatar_url":"https://avatars.githubusercontent.com/u/5211001?v=4"},{"login":"Malong11-007","avatar_url":"https://avatars.githubusercontent.com/u/40298510?v=4"},{"login":"StefanB7","avatar_url":"https://avatars.githubusercontent.com/u/22056509?v=4"},{"login":"souravghosh01","avatar_url":"https://avatars.githubusercontent.com/u/37548139?v=4"},{"login":"SR3u","avatar_url":"https://avatars.githubusercontent.com/u/2380522?v=4"},{"login":"Rikpat","avatar_url":"https://avatars.githubusercontent.com/u/33869814?v=4"},{"login":"NormanJS","avatar_url":"https://avatars.githubusercontent.com/u/83409549?v=4"},{"login":"No-Maines-Land","avatar_url":"https://avatars.githubusercontent.com/u/20687725?v=4"},{"login":"stark1tty","avatar_url":"https://avatars.githubusercontent.com/u/69326376?v=4"},{"login":"Momcilo42","avatar_url":"https://avatars.githubusercontent.com/u/10118137?v=4"},{"login":"marius-arch","avatar_url":"https://avatars.githubusercontent.com/u/72494359?v=4"},{"login":"Lumilias","avatar_url":"https://avatars.githubusercontent.com/u/10852161?v=4"},{"login":"Havock94","avatar_url":"https://avatars.githubusercontent.com/u/7635248?v=4"},{"login":"Lollyde","avatar_url":"https://avatars.githubusercontent.com/u/11347524?v=4"},{"login":"krishnamuppaneni","avatar_url":"https://avatars.githubusercontent.com/u/4703366?v=4"},{"login":"devtobi","avatar_url":"https://avatars.githubusercontent.com/u/28538704?v=4"},{"login":"TyxTang","avatar_url":"https://avatars.githubusercontent.com/u/90897955?v=4"},{"login":"alotlikebeans","avatar_url":"https://avatars.githubusercontent.com/u/19630511?v=4"},{"login":"WillyJL","avatar_url":"https://avatars.githubusercontent.com/u/49810075?v=4"},{"login":"anonysoul","avatar_url":"https://avatars.githubusercontent.com/u/105715150?v=4"},{"login":"cospeedster","avatar_url":"https://avatars.githubusercontent.com/u/52749645?v=4"},{"login":"diederbert","avatar_url":"https://avatars.githubusercontent.com/u/162878798?v=4"},{"login":"digdilem","avatar_url":"https://avatars.githubusercontent.com/u/4052275?v=4"},{"login":"dinghino","avatar_url":"https://avatars.githubusercontent.com/u/14729459?v=4"},{"login":"gfomichev","avatar_url":"https://avatars.githubusercontent.com/u/1596146?v=4"},{"login":"gnattu","avatar_url":"https://avatars.githubusercontent.com/u/12995396?v=4"},{"login":"tuxpizza","avatar_url":"https://avatars.githubusercontent.com/u/84710786?v=4"},{"login":"xmarkurion","avatar_url":"https://avatars.githubusercontent.com/u/46654687?v=4"},{"login":"huanga","avatar_url":"https://avatars.githubusercontent.com/u/732970?v=4"},{"login":"taos15","avatar_url":"https://avatars.githubusercontent.com/u/122130728?v=4"},{"login":"arghyadipchak","avatar_url":"https://avatars.githubusercontent.com/u/32430374?v=4"},{"login":"AuthorShin","avatar_url":"https://avatars.githubusercontent.com/u/4959043?v=4"},{"login":"benniblot","avatar_url":"https://avatars.githubusercontent.com/uLine truncated
@@ -1 +0,0 @@
[{"id":"zaxon793-jy8gpl0v-d89pbrkd-emwl5v04","name":"Mike","slug":"guest-5da646e8","imageUrl":"https://images.opencollective.com/guest-5da646e8/avatar.png"},{"id":"ywz9j4av-god8pgwg-db36mr35-nxklb0e7","name":"Guest","slug":"guest-554ec68f","imageUrl":"https://images.opencollective.com/guest-554ec68f/avatar.png"},{"id":"mlo94zn7-x08dpo09-xlxpewga-3vjbrky5","name":"Robert Hermann","slug":"robert-hermann","imageUrl":"https://images.opencollective.com/robert-hermann/avatar.png"},{"id":"zaxon793-jy8gpl0n-8r3pbrkd-emwl5v04","name":"Sebastian Raubuch","slug":"sebastian-raubuch","imageUrl":"https://images.opencollective.com/sebastian-raubuch/avatar.png"},{"id":"nmlo94zn-7x08dpod-ykm6ewga-3vjbrky5","name":"Didier LUTHI","slug":"didier-luthi","imageUrl":"https://images.opencollective.com/didier-luthi/avatar.png"},{"id":"vedj9wro-z3a56dgk-z3z67blg-8x4m0ykn","name":"Guest","slug":"guest-b1459a68","imageUrl":"https://images.opencollective.com/guest-b1459a68/avatar.png"},{"id":"gm9bnk80-437xqry4-8vepvzeo-ljdayw5r","name":"Mohister","slug":"mohister","imageUrl":"https://images.opencollective.com/mohister/1d8a592/avatar.png"},{"id":"vrgbk357-l4x96e70-m0apomew-a0jdyzn8","name":"sidens","slug":"sidens","imageUrl":"https://images.opencollective.com/sidens/avatar.png"},{"id":"mlo94zn7-x08dpo0d-l7epewga-3vjbrky5","name":"Chris","slug":"guest-937065bb","imageUrl":"https://images.opencollective.com/guest-937065bb/avatar.png"},{"id":"k9mbw7y4-8r3zq3ol-7zlq0ej5-lavnodgx","name":"Nick W","slug":"guest-7501840a","imageUrl":"https://images.opencollective.com/guest-7501840a/avatar.png"},{"id":"e0adkjrv-8xwm69o8-5al67z5n-4l93bgoy","name":"Jeppedy","slug":"guest-ab78e46a","imageUrl":"https://images.opencollective.com/guest-ab78e46a/avatar.png"},{"id":"a47byg9n-xozdp8xo-jgm6mjlv-03rek5w8","name":"naru","slug":"guest-02fd264a","imageUrl":"https://images.opencollective.com/guest-02fd264a/avatar.png"},{"id":"3k0exgzn-m8yj64g3-ll865wao-9r7b4dlv","name":"Jared Hocutt","slug":"jared-hocutt","imageUrl":"https://images.opencollective.com/jared-hocutt/avatar.png"},{"id":"eng0kzdy-vor4pz8l-exopbma8-37xlw95j","name":"Incognito","slug":"user-e63f4a5b","imageUrl":"https://images.opencollective.com/user-e63f4a5b/avatar.png"},{"id":"8k03reyd-5agmq50v-8vyplbwo-z7j4nxv9","name":"dazi","slug":"guest-11663a46","imageUrl":"https://images.opencollective.com/guest-11663a46/avatar.png"},{"id":"vedj9wro-z3a56dgd-zwl67blg-8x4m0ykn","name":"ZoopaMario","slug":"zoopamario","imageUrl":"https://images.opencollective.com/zoopamario/bea900d/avatar.png"},{"id":"a47byg9n-xozdp8xe-xmb6mjlv-03rek5w8","name":"FlamebergUA","slug":"guest-a59fd500","imageUrl":"https://images.opencollective.com/guest-a59fd500/avatar.png"},{"id":"8k03reyd-5agmq50y-kzoplbwo-z7j4nxv9","name":"StLCards","slug":"guest-e1de33dc","imageUrl":"https://images.opencollective.com/guest-e1de33dc/avatar.png"},{"id":"ejoxl3az-45w9pa54-dk46y870-mgkbrvdn","name":"Varadha","slug":"guest-6f68eed9","imageUrl":"https://images.opencollective.com/guest-6f68eed9/avatar.png"},{"id":"jrkx5lmn-v904qjl0-3oz68bwa-7zdygoe3","name":"Guest","slug":"guest-6da419b5","imageUrl":"https://images.opencollective.com/guest-6da419b5/avatar.png"},{"id":"mywxoz34-09rl6k3z-lmlqvenb-dj7gk85a","name":"Guest","slug":"guest-122d7e0a","imageUrl":"https://images.opencollective.com/guest-122d7e0a/avatar.png"},{"id":"3z8arxve-ymko60vm-3eaqgl5n-bj9w704d","name":"Ricardo","slug":"ricardo34","imageUrl":"https://images.opencollective.com/ricardo34/avatar.png"},{"id":"e0adkjrv-8xwm69or-reo67z5n-4l93bgoy","name":"GoM","slug":"guest-3944feab","imageUrl":"https://images.opencollective.com/guest-3944feab/avatar.png"},{"id":"gm9bnk80-437xqrnr-r5o6vzeo-ljdayw5r","name":"Brent Maxwell","slug":"brentmaxwell","imageUrl":"https://images.opencollective.com/brentmaxwell/avatar.png"},{"id":"gnxdwzj3-le5mpwzd-ll0py8rv-bko04a97","name":"Eric G","slug":"guest-478270f1","imageUrl":"https://images.opencollective.com/guest-478270f1/avatar.png"},{"id":"v349mrwg-z75lpyjo-ez8pa08d-jeybknox","name":"ninja","slug":"guest-0bb6ba36","imageUrl":"https://images.opencollective.com/guest-0bb6ba36/avatar.png"},{"id":"ywz9j4av-god8pgw0-53y6mr35-nxklb0e7","name":"s11","slug":"guest-6e9a2588","imageUrl":"https://images.opencollective.com/guest-6e9a2588/avatar.png"},{"id":"mlo94zn7-x08dpo30-v73pewga-3vjbrky5","name":"Incognito","slug":"user-cbad11af","imageUrl":"https://images.opencollective.com/user-cbad11af/avatar.png"},{"id":"v349mrwg-z75lpy7l-yzgpa08d-jeybknox","name":"Ronald Simmons","slug":"ronald-simmons","imageUrl":"https://images.opencollective.com/ronald-simmons/avatar.png"},{"id":"7ywz9j4a-vgod8pgl-me9qmr35-nxklb0e7","name":"Joel","slug":"guest-3376ab02","imageUrl":"https://images.opencollective.com/guest-3376ab02/avatar.png"},{"id":"v349mrwg-z75lpyjw-kxzpa08d-jeybknox","name":"Gokay Yamankurt","slug":"gokay-yamankurt","imageUrl":"https://images.opencollective.com/gokay-yamankurt/avatar.png"},{"id":"v349mrwg-z75lpyjv-59rpa08d-jeybknox","name":"Rhiz3K","slug":"rhiz3k","imagLine truncated
+1 -1
View File
@@ -1 +1 @@
[{"username":"carlchina","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/6697/medium/d22bbe7797bbeb30dbdc73a5648d329a_default.png"},{"username":"zielmann","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/7795/medium/ad22b8b8d5eb33e4154d53a454c862fd_default.png"},{"username":"Thalyn","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12494028/medium/5faf5acc945a874ed116c4567edaa09f_default.png"},{"username":"magnushj","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12503488/medium/68f32e33ea7b891960055c9f831f7344_default.png"},{"username":"almontegil","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12580457/medium/f4136cacbdfdb4c28ae7f85dc5f840db_default.png"},{"username":"andibing","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12664938/medium/b8be63e4dcb2e791ced1ffc9e3a049a5.jpg"},{"username":"gronare","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12680911/medium/c6eb14d1504156f34a158e507f73aa3d_default.png"},{"username":"SmartPhoneLover","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12701640/medium/ec95486662ec875cda080e778c3ff702.jpg"},{"username":"marcelotk_15","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12773227/medium/ecf6bea16ab0c873c131df2154ee9718_default.png"},{"username":"S3OD177","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13051544/medium/11dd990837f61f7e8f7d36b041a7fddb_default.png"},{"username":"marcg","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13153301/medium/ebcf60fbf27deb148ec40a659566c6ff_default.png"},{"username":"BeersTeddy","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13185230/medium/2f1f4e1effe74a23422b195cbefb2a95_default.png"},{"username":"jamesmcmahon0","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13245578/medium/586aa873b4abddbd9abc6f3de99ab70e.jpeg"},{"username":"b1nar10","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13286752/medium/249b02e3368752cb175446082015737c_default.png"},{"username":"vannCN","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13330448/medium/9b8a9ee3611e51e951e22d5fd4eb7d8d.jpg"},{"username":"binswm","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13343482/medium/45dde0e6097b9b72705d2eba9dbbc276_default.png"},{"username":"SkewRam","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13496556/medium/188f5c2deb7938eda51eb786cc4539ca.jpeg"},{"username":"raphcatarino","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13547726/medium/b003511e67df13a4b4b5689488fa8099.jpg"},{"username":"shillos5","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13600557/medium/b17650b2b84f829d54fa548c44c1ab27.jpeg"},{"username":"wolong98","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13641407/medium/f4634edc58c7857a357e5293543c15cf.jpg"},{"username":"spair0039","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14012333/medium/72430e96027c09c19141cac38eae4617.png"},{"username":"MajorMarcin","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14072183/medium/0a197e64bb92b6ea94cecbb607512c45.jpg"},{"username":"KosmoMoustache","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14103535/medium/51c438cdd9f86e8811c75f4869de479c.png"},{"username":"Soochaehwa","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14118689/medium/496a1ce63111547bf455a1e0a7ac75f1_default.png"},{"username":"garryfield","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14187035/medium/520c964706676045f6eeec1b08edc880.jpg"},{"username":"droidenko","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14444264/medium/4aa3a8e824f72bc9e5ec0d8de307095e.jpeg"},{"username":"maathis","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14489950/medium/6eeddf13a757ee35f78f1763f94d95e1.jpeg"},{"username":"bukvam","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14546502/medium/a819dc40a13c57395a17dc46e847d3ce.jpg"},{"username":"gm.cinalli","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14670666/medium/2d466a0fdbda40764526be86c97c0ab4.jpeg"},{"username":"antoine2tt","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14722148/medium/f88d926900862dd59007ea4b3419cb9d.png"},{"username":"cretzen","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14799754/medium/3ba5c1805ec20c000d5810c07985afe9.jpg"},{"username":"ktKongTong","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14817246/medium/97cfc3c028dbdaf85ebd1102da71e58c.jpeg"},{"username":"marinkaberg","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14861042/medium/2d5c4e62613f03082f3e645fa92efd59.jpeg"},{"username":"djismgaming","avatarUrl":"httpsLine truncated [{"username":"carlchina","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/6697/medium/d22bbe7797bbeb30dbdc73a5648d329a_default.png"},{"username":"zielmann","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/7795/medium/ad22b8b8d5eb33e4154d53a454c862fd_default.png"},{"username":"Thalyn","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12494028/medium/5faf5acc945a874ed116c4567edaa09f_default.png"},{"username":"magnushj","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12503488/medium/68f32e33ea7b891960055c9f831f7344_default.png"},{"username":"almontegil","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12580457/medium/f4136cacbdfdb4c28ae7f85dc5f840db_default.png"},{"username":"andibing","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12664938/medium/b8be63e4dcb2e791ced1ffc9e3a049a5.jpg"},{"username":"gronare","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12680911/medium/c6eb14d1504156f34a158e507f73aa3d_default.png"},{"username":"SmartPhoneLover","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12701640/medium/ec95486662ec875cda080e778c3ff702.jpg"},{"username":"marcelotk_15","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/12773227/medium/ecf6bea16ab0c873c131df2154ee9718_default.png"},{"username":"S3OD177","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13051544/medium/11dd990837f61f7e8f7d36b041a7fddb_default.png"},{"username":"marcg","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13153301/medium/ebcf60fbf27deb148ec40a659566c6ff_default.png"},{"username":"BeersTeddy","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13185230/medium/2f1f4e1effe74a23422b195cbefb2a95_default.png"},{"username":"jamesmcmahon0","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13245578/medium/586aa873b4abddbd9abc6f3de99ab70e.jpeg"},{"username":"b1nar10","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13286752/medium/249b02e3368752cb175446082015737c_default.png"},{"username":"vannCN","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13330448/medium/9b8a9ee3611e51e951e22d5fd4eb7d8d.jpg"},{"username":"binswm","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13343482/medium/45dde0e6097b9b72705d2eba9dbbc276_default.png"},{"username":"SkewRam","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13496556/medium/188f5c2deb7938eda51eb786cc4539ca.jpeg"},{"username":"raphcatarino","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13547726/medium/b003511e67df13a4b4b5689488fa8099.jpg"},{"username":"shillos5","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13600557/medium/b17650b2b84f829d54fa548c44c1ab27.jpeg"},{"username":"wolong98","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/13641407/medium/f4634edc58c7857a357e5293543c15cf.jpg"},{"username":"spair0039","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14012333/medium/72430e96027c09c19141cac38eae4617.png"},{"username":"MajorMarcin","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14072183/medium/0a197e64bb92b6ea94cecbb607512c45.jpg"},{"username":"KosmoMoustache","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14103535/medium/51c438cdd9f86e8811c75f4869de479c.png"},{"username":"Soochaehwa","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14118689/medium/496a1ce63111547bf455a1e0a7ac75f1_default.png"},{"username":"garryfield","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14187035/medium/520c964706676045f6eeec1b08edc880.jpg"},{"username":"droidenko","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14444264/medium/4aa3a8e824f72bc9e5ec0d8de307095e.jpeg"},{"username":"maathis","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14489950/medium/6eeddf13a757ee35f78f1763f94d95e1.jpeg"},{"username":"bukvam","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14546502/medium/a819dc40a13c57395a17dc46e847d3ce.jpg"},{"username":"gm.cinalli","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14670666/medium/2d466a0fdbda40764526be86c97c0ab4.jpeg"},{"username":"antoine2tt","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14722148/medium/f88d926900862dd59007ea4b3419cb9d.png"},{"username":"cretzen","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14799754/medium/3ba5c1805ec20c000d5810c07985afe9.jpg"},{"username":"ktKongTong","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14817246/medium/97cfc3c028dbdaf85ebd1102da71e58c.jpeg"},{"username":"marinkaberg","avatarUrl":"https://crowdin-static.cf-downloads.crowdin.com/avatar/14861042/medium/2d5c4e62613f03082f3e645fa92efd59.jpeg"},{"username":"djismgaming","avatarUrl":"httpsLine truncated
+5 -2
View File
@@ -4,11 +4,14 @@ description: "Common setup steps for Actions"
runs: runs:
using: composite using: composite
steps: steps:
- uses: pnpm/action-setup@v6 - uses: pnpm/action-setup@v5
- uses: actions/setup-node@v6 - uses: actions/setup-node@v6
with: with:
node-version: 24.15.0 node-version: 24.14.1
cache: "pnpm" cache: "pnpm"
- shell: bash
run: pnpm add -g turbo
- shell: bash - shell: bash
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile