Compare commits
156
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0513a8e6f5 | ||
|
|
0b200dc9e2 | ||
|
|
377f4302c0 | ||
|
|
740e9a5082 | ||
|
|
e7652ea4eb | ||
|
|
863f935ef4 | ||
|
|
7388c907a5 | ||
|
|
3d07306e7d | ||
|
|
f37fc0edfe | ||
|
|
c59cdeda47 | ||
|
|
ad444e8fa7 | ||
|
|
fa52b55828 | ||
|
|
1ce1113a8c | ||
|
|
e7a9797484 | ||
|
|
d104aea8b8 | ||
|
|
ab3ee3bac1 | ||
|
|
838066ac75 | ||
|
|
b1a559d801 | ||
|
|
eecf50d461 | ||
|
|
d862ae03e3 | ||
|
|
f6da091577 | ||
|
|
22f0cd885e | ||
|
|
08c6ce9071 | ||
|
|
c3e1a53d09 | ||
|
|
9e86de6e17 | ||
|
|
98c4cd1e39 | ||
|
|
f67702e1d3 | ||
|
|
a9e68e13d5 | ||
|
|
1b3770aafb | ||
|
|
7928f15452 | ||
|
|
80327337ce | ||
|
|
f72a994fb3 | ||
|
|
1910786f5b | ||
|
|
6ec66b1fe2 | ||
|
|
aafd883c32 | ||
|
|
f32242bf79 | ||
|
|
62aeb043b5 | ||
|
|
ffd2f802bb | ||
|
|
3e7bf62500 | ||
|
|
7071d76c52 | ||
|
|
c7a21b1a5f | ||
|
|
6274a66048 | ||
|
|
07f81cee92 | ||
|
|
3ad72e63b1 | ||
|
|
ed3f848e8a | ||
|
|
8484daaf75 | ||
|
|
aeed7dbfd0 | ||
|
|
68881e7ee5 | ||
|
|
61553cfc8e | ||
|
|
cf7336ba87 | ||
|
|
dac82347e8 | ||
|
|
74aa561f47 | ||
|
|
cb77a7dc6d | ||
|
|
81509fd96d | ||
|
|
960dc33af8 | ||
|
|
c051a42791 | ||
|
|
a542ee0798 | ||
|
|
9ac9042564 | ||
|
|
2fe3dcb01b | ||
|
|
a0a0449c70 | ||
|
|
d4afafe0f7 | ||
|
|
cae0cad92f | ||
|
|
df2a9a5329 | ||
|
|
8f6cc6fa60 | ||
|
|
d699aad529 | ||
|
|
0362487156 | ||
|
|
5b354aca20 | ||
|
|
124e8de6c5 | ||
|
|
a0585e3dd7 | ||
|
|
a3deed3b09 | ||
|
|
ae5aebda20 | ||
|
|
362c663060 | ||
|
|
0d1e3a625a | ||
|
|
ccd8a85e0f | ||
|
|
f0ba693077 | ||
|
|
94f176d544 | ||
|
|
a86fc5bcb8 | ||
|
|
9bdbe6f425 | ||
|
|
1b1671e0e6 | ||
|
|
3337cfa3c7 | ||
|
|
161fc86770 | ||
|
|
76ae423fd9 | ||
|
|
1f408685e6 | ||
|
|
b608ffe490 | ||
|
|
f579b283f2 | ||
|
|
9518ebb088 | ||
|
|
9895c1b3ff | ||
|
|
7e5ca418cc | ||
|
|
6b76d55de2 | ||
|
|
09f821b95d | ||
|
|
11149348fc | ||
|
|
c8202ab3c6 | ||
|
|
7a50829b6a | ||
|
|
778cf861cf | ||
|
|
6b8ffdfbc0 | ||
|
|
608280e670 | ||
|
|
5bf20aa353 | ||
|
|
3ba9502b26 | ||
|
|
862d07db68 | ||
|
|
d72a804ad9 | ||
|
|
2320d3c567 | ||
|
|
a0eda74fa4 | ||
|
|
bac4f64257 | ||
|
|
1f9983f16d | ||
|
|
48ce2af4c1 | ||
|
|
635c9a2687 | ||
|
|
c1324eab76 | ||
|
|
bfd7b70618 | ||
|
|
ad5f985645 | ||
|
|
4a184d23f2 | ||
|
|
09b49a242d | ||
|
|
10f720d74c | ||
|
|
9c3a46c071 | ||
|
|
e2e4656001 | ||
|
|
3253b2f138 | ||
|
|
f9c7e7711a | ||
|
|
8b553b80e6 | ||
|
|
75ebf075a5 | ||
|
|
1575716f41 | ||
|
|
8966e2ad8a | ||
|
|
816544a996 | ||
|
|
9c323850bc | ||
|
|
c3936237c0 | ||
|
|
9b8d1cbb66 | ||
|
|
3062948939 | ||
|
|
78f98edc41 | ||
|
|
81ca6ef7b2 | ||
|
|
71186908b9 | ||
|
|
cbbf0c8dcf | ||
|
|
1d27da2230 | ||
|
|
d4ef212042 | ||
|
|
5ea7a20677 | ||
|
|
05e159f566 | ||
|
|
6d9e42cf5d | ||
|
|
437ecd1023 | ||
|
|
85e98d2b60 | ||
|
|
8e24d8362e | ||
|
|
c367f8ac23 | ||
|
|
c67916f72e | ||
|
|
25bd3879db | ||
|
|
939df8f6d1 | ||
|
|
2dc871e531 | ||
|
|
f7e5e823d5 | ||
|
|
240bf16806 | ||
|
|
640bf7b939 | ||
|
|
ec42f265a0 | ||
|
|
ea5a763046 | ||
|
|
e0a9e4f97c | ||
|
|
581746b2c2 | ||
|
|
be8b332f94 | ||
|
|
109f9e7979 | ||
|
|
2afa9b6727 | ||
|
|
09af0a76f6 | ||
|
|
71516e02c0 | ||
|
|
a5f7565468 | ||
|
|
0b224e8835 |
No files matched your search
@@ -31,6 +31,9 @@ body:
|
|||||||
label: Version
|
label: Version
|
||||||
description: What version of Homarr are you running?
|
description: What version of Homarr are you running?
|
||||||
options:
|
options:
|
||||||
|
- 1.23.0
|
||||||
|
- 1.22.0
|
||||||
|
- 1.21.0
|
||||||
- 1.20.0
|
- 1.20.0
|
||||||
- 1.19.1
|
- 1.19.1
|
||||||
- 1.19.0
|
- 1.19.0
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
**Thank you for your contribution. Please ensure that your pull request meets the following pull request:**
|
**Thank you for your contribution. Please ensure that your pull request meets the following pull request:**
|
||||||
|
|
||||||
- [ ] Builds without warnings or errors (``pnpm build``, autofix with ``pnpm format:fix``)
|
- [ ] Builds without warnings or errors (`pnpm build`, autofix with `pnpm format:fix`)
|
||||||
- [ ] Pull request targets ``dev`` branch
|
- [ ] Pull request targets `dev` branch
|
||||||
- [ ] Commits follow the [conventional commits guideline](https://www.conventionalcommits.org/en/v1.0.0/)
|
- [ ] Commits follow the [conventional commits guideline](https://www.conventionalcommits.org/en/v1.0.0/)
|
||||||
- [ ] No shorthand variable names are used (eg. ``x``, ``y``, ``i`` or any abbrevation)
|
- [ ] No shorthand variable names are used (eg. `x`, `y`, `i` or any abbrevation)
|
||||||
|
- [ ] Documentation is up to date. Create a pull request [here](https://github.com/homarr-labs/documentation/).
|
||||||
+102
@@ -1,3 +1,105 @@
|
|||||||
|
## [1.23.0](https://github.com/homarr-labs/homarr/compare/v1.22.0...v1.23.0) (2025-06-06)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **releases-widget:** add `import from docker` functionality ([#3130](https://github.com/homarr-labs/homarr/issues/3130)) ([7071d76](https://github.com/homarr-labs/homarr/commit/7071d76c526f1b59a955abcc595894975d574218))
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Allow nullable on cpuModelName and default to "Unknown CPU" if null in OMV Integration ([#3310](https://github.com/homarr-labs/homarr/issues/3310)) ([3e7bf62](https://github.com/homarr-labs/homarr/commit/3e7bf62500f4ce0a8662104e2a656ea98cf2558f))
|
||||||
|
* csp prevents external stylesheets ([#3337](https://github.com/homarr-labs/homarr/issues/3337)) ([c7a21b1](https://github.com/homarr-labs/homarr/commit/c7a21b1a5f4e7c9d994d81b75a3fd4fa7c013daf))
|
||||||
|
* **deps:** update dependency @tabler/icons-react to ^3.34.0 ([#3303](https://github.com/homarr-labs/homarr/issues/3303)) ([5b354ac](https://github.com/homarr-labs/homarr/commit/5b354aca2047e8316b331e327cf6031690dcfef9))
|
||||||
|
* **deps:** update dependency dockerode to ^4.0.7 ([#3331](https://github.com/homarr-labs/homarr/issues/3331)) ([07f81ce](https://github.com/homarr-labs/homarr/commit/07f81cee92627e3b6ee4b2bbf084657f9a83ac34))
|
||||||
|
* **deps:** update dependency drizzle-orm to ^0.44.1 ([#3280](https://github.com/homarr-labs/homarr/issues/3280)) ([9895c1b](https://github.com/homarr-labs/homarr/commit/9895c1b3ff028a7ea7273ab2625620c9132f5213))
|
||||||
|
* **deps:** update dependency drizzle-orm to ^0.44.2 ([#3315](https://github.com/homarr-labs/homarr/issues/3315)) ([9ac9042](https://github.com/homarr-labs/homarr/commit/9ac90425647bf1f10d3f299f043c5d40067347bc))
|
||||||
|
* **deps:** update dependency fast-xml-parser to ^5.2.4 ([#3336](https://github.com/homarr-labs/homarr/issues/3336)) ([3ad72e6](https://github.com/homarr-labs/homarr/commit/3ad72e63b1adecd18c53897a6023f09d6f5d011c))
|
||||||
|
* **deps:** update dependency node-cron to ^4.1.0 ([#3286](https://github.com/homarr-labs/homarr/issues/3286)) ([1f40868](https://github.com/homarr-labs/homarr/commit/1f408685e69397fa9e3a69bd4331a8240da3713b))
|
||||||
|
* **deps:** update dependency sass to ^1.89.1 ([#3285](https://github.com/homarr-labs/homarr/issues/3285)) ([b608ffe](https://github.com/homarr-labs/homarr/commit/b608ffe4900a5dd97ceb2669464c477404d090e7))
|
||||||
|
* **deps:** update dependency swagger-ui-react to ^5.24.0 ([#3325](https://github.com/homarr-labs/homarr/issues/3325)) ([cf7336b](https://github.com/homarr-labs/homarr/commit/cf7336ba87c617578ab52e2ece94fd84df3fc623))
|
||||||
|
* **deps:** update dependency typescript-eslint to ^8.33.1 ([#3302](https://github.com/homarr-labs/homarr/issues/3302)) ([124e8de](https://github.com/homarr-labs/homarr/commit/124e8de6c584b0efca91d92079f8b3c400bccab2))
|
||||||
|
* **deps:** update dependency video.js to ^8.23.3 ([#3320](https://github.com/homarr-labs/homarr/issues/3320)) ([81509fd](https://github.com/homarr-labs/homarr/commit/81509fd96dfe0561964eb58d3d21c02400db2e8c))
|
||||||
|
* **deps:** update dependency zod to ^3.25.43 ([#3290](https://github.com/homarr-labs/homarr/issues/3290)) ([161fc86](https://github.com/homarr-labs/homarr/commit/161fc867703c4cf634eaaeec1b73f5e3cbfa7fec))
|
||||||
|
* **deps:** update dependency zod to ^3.25.45 ([#3291](https://github.com/homarr-labs/homarr/issues/3291)) ([3337cfa](https://github.com/homarr-labs/homarr/commit/3337cfa3c7e34debcccdbb95ee0bc39f2af98a91))
|
||||||
|
* **deps:** update dependency zod to ^3.25.46 ([#3292](https://github.com/homarr-labs/homarr/issues/3292)) ([1b1671e](https://github.com/homarr-labs/homarr/commit/1b1671e0e6d808469ba7f8185c4590cf2f2f6f44))
|
||||||
|
* **deps:** update dependency zod to ^3.25.47 ([#3296](https://github.com/homarr-labs/homarr/issues/3296)) ([94f176d](https://github.com/homarr-labs/homarr/commit/94f176d544272e0378e65255aba58b05d56019b2))
|
||||||
|
* **deps:** update dependency zod to ^3.25.48 ([#3297](https://github.com/homarr-labs/homarr/issues/3297)) ([ccd8a85](https://github.com/homarr-labs/homarr/commit/ccd8a85e0fcd2cf40dbfb6058787d24a02680b93))
|
||||||
|
* **deps:** update dependency zod to ^3.25.49 ([#3304](https://github.com/homarr-labs/homarr/issues/3304)) ([0362487](https://github.com/homarr-labs/homarr/commit/0362487156457ae825cac501e7d53db58c31ab0b))
|
||||||
|
* **deps:** update dependency zod to ^3.25.50 ([#3312](https://github.com/homarr-labs/homarr/issues/3312)) ([a0a0449](https://github.com/homarr-labs/homarr/commit/a0a0449c704ff57725ab5e0b459eb209fc929446))
|
||||||
|
* **deps:** update dependency zod to ^3.25.51 ([#3316](https://github.com/homarr-labs/homarr/issues/3316)) ([a542ee0](https://github.com/homarr-labs/homarr/commit/a542ee079871c7609ed97c76aa2017305adbfdc9))
|
||||||
|
* **deps:** update dependency zod to ^3.25.55 ([#3332](https://github.com/homarr-labs/homarr/issues/3332)) ([ed3f848](https://github.com/homarr-labs/homarr/commit/ed3f848e8afb57cc1b9249551f0260eb52bbd4a6))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.79.1 ([#3300](https://github.com/homarr-labs/homarr/issues/3300)) ([a3deed3](https://github.com/homarr-labs/homarr/commit/a3deed3b090aed0df0f45a9bd04c006640691e05))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.79.2 ([#3301](https://github.com/homarr-labs/homarr/issues/3301)) ([a0585e3](https://github.com/homarr-labs/homarr/commit/a0585e3dd7d9cfbccf8ff5535ae2c753a8b92764))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.80.0 ([#3307](https://github.com/homarr-labs/homarr/issues/3307)) ([df2a9a5](https://github.com/homarr-labs/homarr/commit/df2a9a5329e06847904af56a0d058c0da59f6380))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.80.2 ([#3308](https://github.com/homarr-labs/homarr/issues/3308)) ([cae0cad](https://github.com/homarr-labs/homarr/commit/cae0cad92f68f716887e077194d4e30402466d57))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.80.3 ([#3317](https://github.com/homarr-labs/homarr/issues/3317)) ([c051a42](https://github.com/homarr-labs/homarr/commit/c051a42791de4eae4baf20360efe5b0c8925c22b))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.80.5 ([#3321](https://github.com/homarr-labs/homarr/issues/3321)) ([cb77a7d](https://github.com/homarr-labs/homarr/commit/cb77a7dc6d60560250765d129aac9bd236693e2b))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.80.6 ([#3326](https://github.com/homarr-labs/homarr/issues/3326)) ([61553cf](https://github.com/homarr-labs/homarr/commit/61553cfc8e48a1179a148007fb970b1f4e6d509c))
|
||||||
|
* **deps:** update testcontainers-node monorepo to v11 (major) ([#3250](https://github.com/homarr-labs/homarr/issues/3250)) ([0d1e3a6](https://github.com/homarr-labs/homarr/commit/0d1e3a625a04abd5f667640ab40e01d28e017488))
|
||||||
|
* **deps:** update tiptap monorepo to v2.13.0 ([#3323](https://github.com/homarr-labs/homarr/issues/3323)) ([dac8234](https://github.com/homarr-labs/homarr/commit/dac82347e86dd7faacb24adbfc61ace9c917b8cd))
|
||||||
|
* **deps:** update tiptap monorepo to v2.14.0 ([#3334](https://github.com/homarr-labs/homarr/issues/3334)) ([6274a66](https://github.com/homarr-labs/homarr/commit/6274a66048163513e3faaf7011d7d6aa6ad9f161))
|
||||||
|
* **deps:** update trpc monorepo to ^11.2.0 ([#3293](https://github.com/homarr-labs/homarr/issues/3293)) ([f0ba693](https://github.com/homarr-labs/homarr/commit/f0ba693077a0c7f7897c81f02ad66b77fce52f1c))
|
||||||
|
* **deps:** update trpc monorepo to ^11.3.0 ([#3322](https://github.com/homarr-labs/homarr/issues/3322)) ([74aa561](https://github.com/homarr-labs/homarr/commit/74aa561f470f0f76421f356998caa91dc8bb65a1))
|
||||||
|
* **deps:** update trpc monorepo to ^11.3.1 ([#3329](https://github.com/homarr-labs/homarr/issues/3329)) ([8484daa](https://github.com/homarr-labs/homarr/commit/8484daaf7516ad72dd9e7de3117b5e0d50415dbb))
|
||||||
|
* **nextcloud:** correct calendar event date mapping and support showU… ([#3330](https://github.com/homarr-labs/homarr/issues/3330)) ([ffd2f80](https://github.com/homarr-labs/homarr/commit/ffd2f802bb777f13eac1ee45e1b5f0ca2b596672))
|
||||||
|
|
||||||
|
## [1.22.0](https://github.com/homarr-labs/homarr/compare/v1.21.0...v1.22.0) (2025-05-30)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* allow custom protocols for app href ([#2575](https://github.com/homarr-labs/homarr/issues/2575)) ([09af0a7](https://github.com/homarr-labs/homarr/commit/09af0a76f64c2fec512ba30726827208d5c3ad95))
|
||||||
|
* **cluster-health:** add visibility options ([#3210](https://github.com/homarr-labs/homarr/issues/3210)) ([939df8f](https://github.com/homarr-labs/homarr/commit/939df8f6d11bb36f71854425e4fdc4ca0724da31))
|
||||||
|
* **downloads:** add option to limit amount of items ([#3205](https://github.com/homarr-labs/homarr/issues/3205)) ([2dc871e](https://github.com/homarr-labs/homarr/commit/2dc871e531b58aee25db26ab7c5e94626517db36))
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **boards:** app select modal images rendering issue ([#3218](https://github.com/homarr-labs/homarr/issues/3218)) ([85e98d2](https://github.com/homarr-labs/homarr/commit/85e98d2b603abe18b37fa74bf50836422b72c9e1))
|
||||||
|
* **calendar:** load events for all visible days of calendar month ([#3216](https://github.com/homarr-labs/homarr/issues/3216)) ([437ecd1](https://github.com/homarr-labs/homarr/commit/437ecd10239c70e5a8c4d34119076ab155a2159e))
|
||||||
|
* **calendar:** remove scrollbar for 2x2 ([#3227](https://github.com/homarr-labs/homarr/issues/3227)) ([1d27da2](https://github.com/homarr-labs/homarr/commit/1d27da22303b2133bb1a7c59102b7c292bc34833))
|
||||||
|
* **cluster-health:** storage items multiply ([#3206](https://github.com/homarr-labs/homarr/issues/3206)) ([1114934](https://github.com/homarr-labs/homarr/commit/11149348fcbe9002bba33763e0b03aed50d20f71))
|
||||||
|
* csp prevents fonts to load ([#3225](https://github.com/homarr-labs/homarr/issues/3225)) ([05e159f](https://github.com/homarr-labs/homarr/commit/05e159f5662f04dd298eb13816fe1768d7ef9312))
|
||||||
|
* **deps:** update dependency @ianvs/prettier-plugin-sort-imports to ^4.4.2 ([#3258](https://github.com/homarr-labs/homarr/issues/3258)) ([4a184d2](https://github.com/homarr-labs/homarr/commit/4a184d23f25a8a06b36cd8c6d9b2a65118399d9f))
|
||||||
|
* **deps:** update dependency @kubernetes/client-node to ^1.3.0 ([#3261](https://github.com/homarr-labs/homarr/issues/3261)) ([635c9a2](https://github.com/homarr-labs/homarr/commit/635c9a2687cf2b9a09a3093eb638ef772eddfb03))
|
||||||
|
* **deps:** update dependency @t3-oss/env-nextjs to ^0.13.6 ([#3244](https://github.com/homarr-labs/homarr/issues/3244)) ([8966e2a](https://github.com/homarr-labs/homarr/commit/8966e2ad8a2025dfc91934ccf825bd76c08dc333))
|
||||||
|
* **deps:** update dependency drizzle-orm to ^0.44.0 ([#3256](https://github.com/homarr-labs/homarr/issues/3256)) ([09b49a2](https://github.com/homarr-labs/homarr/commit/09b49a242dd5d3d34bab758f190ab948b6fc7566))
|
||||||
|
* **deps:** update dependency flag-icons to ^7.4.0 ([#3265](https://github.com/homarr-labs/homarr/issues/3265)) ([a0eda74](https://github.com/homarr-labs/homarr/commit/a0eda74fa472446c5b93c1b65829e65670620ab6))
|
||||||
|
* **deps:** update dependency flag-icons to ^7.5.0 ([#3268](https://github.com/homarr-labs/homarr/issues/3268)) ([2320d3c](https://github.com/homarr-labs/homarr/commit/2320d3c5674413e18e9bb42fd004ada016c5e605))
|
||||||
|
* **deps:** update dependency jotai to ^2.12.5 ([#3243](https://github.com/homarr-labs/homarr/issues/3243)) ([9c32385](https://github.com/homarr-labs/homarr/commit/9c323850bc49df5f6fc3437678faab0c7eab2e53))
|
||||||
|
* **deps:** update dependency ldapts to v8.0.1 ([#3264](https://github.com/homarr-labs/homarr/issues/3264)) ([bac4f64](https://github.com/homarr-labs/homarr/commit/bac4f642574caf5f170d20353c036396698e5963))
|
||||||
|
* **deps:** update dependency node-cron to v4 ([#3075](https://github.com/homarr-labs/homarr/issues/3075)) ([109f9e7](https://github.com/homarr-labs/homarr/commit/109f9e79793b36b46ab1987a56f7c206e21d32e4))
|
||||||
|
* **deps:** update dependency octokit to ^5.0.3 ([#3249](https://github.com/homarr-labs/homarr/issues/3249)) ([3253b2f](https://github.com/homarr-labs/homarr/commit/3253b2f138a9e911b50c952e37fb4afb1f71446d))
|
||||||
|
* **deps:** update dependency trpc-to-openapi to ^2.3.1 ([#3046](https://github.com/homarr-labs/homarr/issues/3046)) ([640bf7b](https://github.com/homarr-labs/homarr/commit/640bf7b939b201d9905f5119af0dc0da6120b98c))
|
||||||
|
* **deps:** update dependency typescript-eslint to ^8.33.0 ([#3247](https://github.com/homarr-labs/homarr/issues/3247)) ([8b553b8](https://github.com/homarr-labs/homarr/commit/8b553b80e61ab608d01d890d26a8ea5bae3f38b8))
|
||||||
|
* **deps:** update dependency zod to ^3.25.24 ([#3195](https://github.com/homarr-labs/homarr/issues/3195)) ([0b224e8](https://github.com/homarr-labs/homarr/commit/0b224e8835d4fc5a292a624c8af8d874216b703a))
|
||||||
|
* **deps:** update dependency zod to ^3.25.28 ([#3201](https://github.com/homarr-labs/homarr/issues/3201)) ([e0a9e4f](https://github.com/homarr-labs/homarr/commit/e0a9e4f97c9dddb95fbc0b2a65acfd802dac9c19))
|
||||||
|
* **deps:** update dependency zod to ^3.25.29 ([#3237](https://github.com/homarr-labs/homarr/issues/3237)) ([81ca6ef](https://github.com/homarr-labs/homarr/commit/81ca6ef7b2767fb0bc285ffa53998e2c586225ec))
|
||||||
|
* **deps:** update dependency zod to ^3.25.30 ([#3239](https://github.com/homarr-labs/homarr/issues/3239)) ([3062948](https://github.com/homarr-labs/homarr/commit/30629489396668125dec7d93fcb0e733099c35fe))
|
||||||
|
* **deps:** update dependency zod to ^3.25.31 ([#3254](https://github.com/homarr-labs/homarr/issues/3254)) ([e2e4656](https://github.com/homarr-labs/homarr/commit/e2e46560010a94603852ea90a0fc63fabd473198))
|
||||||
|
* **deps:** update dependency zod to ^3.25.32 ([#3255](https://github.com/homarr-labs/homarr/issues/3255)) ([9c3a46c](https://github.com/homarr-labs/homarr/commit/9c3a46c071e169459ec7b8c9ba1647b4b354cbea))
|
||||||
|
* **deps:** update dependency zod to ^3.25.34 ([#3259](https://github.com/homarr-labs/homarr/issues/3259)) ([c1324ea](https://github.com/homarr-labs/homarr/commit/c1324eab76795dabc0a41315191f9ab6a73ba501))
|
||||||
|
* **deps:** update dependency zod to ^3.25.36 ([#3262](https://github.com/homarr-labs/homarr/issues/3262)) ([48ce2af](https://github.com/homarr-labs/homarr/commit/48ce2af4c182985a7721b65535bcf1b41f1cdcba))
|
||||||
|
* **deps:** update dependency zod to ^3.25.39 ([#3270](https://github.com/homarr-labs/homarr/issues/3270)) ([862d07d](https://github.com/homarr-labs/homarr/commit/862d07db68e7624342cb81241ef9924e6407fda8))
|
||||||
|
* **deps:** update dependency zod to ^3.25.41 ([#3272](https://github.com/homarr-labs/homarr/issues/3272)) ([5bf20aa](https://github.com/homarr-labs/homarr/commit/5bf20aa3538503de1d4f4d04f9de3e3b92442d75))
|
||||||
|
* **deps:** update dependency zod to ^3.25.42 ([#3274](https://github.com/homarr-labs/homarr/issues/3274)) ([608280e](https://github.com/homarr-labs/homarr/commit/608280e670432098ce466cfb8fa2b315bf35ead2))
|
||||||
|
* **deps:** update mantine monorepo to ^8.0.2 ([#3245](https://github.com/homarr-labs/homarr/issues/3245)) ([816544a](https://github.com/homarr-labs/homarr/commit/816544a996656ccf7cbacf76aff83d013ba21ad1))
|
||||||
|
* **deps:** update nextjs monorepo to v15.3.3 ([#3269](https://github.com/homarr-labs/homarr/issues/3269)) ([d72a804](https://github.com/homarr-labs/homarr/commit/d72a804ad9feb24a2b067712128a6566930990a6))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.77.0 ([#3204](https://github.com/homarr-labs/homarr/issues/3204)) ([ec42f26](https://github.com/homarr-labs/homarr/commit/ec42f265a04f0f96105d6b1318becd5cc94aa8fb))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.77.1 ([#3229](https://github.com/homarr-labs/homarr/issues/3229)) ([5ea7a20](https://github.com/homarr-labs/homarr/commit/5ea7a206772924faf1f842c80033954c853b3a02))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.77.2 ([#3232](https://github.com/homarr-labs/homarr/issues/3232)) ([7118690](https://github.com/homarr-labs/homarr/commit/71186908b96f717c6f8c528b0f983e1792a7a885))
|
||||||
|
* **deps:** update tanstack-query monorepo to ^5.79.0 ([#3263](https://github.com/homarr-labs/homarr/issues/3263)) ([1f9983f](https://github.com/homarr-labs/homarr/commit/1f9983f16db8677b8c244b63306ea4afd2195d94))
|
||||||
|
* **deps:** update trpc monorepo to ^11.1.3 ([#3240](https://github.com/homarr-labs/homarr/issues/3240)) ([78f98ed](https://github.com/homarr-labs/homarr/commit/78f98edc4145e27e2daa269121173905c642c139))
|
||||||
|
* **deps:** update trpc monorepo to ^11.1.4 ([#3260](https://github.com/homarr-labs/homarr/issues/3260)) ([bfd7b70](https://github.com/homarr-labs/homarr/commit/bfd7b706182340eaa1db70a3c6cdcc935aee8df4))
|
||||||
|
* **deps:** update turbo monorepo to ^2.5.4 ([#3279](https://github.com/homarr-labs/homarr/issues/3279)) ([c8202ab](https://github.com/homarr-labs/homarr/commit/c8202ab3c676bf796c6e7aff2ebfef224a0124c8))
|
||||||
|
* **downloads:** upspeed font size wrong ([#3214](https://github.com/homarr-labs/homarr/issues/3214)) ([c67916f](https://github.com/homarr-labs/homarr/commit/c67916f72eded64133fd458184a599f32d8fc63c))
|
||||||
|
* **media-request-stats:** users squeezed together ([#3213](https://github.com/homarr-labs/homarr/issues/3213)) ([25bd387](https://github.com/homarr-labs/homarr/commit/25bd3879db9260bbd24a1338cc5f26652ed78d72))
|
||||||
|
* navigating back results in navigation back to first page opened ([#3224](https://github.com/homarr-labs/homarr/issues/3224)) ([cbbf0c8](https://github.com/homarr-labs/homarr/commit/cbbf0c8dcf685e31e70bb62f04b1065dab90e18d))
|
||||||
|
* reduce logging ([#3200](https://github.com/homarr-labs/homarr/issues/3200)) ([be8b332](https://github.com/homarr-labs/homarr/commit/be8b332f942beb3af181ee6f39558882ed640a0e))
|
||||||
|
* **search:** removing server search engine causes loading error ([#3252](https://github.com/homarr-labs/homarr/issues/3252)) ([10f720d](https://github.com/homarr-labs/homarr/commit/10f720d74c6cc70cbf217e8daf8cc7878ac6d712))
|
||||||
|
* **visual:** check for creator board permission is wrong ([#3212](https://github.com/homarr-labs/homarr/issues/3212)) ([f7e5e82](https://github.com/homarr-labs/homarr/commit/f7e5e823d5dee36ea11f243a0da7d84a1f363419))
|
||||||
|
|
||||||
|
### Performance Improvements
|
||||||
|
|
||||||
|
* cache middleware onboarding and language checks ([#3197](https://github.com/homarr-labs/homarr/issues/3197)) ([2afa9b6](https://github.com/homarr-labs/homarr/commit/2afa9b67274edd79b52598dc0d22437048a67e2c))
|
||||||
|
|
||||||
## [1.21.0](https://github.com/homarr-labs/homarr/compare/v1.20.0...v1.21.0) (2025-05-23)
|
## [1.21.0](https://github.com/homarr-labs/homarr/compare/v1.20.0...v1.21.0) (2025-05-23)
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
+32
-19
@@ -17,31 +17,16 @@ const withNextIntl = createNextIntlPlugin({
|
|||||||
requestConfig: "../../packages/translation/src/request.ts",
|
requestConfig: "../../packages/translation/src/request.ts",
|
||||||
});
|
});
|
||||||
|
|
||||||
interface WebpackConfig {
|
|
||||||
module: {
|
|
||||||
rules: {
|
|
||||||
test: RegExp;
|
|
||||||
loader: string;
|
|
||||||
}[];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
output: "standalone",
|
output: "standalone",
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
/** We already do linting and typechecking as separate tasks in CI */
|
/** We already do linting and typechecking as separate tasks in CI */
|
||||||
eslint: { ignoreDuringBuilds: true },
|
eslint: { ignoreDuringBuilds: true },
|
||||||
typescript: { ignoreBuildErrors: true },
|
typescript: { ignoreBuildErrors: true },
|
||||||
webpack: (config: WebpackConfig, { isServer }) => {
|
/**
|
||||||
if (isServer) {
|
* dockerode is required in the external server packages because of https://github.com/homarr-labs/homarr/issues/612
|
||||||
config.module.rules.push({
|
*/
|
||||||
test: /\.node$/,
|
serverExternalPackages: ["dockerode"],
|
||||||
loader: "node-loader",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
return config;
|
|
||||||
},
|
|
||||||
experimental: {
|
experimental: {
|
||||||
optimizePackageImports: ["@mantine/core", "@mantine/hooks", "@tabler/icons-react"],
|
optimizePackageImports: ["@mantine/core", "@mantine/hooks", "@tabler/icons-react"],
|
||||||
},
|
},
|
||||||
@@ -49,6 +34,34 @@ const nextConfig: NextConfig = {
|
|||||||
images: {
|
images: {
|
||||||
domains: ["cdn.jsdelivr.net"],
|
domains: ["cdn.jsdelivr.net"],
|
||||||
},
|
},
|
||||||
|
// eslint-disable-next-line @typescript-eslint/require-await,no-restricted-syntax
|
||||||
|
async headers() {
|
||||||
|
return [
|
||||||
|
{
|
||||||
|
source: "/(.*)", // Apply CSP to all routes
|
||||||
|
headers: [
|
||||||
|
{
|
||||||
|
key: "Content-Security-Policy",
|
||||||
|
value: `
|
||||||
|
default-src 'self';
|
||||||
|
script-src * 'unsafe-inline' 'unsafe-eval';
|
||||||
|
base-uri 'self';
|
||||||
|
connect-src *;
|
||||||
|
style-src * 'unsafe-inline';
|
||||||
|
frame-ancestors *;
|
||||||
|
frame-src *;
|
||||||
|
form-action 'self';
|
||||||
|
img-src * data:;
|
||||||
|
font-src * data:;
|
||||||
|
media-src * data:;
|
||||||
|
`
|
||||||
|
.replace(/\s{2,}/g, " ")
|
||||||
|
.trim(),
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
];
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// Skip transform is used because of webpack loader, without it for example 'Tooltip.Floating' will not work and show an error
|
// Skip transform is used because of webpack loader, without it for example 'Tooltip.Floating' will not work and show an error
|
||||||
|
|||||||
+24
-24
@@ -48,21 +48,21 @@
|
|||||||
"@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/widgets": "workspace:^0.1.0",
|
"@homarr/widgets": "workspace:^0.1.0",
|
||||||
"@mantine/colors-generator": "^8.0.1",
|
"@mantine/colors-generator": "^8.1.0",
|
||||||
"@mantine/core": "^8.0.1",
|
"@mantine/core": "^8.1.0",
|
||||||
"@mantine/dropzone": "^8.0.1",
|
"@mantine/dropzone": "^8.1.0",
|
||||||
"@mantine/hooks": "^8.0.1",
|
"@mantine/hooks": "^8.1.0",
|
||||||
"@mantine/modals": "^8.0.1",
|
"@mantine/modals": "^8.1.0",
|
||||||
"@mantine/tiptap": "^8.0.1",
|
"@mantine/tiptap": "^8.1.0",
|
||||||
"@million/lint": "1.0.14",
|
"@million/lint": "1.0.14",
|
||||||
"@tabler/icons-react": "^3.33.0",
|
"@tabler/icons-react": "^3.34.0",
|
||||||
"@tanstack/react-query": "^5.76.2",
|
"@tanstack/react-query": "^5.80.6",
|
||||||
"@tanstack/react-query-devtools": "^5.76.2",
|
"@tanstack/react-query-devtools": "^5.80.6",
|
||||||
"@tanstack/react-query-next-experimental": "^5.76.2",
|
"@tanstack/react-query-next-experimental": "^5.80.6",
|
||||||
"@trpc/client": "^11.1.2",
|
"@trpc/client": "^11.3.1",
|
||||||
"@trpc/next": "^11.1.2",
|
"@trpc/next": "^11.3.1",
|
||||||
"@trpc/react-query": "^11.1.2",
|
"@trpc/react-query": "^11.3.1",
|
||||||
"@trpc/server": "^11.1.2",
|
"@trpc/server": "^11.3.1",
|
||||||
"@xterm/addon-canvas": "^0.7.0",
|
"@xterm/addon-canvas": "^0.7.0",
|
||||||
"@xterm/addon-fit": "0.10.0",
|
"@xterm/addon-fit": "0.10.0",
|
||||||
"@xterm/xterm": "^5.5.0",
|
"@xterm/xterm": "^5.5.0",
|
||||||
@@ -70,35 +70,35 @@
|
|||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"dotenv": "^16.5.0",
|
"dotenv": "^16.5.0",
|
||||||
"flag-icons": "^7.3.2",
|
"flag-icons": "^7.5.0",
|
||||||
"glob": "^11.0.2",
|
"glob": "^11.0.2",
|
||||||
"jotai": "^2.12.4",
|
"jotai": "^2.12.5",
|
||||||
"mantine-react-table": "2.0.0-beta.9",
|
"mantine-react-table": "2.0.0-beta.9",
|
||||||
"next": "15.3.2",
|
"next": "15.3.3",
|
||||||
"postcss-preset-mantine": "^1.17.0",
|
"postcss-preset-mantine": "^1.17.0",
|
||||||
"prismjs": "^1.30.0",
|
"prismjs": "^1.30.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"react-error-boundary": "^6.0.0",
|
"react-error-boundary": "^6.0.0",
|
||||||
"react-simple-code-editor": "^0.14.1",
|
"react-simple-code-editor": "^0.14.1",
|
||||||
"sass": "^1.89.0",
|
"sass": "^1.89.2",
|
||||||
"superjson": "2.2.2",
|
"superjson": "2.2.2",
|
||||||
"swagger-ui-react": "^5.22.0",
|
"swagger-ui-react": "^5.24.1",
|
||||||
"use-deep-compare-effect": "^1.8.1",
|
"use-deep-compare-effect": "^1.8.1",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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/chroma-js": "3.1.1",
|
"@types/chroma-js": "3.1.1",
|
||||||
"@types/node": "^22.15.21",
|
"@types/node": "^22.15.31",
|
||||||
"@types/prismjs": "^1.26.5",
|
"@types/prismjs": "^1.26.5",
|
||||||
"@types/react": "19.1.5",
|
"@types/react": "19.1.8",
|
||||||
"@types/react-dom": "19.1.5",
|
"@types/react-dom": "19.1.6",
|
||||||
"@types/swagger-ui-react": "^5.18.0",
|
"@types/swagger-ui-react": "^5.18.0",
|
||||||
"concurrently": "^9.1.2",
|
"concurrently": "^9.1.2",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"node-loader": "^2.1.0",
|
"node-loader": "^2.1.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import type { MouseEvent } from "react";
|
|
||||||
import { useCallback, useEffect } from "react";
|
import { useCallback, useEffect } from "react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
@@ -204,17 +203,22 @@ const SelectBoardsMenu = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const anchorSelector = "a[href]:not([target='_blank'])";
|
||||||
const usePreventLeaveWithDirty = (isDirty: boolean) => {
|
const usePreventLeaveWithDirty = (isDirty: boolean) => {
|
||||||
const t = useI18n();
|
const t = useI18n();
|
||||||
const { openConfirmModal } = useConfirmModal();
|
const { openConfirmModal } = useConfirmModal();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const handleClick = (event: MouseEvent<HTMLElement>) => {
|
if (!isDirty) return;
|
||||||
|
|
||||||
|
const handleClick = (event: Event) => {
|
||||||
const target = (event.target as HTMLElement).closest("a");
|
const target = (event.target as HTMLElement).closest("a");
|
||||||
|
|
||||||
if (!target) return;
|
if (!target) {
|
||||||
if (!isDirty) return;
|
console.warn("No anchor element found for click event", event);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
@@ -231,33 +235,29 @@ const usePreventLeaveWithDirty = (isDirty: boolean) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handlePopState = (event: Event) => {
|
const handlePopState = (event: Event) => {
|
||||||
if (isDirty) {
|
window.history.pushState(null, document.title, window.location.href);
|
||||||
window.history.pushState(null, document.title, window.location.href);
|
event.preventDefault();
|
||||||
event.preventDefault();
|
|
||||||
} else {
|
|
||||||
window.history.back();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleBeforeUnload = (event: BeforeUnloadEvent) => {
|
const handleBeforeUnload = (event: BeforeUnloadEvent) => {
|
||||||
if (!isDirty) return;
|
|
||||||
if (env.NODE_ENV === "development") return; // Allow to reload in development
|
if (env.NODE_ENV === "development") return; // Allow to reload in development
|
||||||
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.returnValue = true;
|
event.returnValue = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
document.querySelectorAll("a").forEach((link) => {
|
const anchors = document.querySelectorAll(anchorSelector);
|
||||||
link.addEventListener("click", handleClick as never);
|
anchors.forEach((link) => {
|
||||||
|
link.addEventListener("click", handleClick);
|
||||||
});
|
});
|
||||||
window.addEventListener("popstate", handlePopState);
|
window.addEventListener("popstate", handlePopState);
|
||||||
window.addEventListener("beforeunload", handleBeforeUnload);
|
window.addEventListener("beforeunload", handleBeforeUnload);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
document.querySelectorAll("a").forEach((link) => {
|
anchors.forEach((link) => {
|
||||||
link.removeEventListener("click", handleClick as never);
|
link.removeEventListener("click", handleClick);
|
||||||
window.removeEventListener("popstate", handlePopState);
|
|
||||||
});
|
});
|
||||||
|
window.removeEventListener("popstate", handlePopState);
|
||||||
window.removeEventListener("beforeunload", handleBeforeUnload);
|
window.removeEventListener("beforeunload", handleBeforeUnload);
|
||||||
};
|
};
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
|||||||
@@ -1,13 +1,16 @@
|
|||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { Card, Group, SimpleGrid, Space, Stack, Text } from "@mantine/core";
|
import { Card, Group, SimpleGrid, Space, Stack, Text, Title } from "@mantine/core";
|
||||||
import { IconArrowRight } from "@tabler/icons-react";
|
import { IconArrowRight } from "@tabler/icons-react";
|
||||||
|
|
||||||
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 { isProviderEnabled } from "@homarr/auth/server";
|
import { isProviderEnabled } from "@homarr/auth/server";
|
||||||
|
import { getIntegrationName } from "@homarr/definitions";
|
||||||
import { getScopedI18n } from "@homarr/translation/server";
|
import { getScopedI18n } from "@homarr/translation/server";
|
||||||
|
import { IntegrationAvatar } from "@homarr/ui";
|
||||||
|
|
||||||
import { DynamicBreadcrumb } from "~/components/navigation/dynamic-breadcrumb";
|
import { DynamicBreadcrumb } from "~/components/navigation/dynamic-breadcrumb";
|
||||||
|
import { catchTrpcNotFound } from "~/errors/trpc-catch-error";
|
||||||
import { createMetaTitle } from "~/metadata";
|
import { createMetaTitle } from "~/metadata";
|
||||||
import { HeroBanner } from "./_components/hero-banner";
|
import { HeroBanner } from "./_components/hero-banner";
|
||||||
|
|
||||||
@@ -30,6 +33,8 @@ export async function generateMetadata() {
|
|||||||
export default async function ManagementPage() {
|
export default async function ManagementPage() {
|
||||||
const statistics = await api.home.getStats();
|
const statistics = await api.home.getStats();
|
||||||
const session = await auth();
|
const session = await auth();
|
||||||
|
const isAdmin = session?.user.permissions.includes("admin") ?? false;
|
||||||
|
const suggestions = isAdmin ? await api.integration.suggestedIntegrations().catch(catchTrpcNotFound) : [];
|
||||||
const t = await getScopedI18n("management.page.home");
|
const t = await getScopedI18n("management.page.home");
|
||||||
|
|
||||||
const links: LinkProps[] = [
|
const links: LinkProps[] = [
|
||||||
@@ -102,6 +107,37 @@ export default async function ManagementPage() {
|
|||||||
),
|
),
|
||||||
)}
|
)}
|
||||||
</SimpleGrid>
|
</SimpleGrid>
|
||||||
|
{suggestions.length >= 1 && (
|
||||||
|
<>
|
||||||
|
<Space h="md" />
|
||||||
|
<Stack gap="sm">
|
||||||
|
<Stack gap={0}>
|
||||||
|
<Title order={3}>Suggested integrations</Title>
|
||||||
|
<Text c="dimmed">Based on your Docker containers</Text>
|
||||||
|
</Stack>
|
||||||
|
<SimpleGrid cols={{ xs: 1, sm: 2, md: 3 }}>
|
||||||
|
{suggestions.slice(0, 6).map((suggestion) => (
|
||||||
|
<Card key={suggestion.kind} component={Link} href="#" radius="lg">
|
||||||
|
<Group justify="space-between">
|
||||||
|
<Group>
|
||||||
|
<IntegrationAvatar kind={suggestion.kind} size="sm" />
|
||||||
|
<Stack gap={0}>
|
||||||
|
<Text size="md" fw={500}>
|
||||||
|
{getIntegrationName(suggestion.kind)}
|
||||||
|
</Text>
|
||||||
|
<Text c="dimmed" size="sm">
|
||||||
|
Show active media streams
|
||||||
|
</Text>
|
||||||
|
</Stack>
|
||||||
|
</Group>
|
||||||
|
<IconArrowRight />
|
||||||
|
</Group>
|
||||||
|
</Card>
|
||||||
|
))}
|
||||||
|
</SimpleGrid>
|
||||||
|
</Stack>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -5,25 +5,36 @@ import SuperJSON from "superjson";
|
|||||||
|
|
||||||
import type { AppRouter } from "@homarr/api";
|
import type { AppRouter } from "@homarr/api";
|
||||||
import { createHeadersCallbackForSource, getTrpcUrl } from "@homarr/api/shared";
|
import { createHeadersCallbackForSource, getTrpcUrl } from "@homarr/api/shared";
|
||||||
|
import { localeCookieKey } from "@homarr/definitions";
|
||||||
|
import type { SupportedLanguage } from "@homarr/translation";
|
||||||
|
import { supportedLanguages } from "@homarr/translation";
|
||||||
import { createI18nMiddleware } from "@homarr/translation/middleware";
|
import { createI18nMiddleware } from "@homarr/translation/middleware";
|
||||||
|
|
||||||
export async function middleware(request: NextRequest) {
|
let isOnboardingFinished = false;
|
||||||
// fetch api does not work because window is not defined and we need to construct the url from the headers
|
|
||||||
// In next 15 we will be able to use node apis and such the db directly
|
|
||||||
const culture = await serverFetchApi.serverSettings.getCulture.query();
|
|
||||||
|
|
||||||
|
export async function middleware(request: NextRequest) {
|
||||||
// Redirect to onboarding if it's not finished yet
|
// Redirect to onboarding if it's not finished yet
|
||||||
const pathname = request.nextUrl.pathname;
|
const pathname = request.nextUrl.pathname;
|
||||||
if (!pathname.endsWith("/init")) {
|
|
||||||
|
if (!isOnboardingFinished && !pathname.endsWith("/init")) {
|
||||||
const currentOnboardingStep = await serverFetchApi.onboard.currentStep.query();
|
const currentOnboardingStep = await serverFetchApi.onboard.currentStep.query();
|
||||||
if (currentOnboardingStep.current !== "finish") {
|
if (currentOnboardingStep.current !== "finish") {
|
||||||
return NextResponse.redirect(new URL("/init", request.url));
|
return NextResponse.redirect(new URL("/init", request.url));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isOnboardingFinished = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Only run this if the user has not already configured their language
|
||||||
|
const currentLocale = request.cookies.get(localeCookieKey)?.value;
|
||||||
|
let defaultLocale: SupportedLanguage = "en";
|
||||||
|
if (!currentLocale || !supportedLanguages.includes(currentLocale as SupportedLanguage)) {
|
||||||
|
defaultLocale = await serverFetchApi.serverSettings.getCulture.query().then((culture) => culture.defaultLocale);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We don't want to fallback to accept-language header so we clear it
|
// We don't want to fallback to accept-language header so we clear it
|
||||||
request.headers.set("accept-language", "");
|
request.headers.set("accept-language", "");
|
||||||
const next = createI18nMiddleware(culture.defaultLocale);
|
const next = createI18nMiddleware(defaultLocale);
|
||||||
return next(request);
|
return next(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -44,12 +44,12 @@
|
|||||||
"@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": "^22.15.21",
|
"@types/node": "^22.15.31",
|
||||||
"dotenv-cli": "^8.0.0",
|
"dotenv-cli": "^8.0.0",
|
||||||
"esbuild": "^0.25.4",
|
"esbuild": "^0.25.5",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"tsx": "4.19.4",
|
"tsx": "4.20.1",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
"@homarr/redis": "workspace:^0.1.0",
|
"@homarr/redis": "workspace:^0.1.0",
|
||||||
"@homarr/validation": "workspace:^0.1.0",
|
"@homarr/validation": "workspace:^0.1.0",
|
||||||
"dotenv": "^16.5.0",
|
"dotenv": "^16.5.0",
|
||||||
"tsx": "4.19.4",
|
"tsx": "4.20.1",
|
||||||
"ws": "^8.18.2"
|
"ws": "^8.18.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
"@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/ws": "^8.18.1",
|
"@types/ws": "^8.18.1",
|
||||||
"esbuild": "^0.25.4",
|
"esbuild": "^0.25.5",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-1
@@ -120,4 +120,6 @@ You can also support us by helping with [translating the entire project](https:/
|
|||||||
Thanks to your generous sponsors we can continue to build Homarr. Check them out for high quality and easy to use development tools.
|
Thanks to your generous sponsors we can continue to build Homarr. Check them out for high quality and easy to use development tools.
|
||||||
Feel free to contact us at homarr-labs@proton.me if you wish to become a sponsor.
|
Feel free to contact us at homarr-labs@proton.me if you wish to become a sponsor.
|
||||||
|
|
||||||
[](https://argos-ci.com?utm_source=%5Bhomarr%5D&utm_campaign=oss)
|
[](https://argos-ci.com?utm_source=%5Bhomarr%5D&utm_campaign=oss) \
|
||||||
|
[](https://www.pikapods.com/pods?run=homarr-v1)
|
||||||
|
|
||||||
+12
-12
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "homarr",
|
"name": "homarr",
|
||||||
"version": "1.21.0",
|
"version": "1.23.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "cross-env CI=true turbo build",
|
"build": "cross-env CI=true turbo build",
|
||||||
@@ -35,25 +35,25 @@
|
|||||||
"@semantic-release/changelog": "^6.0.3",
|
"@semantic-release/changelog": "^6.0.3",
|
||||||
"@semantic-release/commit-analyzer": "^13.0.1",
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
||||||
"@semantic-release/git": "^10.0.1",
|
"@semantic-release/git": "^10.0.1",
|
||||||
"@semantic-release/github": "^11.0.2",
|
"@semantic-release/github": "^11.0.3",
|
||||||
"@semantic-release/npm": "^12.0.1",
|
"@semantic-release/npm": "^12.0.1",
|
||||||
"@semantic-release/release-notes-generator": "^14.0.3",
|
"@semantic-release/release-notes-generator": "^14.0.3",
|
||||||
"@turbo/gen": "^2.5.3",
|
"@turbo/gen": "^2.5.4",
|
||||||
"@vitejs/plugin-react": "^4.5.0",
|
"@vitejs/plugin-react": "^4.5.2",
|
||||||
"@vitest/coverage-v8": "^3.1.4",
|
"@vitest/coverage-v8": "^3.2.3",
|
||||||
"@vitest/ui": "^3.1.4",
|
"@vitest/ui": "^3.2.3",
|
||||||
"conventional-changelog-conventionalcommits": "^8.0.0",
|
"conventional-changelog-conventionalcommits": "^9.0.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"jsdom": "^26.1.0",
|
"jsdom": "^26.1.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"semantic-release": "^24.2.4",
|
"semantic-release": "^24.2.5",
|
||||||
"testcontainers": "^10.28.0",
|
"testcontainers": "^11.0.3",
|
||||||
"turbo": "^2.5.3",
|
"turbo": "^2.5.4",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"vite-tsconfig-paths": "^5.1.4",
|
"vite-tsconfig-paths": "^5.1.4",
|
||||||
"vitest": "^3.1.4"
|
"vitest": "^3.2.3"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.11.0",
|
"packageManager": "pnpm@10.12.1",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=22.16.0"
|
"node": ">=22.16.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+10
-10
@@ -40,25 +40,25 @@
|
|||||||
"@homarr/request-handler": "workspace:^0.1.0",
|
"@homarr/request-handler": "workspace:^0.1.0",
|
||||||
"@homarr/server-settings": "workspace:^0.1.0",
|
"@homarr/server-settings": "workspace:^0.1.0",
|
||||||
"@homarr/validation": "workspace:^0.1.0",
|
"@homarr/validation": "workspace:^0.1.0",
|
||||||
"@kubernetes/client-node": "^1.2.0",
|
"@kubernetes/client-node": "^1.3.0",
|
||||||
"@tanstack/react-query": "^5.76.2",
|
"@tanstack/react-query": "^5.80.6",
|
||||||
"@trpc/client": "^11.1.2",
|
"@trpc/client": "^11.3.1",
|
||||||
"@trpc/react-query": "^11.1.2",
|
"@trpc/react-query": "^11.3.1",
|
||||||
"@trpc/server": "^11.1.2",
|
"@trpc/server": "^11.3.1",
|
||||||
"@trpc/tanstack-react-query": "^11.1.2",
|
"@trpc/tanstack-react-query": "^11.3.1",
|
||||||
"lodash.clonedeep": "^4.5.0",
|
"lodash.clonedeep": "^4.5.0",
|
||||||
"next": "15.3.2",
|
"next": "15.3.3",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"superjson": "2.2.2",
|
"superjson": "2.2.2",
|
||||||
"trpc-to-openapi": "^2.2.0",
|
"trpc-to-openapi": "^2.3.1",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,15 +14,19 @@ import {
|
|||||||
integrationUserPermissions,
|
integrationUserPermissions,
|
||||||
searchEngines,
|
searchEngines,
|
||||||
} from "@homarr/db/schema";
|
} from "@homarr/db/schema";
|
||||||
import type { IntegrationSecretKind } from "@homarr/definitions";
|
import type { IntegrationKind, IntegrationSecretKind } from "@homarr/definitions";
|
||||||
import {
|
import {
|
||||||
getIconUrl,
|
getIconUrl,
|
||||||
getIntegrationKindsByCategory,
|
getIntegrationKindsByCategory,
|
||||||
|
getIntegrationName,
|
||||||
getPermissionsWithParents,
|
getPermissionsWithParents,
|
||||||
integrationDefs,
|
integrationDefs,
|
||||||
integrationKinds,
|
integrationKinds,
|
||||||
integrationSecretKindObject,
|
integrationSecretKindObject,
|
||||||
} from "@homarr/definitions";
|
} from "@homarr/definitions";
|
||||||
|
import type { ContainerInfo, Port } from "@homarr/docker";
|
||||||
|
import { DockerSingleton } from "@homarr/docker";
|
||||||
|
import { env } from "@homarr/docker/env";
|
||||||
import { createIntegrationAsync } from "@homarr/integrations";
|
import { createIntegrationAsync } from "@homarr/integrations";
|
||||||
import { logger } from "@homarr/log";
|
import { logger } from "@homarr/log";
|
||||||
import { byIdSchema } from "@homarr/validation/common";
|
import { byIdSchema } from "@homarr/validation/common";
|
||||||
@@ -527,8 +531,169 @@ export const integrationRouter = createTRPCRouter({
|
|||||||
const integrationInstance = await createIntegrationAsync(ctx.integration);
|
const integrationInstance = await createIntegrationAsync(ctx.integration);
|
||||||
return await integrationInstance.searchAsync(encodeURI(input.query));
|
return await integrationInstance.searchAsync(encodeURI(input.query));
|
||||||
}),
|
}),
|
||||||
|
suggestedIntegrations: permissionRequiredProcedure.requiresPermission("admin").query(async ({ ctx }) => {
|
||||||
|
if (!env.ENABLE_DOCKER)
|
||||||
|
throw new TRPCError({
|
||||||
|
code: "NOT_FOUND",
|
||||||
|
message: "Docker is not enabled",
|
||||||
|
});
|
||||||
|
|
||||||
|
const dockerInstances = DockerSingleton.getInstances();
|
||||||
|
if (dockerInstances.length === 0) {
|
||||||
|
throw new TRPCError({
|
||||||
|
code: "NOT_FOUND",
|
||||||
|
message: "No Docker instances found",
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: remove those that were already added
|
||||||
|
const containers = await Promise.all(
|
||||||
|
dockerInstances.map(({ instance, host, isSocket }) =>
|
||||||
|
instance.listContainers().then((containers) =>
|
||||||
|
containers.map((containerInfo) => ({
|
||||||
|
info: containerInfo,
|
||||||
|
host,
|
||||||
|
isSocket,
|
||||||
|
})),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
).then((results) => results.flat());
|
||||||
|
|
||||||
|
// Default docker hostname consist out of first 12 characters of the container id
|
||||||
|
const homarrContainer = containers.find((container) => container.info.Id.slice(0, 12) === process.env.HOSTNAME);
|
||||||
|
|
||||||
|
const suggestions = containers
|
||||||
|
.map((container) => getSuggestionFromContainer(container, homarrContainer))
|
||||||
|
.filter((suggestion) => suggestion !== null);
|
||||||
|
|
||||||
|
const groupedSuggestions = suggestions.reduce(
|
||||||
|
(acc, suggestion) => {
|
||||||
|
acc[suggestion.kind] ??= [];
|
||||||
|
// is defined above
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||||
|
acc[suggestion.kind]!.push(suggestion);
|
||||||
|
return acc;
|
||||||
|
},
|
||||||
|
{} as Partial<Record<IntegrationKind, IntegrationSuggestion[]>>,
|
||||||
|
);
|
||||||
|
|
||||||
|
return Object.entries(groupedSuggestions)
|
||||||
|
.map(([kind, suggestions]) => ({
|
||||||
|
kind: kind as IntegrationKind,
|
||||||
|
suggestions,
|
||||||
|
}))
|
||||||
|
.sort((itemA, itemB) => {
|
||||||
|
if (itemA.suggestions.length !== itemB.suggestions.length)
|
||||||
|
return itemB.suggestions.length - itemA.suggestions.length;
|
||||||
|
|
||||||
|
const createdAtA = Math.max(...itemA.suggestions.map((suggestion) => suggestion.createdAt?.getTime() ?? 0));
|
||||||
|
const createdAtB = Math.max(...itemB.suggestions.map((suggestion) => suggestion.createdAt?.getTime() ?? 0));
|
||||||
|
return createdAtB - createdAtA;
|
||||||
|
});
|
||||||
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
interface IntegrationSuggestion {
|
||||||
|
containerId: string;
|
||||||
|
name: string;
|
||||||
|
internalUrl: string | null;
|
||||||
|
externalUrl: string | null;
|
||||||
|
kind: IntegrationKind;
|
||||||
|
createdAt?: Date;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ContainerInfoWithHost {
|
||||||
|
info: ContainerInfo;
|
||||||
|
host: string;
|
||||||
|
isSocket: boolean | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
const getSuggestionFromContainer = (
|
||||||
|
container: ContainerInfoWithHost,
|
||||||
|
homarrContainer: ContainerInfoWithHost | undefined,
|
||||||
|
): IntegrationSuggestion | null => {
|
||||||
|
const integrationKind = getSuggestionKind(container.info);
|
||||||
|
|
||||||
|
if (!integrationKind) return null;
|
||||||
|
|
||||||
|
return {
|
||||||
|
containerId: container.info.Id,
|
||||||
|
name: getIntegrationName(integrationKind),
|
||||||
|
kind: integrationKind,
|
||||||
|
internalUrl: getInternalUrl(container, homarrContainer),
|
||||||
|
externalUrl: getExternalUrl(container),
|
||||||
|
createdAt: container.info.Created ? new Date(container.info.Created * 1000) : undefined,
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
const getSuggestionKind = (container: ContainerInfo): IntegrationKind | null => {
|
||||||
|
const [image, _tag] = container.Image.split(":");
|
||||||
|
if (!image) return null;
|
||||||
|
return (
|
||||||
|
objectEntries(integrationDefs).find(
|
||||||
|
([, integration]) =>
|
||||||
|
"containerImages" in integration &&
|
||||||
|
integration.containerImages.some((containerImage) => containerImage.toLowerCase() === image.toLowerCase()),
|
||||||
|
)?.[0] ?? null
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
const calculatePortScore = (port: Port): number => {
|
||||||
|
let score = 0;
|
||||||
|
|
||||||
|
if (port.PublicPort) score += 10; // Public ports are more likely to be used
|
||||||
|
if (port.PrivatePort % 1000 === 80) score += 5; // Default http ports are most likely suffixed with 80 like 8080 or 80
|
||||||
|
if (port.PrivatePort % 1000 === 443) score += 10; // Default https ports are most likely suffixed with 443 like 8443 or 443
|
||||||
|
return score;
|
||||||
|
};
|
||||||
|
|
||||||
|
const getPort = (container: ContainerInfoWithHost): Port | null => {
|
||||||
|
const ports = container.info.Ports.filter((port) => port.Type === "tcp");
|
||||||
|
return (
|
||||||
|
ports
|
||||||
|
.map((port) => ({ port, score: calculatePortScore(port) }))
|
||||||
|
.sort((portA, portB) => portB.score - portA.score)
|
||||||
|
.at(0)?.port ?? null
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
const getInternalUrl = (
|
||||||
|
container: ContainerInfoWithHost,
|
||||||
|
homarrContainer: ContainerInfoWithHost | undefined,
|
||||||
|
): string | null => {
|
||||||
|
const port = getPort(container);
|
||||||
|
if (!port) return null;
|
||||||
|
const protocol = port.PrivatePort % 1000 === 443 ? "https" : "http";
|
||||||
|
|
||||||
|
if (homarrContainer) {
|
||||||
|
const matchingNetwork = Object.entries(homarrContainer.info.NetworkSettings.Networks).find(
|
||||||
|
([_key, homarrNetwork]) =>
|
||||||
|
Object.entries(container.info.NetworkSettings.Networks).some(
|
||||||
|
([_name, network]) => homarrNetwork.NetworkID === network.NetworkID,
|
||||||
|
),
|
||||||
|
)?.[1];
|
||||||
|
if (matchingNetwork) return `${protocol}://${matchingNetwork.IPAddress}:${port.PrivatePort}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: Let user specify the internal ip-address for integrations --> use as default before falling back to host.docker.internal
|
||||||
|
if (container.host === homarrContainer?.host && container.isSocket === homarrContainer.isSocket) {
|
||||||
|
return `${protocol}://host.docker.internal:${port.PublicPort}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: Change this
|
||||||
|
return `${protocol}://localhost:${port.PublicPort}`;
|
||||||
|
};
|
||||||
|
|
||||||
|
const getExternalUrl = (container: ContainerInfoWithHost): string | null => {
|
||||||
|
const port = getPort(container);
|
||||||
|
if (!port) return null;
|
||||||
|
const protocol = port.PrivatePort % 1000 === 443 ? "https" : "http";
|
||||||
|
|
||||||
|
// TODO: Use some labels like "traefik.host" to determine the external url
|
||||||
|
// For now we just use localhost as external url
|
||||||
|
return `${protocol}://localhost:${port.PublicPort}`;
|
||||||
|
};
|
||||||
|
|
||||||
interface UpdateSecretInput {
|
interface UpdateSecretInput {
|
||||||
integrationId: string;
|
integrationId: string;
|
||||||
value: string;
|
value: string;
|
||||||
|
|||||||
@@ -2,9 +2,10 @@ import { TRPCError } from "@trpc/server";
|
|||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
|
|
||||||
import { asc, createId, eq, like } from "@homarr/db";
|
import { asc, createId, eq, like } from "@homarr/db";
|
||||||
import { getServerSettingByKeyAsync } from "@homarr/db/queries";
|
import { getServerSettingByKeyAsync, updateServerSettingByKeyAsync } from "@homarr/db/queries";
|
||||||
import { searchEngines, users } from "@homarr/db/schema";
|
import { searchEngines, users } from "@homarr/db/schema";
|
||||||
import { createIntegrationAsync } from "@homarr/integrations";
|
import { createIntegrationAsync } from "@homarr/integrations";
|
||||||
|
import { logger } from "@homarr/log";
|
||||||
import { byIdSchema, paginatedSchema, searchSchema } from "@homarr/validation/common";
|
import { byIdSchema, paginatedSchema, searchSchema } from "@homarr/validation/common";
|
||||||
import { searchEngineEditSchema, searchEngineManageSchema } from "@homarr/validation/search-engine";
|
import { searchEngineEditSchema, searchEngineManageSchema } from "@homarr/validation/search-engine";
|
||||||
import { mediaRequestOptionsSchema, mediaRequestRequestSchema } from "@homarr/validation/widgets/media-request";
|
import { mediaRequestOptionsSchema, mediaRequestRequestSchema } from "@homarr/validation/widgets/media-request";
|
||||||
@@ -96,23 +97,35 @@ export const searchEngineRouter = createTRPCRouter({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const serverDefaultId = await getServerSettingByKeyAsync(ctx.db, "search").then(
|
const searchSettings = await getServerSettingByKeyAsync(ctx.db, "search");
|
||||||
(setting) => setting.defaultSearchEngineId,
|
|
||||||
);
|
|
||||||
|
|
||||||
if (serverDefaultId) {
|
if (!searchSettings.defaultSearchEngineId) return null;
|
||||||
return await ctx.db.query.searchEngines.findFirst({
|
|
||||||
where: eq(searchEngines.id, serverDefaultId),
|
const serverDefault = await ctx.db.query.searchEngines.findFirst({
|
||||||
with: {
|
where: eq(searchEngines.id, searchSettings.defaultSearchEngineId),
|
||||||
integration: {
|
with: {
|
||||||
columns: {
|
integration: {
|
||||||
kind: true,
|
columns: {
|
||||||
url: true,
|
kind: true,
|
||||||
id: true,
|
url: true,
|
||||||
},
|
id: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
if (serverDefault) return serverDefault;
|
||||||
|
|
||||||
|
// Remove the default search engine ID from settings if it does not longer exist
|
||||||
|
try {
|
||||||
|
await updateServerSettingByKeyAsync(ctx.db, "search", {
|
||||||
|
...searchSettings,
|
||||||
|
defaultSearchEngineId: null,
|
||||||
});
|
});
|
||||||
|
} catch (error) {
|
||||||
|
logger.warn(
|
||||||
|
new Error("Failed to update search settings after default search engine not found", { cause: error }),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -19,10 +19,11 @@ const createDownloadClientIntegrationMiddleware = (action: IntegrationAction) =>
|
|||||||
export const downloadsRouter = createTRPCRouter({
|
export const downloadsRouter = createTRPCRouter({
|
||||||
getJobsAndStatuses: publicProcedure
|
getJobsAndStatuses: publicProcedure
|
||||||
.concat(createDownloadClientIntegrationMiddleware("query"))
|
.concat(createDownloadClientIntegrationMiddleware("query"))
|
||||||
.query(async ({ ctx }) => {
|
.input(z.object({ limitPerIntegration: z.number().default(50) }))
|
||||||
|
.query(async ({ ctx, input }) => {
|
||||||
return await Promise.all(
|
return await Promise.all(
|
||||||
ctx.integrations.map(async (integration) => {
|
ctx.integrations.map(async (integration) => {
|
||||||
const innerHandler = downloadClientRequestHandler.handler(integration, {});
|
const innerHandler = downloadClientRequestHandler.handler(integration, { limit: input.limitPerIntegration });
|
||||||
|
|
||||||
const { data, timestamp } = await innerHandler.getCachedOrUpdatedDataAsync({ forceUpdate: false });
|
const { data, timestamp } = await innerHandler.getCachedOrUpdatedDataAsync({ forceUpdate: false });
|
||||||
|
|
||||||
@@ -40,7 +41,8 @@ export const downloadsRouter = createTRPCRouter({
|
|||||||
}),
|
}),
|
||||||
subscribeToJobsAndStatuses: publicProcedure
|
subscribeToJobsAndStatuses: publicProcedure
|
||||||
.concat(createDownloadClientIntegrationMiddleware("query"))
|
.concat(createDownloadClientIntegrationMiddleware("query"))
|
||||||
.subscription(({ ctx }) => {
|
.input(z.object({ limitPerIntegration: z.number().default(50) }))
|
||||||
|
.subscription(({ ctx, input }) => {
|
||||||
return observable<{
|
return observable<{
|
||||||
integration: Modify<Integration, { kind: IntegrationKindByCategory<"downloadClient"> }>;
|
integration: Modify<Integration, { kind: IntegrationKindByCategory<"downloadClient"> }>;
|
||||||
data: DownloadClientJobsAndStatus;
|
data: DownloadClientJobsAndStatus;
|
||||||
@@ -48,7 +50,9 @@ export const downloadsRouter = createTRPCRouter({
|
|||||||
const unsubscribes: (() => void)[] = [];
|
const unsubscribes: (() => void)[] = [];
|
||||||
for (const integrationWithSecrets of ctx.integrations) {
|
for (const integrationWithSecrets of ctx.integrations) {
|
||||||
const { decryptedSecrets: _, ...integration } = integrationWithSecrets;
|
const { decryptedSecrets: _, ...integration } = integrationWithSecrets;
|
||||||
const innerHandler = downloadClientRequestHandler.handler(integrationWithSecrets, {});
|
const innerHandler = downloadClientRequestHandler.handler(integrationWithSecrets, {
|
||||||
|
limit: input.limitPerIntegration,
|
||||||
|
});
|
||||||
const unsubscribe = innerHandler.subscribe((data) => {
|
const unsubscribe = innerHandler.subscribe((data) => {
|
||||||
emit.next({
|
emit.next({
|
||||||
integration,
|
integration,
|
||||||
|
|||||||
@@ -34,20 +34,20 @@
|
|||||||
"@homarr/validation": "workspace:^0.1.0",
|
"@homarr/validation": "workspace:^0.1.0",
|
||||||
"bcrypt": "^6.0.0",
|
"bcrypt": "^6.0.0",
|
||||||
"cookies": "^0.9.1",
|
"cookies": "^0.9.1",
|
||||||
"ldapts": "8.0.0",
|
"ldapts": "8.0.1",
|
||||||
"next": "15.3.2",
|
"next": "15.3.3",
|
||||||
"next-auth": "5.0.0-beta.28",
|
"next-auth": "5.0.0-beta.28",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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/bcrypt": "5.0.2",
|
"@types/bcrypt": "5.0.2",
|
||||||
"@types/cookies": "0.9.0",
|
"@types/cookies": "0.9.1",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,21 +23,22 @@ export type BoardPermissionsProps = (
|
|||||||
|
|
||||||
export const constructBoardPermissions = (board: BoardPermissionsProps, session: Session | null) => {
|
export const constructBoardPermissions = (board: BoardPermissionsProps, session: Session | null) => {
|
||||||
const creatorId = "creator" in board ? board.creator?.id : board.creatorId;
|
const creatorId = "creator" in board ? board.creator?.id : board.creatorId;
|
||||||
|
const isCreator = session !== null && session.user.id === creatorId;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
hasFullAccess:
|
hasFullAccess:
|
||||||
session?.user.id === creatorId ||
|
isCreator ||
|
||||||
board.userPermissions.some(({ permission }) => permission === "full") ||
|
board.userPermissions.some(({ permission }) => permission === "full") ||
|
||||||
board.groupPermissions.some(({ permission }) => permission === "full") ||
|
board.groupPermissions.some(({ permission }) => permission === "full") ||
|
||||||
(session?.user.permissions.includes("board-full-all") ?? false),
|
(session?.user.permissions.includes("board-full-all") ?? false),
|
||||||
hasChangeAccess:
|
hasChangeAccess:
|
||||||
session?.user.id === creatorId ||
|
isCreator ||
|
||||||
board.userPermissions.some(({ permission }) => permission === "modify" || permission === "full") ||
|
board.userPermissions.some(({ permission }) => permission === "modify" || permission === "full") ||
|
||||||
board.groupPermissions.some(({ permission }) => permission === "modify" || permission === "full") ||
|
board.groupPermissions.some(({ permission }) => permission === "modify" || permission === "full") ||
|
||||||
(session?.user.permissions.includes("board-modify-all") ?? false) ||
|
(session?.user.permissions.includes("board-modify-all") ?? false) ||
|
||||||
(session?.user.permissions.includes("board-full-all") ?? false),
|
(session?.user.permissions.includes("board-full-all") ?? false),
|
||||||
hasViewAccess:
|
hasViewAccess:
|
||||||
session?.user.id === creatorId ||
|
isCreator ||
|
||||||
board.userPermissions.length >= 1 ||
|
board.userPermissions.length >= 1 ||
|
||||||
board.groupPermissions.length >= 1 ||
|
board.groupPermissions.length >= 1 ||
|
||||||
board.isPublic ||
|
board.isPublic ||
|
||||||
|
|||||||
@@ -286,4 +286,22 @@ describe("constructBoardPermissions", () => {
|
|||||||
expect(result.hasChangeAccess).toBe(false);
|
expect(result.hasChangeAccess).toBe(false);
|
||||||
expect(result.hasViewAccess).toBe(true);
|
expect(result.hasViewAccess).toBe(true);
|
||||||
});
|
});
|
||||||
|
test("should return all false when creator is null and session is null", () => {
|
||||||
|
// Arrange
|
||||||
|
const board = {
|
||||||
|
creator: null,
|
||||||
|
userPermissions: [],
|
||||||
|
groupPermissions: [],
|
||||||
|
isPublic: false,
|
||||||
|
};
|
||||||
|
const session = null;
|
||||||
|
|
||||||
|
// Act
|
||||||
|
const result = constructBoardPermissions(board, session);
|
||||||
|
|
||||||
|
// Assert
|
||||||
|
expect(result.hasFullAccess).toBe(false);
|
||||||
|
expect(result.hasChangeAccess).toBe(false);
|
||||||
|
expect(result.hasViewAccess).toBe(false);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
"@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",
|
||||||
"esbuild": "^0.25.4",
|
"esbuild": "^0.25.5",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -30,18 +30,18 @@
|
|||||||
"@homarr/env": "workspace:^0.1.0",
|
"@homarr/env": "workspace:^0.1.0",
|
||||||
"@homarr/log": "workspace:^0.1.0",
|
"@homarr/log": "workspace:^0.1.0",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"next": "15.3.2",
|
"next": "15.3.3",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"undici": "7.10.0",
|
"undici": "7.10.0",
|
||||||
"zod": "^3.25.23",
|
"zod": "^3.25.62",
|
||||||
"zod-validation-error": "^3.4.1"
|
"zod-validation-error": "^3.4.1"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -24,7 +24,7 @@ export class LoggingAgent extends Agent {
|
|||||||
url.searchParams.set(key, "REDACTED");
|
url.searchParams.set(key, "REDACTED");
|
||||||
});
|
});
|
||||||
|
|
||||||
logger.info(
|
logger.debug(
|
||||||
`Dispatching request ${url.toString().replaceAll("=&", "&")} (${Object.keys(options.headers ?? {}).length} headers)`,
|
`Dispatching request ${url.toString().replaceAll("=&", "&")} (${Object.keys(options.headers ?? {}).length} headers)`,
|
||||||
);
|
);
|
||||||
return super.dispatch(options, handler);
|
return super.dispatch(options, handler);
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ const REDACTED = "REDACTED";
|
|||||||
describe("LoggingAgent should log all requests", () => {
|
describe("LoggingAgent should log all requests", () => {
|
||||||
test("should log all requests", () => {
|
test("should log all requests", () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const infoLogSpy = vi.spyOn(logger, "info");
|
const infoLogSpy = vi.spyOn(logger, "debug");
|
||||||
const agent = new LoggingAgent();
|
const agent = new LoggingAgent();
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
@@ -33,7 +33,7 @@ describe("LoggingAgent should log all requests", () => {
|
|||||||
|
|
||||||
test("should show amount of headers", () => {
|
test("should show amount of headers", () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const infoLogSpy = vi.spyOn(logger, "info");
|
const infoLogSpy = vi.spyOn(logger, "debug");
|
||||||
const agent = new LoggingAgent();
|
const agent = new LoggingAgent();
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
@@ -68,7 +68,7 @@ describe("LoggingAgent should log all requests", () => {
|
|||||||
[`/?stringWith13Chars=${"a".repeat(13)}`, `/?stringWith13Chars=${REDACTED}`],
|
[`/?stringWith13Chars=${"a".repeat(13)}`, `/?stringWith13Chars=${REDACTED}`],
|
||||||
])("should redact sensitive data in url https://homarr.dev%s", (path, expected) => {
|
])("should redact sensitive data in url https://homarr.dev%s", (path, expected) => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const infoLogSpy = vi.spyOn(logger, "info");
|
const infoLogSpy = vi.spyOn(logger, "debug");
|
||||||
const agent = new LoggingAgent();
|
const agent = new LoggingAgent();
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
@@ -87,7 +87,7 @@ describe("LoggingAgent should log all requests", () => {
|
|||||||
["date times", "/?datetime=2022-01-01T00:00:00.000Z"],
|
["date times", "/?datetime=2022-01-01T00:00:00.000Z"],
|
||||||
])("should not redact values that are %s", (_reason, path) => {
|
])("should not redact values that are %s", (_reason, path) => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const infoLogSpy = vi.spyOn(logger, "info");
|
const infoLogSpy = vi.spyOn(logger, "debug");
|
||||||
const agent = new LoggingAgent();
|
const agent = new LoggingAgent();
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -7,6 +7,6 @@ import { cronJobRunnerChannel } from ".";
|
|||||||
*/
|
*/
|
||||||
export const registerCronJobRunner = () => {
|
export const registerCronJobRunner = () => {
|
||||||
cronJobRunnerChannel.subscribe((jobName) => {
|
cronJobRunnerChannel.subscribe((jobName) => {
|
||||||
jobGroup.runManually(jobName);
|
void jobGroup.runManuallyAsync(jobName);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -25,14 +25,14 @@
|
|||||||
"prettier": "@homarr/prettier-config",
|
"prettier": "@homarr/prettier-config",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@homarr/common": "workspace:^0.1.0",
|
"@homarr/common": "workspace:^0.1.0",
|
||||||
"node-cron": "^3.0.3"
|
"node-cron": "^4.1.0"
|
||||||
},
|
},
|
||||||
"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": "^3.0.11",
|
"@types/node-cron": "^3.0.11",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
import { AxiosError } from "axios";
|
import { AxiosError } from "axios";
|
||||||
import cron from "node-cron";
|
import type { ScheduledTask } from "node-cron";
|
||||||
|
import { schedule, validate } from "node-cron";
|
||||||
|
|
||||||
import { Stopwatch } from "@homarr/common";
|
import { Stopwatch } from "@homarr/common";
|
||||||
import type { MaybePromise } from "@homarr/common/types";
|
import type { MaybePromise } from "@homarr/common/types";
|
||||||
@@ -27,7 +28,7 @@ const createCallback = <TAllowedNames extends string, TName extends TAllowedName
|
|||||||
options: CreateCronJobOptions,
|
options: CreateCronJobOptions,
|
||||||
creatorOptions: CreateCronJobCreatorOptions<TAllowedNames>,
|
creatorOptions: CreateCronJobCreatorOptions<TAllowedNames>,
|
||||||
) => {
|
) => {
|
||||||
const expectedMaximumDurationInMillis = options.expectedMaximumDurationInMillis ?? 1000;
|
const expectedMaximumDurationInMillis = options.expectedMaximumDurationInMillis ?? 2500;
|
||||||
return (callback: () => MaybePromise<void>) => {
|
return (callback: () => MaybePromise<void>) => {
|
||||||
const catchingCallbackAsync = async () => {
|
const catchingCallbackAsync = async () => {
|
||||||
try {
|
try {
|
||||||
@@ -64,12 +65,11 @@ const createCallback = <TAllowedNames extends string, TName extends TAllowedName
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* We are not using the runOnInit method as we want to run the job only once we start the cron job schedule manually.
|
* We are not using the runOnInit method as we want to run the job only once we start the cron job schedule manually.
|
||||||
* This allows us to always run it once we start it. Additionally it will not run the callback if only the cron job file is imported.
|
* This allows us to always run it once we start it. Additionally, it will not run the callback if only the cron job file is imported.
|
||||||
*/
|
*/
|
||||||
let scheduledTask: cron.ScheduledTask | null = null;
|
let scheduledTask: ScheduledTask | null = null;
|
||||||
if (cronExpression !== "never") {
|
if (cronExpression !== "never") {
|
||||||
scheduledTask = cron.schedule(cronExpression, () => void catchingCallbackAsync(), {
|
scheduledTask = schedule(cronExpression, () => void catchingCallbackAsync(), {
|
||||||
scheduled: false,
|
|
||||||
name,
|
name,
|
||||||
timezone: creatorOptions.timezone,
|
timezone: creatorOptions.timezone,
|
||||||
});
|
});
|
||||||
@@ -110,7 +110,7 @@ export const createCronJobCreator = <TAllowedNames extends string = string>(
|
|||||||
options: CreateCronJobOptions = { runOnStart: false },
|
options: CreateCronJobOptions = { runOnStart: false },
|
||||||
) => {
|
) => {
|
||||||
creatorOptions.logger.logDebug(`Validating cron expression '${cronExpression}' for job: ${name}`);
|
creatorOptions.logger.logDebug(`Validating cron expression '${cronExpression}' for job: ${name}`);
|
||||||
if (cronExpression !== "never" && !cron.validate(cronExpression)) {
|
if (cronExpression !== "never" && !validate(cronExpression)) {
|
||||||
throw new Error(`Invalid cron expression '${cronExpression}' for job '${name}'`);
|
throw new Error(`Invalid cron expression '${cronExpression}' for job '${name}'`);
|
||||||
}
|
}
|
||||||
creatorOptions.logger.logDebug(`Cron job expression '${cronExpression}' for job ${name} is valid`);
|
creatorOptions.logger.logDebug(`Cron job expression '${cronExpression}' for job ${name} is valid`);
|
||||||
|
|||||||
@@ -34,33 +34,33 @@ export const createJobGroupCreator = <TAllowedNames extends string = string>(
|
|||||||
|
|
||||||
options.logger.logInfo(`Starting schedule cron job ${job.name}.`);
|
options.logger.logInfo(`Starting schedule cron job ${job.name}.`);
|
||||||
await job.onStartAsync();
|
await job.onStartAsync();
|
||||||
job.scheduledTask?.start();
|
await job.scheduledTask?.start();
|
||||||
},
|
},
|
||||||
startAllAsync: async () => {
|
startAllAsync: async () => {
|
||||||
for (const job of jobRegistry.values()) {
|
for (const job of jobRegistry.values()) {
|
||||||
options.logger.logInfo(`Starting schedule of cron job ${job.name}.`);
|
options.logger.logInfo(`Starting schedule of cron job ${job.name}.`);
|
||||||
await job.onStartAsync();
|
await job.onStartAsync();
|
||||||
job.scheduledTask?.start();
|
await job.scheduledTask?.start();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
runManually: (name: keyof TJobs) => {
|
runManuallyAsync: async (name: keyof TJobs) => {
|
||||||
const job = jobRegistry.get(name as string);
|
const job = jobRegistry.get(name as string);
|
||||||
if (!job) return;
|
if (!job) return;
|
||||||
|
|
||||||
options.logger.logInfo(`Running schedule cron job ${job.name} manually.`);
|
options.logger.logInfo(`Running schedule cron job ${job.name} manually.`);
|
||||||
job.scheduledTask?.now();
|
await job.scheduledTask?.execute();
|
||||||
},
|
},
|
||||||
stop: (name: keyof TJobs) => {
|
stopAsync: async (name: keyof TJobs) => {
|
||||||
const job = jobRegistry.get(name as string);
|
const job = jobRegistry.get(name as string);
|
||||||
if (!job) return;
|
if (!job) return;
|
||||||
|
|
||||||
options.logger.logInfo(`Stopping schedule cron job ${job.name}.`);
|
options.logger.logInfo(`Stopping schedule cron job ${job.name}.`);
|
||||||
job.scheduledTask?.stop();
|
await job.scheduledTask?.stop();
|
||||||
},
|
},
|
||||||
stopAll: () => {
|
stopAllAsync: async () => {
|
||||||
for (const job of jobRegistry.values()) {
|
for (const job of jobRegistry.values()) {
|
||||||
options.logger.logInfo(`Stopping schedule cron job ${job.name}.`);
|
options.logger.logInfo(`Stopping schedule cron job ${job.name}.`);
|
||||||
job.scheduledTask?.stop();
|
await job.scheduledTask?.stop();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getJobRegistry() {
|
getJobRegistry() {
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
import { EVERY_5_SECONDS } from "@homarr/cron-jobs-core/expressions";
|
import { EVERY_MINUTE } from "@homarr/cron-jobs-core/expressions";
|
||||||
import { dnsHoleRequestHandler } from "@homarr/request-handler/dns-hole";
|
import { dnsHoleRequestHandler } from "@homarr/request-handler/dns-hole";
|
||||||
import { createRequestIntegrationJobHandler } from "@homarr/request-handler/lib/cached-request-integration-job-handler";
|
import { createRequestIntegrationJobHandler } from "@homarr/request-handler/lib/cached-request-integration-job-handler";
|
||||||
|
|
||||||
import { createCronJob } from "../../lib";
|
import { createCronJob } from "../../lib";
|
||||||
|
|
||||||
export const dnsHoleJob = createCronJob("dnsHole", EVERY_5_SECONDS).withCallback(
|
export const dnsHoleJob = createCronJob("dnsHole", EVERY_MINUTE).withCallback(
|
||||||
createRequestIntegrationJobHandler(dnsHoleRequestHandler.handler, {
|
createRequestIntegrationJobHandler(dnsHoleRequestHandler.handler, {
|
||||||
widgetKinds: ["dnsHoleSummary", "dnsHoleControls"],
|
widgetKinds: ["dnsHoleSummary", "dnsHoleControls"],
|
||||||
getInput: {
|
getInput: {
|
||||||
|
|||||||
@@ -8,7 +8,9 @@ export const downloadsJob = createCronJob("downloads", EVERY_5_SECONDS).withCall
|
|||||||
createRequestIntegrationJobHandler(downloadClientRequestHandler.handler, {
|
createRequestIntegrationJobHandler(downloadClientRequestHandler.handler, {
|
||||||
widgetKinds: ["downloads"],
|
widgetKinds: ["downloads"],
|
||||||
getInput: {
|
getInput: {
|
||||||
downloads: () => ({}),
|
downloads: (options) => ({
|
||||||
|
limit: options.limitPerIntegration,
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import SuperJSON from "superjson";
|
import SuperJSON from "superjson";
|
||||||
|
|
||||||
import { EVERY_5_MINUTES } from "@homarr/cron-jobs-core/expressions";
|
import { EVERY_10_MINUTES } from "@homarr/cron-jobs-core/expressions";
|
||||||
import { db, eq } from "@homarr/db";
|
import { db, eq } from "@homarr/db";
|
||||||
import { items } from "@homarr/db/schema";
|
import { items } from "@homarr/db/schema";
|
||||||
import { logger } from "@homarr/log";
|
import { logger } from "@homarr/log";
|
||||||
@@ -10,7 +10,7 @@ import { rssFeedsRequestHandler } from "@homarr/request-handler/rss-feeds";
|
|||||||
import type { WidgetComponentProps } from "../../../widgets";
|
import type { WidgetComponentProps } from "../../../widgets";
|
||||||
import { createCronJob } from "../lib";
|
import { createCronJob } from "../lib";
|
||||||
|
|
||||||
export const rssFeedsJob = createCronJob("rssFeeds", EVERY_5_MINUTES).withCallback(async () => {
|
export const rssFeedsJob = createCronJob("rssFeeds", EVERY_10_MINUTES).withCallback(async () => {
|
||||||
const rssItems = await db.query.items.findMany({
|
const rssItems = await db.query.items.findMany({
|
||||||
where: eq(items.kind, "rssFeed"),
|
where: eq(items.kind, "rssFeed"),
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -44,13 +44,13 @@
|
|||||||
"@homarr/env": "workspace:^0.1.0",
|
"@homarr/env": "workspace:^0.1.0",
|
||||||
"@homarr/log": "workspace:^0.1.0",
|
"@homarr/log": "workspace:^0.1.0",
|
||||||
"@homarr/server-settings": "workspace:^0.1.0",
|
"@homarr/server-settings": "workspace:^0.1.0",
|
||||||
"@mantine/core": "^8.0.1",
|
"@mantine/core": "^8.1.0",
|
||||||
"@paralleldrive/cuid2": "^2.2.2",
|
"@paralleldrive/cuid2": "^2.2.2",
|
||||||
"@testcontainers/mysql": "^10.28.0",
|
"@testcontainers/mysql": "^11.0.3",
|
||||||
"better-sqlite3": "^11.10.0",
|
"better-sqlite3": "^11.10.0",
|
||||||
"dotenv": "^16.5.0",
|
"dotenv": "^16.5.0",
|
||||||
"drizzle-kit": "^0.31.1",
|
"drizzle-kit": "^0.31.1",
|
||||||
"drizzle-orm": "^0.43.1",
|
"drizzle-orm": "^0.44.2",
|
||||||
"drizzle-zod": "^0.7.1",
|
"drizzle-zod": "^0.7.1",
|
||||||
"mysql2": "3.14.1"
|
"mysql2": "3.14.1"
|
||||||
},
|
},
|
||||||
@@ -60,10 +60,10 @@
|
|||||||
"@homarr/tsconfig": "workspace:^0.1.0",
|
"@homarr/tsconfig": "workspace:^0.1.0",
|
||||||
"@types/better-sqlite3": "7.6.13",
|
"@types/better-sqlite3": "7.6.13",
|
||||||
"dotenv-cli": "^8.0.0",
|
"dotenv-cli": "^8.0.0",
|
||||||
"esbuild": "^0.25.4",
|
"esbuild": "^0.25.5",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"tsx": "4.19.4",
|
"tsx": "4.20.1",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9,7 +9,7 @@ import * as mysqlSchema from "../schema/mysql";
|
|||||||
|
|
||||||
describe("Mysql Migration", () => {
|
describe("Mysql Migration", () => {
|
||||||
test("should add all tables and keys specified in migration files", async () => {
|
test("should add all tables and keys specified in migration files", async () => {
|
||||||
const mysqlContainer = await new MySqlContainer().start();
|
const mysqlContainer = await new MySqlContainer("mysql:latest").start();
|
||||||
|
|
||||||
const connection = mysql.createConnection({
|
const connection = mysql.createConnection({
|
||||||
host: mysqlContainer.getHost(),
|
host: mysqlContainer.getHost(),
|
||||||
|
|||||||
@@ -24,15 +24,15 @@
|
|||||||
"prettier": "@homarr/prettier-config",
|
"prettier": "@homarr/prettier-config",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@homarr/common": "workspace:^0.1.0",
|
"@homarr/common": "workspace:^0.1.0",
|
||||||
"fast-xml-parser": "^5.2.3",
|
"fast-xml-parser": "^5.2.5",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"tsx": "4.19.4",
|
"tsx": "4.20.1",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -16,6 +16,7 @@ interface integrationDefinition {
|
|||||||
iconUrl: string;
|
iconUrl: string;
|
||||||
secretKinds: AtLeastOneOf<IntegrationSecretKind[]>; // at least one secret kind set is required
|
secretKinds: AtLeastOneOf<IntegrationSecretKind[]>; // at least one secret kind set is required
|
||||||
category: AtLeastOneOf<IntegrationCategory>;
|
category: AtLeastOneOf<IntegrationCategory>;
|
||||||
|
containerImages?: string[]; // Optional, used for container images to suggest in the UI
|
||||||
}
|
}
|
||||||
|
|
||||||
export const integrationDefs = {
|
export const integrationDefs = {
|
||||||
@@ -24,30 +25,45 @@ export const integrationDefs = {
|
|||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/sabnzbd.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/sabnzbd.svg",
|
||||||
category: ["downloadClient", "usenet"],
|
category: ["downloadClient", "usenet"],
|
||||||
|
containerImages: ["linuxserver/sabnzbd", "lscr.io/linuxserver/sabnzbd", "ghcr.io/linuxserver/sabnzbd"],
|
||||||
},
|
},
|
||||||
nzbGet: {
|
nzbGet: {
|
||||||
name: "NZBGet",
|
name: "NZBGet",
|
||||||
secretKinds: [["username", "password"]],
|
secretKinds: [["username", "password"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/nzbget.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/nzbget.svg",
|
||||||
category: ["downloadClient", "usenet"],
|
category: ["downloadClient", "usenet"],
|
||||||
|
containerImages: [
|
||||||
|
"nzbgetcom/nzbget",
|
||||||
|
"ghcr.io/nzbgetcom/nzbget",
|
||||||
|
"linuxserver/nzbget",
|
||||||
|
"lscr.io/linuxserver/nzbget",
|
||||||
|
"ghcr.io/linuxserver/nzbget",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
deluge: {
|
deluge: {
|
||||||
name: "Deluge",
|
name: "Deluge",
|
||||||
secretKinds: [["password"]],
|
secretKinds: [["password"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/deluge.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/deluge.svg",
|
||||||
category: ["downloadClient", "torrent"],
|
category: ["downloadClient", "torrent"],
|
||||||
|
containerImages: ["linuxserver/deluge", "lscr.io/linuxserver/deluge", "ghcr.io/linuxserver/deluge"],
|
||||||
},
|
},
|
||||||
transmission: {
|
transmission: {
|
||||||
name: "Transmission",
|
name: "Transmission",
|
||||||
secretKinds: [["username", "password"]],
|
secretKinds: [["username", "password"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/transmission.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/transmission.svg",
|
||||||
category: ["downloadClient", "torrent"],
|
category: ["downloadClient", "torrent"],
|
||||||
|
containerImages: [
|
||||||
|
"linuxserver/transmission",
|
||||||
|
"lscr.io/linuxserver/transmission",
|
||||||
|
"ghcr.io/linuxserver/transmission",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
qBittorrent: {
|
qBittorrent: {
|
||||||
name: "qBittorrent",
|
name: "qBittorrent",
|
||||||
secretKinds: [["username", "password"]],
|
secretKinds: [["username", "password"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/qbittorrent.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/qbittorrent.svg",
|
||||||
category: ["downloadClient", "torrent"],
|
category: ["downloadClient", "torrent"],
|
||||||
|
containerImages: ["linuxserver/qbittorrent", "lscr.io/linuxserver/qbittorrent", "ghcr.io/linuxserver/qbittorrent"],
|
||||||
},
|
},
|
||||||
aria2: {
|
aria2: {
|
||||||
name: "Aria2",
|
name: "Aria2",
|
||||||
@@ -60,78 +76,144 @@ export const integrationDefs = {
|
|||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/sonarr.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/sonarr.svg",
|
||||||
category: ["calendar"],
|
category: ["calendar"],
|
||||||
|
containerImages: [
|
||||||
|
"hotio/sonarr",
|
||||||
|
"ghcr.io/hotio/sonarr",
|
||||||
|
"linuxserver/sonarr",
|
||||||
|
"lscr.io/linuxserver/sonarr",
|
||||||
|
"ghcr.io/linuxserver/sonarr",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
radarr: {
|
radarr: {
|
||||||
name: "Radarr",
|
name: "Radarr",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/radarr.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/radarr.svg",
|
||||||
category: ["calendar"],
|
category: ["calendar"],
|
||||||
|
containerImages: [
|
||||||
|
"hotio/radarr",
|
||||||
|
"ghcr.io/hotio/radarr",
|
||||||
|
"linuxserver/radarr",
|
||||||
|
"lscr.io/linuxserver/radarr",
|
||||||
|
"ghcr.io/linuxserver/radarr",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
lidarr: {
|
lidarr: {
|
||||||
name: "Lidarr",
|
name: "Lidarr",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/lidarr.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/lidarr.svg",
|
||||||
category: ["calendar"],
|
category: ["calendar"],
|
||||||
|
containerImages: [
|
||||||
|
"hotio/lidarr",
|
||||||
|
"ghcr.io/hotio/lidarr",
|
||||||
|
"linuxserver/lidarr",
|
||||||
|
"lscr.io/linuxserver/lidarr",
|
||||||
|
"ghcr.io/linuxserver/lidarr",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
readarr: {
|
readarr: {
|
||||||
name: "Readarr",
|
name: "Readarr",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/readarr.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/readarr.svg",
|
||||||
category: ["calendar"],
|
category: ["calendar"],
|
||||||
|
containerImages: [
|
||||||
|
"hotio/readarr",
|
||||||
|
"ghcr.io/hotio/readarr",
|
||||||
|
"linuxserver/readarr",
|
||||||
|
"lscr.io/linuxserver/readarr",
|
||||||
|
"ghcr.io/linuxserver/readarr",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
prowlarr: {
|
prowlarr: {
|
||||||
name: "Prowlarr",
|
name: "Prowlarr",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/prowlarr.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/prowlarr.svg",
|
||||||
category: ["indexerManager"],
|
category: ["indexerManager"],
|
||||||
|
containerImages: [
|
||||||
|
"hotio/prowlarr",
|
||||||
|
"ghcr.io/hotio/prowlarr",
|
||||||
|
"linuxserver/prowlarr",
|
||||||
|
"lscr.io/linuxserver/prowlarr",
|
||||||
|
"ghcr.io/linuxserver/prowlarr",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
jellyfin: {
|
jellyfin: {
|
||||||
name: "Jellyfin",
|
name: "Jellyfin",
|
||||||
secretKinds: [["username", "password"], ["apiKey"]],
|
secretKinds: [["username", "password"], ["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/jellyfin.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/jellyfin.svg",
|
||||||
category: ["mediaService"],
|
category: ["mediaService"],
|
||||||
|
containerImages: [
|
||||||
|
"jellyfin/jellyfin",
|
||||||
|
"ghcr.io/jellyfin/jellyfin",
|
||||||
|
"linuxserver/jellyfin",
|
||||||
|
"lscr.io/linuxserver/jellyfin",
|
||||||
|
"ghcr.io/linuxserver/jellyfin",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
emby: {
|
emby: {
|
||||||
name: "Emby",
|
name: "Emby",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/emby.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/emby.svg",
|
||||||
category: ["mediaService"],
|
category: ["mediaService"],
|
||||||
|
containerImages: [
|
||||||
|
"emby/embyserver",
|
||||||
|
"emby/embyserver_arm64v8",
|
||||||
|
"emby/embyserver_arm32v7",
|
||||||
|
"linuxserver/emby",
|
||||||
|
"lscr.io/linuxserver/emby",
|
||||||
|
"ghcr.io/linuxserver/emby",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
plex: {
|
plex: {
|
||||||
name: "Plex",
|
name: "Plex",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/plex.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/plex.svg",
|
||||||
category: ["mediaService"],
|
category: ["mediaService"],
|
||||||
|
containerImages: ["plexinc/pms-docker", "linuxserver/plex", "lscr.io/linuxserver/plex", "ghcr.io/linuxserver/plex"],
|
||||||
},
|
},
|
||||||
jellyseerr: {
|
jellyseerr: {
|
||||||
name: "Jellyseerr",
|
name: "Jellyseerr",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/jellyseerr.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/jellyseerr.svg",
|
||||||
category: ["mediaSearch", "mediaRequest", "search"],
|
category: ["mediaSearch", "mediaRequest", "search"],
|
||||||
|
containerImages: ["fallenbagel/jellyseerr", "ghcr.io/fallenbagel/jellyseerr"],
|
||||||
},
|
},
|
||||||
overseerr: {
|
overseerr: {
|
||||||
name: "Overseerr",
|
name: "Overseerr",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/overseerr.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/overseerr.svg",
|
||||||
category: ["mediaSearch", "mediaRequest", "search"],
|
category: ["mediaSearch", "mediaRequest", "search"],
|
||||||
|
containerImages: [
|
||||||
|
"sct/overseerr",
|
||||||
|
"linuxserver/overseerr",
|
||||||
|
"lscr.io/linuxserver/overseerr",
|
||||||
|
"ghcr.io/linuxserver/overseerr",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
piHole: {
|
piHole: {
|
||||||
name: "Pi-hole",
|
name: "Pi-hole",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/pi-hole.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/pi-hole.svg",
|
||||||
category: ["dnsHole"],
|
category: ["dnsHole"],
|
||||||
|
containerImages: ["pihole/pihole"],
|
||||||
},
|
},
|
||||||
adGuardHome: {
|
adGuardHome: {
|
||||||
name: "AdGuard Home",
|
name: "AdGuard Home",
|
||||||
secretKinds: [["username", "password"]],
|
secretKinds: [["username", "password"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/adguard-home.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/adguard-home.svg",
|
||||||
category: ["dnsHole"],
|
category: ["dnsHole"],
|
||||||
|
containerImages: ["adguard/adguardhome"],
|
||||||
},
|
},
|
||||||
homeAssistant: {
|
homeAssistant: {
|
||||||
name: "Home Assistant",
|
name: "Home Assistant",
|
||||||
secretKinds: [["apiKey"]],
|
secretKinds: [["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/home-assistant.svg",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/home-assistant.svg",
|
||||||
category: ["smartHomeServer"],
|
category: ["smartHomeServer"],
|
||||||
|
containerImages: [
|
||||||
|
"homeassistant/home-assistant",
|
||||||
|
"linuxserver/home-assistant",
|
||||||
|
"lscr.io/linuxserver/home-assistant",
|
||||||
|
"ghcr.io/linuxserver/home-assistant",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
openmediavault: {
|
openmediavault: {
|
||||||
name: "OpenMediaVault",
|
name: "OpenMediaVault",
|
||||||
@@ -144,12 +226,14 @@ export const integrationDefs = {
|
|||||||
secretKinds: [[]],
|
secretKinds: [[]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/png/dashdot.png",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/png/dashdot.png",
|
||||||
category: ["healthMonitoring"],
|
category: ["healthMonitoring"],
|
||||||
|
containerImages: ["mauricenino/dashdot", "ghcr.io/mauricenino/dashdot"],
|
||||||
},
|
},
|
||||||
tdarr: {
|
tdarr: {
|
||||||
name: "Tdarr",
|
name: "Tdarr",
|
||||||
secretKinds: [[], ["apiKey"]],
|
secretKinds: [[], ["apiKey"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/png/tdarr.png",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/png/tdarr.png",
|
||||||
category: ["mediaTranscoding"],
|
category: ["mediaTranscoding"],
|
||||||
|
containerImages: ["haveagitgat/tdarr", "ghcr.io/haveagitgat/tdarr"],
|
||||||
},
|
},
|
||||||
proxmox: {
|
proxmox: {
|
||||||
name: "Proxmox",
|
name: "Proxmox",
|
||||||
@@ -168,6 +252,16 @@ export const integrationDefs = {
|
|||||||
secretKinds: [["username", "password"]],
|
secretKinds: [["username", "password"]],
|
||||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/png/unifi.png",
|
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/png/unifi.png",
|
||||||
category: ["networkController"],
|
category: ["networkController"],
|
||||||
|
containerImages: [
|
||||||
|
"jacobalberty/unifi",
|
||||||
|
"ghcr.io/jacobalberty/unifi",
|
||||||
|
"linuxserver/unifi-controller",
|
||||||
|
"lscr.io/linuxserver/unifi-controller",
|
||||||
|
"ghcr.io/linuxserver/unifi-controller",
|
||||||
|
"linuxserver/unifi-network-application",
|
||||||
|
"lscr.io/linuxserver/unifi-network-application",
|
||||||
|
"ghcr.io/linuxserver/unifi-network-application",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
} as const satisfies Record<string, integrationDefinition>;
|
} as const satisfies Record<string, integrationDefinition>;
|
||||||
|
|
||||||
|
|||||||
@@ -26,14 +26,14 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@homarr/common": "workspace:^0.1.0",
|
"@homarr/common": "workspace:^0.1.0",
|
||||||
"@homarr/env": "workspace:^0.1.0",
|
"@homarr/env": "workspace:^0.1.0",
|
||||||
"dockerode": "^4.0.6"
|
"dockerode": "^4.0.7"
|
||||||
},
|
},
|
||||||
"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/dockerode": "^3.3.39",
|
"@types/dockerode": "^3.3.40",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5,6 +5,7 @@ import { env } from "./env";
|
|||||||
export interface DockerInstance {
|
export interface DockerInstance {
|
||||||
host: string;
|
host: string;
|
||||||
instance: Docker;
|
instance: Docker;
|
||||||
|
isSocket?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class DockerSingleton {
|
export class DockerSingleton {
|
||||||
@@ -14,7 +15,7 @@ export class DockerSingleton {
|
|||||||
const hostVariable = env.DOCKER_HOSTNAMES;
|
const hostVariable = env.DOCKER_HOSTNAMES;
|
||||||
const portVariable = env.DOCKER_PORTS;
|
const portVariable = env.DOCKER_PORTS;
|
||||||
if (hostVariable === undefined || portVariable === undefined) {
|
if (hostVariable === undefined || portVariable === undefined) {
|
||||||
return [{ host: "socket", instance: new Docker() }];
|
return [{ host: "socket", instance: new Docker(), isSocket: true }];
|
||||||
}
|
}
|
||||||
const hostnames = hostVariable.split(",");
|
const hostnames = hostVariable.split(",");
|
||||||
const ports = portVariable.split(",");
|
const ports = portVariable.split(",");
|
||||||
|
|||||||
Vendored
+3
-3
@@ -23,14 +23,14 @@
|
|||||||
},
|
},
|
||||||
"prettier": "@homarr/prettier-config",
|
"prettier": "@homarr/prettier-config",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@t3-oss/env-nextjs": "^0.13.4",
|
"@t3-oss/env-nextjs": "^0.13.8",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -26,14 +26,14 @@
|
|||||||
"@homarr/common": "workspace:^0.1.0",
|
"@homarr/common": "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",
|
||||||
"@mantine/form": "^8.0.1",
|
"@mantine/form": "^8.1.0",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -29,15 +29,15 @@
|
|||||||
"@homarr/notifications": "workspace:^0.1.0",
|
"@homarr/notifications": "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",
|
||||||
"@mantine/core": "^8.0.1",
|
"@mantine/core": "^8.1.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
"tsdav": "^2.1.4",
|
"tsdav": "^2.1.4",
|
||||||
"undici": "7.10.0",
|
"undici": "7.10.0",
|
||||||
"xml2js": "^0.6.2",
|
"xml2js": "^0.6.2",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@homarr/eslint-config": "workspace:^0.2.0",
|
"@homarr/eslint-config": "workspace:^0.2.0",
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"@homarr/tsconfig": "workspace:^0.1.0",
|
"@homarr/tsconfig": "workspace:^0.1.0",
|
||||||
"@types/node-unifi": "^2.5.1",
|
"@types/node-unifi": "^2.5.1",
|
||||||
"@types/xml2js": "^0.4.14",
|
"@types/xml2js": "^0.4.14",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -12,7 +12,7 @@ import type { DownloadClientItem } from "../../interfaces/downloads/download-cli
|
|||||||
import type { Aria2Download, Aria2GetClient } from "./aria2-types";
|
import type { Aria2Download, Aria2GetClient } from "./aria2-types";
|
||||||
|
|
||||||
export class Aria2Integration extends DownloadClientIntegration {
|
export class Aria2Integration extends DownloadClientIntegration {
|
||||||
public async getClientJobsAndStatusAsync(): Promise<DownloadClientJobsAndStatus> {
|
public async getClientJobsAndStatusAsync(input: { limit: number }): Promise<DownloadClientJobsAndStatus> {
|
||||||
const client = this.getClient();
|
const client = this.getClient();
|
||||||
const keys: (keyof Aria2Download)[] = [
|
const keys: (keyof Aria2Download)[] = [
|
||||||
"bittorrent",
|
"bittorrent",
|
||||||
@@ -27,12 +27,12 @@ export class Aria2Integration extends DownloadClientIntegration {
|
|||||||
];
|
];
|
||||||
const [activeDownloads, waitingDownloads, stoppedDownloads, globalStats] = await Promise.all([
|
const [activeDownloads, waitingDownloads, stoppedDownloads, globalStats] = await Promise.all([
|
||||||
client.tellActive(),
|
client.tellActive(),
|
||||||
client.tellWaiting(0, 1000, keys),
|
client.tellWaiting(0, input.limit, keys),
|
||||||
client.tellStopped(0, 1000, keys),
|
client.tellStopped(0, input.limit, keys),
|
||||||
client.getGlobalStat(),
|
client.getGlobalStat(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const downloads = [...activeDownloads, ...waitingDownloads, ...stoppedDownloads];
|
const downloads = [...activeDownloads, ...waitingDownloads, ...stoppedDownloads].slice(0, input.limit);
|
||||||
const allPaused = downloads.every((download) => download.status === "paused");
|
const allPaused = downloads.every((download) => download.status === "paused");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -29,9 +29,10 @@ export class DelugeIntegration extends DownloadClientIntegration {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public async getClientJobsAndStatusAsync(): Promise<DownloadClientJobsAndStatus> {
|
public async getClientJobsAndStatusAsync(input: { limit: number }): Promise<DownloadClientJobsAndStatus> {
|
||||||
const type = "torrent";
|
const type = "torrent";
|
||||||
const client = await this.getClientAsync();
|
const client = await this.getClientAsync();
|
||||||
|
// Currently there is no way to limit the number of returned torrents
|
||||||
const {
|
const {
|
||||||
stats: { download_rate, upload_rate },
|
stats: { download_rate, upload_rate },
|
||||||
torrents: rawTorrents,
|
torrents: rawTorrents,
|
||||||
@@ -49,27 +50,29 @@ export class DelugeIntegration extends DownloadClientIntegration {
|
|||||||
},
|
},
|
||||||
types: [type],
|
types: [type],
|
||||||
};
|
};
|
||||||
const items = torrents.map((torrent): DownloadClientItem => {
|
const items = torrents
|
||||||
const state = DelugeIntegration.getTorrentState(torrent.state);
|
.map((torrent): DownloadClientItem => {
|
||||||
return {
|
const state = DelugeIntegration.getTorrentState(torrent.state);
|
||||||
type,
|
return {
|
||||||
id: torrent.id,
|
type,
|
||||||
index: torrent.queue,
|
id: torrent.id,
|
||||||
name: torrent.name,
|
index: torrent.queue,
|
||||||
size: torrent.total_wanted,
|
name: torrent.name,
|
||||||
sent: torrent.total_uploaded,
|
size: torrent.total_wanted,
|
||||||
downSpeed: torrent.progress !== 100 ? torrent.download_payload_rate : undefined,
|
sent: torrent.total_uploaded,
|
||||||
upSpeed: torrent.upload_payload_rate,
|
downSpeed: torrent.progress !== 100 ? torrent.download_payload_rate : undefined,
|
||||||
time:
|
upSpeed: torrent.upload_payload_rate,
|
||||||
torrent.progress === 100
|
time:
|
||||||
? Math.min((torrent.completed_time - dayjs().unix()) * 1000, -1)
|
torrent.progress === 100
|
||||||
: Math.max(torrent.eta * 1000, 0),
|
? Math.min((torrent.completed_time - dayjs().unix()) * 1000, -1)
|
||||||
added: torrent.time_added * 1000,
|
: Math.max(torrent.eta * 1000, 0),
|
||||||
state,
|
added: torrent.time_added * 1000,
|
||||||
progress: torrent.progress / 100,
|
state,
|
||||||
category: torrent.label,
|
progress: torrent.progress / 100,
|
||||||
};
|
category: torrent.label,
|
||||||
});
|
};
|
||||||
|
})
|
||||||
|
.slice(0, input.limit);
|
||||||
return { status, items };
|
return { status, items };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export class NzbGetIntegration extends DownloadClientIntegration {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public async getClientJobsAndStatusAsync(): Promise<DownloadClientJobsAndStatus> {
|
public async getClientJobsAndStatusAsync(input: { limit: number }): Promise<DownloadClientJobsAndStatus> {
|
||||||
const type = "usenet";
|
const type = "usenet";
|
||||||
const queue = await this.nzbGetApiCallAsync("listgroups");
|
const queue = await this.nzbGetApiCallAsync("listgroups");
|
||||||
const history = await this.nzbGetApiCallAsync("history");
|
const history = await this.nzbGetApiCallAsync("history");
|
||||||
@@ -65,7 +65,8 @@ export class NzbGetIntegration extends DownloadClientIntegration {
|
|||||||
category: file.Category,
|
category: file.Category,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
);
|
)
|
||||||
|
.slice(0, input.limit);
|
||||||
return { status, items };
|
return { status, items };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,10 +26,10 @@ export class QBitTorrentIntegration extends DownloadClientIntegration {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public async getClientJobsAndStatusAsync(): Promise<DownloadClientJobsAndStatus> {
|
public async getClientJobsAndStatusAsync(input: { limit: number }): Promise<DownloadClientJobsAndStatus> {
|
||||||
const type = "torrent";
|
const type = "torrent";
|
||||||
const client = await this.getClientAsync();
|
const client = await this.getClientAsync();
|
||||||
const torrents = await client.listTorrents();
|
const torrents = await client.listTorrents({ limit: input.limit });
|
||||||
const rates = torrents.reduce(
|
const rates = torrents.reduce(
|
||||||
({ down, up }, { dlspeed, upspeed }) => ({ down: down + dlspeed, up: up + upspeed }),
|
({ down, up }, { dlspeed, upspeed }) => ({ down: down + dlspeed, up: up + upspeed }),
|
||||||
{ down: 0, up: 0 },
|
{ down: 0, up: 0 },
|
||||||
|
|||||||
@@ -22,10 +22,14 @@ export class SabnzbdIntegration extends DownloadClientIntegration {
|
|||||||
return { success: true };
|
return { success: true };
|
||||||
}
|
}
|
||||||
|
|
||||||
public async getClientJobsAndStatusAsync(): Promise<DownloadClientJobsAndStatus> {
|
public async getClientJobsAndStatusAsync(input: { limit: number }): Promise<DownloadClientJobsAndStatus> {
|
||||||
const type = "usenet";
|
const type = "usenet";
|
||||||
const { queue } = await queueSchema.parseAsync(await this.sabNzbApiCallAsync("queue"));
|
const { queue } = await queueSchema.parseAsync(
|
||||||
const { history } = await historySchema.parseAsync(await this.sabNzbApiCallAsync("history"));
|
await this.sabNzbApiCallAsync("queue", { limit: input.limit.toString() }),
|
||||||
|
);
|
||||||
|
const { history } = await historySchema.parseAsync(
|
||||||
|
await this.sabNzbApiCallAsync("history", { limit: input.limit.toString() }),
|
||||||
|
);
|
||||||
const status: DownloadClientStatus = {
|
const status: DownloadClientStatus = {
|
||||||
paused: queue.paused,
|
paused: queue.paused,
|
||||||
rates: { down: Math.floor(Number(queue.kbpersec) * 1024) }, //Actually rounded kiBps ()
|
rates: { down: Math.floor(Number(queue.kbpersec) * 1024) }, //Actually rounded kiBps ()
|
||||||
@@ -73,7 +77,8 @@ export class SabnzbdIntegration extends DownloadClientIntegration {
|
|||||||
category: slot.category,
|
category: slot.category,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
);
|
)
|
||||||
|
.slice(0, input.limit);
|
||||||
return { status, items };
|
return { status, items };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+25
-22
@@ -23,9 +23,10 @@ export class TransmissionIntegration extends DownloadClientIntegration {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public async getClientJobsAndStatusAsync(): Promise<DownloadClientJobsAndStatus> {
|
public async getClientJobsAndStatusAsync(input: { limit: number }): Promise<DownloadClientJobsAndStatus> {
|
||||||
const type = "torrent";
|
const type = "torrent";
|
||||||
const client = await this.getClientAsync();
|
const client = await this.getClientAsync();
|
||||||
|
// Currently there is no way to limit the number of returned torrents
|
||||||
const { torrents } = (await client.listTorrents()).arguments;
|
const { torrents } = (await client.listTorrents()).arguments;
|
||||||
const rates = torrents.reduce(
|
const rates = torrents.reduce(
|
||||||
({ down, up }, { rateDownload, rateUpload }) => ({ down: down + rateDownload, up: up + rateUpload }),
|
({ down, up }, { rateDownload, rateUpload }) => ({ down: down + rateDownload, up: up + rateUpload }),
|
||||||
@@ -34,27 +35,29 @@ export class TransmissionIntegration extends DownloadClientIntegration {
|
|||||||
const paused =
|
const paused =
|
||||||
torrents.find(({ status }) => TransmissionIntegration.getTorrentState(status) !== "paused") === undefined;
|
torrents.find(({ status }) => TransmissionIntegration.getTorrentState(status) !== "paused") === undefined;
|
||||||
const status: DownloadClientStatus = { paused, rates, types: [type] };
|
const status: DownloadClientStatus = { paused, rates, types: [type] };
|
||||||
const items = torrents.map((torrent): DownloadClientItem => {
|
const items = torrents
|
||||||
const state = TransmissionIntegration.getTorrentState(torrent.status);
|
.map((torrent): DownloadClientItem => {
|
||||||
return {
|
const state = TransmissionIntegration.getTorrentState(torrent.status);
|
||||||
type,
|
return {
|
||||||
id: torrent.hashString,
|
type,
|
||||||
index: torrent.queuePosition,
|
id: torrent.hashString,
|
||||||
name: torrent.name,
|
index: torrent.queuePosition,
|
||||||
size: torrent.totalSize,
|
name: torrent.name,
|
||||||
sent: torrent.uploadedEver,
|
size: torrent.totalSize,
|
||||||
downSpeed: torrent.percentDone !== 1 ? torrent.rateDownload : undefined,
|
sent: torrent.uploadedEver,
|
||||||
upSpeed: torrent.rateUpload,
|
downSpeed: torrent.percentDone !== 1 ? torrent.rateDownload : undefined,
|
||||||
time:
|
upSpeed: torrent.rateUpload,
|
||||||
torrent.percentDone === 1
|
time:
|
||||||
? Math.min(torrent.doneDate * 1000 - dayjs().valueOf(), -1)
|
torrent.percentDone === 1
|
||||||
: Math.max(torrent.eta * 1000, 0),
|
? Math.min(torrent.doneDate * 1000 - dayjs().valueOf(), -1)
|
||||||
added: torrent.addedDate * 1000,
|
: Math.max(torrent.eta * 1000, 0),
|
||||||
state,
|
added: torrent.addedDate * 1000,
|
||||||
progress: torrent.percentDone,
|
state,
|
||||||
category: torrent.labels,
|
progress: torrent.percentDone,
|
||||||
};
|
category: torrent.labels,
|
||||||
});
|
};
|
||||||
|
})
|
||||||
|
.slice(0, input.limit);
|
||||||
return { status, items };
|
return { status, items };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import type { DownloadClientItem } from "./download-client-items";
|
|||||||
|
|
||||||
export abstract class DownloadClientIntegration extends Integration {
|
export abstract class DownloadClientIntegration extends Integration {
|
||||||
/** Get download client's status and list of all of it's items */
|
/** Get download client's status and list of all of it's items */
|
||||||
public abstract getClientJobsAndStatusAsync(): Promise<DownloadClientJobsAndStatus>;
|
public abstract getClientJobsAndStatusAsync(input: { limit: number }): Promise<DownloadClientJobsAndStatus>;
|
||||||
/** Pauses the client or all of it's items */
|
/** Pauses the client or all of it's items */
|
||||||
public abstract pauseQueueAsync(): Promise<void>;
|
public abstract pauseQueueAsync(): Promise<void>;
|
||||||
/** Pause a single item using it's ID */
|
/** Pause a single item using it's ID */
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
import dayjs from "dayjs";
|
|
||||||
import objectSupport from "dayjs/plugin/objectSupport";
|
|
||||||
import utc from "dayjs/plugin/utc";
|
|
||||||
import * as ical from "node-ical";
|
import * as ical from "node-ical";
|
||||||
import { DAVClient } from "tsdav";
|
import { DAVClient } from "tsdav";
|
||||||
import type { Dispatcher, RequestInit as UndiciFetchRequestInit } from "undici";
|
import type { Dispatcher, RequestInit as UndiciFetchRequestInit } from "undici";
|
||||||
@@ -15,9 +12,6 @@ import { Integration } from "../base/integration";
|
|||||||
import type { TestingResult } from "../base/test-connection/test-connection-service";
|
import type { TestingResult } from "../base/test-connection/test-connection-service";
|
||||||
import type { CalendarEvent } from "../calendar-types";
|
import type { CalendarEvent } from "../calendar-types";
|
||||||
|
|
||||||
dayjs.extend(utc);
|
|
||||||
dayjs.extend(objectSupport);
|
|
||||||
|
|
||||||
@HandleIntegrationErrors([integrationTsdavHttpErrorHandler])
|
@HandleIntegrationErrors([integrationTsdavHttpErrorHandler])
|
||||||
export class NextcloudIntegration extends Integration {
|
export class NextcloudIntegration extends Integration {
|
||||||
protected async testingAsync(input: IntegrationTestingInput): Promise<TestingResult> {
|
protected async testingAsync(input: IntegrationTestingInput): Promise<TestingResult> {
|
||||||
@@ -27,7 +21,7 @@ export class NextcloudIntegration extends Integration {
|
|||||||
return { success: true };
|
return { success: true };
|
||||||
}
|
}
|
||||||
|
|
||||||
public async getCalendarEventsAsync(start: Date, end: Date): Promise<CalendarEvent[]> {
|
public async getCalendarEventsAsync(start: Date, end: Date, _showUnmonitored?: boolean): Promise<CalendarEvent[]> {
|
||||||
const client = await this.createCalendarClientAsync();
|
const client = await this.createCalendarClientAsync();
|
||||||
await client.login();
|
await client.login();
|
||||||
|
|
||||||
@@ -57,14 +51,7 @@ export class NextcloudIntegration extends Integration {
|
|||||||
|
|
||||||
logger.debug(`Converting VEVENT event to ${event.etag} from Nextcloud: ${JSON.stringify(veventObject)}`);
|
logger.debug(`Converting VEVENT event to ${event.etag} from Nextcloud: ${JSON.stringify(veventObject)}`);
|
||||||
|
|
||||||
const date = dayjs.utc({
|
const date = veventObject.start;
|
||||||
days: veventObject.start.getDay(),
|
|
||||||
month: veventObject.start.getMonth(),
|
|
||||||
year: veventObject.start.getFullYear(),
|
|
||||||
hours: veventObject.start.getHours(),
|
|
||||||
minutes: veventObject.start.getMinutes(),
|
|
||||||
seconds: veventObject.start.getSeconds(),
|
|
||||||
});
|
|
||||||
|
|
||||||
const eventUrlWithoutHost = new URL(event.url).pathname;
|
const eventUrlWithoutHost = new URL(event.url).pathname;
|
||||||
const dateInMillis = veventObject.start.valueOf();
|
const dateInMillis = veventObject.start.valueOf();
|
||||||
@@ -75,7 +62,7 @@ export class NextcloudIntegration extends Integration {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
name: veventObject.summary,
|
name: veventObject.summary,
|
||||||
date: date.toDate(),
|
date,
|
||||||
subName: "",
|
subName: "",
|
||||||
description: veventObject.description,
|
description: veventObject.description,
|
||||||
links: [
|
links: [
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ export class OpenMediaVaultIntegration extends Integration {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
version: systemResult.data.response.version,
|
version: systemResult.data.response.version,
|
||||||
cpuModelName: systemResult.data.response.cpuModelName,
|
cpuModelName: systemResult.data.response.cpuModelName ?? "Unknown CPU",
|
||||||
cpuUtilization: systemResult.data.response.cpuUtilization,
|
cpuUtilization: systemResult.data.response.cpuUtilization,
|
||||||
memUsed: systemResult.data.response.memUsed,
|
memUsed: systemResult.data.response.memUsed,
|
||||||
memAvailable: systemResult.data.response.memAvailable,
|
memAvailable: systemResult.data.response.memAvailable,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|||||||
export const systemInformationSchema = z.object({
|
export const systemInformationSchema = z.object({
|
||||||
response: z.object({
|
response: z.object({
|
||||||
version: z.string(),
|
version: z.string(),
|
||||||
cpuModelName: z.string(),
|
cpuModelName: z.string().nullable(),
|
||||||
cpuUtilization: z.number(),
|
cpuUtilization: z.number(),
|
||||||
memUsed: z.string(),
|
memUsed: z.string(),
|
||||||
memAvailable: z.string(),
|
memAvailable: z.string(),
|
||||||
|
|||||||
@@ -184,21 +184,20 @@ export class OverseerrIntegration extends Integration implements ISearchableInte
|
|||||||
|
|
||||||
public async approveRequestAsync(requestId: number): Promise<void> {
|
public async approveRequestAsync(requestId: number): Promise<void> {
|
||||||
logger.info(`Approving media request id='${requestId}' integration='${this.integration.name}'`);
|
logger.info(`Approving media request id='${requestId}' integration='${this.integration.name}'`);
|
||||||
const response = await fetchWithTrustedCertificatesAsync(this.url(`/api/v1/request/${requestId}/approve`), {
|
await fetchWithTrustedCertificatesAsync(this.url(`/api/v1/request/${requestId}/approve`), {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"X-Api-Key": this.getSecretValue("apiKey"),
|
"X-Api-Key": this.getSecretValue("apiKey"),
|
||||||
},
|
},
|
||||||
|
}).then((response) => {
|
||||||
|
if (!response.ok) {
|
||||||
|
logger.error(
|
||||||
|
`Failed to approve media request id='${requestId}' integration='${this.integration.name}' reason='${response.status} ${response.statusText}' url='${response.url}'`,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.info(`Successfully approved media request id='${requestId}' integration='${this.integration.name}'`);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!response.ok) {
|
|
||||||
const content = await response.text();
|
|
||||||
logger.error(
|
|
||||||
`Failed to approve media request id='${requestId}' integration='${this.integration.name}' reason='${response.status} ${response.statusText}' url='${response.url}' content='${content}'`,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
logger.info(`Successfully approved media request id='${requestId}' integration='${this.integration.name}'`);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async declineRequestAsync(requestId: number): Promise<void> {
|
public async declineRequestAsync(requestId: number): Promise<void> {
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ export class PiHoleIntegrationV6 extends Integration implements DnsHoleSummaryIn
|
|||||||
protected async testingAsync({ fetchAsync }: IntegrationTestingInput): Promise<TestingResult> {
|
protected async testingAsync({ fetchAsync }: IntegrationTestingInput): Promise<TestingResult> {
|
||||||
const sessionId = await this.getSessionAsync(fetchAsync);
|
const sessionId = await this.getSessionAsync(fetchAsync);
|
||||||
await this.clearSessionAsync(sessionId, fetchAsync);
|
await this.clearSessionAsync(sessionId, fetchAsync);
|
||||||
|
await this.sessionStore.clearAsync();
|
||||||
return { success: true };
|
return { success: true };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ const mapResource = (resource: Proxmox.clusterResourcesResources): Resource | nu
|
|||||||
|
|
||||||
const mapComputeResource = (resource: Proxmox.clusterResourcesResources): Omit<ComputeResourceBase<string>, "type"> => {
|
const mapComputeResource = (resource: Proxmox.clusterResourcesResources): Omit<ComputeResourceBase<string>, "type"> => {
|
||||||
return {
|
return {
|
||||||
|
id: resource.id,
|
||||||
cpu: {
|
cpu: {
|
||||||
utilization: resource.cpu ?? 0,
|
utilization: resource.cpu ?? 0,
|
||||||
cores: resource.maxcpu ?? 0,
|
cores: resource.maxcpu ?? 0,
|
||||||
@@ -114,6 +115,7 @@ const mapVmResource = (resource: Proxmox.clusterResourcesResources): LxcResource
|
|||||||
|
|
||||||
const mapStorageResource = (resource: Proxmox.clusterResourcesResources): StorageResource => {
|
const mapStorageResource = (resource: Proxmox.clusterResourcesResources): StorageResource => {
|
||||||
return {
|
return {
|
||||||
|
id: resource.id,
|
||||||
type: "storage",
|
type: "storage",
|
||||||
name: resource.storage ?? "",
|
name: resource.storage ?? "",
|
||||||
node: resource.node ?? "",
|
node: resource.node ?? "",
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ interface ResourceBase<TType extends string> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface ComputeResourceBase<TType extends string> extends ResourceBase<TType> {
|
export interface ComputeResourceBase<TType extends string> extends ResourceBase<TType> {
|
||||||
|
id: string;
|
||||||
cpu: {
|
cpu: {
|
||||||
utilization: number; // previously cpu (0-1)
|
utilization: number; // previously cpu (0-1)
|
||||||
cores: number; // previously cpuCores
|
cores: number; // previously cpuCores
|
||||||
@@ -40,6 +41,7 @@ export interface QemuResource extends ComputeResourceBase<"qemu"> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface StorageResource extends ResourceBase<"storage"> {
|
export interface StorageResource extends ResourceBase<"storage"> {
|
||||||
|
id: string;
|
||||||
storagePlugin: string;
|
storagePlugin: string;
|
||||||
used: number; // previously disk
|
used: number; // previously disk
|
||||||
total: number; // previously maxDisk
|
total: number; // previously maxDisk
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ describe("Aria2 integration", () => {
|
|||||||
|
|
||||||
// Acts
|
// Acts
|
||||||
const actAsync = async () => await aria2Integration.pauseQueueAsync();
|
const actAsync = async () => await aria2Integration.pauseQueueAsync();
|
||||||
const getAsync = async () => await aria2Integration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await aria2Integration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(actAsync()).resolves.not.toThrow();
|
await expect(actAsync()).resolves.not.toThrow();
|
||||||
@@ -62,7 +62,7 @@ describe("Aria2 integration", () => {
|
|||||||
const aria2Integration = createAria2Intergration(startedContainer, API_KEY);
|
const aria2Integration = createAria2Intergration(startedContainer, API_KEY);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const getAsync = async () => await aria2Integration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await aria2Integration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(getAsync()).resolves.not.toThrow();
|
await expect(getAsync()).resolves.not.toThrow();
|
||||||
@@ -81,7 +81,7 @@ describe("Aria2 integration", () => {
|
|||||||
await aria2AddItemAsync(startedContainer, API_KEY, aria2Integration);
|
await aria2AddItemAsync(startedContainer, API_KEY, aria2Integration);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const getAsync = async () => await aria2Integration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await aria2Integration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(getAsync()).resolves.not.toThrow();
|
await expect(getAsync()).resolves.not.toThrow();
|
||||||
@@ -104,7 +104,7 @@ describe("Aria2 integration", () => {
|
|||||||
await expect(actAsync()).resolves.not.toThrow();
|
await expect(actAsync()).resolves.not.toThrow();
|
||||||
// NzbGet is slow and we wait for a second before querying the items. Test was flaky without this.
|
// NzbGet is slow and we wait for a second before querying the items. Test was flaky without this.
|
||||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||||
const result = await aria2Integration.getClientJobsAndStatusAsync();
|
const result = await aria2Integration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
expect(result.items).toHaveLength(0);
|
expect(result.items).toHaveLength(0);
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
@@ -153,7 +153,7 @@ const aria2AddItemAsync = async (container: StartedTestContainer, apiKey: string
|
|||||||
|
|
||||||
const {
|
const {
|
||||||
items: [item],
|
items: [item],
|
||||||
} = await integration.getClientJobsAndStatusAsync();
|
} = await integration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
if (!item) {
|
if (!item) {
|
||||||
throw new Error("No item found");
|
throw new Error("No item found");
|
||||||
|
|||||||
@@ -64,26 +64,29 @@ describe("Home Assistant integration", () => {
|
|||||||
const prepareHomeAssistantContainerAsync = async () => {
|
const prepareHomeAssistantContainerAsync = async () => {
|
||||||
const homeAssistantContainer = createHomeAssistantContainer();
|
const homeAssistantContainer = createHomeAssistantContainer();
|
||||||
const startedContainer = await homeAssistantContainer.start();
|
const startedContainer = await homeAssistantContainer.start();
|
||||||
|
|
||||||
await startedContainer.exec(["unzip", "-o", "/tmp/config.zip", "-d", "/config"]);
|
await startedContainer.exec(["unzip", "-o", "/tmp/config.zip", "-d", "/config"]);
|
||||||
await startedContainer.restart();
|
await startedContainer.restart();
|
||||||
return startedContainer;
|
return startedContainer;
|
||||||
};
|
};
|
||||||
|
|
||||||
const createHomeAssistantContainer = () => {
|
const createHomeAssistantContainer = () => {
|
||||||
return new GenericContainer(IMAGE_NAME)
|
return (
|
||||||
.withCopyFilesToContainer([
|
new GenericContainer(IMAGE_NAME)
|
||||||
{
|
.withCopyFilesToContainer([
|
||||||
source: join(__dirname, "/volumes/home-assistant-config.zip"),
|
{
|
||||||
target: "/tmp/config.zip",
|
source: join(__dirname, "/volumes/home-assistant-config.zip"),
|
||||||
},
|
target: "/tmp/config.zip",
|
||||||
])
|
},
|
||||||
.withPrivilegedMode()
|
])
|
||||||
.withExposedPorts(8123)
|
.withPrivilegedMode()
|
||||||
.withWaitStrategy(Wait.forHttp("/", 8123));
|
.withExposedPorts(8123)
|
||||||
|
// This has to be a page that is not redirected (or a status code has to be defined withStatusCode(statusCode))
|
||||||
|
.withWaitStrategy(Wait.forHttp("/onboarding.html", 8123))
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const createHomeAssistantIntegration = (container: StartedTestContainer, apiKeyOverride?: string) => {
|
const createHomeAssistantIntegration = (container: StartedTestContainer, apiKeyOverride?: string) => {
|
||||||
|
console.log("Creating Home Assistant integration...");
|
||||||
return new HomeAssistantIntegration({
|
return new HomeAssistantIntegration({
|
||||||
id: "1",
|
id: "1",
|
||||||
decryptedSecrets: [
|
decryptedSecrets: [
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ describe("Nzbget integration", () => {
|
|||||||
|
|
||||||
// Acts
|
// Acts
|
||||||
const actAsync = async () => await nzbGetIntegration.pauseQueueAsync();
|
const actAsync = async () => await nzbGetIntegration.pauseQueueAsync();
|
||||||
const getAsync = async () => await nzbGetIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await nzbGetIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(actAsync()).resolves.not.toThrow();
|
await expect(actAsync()).resolves.not.toThrow();
|
||||||
@@ -87,7 +87,7 @@ describe("Nzbget integration", () => {
|
|||||||
|
|
||||||
// Acts
|
// Acts
|
||||||
const actAsync = async () => await nzbGetIntegration.resumeQueueAsync();
|
const actAsync = async () => await nzbGetIntegration.resumeQueueAsync();
|
||||||
const getAsync = async () => await nzbGetIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await nzbGetIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(actAsync()).resolves.not.toThrow();
|
await expect(actAsync()).resolves.not.toThrow();
|
||||||
@@ -105,7 +105,7 @@ describe("Nzbget integration", () => {
|
|||||||
const nzbGetIntegration = createNzbGetIntegration(startedContainer, username, password);
|
const nzbGetIntegration = createNzbGetIntegration(startedContainer, username, password);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const getAsync = async () => await nzbGetIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await nzbGetIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(getAsync()).resolves.not.toThrow();
|
await expect(getAsync()).resolves.not.toThrow();
|
||||||
@@ -124,7 +124,7 @@ describe("Nzbget integration", () => {
|
|||||||
await nzbGetAddItemAsync(startedContainer, username, password, nzbGetIntegration);
|
await nzbGetAddItemAsync(startedContainer, username, password, nzbGetIntegration);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const getAsync = async () => await nzbGetIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await nzbGetIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(getAsync()).resolves.not.toThrow();
|
await expect(getAsync()).resolves.not.toThrow();
|
||||||
@@ -145,9 +145,9 @@ describe("Nzbget integration", () => {
|
|||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(actAsync()).resolves.not.toThrow();
|
await expect(actAsync()).resolves.not.toThrow();
|
||||||
// NzbGet is slow and we wait for a second before querying the items. Test was flaky without this.
|
// NzbGet is slow and we wait for a few seconds before querying the items. Test was flaky without this.
|
||||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
await new Promise((resolve) => setTimeout(resolve, 5000));
|
||||||
const result = await nzbGetIntegration.getClientJobsAndStatusAsync();
|
const result = await nzbGetIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
expect(result.items).toHaveLength(0);
|
expect(result.items).toHaveLength(0);
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
@@ -209,7 +209,7 @@ const nzbGetAddItemAsync = async (
|
|||||||
|
|
||||||
const {
|
const {
|
||||||
items: [item],
|
items: [item],
|
||||||
} = await integration.getClientJobsAndStatusAsync();
|
} = await integration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
if (!item) {
|
if (!item) {
|
||||||
throw new Error("No item found");
|
throw new Error("No item found");
|
||||||
|
|||||||
@@ -211,12 +211,15 @@ const createPiHoleIntegrationV5 = (container: StartedTestContainer, apiKey: stri
|
|||||||
};
|
};
|
||||||
|
|
||||||
const createPiHoleV6Container = (password: string) => {
|
const createPiHoleV6Container = (password: string) => {
|
||||||
return new GenericContainer("pihole/pihole:latest")
|
return (
|
||||||
.withEnvironment({
|
new GenericContainer("pihole/pihole:latest")
|
||||||
FTLCONF_webserver_api_password: password,
|
.withEnvironment({
|
||||||
})
|
FTLCONF_webserver_api_password: password,
|
||||||
.withExposedPorts(80)
|
})
|
||||||
.withWaitStrategy(Wait.forHttp("/admin", 80));
|
.withExposedPorts(80)
|
||||||
|
// This has to be a page that is not redirected (or a status code has to be defined withStatusCode(statusCode))
|
||||||
|
.withWaitStrategy(Wait.forHttp("/admin/login", 80))
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const createPiHoleIntegrationV6 = (container: StartedTestContainer, apiKey: string) => {
|
const createPiHoleIntegrationV6 = (container: StartedTestContainer, apiKey: string) => {
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ describe("Sabnzbd integration", () => {
|
|||||||
|
|
||||||
// Acts
|
// Acts
|
||||||
const actAsync = async () => await sabnzbdIntegration.pauseQueueAsync();
|
const actAsync = async () => await sabnzbdIntegration.pauseQueueAsync();
|
||||||
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(actAsync()).resolves.not.toThrow();
|
await expect(actAsync()).resolves.not.toThrow();
|
||||||
@@ -85,7 +85,7 @@ describe("Sabnzbd integration", () => {
|
|||||||
|
|
||||||
// Acts
|
// Acts
|
||||||
const actAsync = async () => await sabnzbdIntegration.resumeQueueAsync();
|
const actAsync = async () => await sabnzbdIntegration.resumeQueueAsync();
|
||||||
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(actAsync()).resolves.not.toThrow();
|
await expect(actAsync()).resolves.not.toThrow();
|
||||||
@@ -103,7 +103,7 @@ describe("Sabnzbd integration", () => {
|
|||||||
const sabnzbdIntegration = createSabnzbdIntegration(startedContainer, DEFAULT_API_KEY);
|
const sabnzbdIntegration = createSabnzbdIntegration(startedContainer, DEFAULT_API_KEY);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(getAsync()).resolves.not.toThrow();
|
await expect(getAsync()).resolves.not.toThrow();
|
||||||
@@ -122,7 +122,7 @@ describe("Sabnzbd integration", () => {
|
|||||||
await sabNzbdAddItemAsync(startedContainer, DEFAULT_API_KEY, sabnzbdIntegration);
|
await sabNzbdAddItemAsync(startedContainer, DEFAULT_API_KEY, sabnzbdIntegration);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(getAsync()).resolves.not.toThrow();
|
await expect(getAsync()).resolves.not.toThrow();
|
||||||
@@ -140,7 +140,7 @@ describe("Sabnzbd integration", () => {
|
|||||||
|
|
||||||
// Act
|
// Act
|
||||||
const actAsync = async () => await sabnzbdIntegration.pauseItemAsync(item);
|
const actAsync = async () => await sabnzbdIntegration.pauseItemAsync(item);
|
||||||
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(getAsync()).resolves.toMatchObject({ items: [{ ...item, state: "downloading" }] });
|
await expect(getAsync()).resolves.toMatchObject({ items: [{ ...item, state: "downloading" }] });
|
||||||
@@ -160,7 +160,7 @@ describe("Sabnzbd integration", () => {
|
|||||||
|
|
||||||
// Act
|
// Act
|
||||||
const actAsync = async () => await sabnzbdIntegration.resumeItemAsync(item);
|
const actAsync = async () => await sabnzbdIntegration.resumeItemAsync(item);
|
||||||
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(getAsync()).resolves.toMatchObject({ items: [{ ...item, state: "paused" }] });
|
await expect(getAsync()).resolves.toMatchObject({ items: [{ ...item, state: "paused" }] });
|
||||||
@@ -180,7 +180,7 @@ describe("Sabnzbd integration", () => {
|
|||||||
// Act - fromDisk already doesn't work for sabnzbd, so only test deletion itself.
|
// Act - fromDisk already doesn't work for sabnzbd, so only test deletion itself.
|
||||||
const actAsync = async () =>
|
const actAsync = async () =>
|
||||||
await sabnzbdIntegration.deleteItemAsync({ ...item, progress: 0 } as DownloadClientItem, false);
|
await sabnzbdIntegration.deleteItemAsync({ ...item, progress: 0 } as DownloadClientItem, false);
|
||||||
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync();
|
const getAsync = async () => await sabnzbdIntegration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
await expect(actAsync()).resolves.not.toThrow();
|
await expect(actAsync()).resolves.not.toThrow();
|
||||||
@@ -192,16 +192,19 @@ describe("Sabnzbd integration", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const createSabnzbdContainer = () => {
|
const createSabnzbdContainer = () => {
|
||||||
return new GenericContainer(IMAGE_NAME)
|
return (
|
||||||
.withCopyFilesToContainer([
|
new GenericContainer(IMAGE_NAME)
|
||||||
{
|
.withCopyFilesToContainer([
|
||||||
source: join(__dirname, "/volumes/usenet/sabnzbd.ini"),
|
{
|
||||||
target: "/config/sabnzbd.ini",
|
source: join(__dirname, "/volumes/usenet/sabnzbd.ini"),
|
||||||
},
|
target: "/config/sabnzbd.ini",
|
||||||
])
|
},
|
||||||
.withExposedPorts(1212)
|
])
|
||||||
.withEnvironment({ PUID: "0", PGID: "0" })
|
.withExposedPorts(1212)
|
||||||
.withWaitStrategy(Wait.forHttp("/", 1212));
|
.withEnvironment({ PUID: "0", PGID: "0" })
|
||||||
|
// This has to be a page that is not redirected (or a status code has to be defined withStatusCode(statusCode))
|
||||||
|
.withWaitStrategy(Wait.forHttp("/sabnzbd/wizard/", 1212))
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const createSabnzbdIntegration = (container: StartedTestContainer, apiKey: string) => {
|
const createSabnzbdIntegration = (container: StartedTestContainer, apiKey: string) => {
|
||||||
@@ -242,7 +245,7 @@ const sabNzbdAddItemAsync = async (
|
|||||||
for (let i = 0; i < 5; i++) {
|
for (let i = 0; i < 5; i++) {
|
||||||
const {
|
const {
|
||||||
items: [item],
|
items: [item],
|
||||||
} = await integration.getClientJobsAndStatusAsync();
|
} = await integration.getClientJobsAndStatusAsync({ limit: 99 });
|
||||||
if (item) return item;
|
if (item) return item;
|
||||||
}
|
}
|
||||||
// Throws if it can't find the item
|
// Throws if it can't find the item
|
||||||
|
|||||||
@@ -27,13 +27,13 @@
|
|||||||
"ioredis": "5.6.1",
|
"ioredis": "5.6.1",
|
||||||
"superjson": "2.2.2",
|
"superjson": "2.2.2",
|
||||||
"winston": "3.17.0",
|
"winston": "3.17.0",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -33,19 +33,19 @@
|
|||||||
"@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",
|
||||||
"@mantine/core": "^8.0.1",
|
"@mantine/core": "^8.1.0",
|
||||||
"@tabler/icons-react": "^3.33.0",
|
"@tabler/icons-react": "^3.34.0",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"next": "15.3.2",
|
"next": "15.3.3",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
import { useMemo, useState } from "react";
|
import { useMemo, useState } from "react";
|
||||||
import Image from "next/image";
|
|
||||||
import { Button, Card, Center, Grid, Input, Stack, Text } from "@mantine/core";
|
import { Button, Card, Center, Grid, Input, Stack, Text } from "@mantine/core";
|
||||||
import { IconPlus, IconSearch } from "@tabler/icons-react";
|
import { IconPlus, IconSearch } from "@tabler/icons-react";
|
||||||
|
|
||||||
@@ -23,7 +22,7 @@ export const AppSelectModal = createModal<AppSelectModalProps>(({ actions, inner
|
|||||||
() =>
|
() =>
|
||||||
apps
|
apps
|
||||||
.filter((app) => app.name.toLowerCase().includes(search.toLowerCase()))
|
.filter((app) => app.name.toLowerCase().includes(search.toLowerCase()))
|
||||||
.sort((a, b) => a.name.localeCompare(b.name)),
|
.sort((appA, appB) => appA.name.localeCompare(appB.name)),
|
||||||
[apps, search],
|
[apps, search],
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -88,7 +87,7 @@ export const AppSelectModal = createModal<AppSelectModalProps>(({ actions, inner
|
|||||||
<Stack justify="space-between" h="100%">
|
<Stack justify="space-between" h="100%">
|
||||||
<Stack gap="xs">
|
<Stack gap="xs">
|
||||||
<Center>
|
<Center>
|
||||||
<Image src={app.iconUrl || ""} alt={app.name} width={24} height={24} />
|
<img src={app.iconUrl} alt={app.name} width={24} height={24} />
|
||||||
</Center>
|
</Center>
|
||||||
<Text lh={1.2} style={{ whiteSpace: "normal" }} ta="center">
|
<Text lh={1.2} style={{ whiteSpace: "normal" }} ta="center">
|
||||||
{app.name}
|
{app.name}
|
||||||
|
|||||||
@@ -24,15 +24,15 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@homarr/translation": "workspace:^0.1.0",
|
"@homarr/translation": "workspace:^0.1.0",
|
||||||
"@homarr/ui": "workspace:^0.1.0",
|
"@homarr/ui": "workspace:^0.1.0",
|
||||||
"@mantine/core": "^8.0.1",
|
"@mantine/core": "^8.1.0",
|
||||||
"@mantine/hooks": "^8.0.1",
|
"@mantine/hooks": "^8.1.0",
|
||||||
"react": "19.1.0"
|
"react": "19.1.0"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -24,14 +24,14 @@
|
|||||||
"prettier": "@homarr/prettier-config",
|
"prettier": "@homarr/prettier-config",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@homarr/ui": "workspace:^0.1.0",
|
"@homarr/ui": "workspace:^0.1.0",
|
||||||
"@mantine/notifications": "^8.0.1",
|
"@mantine/notifications": "^8.1.0",
|
||||||
"@tabler/icons-react": "^3.33.0"
|
"@tabler/icons-react": "^3.34.0"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -37,14 +37,14 @@
|
|||||||
"@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",
|
||||||
"@mantine/core": "^8.0.1",
|
"@mantine/core": "^8.1.0",
|
||||||
"@mantine/hooks": "^8.0.1",
|
"@mantine/hooks": "^8.1.0",
|
||||||
"adm-zip": "0.5.16",
|
"adm-zip": "0.5.16",
|
||||||
"next": "15.3.2",
|
"next": "15.3.3",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"superjson": "2.2.2",
|
"superjson": "2.2.2",
|
||||||
"zod": "^3.25.23",
|
"zod": "^3.25.62",
|
||||||
"zod-form-data": "^2.0.7"
|
"zod-form-data": "^2.0.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"@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/adm-zip": "0.5.7",
|
"@types/adm-zip": "0.5.7",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -77,6 +77,7 @@ const optionMapping: OptionMapping = {
|
|||||||
descendingDefaultSort: () => false,
|
descendingDefaultSort: () => false,
|
||||||
showCompletedUsenet: () => true,
|
showCompletedUsenet: () => true,
|
||||||
showCompletedHttp: () => true,
|
showCompletedHttp: () => true,
|
||||||
|
limitPerIntegration: () => undefined,
|
||||||
},
|
},
|
||||||
weather: {
|
weather: {
|
||||||
forecastDayCount: (oldOptions) => oldOptions.forecastDays,
|
forecastDayCount: (oldOptions) => oldOptions.forecastDays,
|
||||||
@@ -156,6 +157,21 @@ const optionMapping: OptionMapping = {
|
|||||||
defaultTab: (oldOptions) => ("defaultTabState" in oldOptions ? oldOptions.defaultTabState : undefined),
|
defaultTab: (oldOptions) => ("defaultTabState" in oldOptions ? oldOptions.defaultTabState : undefined),
|
||||||
sectionIndicatorRequirement: (oldOptions) =>
|
sectionIndicatorRequirement: (oldOptions) =>
|
||||||
"sectionIndicatorColor" in oldOptions ? oldOptions.sectionIndicatorColor : undefined,
|
"sectionIndicatorColor" in oldOptions ? oldOptions.sectionIndicatorColor : undefined,
|
||||||
|
showUptime: () => undefined,
|
||||||
|
visibleClusterSections: (oldOptions) => {
|
||||||
|
if (!("showNode" in oldOptions)) return undefined;
|
||||||
|
|
||||||
|
const oldKeys = {
|
||||||
|
showNode: "node" as const,
|
||||||
|
showLXCs: "lxc" as const,
|
||||||
|
showVM: "qemu" as const,
|
||||||
|
showStorage: "storage" as const,
|
||||||
|
} satisfies Partial<Record<keyof typeof oldOptions, string>>;
|
||||||
|
|
||||||
|
return objectEntries(oldKeys)
|
||||||
|
.filter(([key]) => oldOptions[key])
|
||||||
|
.map(([_, section]) => section);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mediaTranscoding: {
|
mediaTranscoding: {
|
||||||
defaultView: (oldOptions) => oldOptions.defaultView,
|
defaultView: (oldOptions) => oldOptions.defaultView,
|
||||||
|
|||||||
@@ -23,13 +23,13 @@
|
|||||||
"prettier": "@homarr/prettier-config",
|
"prettier": "@homarr/prettier-config",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@homarr/common": "workspace:^0.1.0",
|
"@homarr/common": "workspace:^0.1.0",
|
||||||
"zod": "^3.25.23"
|
"zod": "^3.25.62"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -30,14 +30,14 @@
|
|||||||
"@homarr/log": "workspace:^0.1.0",
|
"@homarr/log": "workspace:^0.1.0",
|
||||||
"@homarr/redis": "workspace:^0.1.0",
|
"@homarr/redis": "workspace:^0.1.0",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"octokit": "^5.0.2",
|
"octokit": "^5.0.3",
|
||||||
"superjson": "2.2.2"
|
"superjson": "2.2.2"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -13,8 +13,10 @@ export const calendarMonthRequestHandler = createCachedIntegrationRequestHandler
|
|||||||
>({
|
>({
|
||||||
async requestAsync(integration, input) {
|
async requestAsync(integration, input) {
|
||||||
const integrationInstance = await createIntegrationAsync(integration);
|
const integrationInstance = await createIntegrationAsync(integration);
|
||||||
const startDate = dayjs().year(input.year).month(input.month).startOf("month");
|
// Calendar component shows up to 6 days before and after the month, for example if 1. of january is sunday, it shows the last 6 days of december.
|
||||||
const endDate = startDate.clone().endOf("month");
|
const startDate = dayjs().year(input.year).month(input.month).startOf("month").subtract(6, "days");
|
||||||
|
const endDate = dayjs().year(input.year).month(input.month).endOf("month").add(6, "days");
|
||||||
|
|
||||||
return await integrationInstance.getCalendarEventsAsync(
|
return await integrationInstance.getCalendarEventsAsync(
|
||||||
startDate.toDate(),
|
startDate.toDate(),
|
||||||
endDate.toDate(),
|
endDate.toDate(),
|
||||||
|
|||||||
@@ -9,11 +9,11 @@ import { createCachedIntegrationRequestHandler } from "./lib/cached-integration-
|
|||||||
export const downloadClientRequestHandler = createCachedIntegrationRequestHandler<
|
export const downloadClientRequestHandler = createCachedIntegrationRequestHandler<
|
||||||
DownloadClientJobsAndStatus,
|
DownloadClientJobsAndStatus,
|
||||||
IntegrationKindByCategory<"downloadClient">,
|
IntegrationKindByCategory<"downloadClient">,
|
||||||
Record<string, never>
|
{ limit: number }
|
||||||
>({
|
>({
|
||||||
async requestAsync(integration, _input) {
|
async requestAsync(integration, input) {
|
||||||
const integrationInstance = await createIntegrationAsync(integration);
|
const integrationInstance = await createIntegrationAsync(integration);
|
||||||
return await integrationInstance.getClientJobsAndStatusAsync();
|
return await integrationInstance.getClientJobsAndStatusAsync(input);
|
||||||
},
|
},
|
||||||
cacheDuration: dayjs.duration(5, "seconds"),
|
cacheDuration: dayjs.duration(5, "seconds"),
|
||||||
queryKey: "downloadClientJobStatus",
|
queryKey: "downloadClientJobStatus",
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -26,8 +26,8 @@
|
|||||||
"@homarr/api": "workspace:^0.1.0",
|
"@homarr/api": "workspace:^0.1.0",
|
||||||
"@homarr/db": "workspace:^0.1.0",
|
"@homarr/db": "workspace:^0.1.0",
|
||||||
"@homarr/server-settings": "workspace:^0.1.0",
|
"@homarr/server-settings": "workspace:^0.1.0",
|
||||||
"@mantine/dates": "^8.0.1",
|
"@mantine/dates": "^8.1.0",
|
||||||
"next": "15.3.2",
|
"next": "15.3.3",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0"
|
"react-dom": "19.1.0"
|
||||||
},
|
},
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -33,12 +33,12 @@
|
|||||||
"@homarr/settings": "workspace:^0.1.0",
|
"@homarr/settings": "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",
|
||||||
"@mantine/core": "^8.0.1",
|
"@mantine/core": "^8.1.0",
|
||||||
"@mantine/hooks": "^8.0.1",
|
"@mantine/hooks": "^8.1.0",
|
||||||
"@mantine/spotlight": "^8.0.1",
|
"@mantine/spotlight": "^8.1.0",
|
||||||
"@tabler/icons-react": "^3.33.0",
|
"@tabler/icons-react": "^3.34.0",
|
||||||
"jotai": "^2.12.4",
|
"jotai": "^2.12.5",
|
||||||
"next": "15.3.2",
|
"next": "15.3.3",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0",
|
"react-dom": "19.1.0",
|
||||||
"use-deep-compare-effect": "^1.8.1"
|
"use-deep-compare-effect": "^1.8.1"
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"deepmerge": "4.3.1",
|
"deepmerge": "4.3.1",
|
||||||
"mantine-react-table": "2.0.0-beta.9",
|
"mantine-react-table": "2.0.0-beta.9",
|
||||||
"next": "15.3.2",
|
"next": "15.3.3",
|
||||||
"next-intl": "4.1.0",
|
"next-intl": "4.1.0",
|
||||||
"react": "19.1.0",
|
"react": "19.1.0",
|
||||||
"react-dom": "19.1.0"
|
"react-dom": "19.1.0"
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
"@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",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.28.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -263,14 +263,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"removeImage": {
|
"removeImage": {
|
||||||
"label": "删除图像",
|
"label": "删除头像",
|
||||||
"confirm": "确定要移除这张图片吗?",
|
"confirm": "确定要移除这张图片吗?",
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"message": "图像删除成功"
|
"message": "图像删除成功"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"message": "无法删除图像"
|
"message": "无法删除头像"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -612,17 +612,17 @@
|
|||||||
"select": {
|
"select": {
|
||||||
"label": "选择应用",
|
"label": "选择应用",
|
||||||
"notFound": "未找到应用",
|
"notFound": "未找到应用",
|
||||||
"search": "",
|
"search": "搜索应用",
|
||||||
"noResults": "",
|
"noResults": "没有结果",
|
||||||
"action": "",
|
"action": "选择 {app}",
|
||||||
"title": ""
|
"title": "选择一个应用程序添加到此面板"
|
||||||
},
|
},
|
||||||
"create": {
|
"create": {
|
||||||
"title": "",
|
"title": "创建应用",
|
||||||
"description": "",
|
"description": "创建应用 ",
|
||||||
"action": ""
|
"action": "打开应用创建"
|
||||||
},
|
},
|
||||||
"add": ""
|
"add": "添加应用"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"integration": {
|
"integration": {
|
||||||
@@ -705,125 +705,125 @@
|
|||||||
"error": {
|
"error": {
|
||||||
"common": {
|
"common": {
|
||||||
"cause": {
|
"cause": {
|
||||||
"title": ""
|
"title": "更多详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"unknown": {
|
"unknown": {
|
||||||
"title": "",
|
"title": "未知错误",
|
||||||
"description": ""
|
"description": "发生未知错误,打开下面的原因以查看更多详情"
|
||||||
},
|
},
|
||||||
"parse": {
|
"parse": {
|
||||||
"title": "",
|
"title": "解析错误",
|
||||||
"description": ""
|
"description": "无法解析该响应。请确认URL指向服务的基本URL。"
|
||||||
},
|
},
|
||||||
"authorization": {
|
"authorization": {
|
||||||
"title": "",
|
"title": "授权错误",
|
||||||
"description": ""
|
"description": "请求未被授权。请验证凭据是否正确,并且您拥有足够的权限。"
|
||||||
},
|
},
|
||||||
"statusCode": {
|
"statusCode": {
|
||||||
"title": "",
|
"title": "响应错误",
|
||||||
"description": "",
|
"description": "收到来自<url></url>的意外{statusCode} ({reason})响应。请验证URL是否指向集成的基本URL。",
|
||||||
"otherDescription": "",
|
"otherDescription": "从<url></url>收到意外的{statusCode}响应。请验证URL是否指向集成的基本URL。",
|
||||||
"reason": {
|
"reason": {
|
||||||
"badRequest": "",
|
"badRequest": "错误请求",
|
||||||
"notFound": "",
|
"notFound": "未找到",
|
||||||
"tooManyRequests": "",
|
"tooManyRequests": "请求过于频繁",
|
||||||
"internalServerError": "",
|
"internalServerError": "服务器内部错误",
|
||||||
"serviceUnavailable": "",
|
"serviceUnavailable": "服务暂时不可用",
|
||||||
"gatewayTimeout": ""
|
"gatewayTimeout": "网关超时"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"certificate": {
|
"certificate": {
|
||||||
"title": "",
|
"title": "证书错误",
|
||||||
"description": {
|
"description": {
|
||||||
"expired": "",
|
"expired": "此证书已经过期。",
|
||||||
"notYetValid": "",
|
"notYetValid": "此证书尚未生效。",
|
||||||
"untrusted": "",
|
"untrusted": "此证书不受信任。",
|
||||||
"hostnameMismatch": ""
|
"hostnameMismatch": "证书主机名与 URL 不匹配。"
|
||||||
},
|
},
|
||||||
"alert": {
|
"alert": {
|
||||||
"permission": {
|
"permission": {
|
||||||
"title": "",
|
"title": "权限不足",
|
||||||
"message": ""
|
"message": "您无权信任或上传证书。请与您的管理员联系上传必要的根证书。"
|
||||||
},
|
},
|
||||||
"hostnameMismatch": {
|
"hostnameMismatch": {
|
||||||
"title": "",
|
"title": "主机名不匹配",
|
||||||
"message": ""
|
"message": "证书中的主机名与您连接的主机名不匹配。 这可能会显示安全风险,但您仍然可以选择信任此证书。"
|
||||||
},
|
},
|
||||||
"extract": {
|
"extract": {
|
||||||
"title": "",
|
"title": "CA证书提取失败",
|
||||||
"message": ""
|
"message": "只有自签署证书链可以自动获取。如果使用的是自签名证书,请确保手动上传CA证书。您可以找到有关如何执行此操作的说明<docsLink></docsLink>。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
"retry": {
|
"retry": {
|
||||||
"label": ""
|
"label": "重试创建"
|
||||||
},
|
},
|
||||||
"trust": {
|
"trust": {
|
||||||
"label": ""
|
"label": "信任证书"
|
||||||
},
|
},
|
||||||
"upload": {
|
"upload": {
|
||||||
"label": ""
|
"label": "上传证书"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hostnameMismatch": {
|
"hostnameMismatch": {
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"title": "",
|
"title": "信任主机名不匹配",
|
||||||
"message": ""
|
"message": "您确定要信任主机名不匹配的证书吗?"
|
||||||
},
|
},
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"title": "",
|
"title": "可信证书",
|
||||||
"message": ""
|
"message": "将主机名添加到受信任证书列表中"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": "",
|
"title": "信任证书失败",
|
||||||
"message": ""
|
"message": "主机名不匹配的证书不可信"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"selfSigned": {
|
"selfSigned": {
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"title": "",
|
"title": "信任自签名证书",
|
||||||
"message": ""
|
"message": "您确定要信任此自签名证书吗?"
|
||||||
},
|
},
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"title": "",
|
"title": "可信证书",
|
||||||
"message": ""
|
"message": "已添加证书到可信证书列表"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": "",
|
"title": "信任证书失败",
|
||||||
"message": ""
|
"message": "向受信任证书列表添加证书失败"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"details": {
|
"details": {
|
||||||
"title": "",
|
"title": "详情",
|
||||||
"description": "",
|
"description": "在决定信任证书信息之前,请检查该证书信息。",
|
||||||
"content": {
|
"content": {
|
||||||
"action": "",
|
"action": "显示内容",
|
||||||
"title": ""
|
"title": "PEM 证书"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"request": {
|
"request": {
|
||||||
"title": "",
|
"title": "错误请求",
|
||||||
"description": {
|
"description": {
|
||||||
"connection": {
|
"connection": {
|
||||||
"hostUnreachable": "",
|
"hostUnreachable": "无法连接到服务器。这通常意味着主机离线或无法从您的网络访问。",
|
||||||
"networkUnreachable": "",
|
"networkUnreachable": "网络不可达。请检查网络连接或网络配置。",
|
||||||
"refused": "",
|
"refused": "服务器拒绝连接。它可能没有运行或正在拒绝指定端口上的请求。",
|
||||||
"reset": ""
|
"reset": "服务器意外关闭了连接。如果服务器不稳定或重新启动,就会发生这种情况。"
|
||||||
},
|
},
|
||||||
"dns": {
|
"dns": {
|
||||||
"notFound": "",
|
"notFound": "找不到服务器地址。请检查URL是否有拼写错误或无效的域名。",
|
||||||
"timeout": "",
|
"timeout": "DNS查找超时。这可能是暂时的问题,请稍后再试。",
|
||||||
"noAnswer": ""
|
"noAnswer": "DNS服务器没有返回有效的响应。域可能存在,但没有有效记录。"
|
||||||
},
|
},
|
||||||
"timeout": {
|
"timeout": {
|
||||||
"aborted": "",
|
"aborted": "请求在完成之前被中止。这可能是由于用户操作或系统超时造成的。",
|
||||||
"timeout": ""
|
"timeout": "请求耗时太长。请检查您的网络或稍后再试。"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -895,8 +895,8 @@
|
|||||||
"message": "该路径可能不正确"
|
"message": "该路径可能不正确"
|
||||||
},
|
},
|
||||||
"tooManyRequests": {
|
"tooManyRequests": {
|
||||||
"title": "",
|
"title": "指定时间内请求过多",
|
||||||
"message": ""
|
"message": "请求太多了。您可能会受到速率限制或被目标系统拒绝"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1004,7 +1004,7 @@
|
|||||||
"cancel": "取消",
|
"cancel": "取消",
|
||||||
"delete": "删除",
|
"delete": "删除",
|
||||||
"discard": "Discard",
|
"discard": "Discard",
|
||||||
"close": "",
|
"close": "关闭",
|
||||||
"confirm": "确认",
|
"confirm": "确认",
|
||||||
"continue": "继续",
|
"continue": "继续",
|
||||||
"previous": "上一步",
|
"previous": "上一步",
|
||||||
@@ -1220,7 +1220,7 @@
|
|||||||
"label": "集成"
|
"label": "集成"
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"label": ""
|
"label": "标题"
|
||||||
},
|
},
|
||||||
"customCssClasses": {
|
"customCssClasses": {
|
||||||
"label": "自定义 CSS 类"
|
"label": "自定义 CSS 类"
|
||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "显示内存信息"
|
"label": "显示内存信息"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": "显示运行时间"
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "显示文件系统信息"
|
"label": "显示文件系统信息"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": "默认标签"
|
"label": "默认标签"
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": "可见集群部分"
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": "部分指标要求"
|
"label": "部分指标要求"
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "Docker 状态",
|
||||||
|
"description": "您的容器状态 (这个小部件只能用管理员权限添加)",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": "获取容器统计信息失败"
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "城市/邮编",
|
"query": "城市/邮编",
|
||||||
@@ -1898,8 +1912,8 @@
|
|||||||
"description": "显示媒体服务器上的当前流",
|
"description": "显示媒体服务器上的当前流",
|
||||||
"option": {
|
"option": {
|
||||||
"showOnlyPlaying": {
|
"showOnlyPlaying": {
|
||||||
"label": "",
|
"label": "只显示当前正在播放",
|
||||||
"description": ""
|
"description": "禁用此功能对plex不起作用"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"items": {
|
"items": {
|
||||||
@@ -1932,7 +1946,7 @@
|
|||||||
"label": "显示标记为已完成的 Torrent 条目"
|
"label": "显示标记为已完成的 Torrent 条目"
|
||||||
},
|
},
|
||||||
"showCompletedHttp": {
|
"showCompletedHttp": {
|
||||||
"label": ""
|
"label": "显示标记为已完成的杂项"
|
||||||
},
|
},
|
||||||
"activeTorrentThreshold": {
|
"activeTorrentThreshold": {
|
||||||
"label": "隐藏在此阈值下已完成的 Torrent (kiB/s)"
|
"label": "隐藏在此阈值下已完成的 Torrent (kiB/s)"
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": "使用过滤器来计算比率"
|
"label": "使用过滤器来计算比率"
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "限制每个集成的项目",
|
||||||
|
"description": "这将限制每个集成显示的项目数量,而不是全局项目"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2077,7 +2095,7 @@
|
|||||||
"approved": "已批准",
|
"approved": "已批准",
|
||||||
"declined": "已拒绝",
|
"declined": "已拒绝",
|
||||||
"failed": "失败",
|
"failed": "失败",
|
||||||
"completed": ""
|
"completed": "已完成"
|
||||||
},
|
},
|
||||||
"toBeDetermined": "待定"
|
"toBeDetermined": "待定"
|
||||||
},
|
},
|
||||||
@@ -2181,94 +2199,106 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"releases": {
|
"releases": {
|
||||||
"name": "",
|
"name": "发布",
|
||||||
"description": "",
|
"description": "显示特定版本正则表达式中当前版本的列表。",
|
||||||
"option": {
|
"option": {
|
||||||
"newReleaseWithin": {
|
"newReleaseWithin": {
|
||||||
"label": "",
|
"label": "内部新版本",
|
||||||
"description": ""
|
"description": "使用示例:1w(1周),10M(10个月)。支持单位类型h(小时),d(天),w(周),M(月),y(年)。留空不突出显示新版本。"
|
||||||
},
|
},
|
||||||
"staleReleaseWithin": {
|
"staleReleaseWithin": {
|
||||||
"label": "",
|
"label": "内部过期发布",
|
||||||
"description": ""
|
"description": "使用示例:1w(1周),10M(10个月)。支持单位类型h(小时),d(天),w(周),M(月),y(年)。留空不突出显示过时的版本。"
|
||||||
},
|
},
|
||||||
"showOnlyHighlighted": {
|
"showOnlyHighlighted": {
|
||||||
"label": "",
|
"label": "只显示高亮显示",
|
||||||
"description": ""
|
"description": "只显示新的或过时的版本。如上所述。"
|
||||||
},
|
},
|
||||||
"showDetails": {
|
"showDetails": {
|
||||||
"label": ""
|
"label": "展开详情"
|
||||||
},
|
},
|
||||||
"topReleases": {
|
"topReleases": {
|
||||||
"label": "",
|
"label": "热门发布",
|
||||||
"description": ""
|
"description": "要显示的最新版本的最大数量。零表示没有限制。"
|
||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "仓库",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": "添加仓库"
|
||||||
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "从 Docker 导入",
|
||||||
|
"loading": "正在加载 docker 映像",
|
||||||
|
"noImagesFound": "没有找到 docker 映像",
|
||||||
|
"listFoundImages": "找到的映像列表",
|
||||||
|
"listAlreadyImportedImages": "已导入的映像列表",
|
||||||
|
"allImagesAlreadyImported": "所有映像已导入",
|
||||||
|
"onlyAdminCanImport": "只有管理员才能从 docker 导入"
|
||||||
},
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": "提供者"
|
||||||
},
|
},
|
||||||
"identifier": {
|
"identifier": {
|
||||||
"label": "",
|
"label": "标识符",
|
||||||
"placeholder": ""
|
"placeholder": "姓名或所有者名称"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"label": ""
|
"label": "名称"
|
||||||
},
|
},
|
||||||
"versionFilter": {
|
"versionFilter": {
|
||||||
"label": "",
|
"label": "版本过滤器",
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"label": ""
|
"label": "前缀"
|
||||||
},
|
},
|
||||||
"precision": {
|
"precision": {
|
||||||
"label": "",
|
"label": "精度",
|
||||||
"options": {
|
"options": {
|
||||||
"none": ""
|
"none": "空"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"suffix": {
|
"suffix": {
|
||||||
"label": ""
|
"label": "后缀"
|
||||||
},
|
},
|
||||||
"regex": {
|
"regex": {
|
||||||
"label": ""
|
"label": "正则表达式"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"edit": {
|
"edit": {
|
||||||
"label": ""
|
"label": "编辑"
|
||||||
},
|
},
|
||||||
"editForm": {
|
"editForm": {
|
||||||
"title": "",
|
"title": "编辑仓库",
|
||||||
"cancel": {
|
"cancel": {
|
||||||
"label": ""
|
"label": "取消"
|
||||||
},
|
},
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"label": ""
|
"label": "确认"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"example": {
|
"importForm": {
|
||||||
"label": ""
|
"title": "从 Docker 导入"
|
||||||
},
|
},
|
||||||
"invalid": ""
|
"example": {
|
||||||
|
"label": "示例"
|
||||||
|
},
|
||||||
|
"invalid": "仓库定义无效,请检查值"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"not-found": "",
|
"not-found": "未找到",
|
||||||
"pre-release": "",
|
"pre-release": "预发行",
|
||||||
"archived": "",
|
"archived": "已归档",
|
||||||
"forked": "",
|
"forked": "复刻成功",
|
||||||
"starsCount": "",
|
"starsCount": "星",
|
||||||
"forksCount": "",
|
"forksCount": "复刻",
|
||||||
"issuesCount": "",
|
"issuesCount": "打开问题",
|
||||||
"openProjectPage": "",
|
"openProjectPage": "打开项目页面",
|
||||||
"openReleasePage": "",
|
"openReleasePage": "打开发布页面",
|
||||||
"releaseDescription": "",
|
"releaseDescription": "发布说明",
|
||||||
"created": "",
|
"created": "已创建",
|
||||||
"error": {
|
"error": {
|
||||||
"label": "",
|
"label": "错误",
|
||||||
"options": {
|
"options": {
|
||||||
"noMatchingVersion": ""
|
"noMatchingVersion": "没有找到匹配的版本"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2276,56 +2306,56 @@
|
|||||||
"option": {},
|
"option": {},
|
||||||
"card": {
|
"card": {
|
||||||
"vpn": {
|
"vpn": {
|
||||||
"countConnected": ""
|
"countConnected": "{count} 已连接"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"integrationsDisconnected": "",
|
"integrationsDisconnected": "没有可用的数据,所有集成已断开",
|
||||||
"unknownContentOption": ""
|
"unknownContentOption": "网络控制器摘要小部件的未知内容选项: "
|
||||||
},
|
},
|
||||||
"name": "",
|
"name": "网络控制器概述",
|
||||||
"description": ""
|
"description": "显示网络控制器摘要(如Unifi Controller)"
|
||||||
},
|
},
|
||||||
"networkControllerStatus": {
|
"networkControllerStatus": {
|
||||||
"card": {
|
"card": {
|
||||||
"variants": {
|
"variants": {
|
||||||
"wired": {
|
"wired": {
|
||||||
"name": ""
|
"name": "有线"
|
||||||
},
|
},
|
||||||
"wifi": {
|
"wifi": {
|
||||||
"name": ""
|
"name": "Wi-Fi"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"users": {
|
"users": {
|
||||||
"label": ""
|
"label": "用户数"
|
||||||
},
|
},
|
||||||
"guests": {
|
"guests": {
|
||||||
"label": ""
|
"label": "游客"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"option": {
|
"option": {
|
||||||
"content": {
|
"content": {
|
||||||
"option": {
|
"option": {
|
||||||
"wifi": {
|
"wifi": {
|
||||||
"label": ""
|
"label": "Wi-Fi"
|
||||||
},
|
},
|
||||||
"wired": {
|
"wired": {
|
||||||
"label": ""
|
"label": "有线"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"label": ""
|
"label": "小部件内容"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"integrationsDisconnected": "",
|
"integrationsDisconnected": "没有可用的数据,所有集成已断开",
|
||||||
"unknownContentOption": ""
|
"unknownContentOption": "网络状态小部件的未知内容选项: "
|
||||||
},
|
},
|
||||||
"name": "",
|
"name": "网络状态",
|
||||||
"description": ""
|
"description": "在网络上显示已连接的设备"
|
||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"error": {
|
"error": {
|
||||||
"internalServerError": ""
|
"internalServerError": "获取网络控制器概述失败"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2448,10 +2478,10 @@
|
|||||||
},
|
},
|
||||||
"backgroundImageUrl": {
|
"backgroundImageUrl": {
|
||||||
"label": "背景图片 URL",
|
"label": "背景图片 URL",
|
||||||
"placeholder": "",
|
"placeholder": "开始输入以搜索本地映像",
|
||||||
"group": {
|
"group": {
|
||||||
"your": "你的图像",
|
"your": "你的映像",
|
||||||
"other": ""
|
"other": "其他映像"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"backgroundImageAttachment": {
|
"backgroundImageAttachment": {
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": "网络控制器"
|
"label": "网络控制器"
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": "Docker 容器"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "已更新 {when}",
|
"updated": "已更新 {when}",
|
||||||
"search": "搜索 {count} 容器",
|
"search": "搜索 {count} 容器",
|
||||||
"selected": "{totalCount} 容器的 {selectCount}"
|
"selected": "{totalCount} 容器的 {selectCount}",
|
||||||
|
"footer": "总计 {count} 容器"
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": "废弃"
|
"dead": "废弃"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": "CPU"
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": "内存"
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "镜像"
|
"label": "镜像"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "操作",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "开始",
|
"label": "开始",
|
||||||
"notification": {
|
"notification": {
|
||||||
@@ -3625,7 +3668,7 @@
|
|||||||
"certificates": {
|
"certificates": {
|
||||||
"label": "证书",
|
"label": "证书",
|
||||||
"hostnames": {
|
"hostnames": {
|
||||||
"label": ""
|
"label": "主机名"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -4026,25 +4069,25 @@
|
|||||||
"certificate": {
|
"certificate": {
|
||||||
"field": {
|
"field": {
|
||||||
"hostname": {
|
"hostname": {
|
||||||
"label": ""
|
"label": "主机名"
|
||||||
},
|
},
|
||||||
"subject": {
|
"subject": {
|
||||||
"label": ""
|
"label": "主题"
|
||||||
},
|
},
|
||||||
"issuer": {
|
"issuer": {
|
||||||
"label": ""
|
"label": "发行者"
|
||||||
},
|
},
|
||||||
"validFrom": {
|
"validFrom": {
|
||||||
"label": ""
|
"label": "有效期自"
|
||||||
},
|
},
|
||||||
"validTo": {
|
"validTo": {
|
||||||
"label": ""
|
"label": "有效期至"
|
||||||
},
|
},
|
||||||
"serialNumber": {
|
"serialNumber": {
|
||||||
"label": ""
|
"label": "序号"
|
||||||
},
|
},
|
||||||
"fingerprint": {
|
"fingerprint": {
|
||||||
"label": ""
|
"label": "指纹"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"page": {
|
"page": {
|
||||||
@@ -4055,19 +4098,19 @@
|
|||||||
"title": "还没有证书"
|
"title": "还没有证书"
|
||||||
},
|
},
|
||||||
"invalid": {
|
"invalid": {
|
||||||
"title": "",
|
"title": "无效证书",
|
||||||
"description": ""
|
"description": "解析证书失败"
|
||||||
},
|
},
|
||||||
"expires": "到期时间 {when}",
|
"expires": "到期时间 {when}",
|
||||||
"toHostnames": ""
|
"toHostnames": "信任的主机名"
|
||||||
},
|
},
|
||||||
"hostnames": {
|
"hostnames": {
|
||||||
"title": "",
|
"title": "信任的证书主机名",
|
||||||
"description": "",
|
"description": "某些证书不允许指定域名使用 Homarr 请求他们, 由于这个原因,所有信任的主机名及其证书缩略图都被用来绕过这些限制。",
|
||||||
"noResults": {
|
"noResults": {
|
||||||
"title": ""
|
"title": "还没有主机名"
|
||||||
},
|
},
|
||||||
"toCertificates": ""
|
"toCertificates": "证书"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
@@ -4099,16 +4142,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"removeHostname": {
|
"removeHostname": {
|
||||||
"label": "",
|
"label": "删除受信任的主机名",
|
||||||
"confirm": "",
|
"confirm": "您确定要删除此受信任的主机名吗?这可能会导致一些集成停止工作。",
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"title": "",
|
"title": "主机名已删除",
|
||||||
"message": ""
|
"message": "主机名已成功删除"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": "",
|
"title": "主机名未删除",
|
||||||
"message": ""
|
"message": "无法删除主机名"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Zobrazit informace o paměti"
|
"label": "Zobrazit informace o paměti"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Zobrazit informace o souborovém systému"
|
"label": "Zobrazit informace o souborovém systému"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "Obraz"
|
"label": "Obraz"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Spustit",
|
"label": "Spustit",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -705,125 +705,125 @@
|
|||||||
"error": {
|
"error": {
|
||||||
"common": {
|
"common": {
|
||||||
"cause": {
|
"cause": {
|
||||||
"title": ""
|
"title": "Årsag med flere detaljer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"unknown": {
|
"unknown": {
|
||||||
"title": "",
|
"title": "Ukendt fejl",
|
||||||
"description": ""
|
"description": "En ukendt fejl opstod, åbn årsagen nedenfor for at se flere detaljer"
|
||||||
},
|
},
|
||||||
"parse": {
|
"parse": {
|
||||||
"title": "",
|
"title": "Parsingfejl",
|
||||||
"description": ""
|
"description": "Svaret kunne ikke fortolkes. Kontroller, at URL'en peger på tjenestens grundlæggende URL."
|
||||||
},
|
},
|
||||||
"authorization": {
|
"authorization": {
|
||||||
"title": "",
|
"title": "Godkendelsesfejl",
|
||||||
"description": ""
|
"description": "Anmodningen blev ikke godkendt. Kontroller, at legitimationsoplysningerne er korrekte og at du har dem konfigureret med nok tilladelser."
|
||||||
},
|
},
|
||||||
"statusCode": {
|
"statusCode": {
|
||||||
"title": "",
|
"title": "Svar fejl",
|
||||||
"description": "",
|
"description": "Modtaget uventet {statusCode} ({reason}) svar fra <url></url>. Kontroller, at URL'en peger på basis-URL'en for integrationen.",
|
||||||
"otherDescription": "",
|
"otherDescription": "Modtaget uventet {statusCode} svar fra <url></url>. Kontroller, at URLen peger på den grundlæggende URL for integrationen.",
|
||||||
"reason": {
|
"reason": {
|
||||||
"badRequest": "",
|
"badRequest": "Ugyldig forespørgsel",
|
||||||
"notFound": "",
|
"notFound": "Ikke fundet",
|
||||||
"tooManyRequests": "",
|
"tooManyRequests": "For mange forespørgsler",
|
||||||
"internalServerError": "",
|
"internalServerError": "Intern serverfejl",
|
||||||
"serviceUnavailable": "",
|
"serviceUnavailable": "Tjeneste ikke tilgængelig",
|
||||||
"gatewayTimeout": ""
|
"gatewayTimeout": "Gateway-timeout"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"certificate": {
|
"certificate": {
|
||||||
"title": "",
|
"title": "Certifikatfejl",
|
||||||
"description": {
|
"description": {
|
||||||
"expired": "",
|
"expired": "Certifikatet er udløbet.",
|
||||||
"notYetValid": "",
|
"notYetValid": "Certifikatet er ikke gyldigt endnu.",
|
||||||
"untrusted": "",
|
"untrusted": "Der er ikke tillid til certifikatet.",
|
||||||
"hostnameMismatch": ""
|
"hostnameMismatch": "Certifikatets værtsnavn matcher ikke URL'en."
|
||||||
},
|
},
|
||||||
"alert": {
|
"alert": {
|
||||||
"permission": {
|
"permission": {
|
||||||
"title": "",
|
"title": "Ikke tilstrækkelige tilladelser",
|
||||||
"message": ""
|
"message": "Du har ikke tilladelse til at stole på eller uploade certifikater. Kontakt venligst din administrator for at uploade det nødvendige rodcertifikat."
|
||||||
},
|
},
|
||||||
"hostnameMismatch": {
|
"hostnameMismatch": {
|
||||||
"title": "",
|
"title": "Værtsnavn matcher ikke",
|
||||||
"message": ""
|
"message": "Værtsnavnet i certifikatet matcher ikke det værtsnavn du forbinder til. Dette kan indikere en sikkerhedsrisiko, men du kan stadig vælge at stole på dette certifikat."
|
||||||
},
|
},
|
||||||
"extract": {
|
"extract": {
|
||||||
"title": "",
|
"title": "Ekstraktion af CA-certifikat mislykkedes",
|
||||||
"message": ""
|
"message": "Kun selvsignerede certifikater uden kæde kan hentes automatisk. Hvis du bruger et selvsigneret certifikat, skal du sørge for at uploade CA-certifikatet manuelt. Du kan finde instruktioner om, hvordan du gør dette <docsLink></docsLink>."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
"retry": {
|
"retry": {
|
||||||
"label": ""
|
"label": "Gentag oprettelse"
|
||||||
},
|
},
|
||||||
"trust": {
|
"trust": {
|
||||||
"label": ""
|
"label": "Stol på certifikat"
|
||||||
},
|
},
|
||||||
"upload": {
|
"upload": {
|
||||||
"label": ""
|
"label": "Upload certifikat"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hostnameMismatch": {
|
"hostnameMismatch": {
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"title": "",
|
"title": "Stol på uoverensstemmelse mellem værtsnavn",
|
||||||
"message": ""
|
"message": "Er du sikker på du vil have tillid til certifikatet med et værtsnavn uoverensstemmelse?"
|
||||||
},
|
},
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"title": "",
|
"title": "Betroet certifikat",
|
||||||
"message": ""
|
"message": "Tilføjet værtsnavn til liste over betroede certifikater"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": "",
|
"title": "Kunne ikke stole på certifikat",
|
||||||
"message": ""
|
"message": "Certifikatet med et værtsnavn mismatch kunne ikke stoles på"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"selfSigned": {
|
"selfSigned": {
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"title": "",
|
"title": "Stol på selvsigneret certifikat",
|
||||||
"message": ""
|
"message": "Er du sikker på, at du vil stole på dette selvsignerede certifikat?"
|
||||||
},
|
},
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"title": "",
|
"title": "Betroet certifikat",
|
||||||
"message": ""
|
"message": "Tilføjet certifikat til liste over betroede certifikater"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": "",
|
"title": "Kunne ikke stole på certifikat",
|
||||||
"message": ""
|
"message": "Kunne ikke tilføje certifikat til listen over betroede certifikater"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"details": {
|
"details": {
|
||||||
"title": "",
|
"title": "Detaljer",
|
||||||
"description": "",
|
"description": "Gennemgå certifikatoplysningerne, før du beslutter dig for at stole på den.",
|
||||||
"content": {
|
"content": {
|
||||||
"action": "",
|
"action": "Vis indhold",
|
||||||
"title": ""
|
"title": "PEM Certifikat"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"request": {
|
"request": {
|
||||||
"title": "",
|
"title": "Anmodningsfejl",
|
||||||
"description": {
|
"description": {
|
||||||
"connection": {
|
"connection": {
|
||||||
"hostUnreachable": "",
|
"hostUnreachable": "Serveren kunne ikke nås. Dette betyder normalt, at værten er offline eller ikke kan nås fra dit netværk.",
|
||||||
"networkUnreachable": "",
|
"networkUnreachable": "Netværket er ikke tilgængeligt. Tjek venligst din internetforbindelse eller netværkskonfiguration.",
|
||||||
"refused": "",
|
"refused": "Serveren nægtede forbindelsen. Den kører muligvis ikke eller afviser forespørgsler på den angivne port.",
|
||||||
"reset": ""
|
"reset": "Forbindelsen blev uventet lukket af serveren. Dette kan ske hvis serveren er ustabil eller genstartet."
|
||||||
},
|
},
|
||||||
"dns": {
|
"dns": {
|
||||||
"notFound": "",
|
"notFound": "Serveradressen kunne ikke findes. Tjek venligst URL'en for stave eller ugyldige domænenavne.",
|
||||||
"timeout": "",
|
"timeout": "DNS-opslag fik timeout. Dette kan være et midlertidigt problem - prøv igen om et øjeblik.",
|
||||||
"noAnswer": ""
|
"noAnswer": "DNS-serveren returnerede ikke et gyldigt svar. Domænet findes måske men har ingen gyldige poster."
|
||||||
},
|
},
|
||||||
"timeout": {
|
"timeout": {
|
||||||
"aborted": "",
|
"aborted": "Anmodningen blev afbrudt før den kunne fuldføres. Dette kan skyldes en bruger handling eller system timeout.",
|
||||||
"timeout": ""
|
"timeout": "Forespørgslen tog for lang tid at fuldføre og fik timeout. Tjek dit netværk eller prøv igen senere."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1004,7 +1004,7 @@
|
|||||||
"cancel": "Annuller",
|
"cancel": "Annuller",
|
||||||
"delete": "Slet",
|
"delete": "Slet",
|
||||||
"discard": "Kassér",
|
"discard": "Kassér",
|
||||||
"close": "",
|
"close": "Luk",
|
||||||
"confirm": "Bekræft",
|
"confirm": "Bekræft",
|
||||||
"continue": "Forsæt",
|
"continue": "Forsæt",
|
||||||
"previous": "Forrige",
|
"previous": "Forrige",
|
||||||
@@ -1220,7 +1220,7 @@
|
|||||||
"label": "Integrationer"
|
"label": "Integrationer"
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"label": ""
|
"label": "Titel"
|
||||||
},
|
},
|
||||||
"customCssClasses": {
|
"customCssClasses": {
|
||||||
"label": "Brugerdefinerede CSS-klasser"
|
"label": "Brugerdefinerede CSS-klasser"
|
||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Vis hukommelsesoplysninger"
|
"label": "Vis hukommelsesoplysninger"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": "Vis Oppetid"
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Vis information om filsystemet"
|
"label": "Vis information om filsystemet"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": "Standard fane"
|
"label": "Standard fane"
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": "Synlige klynge sektioner"
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": "Sektion indikator er et krav"
|
"label": "Sektion indikator er et krav"
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "Docker statistik",
|
||||||
|
"description": "Statistik for dine containere (Denne widget kan kun tilføjes med administratorrettigheder)",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": "Kunne ikke hente containerstatistik"
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "By / Postnummer",
|
"query": "By / Postnummer",
|
||||||
@@ -1898,8 +1912,8 @@
|
|||||||
"description": "Vis de aktuelle streams på dine medieservere",
|
"description": "Vis de aktuelle streams på dine medieservere",
|
||||||
"option": {
|
"option": {
|
||||||
"showOnlyPlaying": {
|
"showOnlyPlaying": {
|
||||||
"label": "",
|
"label": "Vis kun hvad der aktuelt afspilles",
|
||||||
"description": ""
|
"description": "Deaktivering af dette vil ikke virke for plex"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"items": {
|
"items": {
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": "Brug filteret til at beregne forholdet"
|
"label": "Brug filteret til at beregne forholdet"
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "Begræns elementer pr. integration",
|
||||||
|
"description": "Dette vil begrænse antallet af elementer vist pr. integration, ikke globalt"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2077,7 +2095,7 @@
|
|||||||
"approved": "Godkendt",
|
"approved": "Godkendt",
|
||||||
"declined": "Afvist",
|
"declined": "Afvist",
|
||||||
"failed": "Mislykket",
|
"failed": "Mislykket",
|
||||||
"completed": ""
|
"completed": "Fuldført"
|
||||||
},
|
},
|
||||||
"toBeDetermined": "TBD"
|
"toBeDetermined": "TBD"
|
||||||
},
|
},
|
||||||
@@ -2181,94 +2199,106 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"releases": {
|
"releases": {
|
||||||
"name": "",
|
"name": "Udgivelser",
|
||||||
"description": "",
|
"description": "Viser en liste over den aktuelle version af de givne depoter med den givne version regex.",
|
||||||
"option": {
|
"option": {
|
||||||
"newReleaseWithin": {
|
"newReleaseWithin": {
|
||||||
"label": "",
|
"label": "Ny Udgivelse Inden",
|
||||||
"description": ""
|
"description": "Anvendelseseksempel: 1w (1 uge), 10M (10 måneder). Accepterede enhedstyper h (timer), d (dage), w (uger), M (måneder), y (år). Lad være tom for ingen fremhævning af nye udgivelser."
|
||||||
},
|
},
|
||||||
"staleReleaseWithin": {
|
"staleReleaseWithin": {
|
||||||
"label": "",
|
"label": "Gamle Udgivelse Indenfor",
|
||||||
"description": ""
|
"description": "Anvendelseseksempel: 1w (1 uge), 10M (10 måneder). Accepterede enhedstyper h (timer), d (dage), w (uger), M (måneder), y (år). Lad være tom for ingen fremhævning af forældede udgivelser."
|
||||||
},
|
},
|
||||||
"showOnlyHighlighted": {
|
"showOnlyHighlighted": {
|
||||||
"label": "",
|
"label": "Vis Kun Fremhævede",
|
||||||
"description": ""
|
"description": "Vis kun nye eller forældede udgivelser. Som pr ovenfor."
|
||||||
},
|
},
|
||||||
"showDetails": {
|
"showDetails": {
|
||||||
"label": ""
|
"label": "Vis detaljer"
|
||||||
},
|
},
|
||||||
"topReleases": {
|
"topReleases": {
|
||||||
"label": "",
|
"label": "Top Udgivelser",
|
||||||
"description": ""
|
"description": "Det maksimale antal seneste udgivelser at vise. Nul betyder ingen grænse."
|
||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "Repositories",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": "Tilføj repository"
|
||||||
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
},
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": "Udbyder"
|
||||||
},
|
},
|
||||||
"identifier": {
|
"identifier": {
|
||||||
"label": "",
|
"label": "Identifikator",
|
||||||
"placeholder": ""
|
"placeholder": "Navn eller ejer/navn"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"label": ""
|
"label": "Navn"
|
||||||
},
|
},
|
||||||
"versionFilter": {
|
"versionFilter": {
|
||||||
"label": "",
|
"label": "Versionsfilter",
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"label": ""
|
"label": "Præfiks"
|
||||||
},
|
},
|
||||||
"precision": {
|
"precision": {
|
||||||
"label": "",
|
"label": "Præcision",
|
||||||
"options": {
|
"options": {
|
||||||
"none": ""
|
"none": "Ingen"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"suffix": {
|
"suffix": {
|
||||||
"label": ""
|
"label": "Suffiks"
|
||||||
},
|
},
|
||||||
"regex": {
|
"regex": {
|
||||||
"label": ""
|
"label": "Regulært Udtryk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"edit": {
|
"edit": {
|
||||||
"label": ""
|
"label": "Rediger"
|
||||||
},
|
},
|
||||||
"editForm": {
|
"editForm": {
|
||||||
"title": "",
|
"title": "Rediger Repository",
|
||||||
"cancel": {
|
"cancel": {
|
||||||
"label": ""
|
"label": "Annuller"
|
||||||
},
|
},
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"label": ""
|
"label": "Bekræft"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"example": {
|
"importForm": {
|
||||||
"label": ""
|
"title": ""
|
||||||
},
|
},
|
||||||
"invalid": ""
|
"example": {
|
||||||
|
"label": "Eksempel"
|
||||||
|
},
|
||||||
|
"invalid": "Ugyldig repository definition, tjek venligst værdierne"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"not-found": "",
|
"not-found": "Ikke fundet",
|
||||||
"pre-release": "",
|
"pre-release": "Pre-Release",
|
||||||
"archived": "",
|
"archived": "Arkiveret",
|
||||||
"forked": "",
|
"forked": "Forked",
|
||||||
"starsCount": "",
|
"starsCount": "Stjerner",
|
||||||
"forksCount": "",
|
"forksCount": "Forks",
|
||||||
"issuesCount": "",
|
"issuesCount": "Åbne Problemer",
|
||||||
"openProjectPage": "",
|
"openProjectPage": "Åbn Projektside",
|
||||||
"openReleasePage": "",
|
"openReleasePage": "Åbn Udgivelsesside",
|
||||||
"releaseDescription": "",
|
"releaseDescription": "Udgivelse Beskrivelse",
|
||||||
"created": "",
|
"created": "Oprettet",
|
||||||
"error": {
|
"error": {
|
||||||
"label": "",
|
"label": "Fejl",
|
||||||
"options": {
|
"options": {
|
||||||
"noMatchingVersion": ""
|
"noMatchingVersion": "Ingen matchende version fundet"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": "Netværkskontroller"
|
"label": "Netværkskontroller"
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": "Docker containers"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "Opdateret {when}",
|
"updated": "Opdateret {when}",
|
||||||
"search": "Søg {count} containere",
|
"search": "Søg {count} containere",
|
||||||
"selected": "{selectCount} af {totalCount} containere valgt"
|
"selected": "{selectCount} af {totalCount} containere valgt",
|
||||||
|
"footer": "Total {count} containere"
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": "Død"
|
"dead": "Død"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": "CPU"
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": "Hukommelse"
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "Billede"
|
"label": "Billede"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "Handlinger",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Start",
|
"label": "Start",
|
||||||
"notification": {
|
"notification": {
|
||||||
@@ -3625,7 +3668,7 @@
|
|||||||
"certificates": {
|
"certificates": {
|
||||||
"label": "Certifikater",
|
"label": "Certifikater",
|
||||||
"hostnames": {
|
"hostnames": {
|
||||||
"label": ""
|
"label": "Værtsnavne"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -4026,25 +4069,25 @@
|
|||||||
"certificate": {
|
"certificate": {
|
||||||
"field": {
|
"field": {
|
||||||
"hostname": {
|
"hostname": {
|
||||||
"label": ""
|
"label": "Værtsnavn"
|
||||||
},
|
},
|
||||||
"subject": {
|
"subject": {
|
||||||
"label": ""
|
"label": "Emne"
|
||||||
},
|
},
|
||||||
"issuer": {
|
"issuer": {
|
||||||
"label": ""
|
"label": "Udsteder"
|
||||||
},
|
},
|
||||||
"validFrom": {
|
"validFrom": {
|
||||||
"label": ""
|
"label": "Gyldig fra"
|
||||||
},
|
},
|
||||||
"validTo": {
|
"validTo": {
|
||||||
"label": ""
|
"label": "Gyldig til"
|
||||||
},
|
},
|
||||||
"serialNumber": {
|
"serialNumber": {
|
||||||
"label": ""
|
"label": "Serienummer"
|
||||||
},
|
},
|
||||||
"fingerprint": {
|
"fingerprint": {
|
||||||
"label": ""
|
"label": "Fingeraftryk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"page": {
|
"page": {
|
||||||
@@ -4055,19 +4098,19 @@
|
|||||||
"title": "Der er endnu ingen certifikater"
|
"title": "Der er endnu ingen certifikater"
|
||||||
},
|
},
|
||||||
"invalid": {
|
"invalid": {
|
||||||
"title": "",
|
"title": "Ugyldigt certifikat",
|
||||||
"description": ""
|
"description": "Kunne ikke fortolke certifikat"
|
||||||
},
|
},
|
||||||
"expires": "Udløber {when}",
|
"expires": "Udløber {when}",
|
||||||
"toHostnames": ""
|
"toHostnames": "Betroede værtsnavne"
|
||||||
},
|
},
|
||||||
"hostnames": {
|
"hostnames": {
|
||||||
"title": "",
|
"title": "Betroet certifikat værtsnavne",
|
||||||
"description": "",
|
"description": "Nogle certifikater tillader ikke det specifikke domæne Homarr bruger til at anmode om dem, på grund af dette alle betroede værtsnavne med deres certifikat thumbprints bruges til at omgå disse restriktioner.",
|
||||||
"noResults": {
|
"noResults": {
|
||||||
"title": ""
|
"title": "Der er endnu ingen værtsnavne"
|
||||||
},
|
},
|
||||||
"toCertificates": ""
|
"toCertificates": "Certifikater"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
@@ -4099,16 +4142,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"removeHostname": {
|
"removeHostname": {
|
||||||
"label": "",
|
"label": "Fjern betroet værtsnavn",
|
||||||
"confirm": "",
|
"confirm": "Er du sikker på du vil fjerne dette betroede værtsnavn? Dette kan få nogle integrationer til at stoppe med at virke.",
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"title": "",
|
"title": "Værtsnavn fjernet",
|
||||||
"message": ""
|
"message": "Værtsnavnet blev fjernet korrekt"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": "",
|
"title": "Værtsnavn ikke fjernet",
|
||||||
"message": ""
|
"message": "Værtsnavnet kunne ikke fjernes"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Speicher-Info anzeigen"
|
"label": "Speicher-Info anzeigen"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Dateisystem Info anzeigen"
|
"label": "Dateisystem Info anzeigen"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": "Standard Tab"
|
"label": "Standard Tab"
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": "Anforderung der Sektionsindikatoren"
|
"label": "Anforderung der Sektionsindikatoren"
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "Stadt / Postleitzahl",
|
"query": "Stadt / Postleitzahl",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": "Filter zur Berechnung des Verhältnisses verwenden"
|
"label": "Filter zur Berechnung des Verhältnisses verwenden"
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "Aktualisiert {when}",
|
"updated": "Aktualisiert {when}",
|
||||||
"search": "{count} Container durchsuchen",
|
"search": "{count} Container durchsuchen",
|
||||||
"selected": "{selectCount} von {totalCount} ausgewählten Containern"
|
"selected": "{selectCount} von {totalCount} ausgewählten Containern",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": "Tot"
|
"dead": "Tot"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Starten",
|
"label": "Starten",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Speicher-Info anzeigen"
|
"label": "Speicher-Info anzeigen"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Dateisystem Info anzeigen"
|
"label": "Dateisystem Info anzeigen"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": "Standard Tab"
|
"label": "Standard Tab"
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": "Anforderung der Sektionsindikatoren"
|
"label": "Anforderung der Sektionsindikatoren"
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "Stadt / Postleitzahl",
|
"query": "Stadt / Postleitzahl",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": "Filter zur Berechnung des Verhältnisses verwenden"
|
"label": "Filter zur Berechnung des Verhältnisses verwenden"
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "Repositories",
|
"label": "Repositories",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": "Repository hinzufügen"
|
"label": "Repository hinzufügen"
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": "Anbieter"
|
"label": "Anbieter"
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": "Bestätigen"
|
"label": "Bestätigen"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": "Beispiel"
|
"label": "Beispiel"
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": "Netzwerk Controller"
|
"label": "Netzwerk Controller"
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "Aktualisiert {when}",
|
"updated": "Aktualisiert {when}",
|
||||||
"search": "{count} Container durchsuchen",
|
"search": "{count} Container durchsuchen",
|
||||||
"selected": "{selectCount} von {totalCount} ausgewählten Containern"
|
"selected": "{selectCount} von {totalCount} ausgewählten Containern",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": "Tot"
|
"dead": "Tot"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "Image"
|
"label": "Image"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Starten",
|
"label": "Starten",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Εμφάνιση Πληροφοριών Μνήμης"
|
"label": "Εμφάνιση Πληροφοριών Μνήμης"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Εμφάνιση Πληροφοριών Συστήματος Αρχείων"
|
"label": "Εμφάνιση Πληροφοριών Συστήματος Αρχείων"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "Εικόνα"
|
"label": "Εικόνα"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Έναρξη",
|
"label": "Έναρξη",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Show Memory Info"
|
"label": "Show Memory Info"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": "Show Uptime"
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Show Filesystem Info"
|
"label": "Show Filesystem Info"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": "Default tab"
|
"label": "Default tab"
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": "Visible cluster sections"
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": "Section indicator requirement"
|
"label": "Section indicator requirement"
|
||||||
}
|
}
|
||||||
@@ -1953,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": "Use filter to calculate Ratio"
|
"label": "Use filter to calculate Ratio"
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "Limit items per integration",
|
||||||
|
"description": "This will limit the number of items shown per integration, not globally"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2213,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "Repositories",
|
"label": "Repositories",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": "Add repository"
|
"label": "Add repository"
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "Import from docker",
|
||||||
|
"loading": "Loading docker images",
|
||||||
|
"noImagesFound": "No docker images found",
|
||||||
|
"listFoundImages": "List of found images",
|
||||||
|
"listAlreadyImportedImages": "List of already imported images",
|
||||||
|
"allImagesAlreadyImported": "All images already imported",
|
||||||
|
"onlyAdminCanImport": "Only administrators can import from docker"
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": "Provider"
|
"label": "Provider"
|
||||||
},
|
},
|
||||||
@@ -2256,6 +2275,9 @@
|
|||||||
"label": "Confirm"
|
"label": "Confirm"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": "Import from Docker"
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": "Example"
|
"label": "Example"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Mostrar información de la memoria"
|
"label": "Mostrar información de la memoria"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Mostrar información del sistema de archivos"
|
"label": "Mostrar información del sistema de archivos"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "Imagen"
|
"label": "Imagen"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Iniciar",
|
"label": "Iniciar",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -747,7 +747,7 @@
|
|||||||
"message": ""
|
"message": ""
|
||||||
},
|
},
|
||||||
"hostnameMismatch": {
|
"hostnameMismatch": {
|
||||||
"title": "",
|
"title": "Nom d'hôte incohérent",
|
||||||
"message": ""
|
"message": ""
|
||||||
},
|
},
|
||||||
"extract": {
|
"extract": {
|
||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Afficher les infos de la mémoire"
|
"label": "Afficher les infos de la mémoire"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Afficher les infos sur le système de fichiers"
|
"label": "Afficher les infos sur le système de fichiers"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": "Onglet par défaut"
|
"label": "Onglet par défaut"
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": "Exigence de l'indicateur de section"
|
"label": "Exigence de l'indicateur de section"
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "Ville / Code Postal",
|
"query": "Ville / Code Postal",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": "Utiliser le filtre pour calculer le ratio"
|
"label": "Utiliser le filtre pour calculer le ratio"
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "Mis à jour {when}",
|
"updated": "Mis à jour {when}",
|
||||||
"search": "Rechercher dans {count} conteneurs",
|
"search": "Rechercher dans {count} conteneurs",
|
||||||
"selected": "{selectCount} sur {totalCount} conteneurs sélectionnés"
|
"selected": "{selectCount} sur {totalCount} conteneurs sélectionnés",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": "Mort"
|
"dead": "Mort"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "Image"
|
"label": "Image"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Début",
|
"label": "Début",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "הצג מידע זיכרון"
|
"label": "הצג מידע זיכרון"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": "הצג זמן פעולה"
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "הצג מידע על מערכת הקבצים"
|
"label": "הצג מידע על מערכת הקבצים"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": "כרטיסיית ברירת מחדל"
|
"label": "כרטיסיית ברירת מחדל"
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": "מקטעי אשכול גלויים"
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": "דרישת מציין מקטע"
|
"label": "דרישת מציין מקטע"
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "סטטיסטיקות דוקר",
|
||||||
|
"description": "סטטיסטיקות של המכולות שלך (ניתן להוסיף ווידג'ט זה רק עם הרשאות מנהל)",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": "נכשל באחזור סטטיסטיקות המכולות"
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "עיר / מיקוד",
|
"query": "עיר / מיקוד",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": "השתמש במסנן כדי לחשב יחס"
|
"label": "השתמש במסנן כדי לחשב יחס"
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "הגבלת פריטים לכל אינטגרציה",
|
||||||
|
"description": "פעולה זו תגביל את מספר הפריטים המוצגים בכל אינטגרציה, לא באופן גלובלי"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "מאגרים",
|
"label": "מאגרים",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": "הוסף מאגר"
|
"label": "הוסף מאגר"
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": "ספק"
|
"label": "ספק"
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": "אשר"
|
"label": "אשר"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": "דוגמא"
|
"label": "דוגמא"
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": "בקר רשת"
|
"label": "בקר רשת"
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": "מכולות דוקר"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "עודכן ב- {when}",
|
"updated": "עודכן ב- {when}",
|
||||||
"search": "חפש {count} קונטיינרים",
|
"search": "חפש {count} קונטיינרים",
|
||||||
"selected": "{selectCount} מ- {totalCount} קונטיינרים נבחרו"
|
"selected": "{selectCount} מ- {totalCount} קונטיינרים נבחרו",
|
||||||
|
"footer": "סה״כ {count} קונטיינרים"
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": "מת"
|
"dead": "מת"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": "מעבד"
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": "זיכרון"
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "קובץ תמונה"
|
"label": "קובץ תמונה"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "פעולות",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "התחל",
|
"label": "התחל",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "Slika"
|
"label": "Slika"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Pokreni",
|
"label": "Pokreni",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Memóriainformációk megjelenítése"
|
"label": "Memóriainformációk megjelenítése"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Fájlrendszer-információk megjelenítése"
|
"label": "Fájlrendszer-információk megjelenítése"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "Kép"
|
"label": "Kép"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Indítás",
|
"label": "Indítás",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "Mostra Informazioni Memoria"
|
"label": "Mostra Informazioni Memoria"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "Mostra Informazioni Filesystem"
|
"label": "Mostra Informazioni Filesystem"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "Immagine"
|
"label": "Immagine"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "Avvia",
|
"label": "Avvia",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
@@ -1757,12 +1757,18 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"label": "メモリー情報を表示"
|
"label": "メモリー情報を表示"
|
||||||
},
|
},
|
||||||
|
"showUptime": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"fileSystem": {
|
"fileSystem": {
|
||||||
"label": "ファイルシステム情報を表示"
|
"label": "ファイルシステム情報を表示"
|
||||||
},
|
},
|
||||||
"defaultTab": {
|
"defaultTab": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"visibleClusterSections": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
"sectionIndicatorRequirement": {
|
"sectionIndicatorRequirement": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
@@ -1832,6 +1838,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"name": "",
|
||||||
|
"description": "",
|
||||||
|
"option": {},
|
||||||
|
"error": {
|
||||||
|
"internalServerError": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"location": {
|
"location": {
|
||||||
"query": "",
|
"query": "",
|
||||||
@@ -1945,6 +1959,10 @@
|
|||||||
},
|
},
|
||||||
"applyFilterToRatio": {
|
"applyFilterToRatio": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"limitPerIntegration": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -2205,9 +2223,18 @@
|
|||||||
},
|
},
|
||||||
"repositories": {
|
"repositories": {
|
||||||
"label": "",
|
"label": "",
|
||||||
"addRRepository": {
|
"addRepository": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"importRepositories": {
|
||||||
|
"label": "",
|
||||||
|
"loading": "",
|
||||||
|
"noImagesFound": "",
|
||||||
|
"listFoundImages": "",
|
||||||
|
"listAlreadyImportedImages": "",
|
||||||
|
"allImagesAlreadyImported": "",
|
||||||
|
"onlyAdminCanImport": ""
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -2248,6 +2275,9 @@
|
|||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"importForm": {
|
||||||
|
"title": ""
|
||||||
|
},
|
||||||
"example": {
|
"example": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -3091,6 +3121,9 @@
|
|||||||
},
|
},
|
||||||
"networkController": {
|
"networkController": {
|
||||||
"label": ""
|
"label": ""
|
||||||
|
},
|
||||||
|
"dockerContainers": {
|
||||||
|
"label": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3155,7 +3188,8 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "",
|
"updated": "",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "",
|
||||||
|
"footer": ""
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -3173,6 +3207,14 @@
|
|||||||
"dead": ""
|
"dead": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"stats": {
|
||||||
|
"cpu": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"label": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"containerImage": {
|
"containerImage": {
|
||||||
"label": "画像"
|
"label": "画像"
|
||||||
},
|
},
|
||||||
@@ -3181,6 +3223,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"title": "",
|
||||||
"start": {
|
"start": {
|
||||||
"label": "開始",
|
"label": "開始",
|
||||||
"notification": {
|
"notification": {
|
||||||
|
|||||||
Loaded 100 of 140 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user