Commit Graph

40 Commits

Author SHA1 Message Date
andrey271192
cff27e27b6 feat: import clients from amnezia configs 2026-06-21 18:22:36 +03:00
andrey271192
cbc20a1b71 fix: auto-detect awg profiles on install 2026-06-21 17:53:58 +03:00
Андрей Бобырев
d21419cfdb fix: default awg container name 2026-06-06 14:46:37 +03:00
Андрей Бобырев
05e6d007e2 docs: make pro repo public install source 2026-06-06 14:16:56 +03:00
Андрей Бобырев
ec65bbc59a docs: move support block to bottom of README 2026-05-15 06:05:56 +03:00
Андрей Бобырев
038020408a feat: donate links on login screen + unified README support block
- public/index.html: gate-donate nav with Boosty/Ozon/Telegram on login
- public/styles.css: .gate-donate styles
- landing: proj-support-strip
- README: blockquote + "Поддержка проекта" section
- .github/FUNDING.yml: added
- version bumped to 1.2.28

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-15 05:52:17 +03:00
Андрей Бобырев
b212413e68 docs(readme): note screenshots match deploy bundle
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-15 05:06:26 +03:00
Андрей Бобырев
e9583ac4f1 docs(readme): PRO install via deploy repo, sources path separate
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-15 05:01:39 +03:00
Андрей Бобырев
9e5ed8a1e7 docs(readme): drop PAT install block, single curl line
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-15 04:58:28 +03:00
Андрей Бобырев
4e8f82616d docs(readme): private repo install PAT + Bearer on raw
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-15 04:55:05 +03:00
Андрей Бобырев
df1f9dc826 docs(ui): human cascade guide + kaskad_web_vpn
Expand cascade fold with steps, DNAT primer, install one-liner, link to github.com/andrey271192/kaskad_web_vpn; README and panel-guide aligned.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-15 04:49:14 +03:00
Андрей Бобырев
0e7a7df636 feat(mtproto): Telegram proxy panel and /api routes
- Docker telegrammessenger/proxy: install/restart/remove from UI
- GET/POST /api/mtproto/*, UI_HIDE_MTPROTO / UI_HIDE_SECTIONS=mtproto
- install.sh vars MTPRO_*; /health returns version; docs

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-15 04:39:19 +03:00
Андрей Бобырев
74163944c2 chore: align community default Boosty URL with PRO subscription link
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 22:38:30 +03:00
Андрей Бобырев
c454b9e701 feat: split community (read-only) vs PRO panel editions
Add AMNEZIA_EDITION=community with API/UI locks for client mutations,
export, cascade, WARP and host time sync; banner + Boosty CTA.
Install passes edition from AMNEZIA_EDITION env or .amnezia-panel-edition.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 21:51:24 +03:00
Андрей Бобырев
16366b2f74 fix: correct repo slug amnezia_web-PRO (not mnezia)
URLs and default GITHUB_REPO must match github.com/andrey271192/amnezia_web-PRO.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 21:40:23 +03:00
Андрей Бобырев
76c4af30f2 fix: use GitHub slug mnezia_web-PRO in URLs and branding
Amnezia_web-PRO path 404s; canonical repo is andrey271192/mnezia_web-PRO.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 21:38:51 +03:00
Андрей Бобырев
7995afca0e chore: rename project/repo slug to Amnezia_web-PRO
Update default GITHUB_REPO, README install URLs, package repository,
and footer GitHub link.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 21:36:30 +03:00
Андрей Бобырев
61af58a9cf docs: clarify AWG_PROFILES with sudo and snapshot file
Document sudo -E, avoid broken curl | bash -c wrappers, and file-based
profiles. Warn during install when multiple amnezia-awg* containers run
without AWG_PROFILES.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 21:31:02 +03:00
Андрей Бобырев
62f40f92fb feat(warp): host install/uninstall via panel SSH + clarify status
POST /api/warp/host-setup runs warp-amnezia.sh on VPS root SSH.
UI buttons when sshpass available; explain missing warp.conf status.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 20:18:23 +03:00
Андрей Бобырев
8f1d7a7c4a feat(ui): optional UI_HIDE_* panels; doc WARP free vs paid plans
Hide users/warp/cascade blocks via env; block warp/cascade APIs when hidden.
install.sh passes UI_HIDE_* and restores from previous container on upgrade.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 20:01:43 +03:00
Андрей Бобырев
50558aff63 docsfeat(warp): clarify optional install + add uninstall command
README/panel-guide/UI explain WARP is not required; document uninstall.
Add warp-amnezia.sh uninstall to strip warp conf, rules, and start.sh block.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 19:53:14 +03:00
Андрей Бобырев
7c6a65c284 docs(ui): drop Telegram/QR meta from WARP user-facing copy
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 19:49:16 +03:00
Андрей Бобырев
35497aa60e docs: align README, panel-guide, and installer messages
Describe :80 landing vs :HOST_PORT admin; export filename ASCII note.
Fix install.sh echoes that still referred to a support footer on landing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 19:45:46 +03:00
Андрей Бобырев
aec8a2f89e fix: ASCII-safe export filenames and trim landing footer
Content-Disposition rejects non-ASCII in Node; sanitize export names.
Public landing keeps admin link only; donate links stay in admin UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 19:10:57 +03:00
Андрей Бобырев
5853aaae00 docs: panel guide + README refresh for multi-instance & cascade
- Add docs/panel-guide.md (features, troubleshooting, API table)
- README: intro, two AWG_PROFILES examples with pskPath, landing port note
- Bump package.json to 1.1.0; update verify grep for current UI

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 18:54:58 +03:00
Андрей Бобырев
f3aab6cc6e feat: cascade client — custom Endpoint + AWG_PROFILES hint
- POST /api/clients/create-cascade: genkeys, add peer, save last_config, download .conf
- Optional tunnel IP in VPN subnet; obfuscation from server [Interface] when present
- /api/protocols: singleProfile hint for missing instance selector
- UI: cascade form, profile banner; README cascade section

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 18:44:11 +03:00
Андрей Бобырев
227bb94627 fix: preserve AWG_PROFILES on reinstall; GET export URL + token
- install.sh: snapshot /root/amnezia-admin.awg-profiles.json + restore from old container
- GET /api/clients/export-config (+ profileId); optional EXPORT_CONFIG_SECRET
- UI: direct link, copy URL, hint when last_config missing

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 18:32:51 +03:00
Андрей Бобырев
75a3e56354 feat: export client .conf from last_config
Adds POST /api/clients/export-config, UI button when exportAvailable, CLIENT_* env for Endpoint/DNS in install.sh.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 18:27:10 +03:00
Андрей Бобырев
6f6fb5f9b9 feat: Cloudflare WARP routing for AmneziaWG
Web toggles per IPv4 peer; wgcf install script on host (no Telegram/QR).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 18:00:39 +03:00
Андрей Бобырев
e05c1639d5 docs: add README screenshots gallery
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 17:14:33 +03:00
Андрей Бобырев
40d236c228 fix(ui): separate server vs browser TZ; highlight sync from device
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 17:08:07 +03:00
Андрей Бобырев
dfae0d8256 feat(time): server TZ display; optional SSH host sync via root pw
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 16:44:01 +03:00
Андрей Бобырев
860a56dc5d feat: AWG profile switcher; scheduled tunnel disconnect
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 16:37:27 +03:00
Андрей Бобырев
73b7d104d4 fix(install): preserve HOST_PORT on upgrade; NO_CACHE; bust tarball fetch
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 16:03:28 +03:00
Андрей Бобырев
983005ad2e fix(ui): replace template footer brand with product name
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 15:59:57 +03:00
Андрей Бобырев
e93a7e9f60 docs: add upgrade steps; no-store cache for admin static
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 15:56:57 +03:00
Андрей Бобырев
5a5fc8b240 feat: nginx landing on :80 with Kaskad support footer; sync admin footer text
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 15:51:52 +03:00
Андрей Бобырев
1ab5739ad0 docs: sync support links with domen_hydra (Boosty, Ozon SBP, Telegram)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 15:48:32 +03:00
Андрей Бобырев
08f9ba7b45 chore: point repo URLs to Amnezia_web on GitHub
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 15:44:10 +03:00
Андрей Бобырев
ede0c66415 docs: publish install/uninstall scripts, README, FUNDING, support footer
Add curl-one-liner install with generated password file; uninstall flags for image/data/src; optional ALLOW_DEFAULT_PASSWORD; footer mirroring GitHub/Boosty/Telegram layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 15:40:55 +03:00