🚀 Major Release: ivatar 2.0 - Performance, Security, and Instrumentation Overhaul

This commit is contained in:
Oliver Falk
2025-11-03 10:18:33 +01:00
parent 59f0b2864b
commit 41f8c3c402
20 changed files with 1609 additions and 241 deletions

View File

@@ -67,7 +67,7 @@ SOCIAL_AUTH_FEDORA_KEY = None # Also known as client_id
SOCIAL_AUTH_FEDORA_SECRET = None # Also known as client_secret
SITE_NAME = os.environ.get("SITE_NAME", "libravatar")
IVATAR_VERSION = "1.8.0"
IVATAR_VERSION = "2.0"
SCHEMAROOT = "https://www.libravatar.org/schemas/export/0.2"
@@ -244,10 +244,6 @@ CACHES = {
},
}
# This is 5 minutes caching for generated/resized images,
# so the sites don't hit ivatar so much - it's what's set in the HTTP header
CACHE_IMAGES_MAX_AGE = 5 * 60
CACHE_RESPONSE = True
# Trusted URLs for default redirection