mirror of
https://github.com/andrey271192/amnezia_web.git
synced 2026-09-20 14:41:59 +00:00
feat: token field ON by default in FREE, donate links everywhere
- server.js: ALLOW_COMMUNITY_GITHUB_ACTIVATION defaults to true for community edition (disable explicitly with =0/false/no/off) - app.js: updated hint text when field is disabled by owner - public/index.html: donate links block on login screen - public/styles.css: .gate-donate styles - landing: proj-support-strip with donate links - README: unified "Поддержка проекта" block + blockquote at top - .github/FUNDING.yml: Boosty + Ozon + Telegram - scripts/install.sh: updated comment header - version bumped to 1.2.28 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -213,9 +213,9 @@ async function hydratePanelPromoFooter() {
|
||||
if (fSepDO) fSepDO.classList.toggle("hidden", !(footerD && (footerO || footerT)));
|
||||
if (fSepOT) fSepOT.classList.toggle("hidden", !(footerO && footerT));
|
||||
|
||||
if (strip && (okD || okO || okT)) strip.classList.remove("hidden");
|
||||
if (strip) strip.classList.remove("hidden");
|
||||
} catch {
|
||||
/* офлайн или сбой — блок остаётся скрытым */
|
||||
/* офлайн или сбой — в HTML уже дефолтные ссылки шапки/подвала */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -420,7 +420,7 @@ function applyEditionPayload(data) {
|
||||
hint.className = "edition-banner-no-activation muted";
|
||||
hint.setAttribute("role", "note");
|
||||
hint.textContent =
|
||||
"Строки для GitHub‑токена нет специально: эта возможность была отключена при установке FREE. Чтобы она появилась здесь под кнопкой Boosty — переустановите панель с INSTALL_FREE_COMMUNITY_ACTIVATION=1 (README, раздел «Установка для клиента»), либо задайте ALLOW_COMMUNITY_GITHUB_ACTIVATION=1 в переменных контейнера; также помогает файл .install-free-github-pro-opt-in в каталоге данных панели и повторный запуск install.sh.";
|
||||
"Владелец сервера отключил установку PRO из интерфейса (в контейнере задано ALLOW_COMMUNITY_GITHUB_ACTIVATION=0 или экв.). Уберите переменную или поставьте 1/true — и перезапустите контейнер панели.";
|
||||
editionBanner.appendChild(hint);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user