v1.8.0: YandexGPT-only NLP, unknown questions system, callback dedup, consent flow fixes, DELETE cascade, UTC+3, auto-detect sidebar menu, tel:/mailto: links

This commit is contained in:
2026-06-01 18:07:13 +03:00
parent aa1269e013
commit cc87bcf72c
20 changed files with 1453 additions and 301 deletions
+3 -3
View File
@@ -35,9 +35,9 @@ class EmailSender:
timeout=30,
)
return proc.returncode == 0
except Exception as e:
logger.error(f"Email send failed: {e}, falling back to debug log")
return self._send_debug(to, subject, body, from_addr)
except Exception as e:
logger.error(f"Email send failed: {e}, falling back to debug log")
return self._send_debug(to, subject, body, from_addr)
def _send_debug(self, to: str, subject: str, body: str, from_addr: str) -> bool:
log_dir = os.path.join(os.path.dirname(__file__), "..", "logs")