-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,723 changed files
with
17,215 additions
and
23,571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# | ||
# Linux start script should use lf | ||
/gradlew text eol=lf | ||
|
||
# These are Windows script files and should use crlf | ||
*.bat text eol=crlf | ||
|
||
# Binary files should be left untouched | ||
*.jar binary | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: Bug 反馈 | ||
description: 提交一个 Bug | ||
title: '[Bug]: ' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: |- | ||
欢迎提交 Bug 反馈: | ||
- 您只需填写与问题相关的信息,无需逐项填写所有内容。 | ||
- 在反馈渲染问题前,请先确认模板本身是否存在错误。 | ||
- type: dropdown | ||
attributes: | ||
label: 模块 | ||
description: >- | ||
请选择遇到 Bug 的模块,例如: **Mirai 插件冷却时间无效** 应为 **Mirai Plugin** 模块;**脚本函数调用出错** | ||
应为 **Script** 模块;**模板渲染结果与文档不一致** 应为 **Core** 模块。 | ||
options: | ||
- Core - 渲染 / 模板加载问题 | ||
- Script - 脚本执行问题 | ||
- Httpserver - HTTP 服务器 | ||
- Onebot Client - Onebot 客户端 | ||
- Mirai Plugin - Mirai 插件 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: 版本号 | ||
description: 输入遇到问题的版本号,旧版本为 **0.x.x**,例如 **0.6.2** | ||
placeholder: 1.0.0-beta1 | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: 复现 | ||
description: 请在下方描述中补充复现流程;如果不知道如何复现,请尽可能描述问题发生时的场景。 | ||
options: | ||
- label: 这个 Bug 是可以被复现的 | ||
required: false | ||
- type: checkboxes | ||
attributes: | ||
label: 兼容性问题 | ||
description: 从旧版本升级到新版本出现了这个 Bug | ||
options: | ||
- label: 这是一个兼容性问题 | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: 描述 | ||
description: 简单描述遇到的 Bug 与场景,**欢迎贴图与上传文件**。 | ||
render: text | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: 运行环境 | ||
description: 例如 **Java 版本**,系统或容器版本,机器人协议端版本。 | ||
- type: textarea | ||
attributes: | ||
label: 运行日志 | ||
description: 适用于无法加载 模板 / 脚本、连接服务器出错、绘制模板失败 或其它报错情况 (**请勿截图或拍摄屏幕**) | ||
placeholder: '2025-01-01 00:00:00 INFO/Petpet: ......' | ||
render: text | ||
- type: textarea | ||
attributes: | ||
label: 出错资源 | ||
description: >- | ||
如果加载执行模板或脚本时发生错误,请提供出错的模板或脚本;如果是 HTTP | ||
请求引发的错误,请附上请求的具体内容;如果错误发生在机器人环境中,请提供可能相关的配置文件。或在 **Bug 描述**中上传文件。 | ||
placeholder: '{ | ||
"type": "image", | ||
...... | ||
}' | ||
render: text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: 文档问题 | ||
description: 文档信息缺失或描述模糊,需要进一步说明。 | ||
labels: | ||
- documentation | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: 描述 | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: 特性请求 | ||
description: 请求添加新功能 | ||
title: '[FR]: ' | ||
labels: | ||
- feature | ||
body: | ||
- type: dropdown | ||
attributes: | ||
label: 模块 | ||
description: 新特性的类型 | ||
multiple: true | ||
options: | ||
- Template - 模板标准相关 | ||
- Script - 脚本标准相关 | ||
- Core - 程序相关 | ||
- Httpserver - HTTP 服务器相关 | ||
- Bot - 机器人相关 | ||
- type: textarea | ||
attributes: | ||
label: 描述 | ||
validations: | ||
required: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Release Jars | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
paths: | ||
- 'gradle.properties' | ||
- 'gradlew' | ||
- 'gradlew.bat' | ||
- 'settings.gradle.kts' | ||
- '**/src/**' | ||
- '**.java' | ||
- '**.kt' | ||
- '**.kts' | ||
pull_request: | ||
branches: [ "main" ] | ||
paths: | ||
- 'gradle.properties' | ||
- 'gradlew' | ||
- 'gradlew.bat' | ||
- 'settings.gradle.kts' | ||
- '**/src/**' | ||
- '**.java' | ||
- '**.kt' | ||
- '**.kts' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 | ||
|
||
- name: Make gradlew executable | ||
run: chmod +x ./gradlew | ||
|
||
- name: Build with Gradle Wrapper | ||
run: ./gradlew releaseJars | ||
|
||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Package | ||
path: build/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,142 +1,12 @@ | ||
# for runPlugin | ||
/config/* | ||
/bots/ | ||
/plugins/ | ||
/data/* | ||
/logs/ | ||
/plugin-shared-libraries/ | ||
|
||
# petpet special | ||
/example-data/output | ||
!/data/xmmt.dituon.petpet | ||
|
||
# User-specific stuff | ||
.idea/ | ||
|
||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
# IntelliJ | ||
out/ | ||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Compiled class file | ||
*.class | ||
|
||
# Log file | ||
*.log | ||
|
||
# BlueJ files | ||
*.ctxt | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
|
||
*~ | ||
|
||
# temporary files which can be created if a process still has a handle open of a deleted file | ||
.fuse_hidden* | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
# Linux trash folder which might appear on any partition or disk | ||
.Trash-* | ||
|
||
# .nfs files are created when an open file is removed but is still being accessed | ||
.nfs* | ||
|
||
# General | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
# Windows thumbnail cache files | ||
Thumbs.db | ||
Thumbs.db:encryptable | ||
ehthumbs.db | ||
ehthumbs_vista.db | ||
|
||
# Dump file | ||
*.stackdump | ||
|
||
# Folder config file | ||
[Dd]esktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msix | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
# Ignore Gradle project-specific cache directory | ||
.gradle | ||
build/ | ||
|
||
# Ignore Gradle GUI config | ||
gradle-app.setting | ||
|
||
# Cache of project | ||
.gradletasknamecache | ||
|
||
**/build/ | ||
|
||
# Common working directory | ||
run/ | ||
|
||
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | ||
!gradle-wrapper.jar | ||
|
||
# Local Test Launch point | ||
src/test/kotlin/RunTerminal.kt | ||
# Ignore Gradle build output directory | ||
build | ||
|
||
config.json | ||
server-config.json | ||
gocq-config.json | ||
preview-config.json | ||
.idea | ||
.kotlin | ||
|
||
preview/ | ||
start-config.properties | ||
.test-output/ | ||
/permissions | ||
http-server.json | ||
onebot.yml |
Oops, something went wrong.