Zakhar Izmaylov
56af0a7885
Merge branch 'main' of https://github.com/izzzzzi/Solo_bot
2025-01-23 11:40:25 +03:00
Zakhar Izmaylov
c4d3c921bd
Refactor code to utilize aiofiles for asynchronous file handling across multiple modules. Added a new function to remove blocked users from the database and updated user blocking/unblocking logic to use this new function. Improved database interaction in admin panel handlers by passing session objects instead of creating new connections. This enhances performance and maintains consistency in file operations.
2025-01-23 06:34:45 +03:00
Zakhar Izmaylov
44cadc29ba
Refactor file handling to use aiofiles for asynchronous operations
...
- Replaced synchronous file reading with asynchronous file handling using aiofiles in multiple handlers and the backup module.
- Improved performance and responsiveness when sending images and backups by utilizing async file operations.
- Ensured consistent use of BufferedInputFile across all relevant functions for better code maintainability.
2025-01-21 12:03:56 +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
8fdc78c2e8
FlowPayRenew/fixNotify/pay_history/custom/statistic/minorFixes
2025-01-14 04:06:55 +03:00
Vladless
086e3fe5b0
fix_profile
2025-01-13 02:03:09 +03:00
Zakhar Izmaylov
1057fd6ef6
Add balance_history
2025-01-11 18:03:59 +03:00
Zakhar Izmaylov
0d82294bdb
Add antiflood and lint
2025-01-10 14:51:13 +03:00
Vladless
a19c325e15
fiatCryptobot/flowPayments/Buttons/fixNotify/BanOfUsers/fixTrial and more
2025-01-09 03:16:53 +03:00
Vladless
10df771a15
fiatCryptobot/flowPayments/Buttons/fixNotify/BanOfUsers/fixTrial and more
2025-01-09 02:40:39 +03:00
Vladless
15fef698d9
TV/Send_message/custom_refferal_level/buttons
2024-12-28 22:22:56 +03:00
Vladless
0840a07ed9
add support for business/optimization
2024-12-20 23:29:27 +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
035ef47619
rm wrench
2024-12-11 15:41:45 +03:00
Vladislav Lisitsyn
4792abc6d5
Merge pull request #113 from Vladless/hteppl-optimize-sources
...
Hteppl optimize sources
2024-12-10 04:14:24 +02:00
Vladless
d5371e4c04
pic for tariffs
2024-12-10 05:12:49 +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
9251087d2c
backup for 3x-ui
2024-12-05 23:31:48 +03:00
Vladless
b58079d86f
Clusters on/off in config
2024-12-02 04:58:14 +03:00
Vladless
ee2ae3f14d
profile/reorganization and news
2024-12-02 04:46:05 +03:00
Vladless
36a44f3669
move button
2024-12-02 04:06:46 +03:00
Zakhar Izmaylov
bac2dbaf85
Refactor import statements in notification, profile, key management, and keys handlers for improved organization and consistency. Ensure RENEWAL_PLANS is included in all relevant files.
2024-11-24 23:45:38 +03:00
Zakhar Izmaylov
f9e29f4fa9
Refactor notification and profile handlers to include RENEWAL_PLANS from config. Update key management and keys handlers to streamline imports and enhance code organization.
2024-11-24 23:45:27 +03:00
Zakhar Izmaylov
041c8e1511
Fix srssion
2024-11-24 11:26:54 +03:00
Zakhar Izmaylov
270f01511d
Update id
2024-11-24 11:07:52 +03:00
Zakhar Izmaylov
bc77c6a5ff
Fix typing
2024-11-24 01:19:00 +03:00
Zakhar Izmaylov
31eb551b6d
Refactoring
2024-11-24 01:18:42 +03:00
Zakhar Izmaylov
9673f10af7
Update config
2024-11-22 21:24:55 +03:00
Zakhar Izmaylov
ac632a5e96
Update instructions
2024-11-21 20:49:58 +03:00
Zakhar Izmaylov
6701222697
Update text and add view_tariffs
2024-11-21 20:31:24 +03:00
Zakhar Izmaylov
3041e0a208
Update admin
2024-11-20 17:18:28 +03:00
Zakhar Izmaylov
23ec7e3ccb
Formatting
2024-11-17 16:15:51 +03:00
Zakhar Izmaylov
a46e8d3a5a
Fix admin
2024-11-17 16:10:58 +03:00
Zakhar Izmaylov
dd84c8dd3a
Fix
2024-11-17 14:09:05 +03:00
Zakhar Izmaylov
7c93c8cc31
Refactoring and fix
2024-11-17 13:33:17 +03:00
Zakhar Izmaylov
c2d06e10b8
Add admin middleware
2024-11-17 13:11:49 +03:00
Zakhar Izmaylov
601598dfd2
Add dry logging
2024-11-16 18:01:28 +03:00
Zakhar Izmaylov
5db30c05f7
Add donate
2024-11-15 14:38:14 +03:00
Zakhar Izmaylov
5dd1fab7e9
Add dev mode and fix menu and fix stars and cryptobot
2024-11-15 11:40:25 +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
Zakhar Izmaylov
577592479b
Fix formating and freekassa
2024-11-12 00:11:33 +03:00
Zakhar Izmaylov
35939d89b8
Fix texts
2024-11-11 23:35:01 +03:00
Zakhar Izmaylov
ee30f5ab95
Fix, Update menu
2024-11-11 23:07:54 +03:00
Zakhar Izmaylov
1b45580390
Add multypay
2024-11-11 22:45:11 +03:00
Vladless
b5c8f4fa28
bug fix
2024-11-11 07:42:22 +03:00
Zakhar Izmaylov
27f5b9d43a
Add make and config for formatting
2024-11-10 11:02:15 +03:00
Vladless
adaae41826
bug and fix
2024-11-10 02:25:36 +03:00