Akegarasu
|
b8d622bb90
|
fix #2494
|
2024-01-04 00:55:22 +08:00 |
|
Lumine
|
bd785d3894
|
尝试修复首次登录时容易出现 code -10005 和 packet timed out 的问题 (#2463)
* try to fix: code -10005 and packet timed out (first login)
* 此问题猜测可能是成功登录前无法向服务器发送sso packet并获取结果。
在有callback之前似乎没有出现这个问题,怀疑是这里的问题。
等待 100s 后(以等待完成过滑块)再提交初始化包以尝试解决
* sign submit 内容改为仅在debug模式下打印
* impl #2455
* 在“群消息发送失败: 账号可能被风控”的时候提供group_id
* optimize: sign callback wait until online
* 等待至 bot 在线再发包,而不是简单地等待 100s
|
2023-10-09 22:03:26 +09:00 |
|
xiangxiangxiong9
|
07214e396e
|
尝试实现 #2421 (#2422)
|
2023-10-01 13:27:06 +09:00 |
|
Lumine
|
f8354ec082
|
修复TCP缓冲区不足问题;重构 qsign 签名服务对接部分;支持配置多个签名服务器 (#2389)
* fix: skip callback error
* update: update comment
* change the logic of callback and auto-register
* add token update prompt.
* fix log buffer string
* fix #2368
增加对 client 的利用,避免创建过多 clients
* refactor: wrap sign request
* feat: impl additional sign servers configuration
* fix error in using configurations.
* fix lint error
* 支持切换回主签名服务器
* feat: support different key and auth
* optimize: find avaliable sign-server
* fix: register instance after server is changed
* fix lint error
* update: add config 'sync-check-servers'
* update: first check master sign-server, or wait 3s
* add checking log & optimize wait for checking done
* fix wrong judge
* add config: rule for changing sign server
* optimize registration logic after changing server
* add some log
* fix #2390
* resolve requested changes in #2389
* update dependency
* fix lint error 'idx is unused'
* refactor: extract sync check and async check logic
* delete async check sign-server
|
2023-08-27 13:19:38 +08:00 |
|
xiangxiangxiong9
|
977030e814
|
Revert #2207 (#2397)
|
2023-08-23 12:39:28 +08:00 |
|
源文雨
|
8ea182a4c3
|
sync: master to dev (#2340)
* fix: group not found report (#2312)
解决以下问题:
当群组踢人时,该人不在群内,返回“群聊不存在”的BUG
https://github.com/Mrs4s/go-cqhttp/issues/1774#issue-1459854639
* Update bug-report.yaml (#2234)
* 更新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>
* 🐛 修复时区不是东八区的 BUG (#2212)
设置 TZ 环境变量需要先装`tzdata`这个包才会生效
* Update bug-report.yaml (#2126)
Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
* 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>
* make lint happy
---------
Co-authored-by: PSoul <psoul1@163.com>
Co-authored-by: 简律纯 <i@jyunko.cn>
Co-authored-by: LY <1334850101@qq.com>
Co-authored-by: xiwangly2 <1334850101@qq.om>
Co-authored-by: Antonia Adams <10476982+li-xunhuan@users.noreply.github.com>
Co-authored-by: Akirami <66513481+A-kirami@users.noreply.github.com>
Co-authored-by: Nanahira <78877@qq.com>
|
2023-08-01 12:32:51 +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 |
|
源文雨
|
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 |
|
虞灪
|
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 |
|
xiangxiangxiong9
|
2b1d9c21cb
|
Fix #2226 - 修改 coolq/cqcode.go#L54 安卓端私聊回复时r.GroupID似乎为0 (#2230)
|
2023-08-01 11:20:02 +08:00 |
|
源文雨
|
dae03784cc
|
make lint happy
|
2023-08-01 10:38:53 +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 |
|
xiangxiangxiong9
|
19906eba36
|
修复群匿名消息事件中的重复的sub_type #2216 (#2219)
|
2023-06-20 21:54:07 +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 |
|
wdvxdr
|
13325634c0
|
make lint happy
|
2023-04-08 11:34:19 +08:00 |
|
Mrs4s
|
749cde2a6d
|
fix #1782
|
2023-04-02 18:32:49 +08:00 |
|
EnderFx
|
008d546f1a
|
Update cqcode.go (#2001)
fix #1998
|
2023-03-20 10:34:05 +08:00 |
|
Mrs4s
|
82ecf19480
|
fix #1989
|
2023-03-18 14:04:13 +08:00 |
|
wdvxdr
|
4ceacc38d5
|
onebot: move to pkg/onebot
|
2023-02-27 15:17:27 +08:00 |
|
wdvxdr
|
cb1604a098
|
update MiraiGo
|
2023-02-20 15:08:53 +08:00 |
|
wdvxdr
|
90fa530a02
|
ci: make revive happy
|
2023-02-16 23:31:04 +08:00 |
|
wdvxdr
|
c80adf5795
|
coolq: handle v11/v12 specific message
(1) V11: at V12: mention/mention_all
(2) V11: record V12: voice
|
2023-02-16 23:28:31 +08:00 |
|
wdvxdr
|
debc1ed1ae
|
coolq: unified string/array message conversion
change to 2 step:
(1): parse to []internal/msg.Element, use msg.ParseObject/msg.ParseString
(2): transform to []IMessageElement, can share functions
|
2023-02-16 14:51:23 +08:00 |
|
wdvxdr
|
43dd9aa76d
|
rf: move coolq/cqcode to internal/msg
|
2023-02-15 22:29:42 +08:00 |
|
wdvxdr
|
9c0525b3d4
|
all: use *onebot.Spec
|
2023-02-15 21:49:05 +08:00 |
|
wdvxdr
|
cf717ad762
|
internal/onebot: new package
|
2023-02-15 14:24:57 +08:00 |
|
wdvxdr
|
6b3aabd9af
|
update MiraiGo
|
2023-02-14 23:27:15 +08:00 |
|
wdvxdr
|
59ed726c6a
|
Merge branch 'dev' into onebot.v12
# Conflicts:
# coolq/api.go
# server/websocket.go
|
2023-02-14 19:23:39 +08:00 |
|
wdvxdr
|
17420feeac
|
coolq: add sign in api get_stranger_info
Fixes #1853
|
2023-02-09 22:33:15 +08:00 |
|
Pandaft
|
2483eb09c4
|
fix: set_group_ban limit error (#1846)
* fix: set_group_ban limit error
|
2023-02-04 13:07:34 +08:00 |
|
ctaoist
|
d96f840d7f
|
修复取出消息时LocalImageElement缺失问题 (#1884)
|
2023-02-03 23:59:05 +08:00 |
|
BeautyyuYanli
|
fc0845b16d
|
Support API set_group_anonymous (#1875)
* support api set_group_anonymous
* update MiraiGo version
* fix bug due to MiraiGo update
|
2023-02-01 13:22:56 +08:00 |
|
wdvxdr
|
f3da083be9
|
coolq/cqcode: add a testcase for quote
May report an empty json message.
|
2023-01-31 23:10:30 +08:00 |
|
wdvxdr
|
06450c66a2
|
ci: make golangci-lint happy
|
2023-01-31 21:20:48 +08:00 |
|
wdvxdr
|
0be18fb221
|
coolq/cqcode: simplify quote string
|
2023-01-26 23:58:43 +08:00 |
|
wdvxdr
|
20c62111f5
|
all: run gofmt -w -r 'interface{} -> any'
|
2023-01-26 23:03:08 +08:00 |
|
wdvxdr
|
84e061f321
|
make golangci-lint happy
|
2023-01-26 22:59:04 +08:00 |
|
Mrs4s
|
7d5f1d6843
|
fix #1815
|
2023-01-11 06:08:33 +08:00 |
|
Maiko Tan
|
a5b51051e6
|
fix: handle decode / encode error
|
2023-01-06 19:25:54 +08:00 |
|
Maiko Tan
|
311a254b9c
|
refactor: use in-memory convertion
|
2023-01-06 14:44:00 +08:00 |
|
Maiko Tan
|
008e139c27
|
fix: ffmpeg runtime error
|
2023-01-06 13:06:44 +08:00 |
|
Maiko Tan
|
524debbfda
|
fix: simplify bool checking
|
2023-01-06 12:57:19 +08:00 |
|
Maiko Tan
|
2a4ea28f4d
|
feat: add webp image convert function
|
2023-01-05 21:58:37 +08:00 |
|
xiangxiangxiong9
|
b05a64fc1b
|
邀请入群添加邀请人id [invitor_id]
|
2022-12-20 20:37:08 +08:00 |
|
Mrs4s
|
0e08ceccdd
|
api: get_version_info remove protocol field & add protocol_name field
|
2022-12-07 03:27:19 +08:00 |
|