Vladless
22a0eced2b
rate configurator/ purchase of conditions/ fixed payments/ refactoring/ major improvements and fixes
2025-11-29 19:08:01 +03:00
Capybara-z
56e5f6824e
add user message hook system / fix SSL certificate validation
2025-08-15 15:44:07 +03:00
Capybara-z
027d5cc0cf
fix ssl check
2025-08-13 20:43:29 +03:00
Vladless
1565ec4820
module architecture/ formatting
2025-07-31 23:42:45 +03:00
Vladless
04450e9c83
formatting/3x-ui db import/cosmetic fixes
2025-07-19 01:14:42 +03:00
Capybara-z
df57d71b4c
Fix SSL certificate validation / Fix tariff sorting for subscription renewals
2025-06-26 00:21:31 +03:00
Vladless
e93d7e0baf
CLI 0.1.9/SSL check for servers
2025-06-11 01:32:41 +03:00
Vladless
5571652a9a
ORM update and lots of improvements
2025-05-24 19:30:23 +03:00
Vladless
b2b5a57b57
ruff, button file, castomize ping and backup
2025-03-28 20:39:06 +03:00
hteppl
6195dfd08d
Optimize and fix imports
2025-03-25 17:42:53 +03:00
hteppl
b8aec9ebe9
Use ruff formatting
2025-03-25 16:30:44 +03:00
Vladless
30738a6a00
frozen_subs/restore_all_trial and more
2025-03-12 18:12:29 +03:00
izzzzzi
2d937d13d7
Рефакторинг и оптимизация кода: улучшение импортов, форматирования и обработки уведомлений
2025-03-07 06:16:24 +05:00
izzzzzi
23d675dedc
Добавлена обработка исключений в асинхронных задачах с помощью return_exceptions=True
2025-03-04 00:57:41 +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
02dd042599
minor improvements
2025-02-21 22:36:03 +03: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
Zakhar Izmaylov
83870a2022
Refactor and improve security with cryptographically secure random generation
...
- Replace `random` module with `secrets` for cryptographically secure random choices
- Update type hints for async API methods in client.py
- Optimize file reading with aiofiles in multiple handlers
- Improve error handling and logging in various modules
- Update Python target version to 3.12 in pyproject.toml
- Remove unused imports and improve code quality
2025-01-30 22:35:09 +03:00
Zakhar Izmaylov
8ce7ee0ce0
Optimize import statements and remove unused imports across multiple files
...
This commit focuses on cleaning up import statements by:
- Removing unused imports
- Organizing import order
- Removing redundant imports
- Ensuring consistent import style across different modules
2025-01-29 07:15:20 +03:00
Zakhar Izmaylov
73a365eeb6
Refactor server management and database interactions. Renamed get_servers_from_db to get_servers for clarity and updated related handlers to utilize session management. Refactored add_server_to_db to create_server for consistency. Improved code readability and maintainability across coupon and notification handlers by streamlining database calls and enhancing error handling.
2025-01-23 11:36:15 +03:00
Zakhar Izmaylov
7dafb47c38
Enhance database interaction in coupon and server management. Updated check_unique_server_name to accept session and cluster name parameters for improved uniqueness checks. Introduced new functions: get_coupon_by_code, delete_server, create_coupon_usage, check_coupon_usage, and update_coupon_usage_count for better coupon management. Refactored handlers to utilize these new functions, improving code clarity and maintainability.
2025-01-23 11:28:21 +03:00
Zakhar Izmaylov
4dcfa31331
Add server management functionality by introducing add_server_to_db function for streamlined database interactions. Refactor server addition logic in sync_servers_with_db and admin handlers to utilize the new function, enhancing code clarity and session management.
2025-01-23 08:03:58 +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
Zakhar Izmaylov
4b2e28d15d
Delete parse_mode
2025-01-15 02:15:21 +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
365e1f6d61
fiatCryptobot/flowPayments/Buttons/fixNotify/BanOfUsers/fixTrial and more
2025-01-09 02:40:39 +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
Vladless
f0b2c40a8a
Revert "Merge pull request #112 from Vladless/hteppl-optimize-sources"
...
This reverts commit fa681fac92 , reversing
changes made to b31c9d2e10 .
2024-12-10 03:53:07 +03:00
hteppl
7a11c51e1f
Move util-related files into separated folder + refactor imports
2024-12-08 04:57:20 +03:00
Vladless
e44f7b1cd1
ping servers and notifications
2024-12-06 05:19:44 +03:00
Vladless
0fedc45eca
ping servers and notifications
2024-12-06 04:48:58 +03:00
Vladless
4239f9b9cf
Clusters on/off in config
2024-12-02 04:58:14 +03:00
Vladless
66d4ab22b6
autoconfig servers in database
2024-12-01 23:24:13 +03:00