diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index cb18bf2..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- - ---- -name: Bug 报告 -about: 提交 Bug 帮助我们一起优化 -title: '[Bug] ' -labels: 'bug' -assignees: '' - ---- - -**Bug 描述** - - -**复现步骤** - -1. 访问 '...' -2. 点击 '....' -3. 滚动到 '....' -4. 看到报错 - -**预期行为** - - -**实际行为** - - -**截图/录屏** - - -**运行环境 (请填写完整):** - - 版本号: [e.g. v1.2.3] - -**严重程度** -- [ ] 致命(核心流程阻断,无法继续使用) -- [ ] 严重(功能异常,有临时绕行方案) -- [ ] 一般(不影响主流程,体验不佳) -- [ ] 轻微(UI错位、文案错误) - -**额外上下文** - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..5e40bb5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,48 @@ +name: Bug report / Bug 报告 +description: Report something that is not working as expected. / 报告异常或不可用的问题。 +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Please write in Chinese or English. + + 你可以使用中文或英文填写。 + + Please do not include passwords, tokens, API keys, verification codes, session cookies, private keys, real mailbox lists, or unreleased security vulnerability details. + + 请不要粘贴密码、Token、API Key、验证码、Session Cookie、私钥、真实邮箱列表,或未公开安全漏洞细节。 + + - type: textarea + id: details + attributes: + label: Details / 详情 + description: What happened? What did you expect instead? / 发生了什么?你原本期望什么? + placeholder: "Example / 示例:发送邮件失败,页面提示 500。" + validations: + required: true + + - type: input + id: version + attributes: + label: Version / 版本 + description: The LanQin Email version you are using. / 你正在使用的 LanQin Email 版本。 + placeholder: "v1.2.3" + validations: + required: true + + - type: textarea + id: environment + attributes: + label: Environment / 环境(可选) + description: Add browser, OS, deployment mode, or related config only if helpful. / 如果有帮助,可以补充浏览器、系统、部署方式或相关配置。 + placeholder: | + Browser and OS: + Deployment: Docker / local / not sure + + - type: textarea + id: logs + attributes: + label: Logs, screenshots, or steps / 日志、截图或复现步骤(可选) + description: Redact secrets and personal data before posting. / 粘贴前请先隐藏敏感信息和个人数据。 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..79b359e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Security vulnerability / 安全漏洞 + url: https://github.com/LanQin996/LanQin-Email/security/advisories/new + about: Please report security vulnerabilities privately. / 请通过私密渠道报告安全漏洞,不要公开提交漏洞细节。 + - name: Community chat / 社区交流 + url: https://t.me/+EhII7MSyi3QwNDQ5 + about: For informal discussion and quick usage questions. / 适合非正式交流和快速使用问题。 diff --git a/.github/ISSUE_TEMPLATE/deployment_config.yml b/.github/ISSUE_TEMPLATE/deployment_config.yml new file mode 100644 index 0000000..c6dd67b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/deployment_config.yml @@ -0,0 +1,50 @@ +name: Deployment or configuration / 部署或配置问题 +description: Get help with Docker, domains, DNS, SMTP, IMAP, or runtime configuration. / 获取 Docker、域名、DNS、SMTP、IMAP 或运行配置帮助。 +title: "[Deploy]: " +labels: ["question"] +body: + - type: markdown + attributes: + value: | + Please write in Chinese or English. + + 你可以使用中文或英文填写。 + + Please do not include real passwords, tokens, API keys, private keys, full mail headers with personal data, or production mailbox lists. + + 请不要粘贴真实密码、Token、API Key、私钥、包含个人数据的完整邮件头,或生产邮箱列表。 + + - type: textarea + id: details + attributes: + label: Details / 详情 + description: What are you trying to do, and what failed? / 你想完成什么?哪里失败了? + placeholder: "Example / 示例:Docker Compose 启动后 Web 可以打开,但 SMTP 587 连接失败。" + validations: + required: true + + - type: input + id: version + attributes: + label: Version / 版本 + description: The LanQin Email version you are using. / 你正在使用的 LanQin Email 版本。 + placeholder: "v1.2.3" + validations: + required: true + + - type: textarea + id: environment + attributes: + label: Environment and config / 环境与配置(可选) + description: Add OS, Docker version, DNS status, or sanitized `.env` lines only if helpful. / 如果有帮助,可以补充系统、Docker 版本、DNS 状态或脱敏后的 `.env` 行。 + placeholder: | + OS: + Docker / Compose: + Domain or DNS status: + Related config, redacted: + + - type: textarea + id: logs + attributes: + label: Logs or screenshots / 日志或截图(可选) + description: Redact secrets, mailbox addresses, Message-ID values, and IPs when needed. / 请按需隐藏密钥、邮箱地址、Message-ID 和 IP。 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 01ba7de..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: enhancement -assignees: '' - ---- - ---- -name: 功能建议 -about: 提出一个好主意 -title: '[Feature] ' -labels: 'enhancement' -assignees: '' - ---- - -**这个功能解决了什么问题?** - - -**你期望的解决方案** - - -**你考虑过的替代方案** - - -**目标用户** - - -**验收标准(可选,但强烈建议)** - -- [ ] 例如:在编辑页面增加一个"快速保存"悬浮按钮 -- [ ] 例如:点击后自动保存并停留在当前阅读位置 - -**额外的上下文或截图** - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..d1fa755 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,20 @@ +name: Feature request / 功能建议 +description: Suggest an improvement for LanQin Email. / 提出一个改进建议。 +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Please write in Chinese or English. + + 你可以使用中文或英文填写。 + + - type: textarea + id: details + attributes: + label: Details / 详情 + description: What do you want to improve, and why? / 你想改进什么?为什么? + placeholder: "Example / 示例:希望管理员可以批量创建邮箱,因为目前一个个添加比较慢。" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..877bb52 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,31 @@ +name: Question or usage help / 使用问题 +description: Ask a usage question that is not clearly a bug or feature request. / 提交不明显属于 Bug 或功能建议的使用问题。 +title: "[Question]: " +labels: ["question"] +body: + - type: markdown + attributes: + value: | + Please write in Chinese or English. + + 你可以使用中文或英文填写。 + + Please do not include secrets, private mailbox data, or full production logs. + + 请不要包含密钥、私人邮箱数据或完整生产日志。 + + - type: textarea + id: details + attributes: + label: Details / 详情 + description: What are you trying to do, and where are you stuck? / 你想完成什么?卡在哪里? + placeholder: "Example / 示例:如何给第三方客户端配置 SMTP 和 IMAP?" + validations: + required: true + + - type: input + id: version + attributes: + label: Version / 版本(可选) + description: Add the LanQin Email version if relevant. / 如相关,可以补充 LanQin Email 版本。 + placeholder: "v1.2.3"