* feat(analytics): migrate from Umami to PostHog server-side analytics
Replace @umami/node with posthog-node for all server-side telemetry.
Add singleton PostHog client, feature tracking POC, DAU heartbeat,
and tRPC analytics router. Cron job is now locked (no manual trigger,
no custom interval). Update consent copy to explain what we collect
and why.
* style: auto-fix lint and format
* refactor(analytics): simplify + add client-side posthog-js init
- Inline constants.ts and track.ts into client.ts (single source)
- Remove dead exports (shutdownPostHogAsync, getPostHogClient)
- Flatten all DB queries into one Promise.all (no waterfall)
- Derive integration/widget totals from group-by (drop redundant counts)
- Add posthog-js with dynamic import, gated on enableGeneral
- Move Analytics component to body, pass consent from server settings
* style: auto-fix lint and format
* feat(cron): add hidden flag to cron jobs, hide analytics from task panel
The analytics job runs silently in the background — users don't need
to see or interact with it. Hidden jobs are filtered out of getAllAsync
so they never appear in the management UI.
* refactor(analytics): simplify to single toggle, always collect all data
Remove granular enableWidgetData/enableIntegrationData/enableUserData
toggles. Analytics is now a single on/off switch. When enabled, all
anonymous usage data is collected in one flat Promise.all call.
Side effect: existing users with enableGeneral=true who had granular
flags off will now send all data. This is by design — the granular
controls added complexity without meaningful privacy benefit since
the data is already anonymous counts.
* style: auto-fix lint and format
* feat(pihole): add support for v6
* fix: add session-store to keep using same session for pi-hole requests
* chore: address pull request feedback
* fix: import issue
* fix: other import errors
* feat(board): add mobile home board
* fix: add missing translations
* fix: mysql key reference with other datatype
* fix: format issue
* fix: missing trpc context arguments in tests
* fix: missing trpc context arguments in tests
* 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
* 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.
* 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
* 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
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)
* 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
* 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
* 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
* 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