Commit Graph

456 Commits

Author SHA1 Message Date
Zakhar Izmaylov 3e18be8aba 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
Zahar Izmailov ef85afbc79 Merge branch 'Vladless:main' into main 2024-11-24 23:37:58 +03:00
Vladless 54baf9d406 3.2 2024-11-24 23:10:22 +03:00
Vladless 6c29f6d164 reset traffic 2024-11-24 23:02:34 +03:00
Zakhar Izmaylov 09b763b4a3 Merge branch 'main' of https://github.com/izzzzzi/Solo_bot 2024-11-24 22:37:23 +03:00
Zakhar Izmaylov 43fd32f7be Remove unused __init__.py file and update payment handler callback buttons to unify navigation. Change "back_to_profile" callback to "pay" in multiple payment processing files for consistency. 2024-11-24 22:35:43 +03:00
Vladless 783ac6f705 ID_Inbound 2024-11-24 22:29:32 +03:00
Vladless b0b690b78f ID_Inbound 2024-11-24 22:29:05 +03:00
Vladislav Lisitsyn f629e83972 Merge pull request #100 from izzzzzi/main
Refactoring and Update
2024-11-24 21:54:53 +03:00
Vladislav Lisitsyn 9eb12ac053 Merge branch 'main' into main 2024-11-24 21:54:30 +03:00
Zakhar Izmaylov e76af1948b Refactor database notification query to remove unnecessary string conversion for hours parameter, improving data handling efficiency. 2024-11-24 20:48:16 +03:00
Zakhar Izmaylov fa17dea8fe Refactor database and notification handlers for improved readability and consistency. Clean up import statements, enhance logging messages, and streamline function calls across multiple files. Ensure proper session handling in payment processing functions. 2024-11-24 20:29:22 +03:00
Vladless e3e409aa5c fix back cryptobot 2024-11-24 20:19:23 +03:00
Zakhar Izmaylov 13a99d5e32 Enhance notification system for inactive trial users by adding notification time checks and logging. Implement functionality to record notifications sent to users, ensuring they are notified no more than once every 24 hours. 2024-11-24 20:02:40 +03:00
Zakhar Izmaylov 8e3e5d66b0 Refactor referral system to support multi-level bonuses and enhance logging. Update database interactions for referral handling and statistics retrieval. Change key display format in notifications and admin user editor for better readability. 2024-11-24 19:38:59 +03:00
Zakhar Izmaylov b10da8022c Update table 2024-11-24 14:14:06 +03:00
Zakhar Izmaylov f25332f19d Fix delete msg 2024-11-24 13:51:18 +03:00
Zakhar Izmaylov 5ffb7bc71c notify_inactive_trial_users 2024-11-24 11:58:43 +03:00
Zakhar Izmaylov 2288f28475 Fix admin 2024-11-24 11:51:17 +03:00
Zakhar Izmaylov e8a0308e56 Update connection_exists 2024-11-24 11:42:29 +03:00
Zakhar Izmaylov 6b712de25c Fix srssion 2024-11-24 11:26:54 +03:00
Zakhar Izmaylov 2f799f0bad Update id 2024-11-24 11:07:52 +03:00
Zakhar Izmaylov adb509f1e1 Fix 2024-11-24 10:54:08 +03:00
Zakhar Izmaylov 7093291a2b Fix get_trial 2024-11-24 10:35:12 +03:00
Zakhar Izmaylov 44cc25718b Add logging 2024-11-24 09:15:09 +03:00
Zakhar Izmaylov 414ba695ef Fix trial_status 2024-11-24 08:27:27 +03:00
Zakhar Izmaylov 12a8fb92f9 Fix 2024-11-24 08:13:52 +03:00
Zakhar Izmaylov 1b599d5eef Update InlineKeyboardBuilder 2024-11-24 01:57:42 +03:00
Zakhar Izmaylov 48149f14cd Fix 2024-11-24 01:47:37 +03:00
Zakhar Izmaylov 57e701362f Add notify_inactive_trial_users 2024-11-24 01:34:39 +03:00
Zakhar Izmaylov d2cbfcda93 Merge branch 'main' of https://github.com/izzzzzi/Solo_bot 2024-11-24 01:24:10 +03:00
Zakhar Izmaylov 25c7d5f43d Merge branch 'main' of https://github.com/izzzzzi/Solo_bot 2024-11-24 01:19:06 +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
Vladless 45469da513 update clusters 2024-11-23 20:21:47 +03:00
Vladless b5e1de3589 fix users 2024-11-23 17:30:39 +03:00
Vladislav Lisitsyn b2c0d75fda Merge pull request #98 from izzzzzi/main
fix ref/serach from username and new stats in admin
2024-11-23 08:18:10 +03:00
Zakhar Izmaylov 6d106bcfb2 Fix admin 2024-11-23 07:14:58 +03:00
Zakhar Izmaylov 1bc6224f6b Add pylint 2024-11-22 21:34:56 +03:00
Zakhar Izmaylov d1b7a01b4f Update config 2024-11-22 21:24:55 +03:00
Zakhar Izmaylov 034c1246bd Fix ref 2024-11-22 17:45:38 +03:00
Zakhar Izmaylov a260e6f060 Update text admin 2024-11-22 01:14:23 +03:00
Zakhar Izmaylov 5460029b16 Update push 2024-11-22 01:12:19 +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 4fbffd2c88 Update instructions 2024-11-21 20:49:58 +03:00
Zakhar Izmaylov 998bf7f7c6 Update text and add view_tariffs 2024-11-21 20:31:24 +03:00
Zakhar Izmaylov 512c87160d Fix send_to_alls 2024-11-20 17:30:10 +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