30 Commits

Author SHA1 Message Date
Влад Зверев
d0e91f5259 Merge remote-tracking branch 'git.udochudo.ru/master'
# Conflicts:
#	telezab.py
2025-02-13 17:27:21 +05:00
Влад Зверев
3c407b2a07 Refactoring get_zabbix_triggers now using problem.get instead of trigger.get 2025-02-13 17:24:38 +05:00
486539dbb3 Fix static route for WebUI 2025-02-12 23:50:43 +05:00
599a387ac1 Fix static route for WebUI 2025-02-12 23:34:33 +05:00
Влад Зверев
d5f1501c73 Merge remote-tracking branch 'git.udochudo.ru/master' 2025-02-12 13:39:03 +05:00
Влад Зверев
8a5acf5dc2 Fix get only current problem without ack and suppress 2025-02-12 13:38:34 +05:00
e2c6e61b5d Update packages 2025-02-09 12:57:32 +05:00
Влад Зверев
bfe4b1e938 Need broke them all and fix again 2025-02-09 09:58:02 +05:00
Влад Зверев
c72df3fd00 Small duty fix. now active triggers sorted order from past to now 2024-09-19 16:37:47 +05:00
Влад Зверев
889a408c57 Small cleanup code 2024-09-19 15:36:19 +05:00
Влад Зверев
a1b961ae20 Small cleanup code 2024-09-19 15:21:52 +05:00
Влад Зверев
4ef050e3c8 Update logging system 2024-09-19 02:55:34 +05:00
Влад Зверев
21834d7d71 Massive rework of menu,
Add endpoint telezab/users
Add endpoint telezab/users/add
Add endpoint telezab/users/del
Add endpoint telezab/users/get
Add endpoint telezab/regions
Add endpoint telezab/regions/add
Add endpoint telezab/regions/del
Add endpoint telezab/regions/get
Rework Active Triggers button now don't need subscription
Rework Help button
Add option to change what Notification type you want reciving All or Disaster Only
Rework Settings button removed some misc buttons
Rework Registration mechanism now using POST JSON users/add
Rework formating of Zabbix Triggers for Active triggers and Notification from Zabbix
2024-09-18 20:12:29 +05:00
Влад Зверев
dd66cb5712 rework Active triggers function
rework settings menu button
add function to choose what severity level you want to receive
2024-09-09 17:05:46 +05:00
Влад Зверев
45bba687cd Add Log rotation
Add logging for Telebot and Flask
Add routing for Enable debugging for Flask and Telebot separately
2024-08-02 11:10:22 +05:00
Влад Зверев
730de38cee Add Log rotation
Add logging for Telebot and Flask
Add routing for Enable debugging for Flask and Telebot separately
2024-08-02 11:09:40 +05:00
Влад Зверев
75809aaafc Fix formating message from zabbix now get Host, history url, host's ip and description of trigger
Trying to fix logger, add logrotation by app
2024-08-01 15:22:33 +05:00
Влад Зверев
3838645d7e Add function for grabbing and sending triggers from zabbix to user
Some many fixes
Now i can accept registration requests from my phone :D
2024-07-31 18:46:26 +05:00
Влад Зверев
2c06ccde2e Fix Get Active Triggers now working with Zabbix 2024-07-30 12:09:33 +05:00
Влад Зверев
b65b6aee48 small fix 2024-07-29 19:12:03 +05:00
bee536c715 add gitignore 2024-07-29 16:11:22 +05:00
b719850b15 Fix logger system
Remove someuseless function
2024-07-29 15:22:12 +05:00
2d4d3f265e Bugfix, add some extra test buttons 2024-07-15 23:52:05 +05:00
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
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
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
df5e98dda4 Change menu buttons, fix bug with unsub, add States for users 2024-07-11 16:17:36 +05:00
23824dc5fe Add Logging of sub/unsub/register
Add Russian localization
2024-07-10 22:48:51 +05:00
60a493e7f0 Add buttons for better using in TelegramApp 2024-07-10 14:08:37 +05:00
f5ae48a7e9 Initial commit 2024-07-09 13:47:06 +05:00