Repository navigation
Release v2.8.0
Account Controls & Archive Storage Update 🤖🗄️
This update makes account management more compact, adds per-account archive limits and private diagnostics, completes English localization, and fixes incomplete chat lists.
🤖 Compact Account Management
- Core Settings → My bots: The account panel lives in core settings; Add bot is available only inside that panel, exclusively to the primary bot’s owner.
- Account Names & Rename: Entries use the connected Telegram account’s name and support a custom management label without changing its Telegram profile.
- First-Start Ownership: The first person to send
/startto a newly added bot becomes its owner. Concurrent claims are atomic, ownership persists in the profile across settings resets, and existing owners are preserved. - Cleaner Cards: Removed Open bot links; each account has rename, archive-limit and recent-diagnostics controls. Added profiles remain independent and cannot manage other bots.
🗄️ Archive Limits That Protect Text
- Separate Limits: Each account has its own local media quota, initially 2 GiB. The primary owner can change it and see archive/database usage plus server disk space.
- Forwarded Media First: Cleanup prioritizes forwarded media, then old heavy original attachments, smaller attachments, and finally original voice messages and round videos. Within each class, the oldest files go first.
- No Text Expiry: Removed the 180-day text cleanup. Deleted-message text and previous edited text are kept outside the media quota.
- Retained Local Copies: Forwarding an archive copy no longer immediately deletes its local media. A bounded staging file prevents a new shared post from evicting a higher-priority voice message just to reserve space.
- Legacy Path Repair: Rebinds old archive media paths to the correct account folder after a single-installation migration, preserving files and text.
- Legacy Metadata: Recovers forwarding flags from surviving original messages in bounded batches with spacing and FloodWait backoff. It does not download their attachments again.
📋 Useful, Private Diagnostics
- Recent Events: Shows timestamps, severity, module/function/line and recognized error categories; exports the latest 100 entries.
- No Raw Payloads: Excludes message text, contact details, tokens, keys, sessions and exception contents. Logs rotate with a fixed size limit.
- Startup Coverage: Records failures before polling, including controller-token validation failures.
💬 Chats, Setup & English
- Ten Chats per Page: Private chats use one button per row with navigation arrows, including archived chats. Filtering no longer discards everything after the first 30 mixed dialogs.
- Responsive Refresh: Slow requests continue as one pending operation and retain cached results instead of repeatedly restarting the first page.
- 22-Step Walkthrough: Removed the repeated Gemini keys, models and time-zone cards. Existing bookmarks migrate to the corresponding setting.
- Complete English: All 718 current localization keys are available in EN, including cookie validation; placeholders match RU and duplicate shadowed keys were removed.
✅ Verification & Review
- 192 Automated Tests Passed: Validated both the production candidate and clean public-source variant with networking disabled.
- Offline Runtime Probe: Checked single-to-shared promotion, role isolation, independent account state and safe diagnostics for pre-polling startup failures.
- Production Verification: Checked running workers, owner/session/key/prompt preservation, text retention and archive usage after restart.
- All-Module Risk Review: Added Telegram risks and remedies, distinguishing shared rate-limit improvements from API-terms limitations. Functions were not disabled by the review.
Full Changelog: v2.7.1...v2.8.0