sonda/migrations/sqlite
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 010f2e5057 feat: a password for each app or device
A person can make a password for each app that connects to their server, in
Settings, Apps and devices. The secret is shown once, can be taken back, and
is for the music API of other apps only: it cannot sign in or change the
account. Secrets are kept sealed (AES-256-GCM, key derived from the jwt secret)
because token login needs them in clear, and a hash finds a device by its key.

- migration 0034 device_passwords (sqlite, postgres)
- internal/devices service, storage repo
- GET/POST /me/devices, DELETE /me/devices/{id}, in the OpenAPI spec
- Settings section with copy and remove
2026-11-16 09:15:25 +01:00
..
0001_init.sql feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
0002_users_listening.sql feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
0003_name_keys.sql fix(library): harden the scanner against special files, stat errors and lossy logging 2026-11-11 12:28:44 +01:00
0004_admin_refresh.sql feat(auth): add refresh tokens, admin role and user management 2026-11-11 12:38:42 +01:00
0005_libraries.sql fix(library): make the libraries upgrade and validation robust 2026-11-11 13:34:44 +01:00
0006_track_title_key.sql feat(catalog): add the read API for artists, albums and tracks 2026-11-11 13:43:38 +01:00
0007_provider_settings.sql feat(providers): provider settings in a table and a careful outbound HTTP client 2026-11-11 16:07:12 +01:00
0008_artist_similar.sql fix(discovery): concurrent writes, adopted artists and a client that leaves 2026-11-11 16:47:33 +01:00
0009_artist_tags.sql feat(discovery): artist tags from Last.fm and MusicBrainz, and ids from my files 2026-11-11 17:01:43 +01:00
0010_track_genres.sql feat(discovery): remove provider data, genres from my files, full rescans 2026-11-11 17:27:29 +01:00
0011_user_settings.sql feat(settings): my own settings, starting with Discover from my listening 2026-11-11 19:16:26 +01:00
0012_artist_feedback.sql feat(feedback): a wishlist and "not interested" 2026-11-11 20:11:18 +01:00
0013_images.sql fix(images): limit parallel builds, no stale saves, safer files 2026-11-11 21:03:26 +01:00
0014_artist_descriptions.sql feat(about): artist descriptions from Wikipedia 2026-11-11 21:36:27 +01:00
0015_image_credit.sql feat(images): free photos of artists from Wikimedia Commons 2026-11-11 22:03:32 +01:00
0016_search_keys.sql feat(search): search ignores accents 2026-11-12 10:17:21 +01:00
0017_lidarr_settings.sql feat(lidarr): set up Lidarr as a provider and read what it offers 2026-11-12 11:04:53 +01:00
0018_users_email.sql feat(auth): accounts are identified by an email address 2026-11-12 14:40:33 +01:00
0019_playlists.sql feat(playlists): a user keeps playlists of tracks 2026-11-12 16:55:25 +01:00
0020_smart_playlists.sql feat(smart): smart playlists, playlists made of rules 2026-11-13 09:36:52 +01:00
0021_generated_names.sql feat(naming): names for playlists, with the Claude API as an option 2026-11-13 10:33:48 +01:00
0022_claude_usage.sql feat(naming): an admin section that shows what Claude costs 2026-11-13 11:14:45 +01:00
0023_federation.sql feat(federation): keys, invites and pairing between Sonda servers 2026-11-13 14:43:48 +01:00
0024_federation_sharing.sql feat(federation): shared libraries and the signed read API for friends 2026-11-13 15:04:07 +01:00
0025_track_peaks.sql feat: the seek bar shows the waveform of the track 2026-11-13 17:35:00 +01:00
0026_mastodon.sql feat: post what I listen to on Mastodon, if I connect an account 2026-11-13 21:59:03 +01:00
0027_mastodon_problem.sql feat(mastodon): say in Settings when the instance no longer accepts the token 2026-11-14 10:04:07 +01:00
0028_track_year.sql feat(smart): smart playlists by the year a song came out 2026-11-14 10:19:39 +01:00
0029_replaygain.sql feat(player): play every song at a similar volume with ReplayGain 2026-11-14 16:02:23 +01:00
0030_spotify_imports.sql feat(import): an Import page, with the numbers of every import kept 2026-11-15 10:34:12 +01:00
0031_outside_plays.sql feat(import): keep the artist and the time of plays of artists I do not have 2026-11-15 10:50:29 +01:00
0032_affinity.sql feat(discover): suggestions learned from my own listening 2026-11-15 11:09:19 +01:00
0033_lidarr_requests.sql feat(lidarr): a page of the artists I sent to Lidarr, and whether they arrived 2026-11-15 12:32:29 +01:00
0034_device_passwords.sql feat: a password for each app or device 2026-11-16 09:15:25 +01:00