1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

1884 Commits

Author SHA1 Message Date
源文雨
99cdf9247a
make lint happy 2023-08-01 12:32:29 +08:00
源文雨
837e163ef6
Merge branch 'dev' into master 2023-08-01 12:29:47 +08:00
PSoul
fe92bb54df
api: rename kick message type (#1775)
踢人时进行判断,当该人不在群内时返回人员不存在的错误

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:47:11 +08:00
脆饼干
7cae9829a8
api: _send_group_notice return noticeId (#1834)
Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:45:05 +08:00
Nanahira
3992dd40c5
Docker: support continuous params on CMD option (#1829)
now it supports usage like `docker run -it --rm go-cqhttp -faststart`

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:44:49 +08:00
A lucky guy
1bd0bb9ae2
fix: 修复release 的 action 只拉主仓库,修复 checkout 可能的问题 (#1999) 2023-08-01 11:35:22 +08:00
源文雨
b8527721c2 make lint happy 2023-08-01 11:34:34 +08:00
Lu7fer
14539adcb8
fix: #2112 add CQ code reply to db and solve recursive reply resolve (#2115)
Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:32:32 +08:00
Akirami
1911b5d245
Update bug-report.yaml (#2126)
Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:26:58 +08:00
虞灪
75ad7aa45c
fix: 修复和文档不一致的数据 (#2189)
* fix: 修复获取群荣誉列表群聊之火键名错误问题

* fix: 修复获取版本信息,错误的go-cqhttp字段
2023-08-01 11:25:44 +08:00
xiangxiangxiong9
cffdfd8181
尝试使 get_msg 获取消息中的回复信息 (#2207) 2023-08-01 11:24:59 +08:00
Antonia Adams
99e5cb6c6b
🐛 修复时区不是东八区的 BUG (#2212)
设置 TZ 环境变量需要先装`tzdata`这个包才会生效
2023-08-01 11:22:12 +08:00
LY
09ab2169d9
更新docker action, 支持更多的平台 (#2217)
* Update build_docker_image.yml

* Update docker-entrypoint.sh

* Update build_docker_image.yml

*  update docker action, more platforms are supported

---------

Co-authored-by: xiwangly2 <1334850101@qq.om>
Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:21:49 +08:00
xiangxiangxiong9
2b1d9c21cb
Fix #2226 - 修改 coolq/cqcode.go#L54 安卓端私聊回复时r.GroupID似乎为0 (#2230) 2023-08-01 11:20:02 +08:00
简律纯
998fda54a2
Update bug-report.yaml (#2234) 2023-08-01 11:17:29 +08:00
源文雨
5cb8548487 resolve conflicts 2023-08-01 11:16:58 +08:00
Bluefissure
88f5db89a8
feat: add Bearer authentication to sign server requests (#2247)
* feat: add sign-server-bearer

* fix: golint

* fix: golint

* fix: remove trimprefix

---------

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:15:31 +08:00
源文雨
7c813f8579 feat: add config sign-server-timeout 2023-08-01 11:09:04 +08:00
SuperKenVery
7adbbd6f81
增加签名服务器请求超时时间 (#2302)
* Increase timeout in download

* 直接改一分钟好了

---------

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 10:48:14 +08:00
源文雨
04cbf7b5d7 优化命名 2023-08-01 10:44:55 +08:00
源文雨
dae03784cc make lint happy 2023-08-01 10:38:53 +08:00
Lumine
f466ca7a72
feat: 提供 1.1.6 版本以上 qsign 的对接支持 (#2307)
* 增加签名服务超时设置

* 获取签名和err为空时尝试重新注册实例

* 可配置自动刷新token以及自动注册

* fix lint

* wrap callback

* add config: refresh-interval

* support qsign's `auto-register`

* fix: add registerLock to avoid repeat registraion.

* update: Enable disabling auto token refresh

* fix: use string android_id (not hexadecimal

* update default_config.yml

* fix: compatible with older  qsign (bellow 1.1.0

* fix: refresh token

* update dependency

* update go.sum

* fix: fix warnings on old version sign server

---------

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 10:33:32 +08:00
Komei_DiSanXian
13215f23c5
feat: add waitSignServer (#2311)
* add: 等待签名服务器启动以后再进行注册

* add: 支持签名服务器自动注册实例

* fix

* fix: 修复获取sign 时报错

* 调整代码结构

* Update login.go

* Update main.go

* Update login.go

---------

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 09:36:57 +08:00
源文雨
19dd37a938
fix(lint): if-block 2023-08-01 09:36:21 +08:00
源文雨
a3ad233cd9
fix: group not found report (#2312) (#2337)
解决以下问题:
当群组踢人时,该人不在群内,返回“群聊不存在”的BUG

https://github.com/Mrs4s/go-cqhttp/issues/1774#issue-1459854639

Co-authored-by: PSoul <psoul1@163.com>
2023-08-01 08:55:59 +08:00
PSoul
06461960a9
fix: group not found report (#2312)
解决以下问题:
当群组踢人时,该人不在群内,返回“群聊不存在”的BUG

https://github.com/Mrs4s/go-cqhttp/issues/1774#issue-1459854639
2023-08-01 08:53:37 +08:00
achieve
aa3a5d28da
optimize: increase http client timeout (#2315) 2023-08-01 08:51:58 +08:00
赵怡然
a4c131e04a
fix: cancel hex encoding of android_id field (#2318) 2023-08-01 08:47:59 +08:00
github-actions[bot]
526391e613 ci(chore): Fix stylings 2023-07-10 06:44:28 +00:00
Mrs4s
2901fd14bb
Merge pull request #2283 from KomeiDiSanXian/dev
update: support sign sever up to v1.1.3
2023-07-10 14:42:26 +08:00
KomeiDiSanXian
16a2ff050e fix lint warning: unused-parameter 2023-07-10 07:22:50 +08:00
KomeiDiSanXian
6cf8030d3c update: 兼容签名服务器到v1.1.3 2023-07-10 07:15:43 +08:00
Mrs4s
9c1390c75c
feat: support sign server v1.1.0 2023-06-27 18:11:06 +08:00
Mrs4s
b958046a27
Merge branch 'master' into dev 2023-06-27 17:16:14 +08:00
xiangxiangxiong9
19906eba36
修复群匿名消息事件中的重复的sub_type #2216 (#2219) 2023-06-20 21:54:07 +08:00
敖律风
8e6e79f734
bootstrap改进 (#2192)
* 保证云函数能直接调用启动脚本

* 添加末尾空格

以免某些shell无法正确执行。

* 还原 .gitignore

还原因为粗心提交上去的本地文件忽略

---------

Signed-off-by: BuildTools <x123456789fy@outlook.com>
2023-06-08 15:17:12 +08:00
felinae98
9b9ecd6a41
chore(docker): adjust dockerfile and entrypoint (#2194)
* chore(docker): adjust dockerfile and entrypoint
2023-06-04 10:23:45 +08:00
yuanyan3060
c8e480d12f
Update default_config.yml (#2151) 2023-06-04 09:59:46 +08:00
Janet-Baker
5bf64ee743
Fix #2119 (#2186)
* fix: 尝试修复 #2070 (#2071)

* Close file after uploading it to private chat

fix #2119
上传文件到私聊后,释放文件。
2023-06-04 09:56:40 +08:00
Azusa
bad3c86912
修改网易云音乐url格式 (#2146)
* 修改网易云音乐url格式
2023-05-30 17:26:22 +08:00
Mrs4s
2af55d6a67
Merge branch 'dev' v1.0.1 2023-04-13 00:19:43 +08:00
wdvxdr
42606a825d internal/download: disable http when not visiting go-cqhttp.org 2023-04-09 17:51:32 +08:00
wdvxdr
1ed675d5bf internal/t544: add //go:noescape 2023-04-09 17:37:12 +08:00
源文雨
91b4394d9b
optimize(t544): drop unsafe (#2076)
Updates #2075 #2072 #2051
2023-04-09 17:25:57 +08:00
Mrs4s
0b90074a48
feat: http timeout setting 2023-04-08 17:08:53 +08:00
wdvxdr
55cb80dccc onebot: pick Attr, Value from log/slog
[wip]
2023-04-08 12:11:20 +08:00
源文雨
54995fc101 fix: 尝试修复 #2070 (#2071) 2023-04-08 12:11:20 +08:00
源文雨
8acc9f39c2
fix: 尝试修复 #2070 (#2071) 2023-04-08 12:05:45 +08:00
wdvxdr
13325634c0 make lint happy 2023-04-08 11:34:19 +08:00
Mrs4s
7b2d1fd573
rf: remove sse2 check 2023-04-05 01:35:05 +08:00