sonda/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 695a012f6c feat(federation): keys, invites and pairing between Sonda servers
Two servers can become friends. Federation is off by default; turning it
on makes an Ed25519 key pair, kept in the database and never returned.

- Admin routes: GET and PUT /federation (on or off, name, public address),
  POST /federation/invites, POST /federation/friends (use an invite),
  POST /federation/friends/{id}/approve and DELETE /federation/friends/{id}.
- POST /api/v1/peer/pair, the one route without a login: the code of an
  invite is the proof. An invite works once and expires in 24 hours; only
  a hash of its code is stored. At most 10 attempts a minute.
- The server that uses an invite checks that the key it gets back is the
  one named in the invite. A friend is kept as incoming or outgoing until
  both admins have agreed.
- https only, except plain http on a network of one's own (private,
  loopback or link-local address, or a local name).
- A client of its own for friends, with no redirects, no proxy from the
  environment, a size limit and a time limit; the providers' client stays
  as it is.
- Migration 0023 for SQLite and PostgreSQL, OpenAPI paths and schemas,
  contract test with two real servers.
- Admin > Federation in the web app, in English and Italian, and a
  section in the README.
2026-11-13 14:43:48 +01:00
..
about fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
api feat(federation): keys, invites and pairing between Sonda servers 2026-11-13 14:43:48 +01:00
auth feat(auth): accounts are identified by an email address 2026-11-12 14:40:33 +01:00
catalog fix(catalog): keep albums apart, align album counts, reject bad search text 2026-11-11 13:47:31 +01:00
config feat(config): library.allow_delete, off by default, for deleting duplicate files 2026-11-12 16:33:11 +01:00
discover fix(discover): refusals do not wait for a turn, and waiting for one has an end 2026-11-12 12:00:18 +01:00
discovery feat(discover): artists I may like, with a score I can explain 2026-11-11 19:42:09 +01:00
duplicates fix(duplicates): move the playlist items of a removed copy to the one that stays 2026-11-12 17:01:36 +01:00
federation feat(federation): keys, invites and pairing between Sonda servers 2026-11-13 14:43:48 +01:00
feedback feat(feedback): a wishlist and "not interested" 2026-11-11 20:11:18 +01:00
images feat(images): ask again without the disc or edition note of a title 2026-11-12 16:35:23 +01:00
jobs fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
library feat(images): album covers from the Cover Art Archive 2026-11-12 09:09:31 +01:00
listening fix(listening): report a deleted account first and document one event per play 2026-11-11 15:02:28 +01:00
mixes feat(mixes): a picture for each mix, a collage of album covers 2026-11-13 09:58:04 +01:00
naming feat(naming): an admin section that shows what Claude costs 2026-11-13 11:14:45 +01:00
playlists feat: playlists with a cover, a collage of the covers of their albums 2026-11-13 11:32:01 +01:00
providers feat(naming): an admin section that shows what Claude costs 2026-11-13 11:14:45 +01:00
smart feat(smart): covers on the Smart playlists page 2026-11-13 11:41:23 +01:00
storage feat(federation): keys, invites and pairing between Sonda servers 2026-11-13 14:43:48 +01:00
streaming feat(library): named media libraries managed through the API 2026-11-11 13:30:25 +01:00
taste feat(discover): artists I may like, with a score I can explain 2026-11-11 19:42:09 +01:00
usersettings feat(settings): my own settings, starting with Discover from my listening 2026-11-11 19:16:26 +01:00
webui feat: embed the built web app in sondad behind the webui build tag 2026-11-12 15:56:34 +01:00