Commit Graph

98 Commits

Author SHA1 Message Date
homarr-renovate[bot]
982ab4393e chore(deps): update dependency typescript to ^5.7.2 (#1523)
* chore(deps): update dependency typescript to ^5.7.2

* chore(deps): update dependency typescript to ^5.7.2

* fix: typecheck issue

* fix: typecheck issue

---------

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
2024-11-23 19:39:20 +01:00
Meier Lukas
32ee9f3dcc refactor: add request handlers for centralized cached requests (#1504)
* feat: add object base64 hash method

* chore: add script to add package

* feat: add request-handler package

* wip: add request handlers for all jobs and widget api procedures

* wip: remove errors shown in logs, add missing decryption for secrets in cached-request-job-handler

* wip: highly improve request handler, add request handlers for calendar, media-server, indexer-manager and more, add support for multiple inputs from job handler creator

* refactor: move media-server requests to request-handler, add invalidation logic for dns-hole and media requests

* refactor: remove unused integration item middleware

* feat: add invalidation to switch entity action of smart-home

* fix: lint issues

* chore: use integration-kind-by-category instead of union for request-handlers

* fix: build not working for tasks and websocket

* refactor: add more logs

* refactor: readd timestamp logic for diconnect status

* fix: lint and typecheck issue

* chore: address pull request feedback
2024-11-23 17:16:44 +01:00
homarr-renovate[bot]
cdfb61fb28 fix(deps): update dependency tldts to ^6.1.64 (#1529)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-23 14:39:52 +00:00
homarr-renovate[bot]
86ae346979 fix(deps): update dependency tldts to ^6.1.63 (#1519)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-22 02:20:10 +00:00
homarr-renovate[bot]
a2a65abd3d fix(deps): update dependency tldts to ^6.1.62 (#1514)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-20 20:41:36 +00:00
homarr-renovate[bot]
e233d60f87 chore(deps): update dependency eslint to ^9.15.0 (#1490)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
2024-11-18 19:34:07 +01:00
homarr-renovate[bot]
ccee3dd217 fix(deps): update nextjs monorepo to ^14.2.18 (#1479)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-13 21:35:08 +00:00
homarr-renovate[bot]
3ca97fef0b fix(deps): update dependency tldts to ^6.1.61 (#1474)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-13 09:28:55 +00:00
homarr-renovate[bot]
4ab40c6fa8 fix(deps): update dependency tldts to ^6.1.60 (#1460)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-10 10:30:11 +00:00
homarr-renovate[bot]
2a7d648049 fix(deps): update dependency tldts to ^6.1.59 (#1447)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-08 00:48:19 +00:00
homarr-renovate[bot]
cd18458d0c fix(deps): update nextjs monorepo to ^14.2.17 (#1435)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-06 00:49:02 +00:00
Meier Lukas
0ff7c8903b feat: add support for all languages from old homarr (#1394)
* feat: add support for all languages from old homarr

* fix: add mantine-react-table translations, remove arabic language

* refactor: change translations to json for better crowdin support

* fix: issues with loading dayjs and mantine-react-table translations

* chore: add additional translations with variables

* fix: format and deepsource issues

* fix: test failing because of missing coverage exclusions

* fix: format issues

* fix: format issue
2024-11-03 00:11:27 +01:00
homarr-renovate[bot]
baabf71707 fix(deps): update dependency tldts to ^6.1.58 (#1400)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-02 08:14:10 +00:00
homarr-renovate[bot]
3ff8539fec chore(deps): update dependency eslint to ^9.14.0 (#1396)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-11-01 19:24:24 +00:00
homarr-renovate[bot]
8da1dd0d5f fix(deps): update dependency tldts to ^6.1.57 (#1386)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-29 06:53:02 +00:00
Meier Lukas
4502569223 refactor: move from next-international to next-intl (#1368)
* refactor: move from next-international to next-intl

* refactor: restructure translation package,

* chore: change i18n-allay framework to next-intl

* fix: add missing bold html tag to translation

* fix: format issue

* fix: address deepsource issues

* fix: remove international-types dependency

* fix: lint and typecheck issues

* fix: typecheck issue

* fix: typecheck issue

* fix: issue with translations
2024-10-26 22:46:14 +02:00
homarr-renovate[bot]
f8c21f6000 fix(deps): update dependency tldts to ^6.1.56 (#1375)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-26 10:48:09 +00:00
homarr-renovate[bot]
3a6e957710 fix(deps): update dependency tldts to ^6.1.55 (#1369)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-24 23:27:09 +00:00
homarr-renovate[bot]
aea65eadcd fix(deps): update nextjs monorepo to ^14.2.16 (#1355)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-23 02:58:20 +00:00
homarr-renovate[bot]
e062ea1507 fix(deps): update dependency tldts to ^6.1.54 (#1353)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-22 21:10:26 +00:00
homarr-renovate[bot]
a8c36f35c3 fix(deps): update dependency tldts to ^6.1.53 (#1351)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-22 06:51:30 +00:00
homarr-renovate[bot]
d40655134f chore(deps): update dependency eslint to ^9.13.0 (#1330)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-18 21:27:06 +00:00
homarr-renovate[bot]
c4ec4f3c66 fix(deps): update dependency tldts to ^6.1.52 (#1307)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-16 13:48:21 +00:00
homarr-renovate[bot]
0fadc28a12 fix(deps): update dependency tldts to ^6.1.51 (#1288)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-12 09:28:18 +00:00
homarr-renovate[bot]
388717ec3c chore(deps): update dependency typescript to ^5.6.3 (#1271)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-08 22:31:09 +00:00
homarr-renovate[bot]
2bbe594cd2 fix(deps): update nextjs monorepo to ^14.2.15 (#1270)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-08 21:27:57 +00:00
homarr-renovate[bot]
41538a7366 chore(deps): update dependency eslint to ^9.12.0 (#1241)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-04 20:48:44 +00:00
Meier Lukas
52b45d835d feat(docker): add encryption key generation for integration secrets (#1202)
* feat(docker): add encryption key generation for integration secrets

* chore: address pull request feedback

* fix: build failing

* fix: docker build fails because of error when encryption key not defined
2024-10-03 19:59:44 +02:00
homarr-renovate[bot]
17572bc602 fix(deps): update dependency tldts to ^6.1.50 (#1228)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-03 17:10:16 +00:00
homarr-renovate[bot]
2f3619b68d fix(deps): update dependency tldts to ^6.1.49 (#1216)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-02 08:15:41 +00:00
homarr-renovate[bot]
6f5c993510 fix(deps): update nextjs monorepo to ^14.2.14 (#1215)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-01 17:48:46 +00:00
homarr-renovate[bot]
f6c7271fb4 fix(deps): update dependency tldts to ^6.1.48 (#1190)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-27 15:11:35 +00:00
Meier Lukas
8f7ed056c4 fix: issue with color scheme in layout (#1168)
* fix: issue with color scheme in layout

* test: add and adjust unit tests for sign-in-callback
2024-09-26 19:02:45 +02:00
homarr-renovate[bot]
141c65149a chore(deps): update dependency eslint to ^9.11.1 (#1167)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-23 21:34:24 +00:00
homarr-renovate[bot]
6692c83fbf chore(deps): update dependency eslint to ^9.11.0 (#1157)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-20 20:39:16 +00:00
homarr-renovate[bot]
2258dc3ec6 fix(deps): update nextjs monorepo to ^14.2.13 (#1154)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-20 02:11:53 +00:00
homarr-renovate[bot]
aa2d440acb fix(deps): update dependency tldts to ^6.1.47 (#1152)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-19 19:48:33 +00:00
homarr-renovate[bot]
8f5d7f8387 fix(deps): update nextjs monorepo to ^14.2.12 (#1146)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-18 07:48:58 +00:00
Meier Lukas
6738296830 refactor: move modals to seperate package (#1135)
* refactor: move modals to seperate package

* fix: format issue

* fix: lint issues

* fix: format issue

* fix: only used as type
2024-09-16 19:53:37 +02:00
homarr-renovate[bot]
aca5c279b5 fix(deps): update dependency tldts to ^6.1.46 (#1128)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-15 18:34:25 +00:00
homarr-renovate[bot]
7059a3d88f fix(deps): update dependency tldts to ^6.1.45 (#1121)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-14 09:26:15 +00:00
homarr-renovate[bot]
7a56006533 fix(deps): update nextjs monorepo to ^14.2.11 (#1117)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-12 22:48:47 +00:00
homarr-renovate[bot]
fb55f1272d fix(deps): update nextjs monorepo to ^14.2.10 (#1109)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-12 18:50:17 +00:00
Manuel
2535192b2c feat: downloads widget (#844)
Usenet and Torrent downloads in 1 widget.
sabNZBd, NzbGet, Deluge, qBitTorrent, and transmission support.
Columns can be reordered in Edit mode.
Sorting enabled.
Time uses Dayjs with auto translation.
Can pause/resume single items, clients, or all.
Can delete items (With option to delete assossiated files).
Clients list and details.
Include all filtering and processing for ratio from oldmarr torrent widget.
Invalidation of old data (older than 30 seconds) to show an integration is not responding anymore.

Misc (So many miscs):
Fixed validation error with multiText.
Fixed translation application for multiSelect to behave the same as select.
Added background to gitignore (I needed to add a background to visually test opacity, probably will in the future too)
Added setOptions to frontend components so potential updates made from the Dashboard can be saved.
Extracted background and border color to use in widgets.
humanFileSize function based on the si format (powers of 1024, not 1000).
Improved integrationCreatorByKind by @Meierschlumpf.
Changed integrationCreatorByKind to integrationCreator so it functions directly from the integration.
Added integrationCreatorFromSecrets to directly work with secrets from db.
Added getIntegrationKindsByCategory to get a list of integrations sharing categories.
Added IntegrationKindByCategory type to get the types possible for a category (Great to cast on integration.kind that isn't already properly limited/typed but for which we know the limitation)
Added a common AtLeastOneOf type. Applied to TKind and IntegrationSecretKind[] where it was already being used and Added to the getIntegrationKindsByCategory's output to be more freely used.
Added the Modify type, instead of omiting to then add again just to change a parameters type, use the modify instead. Applied code wide already.
Hook to get list of integration depending on permission level of user. (By @Meierschlumpf)
2024-09-11 17:30:21 +02:00
homarr-renovate[bot]
18347fef3b fix(deps): update dependency tldts to ^6.1.44 (#1095)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-10 12:21:48 +00:00
homarr-renovate[bot]
3f076fafcd fix(deps): update nextjs monorepo to ^14.2.9 (#1091)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-09 19:21:59 +00:00
homarr-renovate[bot]
8069d7acf0 chore(deps): update dependency typescript to ^5.6.2 (#1088)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-09 16:49:18 +00:00
homarr-renovate[bot]
fc1bff2110 fix(deps): update dependency tldts to ^6.1.43 (#1080)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-07 10:48:21 +00:00
homarr-renovate[bot]
d20384dfe0 chore(deps): update dependency eslint to ^9.10.0 (#1078)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-06 20:35:26 +00:00
homarr-renovate[bot]
247de555ce fix(deps): update dependency tldts to ^6.1.42 (#1069)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-05 16:34:36 +00:00