sonda/internal/storage
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi f6a4166849 fix(catalog): keep albums apart, align album counts, reject bad search text
- fix(storage): tracks of two albums with the same title (Greatest Hits, Live)
  no longer interleave in a listing: the album id is part of the order
- fix(storage): an artist's album_count and GET /albums?artist_id= now mean
  the same thing: albums the artist owns plus albums where it is credited on a
  playable track; a property test checks it for every artist and library
- fix(catalog): a NUL byte or invalid UTF-8 in q is a 400 instead of a broken
  SQL statement and a 500
- fix(api): clamp paging values with math.MaxInt32 so the package also builds
  on 32-bit targets
- docs: search ignores case, including accented letters, but not accents
  ("bjork" does not find "Bjork"); the earlier comments said otherwise
- test: same-title albums across a page boundary, NUL and invalid UTF-8
2026-11-11 13:47:31 +01:00
..
auth_test.go fix(auth): close session races found in review 2026-11-11 12:45:06 +01:00
catalog.go fix(catalog): keep albums apart, align album counts, reject bad search text 2026-11-11 13:47:31 +01:00
catalog_test.go fix(catalog): keep albums apart, align album counts, reject bad search text 2026-11-11 13:47:31 +01:00
library.go feat(catalog): add the read API for artists, albums and tracks 2026-11-11 13:43:38 +01:00
library_test.go feat(library): named media libraries managed through the API 2026-11-11 13:30:25 +01:00
listening.go feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
refresh.go fix(auth): close session races found in review 2026-11-11 12:45:06 +01:00
repos_test.go feat(auth): add refresh tokens, admin role and user management 2026-11-11 12:38:42 +01:00
storage.go feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
storage_test.go feat(catalog): add the read API for artists, albums and tracks 2026-11-11 13:43:38 +01:00
upgrade_test.go fix(library): make the libraries upgrade and validation robust 2026-11-11 13:34:44 +01:00
users.go fix(auth): close session races found in review 2026-11-11 12:45:06 +01:00