1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 03:53:50 +08:00

1818 Commits

Author SHA1 Message Date
wdvxdr
7c4be95c19
feat: store cache with disk btree backend 2021-09-28 22:23:33 +08:00
wdvxdr
4da6584f10
feat: unified writing/reading table
These changes table reading/writing to single read/write operation,
and layout to machine byteorder, so db file will be unsupported with
wrong byteorder.
2021-09-28 16:44:45 +08:00
wdvxdr
d620fce1ae
style: nolint on (*btree.Btree).insertTopLevel 2021-09-28 15:58:30 +08:00
wdvxdr
83b4206b15
fix: wrong sha1 cmp
reported by staticcheck.
2021-09-28 15:51:35 +08:00
wdvxdr
d464236573
fix: make linter happy
add db into skip-dirs
2021-09-28 15:46:14 +08:00
wdvxdr
2927c2214f
feat: optimize btree reading/writing 2021-09-28 15:33:33 +08:00
wdvxdr
4625c785dd
fix: make linter happy in internal/btree 2021-09-28 10:48:19 +08:00
wdvxdr
f767213681
feat: init disk-based btree impl 2021-09-27 22:44:45 +08:00
wdvxdr
c4d34fa14f
Merge branch 'dev' into database-support
# Conflicts:
#	coolq/bot.go
#	modules/config/config.go
2021-09-26 19:49:48 +08:00
wdvxdr
1337d3f1f3
style: move internal/config to modules/config
config should not be internal, maybe some module need it.
2021-09-26 19:41:03 +08:00
Mrs4s
c2166699e4
feat: multi database support - mongodb. 2021-09-26 19:11:07 +08:00
wdvxdr
ddd51e6ca3
style: move global/config to internal/config 2021-09-26 13:32:40 +08:00
wdvxdr
a691ee8115
Merge branch 'dev' into dev.db
# Conflicts:
#	coolq/bot.go
2021-09-25 21:21:28 +08:00
wdvxdr
35b7b8909e
style: make linter happy 2021-09-25 21:13:26 +08:00
wdvxdr
cf21e81016
style: move flag parse to internal/base 2021-09-25 21:09:50 +08:00
wdvxdr
cd141d7d37
fix: build failed on nosilk platform 2021-09-25 13:28:23 +08:00
Nanahira
1a195278cf
add ffmpeg into Dockerfile 2021-09-25 13:25:52 +08:00
wdvxdr
5acb01c1a3
refactor: new package modules
move silk, mime to modules
2021-09-25 13:24:33 +08:00
wdvxdr
883fca089d
style: move global/update to internal/selfupdate
also move checkUpdate to internal/selfupdate
2021-09-25 10:58:54 +08:00
wdvxdr
110982651d
style: make linter happy 2021-09-25 00:17:36 +08:00
wdvxdr
2cf136d031
style: move flag variable into internal/base 2021-09-25 00:12:31 +08:00
wdvxdr
f2ed46d6ce
style: move coolq.Version into internal/base 2021-09-24 23:28:09 +08:00
wdvxdr
87754111ce
fix: make golangci-lint happy 2021-09-23 21:11:20 +08:00
wdvxdr
1db219fce0
feat: replace gout with net/http.
This significantly reduces binary size:
old 16.5MB
new 15.5MB
on windows/amd64
2021-09-23 21:03:46 +08:00
Mrs4s
5cafaea082
fix: token login error under special cases 2021-09-22 17:01:16 +08:00
Mrs4s
f629eee7f2
fix typo. 2021-09-22 16:48:59 +08:00
Mrs4s
a56e70d07c
feat: multi database support - multi db wrapper. 2021-09-22 16:43:27 +08:00
Mrs4s
28078d9c8e
fix typo. 2021-09-22 14:49:16 +08:00
Mrs4s
66266f0d5e
feat: multi database support - leveldb. 2021-09-22 14:43:48 +08:00
源文雨
60d5f4d386
feat: hide key in command line. (#1076)
* feat: hide key in command line.

* Update go.mod

* Update go.sum

* Update main.go

* Update go.mod

* Update go.sum
2021-09-19 23:14:38 +08:00
Mrs4s
efdd6bd16a
style: move coolq.MSG to global package v1.0.0-beta7-fix2 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
wdvxdr
760bb175c7
fix: incorrect del friend argument
Fixes #1070
2021-09-17 14:47:00 +08:00
Mrs4s
4da5d9ebfb
Merge pull request #1026 from Shigma/patch-3
enhance help
v1.0.0-beta7-fix1
2021-09-16 19:42:59 +08:00
Mrs4s
a6f82d85be
fix #1058 2021-09-16 19:37:05 +08:00
Mrs4s
c62f193005
Merge branch 'dev' of github.com:/Mrs4s/go-cqhttp into dev v1.0.0-beta7 2021-09-16 18:27:58 +08:00
Mrs4s
f386a9b94e
doc: delete_unidirectional_friend 2021-09-16 18:27:42 +08:00
Mrs4s
48afb44287
Merge pull request #1050 from wdvxdr1123/avx2
feat: use avx2 base64
2021-09-16 18:24:44 +08:00
Mrs4s
75fe0294ac
fix: make lint happy 2021-09-16 18:19:49 +08:00
Mrs4s
1290a3dd10
fix: unidirectional friend cache missing. 2021-09-16 18:08:45 +08:00
Mrs4s
59209068bf
feat: delete_unidirectional_friend. 2021-09-16 18:01:24 +08:00
Mrs4s
757661bcf7
doc: get_unidirectional_friend_list. 2021-09-16 17:37:43 +08:00
Mrs4s
b8bf3f9711
feat: get_unidirectional_friend_list api. 2021-09-16 17:33:38 +08:00
Mrs4s
eadd688e5a
doc: fix typo. 2021-09-16 17:22:04 +08:00
Mrs4s
8c89d3c432
doc: image subtype. 2021-09-16 17:21:09 +08:00
Mrs4s
cfaa18b131
fix: relogin error. 2021-09-16 17:11:38 +08:00
Mrs4s
c975975e30
feat: group image subtype support. 2021-09-16 17:10:12 +08:00
wdvxdr
ec4ecb1093
docs: fix newline in MINE 2021-09-16 16:48:17 +08:00
wdvxdr
b01ea99d1a
docs: MINE scan 2021-09-16 16:43:52 +08:00
Mrs4s
8c94c810d6
fix relogin default value error. 2021-09-15 14:34:18 +08:00