1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

186 Commits

Author SHA1 Message Date
Mrs4s
4b4193c6e3
feat: load leveldb conf from environment variable. close #1002 2021-08-15 02:15:33 +08:00
wdvxdr
a6a666fe31
fix(config): panic on parsing env.
Fixes: #984
2021-08-07 19:07:10 +08:00
wdvxdr
605e572b87
feat(log): remove logrus-easy-formatter. 2021-08-07 12:56:49 +08:00
wdvxdr
e506622399
feat(codec): enhance ffmpeg output with debug. 2021-08-07 12:04:32 +08:00
Mrs4s
a2f5be2166
feat: media mime scan. 2021-08-02 04:28:19 +08:00
wdvxdr
6fd104a8b9
perf(coolq): optimize CQCodeEscapeText. 2021-08-01 00:16:21 +08:00
wdvxdr
86202d9d90
style: clean up io/ioutil.
rf '
  ex {
    import "io/ioutil";
    import "os";
    ioutil.WriteFile -> os.WriteFile
    ioutil.ReadFile -> os.ReadFile
  }
'
2021-07-29 15:18:50 +08:00
wdvxdr
a3906a5d33
style: go1.17 fmt ./... 2021-07-28 19:29:48 +08:00
wdvxdr
0be4c79d2c
style: remove init func in main. 2021-07-28 19:21:25 +08:00
wdvxdr
19b2a86c7c
fix golint. 2021-07-25 13:04:15 +08:00
wdvxdr
e56e3b5036
feat(server): support serverless functions. 2021-07-25 12:41:57 +08:00
wdvxdr
cdd2dcf907
feat(server): support http long polling. 2021-07-24 21:38:51 +08:00
github-actions[bot]
9c9a469a16 ci(chore): Fix stylings 2021-07-18 10:04:18 +00:00
Mrs4s
d7e0aaf827
feat: environment config support. 2021-07-18 18:03:23 +08:00
Mrs4s
85df77f9a5
feat: log aging & force new log file. close #963 2021-07-17 22:58:45 +08:00
wdvxdr
3663c2aed8
fix: build tag. 2021-07-14 21:43:36 +08:00
wdvxdr
ca93d4de0d
fix: data race && cgo build. 2021-07-12 11:39:46 +08:00
wdvxdr
34c22bed9c
refactor(server): lazy marshal json. 2021-07-10 23:10:32 +08:00
povsister
a87d0e9f8f
fix wrong channel closed in SetupMainSignalHandler (#939) 2021-06-29 19:43:20 +08:00
povsister
752c82e8d6
deal with pipe close error 2021-06-26 14:53:19 +08:00
povsister
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
wdvxdr
2bbc75672f
fix(filter): add missed code. 2021-06-23 13:38:03 +08:00
synodriver
ee3580039b typo 2021-06-23 13:06:23 +08:00
wdvxdr
63e1508815
style(filter): clean dead code. 2021-06-19 21:27:51 +08:00
wdvxdr
a117d67286
style: clear filter. 2021-06-19 21:08:13 +08:00
wdvxdr
9f7e31766b
refactor(server): replace gin with net/http
reduce binary size about 2M
2021-05-30 14:05:50 +08:00
sam01101
9eab6a75fc
更新文档 (#896) 2021-05-24 22:42:36 +08:00
wdvxdr
3c6dfa8e48
fix(global): version compare for semver. 2021-05-05 17:25:59 +08:00
wdvxdr
4716d79a7e
fix(global): version compare
#877
2021-05-05 15:08:14 +08:00
wdvxdr
0138a6c467
feat(global): lazy compile split url regex pattern 2021-04-27 20:39:47 +08:00
wdvxdr
1ecb1f62dc
fix(codec): silk sdk conditional compile 2021-04-22 21:30:51 +08:00
wdvxdr
223a888a34
reduce base64 alloc 2021-04-15 11:45:15 +08:00
wdvxdr
35e74170b7
feat(update): check sum
fuck goland2021.1
2021-04-14 21:50:10 +08:00
wdvxdr
a27848979d
remove global/config.go 2021-04-13 21:15:44 +08:00
wdvxdr
e4abf426bc
feat(global): add HTTPGetReadCloser 2021-04-13 19:56:59 +08:00
Mrs4s
1aed38ac18
fix code style. 2021-04-13 11:14:30 +08:00
wdvxdr
cccf454500
docs(config): add pprof 2021-04-12 19:35:46 +08:00
wdvxdr
b9e7006547
feat(config): config init helper
简单向导
2021-04-12 18:38:21 +08:00
Mrs4s
987c57f7cf
fix lint. 2021-04-11 21:18:08 +08:00
Mrs4s
48b095f825
feat: pprof server. 2021-04-11 21:11:33 +08:00
null-su
e3c06731e7
fix config.Get() (#808)
配置文件不存在时config.Get()返回非空指针, 导致无法创建默认配置文件
2021-04-10 11:37:32 +08:00
wdvxdr
f350d971fd
docs(event filter): advance syntax 2021-04-08 23:28:06 +08:00
Mrs4s
6f83db0ad0 update comment. 2021-04-08 16:58:05 +08:00
Mrs4s
af46324dd9 feat: custom online status. 2021-04-08 16:42:41 +08:00
synodriver
88594184f8 typo 2021-04-08 16:11:13 +08:00
Mrs4s
3c5779ebd3 feat: remove session.token on error. 2021-04-07 19:10:44 +08:00
sam01101
e8d2d345e9
at, reply 添加更多细节 (#799)
更改:
- 发送: 自定义reply可以用id了
- 发送: CQ:at 中的QQ如果不存在会使用name的field作为补偿
添加可选选项:
- 接收: 添加延申reply信息
- 删除回复消息中重复的艾特 (Closes #764)
2021-04-06 21:22:51 +08:00
wdvxdr
6083fa62b3
docs: config 2021-04-05 23:15:35 +08:00
Sam
d377b8bdf1
Yaml small fix 2021-04-05 22:51:12 +08:00
Ink33
144220a1da
enhance linter (#793)
* enhance linter

* fix golint
2021-04-05 15:14:56 +08:00