3 Commits

Author SHA1 Message Date
suyiiyii f01c2567c1 🐛 最讨厌调试 action 了 ( 2024-09-28 01:39:48 +08:00
suyiiyii 75ab14cd98 🐛 写串台了艹 2024-09-28 01:35:17 +08:00
suyiiyii bd81449534 👷 将自动化工具中的 yarn 替换为 pnpm 2024-09-28 01:30:02 +08:00
7 changed files with 36 additions and 74 deletions
-61
View File
@@ -1,61 +0,0 @@
name: 问题报告
description: 我遇到了问题
body:
- type: markdown
id: environment
attributes:
value: |
## 环境
- type: input
id: nonebot_bison_version
attributes:
label: nonebot-bison 版本
description: 请填写 nonebot-bison 的版本
- type: input
id: nonebot_version
attributes:
label: nonebot 版本
description: 请填写 nonebot 的版本
- type: dropdown
id: installation_method
attributes:
label: 安装方式
description: 请选择安装方式
options:
- 通过 nb-cli 安装
- 使用 poetry/pdm 等现代包管理器安装
- 通过 pip install 安装
- 克隆或下载项目直接使用
- type: input
id: operating_system
attributes:
label: 操作系统
description: 请填写操作系统
- type: textarea
id: issue_description
attributes:
label: 问题
description: 请在这里描述你遇到的问题
- type: textarea
id: logs
attributes:
label: 日志
description: 请在这里粘贴你的日志
render: shell
- type: checkboxes
id: confirmations
attributes:
label: 确认
options:
- label: 我搜索过了 issue,但是并没有发现过与我类似的问题
required: true
- label: 我确认在日志中去掉了敏感信息
required: true
+31
View File
@@ -0,0 +1,31 @@
---
name: 问题报告
about: 我遇到了问题
title: ""
labels: ""
assignees: ""
---
## 环境
- nonebot-bison 版本:
- nonebot 版本:
- 安装方式:(以下方式的一种或者其他方式)
1. 通过 nb-cli 安装
2. 使用 poetry/pdm 等现代包管理器安装
3. 通过 pip install 安装
4. 克隆或下载项目直接使用
- 操作系统:
## 问题
请在这里描述你遇到的问题
## 日志
```
请在这里粘贴你的日志
```
- [ ] 我搜索过了 issue,但是并没有发现过与我类似的问题
- [ ] 我确认在日志中去掉了敏感信息
-6
View File
@@ -1,11 +1,5 @@
# Change Log # Change Log
## 最近更新
### 文档
- 📝 小刻食堂剪彩文档 [@phidiaLam](https://github.com/phidiaLam) ([#636](https://github.com/MountainDash/nonebot-bison/pull/636))
## v0.9.4 ## v0.9.4
### Bug 修复 ### Bug 修复
+1 -1
View File
@@ -22,7 +22,7 @@ BISON_SKIP_BROWSER_CHECK=false
BISON_USE_PIC_MERGE=0 BISON_USE_PIC_MERGE=0
BISON_RESEND_TIMES=0 BISON_RESEND_TIMES=0
BISON_PROXY= BISON_PROXY=
BISON_UA=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0 BISON_UA=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
BISON_SHOW_NETWORK_WARNING=true BISON_SHOW_NETWORK_WARNING=true
BISON_PLATFORM_THEME='{}' BISON_PLATFORM_THEME='{}'
+1 -1
View File
@@ -70,7 +70,7 @@ highlights:
details: 一个由玩家创造的幻想世界 details: 一个由玩家创造的幻想世界
link: https://adsrff.web.sdo.com/web1/ link: https://adsrff.web.sdo.com/web1/
- title: 小刻食堂 - title: 小刻食堂 (即将支持)
details: 实时获取鹰角发的动态 details: 实时获取鹰角发的动态
link: https://www.ceobecanteen.top link: https://www.ceobecanteen.top
+1 -2
View File
@@ -36,8 +36,7 @@ class PlugConfig(BaseModel):
bison_resend_times: int = 0 bison_resend_times: int = 0
bison_proxy: str | None = None bison_proxy: str | None = None
bison_ua: str = Field( bison_ua: str = Field(
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
" Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0",
description="默认UA", description="默认UA",
) )
bison_show_network_warning: bool = True bison_show_network_warning: bool = True
+2 -3
View File
@@ -17,8 +17,7 @@ async def test_http_error(app: App):
assert ctx.gen_req_records() == [ assert ctx.gen_req_records() == [
"https://example.com Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate'," "https://example.com Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate',"
" 'connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" " 'connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like"
" (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0'}) | [403] Headers({'content-length': '" " Gecko) Chrome/51.0.2704.103 Safari/537.36'}) | [403] Headers({'content-length': '15', 'content-type':"
"15', 'content-type':"
' \'application/json\'}) {"error": "gg"}' ' \'application/json\'}) {"error": "gg"}'
] ]