Commit Graph

19 Commits

Author SHA1 Message Date
245741b182 feat(subscription): improve subscription sync and renewal logic. 2026-06-17 18:10:56 +07:00
7ab0e71108 style(keyboards): add emoji to device management button 2026-06-17 15:46:58 +07:00
93f05e46b5 feat(bot): implement HWID device list and deletion 2026-06-17 15:40:35 +07:00
agony
edfe1e6874 feat(subs): UNFINISHED hwid control 2026-06-16 16:24:02 +07:00
greendevilll
7ab2293fe2 fix(notifications): multiply duration days by 30 for admin log accuracy 2026-06-06 23:49:41 +07:00
9552813f16 fix(autorenewal): remove duplicated response handling in toggle_autorenewal 2026-06-04 13:44:09 +07:00
4c5a16a3ca feat(admin): add admin notification system for deposits, purchases, and renewals 2026-06-04 12:35:32 +07:00
2103e6a882 Revert to b5976d0b21 2026-05-31 14:47:53 +07:00
18f4997ca6 fix(pally): use InvId instead of custom field for order ID lookup 2026-05-31 14:37:34 +07:00
717a1549e9 feat(ui): enhance text formatting with premium emojis and improve FAQ clarity 2026-05-24 15:43:54 +07:00
18866fc645 chore(texts): reorder constants and remove outdated mapping section 2026-05-23 21:26:20 +07:00
1228ec8b56 refactor(autorenewal): clean up imports and simplify error handling 2026-05-18 17:58:34 +07:00
56f10d19c5 feat(autorenewal): implement automatic subscription renewal system 2026-05-18 17:32:04 +07:00
281a460974 refactoring: polished some files, .env.example update 2026-05-18 17:00:17 +07:00
acb8662a66 Refactor bot handlers and keyboards; implement admin features
- Removed unused prehandling, referrals, support, and states files.
- Updated admin and client handlers to improve structure and functionality.
- Introduced admin filters and routers for better access control.
- Added new billing and deposit functionalities for client interactions.
- Enhanced keyboard layouts for admin and client menus.
- Implemented promotion handling for admin users.
- Updated configuration to include admin settings.
- Improved utility functions for quote fetching and menu text building.
- Added common handlers for undefined commands and message deletions.
2026-05-13 10:34:06 +07:00
e9f84d9377 fix: enhance insufficient funds message and update subscription controls logic 2026-05-03 07:03:53 +07:00
db2dabed58 feat: implement subscription management and billing enhancements 2026-04-29 20:10:26 +07:00
287f8eebda feat: add subscription and transaction repositories
- Implemented SubscriptionRepository with methods to get, create, and update subscriptions.
- Added BalanceTXRepository for creating and retrieving balance transactions.
- Introduced a test script for simulating Pally webhook for local testing.
2026-04-27 21:33:25 +07:00
049f31118d feat: Implement payment notification system and API structure
- Added notifications for successful payments in `api/core/notifications.py`.
- Created main API entry point in `api/main.py` with FastAPI integration.
- Established routing structure in `api/routes/__init__.py` and `api/routes/pally.py` for handling payment callbacks.
- Developed billing handlers in `bot/handlers/billing.py` and `bot/handlers/buy.py` for subscription management.
- Introduced state management for user interactions in `bot/states/`.
- Created user interface elements in `bot/keyboards/` for navigation and payment processing.
- Set up middleware for dependency injection in `bot/middlewares/di.py`.
- Added support for user commands and interactions in `bot/handlers/common.py` and `bot/handlers/support.py`.
- Implemented logging and error handling throughout the bot's functionality.
- Created entry point script for API server in `entrypoints/api.sh`.
2026-04-24 17:41:42 +07:00