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
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
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
Bluefissure
e73417bebf
feat: Add guild role APIs
...
chore: lint code
refactor: rename by global.MSG
refactor: CQSetGuildMemberRole
fix: regenerate api
2021-11-22 17:34:09 -06:00
Mrs4s
2500d2dc6a
Merge branch 'master' into dev
2021-11-20 20:59:44 +08:00
openwrt2223
72fec47622
Update modules/config/config.go
...
https://github.com/Mrs4s/go-cqhttp/issues/1169#issuecomment-970192648
2021-11-19 00:44:27 +08:00
wdvxdr
c2c1fb00e5
fix: fix set_group_special_title param
...
Fixes #1178
2021-11-18 13:13:52 +08:00
Akiba
4de5efc813
fmt
2021-11-15 11:13:08 +08:00
Akiba
77580ae8ef
feat(log): add switch for colorful logging
2021-11-15 02:04:04 +08:00
Mrs4s
ea036c5d05
feat: send_guild_channel_msg
2021-11-12 03:40:59 +08:00
Mrs4s
f0ca636c54
feat: get_guild_channel_list
2021-11-12 02:45:06 +08:00
Mrs4s
51854fc6f3
feat: get_guild_members api
2021-11-12 02:29:25 +08:00
Mrs4s
f316278c57
feat: get_guild_meta_by_guest api
2021-11-07 16:28:27 +08:00
Mrs4s
0ea826f0a2
feat: get_guild_list api
2021-11-07 16:20:57 +08:00
Mrs4s
15b396251c
feat: get_guild_service_profile api
2021-11-07 16:13:48 +08:00
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
wdvxdr
4e69ef4c2f
Merge branch 'database-support' into dev
...
# Conflicts:
# go.mod
# go.sum
# main.go
2021-10-17 16:03:37 +08:00