Commit Graph

327 Commits

Author SHA1 Message Date
homarr-renovate[bot]
051d57bb39 fix(deps): update dependency better-sqlite3 to ^11.2.1 (#1006)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-08-21 17:48:19 +00:00
homarr-renovate[bot]
4e6437a180 fix(deps): update dependency better-sqlite3 to ^11.2.0 (#1004)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-08-21 06:48:16 +00:00
Meier Lukas
9ce172e78a feat: add dynamic section (#842)
* chore: add parent_section_id and change position to x and y_offset for sqlite section table

* chore: rename existing positions to x_offset and y_offset

* chore: add related mysql migration

* chore: add missing height and width to section table

* fix: missing width and height in migration copy script

* fix: typecheck issues

* fix: test not working caused by unsimilar schemas

* wip: add dynamic section

* refactor: improve structure of gridstack sections

* feat: add rendering of dynamic sections

* feat: add saving of moved sections

* wip: add static row count, restrict min-width and height

* chore: address pull request feedback

* fix: format issues

* fix: size calculation within dynamic sections

* fix: on resize not called when min width or height is reached

* fix: size of items while dragging is to big

* chore: temporarly remove migration files

* chore: readd migrations

* fix: format and deepsource issues

* chore: remove db_dev.sqlite file

* chore: add *.sqlite to .gitignore

* chore: address pull request feedback

* feat: add dynamic section actions for adding and removing them
2024-08-10 12:37:16 +02:00
homarr-renovate[bot]
a9d87e4e6b chore(deps): update dependency eslint to ^9.9.0 (#961)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-08-09 20:48:37 +00:00
homarr-renovate[bot]
940a4890e2 fix(deps): update dependency drizzle-kit to ^0.24.0 (#939)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-08-08 14:48:48 +00:00
homarr-renovate[bot]
c399d832e5 fix(deps): update dependency drizzle-orm to ^0.33.0 (#938)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-08-08 14:36:20 +00:00
homarr-renovate[bot]
3f35163481 fix(deps): update dependency drizzle-orm to ^0.32.2 (#919)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-08-05 16:31:47 +00:00
homarr-renovate[bot]
d378ddb42b fix(deps): update dependency drizzle-kit to ^0.23.2 (#918)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-08-05 15:48:23 +00:00
homarr-renovate[bot]
5f89d93db6 fix(deps): update dependency drizzle-kit to ^0.23.1 (#888)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-30 22:33:12 +00:00
homarr-renovate[bot]
9181f11b13 fix(deps): update dependency @auth/core to ^0.34.2 (#876)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-28 03:27:46 +00:00
homarr-renovate[bot]
c973a3bfa5 fix(deps): update dependency mysql2 to v3.11.0 (#874)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-27 14:48:10 +00:00
Meier Lukas
6f7327b774 feat: restrict non credential provider interactions (#871)
* wip: add provider field to sqlite user table

* feat: disable invites when credentials provider is not used

* wip: add migration for provider field in user table with sqlite

* wip: remove fields that can not be modified by non credential users

* wip: make username, mail and avatar disabled instead of hidden

* wip: external users membership of group cannot be managed manually

* feat: add alerts to inform about disabled fields and managing group members

* wip: add mysql migration for provider on user table

* chore: fix format issues

* chore: address pull request feedback

* fix: build issue

* fix: deepsource issues

* fix: tests not working

* feat: restrict login to specific auth providers

* chore: address pull request feedback

* fix: deepsource issue
2024-07-27 11:38:51 +02:00
homarr-renovate[bot]
eba4052522 chore(deps): update dependency eslint to ^9.8.0 (#870)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-26 21:09:40 +00:00
homarr-renovate[bot]
868b7b890e fix(deps): update dependency drizzle-orm to ^0.32.1 (#859)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-23 15:11:02 +00:00
homarr-renovate[bot]
47834d4288 chore(deps): update dependency typescript to ^5.5.4 (#857)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-22 23:24:14 +00:00
homarr-renovate[bot]
636d3c670c fix(deps): update dependency mysql2 to v3.10.3 (#816)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-15 23:10:55 +00:00
homarr-renovate[bot]
66036b08bc fix(deps): update dependency prettier to ^3.3.3 (#805)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-13 13:25:36 +00:00
homarr-renovate[bot]
7d61baad03 chore(deps): update dependency eslint to ^9.7.0 (#786)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-12 21:10:47 +00:00
homarr-renovate[bot]
3da5734571 fix(deps): update dependency drizzle-orm to ^0.32.0 (#776)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-10 13:28:35 +00:00
homarr-renovate[bot]
f2c70a4d0b fix(deps): update dependency drizzle-kit to ^0.23.0 (#775)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-10 13:13:36 +00:00
homarr-renovate[bot]
8d42ca8b5e fix(deps): update dependency drizzle-orm to ^0.31.4 (#759)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-08 15:26:45 +00:00
homarr-renovate[bot]
0a3d1e9e5e fix(deps): update dependency drizzle-orm to ^0.31.3 (#758)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-08 13:37:50 +00:00
Meier Lukas
408cdeb5c3 feat: add integration access settings (#725)
* feat: add integration access settings

* fix: typecheck and test issues

* fix: test timeout

* chore: address pull request feedback

* chore: add throw if action forbidden for integration permissions

* fix: unable to create new migrations because of duplicate prevId in sqlite snapshots

* chore: add sqlite migration for integration permissions

* test: add unit tests for integration access

* test: add permission checks to integration router tests

* test: add unit test for integration permissions

* chore: add mysql migration

* fix: format issues
2024-07-08 00:00:37 +02:00
homarr-renovate[bot]
6aecd1a713 fix(deps): update dependency better-sqlite3 to ^11.1.2 (#736)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-02 17:09:08 +00:00
homarr-renovate[bot]
83ee03b192 chore(deps): update dependency @types/better-sqlite3 to v7.6.11 (#734)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-02 04:12:02 +00:00
homarr-renovate[bot]
0ac123b59f chore(deps): update dependency typescript to ^5.5.3 (#733)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-01 19:09:01 +00:00
homarr-renovate[bot]
663eb0bf5b fix(deps): update dependency mysql2 to v3.10.2 (#731)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-07-01 02:46:23 +00:00
homarr-renovate[bot]
be100b610e fix(deps): update dependency drizzle-kit to ^0.22.8 (#729)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-29 12:48:32 +00:00
homarr-renovate[bot]
e057affddf chore(deps): update dependency eslint to ^9.6.0 (#722)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-28 17:48:14 +00:00
homarr-renovate[bot]
c8d4461ab8 fix(deps): update dependency better-sqlite3 to ^11.1.1 (#720)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-27 18:11:16 +00:00
Meier Lukas
f92aeba403 feat: test integration connection (#669)
* feat: add test integration for pi-hole

* refactor: test integration for pi-hole

* fix: multiple secrets of same type could be used for integration creation

* fix: remove integration test connection test and add mock for test-connection function

* fix: add missing onUpdateFn to mysql integration secrets

* fix: format issues

* feat: add home assistant test connection

* fix: deepsource issues

* test: add system integration tests for test connection

* fix: add before all for pulling home assistant image

* test: add unit tests for handleTestConnectionResponseAsync

* test: add unit test for testConnectionAsync

* test: add mroe tests to integration-test-connection

* fix: deepsource issues

* fix: deepsource issue

* chore: address pull request feedback
2024-06-22 21:02:04 +02:00
homarr-renovate[bot]
05702bede8 fix(deps): update dependency @auth/core to ^0.34.1 (#702)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-21 20:48:15 +00:00
homarr-renovate[bot]
9087f4bfdf fix(deps): update dependency @auth/core to ^0.34.0 (#700)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-21 20:26:00 +00:00
homarr-renovate[bot]
d5f4bd0aab chore(deps): update dependency typescript to ^5.5.2 (#697)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-20 18:13:25 +00:00
homarr-renovate[bot]
171fe40fd5 fix(deps): update dependency @auth/core to ^0.33.0 (#693)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-20 02:22:20 +00:00
homarr-renovate[bot]
8b4cc5b994 chore(deps): update dependency eslint to ^9.5.0 (#668)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-14 19:48:24 +00:00
homarr-renovate[bot]
10acb2bc76 fix(deps): update dependency mysql2 to v3.10.1 (#665)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-13 23:24:12 +00:00
homarr-renovate[bot]
d69cda0313 fix(deps): update dependency prettier to ^3.3.2 (#656)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-11 06:32:24 +00:00
Meier Lukas
9cab001451 chore: improve importing of some packages (#647)
* chore: improve importing of some packages

* fix: not same version for all dependencies

* fix: lint and format issue
2024-06-10 21:26:39 +02:00
homarr-renovate[bot]
d985fbe69a fix(deps): update dependency drizzle-kit to ^0.22.7 (#652)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-10 14:38:11 +00:00
homarr-renovate[bot]
1bae7352dc chore(deps): update dependency eslint to v9 (#452)
* chore(deps): update dependency eslint to v9

* chore: migrate eslint to v9

* fix: dependency issues

* fix: unit tests not working

* chore: disable lint check for Image component that does not work in ci

* fix: lint issue

---------

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
2024-06-08 20:49:57 +02:00
homarr-renovate[bot]
66ddb45975 fix(deps): update dependency drizzle-kit to ^0.22.6 (#636)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-08 11:20:54 +00:00
homarr-renovate[bot]
efd958d6cb fix(deps): update dependency drizzle-orm to ^0.31.2 (#632)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-07 15:48:32 +00:00
homarr-renovate[bot]
246272669e fix(deps): update dependency drizzle-kit to ^0.22.5 (#631)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-07 15:34:23 +00:00
homarr-renovate[bot]
8f551aa485 fix(deps): update dependency prettier to ^3.3.1 (#623)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-06 18:12:17 +00:00
homarr-renovate[bot]
dda34e7764 fix(deps): update dependency drizzle-kit to ^0.22.4 (#625)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-06 17:48:14 +00:00
homarr-renovate[bot]
f5aaf89a3d fix(deps): update dependency drizzle-kit to ^0.22.2 (#618)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-04 21:04:24 +02:00
homarr-renovate[bot]
710197b3a0 fix(deps): update dependency drizzle-orm to ^0.31.1 (#619)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-04 21:03:47 +02:00
homarr-renovate[bot]
b1b839fcd8 fix(deps): update dependency prettier to ^3.3.0 (#594)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-06-01 17:25:39 +00:00
homarr-renovate[bot]
96150f802d fix(deps): update dependency better-sqlite3 to v11 (#587)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2024-05-31 20:33:37 +02:00