izzzzzi
4ac8b6ce08
Добавлена обработка таймаутов с использованием httpx в клиентских операциях
2025-03-04 01:23:54 +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
0236b08c31
add_change_domain/bug_fixes_16
2025-02-18 02:05:14 +03:00
Boris Kovalskii
002f8dc5ae
Opimize and fix coupons and refferals
2025-02-16 17:09:16 +10: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
da5962e0e2
optimization notifications and get_traffic
2025-02-14 04:36:37 +03:00
Vladless
0da8771a52
NOTIFICATIONS 2.0/bug fixes and improvments
2025-02-14 00:30:06 +03:00
Vladless
f5afec997c
add traffic statistic/share refferal link and more
2025-02-07 21:38:46 +03:00
Vladless
13325fab43
ruff formatting
2025-02-06 13:53:02 +03:00
Vladless
9d4cd6ccb5
Major bug fixes
2025-02-06 02:03:12 +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
GitHub Actions
5f2b40b2d2
Auto-format code with Ruff using pyproject.toml
2025-01-29 04:01:20 +00:00
Zakhar Izmaylov
a757852598
Merge branch 'main' of https://github.com/izzzzzi/Solo_bot
2025-01-29 07:01:01 +03:00
Oleg Kraev
ee155db444
Merge branch 'main' into dev
2025-01-24 23:35:19 +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
31dd3d6654
Refactor client management in key_utils.py and trial_key.py to utilize ClientConfig dataclass for improved parameter handling. This change enhances code clarity and maintainability by consolidating client configuration parameters into a single structured object, streamlining the add_client function calls across multiple handlers.
2025-01-23 10:24:16 +03:00
Zakhar Izmaylov
2d638b0c82
Refactor key management functions to improve database interactions by consolidating key deletion logic into a single function. Introduce timezone-aware expiry date calculations for keys and enhance key retrieval processes across various handlers. Update the start command to utilize a dedicated function for adding connections, ensuring cleaner code and better session management.
2025-01-23 07:49:21 +03:00
GitHub Actions
845a8c8671
Auto-format code with Ruff using pyproject.toml
2025-01-23 03:15:11 +00:00
Zakhar Izmaylov
cc7d15390d
Merge branch 'main' of https://github.com/izzzzzi/Solo_bot
2025-01-23 06:14:33 +03:00
Vladless
eb666ca3a4
location-selection/major_update_notifications/gifts and more fixes
2025-01-21 22:43:18 +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
hteppl
466c2dcf31
Reimage update_subscription callback to work as function
2025-01-17 21:44:54 +03:00
Vladless
c218a3d9a1
SuperNode/SyncTimeout/pytz
2025-01-15 18:46:33 +03:00
Vladless
a626a1d882
SuperNode/SyncTimeout/pytz
2025-01-14 23:35:19 +03:00
Vladless
722a0f4913
SuperNode/SyncTimeout/pytz
2025-01-14 12:16:14 +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
3ac9435e58
syncClaster/picGifts/mailingCluster/renewButtin and more
2025-01-10 00:02: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
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
dd79c6a709
Move keys utils into utils folder
2024-12-08 05:11:31 +03:00
hteppl
7a11c51e1f
Move util-related files into separated folder + refactor imports
2024-12-08 04:57:20 +03:00
Vladless
319ea2b63b
servers in database
2024-12-01 23:24:53 +03:00
Vladless
783ac6f705
ID_Inbound
2024-11-24 22:29:32 +03:00
Vladless
b0b690b78f
ID_Inbound
2024-11-24 22:29:05 +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
fb28a0881c
Add dry logging
2024-11-16 18:01:28 +03:00
Vladless
ad315ed7c5
total_gb
2024-11-15 19:16:06 +03:00
Vladless
e23676b74d
servers in clusters/total_gb
2024-11-14 03:03:32 +03:00
Vladless
ca056b0add
minPython 3.10/py3xui/subs/rm_artefacts
2024-11-11 17:47:26 +03:00
Vladless
7092f1dd7b
bug fix
2024-11-11 07:42:22 +03:00
Zakhar Izmaylov
e524e439b1
Add make and config for formatting
2024-11-10 11:02:15 +03:00
Vladless
6f5aa1e3f4
reset traffic
2024-11-10 03:31:19 +03:00
Vladless
0697873742
bug and fix
2024-11-10 02:25:36 +03:00