Commit Graph

31 Commits

Author SHA1 Message Date
hteppl 6195dfd08d Optimize and fix imports 2025-03-25 17:42:53 +03:00
Vladislav Lisitsyn a2693393d3 Revert "Добавление нового middleware и рефакторинг" 2025-03-12 10:23:51 +03:00
izzzzzi 9b557f22d1 Добавление нового middleware и рефакторинг обработчиков с поддержкой target_message 2025-03-08 04:59:23 +05:00
izzzzzi 2d937d13d7 Рефакторинг и оптимизация кода: улучшение импортов, форматирования и обработки уведомлений 2025-03-07 06:16:24 +05:00
Vladless 5ccdc7f68b refactoring and minor improvements 2025-02-25 19:56:42 +03:00
izzzzzi 0657136ae5 Рефакторинг и оптимизация импортов в модулях проекта
- Упорядочивание и группировка импортов в соответствии с PEP 8
- Удаление неиспользуемых импортов
- Перемещение локальных импортов в начало списка
- Добавление пустых строк для улучшения читаемости
- Систематизация порядка импортов в различных модулях проекта
2025-02-25 04:14:58 +05:00
Vladless 469d2c9afe edit_text/lots of improvements 2025-02-16 07:17:35 +03:00
Zakhar Izmaylov fa8c644520 Add client toggle functionality for 3x-ui servers 2025-02-14 23:06:45 +03:00
Vladless 0da8771a52 NOTIFICATIONS 2.0/bug fixes and improvments 2025-02-14 00:30:06 +03:00
Vladless 13325fab43 ruff formatting 2025-02-06 13:53:02 +03:00
Vladless 1b17f0fd71 change_location/CASHBACK/logging/bug_fixes 2025-02-02 02:11:57 +03:00
Zakhar Izmaylov c8e907edd1 Standardize import order in handler modules
- Reorder imports in multiple handler files to follow a consistent pattern
- Move type-specific imports like Message and CallbackQuery to be more organized
- Ensure clean and uniform import statements across admin and handler modules
2025-01-31 03:01:46 +03:00
Zakhar Izmaylov 6a98f4fb43 Update type hints in admin and handler modules
- Replace types.Message and types.CallbackQuery with explicit Message and CallbackQuery imports
- Improve type annotations in multiple handler files
- Ensure consistent type hinting across admin and handler modules
2025-01-31 02:59:57 +03:00
Zakhar Izmaylov acb73101c0 Refactor and clean up code formatting across multiple files
- Consolidated and simplified code formatting by removing unnecessary line breaks and improving readability in various functions.
- Updated the handling of backup file sending in backup.py for better clarity.
- Streamlined error handling and logging messages in several handlers to enhance consistency.
- Adjusted the Makefile to exclude specific files during Ruff checks and formatting.
- Made minor adjustments to function signatures and parameter handling for improved clarity and consistency.

This commit enhances code maintainability and readability without altering functionality.
2025-01-21 08:57:12 +03:00
Vladless 0391bd90e9 FlowPayRenew/fixNotify/pay_history/custom/statistic/minorFixes 2025-01-14 04:06:55 +03:00
Zakhar Izmaylov a018a42f2c Add antiflood and lint 2025-01-10 14:51:13 +03:00
Vladless 97091f4875 fix_refferal/GIFTS/redirect/name_sub and more 2024-12-19 20:37:41 +03:00
Zakhar Izmaylov 142c1c15e7 Migrate to ruff 2024-12-13 12:09:20 +03:00
Zakhar Izmaylov 95192032de Fix typing 2024-11-24 01:19:00 +03:00
Zakhar Izmaylov 30efc7a1c7 Refactoring 2024-11-24 01:18:42 +03:00
Zakhar Izmaylov d1b7a01b4f Update config 2024-11-22 21:24:55 +03:00
Zakhar Izmaylov 998bf7f7c6 Update text and add view_tariffs 2024-11-21 20:31:24 +03:00
Zakhar Izmaylov 742cbc0bee Add new table and add stats in admin 2024-11-20 16:47:21 +03:00
Zakhar Izmaylov 13d74ce239 Fix img and logger add button back for donate 2024-11-20 15:36:25 +03:00
Zakhar Izmaylov fb28a0881c Add dry logging 2024-11-16 18:01:28 +03:00
Vladless 2ec69c7f14 formatting 2024-11-15 19:19:13 +03:00
Zakhar Izmaylov cf2ce1283d Fix pay stars 2024-11-15 17:28:06 +03:00
Vladless 83c88f42db fix donate 2024-11-15 15:40:20 +03:00
Zakhar Izmaylov aaf3eda76e Add donate 2024-11-15 14:38:14 +03:00
Zakhar Izmaylov 4336826986 Add dev mode and fix menu and fix stars and cryptobot 2024-11-15 11:40:25 +03:00
Zakhar Izmaylov f7b5ec93e6 Fix, Update menu 2024-11-11 23:07:54 +03:00