Commit Graph

60 Commits

Author SHA1 Message Date
anten-ka
194fb32fec v2.4.0 — internationalization (EN/RU) + custom git templates
- i18n engine (lib/i18n.sh, lib/lang/en.sh, lib/lang/ru.sh)
- first-run language picker, persisted to .language + config.json
- install.sh, common.sh, backup.sh, templates_catalog.sh wired through t()/tf()
- backup.sh preserves .language marker and records language in metadata.json
- custom git template feature (first item in pro template picker)
  * validates HTTPS URLs, rejects shell metachars
  * 100MB size guard, 90s clone timeout
  * auto-detects index.html in dist/public/build/_site/site/docs/out/www
- bot v2.4.0: i18n.py + lang/{en,ru}.json, /lang command, language toggle button
- bot: custom git template via text input with waiter gating
2026-04-10 11:37:28 +03:00
anten-ka
45e5cbabea v2.4.0 — internationalization (EN/RU) + custom git templates
- i18n engine (lib/i18n.sh, lib/lang/en.sh, lib/lang/ru.sh)
- first-run language picker, persisted to .language + config.json
- install.sh, common.sh, backup.sh, templates_catalog.sh wired through t()/tf()
- backup.sh preserves .language marker and records language in metadata.json
- custom git template feature (first item in pro template picker)
  * validates HTTPS URLs, rejects shell metachars
  * 100MB size guard, 90s clone timeout
  * auto-detects index.html in dist/public/build/_site/site/docs/out/www
- bot v2.4.0: i18n.py + lang/{en,ru}.json, /lang command, language toggle button
- bot: custom git template via text input with waiter gating
2026-04-10 11:29:23 +03:00
anten-ka
694f18c22f v2.4.0 — internationalization (EN/RU) + custom git templates
- i18n engine (lib/i18n.sh, lib/lang/en.sh, lib/lang/ru.sh)
- first-run language picker, persisted to .language + config.json
- install.sh, common.sh, backup.sh, templates_catalog.sh wired through t()/tf()
- backup.sh preserves .language marker and records language in metadata.json
- custom git template feature (first item in pro template picker)
  * validates HTTPS URLs, rejects shell metachars
  * 100MB size guard, 90s clone timeout
  * auto-detects index.html in dist/public/build/_site/site/docs/out/www
- bot v2.4.0: i18n.py + lang/{en,ru}.json, /lang command, language toggle button
- bot: custom git template via text input with waiter gating
2026-04-10 11:27:39 +03:00
anten-ka
0d087831d8 v2.4.0 — internationalization (EN/RU) + custom git templates
- i18n engine (lib/i18n.sh, lib/lang/en.sh, lib/lang/ru.sh)
- first-run language picker, persisted to .language + config.json
- install.sh, common.sh, backup.sh, templates_catalog.sh wired through t()/tf()
- backup.sh preserves .language marker and records language in metadata.json
- custom git template feature (first item in pro template picker)
  * validates HTTPS URLs, rejects shell metachars
  * 100MB size guard, 90s clone timeout
  * auto-detects index.html in dist/public/build/_site/site/docs/out/www
