VNOX-Server/hub/src
loki5512344 a2b0f26645
feat(hub): let users upload their own avatar
POST/DELETE /v1/account/avatar (session, exact Origin, CSRF) and public
GET /v1/avatars/<id>. Uploads are sniffed, size and dimension limited,
fully decoded, re-encoded to a 256x256 PNG without metadata and stored in
SQLite, one per account. avatar_url in the session points to it, with the
provider avatar as fallback.

Claude-Session: https://claude.ai/code/session_01GDjxLvBcnJqniFQGUGb1V4
2026-10-24 21:48:05 +02:00
..
auth feat(hub): let users upload their own avatar 2026-10-24 21:48:05 +02:00
mail feat(hub): email one-time-code sign-in 2026-10-24 17:42:52 +02:00
avatar.rs feat(hub): let users upload their own avatar 2026-10-24 21:48:05 +02:00
config.rs feat: add GitHub sign-in and channel webhooks 2026-10-24 15:02:42 +02:00
database.rs feat(hub): add central service foundation and transactional mail 2026-10-24 14:15:48 +02:00
identity.rs feat(hub): email one-time-code sign-in 2026-10-24 17:42:52 +02:00
lib.rs feat(hub): let users upload their own avatar 2026-10-24 21:48:05 +02:00
main.rs feat(hub): email one-time-code sign-in 2026-10-24 17:42:52 +02:00
web.rs feat(hub): let users upload their own avatar 2026-10-24 21:48:05 +02:00