sonda/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 32068f7cf6 fix(listening): report a deleted account first and document one event per play
- fix: a listen from a deleted account is answered 401 before the track or the
  duration is looked at, so a client that signs out on 401 does it whatever
  else is wrong with the request (UserExists on the store)
- docs: one event per play, sent when the play ends or is abandoned, with one
  idempotency key per play. An event cannot be upgraded afterwards: a key that
  was already used is ignored even if the type or duration differ, and a new
  key would count the same play twice. The README no longer says to report at
  20 seconds, which led straight into that trap, and no longer hard-codes the
  minimum
- test: the SQL filter at exactly the threshold and just under it, the order of
  events within the same second, the order of checks for a deleted account
2026-11-11 15:02:28 +01:00
..
api fix(listening): report a deleted account first and document one event per play 2026-11-11 15:02:28 +01:00
auth fix(auth): close session races found in review 2026-11-11 12:45:06 +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(listening): count a listen after a minimum play time and expose the history 2026-11-11 14:58:47 +01:00
library feat(library): count unsupported audio formats and skip NAS system folders 2026-11-11 14:25:33 +01:00
listening fix(listening): report a deleted account first and document one event per play 2026-11-11 15:02:28 +01:00
storage fix(listening): report a deleted account first and document one event per play 2026-11-11 15:02:28 +01:00
streaming feat(library): named media libraries managed through the API 2026-11-11 13:30:25 +01:00