Capybara-z
a61d93ddcc
фикс парсера времени
...
- фикс парсера времени для старых панелей
2025-02-19 01:31:15 +03:00
Capybara-z
96d738aa9a
чистка кода
...
- Почитсил коментарии.
2025-02-18 23:57:38 +03:00
Capybara-z
f87d0c9529
фикс расчета остатка
...
- Не посмотрел что TOTAL_GB указывается в байтах
2025-02-18 19:40:47 +03:00
Capybara-z
753c408f3e
фикс подписок
...
- Поправлено время для SUPERNODA = False
- Добавлен подсчет использованного трафика для Happ
2025-02-18 17:35:40 +03:00
Capybara-z
cc0fc74f82
фикс парсинга времени
...
- исправлен парсинг времени если передается без запятой
2025-02-18 14:31:43 +03:00
Capybara-z
4a3883ee71
Указал коменты
2025-02-18 13:45:59 +03:00
Capybara-z
3a459b1f61
фикс отображения
...
- Исправлено отображение с трафиком и без для спуперноды вкл/выкл
- Исправлен парсинг в общем для разных режимов.
2025-02-18 13:30:46 +03:00
Capybara-z
0c0c431e76
Правки для Happ
...
- Добавлен хедер трафика и даты завершения
2025-02-18 12:12:34 +03:00
Capybara-z
521a930911
поправлены отступы
2025-02-18 11:19:52 +03:00
Capybara-z
3e31b82d55
Фикс отображения данных
...
- Фикс отображения данных для Happ
2025-02-18 11:17:33 +03:00
Capybara-z
196a5204bb
фикс отображения трафика
...
- Корректное отображения трафика
2025-02-18 10:51:51 +03:00
Capybara-z
061d7870e4
Единое время обновления подписки
...
- Единое время обновления подписки
2025-02-18 10:30:18 +03:00
Capybara-z
54923177ac
фикс часов
...
- фискс отображения когда остаются только часы
2025-02-18 10:19:05 +03:00
Capybara-z
94f7f65cc3
Фикс подпсиок
...
- Убираем профиль
- Отказ от SUB_MESSAGE
- Перадача подпсики и времени работы вместо SUB_MESSAGE
- Отдельная итеграция для Happ по хукам.
2025-02-18 09:21:10 +03:00
Vladless
0236b08c31
add_change_domain/bug_fixes_16
2025-02-18 02:05:14 +03:00
Capybara-z
b6e7e2e5b2
Апдейт подписок.
...
- Добавление профиля.
- Выводит имейл и время подписки
- Страны становятся чистыми
- Профиль всегда на 1 месте
- Перемашка стран.
2025-02-17 02:50:21 +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
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
70b8aec368
minor fixes
2025-02-02 19:40:17 +03:00
Zakhar Izmaylov
c9afe25c52
Remove check_online_users function and minor import reorganization
...
- Removed unused check_online_users function from notifications handler
- Reorganized imports in notifications.py and utils.py
- Fixed TimeoutError import in subscriptions.py
2025-01-31 00:08:31 +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
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
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
Boris Kovalskii
f314fbd9cc
optimize subscriptions
...
Get and update subscriptions faster
2025-01-15 21:05:00 +10: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
3c0a94a3f8
Add timeout
2025-01-11 18:43:14 +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
Vladless
4becc056dc
sub_name
2024-12-14 18:46:43 +03:00
Vladislav Lisitsyn
0f0a1ab9f0
Merge branch 'main' into main
2024-12-14 02:02:00 +03:00
Vladless
a0c25e8d67
sub_name/delete user
2024-12-13 23:01:58 +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
Zakhar Izmaylov
d1b7a01b4f
Update config
2024-11-22 21:24:55 +03:00
Vladless
a568edad63
security update 1.0
2024-11-19 11:21:34 +03:00
Zakhar Izmaylov
fb28a0881c
Add dry logging
2024-11-16 18:01:28 +03:00
Vladless
e23676b74d
servers in clusters/total_gb
2024-11-14 03:03:32 +03:00
Zakhar Izmaylov
7b9e5914c0
isort and black
2024-11-09 11:44:15 +03:00
Zakhar Izmaylov
76dd0fd1f6
Migrate logging for loguru
2024-11-09 11:41:48 +03:00
Zakhar Izmaylov
ff2c66784d
Fix logging
2024-11-09 11:33:17 +03:00
Zakhar Izmaylov
c68a5794af
Refactoring and fix
2024-11-09 10:36:16 +03:00
Vladless
53a56e00cb
v3. Полноценные подписки
2024-11-07 07:53:29 +03:00