forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/im-core/src/stats.rsClear filter

2026-09-04

Profile section: photo, statistics, public pageAhmet Kaan Gümüş · 8092e0d
Profile section: photo, statistics, public page

The signed-in landing gains a profile section — photo, 2FA/admin chips,
Email and Member-since fields, and a statistics card (sign-ins, active
sessions, connected apps) — and /people/{user_id} gives every account a
public profile any signed-in member can read, iz's people page ported to
the auth-card idiom.

Photos keep izlek's split: the row carries only the mime type, the bytes
live as files under storage/photos/<user id> — staged write, row commit,
rename on set; row first, best-effort unlink on clear; a boot sweep
collects staged leftovers and orphans. Upload caps at 5 MiB and sniffs
the mime from magic bytes; serving is session-gated (404, never 403)
with ETag/304 and immutable caching behind a per-upload URL stamp.