Aug 19 - Update code to catch up with ST

This commit is contained in:
2026-08-19 14:05:18 -04:00
parent c9984e7ae6
commit 12141c2f75
52 changed files with 3321 additions and 342 deletions
+13
View File
@@ -113,6 +113,19 @@ class Config:
if os.environ.get('PHOTO_RETENTION_DAYS') else None
)
# ── Issue comment visibility (TEMPORARY — Aug 2026) ──────────────────────
# True = every comment on an issue is visible to everyone, customers
# included; the per-comment is_customer_visible flag is ignored
# when READING.
# False = phase22 behaviour — customers see only comments explicitly shared
# with them.
#
# The flag is still WRITTEN on every comment, so flipping this back to
# 'false' restores the old behaviour exactly, with no data to repair.
# Set COMMENTS_VISIBLE_TO_ALL=false in the environment to revert.
COMMENTS_VISIBLE_TO_ALL = os.environ.get(
'COMMENTS_VISIBLE_TO_ALL', 'true').lower() == 'true'
# ── Session / cookies ───────────────────────────────────────────────────
PERMANENT_SESSION_LIFETIME = timedelta(hours=24)
# Secure by default — subclasses must explicitly opt out for local dev.