feat(profiles): editable display name, bio, and avatar #33
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/profiles"
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 a Profile section to /settings that lets users set a display name (max 64 chars), a bio (max 500 chars), and a profile picture (PNG/JPEG/WebP, 1 MiB cap). Display names and avatars now appear in messages, the sidebar, and DM headers, falling back to a username/initial circle when unset. Avatars are stored on disk under {DATA_DIR}/avatars/{user_id}.{ext}; a new GET /avatars/{user_id} route serves them with the correct MIME and a 5-minute cache header. Uploads are validated by magic bytes and written atomically.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Adds a Profile section to /settings that lets users set a display name (max 64 chars), a bio (max 500 chars), and a profile picture (PNG/JPEG/WebP, 1 MiB cap). Display names and avatars now appear in messages, the sidebar, and DM headers, falling back to a username/initial circle when unset. Avatars are stored on disk under {DATA_DIR}/avatars/{user_id}.{ext}; a new GET /avatars/{user_id} route serves them with the correct MIME and a 5-minute cache header. Uploads are validated by magic bytes and written atomically. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>