Zakhar Izmaylov
311c48edcd
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
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
Vladless
0391bd90e9
FlowPayRenew/fixNotify/pay_history/custom/statistic/minorFixes
2025-01-14 04:06:55 +03:00
Vladless
c0cbc17c1e
add_stats
2025-01-13 03:58:58 +03:00
Zakhar Izmaylov
023186bd93
Update stats
2025-01-11 18:10:43 +03:00
Zakhar Izmaylov
a018a42f2c
Add antiflood and lint
2025-01-10 14:51:13 +03:00
Zakhar Izmaylov
5c70f8c35f
Add stats
2025-01-10 14:38:28 +03:00
Vladless
3ac9435e58
syncClaster/picGifts/mailingCluster/renewButtin and more
2025-01-10 00:02:13 +03:00
Vladless
94c5bfe8bf
fiatCryptobot/flowPayments/Buttons/fixNotify/BanOfUsers/fixTrial and more
2025-01-09 06:00:50 +03:00
Vladless
365e1f6d61
fiatCryptobot/flowPayments/Buttons/fixNotify/BanOfUsers/fixTrial and more
2025-01-09 02:40:39 +03:00
Zakhar Izmaylov
2b23e5aa42
Update version
2025-01-06 15:29:24 +03:00
Zakhar Izmaylov
c70798f0d5
Fix process_message_to_all
2025-01-06 12:09:15 +03:00
Zakhar Izmaylov
9ddbb407d0
Update send_to_alls
2025-01-05 23:19:45 +03:00
Vladless
1ee1ee3b0e
TV/Send_message/custom_refferal_level/buttons
2024-12-28 22:28:38 +03:00
Vladless
d2fc1eb256
TV/Send_message/custom_refferal_level/buttons
2024-12-28 22:22:56 +03:00
hteppl
729e5ab87a
Monthly payments in admin stats
2024-12-26 03:36:28 +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
69fd2b9f8e
add/delete servers in admin
2024-12-02 03:25:06 +03:00
Vladless
2dd3d3e2a7
sudo in restart
2024-11-29 00:01:48 +03:00
Zakhar Izmaylov
f97faccf95
Enhanced notifications and admin: CSV export for users/payments, better feedback/navigation, DEV_MODE checks for notifications, .csv in .gitignore, fixed trial expiry with TRIAL_TIME.
2024-11-26 02:52:15 +03:00
Zakhar Izmaylov
95192032de
Fix typing
2024-11-24 01:19:00 +03:00
Zakhar Izmaylov
30efc7a1c7
Refactoring
2024-11-24 01:18:42 +03:00
Zakhar Izmaylov
6d106bcfb2
Fix admin
2024-11-23 07:14:58 +03:00
Zakhar Izmaylov
d1b7a01b4f
Update config
2024-11-22 21:24:55 +03:00
Zakhar Izmaylov
a260e6f060
Update text admin
2024-11-22 01:14:23 +03:00
Zakhar Izmaylov
fff4ef4790
Add search from username
2024-11-22 00:43:23 +03:00
Zakhar Izmaylov
54a8d380e8
Update user_stats_menu
2024-11-21 21:14:44 +03:00
Zakhar Izmaylov
480bcf28ab
Update admin
2024-11-20 17:18:28 +03:00
Zakhar Izmaylov
742cbc0bee
Add new table and add stats in admin
2024-11-20 16:47:21 +03:00
Zakhar Izmaylov
fe7690ac02
Fix admin and create coupons
2024-11-17 15:26:03 +03:00
Zakhar Izmaylov
e951dd9573
Fix admin
2024-11-17 15:10:28 +03:00
Zakhar Izmaylov
f585b82cd6
Add admin middleware
2024-11-17 13:11:49 +03:00
Zakhar Izmaylov
9e89f77ed4
#TODO Admin and bash
2024-11-16 23:56:45 +03:00
Vladless
3adc7fc59f
coupons initial
2024-11-15 03:03:24 +03:00
Zakhar Izmaylov
6a30f342db
Add DatabaseMiddleware #TODO
2024-11-13 17:03:18 +03:00
Zakhar Izmaylov
a1fb2bfb09
Restructuring for filters
2024-11-13 16:53:23 +03:00
Vladless
9f8a366aa3
small fix
2024-11-13 05:41:49 +03:00
Vladless
38f02bbcb6
redesign/bug fixes/admin trial
2024-11-13 04:01:13 +03:00
Vladless
c01c888f0e
redesign/bug fixes/admin trial
2024-11-13 03:59:34 +03:00
Zakhar Izmaylov
c5c3b4949b
Fix formating and freekassa
2024-11-12 00:11:33 +03:00
Zakhar Izmaylov
15497f28fc
Small refactoring admin
2024-11-11 23:17:09 +03:00
Zakhar Izmaylov
a853e53b9f
Add crypto(beta), fix import, fix requirements.txt
2024-11-11 21:51:34 +03:00
Zakhar Izmaylov
e524e439b1
Add make and config for formatting
2024-11-10 11:02:15 +03:00
Vladless
0697873742
bug and fix
2024-11-10 02:25:36 +03:00
Zakhar Izmaylov
a791314e1f
Fix
2024-11-09 23:20:08 +03:00
Zakhar Izmaylov
7222dc327d
Refactoring admin_panel.py
2024-11-09 15:54:16 +03:00