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

205 Commits

Author SHA1 Message Date
wdvxdr
ce6b65ddb5
feat: read cache with disk btree backend 2021-09-29 21:40:25 +08:00
wdvxdr
f767213681
feat: init disk-based btree impl 2021-09-27 22:44:45 +08:00
wdvxdr
a691ee8115
Merge branch 'dev' into dev.db
# Conflicts:
#	coolq/bot.go
2021-09-25 21:21:28 +08:00
wdvxdr
5acb01c1a3
refactor: new package modules
move silk, mime to modules
2021-09-25 13:24:33 +08:00
wdvxdr
2cf136d031
style: move flag variable into internal/base 2021-09-25 00:12:31 +08:00
Mrs4s
66266f0d5e
feat: multi database support - leveldb. 2021-09-22 14:43:48 +08:00
Mrs4s
efdd6bd16a
style: move coolq.MSG to global package 2021-09-17 19:08:05 +08:00
wdvxdr
6d19f07eb4
fix: incorrect unsafe usage in upstream lib
Updates #1070
2021-09-17 15:37:09 +08:00
Mrs4s
48afb44287
Merge pull request #1050 from wdvxdr1123/avx2
feat: use avx2 base64
2021-09-16 18:24:44 +08:00
Mrs4s
c975975e30
feat: group image subtype support. 2021-09-16 17:10:12 +08:00
wdvxdr
7f26df3ac7
feat: use avx2 base64 2021-09-14 15:12:32 +08:00
wdvxdr
f8dfa8db2c
style: simply send msg. 2021-08-29 22:48:03 +08:00
wdvxdr
4c8b2e9f13
drop cache file .cqimg. 2021-08-09 21:31:06 +08:00
wdvxdr
84488f9bf1
remove message.ShortVideoElement in LocalVideoElement 2021-08-09 21:15:18 +08:00
wdvxdr
3326b2aa2f
feat(coolq): mimetypes switch to array. 2021-08-06 22:31:27 +08:00
github-actions[bot]
6c52734324 ci(chore): Fix stylings 2021-08-01 20:29:21 +00:00
Mrs4s
a2f5be2166
feat: media mime scan. 2021-08-02 04:28:19 +08:00
wdvxdr
58d96004a3
perf(coolq): small change. 2021-08-01 21:41:00 +08:00
wdvxdr
6fd104a8b9
perf(coolq): optimize CQCodeEscapeText. 2021-08-01 00:16:21 +08:00
wdvxdr
86202d9d90
style: clean up io/ioutil.
rf '
  ex {
    import "io/ioutil";
    import "os";
    ioutil.WriteFile -> os.WriteFile
    ioutil.ReadFile -> os.ReadFile
  }
'
2021-07-29 15:18:50 +08:00
wdvxdr
6d5bf84603
simply makeShowPic. 2021-07-22 23:08:54 +08:00
wdvxdr
4894731422
rf(message): refactor show pic&flash pic.
Fixes: #470
2021-07-18 11:42:36 +08:00
wdvxdr
2f05775101
style: small code clean. 2021-07-08 23:01:03 +08:00
Mrs4s
5cfd53fd8a
fix custom reply element param name. 2021-07-03 16:17:18 +08:00
wdvxdr
a117d67286
style: clear filter. 2021-06-19 21:08:13 +08:00
Mrs4s
da23fc1403
fix image source. 2021-06-08 13:24:36 +08:00
wdvxdr
ca16e4c2a7
fix: private reply message id
updates: #261
2021-05-18 15:28:44 +08:00
wdvxdr
9c323c6a4e
refactor: simply ToStringMessage 2021-05-18 14:12:58 +08:00
wdvxdr
2fbaff8e72
refactor(cqcode): drop unsafe for cqcode deserialize
name                          old time/op    new time/op    delta
CQBot_ConvertStringMessage-8    1.22µs ± 5%    1.14µs ± 4%  -6.17%  (p=0.000 n=21+18)

name                          old speed      new speed      delta
CQBot_ConvertStringMessage-8  81.2MB/s ± 6%  86.7MB/s ± 3%  +6.84%  (p=0.000 n=20+18)
2021-05-02 13:39:17 +08:00
wdvxdr
111ac7f865
style: simply parse subtype in custom music share 2021-05-02 13:06:29 +08:00
wdvxdr
9534fc42fc
fix: close after read the cache file 2021-05-01 23:24:00 +08:00
wdvxdr
80827b8614
refactor(cqcode/cardimage): simply parse int 2021-04-30 14:26:41 +08:00
wdvxdr
36e0ec4e41
fix(coolq): invalid convert int to string 2021-04-28 16:27:42 +08:00
wdvxdr
0138a6c467
feat(global): lazy compile split url regex pattern 2021-04-27 20:39:47 +08:00
wdvxdr
1ecb1f62dc
fix(codec): silk sdk conditional compile 2021-04-22 21:30:51 +08:00
wdvxdr
0487f849bc
fix(coolq): tts on ios
fixes #849
2021-04-22 21:22:30 +08:00
wdvxdr
a5314f0b6d
add array benchmark 2021-04-20 13:15:33 +08:00
wdvxdr
223a888a34
reduce base64 alloc 2021-04-15 11:45:15 +08:00
wdvxdr
773d2b77e6
fix(cqcode): text message
漏改了
2021-04-14 22:43:50 +08:00
wdvxdr
f6073f5a61
feat(cqcode): format string message with buffer pool 2021-04-13 21:42:32 +08:00
wdvxdr
a27848979d
remove global/config.go 2021-04-13 21:15:44 +08:00
wdvxdr
6dfa5e5959
fix(config): only read config once 2021-04-08 22:30:17 +08:00
wdvxdr
a0cb34dc7a
fix(coolq): null message 2021-04-08 17:34:07 +08:00
Sam
c06aee39d9
Fix forward msg empty panic 2021-04-07 18:56:05 +08:00
sam01101
e8d2d345e9
at, reply 添加更多细节 (#799)
更改:
- 发送: 自定义reply可以用id了
- 发送: CQ:at 中的QQ如果不存在会使用name的field作为补偿
添加可选选项:
- 接收: 添加延申reply信息
- 删除回复消息中重复的艾特 (Closes #764)
2021-04-06 21:22:51 +08:00
Github Actions
15a59d4252 ci(chore): Fix stylings 2021-04-04 14:16:49 +00:00
wdvxdr
ecf695a68d
fix typo 2021-04-04 15:32:52 +08:00
wdvxdr
337e53ebc6
fix escape 2021-04-04 15:28:47 +08:00
wdvxdr
8db68f9427
fix: cqcode fix url
之前写的时候憨批了
2021-03-28 00:11:13 +08:00
wdvxdr
3301077c46
websocket read with buffer pool 2021-03-18 22:32:54 +08:00