1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-08-08 02:51:50 +00:00
Commit Graph

218 Commits

Author SHA1 Message Date
a87d0e9f8f fix wrong channel closed in SetupMainSignalHandler (#939) 2021-06-29 19:43:20 +08:00
752c82e8d6 deal with pipe close error 2021-06-26 14:53:19 +08:00
e2cafbd7d6 添加无需额外配置直接打印stack的功能
*unix: kill -USR1 <gocq_pid>
windows: echo dumpstack >\\.\pipe\go-cqhttp-<pid>

stackdump将直接以<exec_name>.<pid>.stacks.<timestamp>.log
的文件名保存在当前工作目录下
2021-06-26 14:33:37 +08:00
2bbc75672f fix(filter): add missed code. 2021-06-23 13:38:03 +08:00
ee3580039b typo 2021-06-23 13:06:23 +08:00
63e1508815 style(filter): clean dead code. 2021-06-19 21:27:51 +08:00
a117d67286 style: clear filter. 2021-06-19 21:08:13 +08:00
9f7e31766b refactor(server): replace gin with net/http
reduce binary size about 2M
2021-05-30 14:05:50 +08:00
9eab6a75fc 更新文档 (#896) 2021-05-24 22:42:36 +08:00
3c6dfa8e48 fix(global): version compare for semver. 2021-05-05 17:25:59 +08:00
4716d79a7e fix(global): version compare
#877
2021-05-05 15:08:14 +08:00
0138a6c467 feat(global): lazy compile split url regex pattern 2021-04-27 20:39:47 +08:00
1ecb1f62dc fix(codec): silk sdk conditional compile 2021-04-22 21:30:51 +08:00
223a888a34 reduce base64 alloc 2021-04-15 11:45:15 +08:00
35e74170b7 feat(update): check sum
fuck goland2021.1
2021-04-14 21:50:10 +08:00
a27848979d remove global/config.go 2021-04-13 21:15:44 +08:00
e4abf426bc feat(global): add HTTPGetReadCloser 2021-04-13 19:56:59 +08:00
1aed38ac18 fix code style. 2021-04-13 11:14:30 +08:00
cccf454500 docs(config): add pprof 2021-04-12 19:35:46 +08:00
b9e7006547 feat(config): config init helper
简单向导
2021-04-12 18:38:21 +08:00
987c57f7cf fix lint. 2021-04-11 21:18:08 +08:00
48b095f825 feat: pprof server. 2021-04-11 21:11:33 +08:00
e3c06731e7 fix config.Get() (#808)
配置文件不存在时config.Get()返回非空指针, 导致无法创建默认配置文件
2021-04-10 11:37:32 +08:00
f350d971fd docs(event filter): advance syntax 2021-04-08 23:28:06 +08:00
6f83db0ad0 update comment. 2021-04-08 16:58:05 +08:00
af46324dd9 feat: custom online status. 2021-04-08 16:42:41 +08:00
88594184f8 typo 2021-04-08 16:11:13 +08:00
3c5779ebd3 feat: remove session.token on error. 2021-04-07 19:10:44 +08:00
e8d2d345e9 at, reply 添加更多细节 (#799)
更改:
- 发送: 自定义reply可以用id了
- 发送: CQ:at 中的QQ如果不存在会使用name的field作为补偿
添加可选选项:
- 接收: 添加延申reply信息
- 删除回复消息中重复的艾特 (Closes #764)
2021-04-06 21:22:51 +08:00
6083fa62b3 docs: config 2021-04-05 23:15:35 +08:00
Sam
d377b8bdf1 Yaml small fix 2021-04-05 22:51:12 +08:00
144220a1da enhance linter (#793)
* enhance linter

* fix golint
2021-04-05 15:14:56 +08:00
3ea9c2547c switch to yaml config(#770)
return on filter file does not exist

refactor: event filter
将event filter独立出来

refact: rate limit
将限速改成连接独立控制

switch to yaml config
2021-04-04 22:46:54 +08:00
15a59d4252 ci(chore): Fix stylings 2021-04-04 14:16:49 +00:00
6f0f66132a feat: session resume. 2021-03-27 21:30:21 +08:00
079bd9d6ed update self update 2021-03-27 20:31:54 +08:00
2b3842e61c use goreleaser 2021-03-26 23:52:09 +08:00
65ed6e89a7 remove webui config. 2021-03-26 16:34:22 +08:00
b273a4fc54 Merge pull request #750 from StarHeartHunt/patch-1
Typo
2021-03-21 21:14:46 +08:00
0d3e772d76 Typo 2021-03-21 21:07:26 +08:00
e0a551cea2 feat: qrcode login & remove admin api. 2021-03-21 19:37:14 +08:00
41a67ca012 switch to buffer pool 2021-03-17 17:26:28 +08:00
ad260f6217 update go-silk
support darwin arm64
2021-03-17 13:19:47 +08:00
9c93ccb37b 解决 lint 问题 2021-03-16 22:01:07 +08:00
2f536c42f8 调整 注释 2021-03-16 21:56:05 +08:00
373127b799 goimport 2021-03-16 21:42:53 +08:00
7818603f39 Merge branch 'dev' of https://github.com/Mrs4s/go-cqhttp into origin/dev
# Conflicts:
#	main.go
#	server/daemon.go
2021-03-16 21:26:47 +08:00
ee73fca2ce ci: update golangci-lint
fix golint
update golangci-lint
2021-03-16 13:33:55 +08:00
678e5023cc 添加cli命令行 -c 指定加载配置文件 2021-03-12 17:36:15 +08:00
a90af94eda feat enable_self_message config. 2021-03-03 19:14:24 +08:00