Commit Graph
100 Commits
Author SHA1 Message Date
Meier Lukas 8e4d67c3eb feat: add not found pages for boards (#1671) 2024-12-16 17:25:44 +01:00
Meier Lukas e3bf3f371c test: reduce flakiness of nzbget and sabnzbd (#1669) 2024-12-16 15:06:31 +01:00
Meier Lukas 922101dcbd fix: issues found in security audit (#1668) 2024-12-15 21:16:42 +01:00
Meier Lukas 6de74d9525 feat: add onboarding with oldmarr import (#1606) 2024-12-15 15:40:26 +01:00
Meier Lukas 82ec77d2da fix: icon picker keyboard interactions (#1666) 2024-12-15 15:31:45 +01:00
Meier Lukas f330c7e4f1 fix: auto-merge crowdin pr not working (#1664) 2024-12-15 13:11:49 +01:00
Meier Lukas 5bdc669e07 fix: auto-merge for crowdin download pull request not working (#1661) 2024-12-15 13:02:44 +01:00
Meier Lukas f857105994 fix: trpc error at least one integration (#1660) 2024-12-15 13:00:53 +01:00
Meier Lukas 60311918ce feat: add error page for docker tools page (#1655) 2024-12-15 12:34:42 +01:00
Meier Lukas cf9656d91e fix: styles for light mode (#1645) 2024-12-14 15:19:18 +01:00
Meier Lukas db7058fdd9 chore(docs): updated docs sitemap (#1639) 2024-12-10 20:45:43 +01:00
Meier Lukas b6733c678c ci: add auto-merge after crowdin download and automatic approval (#1632) 2024-12-10 20:36:00 +01:00
Meier Lukas c840ff85bc feat: add context specific search and actions (#1570) 2024-12-06 19:07:27 +01:00
Meier LukasandManuel 71f4f8c4c8 feat: pretty-print-error to print errors in console (#1596)
Co-authored-by: Manuel <30572287+manuel-rw@users.noreply.github.com>
2024-12-05 17:24:23 +01:00
Meier Lukas a5b366a92e chore: add skip_untranslated_strings option for crowdin download 2024-12-05 06:18:54 +01:00
Meier Lukas f38f3438c9 chore: add workflow_dispatch to crowdin_upload for initial translation upload 2024-12-04 21:50:48 +01:00
Meier Lukas 096f03432c feat: integrate crowdin #1402 (#1599) 2024-12-04 21:43:02 +01:00
Meier Lukas bf45860966 fix(deps): update gridstack.js fork to v1.11.2 (#1605) 2024-12-04 21:38:29 +01:00
Meier Lukas 2686dad630 fix: remove unnecessary complex copy and build steps in dockerfile (#1595) 2024-12-04 21:37:27 +01:00
Meier Lukas b277f444b2 fix: trailing slash integration url issues (#1571) 2024-11-30 10:54:50 +01:00
Meier Lukas 2d7efc3ffa fix: open-api doc generation failing, post patch and delete not exported (#1565) 2024-11-28 20:21:29 +01:00
Meier Lukas 52d2a88b61 fix: moving categories up and down is not working (#1542) 2024-11-27 21:00:10 +01:00
Meier Lukas 7e349bb04b refactor: improve design of no integrations found (#1543)
* refactor: improve design of no integrations found

* fix: deepsource issue
2024-11-25 17:31:14 +01:00
Meier Lukas 74e1b6b544 fix: transfer group not invalidating path (#1539) 2024-11-24 13:45:00 +01:00
Meier Lukas 1c4d4f4e9d fix: rename default to home board (#1538) 2024-11-24 13:44:43 +01:00
Meier Lukas ecf299e03b fix: icon picker suspense issue (#1533)
* fix: icon picker suspense issue

* fix: remove unused variable
2024-11-24 13:44:15 +01:00
Meier Lukas 225356cc4f fix: add beforeunload logic for board in edit mode (#1531) 2024-11-24 13:43:50 +01:00
Meier Lukas 32e6b8ee45 fix: external users can be added to groups manually (#1540) 2024-11-24 13:43:25 +01:00
Meier Lukas 4a94d602c0 fix: auth broken cause of consistent table column rename (#1532) 2024-11-23 17:43:28 +01:00
Meier Lukas 9fb14df210 feat: replace home page with home board (#1530) 2024-11-23 17:19:46 +01:00
Meier Lukas 38143b679e fix: matcher for translation middleware only supports en and de (#1528) 2024-11-23 17:19:04 +01:00
Meier Lukas 1fc48f9db0 feat: add permission section to create user page (#1524)
* feat: add permission section to create user page

* fix: deepsource issues
2024-11-23 17:18:29 +01:00
Meier Lukas 8fea983c2e refactor: make casing for column names consistent (#1517)
* refactor: make casing for column names consistent

* fix: format issues
2024-11-23 17:17:00 +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
Meier Lukas 2ffa9d0e71 fix: dispatch request-logger hides negative numbers, dates and date times (#1506)
* fix: dispatch request-logger hides negative numbers, dates and date times

* test: add unit test for undici log agent

* fix: deepsource issue
2024-11-20 22:36:10 +01:00
Meier Lukas 73cb0b99ac fix: items can not be placed in newly created dynamic section without saving (#1513)
* fix: items can not be placed in newly created dynamic section without saving

* docs: add comments above hooks with notice about specific order
2024-11-20 22:35:27 +01:00
Meier Lukas 72eda1f225 fix: api keys authentication does not work #1511 (#1512)
* fix: api keys authentication does not work #1511

* chore: add ip and user-agent to logs of unauthenticated api-keys
2024-11-20 21:55:04 +01:00
Meier Lukas 18b579eb5f fix: user is undefined when using use-suspense-query (#1498) 2024-11-19 17:16:50 +01:00
Meier Lukas 0ee343b99e feat: add more group permissions (#1453)
* feat: add more group permissions

* feat: restrict access with app permissions

* feat: restrict access with search-engine permissions

* feat: restrict access with media permissions

* refactor: remove permissions for users, groups and invites

* test: adjust app router tests with app permissions

* fix: integration page accessible without session

* fix: search for users, groups and integrations shown to unauthenticated users

* chore: address pull request feedback
2024-11-17 21:31:25 +01:00
Meier Lukas 879aa1152f fix: make oldmarr app schema less restrictive (#1495) 2024-11-17 21:31:08 +01:00
Meier Lukas 1105f0029f fix: sessions from inactive providers can still be used (#1458)
* fix: sessions from inactive providers can still be used

* fix(lint): dependency keys not sorted

* chore: address pull request feedback
2024-11-17 21:30:46 +01:00
Meier Lukas f3ebd6ccdf fix: everyone group page throws error (#1450) 2024-11-17 09:49:23 +01:00
Meier Lukas 04895da08a fix: actions user has no permission to are shown in spotlight (#1452) 2024-11-09 10:45:13 +01:00
Meier Lukas 0aa72d118c fix: websockets on https do not work (#1444) 2024-11-08 21:30:05 +01:00
Meier Lukas fe4dfc484b fix: adding volume /appdata removes created directories (#1445) 2024-11-07 19:48:45 +01:00
Meier Lukas 9535154128 ci: add e2e workflow (#1422)
* ci: add e2e workflow

* fix: skip showing error

* fix: when e2e skipped, e2e still executed

* fix: job env not accessible in if

* fix: env not accessible at all in job if statement

* fix: wrong env used for step ifs

* ci: add reusable e2e-execution workflow

* fix: e2e trigger fails not supported reusable workflow within steps

* fix: composite e2e-execution action not found

* fix: reference to composite action not working without checkout

* fix: composite action has to be named action.yml

* fix: id for docker should not have spaces

* fix: shell property missing

* fix: typo one dash to much

* ci: add e2e tests

* chore: change node-version to 22

* chore: move e2e tests to code-quality workflow as duration of e2e step is about 4 minutes

* fix: deepsource issues
2024-11-05 21:11:14 +01:00
Meier Lukas 319fb47744 fix: change node-version for composite setup action to 22, remove unnecessary installation of node from docker deployment (#1429) 2024-11-05 21:06:40 +01:00
Meier Lukas b7fc1ae4bb fix: middleware fetch failed for docker container (#1424)
* fix: middleware fetch failed for docker container

* fix: lint warning
2024-11-04 20:33:41 +01:00
Meier Lukas cf5bcab732 fix: credentials login not working cause of cookie secure flag not possible for http (#1421)
* fix: credentials login not working cause of cookie secure flag not possible for http

* chore: add missing comment

* fix: lint issue
2024-11-04 19:20:19 +01: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
Meier Lukas 326b769c23 feat: add server settings for default board, default color scheme and default locale (#1373)
* feat: add server settings for default board, default color scheme and default locale

* chore: address pull request feedback

* test: adjust unit tests to match requirements

* fix: deepsource issue

* chore: add deepsource as dependency to translation library

* refactor: restructure language-combobox, adjust default locale for next-intl

* chore: change cookie keys prefix from homarr- to homarr.
2024-11-02 21:15:46 +01: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
Meier Lukas db198c6dab feat: add media management (#1337)
* feat: add media management

* feat: add missing page search item

* fix: medias should be hidden for anonymous users

* chore: rename show-all to include-from-all-users

* fix: inconsistent table column for creator-id of media

* fix: schema check not working because of custom type for blob in mysql

* chore: temporarily remove migrations

* chore: readd removed migrations
2024-10-26 22:45:32 +02:00
Meier Lukas 041006c181 fix: docker build not working (#1365) 2024-10-24 22:45:36 +02:00
Meier LukasandYossi Hillali c37a0e38d9 fix: health-check widget sorting & last seen (#1363)
Co-authored-by: Yossi Hillali <950010+hillaliy@users.noreply.github.com>
2024-10-23 17:30:10 +02:00
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
Meier Lukas 9c5972faf4 fix: missing migration for default colorscheme change (#1335)
* fix: missing migration for default colorscheme change

* fix: format issues
2024-10-19 17:57:00 +02:00
Meier Lukas 799d6c5d4a fix: color scheme manager should use cookie and not session value (#1329)
* fix: color scheme manager should use cookie and not session value

* fix: cookie saved for random path
2024-10-19 10:27:31 +02:00
Meier Lukas 7572634780 fix: local websocket url wrong (#1328) 2024-10-19 10:27:13 +02:00
Meier Lukas 0df7cb5c25 feat: improve metadata (#1308) 2024-10-17 12:38:38 +02:00
Meier Lukas 727f10448f feat: add manifest (#1309) 2024-10-16 21:46:32 +02: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 e99fd64882 feat: add notes for creation of apps and integrations in widget edit modal (#1297)
* feat: add notes for creation of apps and integrations in widget edit modal

* fix: unit test failing when with-description flag missing
2024-10-16 21:44:28 +02:00
Meier Lukas a0cc31da70 feat: populate integration name for new integrations automatically (#1296) 2024-10-16 21:44:12 +02:00
Meier Lukas 476fda279d fix: integration actions hidden for full access users (#1300) 2024-10-15 21:11:32 +02:00
Meier Lukas 348687670d feat: user setting ping icons (#1277)
* feat: user setting ping icons

* fix: format issues

* test: adjust test to match expectations
2024-10-12 00:20:47 +02:00
Meier Lukas 0f8d9edb3e refactor: replace serverdata with suspense query (#1265)
* refactor: replace serverdata with suspense query

* fix: deepsource issues
2024-10-11 23:47:07 +02:00
Meier Lukas 511c9a4dbb fix: credentials auth not working (#1284) 2024-10-11 23:36:05 +02:00
Meier Lukas 98cf214aed fix: groups can be created with empty names (#1267) 2024-10-09 17:23:19 +02:00
Meier Lukas ab1744ce20 feat: add first day of week user setting (#1249)
* feat: add first day of week user setting

* fix: add missing migrations

* fix: format and test issues

* fix: deepsource issue

* refactor: rename first-day-of-week procedure
2024-10-07 21:13:38 +02: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
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
Meier Lukas 770768eb21 fix: rtl common translation unnecessary (#1246)
* fix: rtl common translation unnecessary

* fix: format issue
2024-10-05 16:31:15 +02:00
Meier Lukas 6ad201f4a2 chore: revert base image to 20.17.0 alpine (#1236) 2024-10-04 21:31:01 +02:00
Meier Lukas 4c9471e608 feat(spotlight): add support for custom search-engines (#1200)
* feat(spotlight): add search settings link

* feat(search-engine): add to manage pages

* feat(spotlight): add children option for external search engines

* chore: revert search settings

* fix: deepsource issue

* fix: inconsistent breadcrum placement

* chore: address pull request feedback
2024-10-04 15:59:08 +02:00
Meier Lukas ac0750452c fix: confirm not selected by default in confirm modal (#1232) 2024-10-03 23:24:33 +02:00
Meier Lukas 665df53a39 fix: new sections without add and change listeners (#1230) 2024-10-03 21:07:57 +02: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
Meier Lukas 8b5ea3c5d3 fix: email verified check is in a newline in users table (#1218) 2024-10-02 12:00:42 +02:00
Meier Lukas d63f6d270f fix: it was possible to go to the create user page when credentials login disabled (#1217) 2024-10-02 10:41:14 +02: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
Meier Lukas f24c06852e fix: sensitive data can be leaked through query parameters (#1208) 2024-09-30 21:59:21 +02:00
Meier Lukas 42a49e6461 fix(spotlight): x button not clickable, help links open in current tab, bad screen usage on mobile (#1199)
* fix: spotlight help links should open in new tab

* fix: x button is not clickable in spotlight

* fix: reduce offset for spotlight, to improve screen usage on mobile
2024-09-28 23:30:09 +02: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
Meier Lukas a30be7bc1e feat: add env variable to disable db migrations on startup (#1179) 2024-09-26 18:54:28 +02:00
Meier Lukas cc29cb8e43 refactor: replace custom no integration selected logic with existing error (#1166) 2024-09-23 22:44:56 +02:00
Meier Lukas bbd0ff775a ci: fix issue with pnpm installation (#1160) 2024-09-21 11:36:21 +02:00
Meier Lukas 9eea8d48e8 fix: insert limit of sqlite is smaller than amount of icons (#1161) 2024-09-21 11:08:24 +02: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
Meier Lukas fc317840a7 refactor: use suspense query instead of serverdata for app widget (#1143)
* refactor: use suspense query instead of serverdata for app widget

* chore: add missing translation for loading tooltip
2024-09-17 19:30:14 +02:00
Meier Lukas 003cc5160c fix: mysql migration not working (#1138)
* fix: mysql migration not working

* test: add system integration test for mysql migration

* fix: format issues

* fix: deepsource issues

* chore: address bad name for mysql migration test
2024-09-17 19:27:47 +02:00
Meier Lukas d01ddd61b6 fix: db port validation for env variable wrong (#1137)
* fix: db port validation for env variable wrong

* fix: wrong default
2024-09-16 21:41:40 +02: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
Meier Lukas cd4619845b feat: add nginx proxy (#1073)
* feat: add nginx proxy

* fix: adjust path for websocket client to connect
2024-09-16 18:10:58 +02:00
Meier Lukas 5e772215a9 fix: hard to move iframe widget #1075 (#1101) 2024-09-11 18:15:47 +02:00
Meier Lukas 5404cebf5b feat: add import for config files from oldmarr (#1019)
* wip: add oldmarr config import

* wip: add support for wrong amount of categories / sections with autofix, color mapping, position adjustments of wrappers

* fix: lockfile broken

* feat: add support for form data trpc requests

* wip: improve file upload

* refactor: restructure import, add import configuration

* wip: add configurations for import to modal

* refactor: move oldmarr import to old-import package

* fix: column count not respects screen size for board

* feat: add beta badge for oldmarr config import

* chore: address pull request feedback

* fix: format issues

* fix: inconsistent versions

* fix: deepsource issues

* fix: revert {} to Record<string, never> convertion to prevent typecheck issue

* fix: inconsistent zod version

* fix: format issue

* chore: address pull request feedback

* fix: wrong import

* fix: broken lock file

* fix: inconsistent versions

* fix: format issues
2024-09-07 18:13:24 +02:00
Meier Lukas 8c205535eb fix: wevbsocket url is always localhost (#1072) 2024-09-06 21:11:58 +02:00
Meier Lukas b080e0de71 feat: add colorscheme to user in db (#987) 2024-09-01 20:37:52 +02:00
Meier Lukas 2738f40c5e fix: when removing one item and then adding another one that newly added one can not be moved (#1025)
* fix: when removing one item and then adding another one that newly added one can not be moved

* chore: address pull request feedback

* fix: deepsource canceled
2024-08-29 22:26:02 +02:00