Commit Graph

469 Commits

Author SHA1 Message Date
Vladless 909ea8901e notifications 2024-11-26 17:48:41 +03:00
Vladless d38a98cabd fix renew 2024-11-26 17:30:41 +03:00
Vladless c189e88edf random email for add device 2024-11-26 17:21:15 +03:00
Vladislav Lisitsyn 34fe87d9ac Merge pull request #102 from izzzzzi/main
Refactor
2024-11-26 03:25:33 +03:00
Zakhar Izmaylov 80f2314c9e Fix start 2024-11-26 03:21:43 +03:00
Zakhar Izmaylov af5c9215a0 Small fix 2024-11-26 02:54:32 +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
Zahar Izmailov c1fdf21dae Merge branch 'Vladless:main' into main 2024-11-26 00:27:58 +03:00
Vladless 52d9888f8d back button 2024-11-25 01:16:06 +03:00
Vladless ec46b96906 fix session 2024-11-25 00:58:46 +03:00
Zakhar Izmaylov 1549f01699 Refactor notification and admin user editor handlers to improve user feedback. Comment out inactive trial user notifications in notifications.py. Enhance error messages with consistent "Назад" button for better navigation in admin_user_editor.py. 2024-11-25 00:29:06 +03:00
Zakhar Izmaylov c793bcad26 Update button texts in start and admin user editor handlers for improved navigation. Change "Личный кабинет" to "Поддержка" in start.py and adjust "Назад" callback data in admin_user_editor.py for consistency. 2024-11-25 00:16:12 +03:00
Zakhar Izmaylov 91b079bab1 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 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