feat/account-data-export #83
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/account-data-export"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds GET /settings/export-data and a Download my data button on the settings page. The handler aggregates the signed-in user's rows from auth.db and chat.db into a single JSON file: profile, notification preferences, sessions, push subscriptions, blocks (both directions), invite codes, enclave + room memberships and notification overrides, messages, reactions, bookmarks, pins, mentions received, file-upload metadata, custom emoji uploads, DM read state, and moderation actions taken against the user. Each file_uploads row carries the existing /api/files/{id} URL so the same authenticated user can pull the bytes; avatar bytes are likewise reachable via /avatars/{user_id}. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>