Commit Graph

161 Commits

Author SHA1 Message Date
Meier Lukas
2f1c800844 feat: add everyone group (#1322)
* feat: add everyone group through seed

* feat: add reserved group name check in group router actions

* feat: improve user interface for everyone group

* fix: reserved group alert is a server component

* feat: add all users to everyone group

* chore: update lockfile

* fix: format issues

* fix: lint issues

* fix: lint format issues

* test: add unit tests for everyone group

* refactor: add codegen for documentation urls by sitemap

* refactor: change group query to count

* chore: remove migrations temporarily

* chore: add migrations again

* chore: add lint rule to prevent usage of raw documentation links

* fix: format issues
2024-10-21 17:23:51 +02:00
homarr-renovate[bot]
278107a1a4 fix(deps): update dependency next-auth to v5.0.0-beta.25 (#1341)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-19 21:10:50 +00:00
homarr-renovate[bot]
c5cc21a4b0 fix(deps): update dependency @auth/drizzle-adapter to ^1.7.2 (#1339)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-19 20:40:19 +00:00
homarr-renovate[bot]
aa2d2f8c4b fix(deps): update dependency @auth/core to ^0.37.2 (#1338)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-19 20:29:37 +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]
c52fd972b7 fix(deps): update dependency next-auth to v5.0.0-beta.23 (#1325)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-18 17:48:55 +00:00
homarr-renovate[bot]
b1393fa59b fix(deps): update dependency @auth/drizzle-adapter to ^1.7.1 (#1324)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-18 17:39:32 +00:00
homarr-renovate[bot]
dac2b5063b fix(deps): update dependency @auth/core to ^0.37.1 (#1323)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-18 17:29:44 +00:00
Meier Lukas
12105b3b29 fix: inconsistent session cookie (#1310) 2024-10-16 21:46:12 +02:00
Meier Lukas
cd77acdfab fix: prevent flickering by removing auto color scheme and default background color (#1299)
* fix: prevent flickering by removing auto color scheme and default background color

* fix: typecheck issue
2024-10-16 21:44:53 +02:00
Meier Lukas
511c9a4dbb fix: credentials auth not working (#1284) 2024-10-11 23:36:05 +02:00
homarr-renovate[bot]
8bcba350d5 fix(deps): update dependency @auth/core to ^0.37.0 (#1272)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-09 02:13:10 +00:00
homarr-renovate[bot]
a44ead09a3 fix(deps): update dependency @auth/drizzle-adapter to ^1.7.0 (#1273)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-09 00:48:35 +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
Meier Lukas
eb21628ee4 refactor: replace signIn callback with signIn event, adjust getUserByEmail in adapter to check provider (#1223)
* refactor: replace signIn callback with signIn event, adjust getUserByEmail in adapter to check provider

* test: adjusting tests for adapter and events

* docs: add comments for unknown auth provider

* fix: missing dayjs import
2024-10-07 21:13:15 +02:00
homarr-renovate[bot]
dea62547e0 fix(deps): update dependency @auth/drizzle-adapter to ^1.6.1 (#1258)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-07 02:16:47 +00:00
homarr-renovate[bot]
9c5ca6f906 fix(deps): update dependency @auth/drizzle-adapter to ^1.6.0 (#1251)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-05 17:48:50 +00:00
homarr-renovate[bot]
d0d2a82a68 fix(deps): update dependency @auth/core to ^0.36.0 (#1250)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-10-05 17:38:25 +00:00
Meier Lukas
1421ccc917 fix: permissions not restricted for certain management pages / actions (#1219)
* fix: restrict parts of manage navigation to admins

* fix: restrict stats cards on manage home page

* fix: restrict access to amount of certain stats for manage home

* fix: restrict visibility of board create button

* fix: restrict access to integration pages

* fix: restrict access to tools pages for admins

* fix: restrict access to user and group pages

* test: adjust tests to match permission changes for routes

* fix: remove certain pages from spotlight without admin

* fix: app management not restricted
2024-10-05 17:03:32 +02:00
Manuel
b14f82b4bb feat: add api keys (#991)
* feat: add api keys

* chore: address pull request feedback

---------

Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
2024-10-05 16:18:31 +02: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
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
Meier Lukas
61333094df feat: add member sync between groups of ldap and homarr (#1149)
* feat: add member sync between groups of ldap and homarr

* chore: remove temporary console statement

* test: add unit tests for adding and removing ldap group members
2024-10-01 16:46:18 +02:00
homarr-renovate[bot]
1b0d927e88 fix(deps): update dependency ldapts to v7.2.1 (#1211)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-30 22:48:25 +00:00
homarr-renovate[bot]
c3e1ce30fa fix(deps): update dependency next-auth to v5.0.0-beta.22 (#1195)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-28 03:48:21 +00:00
homarr-renovate[bot]
adb59b292b fix(deps): update dependency @auth/drizzle-adapter to ^1.5.3 (#1194)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-27 20:13:22 +00:00
homarr-renovate[bot]
1994a5938d fix(deps): update dependency @auth/core to ^0.35.3 (#1193)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-27 19:23:18 +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]
17d6229a0f fix(deps): update dependency @auth/drizzle-adapter to ^1.5.2 (#1181)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-25 18:36:56 +00:00
homarr-renovate[bot]
f495383bcf fix(deps): update dependency @auth/core to ^0.35.2 (#1180)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-25 13:25:00 +00:00
homarr-renovate[bot]
4e431b4f89 fix(deps): update dependency @auth/drizzle-adapter to ^1.5.1 (#1177)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-25 09:40:02 +00:00
homarr-renovate[bot]
16e7f938bd fix(deps): update dependency @auth/core to ^0.35.1 (#1176)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-25 09:30:02 +00: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
Meier Lukas
ce1ef3cbe7 feat: add improved search (#1051)
* feat: add improved search

* wip: add support for sorting, rename use-options to use-query-options, add use-options for local usage, add pages search group

* feat: add help links from manage layout to help search mode

* feat: add additional search engines

* feat: add group search details

* refactor: improve users search group type

* feat: add apps search group, add disabled search interaction

* feat: add integrations and boards for search

* wip: hook issue with react

* fix: hook issue regarding actions and interactions

* chore: address pull request feedback

* fix: format issues

* feat: add additional global actions to search

* chore: remove unused code

* fix: search engine short key

* fix: typecheck issues

* fix: deepsource issues

* fix: eslint issue

* fix: lint issues

* fix: unordered dependencies

* chore: address pull request feedback
2024-09-20 16:51:42 +02: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]
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
homarr-renovate[bot]
5a73700f57 fix(deps): update dependency next-auth to v5.0.0-beta.21 (#1131)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-16 17:33:37 +00:00
homarr-renovate[bot]
f9cc34c12f fix(deps): update dependency @auth/core to ^0.35.0 (#1129)
* fix(deps): update dependency @auth/core to ^0.35.0

* fix(deps): update dependency @auth/core to ^0.35.0

* fix: type issue

---------

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
2024-09-16 18:42:45 +02:00
homarr-renovate[bot]
929054d5bd fix(deps): update dependency @auth/drizzle-adapter to ^1.5.0 (#1130)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-16 09:48:33 +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]
9d5007c05c fix(deps): update dependency ldapts to v7.2.0 (#1097)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-10 18:35:15 +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]
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]
ca83872151 fix(deps): update nextjs monorepo to ^14.2.8 (#1067)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-09-04 22:29:57 +00:00
Meier Lukas
b080e0de71 feat: add colorscheme to user in db (#987) 2024-09-01 20:37:52 +02:00