Repository navigation
v3.0.0
What's Changed in v3.0.0
✨ Features
- payments: Keep webapp tag on manual deposit logs after review
- home-menu: Add inline glass home menu toggle to the free edition
- miniapp: Replace bracket glass switch with off/only/button miniapp mode
- miniapp: Make the app launcher button and message editable
- billing: Swap invoice confirm for top-up when the wallet falls short
- panels: Choose invoice locations per panel and fix flag-prefix lockout
- panels: Keep hand-written invoice locations in bot texts, verbatim
- referral: Pay the referrer a capped share of the first purchase
- referral: Keep referrer earnings apart and let users withdraw them
- reseller: Add billing ledger, event history and wallet runway; stop charge log spam
- reseller: Add admin panel API for reseller overview, ledger, actions and settings
- panel: Add reseller hub with overview, accounts, plans, billing and settings tabs
- webapp: Add reseller purchase and self-service management API
- webapp: Add reseller buy flow, services chip and reseller management page
- reseller: Itemize ledger charges, pick plan roles from panel, limit plan types
- reseller: Add four plan types, same-plan renewal, plan add-ons and admin repair tools
- reseller: Filter plans by panel, compact panel settings, move username to buy confirm, adaptive traffic units
- payments: Add zarinpal gateway with sandbox test mode
- payments: Redesign zarinpal return page with clear result states
- payments: Add zibal gateway with test-merchant mode and shared result page
- keyboard: List online gateway buttons in the bot's button editor
🐛 Fixes
- docker: Give mariadb more time to stop and become healthy on slow hosts
- billing: Freeze direct-pay purchase payload with the quoted amount
- billing: Debit wallet before applying paid volume/time upgrades
- payments: Accept only native TRX transfers for TRX invoices
- auth: Reject telegram init data older than 24 hours
- auth: Renew only verified sessions and invalidate chain on logout
- auth: Throttle otp requests and wrong guesses per phone and ip
- billing: Reserve discount uses atomically before delivering purchases
- billing: Debit wallet before creating bot purchases and renewals
- webapp: Reject reused receipt images for manual deposits
- referral: Enforce one reward per referral pair with a unique index
- webapp: Refuse banned users on every mini app auth path
- webapp: Enforce sale switches and service button flags server-side
- api: Hide openapi docs unless API_DOCS_ENABLED is set
- auth: Drop legacy aes session tokens to avoid unauthenticated kdf work
- webapp: Lock renewals only after auth and drop idle service locks
- payments: Reserve unused crypto invoice ids and never show unsaved invoices
- webhook: Compare shared secret in constant time and redact it from logs
- billing: Edit the invoice into the payment menu instead of resending
- referral: Show the real invitee bonus in the invite welcome message
- reseller: Stop overbilling on resume and sync web edits to panel
- reseller: Address panel admins by stored id instead of username
- reseller: Keep the usage baseline on the account and bill it in one transaction
- reseller: Drop the extra plan guide step, make plan guides editable, show min balance for usage plans
♻️ Refactors
- reseller: Move account and purchase logic into shared services
- payments: Unify zarinpal and zibal into one provider-based gateway system
📝 Documentation
- readme: Add web app screenshots for user and admin panels
- Rewrite install and backup-restore guides, add phpMyAdmin screenshots
- Add web app screenshots and first batch of expanded pages (wip)
- getting-started: First-setup checklist, SSL guide, full .env reference, 12-option CLI menu and FAQ
- Expand user and admin guides (wip)
- Continue expanding user, admin and web app guides (wip)
- admin: Users, support, broadcast, bulk ops, channels, texts, logs, links, referral, migration and automation pages
- Continue user, admin and web app guides (wip)
- Web admin panel and PWA guides, reseller plans update, FAQ icon fix
- reseller: Document admin hub, web app reseller flow and new billing rules
📦 Dependencies
- Bump the docs group in /docs with 2 updates (#212)
- Bump lucide-react in /frontend in the frontend group (#213)
- Bump pytz from 2026.4 to 2026.5 in the backend group (#214)
- Bump aiohttp from 3.14.3 to 3.14.4 in the backend group (#217)
- Bump the docs group in /docs with 2 updates (#215)
- Bump the docs group in /docs with 2 updates (#218)
- Bump asyncmy from 0.2.15 to 0.2.16 in the backend group (#219)
- Bump the frontend group in /frontend with 2 updates (#220)
Full Changelog: v2.2.1...v3.0.0
Docker image
docker pull ghcr.io/amirkenzo/pasarguardbot:3.0.0
Digest: sha256:5ee25baf480e6a42fe0f1cd600ab5be8bea08f027390f2a2bb9963f76544abbb