Jul 21 - Update uploaded photos location/timestamp

This commit is contained in:
2026-07-21 14:06:26 -04:00
parent 507d9b5c64
commit 5a30abbea5
4 changed files with 413 additions and 5 deletions
+5
View File
@@ -53,6 +53,11 @@ class Config:
# Off by default — cutover is gated on full verification, so objects exist.
R2_MEDIA_FALLBACK = os.environ.get('R2_MEDIA_FALLBACK', 'false').lower() == 'true'
# ── Photo capture-time / geo overlay ────────────────────────────────────
# When true (default), POST /api/v1/photos/upload burns a timestamp + GPS
# bar into the image before storing it. Set false to store raw uploads.
PHOTO_STAMP_ENABLED = os.environ.get('PHOTO_STAMP_ENABLED', 'true').lower() == 'true'
# ── Session / cookies ───────────────────────────────────────────────────
PERMANENT_SESSION_LIFETIME = timedelta(hours=24)
# Secure by default — subclasses must explicitly opt out for local dev.