Tags: SamNet-dev/MTProxyMax
Tags
Add post-install Telegram customization — interval, label, alerts (#77) - CLI: elegram interval <hours>, elegram label <name>, elegram alerts <on|off> - TUI: Telegram Bot menu options [7] interval, [8] label (no wizard re-run needed) - Show current values in TUI menu items and status display - Bash completion updated with new subcommands - README: document new commands + changelog entry Closes #77
Fix proxy auto-restarting after intentional stop (#49) When stopping via mtproxymax stop or TUI, the container would restart because Docker's --restart=unless-stopped policy and the Telegram bot's auto-recovery both tried to bring it back. Fix: - Set Docker restart policy to 'no' before stopping - Create /tmp/.mtproxymax_stopped flag on intentional stop - Bot health check and auto_recover() skip recovery if flag exists - Flag is cleared on next mtproxymax start/restart
v1.0.3 — Notes, quota enforcement, connection log, backup/restore, mu… …lti-port New features: - Secret notes/description field (TUI [8], CLI `secret note`) - Expiry warnings in secret list + Telegram alerts 3 days before - Quota alerts at 80%/100% with auto-disable on quota exceeded - `status --json` for monitoring/Grafana integration - Connection activity log with auto-rotation (`connlog`) - Backup/restore with metadata (`backup`, `restore`, `backups`) - Multi-port instances with shared secrets (`instance add/remove/list`) Improvements: - Quota enforcement runs even when Telegram bot is disabled - Secondary instances integrated into start/stop/restart and geo-blocking - Config hot-reload propagates to all instances
v1.0.2: Persistent traffic counters, TUI performance, direction fixes - Traffic stats persist across container restarts (#13) - Cumulative traffic saved every 60s even without Telegram bot - Pre-stop flush ensures no data loss on clean shutdown - Batch stats loading: single metrics fetch replaces N*8 forks per user - flock locking prevents race between daemon and CLI writes - Fixed in/out direction mapping (from_client=in) across all functions - Batch add/remove --no-restart flag support