Let users pick their Gravatar as their profile image (SCR-1)
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 13s
CI / federation-interop (push) Successful in 1m42s
CI / test (push) Successful in 5m46s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 7s

Opt-in per user and gated by AVATAR_GRAVATAR_ENABLED. The server fetches the image by
the SHA-256 of the account email and caches it with the uploads, so browsers never
contact Gravatar.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-13 11:41:32 +01:00
1 parent c55a6596d0
commit 9243fe4d3f
8 files changed
+328 -4

No files matched your search

+3
View File
@@ -32,6 +32,9 @@ ART_UPLOAD_MAX_BYTES=5242880
# Largest profile image a user may upload (bytes). Stored in an "avatars" folder inside
# ART_STORAGE_DIR, so the same backups cover it.
AVATAR_UPLOAD_MAX_BYTES=2097152
# Let users use their Gravatar as their profile image. The server fetches it, sending
# Gravatar a hash of the user's email address, so it's off unless you turn it on.
AVATAR_GRAVATAR_ENABLED=false
# docker compose host ports (defaults shown)
API_PORT=5050