Commit Graph

5 Commits

Author SHA1 Message Date
78a0ef9750 feat: implement referral payment system and enhance ticket management 2026-04-18 22:34:15 +07:00
606aa4b89f feat: add admin promotion broadcast system and psql health check
- Add `/push` command for admins to broadcast messages to all users
  with approve/decline confirmation flow (handlers/ads.py)
- Add common handler for undefined commands and delete callback
- Add `UserRepository.get_users()` to fetch all users
- Add `UserService.send_promotion_to_users()` with error logging
- Add promotion confirmation keyboard and FSM state
- Add PostgreSQL availability check in startup.sh before migrations
- Add new text constants for promotion flow
2026-04-15 20:19:07 +07:00
0ac8ed8d64 Update project configuration and codebase 2026-04-12 12:19:53 +07:00
60de871e0c Add subscription link field to user model
- Add subscription_link column to users table (nullable, unique)
- Add SUBSCRIPTION_URL to config settings
- Update user creation to include subscription link from Remnawave
- Add support subscription ticket creation with formatted message
- Add "update link" button to main menu
- Refactor support subscription formatting to include user details
2026-04-09 21:09:29 +07:00
1be4770afd fix: schemas + states 2026-04-08 19:35:23 +07:00