BW3-Core/docu/docs
KoenigMjr edf7a6afe8 [upd/telegram]: improve stability, safety and production robustness
Updated the Telegram plugin to handle high-load scenarios and prevent
resource exhaustion. Key focus areas were message formatting,
concurrency management, and configuration resilience.

- Implement bounded message queue (max 100) with non-blocking drops to prevent memory leaks
- Add graceful shutdown logic with worker thread joining and queue draining
- Add self-healing initialization (`_ensure_sender`) to handle race conditions during startup
- Implement robust escaping/sanitization for HTML and MarkdownV2 parse modes
- Enforce Telegram's 4096 character limit with graceful truncation
- Enhance error diagnostics for API responses (Rate limiting, 4xx/5xx errors)
- Validate and sanitize GPS coordinates (range and type checking)
- Decouple logging from global config by using module-level logger

Behavioral Changes:
- BREAKING: Location messages now require `coordinates: true` in config (previously default)
- Messages are dropped with an error log when the queue is full (prevents system hang)
- Invalid HTML/Markdown characters are now automatically escaped to prevent API errors
2026-01-19 09:34:13 +01:00
..
develop docs(packet): Ergänzung um {TIME}, {BR}, {LPAR}, {RPAR} 2025-12-22 19:32:18 +01:00
img add routing docu 2019-10-28 08:59:54 +01:00
information .css Stylesheet integriert 2025-07-09 16:11:05 +02:00
modul CSV-Cleaning, new matching strategy, new Debug-message, updating docu 2025-12-03 22:28:08 +01:00
plugin [upd/telegram]: improve stability, safety and production robustness 2026-01-19 09:34:13 +01:00
stylesheets .css Stylesheet integriert 2025-07-09 16:11:05 +02:00
changelog.md Update Changelog and remove double negation 2022-02-18 19:34:00 +01:00
config.md Typo 2023-01-24 13:27:23 +01:00
index.md .css Stylesheet integriert 2025-07-09 16:11:05 +02:00
install.md feat: Interaktives Installationsskript mit Mehrsprachigkeit, argparse und Logging 2025-08-08 21:12:17 +02:00
service.md feat: Interaktives Installationsskript mit Mehrsprachigkeit, argparse und Logging 2025-08-08 21:12:17 +02:00
tbd.md update docs 2019-09-20 12:00:02 +02:00
usage.md feat: Interaktives Installationsskript mit Mehrsprachigkeit, argparse und Logging 2025-08-08 21:12:17 +02:00