mirror of
https://github.com/gethomepage/homepage.git
synced 2026-09-26 22:11:20 -07:00
Compare commits
1
Commits
v2.4.0
..
8013a1ac5a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8013a1ac5a |
@@ -5,7 +5,7 @@ description: Nginx Proxy Manager Widget Configuration
|
||||
|
||||
Learn more about [Nginx Proxy Manager](https://nginxproxymanager.com/).
|
||||
|
||||
Use a "view-only" user for the username and password.
|
||||
Login with the same admin username and password used to access the web UI.
|
||||
|
||||
Allowed fields: `["enabled", "disabled", "total"]`.
|
||||
|
||||
@@ -13,6 +13,6 @@ Allowed fields: `["enabled", "disabled", "total"]`.
|
||||
widget:
|
||||
type: npm
|
||||
url: http://npm.host.or.ip
|
||||
username: view_only_username
|
||||
password: view_only_password
|
||||
username: admin_username
|
||||
password: admin_password
|
||||
```
|
||||
|
||||
@@ -13,5 +13,4 @@ widget:
|
||||
url: http://whatsupdocker:port
|
||||
username: username # optional
|
||||
password: password # optional
|
||||
key: bearer-token # optional, takes precedence over username/password
|
||||
```
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "homepage",
|
||||
"version": "2.4.0",
|
||||
"version": "2.3.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
@@ -23,7 +23,7 @@
|
||||
"gamedig": "^5.3.3",
|
||||
"i18next": "^26.3.6",
|
||||
"ical.js": "^2.2.1",
|
||||
"js-yaml": "^5.4.2",
|
||||
"js-yaml": "^5.4.1",
|
||||
"json-rpc-2.0": "^1.7.1",
|
||||
"luxon": "^3.7.2",
|
||||
"memory-cache": "^0.2.0",
|
||||
|
||||
Generated
+125
-125
@@ -36,8 +36,8 @@ importers:
|
||||
specifier: ^2.2.1
|
||||
version: 2.2.1
|
||||
js-yaml:
|
||||
specifier: ^5.4.2
|
||||
version: 5.4.2
|
||||
specifier: ^5.4.1
|
||||
version: 5.4.1
|
||||
json-rpc-2.0:
|
||||
specifier: ^1.7.1
|
||||
version: 1.7.1
|
||||
@@ -431,160 +431,160 @@ packages:
|
||||
resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
'@img/sharp-darwin-arm64@0.35.4':
|
||||
resolution: {integrity: sha512-Uhfl4V4lhP2nbUVF9+hyH1+luj86f1gUFeo8ALYxFoULoU+G87D43BfeMP8XHsk9boxAnCY/bf2EHwhA7MuGsA==}
|
||||
'@img/sharp-darwin-arm64@0.35.3':
|
||||
resolution: {integrity: sha512-RMnFX7YQsMoh7lWfcM4NEHHymBX/rLuKNPVM84XE9ONPcaSCDgE7CHIHpSgPcO2xcRthgBy1HfNO319mwhIAkg==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@img/sharp-darwin-x64@0.35.4':
|
||||
resolution: {integrity: sha512-hWniXY3bG5qKpkKrAwPe4y+VTPmf086YQAnkxWh7uA1YrlRouWGa0M0Mxj3ZjnXFkv7/TD1bTy9lGUK26vRvWw==}
|
||||
'@img/sharp-darwin-x64@0.35.3':
|
||||
resolution: {integrity: sha512-Xo+5uFBtLN0BKqieTxiFzFPQAUlBbbH5iBKyRX/z1JrbnYsHTfKJnUfL8+p2TPXr1pXqao4eeL4Rl144uDpK9w==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@img/sharp-freebsd-wasm32@0.35.4':
|
||||
resolution: {integrity: sha512-lIsKw/BU+kjB4eZjxrYrZmwOJYi3Ajrv66iAlBmUPyKc3HpnloevB1g3wxGD9P/5BbQ1brBGl65VRRrCvQDEqA==}
|
||||
'@img/sharp-freebsd-wasm32@0.35.3':
|
||||
resolution: {integrity: sha512-lUxcqWIj2wMQ9BrwNjngcr1gWUr5xgaGThBRqPPalIC2n67Cqj1uPh8NnA/ZhAg8hUbKl+kVHKwgUIwe6ZYPrg==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
os: [freebsd]
|
||||
|
||||
'@img/sharp-libvips-darwin-arm64@1.3.3':
|
||||
resolution: {integrity: sha512-suTBPTDGrI9WodccaDdwZItTSaBYASlBk1NSfElSHrUfzu3szG6lvIF58+WiFvnfzuK8ZBFS5zE00PxqxnRiPg==}
|
||||
'@img/sharp-libvips-darwin-arm64@1.3.2':
|
||||
resolution: {integrity: sha512-9J6ypZFpQBj4YnePGoq/S38w6nz+vqg5WZLrLGY4YuSemdMq47GMLBPO42MzwdGwpg/agZ7xzZcFHa48xlywfg==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@img/sharp-libvips-darwin-x64@1.3.3':
|
||||
resolution: {integrity: sha512-FVJZ5mITMobmXIz/hPDTw0EintTW5H3WfrxwLqEqjiIihlu+hVRyGrFQ60xl0Lxn7Bt3zdpevPaQi0HEzqz9fw==}
|
||||
'@img/sharp-libvips-darwin-x64@1.3.2':
|
||||
resolution: {integrity: sha512-m2pW1n6cns9VaubNwsZ+c3CRYjxNQWgJ5gPlnL1nbBcpkBvFm6SCFN5o0psFHI8w9n11NKhFkeEDns98tiqbEw==}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@img/sharp-libvips-linux-arm64@1.3.3':
|
||||
resolution: {integrity: sha512-0DaL0A6Xu6sQSQFwe4iVCrKWU2cCTItnRsYsCdxAMm9NF6twAA9BKnoqy4hqz4+azQ0JHuA26qiUKsf1XJ/v5A==}
|
||||
'@img/sharp-libvips-linux-arm64@1.3.2':
|
||||
resolution: {integrity: sha512-dqVSFynCox4C/J8kT16V7SIFAns0IjgLwkvYT7p8LQVmJ5OS5b6tI9IGflxTeuBS//zXeFIUbwt5dwxyZ17cnA==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-libvips-linux-arm@1.3.3':
|
||||
resolution: {integrity: sha512-3rbU4vqXXc3hY/OiXdl52xZvT0F1yEngWfvqudtPJg/KkyiaQw2DRsFrNzpmLvfavbwOq3qXn36GP8obHRULQA==}
|
||||
'@img/sharp-libvips-linux-arm@1.3.2':
|
||||
resolution: {integrity: sha512-1eMLzy92I4J6rmi4mAT8yC3HxOtniyGELlzGbNMLLeqe052ahFQ0h6LFq+lh5DsDIdYViIDst08abvSbcEdLXQ==}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-libvips-linux-ppc64@1.3.3':
|
||||
resolution: {integrity: sha512-cdn1OvUBwsXhbC0zSzJnNzf5MZ/mTrobawDvNXBTxe8VtqKAm0sRuEY2Evzovb/w9JMk4TvRxqt1mekSuJz64w==}
|
||||
'@img/sharp-libvips-linux-ppc64@1.3.2':
|
||||
resolution: {integrity: sha512-3z0NHDxD6n5I9gc05U1eW1AyRm+Gznzq3naMrthPNqE6oYykcogW0l/jfpJdjYnuNl8R7yI9pNbE1XiUeyq0Aw==}
|
||||
cpu: [ppc64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-libvips-linux-riscv64@1.3.3':
|
||||
resolution: {integrity: sha512-HjPVx7yKz+0lqdhDlTw1tt90wamBoxhiXpvl1XZpJLiHH4RCJ5yDTqH+VlYPv2fwFs89JFw4c1IexYOcQUi4IQ==}
|
||||
'@img/sharp-libvips-linux-riscv64@1.3.2':
|
||||
resolution: {integrity: sha512-bsb4rI+NldGOsXuej2r8OdSS8+zXDVaCWxyWrcv6kneTOlgAHtZABRzBBCwdsPiD90J4myNJuHpg6kA20ImW/w==}
|
||||
cpu: [riscv64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-libvips-linux-s390x@1.3.3':
|
||||
resolution: {integrity: sha512-neWLh+3yCNThxnfy3c4BbVBeGgt9aftno+XbT56iK28RgeDs3UOFWviLWlUu0bArYVYJaFDK+RRohbicUNCm8Q==}
|
||||
'@img/sharp-libvips-linux-s390x@1.3.2':
|
||||
resolution: {integrity: sha512-/ABshyj8gCpyIrNXnHn4LorDJ0HHm1VhXPBlxZ8zAtfVPAaSafXPGn+sUSIRiwaSBy0mmFjSjiXI5mkcwdChKQ==}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-libvips-linux-x64@1.3.3':
|
||||
resolution: {integrity: sha512-4vKmvAst9nrowcqquKFAyZJUDolUaIp8uRiN0mWFguJ1IplC9/pitXtlnnlU4aa/eJw3J7i67V+pwUL+wZGdsA==}
|
||||
'@img/sharp-libvips-linux-x64@1.3.2':
|
||||
resolution: {integrity: sha512-ITPEtgffGJ0S6G9dRyw/366tJQqFRcHWPHhC+Stpg3Z8AEMrDrTr2lhdz4f/Y/HMbRh//7Z5mBzEpVdi62Oc3w==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-libvips-linuxmusl-arm64@1.3.3':
|
||||
resolution: {integrity: sha512-Y9kQaLMuNoB0bPYOOdcZMaseNrFpPodIWWMrx+CZyydf2xn68j9WYc6sWWRrDwNkzCQjKYfc68L7jKjGlHMibw==}
|
||||
'@img/sharp-libvips-linuxmusl-arm64@1.3.2':
|
||||
resolution: {integrity: sha512-zE9EdiUzUmg5mDT5a1rk5fYJ6GWPloTwWBYDS14naqHsL+EaMpDj1AWnpLgh3u0YCORv2Tt50wrcrpYqkP97Kw==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@img/sharp-libvips-linuxmusl-x64@1.3.3':
|
||||
resolution: {integrity: sha512-fj8Mv0HHfD1Rr+4I68+3agJynxDWtBFgicTbSOb9Bke6pIwzGcJ+RX/yHjmiEGFMCavY/dxvem7MyNaJF+wDiw==}
|
||||
'@img/sharp-libvips-linuxmusl-x64@1.3.2':
|
||||
resolution: {integrity: sha512-m0lrLiUt+lBYnCFr8qV/65yMR4E/c7/wf78I5eKTdkEakFAlZ9QlzEM3QIhhAwVeUhLAHLcCq7a7Vszq/oFNZQ==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@img/sharp-linux-arm64@0.35.4':
|
||||
resolution: {integrity: sha512-De4jpEnAU8Hd5oT0j1G3uL4ZvTuipVMn7YC6vPaJhy6/7EwEae0SVAoBrUMYQbkLGDm85taVWwuPc1a44LTzCQ==}
|
||||
'@img/sharp-linux-arm64@0.35.3':
|
||||
resolution: {integrity: sha512-QgKDspHPnrU+GQ55XPhGwyhC8acLVOOSyAvo1oVfFmrIXLkDNmGWzAfDZ4xK8oSA1qBQrALcHX0G5UZni/SuFQ==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-linux-arm@0.35.4':
|
||||
resolution: {integrity: sha512-7OAS8gI0EReKGVN2HssHlM6umJgxF5VI3xN0p9FA91p/YO+ou5hiNghLdZ5BEHztwaaK5+bLKRf8x/o2L2nk9A==}
|
||||
'@img/sharp-linux-arm@0.35.3':
|
||||
resolution: {integrity: sha512-affVWCTLooy8TSxbDx2qkzuDeaWLNVBA+P//FNBirHsXpP2fuBhk5AuboYUnrDnzoXes8GFjpTx0SBFOCRg+FA==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-linux-ppc64@0.35.4':
|
||||
resolution: {integrity: sha512-2oYZJeIl4kCcMGk4ouZVjnkCtFrpQFlNEtJ6GbxzhHQchwH0NH/qEb9ykmOl29dqwMq+JhFdZn+1ak2FKhI9fQ==}
|
||||
'@img/sharp-linux-ppc64@0.35.3':
|
||||
resolution: {integrity: sha512-sMd8rDxmpLOwv/7N44klFjOD5DUO7FLdjiXDI0hoxYaf7Ar262dQIEkosE98bps+5HPLtp/EvNqeqQtOycP/IA==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [ppc64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-linux-riscv64@0.35.4':
|
||||
resolution: {integrity: sha512-cPbNChoRURAWdebDIHSenxRpgEdy7JkPydSnUxRm9VvKD7m0/xVaR/8Fzlu81pk5nHEvHH87UZUA7cTtwnbJSA==}
|
||||
'@img/sharp-linux-riscv64@0.35.3':
|
||||
resolution: {integrity: sha512-0Eob78yjlYPfL5vMNWAW55l3R9Y6BQS/gOfe0ZcP9mEz9ohhKSt4im1hayiknXgf8AWrFqMvJcKIdmLmEe7yeQ==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [riscv64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-linux-s390x@0.35.4':
|
||||
resolution: {integrity: sha512-RY0JFY8Fd6RonCBtHz+DvadaPkXDSI1AUn6yWL9TipqkZ1vY8w8evqdgyDFnkm4/K1ve1TvZiaePP5oSd4+WVQ==}
|
||||
'@img/sharp-linux-s390x@0.35.3':
|
||||
resolution: {integrity: sha512-KgAxQ0DxpNOq1rG2t5cgTgShJFGSuU7XO45cqC+1NVOuZnP6tlgZRuSYOfNupGkHID0o3cJOsw4DVeJpMovcGw==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-linux-x64@0.35.4':
|
||||
resolution: {integrity: sha512-9qvvEAuk8k89TfWUoX2htWjbAMX8p+NxCppjpcg5k6xMsjhBQPTsoIh36h9Qde4WRuGpJeYnOjdosDn/cnv+OA==}
|
||||
'@img/sharp-linux-x64@0.35.3':
|
||||
resolution: {integrity: sha512-8pqvxubL2PGdhlPy6GLqzDYMUjyRmKAwKHYKixpdJYBUK7PJ0C029XdsnpFIdgRZG68fZiGdHVWcKPvtiPB4cA==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@img/sharp-linuxmusl-arm64@0.35.4':
|
||||
resolution: {integrity: sha512-KB5jxpfWQTr0nc3xdHtWChdbifHrBGsd2SM62Eyxrl8afikm+f5qGBU75SJIZBT/S1MC8XyacdlXBMSWq6OURA==}
|
||||
'@img/sharp-linuxmusl-arm64@0.35.3':
|
||||
resolution: {integrity: sha512-Vz0iQjzzcSX3HCbfwFfCSG/9SCIqyO0mH2sXyiHaAYfBk0cRsCWXRyQYX0ovCK/PAQBbTzQ0dsPQHh5MAFL59w==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@img/sharp-linuxmusl-x64@0.35.4':
|
||||
resolution: {integrity: sha512-f+eZJZIQNEEd26RPSW+76chwOf1XtA2Y/O+5ocVyLliHkeih3e+jhLVBdNTd2rS3IbNXK8+ug93Vf5ZXtF5Lxg==}
|
||||
'@img/sharp-linuxmusl-x64@0.35.3':
|
||||
resolution: {integrity: sha512-6O1NPKcDVj9QEdg7Hx549EX8U0rp6yXQERqru6yRN7fGBn32UvIRJUlWnk+8xDCiG76hXVBbX82NZ/ZKr0euIg==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@img/sharp-wasm32@0.35.4':
|
||||
resolution: {integrity: sha512-zQnl4Kwp7Q6NHsENtU2T/00Zi+w3AQNwz3+UaTyVBy2FpXrzXzGjndpK61onhZjRtRpQXxCTeqw19bVyXOh7jA==}
|
||||
'@img/sharp-wasm32@0.35.3':
|
||||
resolution: {integrity: sha512-cZ0XkcYGpHZkqW6iCkqTcmUC0CD9DhD5d/qeZlZkfRBn6GnHniZXLUo5+9xw8Iv76YE6LQFN9YNBlKREcCG76w==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
|
||||
'@img/sharp-webcontainers-wasm32@0.35.4':
|
||||
resolution: {integrity: sha512-ESfNkywmCfPNyaZjxooddJQiQ+l/nTpGEOGthxiLnIHXC/CmcBixnfwUleX9mCz9ovrUUvKMap/pm8RYbzfwaA==}
|
||||
'@img/sharp-webcontainers-wasm32@0.35.3':
|
||||
resolution: {integrity: sha512-2rnq7bX3NzeR2T4YWgz8qiG4h3TSdMe+vN1iQXpJleSJ3SM5zQ8Fy2SyyXAWlbxpEZ2Y+Z4u1BePgJEYbSy80Q==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [wasm32]
|
||||
|
||||
'@img/sharp-win32-arm64@0.35.4':
|
||||
resolution: {integrity: sha512-iNdlBX9gLVvqe2I3uIJSIKTq6wckP/DYxZtcqxm09x5Gi24DnFBmPAWZmr60ZyYMG0xlzo6goG3670ar+RXvRw==}
|
||||
'@img/sharp-win32-arm64@0.35.3':
|
||||
resolution: {integrity: sha512-4bPwFdMbeC4JQ8L8LOyWp6nsHcboP5fxkp6iPOXz2Vg49R42TuMs2whkJ5OAP4/Ul035qOzy0AecOF9VOscn4w==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@img/sharp-win32-ia32@0.35.4':
|
||||
resolution: {integrity: sha512-kqRsbaa5CS6KHlpxnN7WhE6vAAugXyZButpRdvDWetlv6Qv4N9WTcrWzF7tXfB9T7MsoadqdI8hmwLq6UlLvtw==}
|
||||
'@img/sharp-win32-ia32@0.35.3':
|
||||
resolution: {integrity: sha512-r53mXsBN6lFUDiST764SvgwUdHAqM4rPAiDzAmf4fLoB6X/rkfyTrLCg6+g17wJJiCmB3JYgHuUldCWUIRFSXw==}
|
||||
engines: {node: ^20.9.0}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
|
||||
'@img/sharp-win32-x64@0.35.4':
|
||||
resolution: {integrity: sha512-XtmnYhBcrORsJ4XJngyzr/EWP0hRZLAZRFaApdKuviyqF78+ylxh2y06ZmtULAMOnObJ3ucpN0AcwSWnMowTRg==}
|
||||
'@img/sharp-win32-x64@0.35.3':
|
||||
resolution: {integrity: sha512-D4y1vNeZrIIJCN+uHaWVtH86B+aCrdMYYjicy9pXHvbGZeGYLLSd3wdVuC37FxVXlU1ARsk84eKWfWMXGYEqvA==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
@@ -2481,8 +2481,8 @@ packages:
|
||||
resolution: {integrity: sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==}
|
||||
hasBin: true
|
||||
|
||||
js-yaml@5.4.2:
|
||||
resolution: {integrity: sha512-m+aqu+LwO1O6sIopafj8HUVl5aawITwZQe/yHpMCKjaWBaA/d07B/QdMb3529REftiU+RMMHL3Vlsw3hON7vWg==}
|
||||
js-yaml@5.4.1:
|
||||
resolution: {integrity: sha512-28R/k+NAjeuf7+CKlTxWZVExJGwVVLwY06DgEnOMz2gEpfNkDcD7QvyiVPT0xy0XXhU8vHsd4Ot42OOPdJG7dQ==}
|
||||
hasBin: true
|
||||
|
||||
jsdom@30.0.1:
|
||||
@@ -3318,8 +3318,8 @@ packages:
|
||||
setprototypeof@1.2.0:
|
||||
resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
|
||||
|
||||
sharp@0.35.4:
|
||||
resolution: {integrity: sha512-n++8XWcj+jCOr2IOl7h8LbKnGBDY4aPbmprMONBNFdn0ImXqpGVv5zliDs0V9HbmbCQLpbuo2ej9rAoOQTvMDA==}
|
||||
sharp@0.35.3:
|
||||
resolution: {integrity: sha512-ej0zVHuZGHCiABXcNxeYhpRnPNPAcvbG8RMdBAhDAxLKkCRVSpK3Iyu7qbqw3JMzoj0REeM6f3tJLtVwl0023Q==}
|
||||
engines: {node: '>=20.9.0'}
|
||||
peerDependencies:
|
||||
'@types/node': '*'
|
||||
@@ -4206,108 +4206,108 @@ snapshots:
|
||||
'@img/colour@1.1.0':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-darwin-arm64@0.35.4':
|
||||
'@img/sharp-darwin-arm64@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-darwin-arm64': 1.3.3
|
||||
'@img/sharp-libvips-darwin-arm64': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-darwin-x64@0.35.4':
|
||||
'@img/sharp-darwin-x64@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-darwin-x64': 1.3.3
|
||||
'@img/sharp-libvips-darwin-x64': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-freebsd-wasm32@0.35.4':
|
||||
'@img/sharp-freebsd-wasm32@0.35.3':
|
||||
dependencies:
|
||||
'@img/sharp-wasm32': 0.35.4
|
||||
'@img/sharp-wasm32': 0.35.3
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-darwin-arm64@1.3.3':
|
||||
'@img/sharp-libvips-darwin-arm64@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-darwin-x64@1.3.3':
|
||||
'@img/sharp-libvips-darwin-x64@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-linux-arm64@1.3.3':
|
||||
'@img/sharp-libvips-linux-arm64@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-linux-arm@1.3.3':
|
||||
'@img/sharp-libvips-linux-arm@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-linux-ppc64@1.3.3':
|
||||
'@img/sharp-libvips-linux-ppc64@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-linux-riscv64@1.3.3':
|
||||
'@img/sharp-libvips-linux-riscv64@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-linux-s390x@1.3.3':
|
||||
'@img/sharp-libvips-linux-s390x@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-linux-x64@1.3.3':
|
||||
'@img/sharp-libvips-linux-x64@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-linuxmusl-arm64@1.3.3':
|
||||
'@img/sharp-libvips-linuxmusl-arm64@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-libvips-linuxmusl-x64@1.3.3':
|
||||
'@img/sharp-libvips-linuxmusl-x64@1.3.2':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-linux-arm64@0.35.4':
|
||||
'@img/sharp-linux-arm64@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-arm64': 1.3.3
|
||||
'@img/sharp-libvips-linux-arm64': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-linux-arm@0.35.4':
|
||||
'@img/sharp-linux-arm@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-arm': 1.3.3
|
||||
'@img/sharp-libvips-linux-arm': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-linux-ppc64@0.35.4':
|
||||
'@img/sharp-linux-ppc64@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-ppc64': 1.3.3
|
||||
'@img/sharp-libvips-linux-ppc64': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-linux-riscv64@0.35.4':
|
||||
'@img/sharp-linux-riscv64@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-riscv64': 1.3.3
|
||||
'@img/sharp-libvips-linux-riscv64': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-linux-s390x@0.35.4':
|
||||
'@img/sharp-linux-s390x@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-s390x': 1.3.3
|
||||
'@img/sharp-libvips-linux-s390x': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-linux-x64@0.35.4':
|
||||
'@img/sharp-linux-x64@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-x64': 1.3.3
|
||||
'@img/sharp-libvips-linux-x64': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-linuxmusl-arm64@0.35.4':
|
||||
'@img/sharp-linuxmusl-arm64@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linuxmusl-arm64': 1.3.3
|
||||
'@img/sharp-libvips-linuxmusl-arm64': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-linuxmusl-x64@0.35.4':
|
||||
'@img/sharp-linuxmusl-x64@0.35.3':
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linuxmusl-x64': 1.3.3
|
||||
'@img/sharp-libvips-linuxmusl-x64': 1.3.2
|
||||
optional: true
|
||||
|
||||
'@img/sharp-wasm32@0.35.4':
|
||||
'@img/sharp-wasm32@0.35.3':
|
||||
dependencies:
|
||||
'@emnapi/runtime': 1.11.3
|
||||
optional: true
|
||||
|
||||
'@img/sharp-webcontainers-wasm32@0.35.4':
|
||||
'@img/sharp-webcontainers-wasm32@0.35.3':
|
||||
dependencies:
|
||||
'@img/sharp-wasm32': 0.35.4
|
||||
'@img/sharp-wasm32': 0.35.3
|
||||
optional: true
|
||||
|
||||
'@img/sharp-win32-arm64@0.35.4':
|
||||
'@img/sharp-win32-arm64@0.35.3':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-win32-ia32@0.35.4':
|
||||
'@img/sharp-win32-ia32@0.35.3':
|
||||
optional: true
|
||||
|
||||
'@img/sharp-win32-x64@0.35.4':
|
||||
'@img/sharp-win32-x64@0.35.3':
|
||||
optional: true
|
||||
|
||||
'@internationalized/date@3.12.3':
|
||||
@@ -4359,7 +4359,7 @@ snapshots:
|
||||
form-data: 4.0.6
|
||||
hpagent: 1.2.0
|
||||
isomorphic-ws: 5.0.0(ws@8.21.2)
|
||||
js-yaml: 5.4.2
|
||||
js-yaml: 5.4.1
|
||||
jsonpath-plus: 10.4.0
|
||||
openid-client: 6.8.5
|
||||
rfc4648: 1.5.4
|
||||
@@ -6263,7 +6263,7 @@ snapshots:
|
||||
dependencies:
|
||||
argparse: 2.0.1
|
||||
|
||||
js-yaml@5.4.2:
|
||||
js-yaml@5.4.1:
|
||||
dependencies:
|
||||
argparse: 2.0.1
|
||||
|
||||
@@ -6594,7 +6594,7 @@ snapshots:
|
||||
'@next/swc-linux-x64-musl': 16.3.3
|
||||
'@next/swc-win32-arm64-msvc': 16.3.3
|
||||
'@next/swc-win32-x64-msvc': 16.3.3
|
||||
sharp: 0.35.4(@types/node@26.2.0)
|
||||
sharp: 0.35.3(@types/node@26.2.0)
|
||||
transitivePeerDependencies:
|
||||
- '@babel/core'
|
||||
- '@types/node'
|
||||
@@ -7079,37 +7079,37 @@ snapshots:
|
||||
|
||||
setprototypeof@1.2.0: {}
|
||||
|
||||
sharp@0.35.4(@types/node@26.2.0):
|
||||
sharp@0.35.3(@types/node@26.2.0):
|
||||
dependencies:
|
||||
'@img/colour': 1.1.0
|
||||
detect-libc: 2.1.2
|
||||
semver: 7.8.5
|
||||
optionalDependencies:
|
||||
'@img/sharp-darwin-arm64': 0.35.4
|
||||
'@img/sharp-darwin-x64': 0.35.4
|
||||
'@img/sharp-freebsd-wasm32': 0.35.4
|
||||
'@img/sharp-libvips-darwin-arm64': 1.3.3
|
||||
'@img/sharp-libvips-darwin-x64': 1.3.3
|
||||
'@img/sharp-libvips-linux-arm': 1.3.3
|
||||
'@img/sharp-libvips-linux-arm64': 1.3.3
|
||||
'@img/sharp-libvips-linux-ppc64': 1.3.3
|
||||
'@img/sharp-libvips-linux-riscv64': 1.3.3
|
||||
'@img/sharp-libvips-linux-s390x': 1.3.3
|
||||
'@img/sharp-libvips-linux-x64': 1.3.3
|
||||
'@img/sharp-libvips-linuxmusl-arm64': 1.3.3
|
||||
'@img/sharp-libvips-linuxmusl-x64': 1.3.3
|
||||
'@img/sharp-linux-arm': 0.35.4
|
||||
'@img/sharp-linux-arm64': 0.35.4
|
||||
'@img/sharp-linux-ppc64': 0.35.4
|
||||
'@img/sharp-linux-riscv64': 0.35.4
|
||||
'@img/sharp-linux-s390x': 0.35.4
|
||||
'@img/sharp-linux-x64': 0.35.4
|
||||
'@img/sharp-linuxmusl-arm64': 0.35.4
|
||||
'@img/sharp-linuxmusl-x64': 0.35.4
|
||||
'@img/sharp-webcontainers-wasm32': 0.35.4
|
||||
'@img/sharp-win32-arm64': 0.35.4
|
||||
'@img/sharp-win32-ia32': 0.35.4
|
||||
'@img/sharp-win32-x64': 0.35.4
|
||||
'@img/sharp-darwin-arm64': 0.35.3
|
||||
'@img/sharp-darwin-x64': 0.35.3
|
||||
'@img/sharp-freebsd-wasm32': 0.35.3
|
||||
'@img/sharp-libvips-darwin-arm64': 1.3.2
|
||||
'@img/sharp-libvips-darwin-x64': 1.3.2
|
||||
'@img/sharp-libvips-linux-arm': 1.3.2
|
||||
'@img/sharp-libvips-linux-arm64': 1.3.2
|
||||
'@img/sharp-libvips-linux-ppc64': 1.3.2
|
||||
'@img/sharp-libvips-linux-riscv64': 1.3.2
|
||||
'@img/sharp-libvips-linux-s390x': 1.3.2
|
||||
'@img/sharp-libvips-linux-x64': 1.3.2
|
||||
'@img/sharp-libvips-linuxmusl-arm64': 1.3.2
|
||||
'@img/sharp-libvips-linuxmusl-x64': 1.3.2
|
||||
'@img/sharp-linux-arm': 0.35.3
|
||||
'@img/sharp-linux-arm64': 0.35.3
|
||||
'@img/sharp-linux-ppc64': 0.35.3
|
||||
'@img/sharp-linux-riscv64': 0.35.3
|
||||
'@img/sharp-linux-s390x': 0.35.3
|
||||
'@img/sharp-linux-x64': 0.35.3
|
||||
'@img/sharp-linuxmusl-arm64': 0.35.3
|
||||
'@img/sharp-linuxmusl-x64': 0.35.3
|
||||
'@img/sharp-webcontainers-wasm32': 0.35.3
|
||||
'@img/sharp-win32-arm64': 0.35.3
|
||||
'@img/sharp-win32-ia32': 0.35.3
|
||||
'@img/sharp-win32-x64': 0.35.3
|
||||
'@types/node': 26.2.0
|
||||
optional: true
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"seconds": "s"
|
||||
},
|
||||
"auth": {
|
||||
"signout": "Abmelden"
|
||||
"signout": "Sign out"
|
||||
},
|
||||
"widget": {
|
||||
"missing_type": "Fehlender Widget-Typ: {{type}}",
|
||||
@@ -40,8 +40,8 @@
|
||||
},
|
||||
"search": {
|
||||
"placeholder": "Suche…",
|
||||
"provider": "Suchmaschine: {{name}}",
|
||||
"select_provider": "Suchmaschine auswählen"
|
||||
"provider": "Search engine: {{name}}",
|
||||
"select_provider": "Select search engine"
|
||||
},
|
||||
"resources": {
|
||||
"cpu": "CPU",
|
||||
@@ -77,13 +77,13 @@
|
||||
"no_data": "Keine Speicherdaten verfügbar"
|
||||
},
|
||||
"duplicati": {
|
||||
"jobs": "Aufgaben",
|
||||
"stored": "Gespeichert",
|
||||
"lastBackup": "Zuletzt ausgeführt",
|
||||
"nextRun": "Nächste Ausführung",
|
||||
"running": "Wird ausgeführt",
|
||||
"warnings": "Warnungen",
|
||||
"errors": "Fehler"
|
||||
"jobs": "Jobs",
|
||||
"stored": "Stored",
|
||||
"lastBackup": "Last Run",
|
||||
"nextRun": "Next Run",
|
||||
"running": "Running",
|
||||
"warnings": "Warnings",
|
||||
"errors": "Errors"
|
||||
},
|
||||
"docker": {
|
||||
"rx": "RX",
|
||||
@@ -100,11 +100,11 @@
|
||||
"not_found": "Nicht gefunden",
|
||||
"exited": "Beendet",
|
||||
"partial": "Teilweise",
|
||||
"created": "Erstellt am",
|
||||
"paused": "Pausiert",
|
||||
"restarting": "Wird neu gestartet",
|
||||
"removing": "Wird entfernt",
|
||||
"dead": "Tot"
|
||||
"created": "Created",
|
||||
"paused": "Paused",
|
||||
"restarting": "Restarting",
|
||||
"removing": "Removing",
|
||||
"dead": "Dead"
|
||||
},
|
||||
"ping": {
|
||||
"error": "Fehler",
|
||||
@@ -140,7 +140,7 @@
|
||||
"series": "Serien",
|
||||
"episodes": "Episoden",
|
||||
"songs": "Titel",
|
||||
"albums": "Alben"
|
||||
"albums": "Albums"
|
||||
},
|
||||
"esphome": {
|
||||
"offline": "Offline",
|
||||
@@ -364,15 +364,15 @@
|
||||
"address": "Adresse",
|
||||
"expires": "Läuft ab",
|
||||
"never": "Nie",
|
||||
"user": "Benutzer",
|
||||
"user": "User",
|
||||
"hostname": "Hostname",
|
||||
"name": "Name",
|
||||
"client_version": "Client-Version",
|
||||
"os": "Betriebssystem",
|
||||
"created": "Erstellt am",
|
||||
"authorized": "Autorisiert",
|
||||
"is_external": "Ist extern",
|
||||
"update_available": "Aktualisierung verfügbar",
|
||||
"client_version": "Client Version",
|
||||
"os": "OS",
|
||||
"created": "Created",
|
||||
"authorized": "Authorized",
|
||||
"is_external": "Is External",
|
||||
"update_available": "Update Available",
|
||||
"tags": "Tags",
|
||||
"last_seen": "Zuletzt gesehen",
|
||||
"now": "Jetzt",
|
||||
@@ -383,8 +383,8 @@
|
||||
"minutes": "{{number}}min",
|
||||
"seconds": "{{number}}s",
|
||||
"ago": "Vor {{value}}",
|
||||
"true": "Ja",
|
||||
"false": "Nein"
|
||||
"true": "Yes",
|
||||
"false": "No"
|
||||
},
|
||||
"technitium": {
|
||||
"totalQueries": "Anfragen",
|
||||
@@ -479,7 +479,7 @@
|
||||
"users": "Benutzer",
|
||||
"loginsLast24H": "Anmeldungen (24 h)",
|
||||
"failedLoginsLast24H": "Fehlversuche (24 h)",
|
||||
"authorizationsLast24H": "Autorisierungen (24h)"
|
||||
"authorizationsLast24H": "Auths (24h)"
|
||||
},
|
||||
"proxmox": {
|
||||
"mem": "RAM",
|
||||
@@ -488,7 +488,7 @@
|
||||
"vms": "VMs"
|
||||
},
|
||||
"pulse": {
|
||||
"nodes": "Knoten",
|
||||
"nodes": "Nodes",
|
||||
"vms": "VMs",
|
||||
"lxcs": "LXCs"
|
||||
},
|
||||
@@ -657,13 +657,13 @@
|
||||
"total": "Total"
|
||||
},
|
||||
"pangolin": {
|
||||
"orgs": "Organisationen",
|
||||
"orgs": "Orgs",
|
||||
"sites": "Seiten",
|
||||
"resources": "Ressourcen",
|
||||
"targets": "Ziele",
|
||||
"traffic": "Traffic",
|
||||
"in": "Eingehend",
|
||||
"out": "Ausgehend"
|
||||
"in": "In",
|
||||
"out": "Out"
|
||||
},
|
||||
"peanut": {
|
||||
"battery_charge": "Akkuladung",
|
||||
@@ -959,27 +959,27 @@
|
||||
"storage": "Speicher"
|
||||
},
|
||||
"maintainerr": {
|
||||
"itemsHandled": "Items bearbeitet",
|
||||
"episodesHandled": "Episoden behandelt",
|
||||
"moviesHandled": "Filme behandelt",
|
||||
"showsHandled": "Serien behandelt",
|
||||
"seasonsHandled": "Staffeln bearbeitet",
|
||||
"reclaimable": "Zurückforderbar",
|
||||
"movieReclaimable": "Film zurückforderbar",
|
||||
"showReclaimable": "Serie zurückforderbar",
|
||||
"totalCapacity": "Gesamte Kapazität"
|
||||
"itemsHandled": "Items Handled",
|
||||
"episodesHandled": "Episodes Handled",
|
||||
"moviesHandled": "Movies Handled",
|
||||
"showsHandled": "Shows Handled",
|
||||
"seasonsHandled": "Seasons Handled",
|
||||
"reclaimable": "Reclaimable",
|
||||
"movieReclaimable": "Movie Reclaimable",
|
||||
"showReclaimable": "Show Reclaimable",
|
||||
"totalCapacity": "Total Capacity"
|
||||
},
|
||||
"netdata": {
|
||||
"warnings": "Warnungen",
|
||||
"criticals": "Kritisch"
|
||||
},
|
||||
"ntfy": {
|
||||
"title": "Titel",
|
||||
"priority": "Priorität",
|
||||
"lastReceived": "Zuletzt erhalten",
|
||||
"message": "Nachricht",
|
||||
"tags": "Schlagwörter",
|
||||
"none": "Keine",
|
||||
"title": "Title",
|
||||
"priority": "Priority",
|
||||
"lastReceived": "Last Received",
|
||||
"message": "Message",
|
||||
"tags": "Tags",
|
||||
"none": "None",
|
||||
"min": "Min",
|
||||
"low": "Low",
|
||||
"default": "Default",
|
||||
|
||||
+146
-146
@@ -39,9 +39,9 @@
|
||||
"wait": "お待ちください"
|
||||
},
|
||||
"search": {
|
||||
"placeholder": "検索 ...",
|
||||
"placeholder": "検索…",
|
||||
"provider": "Search engine: {{name}}",
|
||||
"select_provider": "検索エンジンを選択"
|
||||
"select_provider": "Select search engine"
|
||||
},
|
||||
"resources": {
|
||||
"cpu": "CPU",
|
||||
@@ -132,18 +132,18 @@
|
||||
"songs": "曲"
|
||||
},
|
||||
"jellyfin": {
|
||||
"playing": "再生中",
|
||||
"transcoding": "変換中",
|
||||
"bitrate": "ビットレート",
|
||||
"no_active": "アクティブ・ストリーム無し",
|
||||
"movies": "映画",
|
||||
"series": "シリーズ",
|
||||
"episodes": "エピソード",
|
||||
"songs": "曲",
|
||||
"albums": "アルバム"
|
||||
"playing": "Playing",
|
||||
"transcoding": "Transcoding",
|
||||
"bitrate": "Bitrate",
|
||||
"no_active": "No Active Streams",
|
||||
"movies": "Movies",
|
||||
"series": "Series",
|
||||
"episodes": "Episodes",
|
||||
"songs": "Songs",
|
||||
"albums": "Albums"
|
||||
},
|
||||
"esphome": {
|
||||
"offline": "オフライン ",
|
||||
"offline": "",
|
||||
"offline_alt": "オフライン",
|
||||
"online": "オンライン",
|
||||
"total": "Total",
|
||||
@@ -241,18 +241,18 @@
|
||||
},
|
||||
"rutorrent": {
|
||||
"active": "アクティブ",
|
||||
"upload": "アップロード",
|
||||
"download": "ダウンロード"
|
||||
"upload": "Upload",
|
||||
"download": "Download"
|
||||
},
|
||||
"transmission": {
|
||||
"download": "ダウンロード",
|
||||
"upload": "アップロード",
|
||||
"download": "Download",
|
||||
"upload": "Upload",
|
||||
"leech": "Leech",
|
||||
"seed": "Seed"
|
||||
},
|
||||
"qbittorrent": {
|
||||
"download": "ダウンロード",
|
||||
"upload": "アップロード",
|
||||
"download": "Download",
|
||||
"upload": "Upload",
|
||||
"leech": "Leech",
|
||||
"seed": "Seed"
|
||||
},
|
||||
@@ -285,7 +285,7 @@
|
||||
"queued": "待機中",
|
||||
"series": "Series",
|
||||
"queue": "Queue",
|
||||
"unknown": "不明"
|
||||
"unknown": "Unknown"
|
||||
},
|
||||
"radarr": {
|
||||
"wanted": "Wanted",
|
||||
@@ -365,15 +365,15 @@
|
||||
"expires": "失効",
|
||||
"never": "なし",
|
||||
"user": "User",
|
||||
"hostname": "ホスト名",
|
||||
"name": "名前",
|
||||
"client_version": "クライアントバージョン",
|
||||
"hostname": "Hostname",
|
||||
"name": "Name",
|
||||
"client_version": "Client Version",
|
||||
"os": "OS",
|
||||
"created": "作成済み",
|
||||
"authorized": "承認済み",
|
||||
"created": "Created",
|
||||
"authorized": "Authorized",
|
||||
"is_external": "Is External",
|
||||
"update_available": "アップデートが利用できます",
|
||||
"tags": "タグ",
|
||||
"update_available": "Update Available",
|
||||
"tags": "Tags",
|
||||
"last_seen": "最終日時",
|
||||
"now": "現在",
|
||||
"years": "{{number}}年",
|
||||
@@ -383,11 +383,11 @@
|
||||
"minutes": "{{number}}分",
|
||||
"seconds": "{{number}}秒",
|
||||
"ago": "{{value}} 前",
|
||||
"true": "はい",
|
||||
"false": "いいえ"
|
||||
"true": "Yes",
|
||||
"false": "No"
|
||||
},
|
||||
"technitium": {
|
||||
"totalQueries": "クエリ",
|
||||
"totalQueries": "Queries",
|
||||
"totalNoError": "成功",
|
||||
"totalServerFailure": "失敗",
|
||||
"totalNxDomain": "NXドメイン",
|
||||
@@ -395,7 +395,7 @@
|
||||
"totalAuthoritative": "正式",
|
||||
"totalRecursive": "再帰的",
|
||||
"totalCached": "キャッシュ済み",
|
||||
"totalBlocked": "ブロック中",
|
||||
"totalBlocked": "Blocked",
|
||||
"totalDropped": "ドロップ済み",
|
||||
"totalClients": "クライアント"
|
||||
},
|
||||
@@ -411,13 +411,13 @@
|
||||
"middleware": "ミドルウェア"
|
||||
},
|
||||
"trilium": {
|
||||
"version": "バージョン",
|
||||
"notesCount": "メモ",
|
||||
"dbSize": "データベースサイズ",
|
||||
"unknown": "不明"
|
||||
"version": "Version",
|
||||
"notesCount": "Notes",
|
||||
"dbSize": "Database Size",
|
||||
"unknown": "Unknown"
|
||||
},
|
||||
"navidrome": {
|
||||
"nothing_streaming": "アクティブストリーム無し",
|
||||
"nothing_streaming": "No Active Streams",
|
||||
"please_wait": "お待ちください"
|
||||
},
|
||||
"npm": {
|
||||
@@ -482,7 +482,7 @@
|
||||
"authorizationsLast24H": "Auths (24h)"
|
||||
},
|
||||
"proxmox": {
|
||||
"mem": "メモリ",
|
||||
"mem": "MEM",
|
||||
"cpu": "CPU",
|
||||
"lxc": "LXC",
|
||||
"vms": "VM"
|
||||
@@ -494,17 +494,17 @@
|
||||
},
|
||||
"glances": {
|
||||
"cpu": "CPU",
|
||||
"load": "負荷",
|
||||
"wait": "お待ちください",
|
||||
"temp": "温度",
|
||||
"load": "Load",
|
||||
"wait": "Please wait",
|
||||
"temp": "TEMP",
|
||||
"_temp": "温度",
|
||||
"warn": "警告",
|
||||
"uptime": "稼働時間",
|
||||
"total": "合計",
|
||||
"free": "空き容量",
|
||||
"used": "使用済み",
|
||||
"days": "日",
|
||||
"hours": "時",
|
||||
"uptime": "UP",
|
||||
"total": "Total",
|
||||
"free": "Free",
|
||||
"used": "Used",
|
||||
"days": "d",
|
||||
"hours": "h",
|
||||
"crit": "クリティカル",
|
||||
"read": "Read",
|
||||
"write": "書き込み",
|
||||
@@ -545,39 +545,39 @@
|
||||
"57-day": "着氷性の小雨",
|
||||
"57-night": "Freezing Drizzle",
|
||||
"61-day": "小雨",
|
||||
"61-night": "小雨",
|
||||
"61-night": "Light Rain",
|
||||
"63-day": "雨",
|
||||
"63-night": "雨",
|
||||
"63-night": "Rain",
|
||||
"65-day": "大雨",
|
||||
"65-night": "大雨",
|
||||
"65-night": "Heavy Rain",
|
||||
"66-day": "着氷性の雨",
|
||||
"66-night": "着氷性の雨",
|
||||
"67-day": "着氷性の雨",
|
||||
"67-night": "着氷性の雨",
|
||||
"66-night": "Freezing Rain",
|
||||
"67-day": "Freezing Rain",
|
||||
"67-night": "Freezing Rain",
|
||||
"71-day": "小雪",
|
||||
"71-night": "小雪",
|
||||
"71-night": "Light Snow",
|
||||
"73-day": "雪",
|
||||
"73-night": "雪",
|
||||
"73-night": "Snow",
|
||||
"75-day": "大雪",
|
||||
"75-night": "Heavy Snow",
|
||||
"77-day": "霧雪",
|
||||
"77-night": "Snow Grains",
|
||||
"80-day": "弱いにわか雨",
|
||||
"80-night": "弱いにわか雨",
|
||||
"80-night": "Light Showers",
|
||||
"81-day": "にわか雨",
|
||||
"81-night": "にわか雨",
|
||||
"81-night": "Showers",
|
||||
"82-day": "強いにわか雨",
|
||||
"82-night": "強いにわか雨",
|
||||
"82-night": "Heavy Showers",
|
||||
"85-day": "にわか雪",
|
||||
"85-night": "にわか雪",
|
||||
"86-day": "にわか雪",
|
||||
"86-night": "にわか雪",
|
||||
"85-night": "Snow Showers",
|
||||
"86-day": "Snow Showers",
|
||||
"86-night": "Snow Showers",
|
||||
"95-day": "雷雨",
|
||||
"95-night": "雷雨",
|
||||
"95-night": "Thunderstorm",
|
||||
"96-day": "雷雨・ひょう",
|
||||
"96-night": "雹を伴う雷雨",
|
||||
"99-day": "雹を伴う雷雨",
|
||||
"99-night": "雹を伴う雷雨"
|
||||
"96-night": "Thunderstorm With Hail",
|
||||
"99-day": "Thunderstorm With Hail",
|
||||
"99-night": "Thunderstorm With Hail"
|
||||
},
|
||||
"homebridge": {
|
||||
"available_update": "システム",
|
||||
@@ -645,7 +645,7 @@
|
||||
"signalQuality": "クオリティ",
|
||||
"symbolQuality": "Quality",
|
||||
"networkRate": "Bitrate",
|
||||
"clientIP": "クライアントIP"
|
||||
"clientIP": "クライアント IP"
|
||||
},
|
||||
"scrutiny": {
|
||||
"passed": "合格",
|
||||
@@ -661,7 +661,7 @@
|
||||
"sites": "Sites",
|
||||
"resources": "Resources",
|
||||
"targets": "Targets",
|
||||
"traffic": "トラフィック",
|
||||
"traffic": "Traffic",
|
||||
"in": "In",
|
||||
"out": "Out"
|
||||
},
|
||||
@@ -674,7 +674,7 @@
|
||||
"low_battery": "バッテリー残量低下"
|
||||
},
|
||||
"nextdns": {
|
||||
"wait": "お待ちください",
|
||||
"wait": "Please Wait",
|
||||
"no_devices": "デバイス データを受信していません"
|
||||
},
|
||||
"mikrotik": {
|
||||
@@ -695,7 +695,7 @@
|
||||
"limit": "リミット"
|
||||
},
|
||||
"opnsense": {
|
||||
"cpu": "CPU負荷",
|
||||
"cpu": "CPU Load",
|
||||
"memory": "アクティブ・メモリ",
|
||||
"wanUpload": "WANアップロード",
|
||||
"wanDownload": "WANダウンロード"
|
||||
@@ -707,14 +707,14 @@
|
||||
"layers": "レイヤー"
|
||||
},
|
||||
"octoprint": {
|
||||
"printer_state": "ステータス",
|
||||
"printer_state": "Status",
|
||||
"temp_tool": "ツール温度",
|
||||
"temp_bed": "ベッド温度",
|
||||
"job_completion": "完了"
|
||||
},
|
||||
"cloudflared": {
|
||||
"origin_ip": "オリジンIP",
|
||||
"status": "ステータス"
|
||||
"status": "Status"
|
||||
},
|
||||
"pfsense": {
|
||||
"load": "読み込み平均",
|
||||
@@ -733,17 +733,17 @@
|
||||
"memory_usage": "メモリ"
|
||||
},
|
||||
"immich": {
|
||||
"users": "ユーザ",
|
||||
"users": "Users",
|
||||
"photos": "写真",
|
||||
"videos": "ビデオ",
|
||||
"videos": "Videos",
|
||||
"storage": "ストレージ"
|
||||
},
|
||||
"uptimekuma": {
|
||||
"up": "サイトUp",
|
||||
"down": "サイトDown",
|
||||
"uptime": "稼働時間",
|
||||
"uptime": "Uptime",
|
||||
"incident": "事件",
|
||||
"m": "分"
|
||||
"m": "m"
|
||||
},
|
||||
"atsumeru": {
|
||||
"series": "Series",
|
||||
@@ -772,8 +772,8 @@
|
||||
},
|
||||
"photoprism": {
|
||||
"albums": "Albums",
|
||||
"photos": "写真",
|
||||
"videos": "動画",
|
||||
"photos": "Photos",
|
||||
"videos": "Videos",
|
||||
"people": "人"
|
||||
},
|
||||
"fileflows": {
|
||||
@@ -884,12 +884,12 @@
|
||||
},
|
||||
"gamedig": {
|
||||
"status": "Status",
|
||||
"online": "オンライン",
|
||||
"offline": "オフライン ",
|
||||
"online": "Online",
|
||||
"offline": "Offline",
|
||||
"name": "名前",
|
||||
"map": "マップ",
|
||||
"currentPlayers": "現在のプレーヤー",
|
||||
"players": "プレイヤー",
|
||||
"players": "Players",
|
||||
"maxPlayers": "最大プレイヤー数",
|
||||
"bots": "ボット",
|
||||
"ping": "Ping"
|
||||
@@ -902,21 +902,21 @@
|
||||
},
|
||||
"mealie": {
|
||||
"recipes": "レシピ",
|
||||
"users": "ユーザ",
|
||||
"categories": "カテゴリ",
|
||||
"users": "Users",
|
||||
"categories": "Categories",
|
||||
"tags": "タグ"
|
||||
},
|
||||
"openmediavault": {
|
||||
"downloading": "ダウンロード中",
|
||||
"total": "合計",
|
||||
"running": "実行中",
|
||||
"stopped": "停止中",
|
||||
"total": "Total",
|
||||
"running": "Running",
|
||||
"stopped": "Stopped",
|
||||
"passed": "Passed",
|
||||
"failed": "Failed"
|
||||
},
|
||||
"openwrt": {
|
||||
"uptime": "Uptime",
|
||||
"cpuLoad": "CPU 平均負荷(5分)",
|
||||
"cpuLoad": "CPU 平均負荷(5 分)",
|
||||
"up": "Up",
|
||||
"down": "Down",
|
||||
"bytesTx": "送信済み",
|
||||
@@ -924,7 +924,7 @@
|
||||
},
|
||||
"uptimerobot": {
|
||||
"status": "Status",
|
||||
"uptime": "稼働時間",
|
||||
"uptime": "Uptime",
|
||||
"lastDown": "最後のダウンタイム",
|
||||
"downDuration": "ダウンタイム時間",
|
||||
"sitesUp": "Sites Up",
|
||||
@@ -954,9 +954,9 @@
|
||||
},
|
||||
"mailcow": {
|
||||
"domains": "Domains",
|
||||
"mailboxes": "受信箱",
|
||||
"mails": "メール",
|
||||
"storage": "ストレージ"
|
||||
"mailboxes": "Mailboxes",
|
||||
"mails": "Mails",
|
||||
"storage": "Storage"
|
||||
},
|
||||
"maintainerr": {
|
||||
"itemsHandled": "Items Handled",
|
||||
@@ -974,7 +974,7 @@
|
||||
"criticals": "重大"
|
||||
},
|
||||
"ntfy": {
|
||||
"title": "タイトル",
|
||||
"title": "Title",
|
||||
"priority": "Priority",
|
||||
"lastReceived": "Last Received",
|
||||
"message": "Message",
|
||||
@@ -989,7 +989,7 @@
|
||||
"plantit": {
|
||||
"events": "イベント",
|
||||
"plants": "植物",
|
||||
"photos": "写真",
|
||||
"photos": "Photos",
|
||||
"species": "種"
|
||||
},
|
||||
"gitea": {
|
||||
@@ -1137,27 +1137,27 @@
|
||||
"karakeep": {
|
||||
"bookmarks": "Bookmarks",
|
||||
"favorites": "Favorites",
|
||||
"archived": "アーカイブ済み",
|
||||
"highlights": "ハイライト",
|
||||
"lists": "リスト",
|
||||
"tags": "タグ"
|
||||
"archived": "Archived",
|
||||
"highlights": "Highlights",
|
||||
"lists": "Lists",
|
||||
"tags": "Tags"
|
||||
},
|
||||
"slskd": {
|
||||
"slskStatus": "ネットワーク",
|
||||
"connected": "接続されています",
|
||||
"disconnected": "切断されています",
|
||||
"updateStatus": "更新",
|
||||
"update_yes": "利用可能",
|
||||
"update_no": "最新",
|
||||
"downloads": "ダウンロード",
|
||||
"uploads": "アップロード",
|
||||
"sharedFiles": "ファイル"
|
||||
"slskStatus": "Network",
|
||||
"connected": "Connected",
|
||||
"disconnected": "Disconnected",
|
||||
"updateStatus": "Update",
|
||||
"update_yes": "Available",
|
||||
"update_no": "Up to Date",
|
||||
"downloads": "Downloads",
|
||||
"uploads": "Uploads",
|
||||
"sharedFiles": "Files"
|
||||
},
|
||||
"jellystat": {
|
||||
"songs": "曲",
|
||||
"movies": "映画",
|
||||
"episodes": "エピソード",
|
||||
"other": "その他"
|
||||
"songs": "Songs",
|
||||
"movies": "Movies",
|
||||
"episodes": "Episodes",
|
||||
"other": "Other"
|
||||
},
|
||||
"checkmk": {
|
||||
"serviceErrors": "Service issues",
|
||||
@@ -1198,11 +1198,11 @@
|
||||
"TOO_MANY_MISSING_DISKS": "Too Many Missing Disks",
|
||||
"NEW_DISK_TOO_SMALL": "New Disk Too Small",
|
||||
"NO_DATA_DISKS": "No Data Disks",
|
||||
"notifications": "通知",
|
||||
"status": "ステータス",
|
||||
"notifications": "Notifications",
|
||||
"status": "Status",
|
||||
"cpu": "CPU",
|
||||
"memoryUsed": "メモリ使用量",
|
||||
"memoryAvailable": "使用可能なメモリ",
|
||||
"memoryUsed": "Memory Used",
|
||||
"memoryAvailable": "Memory Available",
|
||||
"arrayUsed": "Array Used",
|
||||
"arrayFree": "Array Free",
|
||||
"poolUsed": "{{pool}} Used",
|
||||
@@ -1210,53 +1210,53 @@
|
||||
},
|
||||
"backrest": {
|
||||
"num_plans": "Plans",
|
||||
"num_success_30": "成功",
|
||||
"num_failure_30": "失敗",
|
||||
"num_success_latest": "成功",
|
||||
"num_failure_latest": "失敗",
|
||||
"bytes_added_30": "バイトが追加されました"
|
||||
"num_success_30": "Successes",
|
||||
"num_failure_30": "Failures",
|
||||
"num_success_latest": "Succeeding",
|
||||
"num_failure_latest": "Failing",
|
||||
"bytes_added_30": "Bytes Added"
|
||||
},
|
||||
"yourspotify": {
|
||||
"songs": "曲",
|
||||
"time": "時間",
|
||||
"artists": "アーティスト"
|
||||
"songs": "Songs",
|
||||
"time": "Time",
|
||||
"artists": "Artists"
|
||||
},
|
||||
"arcane": {
|
||||
"containers": "コンテナ",
|
||||
"images": "イメージ",
|
||||
"image_updates": "イメージの更新",
|
||||
"images_unused": "未使用",
|
||||
"environment_required": "Enviroment ID が必要です"
|
||||
"containers": "Containers",
|
||||
"images": "Images",
|
||||
"image_updates": "Image Updates",
|
||||
"images_unused": "Unused",
|
||||
"environment_required": "Environment ID Required"
|
||||
},
|
||||
"dockhand": {
|
||||
"running": "実行中",
|
||||
"stopped": "停止中",
|
||||
"running": "Running",
|
||||
"stopped": "Stopped",
|
||||
"cpu": "CPU",
|
||||
"memory": "メモリ",
|
||||
"images": "イメージ",
|
||||
"volumes": "ボリューム",
|
||||
"events_today": "今日のイベント",
|
||||
"pending_updates": "保留中の更新",
|
||||
"stacks": "スタック数",
|
||||
"paused": "一時停止中",
|
||||
"total": "合計",
|
||||
"environment_not_found": "環境が見つかりません"
|
||||
"memory": "Memory",
|
||||
"images": "Images",
|
||||
"volumes": "Volumes",
|
||||
"events_today": "Events Today",
|
||||
"pending_updates": "Pending Updates",
|
||||
"stacks": "Stacks",
|
||||
"paused": "Paused",
|
||||
"total": "Total",
|
||||
"environment_not_found": "Environment Not Found"
|
||||
},
|
||||
"sparkyfitness": {
|
||||
"eaten": "摂取カロリー",
|
||||
"burned": "消費カロリー",
|
||||
"remaining": "残り",
|
||||
"steps": "ステップ"
|
||||
"eaten": "Eaten",
|
||||
"burned": "Burned",
|
||||
"remaining": "Remaining",
|
||||
"steps": "Steps"
|
||||
},
|
||||
"syncthing": {
|
||||
"connected": "接続されています",
|
||||
"synced": "同期しました",
|
||||
"errors": "エラー",
|
||||
"storage": "ストレージ"
|
||||
"connected": "Connected",
|
||||
"synced": "Synced",
|
||||
"errors": "Errors",
|
||||
"storage": "Storage"
|
||||
},
|
||||
"sportarr": {
|
||||
"wanted": "募集中",
|
||||
"queued": "処理待ち",
|
||||
"leagues": "リーグ"
|
||||
"wanted": "Wanted",
|
||||
"queued": "Queued",
|
||||
"leagues": "Leagues"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,19 +118,9 @@ function readConfig(file) {
|
||||
return existsSync(path) ? readFileSync(path, "utf8") : "";
|
||||
}
|
||||
|
||||
const PLACEHOLDER_PATTERN = /(["']?)\{\{([^{}]*)\}\}\1/g;
|
||||
const HOMEPAGE_KEY_PATTERN = /HOMEPAGE_(?:VAR|FILE)_/;
|
||||
const PLACEHOLDER_TOKEN_PATTERN = /__HOMEPAGE_MCP_PLACEHOLDER_(\d+)__/g;
|
||||
|
||||
// mask {{HOMEPAGE_*}} placeholders so they survive a parse/dump round-trip
|
||||
function parseYamlConfig(file) {
|
||||
const placeholders = [];
|
||||
const masked = readConfig(file).replace(PLACEHOLDER_PATTERN, (match, quote, key) => {
|
||||
if (!HOMEPAGE_KEY_PATTERN.test(key)) return match;
|
||||
placeholders.push(match);
|
||||
return `__HOMEPAGE_MCP_PLACEHOLDER_${placeholders.length - 1}__`;
|
||||
});
|
||||
return { data: loadYaml(masked) ?? [], placeholders };
|
||||
const parsed = loadYaml(readConfig(file) || "");
|
||||
return parsed ?? [];
|
||||
}
|
||||
|
||||
function validateYaml(file, content) {
|
||||
@@ -176,10 +166,8 @@ function ensureWriteEnabled() {
|
||||
return null;
|
||||
}
|
||||
|
||||
function dumpYamlConfig(file, content, placeholders) {
|
||||
const dumped = yaml
|
||||
.dump(content, { lineWidth: -1, noRefs: true })
|
||||
.replace(PLACEHOLDER_TOKEN_PATTERN, (match, index) => placeholders[index] ?? match);
|
||||
function dumpYamlConfig(file, content) {
|
||||
const dumped = yaml.dump(content, { lineWidth: -1, noRefs: true });
|
||||
mkdirSync(CONF_DIR, { recursive: true });
|
||||
writeFileSync(configPath(file), dumped, "utf8");
|
||||
return dumped;
|
||||
@@ -204,7 +192,7 @@ function addService(args) {
|
||||
};
|
||||
}
|
||||
|
||||
const { data: services, placeholders } = parseYamlConfig("services.yaml");
|
||||
const services = parseYamlConfig("services.yaml");
|
||||
if (!Array.isArray(services)) {
|
||||
throw new Error("services.yaml must contain a top-level array");
|
||||
}
|
||||
@@ -232,7 +220,7 @@ function addService(args) {
|
||||
}
|
||||
|
||||
group[groupName].push({ [serviceName]: serviceConfig });
|
||||
const content = dumpYamlConfig("services.yaml", services, placeholders);
|
||||
const content = dumpYamlConfig("services.yaml", services);
|
||||
return textContent(
|
||||
JSON.stringify({ written: "services.yaml", added: { group: groupName, service: serviceName }, content }, null, 2),
|
||||
);
|
||||
@@ -254,7 +242,7 @@ function addInfoWidget(args) {
|
||||
};
|
||||
}
|
||||
|
||||
const { data: widgets, placeholders } = parseYamlConfig("widgets.yaml");
|
||||
const widgets = parseYamlConfig("widgets.yaml");
|
||||
if (!Array.isArray(widgets)) {
|
||||
throw new Error("widgets.yaml must contain a top-level array");
|
||||
}
|
||||
@@ -264,7 +252,7 @@ function addInfoWidget(args) {
|
||||
assertPlainObject(options, "options");
|
||||
|
||||
widgets.push({ [type]: options });
|
||||
const content = dumpYamlConfig("widgets.yaml", widgets, placeholders);
|
||||
const content = dumpYamlConfig("widgets.yaml", widgets);
|
||||
return textContent(JSON.stringify({ written: "widgets.yaml", added: { type }, content }, null, 2));
|
||||
}
|
||||
|
||||
|
||||
@@ -184,42 +184,6 @@ describe("utils/mcp/homepage-mcp", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("preserves env placeholders when adding a service", async () => {
|
||||
process.env.HOMEPAGE_MCP_ALLOW_WRITE = "true";
|
||||
const configDir = mkdtempSync(path.join(tmpdir(), "homepage-mcp-test-"));
|
||||
writeFileSync(
|
||||
path.join(configDir, "services.yaml"),
|
||||
"- Media:\n" +
|
||||
" - Jellyfin:\n" +
|
||||
" href: http://{{HOMEPAGE_VAR_HOST}}:8096\n" +
|
||||
" widget:\n" +
|
||||
" type: jellyfin\n" +
|
||||
" key: {{HOMEPAGE_VAR_JELLYFIN_KEY}}\n" +
|
||||
' password: "{{HOMEPAGE_FILE_PASSWORD}}"\n',
|
||||
);
|
||||
const mod = await loadMcpWithConfigDir(configDir);
|
||||
|
||||
const response = mod.handleMcpRequest({
|
||||
jsonrpc: "2.0",
|
||||
id: 11,
|
||||
method: "tools/call",
|
||||
params: { name: "add_service", arguments: { group: "Tools", name: "Grafana" } },
|
||||
});
|
||||
|
||||
expect(response.result.isError).toBeUndefined();
|
||||
expect(readFileSync(path.join(configDir, "services.yaml"), "utf8")).toBe(
|
||||
"- Media:\n" +
|
||||
" - Jellyfin:\n" +
|
||||
" href: http://{{HOMEPAGE_VAR_HOST}}:8096\n" +
|
||||
" widget:\n" +
|
||||
" type: jellyfin\n" +
|
||||
" key: {{HOMEPAGE_VAR_JELLYFIN_KEY}}\n" +
|
||||
' password: "{{HOMEPAGE_FILE_PASSWORD}}"\n' +
|
||||
"- Tools:\n" +
|
||||
" - Grafana: {}\n",
|
||||
);
|
||||
});
|
||||
|
||||
it("does not add a duplicate service in the same group", async () => {
|
||||
process.env.HOMEPAGE_MCP_ALLOW_WRITE = "true";
|
||||
const configDir = mkdtempSync(path.join(tmpdir(), "homepage-mcp-test-"));
|
||||
|
||||
@@ -77,7 +77,7 @@ export default async function credentialedProxyHandler(req, res, map) {
|
||||
} else {
|
||||
headers.Authorization = basicAuthHeader(widget);
|
||||
}
|
||||
} else if (["ntfy", "whatsupdocker"].includes(widget.type)) {
|
||||
} else if (widget.type === "ntfy") {
|
||||
if (widget.key) {
|
||||
headers.Authorization = `Bearer ${widget.key}`;
|
||||
} else if (widget.username && widget.password) {
|
||||
|
||||
@@ -35,7 +35,6 @@ vi.mock("widgets/widgets", () => ({
|
||||
proxmox: { api: "{url}/api2/json/{endpoint}" },
|
||||
truenas: { api: "{url}/api/v2.0/{endpoint}" },
|
||||
ntfy: { api: "{url}/{endpoint}" },
|
||||
whatsupdocker: { api: "{url}/{endpoint}" },
|
||||
proxmoxbackupserver: { api: "{url}/api2/json/{endpoint}" },
|
||||
checkmk: { api: "{url}/{endpoint}" },
|
||||
stocks: { api: "{url}/{endpoint}" },
|
||||
@@ -187,24 +186,6 @@ describe("utils/proxy/handlers/credentialed", () => {
|
||||
expect(params.headers.Authorization).toBe("Bearer k");
|
||||
});
|
||||
|
||||
it.each([
|
||||
["Bearer", { key: "token" }, "Bearer token"],
|
||||
["Basic", { username: "u", password: "p" }, `Basic ${Buffer.from("u:p").toString("base64")}`],
|
||||
["no", {}, undefined],
|
||||
["Bearer over Basic", { key: "token", username: "u", password: "p" }, "Bearer token"],
|
||||
])("uses %s auth for whatsupdocker", async (_mode, credentials, authorization) => {
|
||||
getServiceWidget.mockResolvedValue({ type: "whatsupdocker", url: "http://whatsupdocker", ...credentials });
|
||||
httpProxy.mockResolvedValue([200, "application/json", []]);
|
||||
|
||||
const req = { method: "GET", query: { group: "g", service: "s", endpoint: "api/containers", index: 0 } };
|
||||
const res = createMockRes();
|
||||
|
||||
await credentialedProxyHandler(req, res);
|
||||
|
||||
const [, params] = httpProxy.mock.calls.at(-1);
|
||||
expect(params.headers.Authorization).toBe(authorization);
|
||||
});
|
||||
|
||||
it("uses Bearer auth for ntfy when key is provided", async () => {
|
||||
getServiceWidget.mockResolvedValue({ type: "ntfy", url: "http://ntfy", topic: "alerts", key: "tk_test" });
|
||||
httpProxy.mockResolvedValue([200, "application/json", { ok: true }]);
|
||||
|
||||
@@ -41,15 +41,17 @@ export default function Component({ service }) {
|
||||
status = t("peanut.low_battery");
|
||||
break;
|
||||
default:
|
||||
status = typeof upsStatus === "string" && upsStatus ? upsStatus : "-";
|
||||
status = upsStatus;
|
||||
}
|
||||
|
||||
const percent = (value) => (value === undefined || value === null ? "-" : t("common.percent", { value }));
|
||||
|
||||
return (
|
||||
<Container service={service}>
|
||||
<Block label="peanut.battery_charge" value={percent(batteryCharge)} highlightValue={batteryCharge} />
|
||||
<Block label="peanut.ups_load" value={percent(upsLoad)} highlightValue={upsLoad} />
|
||||
<Block
|
||||
label="peanut.battery_charge"
|
||||
value={t("common.percent", { value: batteryCharge })}
|
||||
highlightValue={batteryCharge}
|
||||
/>
|
||||
<Block label="peanut.ups_load" value={t("common.percent", { value: upsLoad })} highlightValue={upsLoad} />
|
||||
<Block label="peanut.ups_status" value={status} />
|
||||
</Container>
|
||||
);
|
||||
|
||||
@@ -51,15 +51,4 @@ describe("widgets/peanut/component", () => {
|
||||
expect(screen.getByText("peanut.online")).toBeInTheDocument();
|
||||
expect(data).toEqual({ "battery.charge": 55, "ups.load": 12, "ups.status": "OL" });
|
||||
});
|
||||
|
||||
it("renders dashes when readings are missing", () => {
|
||||
useWidgetAPI.mockReturnValue({
|
||||
data: { "device.model": "OR500LCDRM1Ua", "ups.status": 0 },
|
||||
error: undefined,
|
||||
});
|
||||
|
||||
renderWithProviders(<Component service={{ widget: { type: "peanut" } }} />, { settings: { hideErrors: false } });
|
||||
|
||||
expect(screen.getAllByText("-")).toHaveLength(3);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
||||
import genericProxyHandler from "utils/proxy/handlers/generic";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/{endpoint}",
|
||||
proxyHandler: credentialedProxyHandler,
|
||||
proxyHandler: genericProxyHandler,
|
||||
|
||||
mappings: {
|
||||
containers: {
|
||||
|
||||
Reference in New Issue
Block a user