- bot v2.4.0: i18n.py + lang/{en,ru}.json, /lang command, language toggle button
- bot: custom git template via text input with waiter gating
2026-04-10 11:26:02 +03:00
anten-ka
9c084f37ec bugfix: {{NC}} typo, bot TOML v3 parsing, add_secret v3 format
- install.sh: fix {{NC}} -> ${NC} color escape on line 265
- bot.py: fix TOML parsing for telemt v3 [access.users] format
- bot.py: fix telemt config section [server].port instead of [config].listen_port
- telemt_config.sh: fix add_secret_to_config() for v3 format
2026-04-10 00:16:30 +03:00
anten-ka
63b2fc3717 fix: banner + credits frame alignment (common.sh) 2026-04-09 19:28:46 +03:00
anten-ka
fedc8f77fe fix: frame alignment, ee-prefix for lite mode, qrencode in deps
- All frame boxes: correct 54-char width with emoji compensation
- Lite mode links now include ee-prefix + mask_host hex (fake-TLS)
- Added qrencode to ensure_deps() so QR codes work after fresh install
- Centralized link generation in generate_proxy_link()
- Fixed bot.py get_proxy_link() for lite mode ee-prefix
2026-04-09 19:24:05 +03:00
anten-ka
d70e046035 add bootstrap.sh installer v2.3.1 2026-04-09 11:15:43 +03:00
anten-ka
c70cb36a2b GoTelegram v2.3.1: full push
- MTProxy manager with Telegram bot
- 1801 site templates, 18 categories
- Stealth mode (fake-TLS + nginx mask)
- Admin auto-registration in bot
- Fixed frame alignment, bot venv setup
2026-04-09 11:14:41 +03:00
anten-ka
b36fb5cf10 v2.3.1: fix frame alignment + bot venv setup 2026-04-09 11:04:23 +03:00
anten-ka
8b4b4892a4 v2.3.1: bot install with spinner waiting for first admin + auto/manual choice 2026-04-09 10:54:06 +03:00
anten-ka
046a08fdb6 v2.3.1: admin management (auto-register first admin, /addadmin, /deladmin, menu button) 2026-04-09 10:46:50 +03:00
anten-ka
a21d2ebea2 v2.3.1: fix QR top margin, use domain instead of IP for pro-mode links 2026-04-09 00:59:42 +03:00
anten-ka
96cbd243d9 v2.3.1: promo only on gotelegram launch (once/day), not after proxy setup; bot promo with 2 hosters 2026-04-08 23:08:04 +03:00
anten-ka
3f136ec8a0 v2.3.1: promo update (2 hosters, QR codes, once-per-day display, 5sec delay) 2026-04-08 22:42:29 +03:00
anten-ka
a24d64d33c fix: stats refresh 3s instead of 1s v2.3.0 2026-04-08 22:31:30 +03:00
anten-ka
52912e0ead fix: stats crash (set -u + CSV header), header box, QR spacing 2026-04-08 22:21:17 +03:00
anten-ka
0dae922d1b fix: main menu 30s refresh, stats submenu flicker-free via tput 2026-04-08 22:01:02 +03:00
anten-ka
6ec2123f83 v2.3.0: Lite/Pro rebrand, submenu system, traffic stats, bot stats 2026-04-08 21:49:03 +03:00
anten-ka
364501d66d v2.2.1: redesign dashboard menu - no right borders, clean layout v2.2.1 2026-04-08 21:05:46 +03:00
anten-ka
f445f7a27e feat: dashboard with live status, proxy link, QR, auto-refresh 30s 2026-04-08 20:52:30 +03:00
anten-ka
6e32ca9d12 fix: telemt v3 config format ([server], [censorship], [access.users]), stealth with dns_overrides 2026-04-08 20:31:50 +03:00
anten-ka
7f81c21d8e stealth: telemt on 0.0.0.0:443, nginx on 127.0.0.1:8443, domain-based proxy link with ee-secret 2026-04-08 20:18:25 +03:00
anten-ka
16ef3564f9 fix: remove ColorlibHQ templates (WordPress themes, not static HTML)
1801 templates from 4 sources: html5up, startbootstrap, themewagon, dawidolko.
2026-04-07 00:29:46 +03:00
anten-ka
75a84e209b feat: expand template catalog to 1978 templates from 5 sources
Added ThemeWagon (1517), dawidolko (172), ColorlibHQ (177).
18 categories with auto-categorization.
Updated download_template for new sources.
2026-04-07 00:27:16 +03:00
anten-ka
d6045ace0c fix: stealth mode bind_to 127.0.0.1 + clarify internal port 8443 comments
telemt in stealth mode now binds to 127.0.0.1 instead of 0.0.0.0.
External port 8443 is not exposed - only nginx on 443 is public.
2026-04-07 00:10:13 +03:00
anten-ka
64da5de1ae fix: download_template - handle StartBootstrap dist/ structure + fallback index.html search
StartBootstrap templates store production files in dist/ subdirectory.
Added: dist/ detection, recursive index.html fallback, ls output to stderr.
2026-04-06 23:03:49 +03:00
anten-ka
a5347889bd fix: templates_catalog.sh - redirect show_template_preview stdout to stderr
Lines 168-172 in show_template_preview() were missing >&2,
causing stdout leak into subshell capture chain.
This corrupted template_dir variable and broke Stealth mode deployment.
2026-04-06 22:48:08 +03:00
anten-ka
3938a4ca3b Fix: resolve symlink in SCRIPT_DIR for gotelegram command 2026-04-06 22:32:23 +03:00
anten-ka
19beb2b2df Add gotelegram command (symlink to install.sh) 2026-04-06 22:30:06 +03:00
anten-ka
c2d95b6c2f GoTelegram v2.2.1 - tested & verified
Fixes:
- Subshell capture: all interactive UI output via >&2
- download_telemt: extract to dedicated dir (no find -newer)
- log_* functions: output to stderr
- confirm/select_option: output to stderr

