BREAKING: replace legacy API keys with device tokens via pairing flow. - Server: /api/client/pair, revoke, me endpoints; server_sequence + tombstones + idempotency - Desktop client: PairDevice, GetMe, RevokeCurrent; auto-sync loop every 60s - Config: device_token stored in separate file (0600), not config.yml - Client DB: last_pull_seq migration for incremental pull - Frontend (Svelte): settings modal with connect/disconnect/interval - User dashboard (/dashboard): device list with status, revoke with password - Admin dashboard (/admin/dashboard): devices table from /admin/api/devices - CLI (cmd/verstak): updated for ServerSequence/GetState changes - Fix: autoSyncLoop falls back to SQLite sync_state for server URL - Fix: SyncSetInterval preserves server_url/device_id from SQLite |
||
|---|---|---|
| .. | ||
| migrations.go | ||
| migrations_002.sql.go | ||
| migrations_003.sql.go | ||
| migrations_004.sql.go | ||
| migrations_005.sql.go | ||
| migrations_006.sql.go | ||
| migrations_007.sql.go | ||
| migrations_008.sql.go | ||
| migrations_009.sql.go | ||
| migrations_010.sql.go | ||
| migrations_011.sql.go | ||
| storage.go | ||