Fringg
966a599c2c
fix: enforce blacklist via middleware instead of per-handler checks
...
Add BlacklistMiddleware for aiogram that blocks all message/callback/pre_checkout
from blacklisted users globally. Add blacklist check to cabinet API dependency.
Fix case-insensitive username matching. Remove 10 redundant manual checks from handlers.
2026-02-06 15:48:21 +03:00
Egor
c3215a1e54
Update bot.py
2026-02-02 02:47:00 +03:00
c0mrade
9a2aea038a
chore: add uv package manager and ruff linter configuration
...
- Add pyproject.toml with uv and ruff configuration
- Pin Python version to 3.13 via .python-version
- Add Makefile commands: lint, format, fix
- Apply ruff formatting to entire codebase
- Remove unused imports (base64 in yookassa/simple_subscription)
- Update .gitignore for new config files
2026-01-24 17:45:27 +03:00
Egor
7b6f646d7e
Update bot.py
2026-01-07 02:20:49 +03:00
PEDZEO
aa669fa3cd
Refactor logging in ButtonStatsMiddleware and cleanup debug endpoints in menu_layout; streamline button click logging and enhance error handling.
2025-12-21 04:05:26 +03:00
PEDZEO
ce11ec7c0e
Enhance ButtonStatsMiddleware with improved logging and error handling; log middleware activation status based on MENU_LAYOUT_ENABLED setting.
2025-12-21 02:17:40 +03:00
PEDZEO
dd24b7ffde
Add ButtonStatsMiddleware for automatic button click logging in bot setup
2025-12-20 02:42:40 +03:00
gy9vin
1409a0ab8d
Конкурсы
2025-12-14 01:38:22 +03:00
gy9vin
80785f22b0
Черный список, мониторинг суточно графика по регламенту
2025-12-10 19:13:52 +03:00
Egor
fba217b87f
Fix trial reset by clearing server links
2025-11-20 22:49:57 +03:00
Egor
cf6bbffd9b
Respect maintenance monitoring setting
2025-10-31 21:45:58 +03:00
Egor
93c733aac0
Revert "Revert "Improve Pal24 and Heleket verification coverage""
2025-10-26 10:46:38 +03:00
Egor
aacc07835e
Revert "Improve Pal24 and Heleket verification coverage"
2025-10-26 10:45:35 +03:00
Egor
5b59ca3c4f
Display transaction numbers in admin payment list
2025-10-26 10:28:32 +03:00
Egor
e592b3e5c4
Revert "Revert "Add poll management and delivery system""
2025-10-23 06:03:41 +03:00
Egor
fc65b62d65
Revert "Fix aiogram Bot usage in poll handlers"
2025-10-23 06:03:09 +03:00
Egor
8956aafc9a
Fix poll handlers Bot type annotations
2025-10-23 05:55:48 +03:00
gy9vin
83a473606f
Простая покупка подписки
2025-10-18 18:42:03 +03:00
gy9vin
f7cd8c9fc3
Фиксы ошибок запуска
2025-10-14 23:03:21 +03:00
Egor
f73a0fcfe8
Tighten keyword detection in display name middleware
2025-10-09 18:41:35 +03:00
Egor
7e340bc13a
Revert "Revert "Add FAQ management and user menu support""
2025-10-07 06:02:50 +03:00
Egor
3ff06ed9d1
Use paginator for admin offer preview
2025-10-07 06:02:19 +03:00
Egor
39ccc7fb4a
Add privacy policy section and admin management
2025-10-07 04:56:45 +03:00
Egor
e4c7a9cf15
Add admin promo offers and targeted discount workflows
2025-10-04 10:05:31 +03:00
Egor
cb25bbb2ed
Revert "Revert "Refactor admin menu for servers and pricing management""
2025-10-04 05:36:59 +03:00
Egor
c31da6c2ae
Revert "Reorganize admin menu and add pricing management"
2025-10-04 05:35:06 +03:00
Egor
e576cb97ec
feat: reorganize admin menu with pricing section
2025-10-04 05:33:25 +03:00
Egor
9a5203770b
Revert "Add admin tariffs menu scaffolding"
2025-10-04 03:47:57 +03:00
Egor
8e12609746
Add admin tariffs menu scaffolding
2025-10-04 02:39:16 +03:00
Egor
ed9a3613f5
Add system logs view to admin panel
2025-09-30 04:30:30 +03:00
Egor
e3cd2b0b92
Revert "Revert "Add admin bot configuration management UI""
2025-09-25 17:11:15 +03:00
Egor
04a5fe9d77
Revert "Add admin-configurable runtime settings"
2025-09-25 17:10:41 +03:00
Egor
ede9259347
Import json in app settings service
2025-09-25 17:04:34 +03:00
Egor
c1aa08b266
Add scheduled admin reports and manual sending
2025-09-24 07:26:18 +03:00
PEDZEO
f0ae702933
Fix ticket system: add noop handlers, pagination, validation, and admin back button routing
2025-09-22 21:40:10 +03:00
Egor
12061f0752
Add server status menu integration
2025-09-22 17:29:20 +03:00
Egor
177862f178
Add admin promo groups and integrate discounts
2025-09-20 07:48:41 +03:00
Egor
c738b5703f
Fix import cleanup
2025-09-19 12:15:56 +03:00
yazhog
4639020a8e
Conditionally register channel checker middleware
2025-09-16 14:11:44 +03:00
Egor
ba8a57e381
Add files via upload
2025-09-16 07:23:14 +03:00
firewookie
7244e3978b
upd channel check
2025-09-15 16:37:21 +05:00
firewookie
41cabf5e0e
add middleware and keyboard
2025-09-14 23:42:47 +05:00
Egor
a86fccffc0
Update bot.py
2025-09-13 09:19:55 +03:00
yazhog
98cdfcff81
merge main
2025-09-11 22:40:24 +03:00
Egor
5d57c88e4b
Update bot.py
2025-09-11 04:06:13 +03:00
Egor
92bd0c362e
Update bot.py
2025-09-10 22:55:22 +03:00
yazhog
d36e353d9b
Patch message methods to send logo image
2025-09-10 01:17:30 +03:00
Egor
1e90903d54
Update bot.py
2025-09-08 06:22:21 +03:00
Egor
0ccbad4077
Update bot.py
2025-09-07 05:40:15 +03:00
Egor
013ce09846
Update bot.py
2025-09-07 05:37:10 +03:00