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

1581 Commits

Author SHA1 Message Date
wdvxdr
e4d10eb2ae
global: use net/netip 2022-03-22 22:56:06 +08:00
wdvxdr
112441d76e
coolq: refactor send forward message 2022-03-21 21:41:29 +08:00
wdvxdr
062eea62ab
coolq: use generic sync.Map 2022-03-20 15:19:47 +08:00
wdvxdr
5b148d6c5e
ci: disable some lint
some lint work failed with generic
2022-03-19 10:53:58 +08:00
wdvxdr
70da0ce6e4
ci: enable golangci-lint
latest version support go1.18
2022-03-19 10:11:15 +08:00
wdvxdr
d34531790c
coolq: handle extract cover error
For #1426
2022-03-18 23:50:21 +08:00
wdvxdr
de4cfe0733
dep: update MiraiGo
Fix wrong self message event dispatch
2022-03-18 22:58:28 +08:00
wdvxdr
429ff80cf0
update MiraiGo & remove _get_vip_info
Fixes #1429
2022-03-18 21:39:28 +08:00
千橘 雫霞
cbcfee9f69
feat: support get group notice #493 (#1418)
* feat: support get group notice #493

* feat: update `go.mod`

* fix
2022-03-18 21:15:53 +08:00
wdvxdr
937538a7cb
coolq: remove support for old cache path 2022-03-18 19:49:32 +08:00
wdvxdr
afbf42b709
dep: update MiraiGo 2022-03-18 19:36:06 +08:00
wdvxdr
0a603dee92
dep: revert go-silk version 2022-03-18 18:49:08 +08:00
wdvxdr
34613306b3
internal/mime: use stdlib to detect mimetype 2022-03-18 17:07:10 +08:00
wdvxdr
779fa20704
Dockerfile: update to go1.18
Fixes #1427
2022-03-17 21:20:34 +08:00
wdvxdr
d48dc4fb3c
ci: disable golangci-lint 2022-03-17 17:58:07 +08:00
wdvxdr
76295b0e89
dep: update MiraiGo 2022-03-17 16:59:47 +08:00
wdvxdr
d7fe481a8b
db,server: release config after init 2022-03-13 15:23:14 +08:00
wdvxdr
152521893d
dep: update go-silk 2022-03-04 17:56:33 +08:00
wdvxdr
4d8c55aca1
cmd/gocq: adapt MiraiGo Logger interface 2022-03-02 22:08:47 +08:00
wdvxdr
c00e07dec9
coolq: adapt generic event handle & update MiraiGo 2022-03-01 16:30:23 +08:00
wdvxdr
8d26e3aec4
dep: update MiraiGo 2022-02-27 21:59:27 +08:00
源文雨
6687d22643
fix: uploadLocalImage SIGSEGV (#1392)
* fix: uploadLocalImage SIGSEGV

* fix: removeLocalElement nil ptr
2022-02-24 21:58:48 +08:00
Mrs4s
d4c2b62e5e
fix: import cycle 2022-02-24 01:15:42 +08:00
Mrs4s
0f06688ac6
Merge branch 'master' into dev 2022-02-24 01:12:16 +08:00
Mrs4s
dfcad8082b
feat: check reset working dir exists 2022-02-24 01:11:27 +08:00
wdvxdr
987daad785
coolq: allow upload media concurrently for normal message 2022-02-22 14:46:26 +08:00
千橘 雫霞
d1f143ebf7
feat: set qq profile (#1389)
* feat: set qq profile

* refactor: support empty field
2022-02-22 13:38:42 +08:00
wdvxdr
c7f0aed1b7
coolq: adapt new MiraiGo upload api 2022-02-21 23:44:49 +08:00
wdvxdr
19230b1511
coolq: move MessageSource to MiraiGo/message 2022-02-21 17:49:02 +08:00
github-actions[bot]
b833193926 ci(chore): Fix stylings 2022-02-20 15:37:25 +00:00
wdvxdr
2709c5d448
dep: update MiraiGo & revert disabling multi-thread upload 2022-02-20 23:36:29 +08:00
wdvxdr
31cdd33767
internal/btree: remove lock file after testing 2022-02-19 20:19:17 +08:00
github-actions[bot]
ee749a45fc ci(chore): Fix stylings 2022-02-19 10:56:44 +00:00
wdvxdr
e6904d8dde
internal/btree: implement file lock
For #1366
2022-02-19 18:55:28 +08:00
wdvxdr
75bed6aabc
coolq: clean readImageCache 2022-02-18 19:11:43 +08:00
源文雨
a85f846a5f
fix: get_msg returns nil on local image element (#1342)
* fix: get_msg returns nil on local image element

* fix: make lint happy
2022-02-18 18:38:58 +08:00
wdvxdr
8326685088
coolq: only truncate replySeq to uint16 on private message 2022-02-18 15:09:57 +08:00
wdvxdr
2a66896d43
coolq: new package cqcode
move cqcode escape&unescape to new package
2022-02-16 01:14:35 +08:00
wdvxdr
197ca5a3ea
disable pprof module by default 2022-02-15 22:52:49 +08:00
wdvxdr1123
9054d4cee8
db/leveldb: impl index read/write drop encoding/gob (#1370)
Two benefit below:
 * shrink go-cqhttp binary size about 200KiB
 * shrink database file from 2.8M to 1.56M compared with v2 database

Also provide a tool to migrate v2 database:
https://github.com/RomiChan/gocq-leveldb-migrate
2022-02-15 22:24:27 +08:00
wdvxdr
f2e26d0e13
dep: update MiraiGo
Fixes #1095
2022-02-14 16:30:47 +08:00
wdvxdr
da9bad44e2
dep: update MiraiGo
reduce binary size about 550KiB
2022-02-14 00:54:13 +08:00
wdvxdr
c609fd72f5
dep: update deps & drop github.com/klauspost/compress 2022-02-13 17:28:08 +08:00
325bd42734
📝 Replace broken links in documentation (#1365) 2022-02-13 16:07:49 +08:00
Lin
ba808fff1d
重构:适配自定义QR尺寸
Co-authored-by: wdvxdr <wdvxdr1123@gmail.com>
2022-02-12 16:48:37 +08:00
wdvxdr
baecc2f8e6
dep: update MiraiGo
For #1368
2022-02-12 16:18:54 +08:00
wdvxdr
cf9fa71646
coolq: fix private reply id
Fixes #1368
2022-02-11 14:18:44 +08:00
千橘 雫霞
115a5f1da7
fix: examine errors that have been ignored in the 'CQ:at' parser (#1363)
#1332
2022-02-09 23:55:39 +08:00
wdvxdr
1a78a4809a
server/http: delete tab in default config
Fixes #1362
2022-02-09 22:33:53 +08:00
Mrs4s
54dbccf63c
Merge branch 'dev' v1.0.0-rc1 2022-02-09 17:34:19 +08:00