Commit Graph
5529 Commits
Author SHA1 Message Date
1bc614b367 feat(api): expose existing dashboard controls (#6546)
* feat(api): expand REST coverage for full dashboard automation

Closes #6435.

Boards could only be created empty through the API. The single endpoint for
adding a widget took no geometry, so the size came from the widget default and
the position was always the next free cell. Everything else a setup needs was
reachable from the interface only.

Board composition
- POST /api/boards/items accepts an optional placement: width, height, xOffset,
  yOffset and sectionId, or a layouts array for per breakpoint control. Without
  it the previous automatic placement is unchanged.
- Adds read, update and delete for items, CRUD for sections, read and replace
  for layouts, and GET /api/boards/{id} for the whole board.
- GET /api/boards/{id}/export and POST /api/boards/import make a board
  reproducible from version control. onConflict decides what happens when the
  name is taken, so a pipeline can be re-run.
- Board access is manageable through GET/PUT /api/boards/{id}/permissions.

Remaining services
- Search engines, integrations, groups, api keys and server settings are
  exposed over OpenAPI and registered as MCP tools.
- GET /api/config/export and POST /api/config/import cover the configuration of
  a whole instance. Ids are kept so references inside opaque widget options stay
  intact, and entities are matched by natural key when the id is unknown, which
  is what makes a document from another instance applicable.
- The backup endpoints accept an ApiKey header, so a recovery job no longer
  needs a browser session.

Headless bootstrap
- homarr api-keys create prints a key without opening the web interface, which
  together with the existing recreate-admin removes the last manual step.

Notes
- No database migration, the schema already stores position and size.
- Grid coordinates and sizes in a document are bounded, and the placement scan
  no longer walks every column, so a large grid cannot occupy the server.
- Imports collect their statements first and apply them in one transaction, so a
  rejected document never leaves a board half written.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix: harden dashboard automation APIs

* fix: validate global home board settings

* fix: validate merged import settings

* docs(api): describe the bounded placement scan accurately

The comment still described the earlier version that walked every row up to the
last occupied one. Both axes now iterate the edges of the occupied areas, so the
cost follows the amount of content rather than the dimensions of the grid.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(api): keep the search engine type narrow and record the new MCP tools

The `.output()` added to `searchEngine.getPaginated` widened `type` back to a
string through the plain select schema, which broke the management page that
switches on it. It now reuses the narrowed union the detail endpoint already has.

`mcp.spec` pins the reviewed tool inventory; the 33 tools this branch exposes are
added to it. The configuration round trip asserted the first layout of an item,
which is the mobile one half of the time and holds the same item clamped, so it
addresses the base layout by id instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* feat(api): complete Homarr automation endpoints

* refactor(api): consolidate preferences and task docs

* refactor(api): narrow REST to dashboard automation

* refactor(api): expose existing dashboard controls only

* fix(docs): drop removed API key CLI path

---------

Co-authored-by: rfdrew <20803599+rfdrew@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Thomas Camlong <thomas@ajnart.fr>
Co-authored-by: ajnart <thomas@ajnart.dev>
2026-10-07 15:02:59 +02:00
homarr-renovate[bot] 6b1a956ce3 chore(deps): update dependency shell-quote@<1.8.5 to v1.11.0 [security] (#7071)
Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
2026-10-07 11:54:42 +00:00
Thomas a932cb85a7 fix(boards): reduce phone outer gutters (#7070)
Related to #7069. Remove duplicated shell gutters on phone boards while retaining widget insets and wider layout spacing.
2026-10-07 13:22:11 +02:00
Thomas eb1d449dca fix(widgets): allow narrow Docker and downloads tables to scroll (#7067)
Related to #7058. Preserve readable table column widths and enable horizontal scrolling in narrow Docker and Downloads widgets.
2026-10-07 12:16:44 +02:00
Thomas 29a422e4d8 fix: collapse Beszel controls on touch screens (#7065)
Related to #7022. Keep Beszel touch controls accessible through a compact dismissible menu.
2026-10-07 12:12:58 +02:00
Thomas ff22c577ac fix: keep dashboard CSS out of board settings (#7066)
Related to #7062. Keep dashboard custom CSS out of dashboard settings.
2026-10-07 12:12:43 +02:00
Thomas fb435eff41 fix(db): explain unsupported MySQL upgrade options (#7063) 2026-10-07 11:14:45 +02:00
Thomas 3f02da7b59 fix(dns-hole-summary): restore colors and fit compact cards (#7045)
Related to #7020 and #7018. Restore DNS summary colors, fit compact cards, and match preview text scaling.
2026-10-07 10:00:24 +02:00
Thomas d1c88b6821 fix: return board header to current dashboard (#7059)
Related to #7056. Keep the current board destination when returning from dashboard settings.
2026-10-07 09:59:43 +02:00
homarr-releases[bot] 8c977dfd1f chore: update bug report template (#7044)
Add Homarr 2.2.0 to the bug report version list.
2026-10-07 09:58:42 +02:00
Thomas 8ae66b2c5b fix: allow unlimited sidebar content while editing (#7061) 2026-10-07 09:56:31 +02:00
Thomas f420df5d03 Merge pull request #7046 from homarr-labs/docs/update-helm-docs
docs(helm): update chart installation page
2026-10-07 07:46:19 +02:00
homarr-crowdin[bot] 892015065c chore(lang): updated translations from crowdin (#7049) 2026-10-07 07:45:55 +02:00
Thomas b7b803816c fix: use public Pi-hole version discovery (#7032) 2026-10-06 19:27:33 +02:00
Thomas 3bd8101b36 fix(lang): restore English UK labels corrupted by Crowdin (#7050) 2026-10-06 11:53:17 +02:00
github-actions[bot] c757c33bf3 docs(helm): update chart installation page 2026-10-05 18:10:41 +00:00
Releases Homarr 4df4ee0599 chore(release): 2.2.0 [skip ci] 2026-10-05 12:59:28 +00:00
homarr-releases[bot] 1980046b45 chore(release): automatic release v2.2.0 2026-10-05 12:58:15 +00:00
Thomas f39bb15d79 fix: report GitHub icon indexing failures clearly (#7008) 2026-10-05 14:56:02 +02:00
homarr-releases[bot] 837b382227 chore: update bug report template (#7028) 2026-10-05 14:53:48 +02:00
SmilingJoeandajnart df6410d56c feat(widgets): add GPU metrics to Beszel system stats (#6645)
Co-authored-by: ajnart <thomas@ajnart.dev>
2026-10-05 14:53:23 +02:00
Thomas 177fa97b76 feat: support Unraid storage pools (#7038) 2026-10-05 14:51:48 +02:00
homarr-crowdin[bot] 08412d5f1d chore(lang): updated translations from crowdin (#6986) 2026-10-05 14:51:20 +02:00
Sobe Silvertree 67196975f3 feat(sabnzbd): add archived history options to the Downloads widget (#6515) 2026-10-05 14:51:03 +02:00
Thomas 4dbe4343e5 fix(demo): stop seeded widget background polling (#6980)
* fix(demo): stop seeded widget background polling

* docs(demo): clarify single-replica requirements

* fix: abort startup when auth secret generation fails

* docs: remove demo deployment changes from PR

* fix: scope demo polling changes
2026-10-05 09:51:35 +02:00
Thomas a17845aa1c feat: add create-only root certificate API (#7033)
* feat: add create-only root certificate API [skip ci]

* fix: harden root certificate API handling
2026-10-05 09:48:06 +02:00
Thomas 67cff1fbc0 Merge pull request #7039 from homarr-labs/docs/update-helm-docs
docs(helm): update chart installation page
2026-10-05 08:42:57 +02:00
github-actions[bot] 3a0a25f04b docs(helm): update chart installation page 2026-10-04 15:25:58 +00:00
Releases Homarr 473b6cb7c4 chore(release): 2.1.2 [skip ci] 2026-10-04 07:28:32 +00:00
homarr-releases[bot] 60c602072d chore(release): automatic release v2.1.2 2026-10-04 07:27:19 +00:00
Thomas 6ce517df92 fix(ci): synchronize release branches from a clean worktree (#7036) 2026-10-04 09:21:39 +02:00
Bergasha e089d690ee fix(iframe): scale iframe content with the board (#7034) 2026-10-04 09:16:16 +02:00
Releases Homarr d56b20e0f6 chore(release): 2.1.1 [skip ci] 2026-10-03 23:21:49 +00:00
homarr-releases[bot] 8c3985824f chore(release): automatic release v2.1.1 2026-10-03 23:19:24 +00:00
Thomas 917d92c9f3 fix: improve compact app label readability (#7029)
* fix: improve compact app label readability

* fix: align truncated app titles
2026-10-04 01:14:08 +02:00
Releases Homarr 33c3b1ea70 chore(release): 2.1.0 [skip ci] 2026-10-03 22:35:09 +00:00
homarr-releases[bot] 6cdce9bdc3 chore(release): automatic release v2.1.0 2026-10-03 22:34:03 +00:00
Thomas f50d4ed134 fix(integrations): authenticate Frigate stats and HTTP requests (#7019)
* fix(integrations): authenticate Frigate stats and HTTP requests [skip ci]

* fix(integrations): reject HTTP Frigate URLs before authentication
2026-10-03 23:33:23 +02:00
Thomas 5a2f6cfa1b docs: require agent docs and tests only when user-critical (#7021) 2026-10-03 23:31:11 +02:00
Thomas d15987c9fb fix(docker): resolve Homepage Dashboard Icons keys (#7004) 2026-10-03 23:14:54 +02:00
Thomas c1dd2b3bca fix(unifi): count active remote VPN sessions (#7013) 2026-10-03 23:14:37 +02:00
Thomas 83ae98847a fix(onboarding): return to welcome before administrator creation (#7012) 2026-10-03 22:34:05 +02:00
Thomas b40f000dd5 fix(board): make container headers fully clickable (#7006) 2026-10-03 22:33:57 +02:00
Thomas 6f93be1227 fix: include Jellyfin releases across mixed libraries (#6998) 2026-10-03 22:33:49 +02:00
Thomas af4209886d fix(board): persist setup checklist dismissal (#6992) 2026-10-03 22:33:41 +02:00
Thomas 27a7f5f42e docs(migration): explain backups and board scaling (#6991)
* docs(migration): explain backups and board scaling

* docs: qualify migration layout restoration
2026-10-03 22:33:33 +02:00
Thomas 121a50cb19 fix(integrations): accept persisted IDs when updating (#6985) 2026-10-03 22:33:30 +02:00
Thomas e048ae9cd7 fix(board): restore layouts after column changes (#6979)
* fix: preserve geometry across layout resizing

* style: format layout migration snapshots
2026-10-03 22:32:49 +02:00
Thomas eec910aabb fix: classify Plex music releases correctly (#6977)
* fix: classify Plex music releases correctly

* test(plex): cover music release classification
2026-10-03 22:32:45 +02:00
Thomas 55b203ad93 feat(api): test connections using stored integration credentials (#7014) 2026-10-03 21:51:34 +02:00