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

1566 Commits

Author SHA1 Message Date
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
Mrs4s
4b3ae1c779
fix #1351 2022-02-09 17:31:39 +08:00
github-actions[bot]
0145879f37 ci(chore): Fix stylings 2022-02-09 07:02:21 +00:00
wdvxdr
e1937e9f15
docs: document default env placeholder 2022-02-09 15:01:38 +08:00
wdvxdr
8eefcc8cc8
config: impl env placeholder with default value
Fixes #1358
2022-02-09 13:41:19 +08:00
钟小白Core
a4992c3f79
修复了自动创建的批处理文件无法执行的Bug (#1355)
* 修复了自动创建的批处理文件无法执行的Bug

* 调整代码
2022-02-08 23:54:36 +08:00
wdvxdr
b70db344a6
.github: update golint.yml 2022-02-08 21:53:43 +08:00
源文雨
d33f17e727
fix: uploadForwardElement upload image error (#1354) 2022-02-07 19:49:24 +08:00
Mrs4s
8773ff9bd1
Merge pull request #1341 from Ink-33/patch-5
style: add some comments
2022-02-06 22:41:05 +08:00
wdvxdr
82b0c69b1b
config: remove old env config
Fixes #1219
2022-02-06 22:19:30 +08:00
wdvxdr
57d1be0ee5
db/leveldb: register message.RedBagMessageType
Fixes #1323
2022-02-06 18:39:22 +08:00
wdvxdr
f88f51ceed
cmd/gocq: switch faststart over to a flag 2022-02-06 16:04:03 +08:00
wdvxdr
f8fa906a95
.github: fix issue link 2022-01-30 16:05:37 +08:00
wdvxdr
b0fb02e890
.github: update bug-report template 2022-01-30 16:02:26 +08:00
wdvxdr
1f55bde728
ci: make lint happy 2022-01-30 16:00:30 +08:00
wdvxdr
e8bf497022
fix: fix btree iterate for empty db 2022-01-30 15:50:02 +08:00