From 37d2eb3636b8d7e7141db24f51a722f6d4a43e22 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Oct 2026 14:55:16 +0000 Subject: [PATCH] chore: auto-fix lint & formatting [skip ci] --- README.md | 2 +- README.zh.md | 2 +- app/components/AppToasts.vue | 52 +++- app/components/ConsolePage.vue | 363 ++++++++++++++++++++++++---- app/components/FilterNodeEditor.vue | 43 +++- app/components/GroupEditor.vue | 6 +- app/components/LegalLayout.vue | 127 +++++++++- app/components/MembersPanel.vue | 21 +- app/components/RouteCard.vue | 30 ++- app/pages/index.vue | 274 +++++++++++++++++++-- app/pages/privacy.vue | 7 +- app/pages/terms.vue | 7 +- server/lib/web/session.ts | 3 +- 13 files changed, 840 insertions(+), 97 deletions(-) diff --git a/README.md b/README.md index b3587e0..d06abfc 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ bunx wrangler dev # Start local dev server | `FEISHU_APP_SECRET` | Feishu app secret — required for Feishu routes | | `BASE_URL` | Public URL for OAuth callbacks and the Telegram webhook sync | | `ADMIN_USER_IDS` | Comma-separated GitHub user IDs (or logins) allowed to access `/admin` | -| `DEBUG_MODE` | Local development only: set to exact `true` to bypass all `/admin` authentication | +| `DEBUG_MODE` | Local development only: set to exact `true` to bypass all `/admin` authentication | | `ALLOW_SELF_SIGNUP` | `1` to give access-less GitHub users a personal group on first login (default off) | | `AUDIT_RETENTION_DAYS` | Audit-log retention in days for the scheduled cleanup (default 90) | | `NUXT_PUBLIC_DOCS_URL` | Optional docs site URL used by the landing page | diff --git a/README.zh.md b/README.zh.md index fb19e3e..3b39a75 100644 --- a/README.zh.md +++ b/README.zh.md @@ -74,7 +74,7 @@ bunx wrangler dev # 启动本地开发服务器 | `FEISHU_APP_SECRET` | 飞书应用密钥 —— 飞书路由必需 | | `BASE_URL` | 公网地址(用于 OAuth 回调与 Telegram webhook 同步) | | `ADMIN_USER_IDS` | 允许访问 `/admin` 的 GitHub 用户 ID(或登录名),逗号分隔 | -| `DEBUG_MODE` | 仅本地开发:精确设为 `true` 时跳过全部 `/admin` 身份验证 | +| `DEBUG_MODE` | 仅本地开发:精确设为 `true` 时跳过全部 `/admin` 身份验证 | | `ALLOW_SELF_SIGNUP` | 设为 `1` 时,无权限的 GitHub 用户首次登录自动获得个人分组(默认关闭) | | `AUDIT_RETENTION_DAYS` | 定时清理时审计日志的保留天数(默认 90) | | `NUXT_PUBLIC_DOCS_URL` | 可选;落地页使用的文档站点 URL | diff --git a/app/components/AppToasts.vue b/app/components/AppToasts.vue index 0958a77..004470d 100644 --- a/app/components/AppToasts.vue +++ b/app/components/AppToasts.vue @@ -26,7 +26,53 @@ const { toasts, dismiss } = useToasts(); diff --git a/app/components/ConsolePage.vue b/app/components/ConsolePage.vue index 05033bc..157a3b7 100644 --- a/app/components/ConsolePage.vue +++ b/app/components/ConsolePage.vue @@ -3,7 +3,9 @@