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

1563 Commits

Author SHA1 Message Date
wdvxdr
18944198ae
feat: generate api route with annotation 2021-10-28 21:08:14 +08:00
wdvxdr
208563d4c9
refactor: move api.go to modules/api, filter to modules/filter
maybe do code generate for api route
2021-10-27 11:46:54 +08:00
Mrs4s
4837b9677e
fix: panic on connection test 2021-10-19 22:52:54 +08:00
wdvxdr
c499389e66
refactor(cqcode): simply cache arg handle 2021-10-19 22:14:36 +08:00
wdvxdr1123
a19baec013
Merge pull request #1107 from bottify/master
fix: 当从 url 获取图片失败时,返回失败,而不是成功
2021-10-19 15:56:16 +08:00
Tamce
71835a286b fix typo 2021-10-19 01:51:01 +08:00
wdvxdr
5e70c8115e
feat: modular database
build with leveldb on default
2021-10-17 17:12:24 +08:00
wdvxdr
4e69ef4c2f
Merge branch 'database-support' into dev
# Conflicts:
#	go.mod
#	go.sum
#	main.go
2021-10-17 16:03:37 +08:00
wdvxdr
ad9bccda5e
dep: update dep 2021-10-16 22:47:40 +08:00
wdvxdr
549226921a
dep: update dep 2021-10-16 22:43:12 +08:00
wdvxdr
ef095ec64e
dep: use github.com/klauspost/compress 2021-10-16 22:18:33 +08:00
wdvxdr
024fe7ba05
Merge branch 'dev.ws' into dev
# Conflicts:
#	go.sum
2021-10-16 22:14:47 +08:00
github-actions[bot]
a0b156d054 ci(chore): Fix stylings 2021-10-16 08:49:31 +00:00
Mrs4s
47391e0a06
add: package comment 2021-10-16 16:48:56 +08:00
Mrs4s
952f7ab5fb
fix typo. 2021-10-16 16:47:07 +08:00
Mrs4s
5fbb427615
feat: network diagnosis. 2021-10-16 16:44:48 +08:00
wdvxdr
2eec74ee09
style: clean log color constant 2021-10-16 16:36:51 +08:00
wdvxdr
6317e6c853
feat: small qrcode print 2021-10-16 13:59:11 +08:00
Tamce
20fd8a9619 fix: return error when get_image from url failed 2021-10-15 02:33:22 +08:00
wdvxdr
47cdc20d45
fix: correct x-client-role header 2021-10-13 22:51:51 +08:00
wdvxdr
029d3a2c18
feat: onebot 12 style mention [disabled] 2021-10-13 22:50:35 +08:00
Mrs4s
250c96f2c9
Merge pull request #1093 from fzls/add_color_for_log
feat: add console log color support
2021-10-12 21:21:49 +08:00
wdvxdr
a82eaf7411
fix: make lint happy 2021-10-11 22:49:25 +08:00
wdvxdr
fcc9962b15
feat: modular pprof server
This module is about 384KiB in windows/amd64
2021-10-11 22:47:06 +08:00
wdvxdr
e4bd30d000
fix: fix message_id replying group message in private
Fixes #1052
2021-10-11 21:09:42 +08:00
wdvxdr
69a187ddd7
Merge branch 'dev' into database-support
# Conflicts:
#	main.go
2021-10-10 22:35:48 +08:00
wdvxdr
560bd5a0cf
fix(coolq): fix btree cache for get_image 2021-10-10 11:21:44 +08:00
wdvxdr
0b04ec9adb
feat(cache): implement Delete 2021-10-08 21:41:47 +08:00
wdvxdr
1771cda11c
feat(server): unify websocket client connect 2021-10-07 22:24:45 +08:00
wdvxdr
67f0ea914d
feat(server): use nhooyr.io/websocket 2021-10-07 21:40:20 +08:00
wdvxdr
446f624a37
feat(http): accept onebot v12 style endpoint
disabled currently, enabled in v1.1.0
2021-10-06 16:13:40 +08:00
wdvxdr
19fd331c46
rf(server): use sync.Once 2021-10-06 15:53:50 +08:00
wdvxdr
cd5c6c6a72
clean: clean cache.Init 2021-10-05 22:20:24 +08:00
风之凌殇
931e9220da fix: lint error 2021-10-05 04:55:59 +08:00
风之凌殇
e0bd2a74f4 feat: use existing lib to support color cosnole in windows, and copy part of definition from github.com\gookit\color to avoid new lib 2021-10-05 01:31:53 +08:00
风之凌殇
f784e94a4a feat: console and file log use different formatter, and remove build tag 2021-10-05 01:19:36 +08:00
风之凌殇
2eadcb151e feat: auto build and push docker image to ghcr (and optional dockerhub) nightly and on push, release 2021-10-05 00:17:00 +08:00
Mrs4s
b8c7941dc8
Merge pull request #1085 from purerosefallen/patch-2
add `ffmpeg` into Dockerfile
2021-10-04 23:44:41 +08:00
风之凌殇
69e5247bde fix: default not use new lib, only enable when use build tag with_color 2021-10-04 19:37:11 +08:00
风之凌殇
58a17c65a1 feat: add console log color support 2021-10-04 07:53:09 +08:00
wdvxdr
41e33fdb3d
style: make linter happy 2021-10-03 22:34:08 +08:00
wdvxdr
63e950bb83
feat(internal/btree): use md5 key instead of sha1
image/video cache uses md5 key, this commit will reduce 4 used bytes in db
2021-10-03 22:32:11 +08:00
wdvxdr
ce944539c1
feat: split out server register
we can add server with less dependency
2021-10-02 23:42:47 +08:00
wdvxdr
4b99f64b56
style: move help resetWorkingDir to internal/base 2021-10-02 23:14:36 +08:00
wdvxdr
ce6b65ddb5
feat: read cache with disk btree backend 2021-09-29 21:40:25 +08:00
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