Commit Graph
43 Commits
Author SHA1 Message Date
udochudo 9fd69cc3a6 chore: (dependency) Update requirements.txt with all new dependencies include tzdate module
Build and Push Docker Images / build (push) Successful in 1m31s
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-27 20:45:57 +05:00
udochudo 161ad3eaa3 chore: (dependency) Update requirements.txt with all new dependencies include tzdate module
Build and Push Docker Images / build (push) Failing after 1m37s
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-27 20:37:50 +05:00
udochudo ab33329e31 feat: (tg message composer) improve composing message now have more usefull information
Add event duration time
Add event start date and time
Add event resolved date and time
Add event chart link

Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-27 20:37:06 +05:00
udochudo 3d5a237d4d fix: (subscriptions) show message when no regions are available for subscription
Build and Push Docker Images / build (push) Successful in 1m15s
Improved the "Subscribe" button behavior. Now, if there are no regions available to subscribe to, the user sees a proper message instead of silent failure.

Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-25 16:31:19 +05:00
udochudo 2b65d11622 fix: (active triggers) add additional error message when zabbix server is unreachable, add error logging to console
Build and Push Docker Images / build (push) Successful in 1m18s
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-25 16:05:54 +05:00
udochudo a1c36de342 fix: (registration) fix handler for "Продолжить" button, now working without additional requirements
Build and Push Docker Images / build (push) Successful in 1m19s
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-24 10:32:12 +05:00
udochudo 295c1f68e0 chore: (rabbitmq flask client) optimize imports to resolve warnings
Build and Push Docker Images / build (push) Successful in 1m11s
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-23 00:38:25 +05:00
udochudo cec3bcb500 chore: (app structure) remove unused modules
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-23 00:37:50 +05:00
udochudo b296f786ec chore: (auth) fix small cosmetic problem, now refresh /login page not send POST request instead a fresh loading auth page
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-23 00:37:12 +05:00
udochudo d5f9d3be49 fix: (auth page) initialize checking ldap available before login connection to display correct message instean "Invalid username or password"
Build and Push Docker Images / build (push) Successful in 1m21s
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-22 23:23:31 +05:00
udochudo 4f7300e2ce chore: remove unused file and comments
Build and Push Docker Images / build (push) Successful in 36s
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-20 15:05:30 +05:00
udochudo e55e330c50 chore: remove unused placeholder file for settings functions
Build and Push Docker Images / build (push) Successful in 44s
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-19 23:54:44 +05:00
udochudo 8b34d79f4e fix(config): update environment variable retrieval for MAILING_MAX_WORKERS, MAILING_RATE_LIMIT, and MAILING_MAX_RETRIES
Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-19 23:54:04 +05:00
udochudo 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
udochudo 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
udochudo 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
udochudo b7433f0c99 chore(config): unify timezone setting using TZ environment variable
Build and Push Docker Images / build (push) Successful in 47s
Replaced multiple timezone definitions with a single environment variable `TZ` to centralize and simplify timezone configuration across the project.

Signed-off-by: UdoChudo <stream@udochudo.ru>
2025-06-17 23:50:38 +05:00
udochudo 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
udochudo 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
udochudo 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
udochudo ccb47d527f refactor: modularize Telegram bot and add RabbitMQ client foundation
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
udochudo 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
udochudo acf4436fc4 Optimize requirements.txt file 2025-05-05 18:03:09 +05:00
udochudo b94e8d4724 Говорила мне мама...ну нахер эти ваши HDD 2025-04-21 12:04:20 +05:00
udochudo 9e2560f7c3 Refactoring and cleanup codebase (50%...)
MVP dashboard users page
2025-03-17 15:30:58 +05:00
udochudo 20465600b1 Refactoring and cleanup codebase (starting...) 2025-02-23 14:47:13 +05:00
udochudo 8a8cf8af30 Refactoring and cleanup codebase (starting...) 2025-02-23 14:47:10 +05:00
udochudo 486539dbb3 Fix static route for WebUI 2025-02-12 23:50:43 +05:00
udochudo 599a387ac1 Fix static route for WebUI 2025-02-12 23:34:33 +05:00
udochudo e2c6e61b5d Update packages 2025-02-09 12:57:32 +05:00
udochudo c997e49a74 Update packages 2025-02-09 12:23:21 +05:00
udochudo bee536c715 add gitignore 2024-07-29 16:11:22 +05:00
udochudo b719850b15 Fix logger system
Remove someuseless function
2024-07-29 15:22:12 +05:00
udochudo 2d4d3f265e Bugfix, add some extra test buttons 2024-07-15 23:52:05 +05:00
udochudo 5ccd21ab18 Add RabbitMQ for guaranted delivery and rate_limit for message to avoid bans from Telegram Api 2024-07-13 22:18:16 +05:00
udochudo 9f25be7ad9 Add some bug fixes
Add Sorting region list by Region number.
Add check what region is existing when removing and unsubscribing from it
2024-07-12 11:30:52 +05:00
udochudo ecc46b2b5b Merge remote-tracking branch 'origin/master' 2024-07-12 02:57:46 +05:00
udochudo 85893af256 Fix bugs with missing regions id while trying subscribe and unsubscribe to it. Restrict unexpected events 2024-07-12 02:57:29 +05:00
udochudo 656300d166 Update .gitignore 2024-07-11 16:19:23 +05:00
udochudo df5e98dda4 Change menu buttons, fix bug with unsub, add States for users 2024-07-11 16:17:36 +05:00
udochudo 23824dc5fe Add Logging of sub/unsub/register
Add Russian localization
2024-07-10 22:48:51 +05:00
udochudo 60a493e7f0 Add buttons for better using in TelegramApp 2024-07-10 14:08:37 +05:00
udochudo f5ae48a7e9 Initial commit 2024-07-09 13:47:06 +05:00