Commit Graph

57 Commits

Author SHA1 Message Date
Vladless 02dd042599 minor improvements 2025-02-21 22:36:03 +03:00
Vladless 1b17f0fd71 change_location/CASHBACK/logging/bug_fixes 2025-02-02 02:11:57 +03:00
Zakhar Izmaylov 6a98f4fb43 Update type hints in admin and handler modules
- Replace types.Message and types.CallbackQuery with explicit Message and CallbackQuery imports
- Improve type annotations in multiple handler files
- Ensure consistent type hinting across admin and handler modules
2025-01-31 02:59:57 +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
hteppl 661ed8895b Implement bot version in admin main menu 2025-01-16 09:08:35 +03:00
hteppl dddd1d2af7 Optimize and fix admin handlers logic 2025-01-15 08:01:16 +03:00
hteppl 1e0261d809 Implement admin restart handler + also handle AdminPanelCallback for back buttons 2025-01-11 02:17:54 +03:00
hteppl 3c58a36d19 Update admin main panel 2025-01-09 15:43:22 +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
Zakhar Izmaylov 43ba2aab01 Delete wraps 2024-11-09 12:01:24 +03:00