izzzzzi
2db29fba9d
Добавлена обработка таймаутов с использованием httpx в клиентских операциях
2025-03-04 01:23:54 +05:00
Vladless
bded99263a
refactoring and minor improvements
2025-02-25 19:56:42 +03:00
izzzzzi
79982f5aa6
Рефакторинг и оптимизация импортов в модулях проекта
...
- Упорядочивание и группировка импортов в соответствии с PEP 8
- Удаление неиспользуемых импортов
- Перемещение локальных импортов в начало списка
- Добавление пустых строк для улучшения читаемости
- Систематизация порядка импортов в различных модулях проекта
2025-02-25 04:14:58 +05:00
Vladless
4b503ce31a
edit_text/lots of improvements
2025-02-16 07:17:35 +03:00
Zakhar Izmaylov
310aa9bce6
Add client toggle functionality for 3x-ui servers
2025-02-14 23:06:45 +03:00
Vladless
5a77f29bd5
add traffic statistic/share refferal link and more
2025-02-07 21:38:46 +03:00
Vladless
7623f339bc
ruff formatting
2025-02-06 13:53:02 +03:00
Zakhar Izmaylov
899da825cb
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
b1739cf4ea
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
6c323dc7df
Refactor client configuration and improve code clarity in client.py and admin_servers.py. Added a new line in ClientConfig for better readability and updated the extend_client_key function signature for consistency. Corrected a TODO comment format in admin_servers.py for improved code standards.
2025-01-23 08:50:04 +03:00
Zakhar Izmaylov
94980d4524
Refactor client management functions in client.py to use a dataclass for client configuration. Update add_client, extend_client_key, and delete_client functions to improve parameter handling and logging. Enhance error handling and documentation for better clarity and maintainability.
2025-01-23 08:49:03 +03:00
Zakhar Izmaylov
a2c71a49f2
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
35f214a45f
SuperNode/SyncTimeout/pytz
2025-01-14 12:16:14 +03:00
Vladless
8fdc78c2e8
FlowPayRenew/fixNotify/pay_history/custom/statistic/minorFixes
2025-01-14 04:06:55 +03:00
Zakhar Izmaylov
0d82294bdb
Add antiflood and lint
2025-01-10 14:51:13 +03:00
Vladless
70e3f5c714
syncClaster/picGifts/mailingCluster/renewButtin and more
2025-01-10 00:02:13 +03:00
Vladless
ae22950ce3
fix_refferal/GIFTS/redirect/name_sub and more
2024-12-19 20:37:41 +03:00
Zakhar Izmaylov
76d72ba203
Migrate to ruff
2024-12-13 12:09:20 +03:00
Vladless
7c883b07f9
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
1d915f849c
Move util-related files into separated folder + refactor imports
2024-12-08 04:57:20 +03:00
Vladless
bbe355008a
reset traffic
2024-11-24 23:02:34 +03:00
Vladless
d91465c435
ID_Inbound
2024-11-24 22:29:32 +03:00
Vladless
9cb9b9441a
ID_Inbound
2024-11-24 22:29:05 +03:00
Zakhar Izmaylov
9673f10af7
Update config
2024-11-22 21:24:55 +03:00
Zakhar Izmaylov
601598dfd2
Add dry logging
2024-11-16 18:01:28 +03:00
Vladless
f6f1227dd8
ip
2024-11-15 23:59:42 +03:00
Vladless
1abe1c7166
logging for add client
2024-11-15 19:24:09 +03:00
Vladless
584fec2dc8
servers in clusters/total_gb
2024-11-14 14:17:16 +03:00
Vladless
4aa521c6b9
servers in clusters/total_gb
2024-11-14 03:03:32 +03:00
Zakhar Izmaylov
8b19cf0956
Update keyboards, update texts.py
2024-11-13 16:48:56 +03:00
Vladless
5db5c8377b
add TOTAL_GB
2024-11-13 16:18:16 +03:00
Vladless
59ca46908e
small fix
2024-11-13 15:38:20 +03:00
Vladless
7a4aa5099d
redesign/bug fixes/admin trial
2024-11-13 04:01:13 +03:00
Vladless
13efb0cc45
redesign/bug fixes/admin trial
2024-11-13 03:59:34 +03:00
Vladless
e002035518
minPython 3.10/py3xui/subs/rm_artefacts
2024-11-11 17:47:26 +03:00
Zakhar Izmaylov
27f5b9d43a
Add make and config for formatting
2024-11-10 11:02:15 +03:00
Vladless
4bf5b3a87d
reset traffic
2024-11-10 03:31:19 +03:00
Zakhar Izmaylov
1d9aa3b432
isort and black
2024-11-09 11:44:15 +03:00
Zakhar Izmaylov
b12bb33242
Migrate logging for loguru
2024-11-09 11:41:48 +03:00
Zakhar Izmaylov
1f7d0a263f
Fix logging
2024-11-09 11:33:17 +03:00
Zakhar Izmaylov
800a86c500
Refactoring and fix
2024-11-09 10:36:16 +03:00
Vladless
9cf29cc59c
Подписки. initial commit
2024-10-30 02:35:27 +03:00
Vladless
cd6d05320e
исправлен траффик при продлении
2024-10-29 23:45:27 +03:00
Vladless
3680d0606a
rm update_bot
2024-10-28 19:49:03 +03:00
Vladless
146512b2ab
Админ. Установка времени ключей
2024-10-27 06:15:34 +03:00
Vladless
8d4bec79b3
Логи. Уведомления. Тексты
2024-10-25 20:45:12 +03:00
Vladless
4b1e8b555a
основной текст в отдельном файле
2024-10-22 01:53:50 +03:00
Vladless
8588b89421
aiohttp, уведомления, правки
2024-10-09 00:51:22 +03:00
Vlad
3f5c449817
чистота кода
2024-10-03 07:08:17 +03:00
Vlad
4958061a19
выбор сервера, переработка ссылок
2024-10-03 04:43:55 +03:00