1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-08-06 10:11:49 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
76295b0e89 dep: update MiraiGo 2022-03-17 16:59:47 +08:00
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
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
0145879f37 ci(chore): Fix stylings 2022-02-09 07:02:21 +00:00
e1937e9f15 docs: document default env placeholder 2022-02-09 15:01:38 +08:00
8eefcc8cc8 config: impl env placeholder with default value
Fixes #1358
2022-02-09 13:41:19 +08:00
82b0c69b1b config: remove old env config
Fixes #1219
2022-02-06 22:19:30 +08:00
a5dd0bfa1f feat: disable temp session by default 2022-01-24 19:52:13 +08:00
b98f75ccab style: run gofumpt 2021-12-29 14:04:51 +08:00
a49becfff4 api-gen: replace aliases with multi-path 2021-12-28 17:17:47 +08:00
024ec34fbe fix: bus_id compatibility 2021-12-23 21:18:01 +08:00
cb16c08ac8 fix: download & delete group file api error 2021-12-17 02:50:37 +08:00
8da29c292e feat: get_guild_msg api no_cache 2021-12-14 17:50:36 +08:00
32aa82f914 feat: get_guild_msg api 2021-12-13 02:34:05 +08:00
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
e69051e88b feat: get_guild_member_list api 2021-12-08 21:52:00 +08:00
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
aa2caac3f7 feat: support expand env 2021-12-06 22:31:02 +08:00
3e9920b31b feat: get_topic_channel_feeds api 2021-11-27 15:58:13 +08:00
bb769941ab fix: role api issues 2021-11-24 00:30:57 +08:00
b4d797a7b3 merge master 2021-11-23 23:55:32 +08:00
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
2500d2dc6a Merge branch 'master' into dev 2021-11-20 20:59:44 +08:00
72fec47622 Update modules/config/config.go
https://github.com/Mrs4s/go-cqhttp/issues/1169#issuecomment-970192648
2021-11-19 00:44:27 +08:00
c2c1fb00e5 fix: fix set_group_special_title param
Fixes #1178
2021-11-18 13:13:52 +08:00
4de5efc813 fmt 2021-11-15 11:13:08 +08:00
77580ae8ef feat(log): add switch for colorful logging 2021-11-15 02:04:04 +08:00
ea036c5d05 feat: send_guild_channel_msg 2021-11-12 03:40:59 +08:00
f0ca636c54 feat: get_guild_channel_list 2021-11-12 02:45:06 +08:00
51854fc6f3 feat: get_guild_members api 2021-11-12 02:29:25 +08:00
f316278c57 feat: get_guild_meta_by_guest api 2021-11-07 16:28:27 +08:00
0ea826f0a2 feat: get_guild_list api 2021-11-07 16:20:57 +08:00
15b396251c feat: get_guild_service_profile api 2021-11-07 16:13:48 +08:00
18944198ae feat: generate api route with annotation 2021-10-28 21:08:14 +08:00
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
4e69ef4c2f Merge branch 'database-support' into dev
# Conflicts:
#	go.mod
#	go.sum
#	main.go
2021-10-17 16:03:37 +08:00
a82eaf7411 fix: make lint happy 2021-10-11 22:49:25 +08:00
fcc9962b15 feat: modular pprof server
This module is about 384KiB in windows/amd64
2021-10-11 22:47:06 +08:00
69a187ddd7 Merge branch 'dev' into database-support
# Conflicts:
#	main.go
2021-10-10 22:35:48 +08:00
19fd331c46 rf(server): use sync.Once 2021-10-06 15:53:50 +08:00
ce944539c1 feat: split out server register
we can add server with less dependency
2021-10-02 23:42:47 +08:00
7c4be95c19 feat: store cache with disk btree backend 2021-09-28 22:23:33 +08:00
d464236573 fix: make linter happy
add db into skip-dirs
2021-09-28 15:46:14 +08:00
f767213681 feat: init disk-based btree impl 2021-09-27 22:44:45 +08:00
c4d34fa14f Merge branch 'dev' into database-support
# Conflicts:
#	coolq/bot.go
#	modules/config/config.go
2021-09-26 19:49:48 +08:00
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
cd141d7d37 fix: build failed on nosilk platform 2021-09-25 13:28:23 +08:00