8 Commits
Author SHA1 Message Date
raucao b057e3edca Add custom site links with icon discovery and upload
Users can add any website as a dashboard quick link from Settings → Site
Links. The link is stored in the integrations namespace as a `custom`
type so it flows through the existing sites/integrations/settings
pipeline, and appears in a new "Links" group.

Its icon is discovered with the existing favicon pipeline; an uploaded
icon overrides it and stays pinned until the user chooses "Use site's
icon" again. resolveIcons and refreshIcon skip pinned sites (and
re-check the live list before writing back) so an in-flight discovery
can never clobber a freshly uploaded icon.

URLs are normalized to http(s) only, with embedded credentials stripped,
so a value can never reach an anchor's href as javascript:/data:.
Uploads are validated, size-capped and downscaled to 192px (SVGs kept
as-is), and only ever rendered through an <img>.

Adds app/utils/site-url.js and app/utils/image-file.js, a custom-link
form, a `custom` registry entry/group and adapter, and tests.
2026-11-13 15:57:57 +04:00
raucao 59d5b65e1a Use the official Discourse icon as a fallback
Show the bundled square icon for Discourse in the Add and Manage lists, and seed dashboard tiles with it until a forum's own favicon is resolved.
2026-10-30 10:20:40 +04:00
raucao 75a2a65e20 Add Home Assistant integration 2026-10-08 19:24:02 +02:00
raucao 11be348a37 Add Gitea integration 2026-10-05 13:17:03 +02:00
raucao 41bfb7ebbb Add GitHub integration 2026-10-05 12:15:15 +02:00
raucao e0ddce8ed3 Refresh site icon on reconnect 2026-10-04 18:52:20 +02:00
raucao c28f2d066d Add Feedbin integration with configurable instance URL 2026-10-04 18:43:11 +02:00
raucao df5808b144 Rename Notifications to Sites 2026-10-03 16:39:21 +02:00