Андрей Бобырев
da925022cb
fix(community): write install log footer inside helper
...
finalize() runs in killed FREE panel misses footer; helper survives.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-15 02:16:46 +03:00
Андрей Бобырев
0213003ff9
fix(community): PRO helper logs full prelude; safe GH token env; prelude ;
...
Redirect helper stdout/err to install log; pass PAT via spawn env (-e VAR),
fix prelude chaining; clearer missing bash/curl exit.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-15 01:44:17 +03:00
Андрей Бобырев
9f5aa3929f
fix(community): install bash in docker helper for PRO install.sh shebang
...
docker: 26-cli image lacks bash; exec bash exited immediately (code≈2).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-15 01:40:39 +03:00
Андрей Бобырев
08fb053d9f
fix(community): install curl in docker helper before private install.sh
...
Alpine docker:26-cli lacked curl causing PRO install to fail/tar garbage;
also sweep containers matching name substring amnezia-admin-pro (compose IDs).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-15 01:20:05 +03:00
Андрей Бобырев
6c213ef49e
feat(community): live install log panel in FREE UI + install-log API
...
Poll community-install-last.log after «Установить PRO» with GET
/api/community/install-log; preserve log DOM across banner redraws.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-15 01:17:47 +03:00
Андрей Бобырев
902bd99395
fix(community): PRO install from UI uses docker-cli helper to free :8080
...
Run install.sh in a disposable docker:26-cli container after docker rm
FREE/landing/stale PRO; keeps working after API response. Legacy in-panel
bash retained when COMMUNITY_DISABLE_DOCKER_CLI_HELPER=1. Persist related
env vars in install.sh from previous container.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-15 01:14:18 +03:00
Андрей Бобырев
65e10ae625
fix(awg): infer wg0 iface from wg0.conf; chmod600 before syncconf
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-15 01:09:09 +03:00
Андрей Бобырев
d29117176c
feat(community): allow deleting clients in FREE tier
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-15 00:59:12 +03:00
Андрей Бобырев
9d54c7c8b8
feat(community): optional PRO install via GitHub token in UI
...
- POST /api/community/run-private-install fetches private install.sh and runs bash detached (202 Accepted)
- Gated by ALLOW_COMMUNITY_GITHUB_ACTIVATION + AMNEZIA_EDITION=community + admin session
- Log appended to /data/community-install-last.log; install bash bundled in Dockerfile
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-15 00:50:21 +03:00
Андрей Бобырев
9c28c022ac
chore: default Boosty PRO subscription URL for FREE tier
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-14 22:38:30 +03:00
Андрей Бобырев
7f5fb921e6
feat: open community panel (read-only clients only)
...
Ship full install stack with .amnezia-panel-edition=community; docs and
footer point to Boosty/PRO. Managing peers, export, cascade and WARP
require private PRO build.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-14 21:53:15 +03:00