9 Commits

Author SHA1 Message Date
60f77b39eb feat(subscription): add "subscribe all" and "unsubscribe all" buttons
feat(subscription): add check on unsubscribe to notify user if no active subscriptions

Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-19 23:52:48 +05:00
55510a4379 chore(notification mode switch): update icon in final message for notification importance change
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-19 23:50:43 +05:00
604957f1a7 feat(notification): improve processing, formatting, and sending of user notifications
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-19 23:49:22 +05:00
1169605e6e fix(subscription): handle missing MessageID during subscription flow
Fixed a bug where the subscription handler failed when MessageID was not properly received, causing the process to break or behave unexpectedly.

Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-17 23:49:28 +05:00
d9df449a17 refactor(alerts): improve active problem fetching and message formatting
Reworked the logic for retrieving data from Zabbix API to make it more efficient and filter-aware. Message generation for Telegram bot was refactored and decoupled from data retrieval logic to improve structure, readability, and reuse.

Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-17 23:46:39 +05:00
Vladislav Zverev
0169bf5d6b refactor(alerts): improve active problem fetching and message formatting
Reworked the logic for retrieving data from Zabbix API to make it more efficient and filter-aware. Message generation for Telegram bot was refactored and decoupled from data retrieval logic to improve structure, readability, and reuse.

Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-17 23:44:30 +05:00
04d012759c Add debug command for switch logging level for telebot
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-17 23:34:37 +05:00
ccb47d527f refactor: modularize Telegram bot and add RabbitMQ client foundation
All checks were successful
Build and Push Docker Images / build (push) Successful in 1m28s
- Рефакторинг Telegram бота на модульную структуру для удобства поддержки и расширения
- Создан общий RabbitMQ клиент для Flask и Telegram компонентов
- Подготовлена базовая архитектура для будущего масштабирования и новых функций

Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-16 09:08:46 +05:00
52e31864b3 feat: Develop web interface
- Implemented the initial version of the web interface.
refactor: Begin Telegram bot refactoring
- Started restructuring the bot’s code for better maintainability.
chore: Migrate to Flask project structure
- Reorganized the application to follow Flask's project structure.
cleanup: Extensive code cleanup
- Removed redundant code and improved readability.

Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-10 14:39:11 +05:00