Tested on VPS (Ubuntu 24.04): 14/14 tests PASS
- Quick mode install/start/restart/stop/remove
- Stealth config generation
- Backup/restore
- telemt update check
- Proxy link generation
2026-04-06 22:23:53 +03:00
anten-ka
1293b04430 Fix: download_telemt extract - use dedicated dir instead of find -newer 2026-04-06 22:11:46 +03:00
anten-ka
cc3f547273 Fix: subshell capture bug - interactive menus invisible in $()
- All UI output (echo, printf) in interactive functions now goes to stderr (>&2)
- Only return values go to stdout for $() capture
- Affected: select_quick_domain, select_port, select_category, select_template, show_template_preview
- Also fixed: log_*, confirm, select_option in common.sh
2026-04-06 22:05:20 +03:00
anten-ka
84bc15090a Add bootstrap.sh for private repo installation 2026-04-06 21:53:10 +03:00
anten-ka
c75ea15b31 GoTelegram v2.2.1
- Unified menu (15 items, 3 sections) with full bot management
- Fixed telemt download URL grep pattern
- QR cleanup in bot.py
- Security fixes (XSS, injection, validation)
- Backup/restore improvements
2026-04-06 21:50:02 +03:00
anten-ka
fee25f191e v2.2.1: unified menu with bot management, grouped sections, telemt download fix, QR cleanup, version bump 2026-04-06 21:40:34 +03:00
anten-ka
fe9e5fa019 v2.2.1 hotfix: fix telemt download grep pattern (grep -iE), add QR cleanup, bump version to 2.2.1 2026-04-06 21:32:00 +03:00
anten-ka
13cca51f5f v2.2.1 hotfix: fix telemt download grep pattern (grep -iE), add QR cleanup, bump version to 2.2.1 2026-04-06 21:30:30 +03:00
anten-ka
55134f4864 v2.2.1: clean branch — only v2.2.1 code with 11 security fixes 2026-04-06 21:06:28 +03:00
anten-ka
de60f710f5 v2.2.1: 11 security fixes (safe_edit_message, IP validation, os-release protection, config_get return codes, spinner stderr, domain check, mode sanitization, var init, XSS escape) 2026-04-06 20:49:49 +03:00
anten-ka
4985ec3679 v2.2.1: 11 security fixes (safe_edit_message, IP validation, os-release protection, config_get return codes, spinner stderr, domain check, mode sanitization, var init, XSS escape) 2026-04-06 20:49:31 +03:00
anten-ka
bbd6eab48c fix: check_port try/except + /usr/bin/ss путь (FileNotFoundError)
Made-with: Cursor
v1.0 rollback-main-20260426
2026-03-06 19:47:38 +03:00
anten-ka
938daf7bb7 fix: admin ID при установке бота, check_port с полными путями ss, промо хостинг #2 в боте
Made-with: Cursor
2026-03-06 19:42:52 +03:00
anten-ka
45d9287780 fix: venv без pip — авто-пересоздание, проверка ensurepip, валидация после pip install
Made-with: Cursor
2026-03-06 19:36:13 +03:00
anten-ka
0274f42600 UI: убрана веб-ссылка, QR по tg://, промокоды раздельно по хостерам
Made-with: Cursor
2026-03-06 19:28:30 +03:00
anten-ka
8e69e8fd17 fix: хостинг #2, docker pull перед secret, свой домен (пункт 21)
Made-with: Cursor
2026-03-06 19:19:01 +03:00
anten-ka
4c78012900 QR-код по https://t.me/proxy ссылке (камера телефона распознаёт)
Made-with: Cursor
2026-03-06 19:07:11 +03:00
anten-ka
ea6400540c Пункт 7: полное меню удаления (контейнер или контейнер+Docker), 2 подтверждения
Made-with: Cursor
2026-03-06 19:04:02 +03:00
anten-ka
11d9cf6772 UI: спиннер, прогресс-бар и галочки на каждом шаге установки
Made-with: Cursor
2026-03-06 18:54:05 +03:00
anten-ka
8320d4dd06 fix: убран -t 1.0.0.1 (mtg парсил как --timeout, контейнер падал)
Made-with: Cursor
2026-03-06 18:50:49 +03:00