[30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway.

This commit is contained in:
2026-03-07 14:08:42 +00:00
parent 35c30bc39a
commit d1b77fd2f6
415 changed files with 24100 additions and 13301 deletions

View File

@@ -0,0 +1,29 @@
import os
import sys
# Füge das aktuelle Verzeichnis zum Python-Pfad hinzu, damit config.py gefunden wird.
sys.path.append(os.getcwd())
try:
from config import settings
except ImportError:
print("Error: Could not import 'settings' from 'config.py'.")
sys.exit(1)
print("--- SuperOffice Configuration Debug ---")
print(f"Environment: {settings.SO_ENVIRONMENT}")
print(f"Client ID: {settings.SO_CLIENT_ID[:5]}... (Length: {len(settings.SO_CLIENT_ID)})")
# Secret nicht ausgeben, nur ob gesetzt
if settings.SO_CLIENT_SECRET:
print(f"Client Secret Set: Yes (Length: {len(settings.SO_CLIENT_SECRET)})")
else:
print("Client Secret Set: No")
if settings.SO_REFRESH_TOKEN:
print(f"Refresh Token Set: Yes (Length: {len(settings.SO_REFRESH_TOKEN)})")
else:
print("Refresh Token Set: No")
print(f"Context Identifier: {settings.SO_CONTEXT_IDENTIFIER}")
print(f"Redirect URI: {settings.SO_REDIRECT_URI}")
print("---------------------------------------")