wdvxdr
72173337ae
api-gen: clean up
2023-02-27 16:00:28 +08:00
wdvxdr
4ceacc38d5
onebot: move to pkg/onebot
2023-02-27 15:17:27 +08:00
wdvxdr
0e5f3ed555
server: support ob12 http long polling
2023-02-19 14:13:18 +08:00
wdvxdr
43dd9aa76d
rf: move coolq/cqcode to internal/msg
2023-02-15 22:29:42 +08:00
wdvxdr
9c0525b3d4
all: use *onebot.Spec
2023-02-15 21:49:05 +08:00
wdvxdr
cf717ad762
internal/onebot: new package
2023-02-15 14:24:57 +08:00
wdvxdr
59ed726c6a
Merge branch 'dev' into onebot.v12
...
# Conflicts:
# coolq/api.go
# server/websocket.go
2023-02-14 19:23:39 +08:00
BeautyyuYanli
fc0845b16d
Support API set_group_anonymous ( #1875 )
...
* support api set_group_anonymous
* update MiraiGo version
* fix bug due to MiraiGo update
2023-02-01 13:22:56 +08:00
wdvxdr
84e061f321
make golangci-lint happy
2023-01-26 22:59:04 +08:00
Maiko Tan
2a4ea28f4d
feat: add webp image convert function
2023-01-05 21:58:37 +08:00
源文雨
51747981dd
feat: 默认仍使用 leveldb
2022-11-15 10:50:47 +08:00
源文雨
0ad641aa2d
feat: change db to sqlite3 in default config
2022-11-09 22:58:37 +08:00
wdvxdr
2f92146092
cache: switch to leveldb
2022-08-31 21:07:18 +08:00
wdvxdr
98712bf9ca
move mime to internal package
2022-08-31 16:31:47 +08:00
秋葉杏
36bf579e0f
feat: del group notice ( #1567 )
...
* update dep
* feat: _del_group_notice
* doc: get_group_notice && del_group_notice
2022-07-09 12:57:53 +08:00
wdvxdr
86f5b7f5f5
coolq: support upload_private_file
...
pc client can't receive file sent by this api.
2022-06-20 19:49:12 +08:00
wdvxdr
23d594be29
coolq: support upload_private_file
...
pc client can't receive file sent by this api.
2022-06-20 16:12:22 +08:00
Mrs4s
672dafdb9d
feat: cross version ID converter & audio/mention segment support
2022-06-17 15:39:35 +08:00
Mrs4s
f900fd62fb
feat: routing api by version & inject version field
2022-06-15 16:02:52 +08:00
Mrs4s
b013f66209
fix #1514
2022-06-06 22:40:09 +08:00
synodriver
c275806c62
add group_id for get_forward_msg ( #1510 )
2022-05-27 17:10:23 +08:00
秋葉杏
d313effb79
feat: send forward msg to private ( #1513 )
...
* feature(forward_msg): support send forward msg to private
Added two apis: send_forward_msg & send_private_forward_msg
* typo: messages
* fix: message source target id
2022-05-27 14:24:48 +08:00
wdvxdr
18a091145a
style: go fmt ./...
...
also delete mkrw.go, we can maintain this file by hand.
2022-04-14 21:53:00 +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
34613306b3
internal/mime: use stdlib to detect mimetype
2022-03-18 17:07:10 +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
千橘 雫霞
d1f143ebf7
feat: set qq profile ( #1389 )
...
* feat: set qq profile
* refactor: support empty field
2022-02-22 13:38:42 +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
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
wdvxdr
82b0c69b1b
config: remove old env config
...
Fixes #1219
2022-02-06 22:19:30 +08:00
Mrs4s
a5dd0bfa1f
feat: disable temp session by default
2022-01-24 19:52:13 +08:00
wdvxdr
b98f75ccab
style: run gofumpt
2021-12-29 14:04:51 +08:00
wdvxdr
a49becfff4
api-gen: replace aliases with multi-path
2021-12-28 17:17:47 +08:00
wdvxdr
024ec34fbe
fix: bus_id
compatibility
2021-12-23 21:18:01 +08:00
Mrs4s
cb16c08ac8
fix: download & delete group file api error
2021-12-17 02:50:37 +08:00
Mrs4s
8da29c292e
feat: get_guild_msg api no_cache
2021-12-14 17:50:36 +08:00
Mrs4s
32aa82f914
feat: get_guild_msg api
2021-12-13 02:34:05 +08:00
Mrs4s
5d81267c12
feat: get_guild_member_profile api
2021-12-11 02:57:17 +08:00
秋葉あんず
49aedc99fe
fix(expand env): change os.ExpandEnv to regex ( #1231 )
...
* fix(expand env): change os.ExpandEnv to regex
* fix: MustCompile
* fix: regex
2021-12-09 17:53:40 +08:00
Mrs4s
e69051e88b
feat: get_guild_member_list api
2021-12-08 21:52:00 +08:00
Mrs4s
7278f99ed9
api: temporary delete get_guild_members api
2021-12-08 17:26:13 +08:00
源文雨
26a7a1f0b6
feat(config): separate config & server ( #1212 )
...
* feat(server): add RegisterCustom
* feat(config): seprate config & server
* fix: make lint happy
* fix: make lint happy
* fix: ParseEnv nil pointer error
* typo(config): generateConfig hint
* fix(config): panic on range overflow
2021-12-07 22:39:30 +08:00
wdvxdr
aa2caac3f7
feat: support expand env
2021-12-06 22:31:02 +08:00
Mrs4s
3e9920b31b
feat: get_topic_channel_feeds api
2021-11-27 15:58:13 +08:00
Mrs4s
bb769941ab
fix: role api issues
2021-11-24 00:30:57 +08:00
Mrs4s
b4d797a7b3
merge master
2021-11-23 23:55:32 +08:00