1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-07-06 06:13:26 +00:00

206 Commits

Author SHA1 Message Date
ddd51e6ca3 style: move global/config to internal/config 2021-09-26 13:32:40 +08:00
35b7b8909e style: make linter happy 2021-09-25 21:13:26 +08:00
cf21e81016 style: move flag parse to internal/base 2021-09-25 21:09:50 +08:00
5acb01c1a3 refactor: new package modules
move silk, mime to modules
2021-09-25 13:24:33 +08:00
883fca089d style: move global/update to internal/selfupdate
also move checkUpdate to internal/selfupdate
2021-09-25 10:58:54 +08:00
2cf136d031 style: move flag variable into internal/base 2021-09-25 00:12:31 +08:00
1db219fce0 feat: replace gout with net/http.
This significantly reduces binary size:
old 16.5MB
new 15.5MB
on windows/amd64
2021-09-23 21:03:46 +08:00
efdd6bd16a style: move coolq.MSG to global package 2021-09-17 19:08:05 +08:00
6d19f07eb4 fix: incorrect unsafe usage in upstream lib
Updates #1070
2021-09-17 15:37:09 +08:00
48afb44287 Merge pull request #1050 from wdvxdr1123/avx2
feat: use avx2 base64
2021-09-16 18:24:44 +08:00
8c94c810d6 fix relogin default value error. 2021-09-15 14:34:18 +08:00
449ae96c8f fix env conf load. 2021-09-15 13:43:39 +08:00
7f26df3ac7 feat: use avx2 base64 2021-09-14 15:12:32 +08:00
74fd4bbf35 Merge pull request #1030 from 502647092/patch-1
fix: 修复环境变量初始化错误
2021-08-29 01:49:13 +08:00
16db68e054 Merge pull request #1022 from asjdf/master
update fs.go
2021-08-28 19:46:16 +08:00
346e01c4e9 fix: 修复环境变量初始化错误
Close #1025
2021-08-26 17:08:32 +08:00
46d0d58865 feat: add nosilk tag.
Updates: #1024
2021-08-25 22:29:10 +08:00
c61a913c49 update fs.go 2021-08-23 14:02:51 +08:00
8d6978a60d feat: alert windows user when double click 2021-08-22 15:05:14 +08:00
022eb9fd3b all: bump go1.17 & support windows/arm64. 2021-08-18 14:01:31 +08:00
4b4193c6e3 feat: load leveldb conf from environment variable. close #1002 2021-08-15 02:15:33 +08:00
a6a666fe31 fix(config): panic on parsing env.
Fixes: #984
2021-08-07 19:07:10 +08:00
605e572b87 feat(log): remove logrus-easy-formatter. 2021-08-07 12:56:49 +08:00
e506622399 feat(codec): enhance ffmpeg output with debug. 2021-08-07 12:04:32 +08:00
a2f5be2166 feat: media mime scan. 2021-08-02 04:28:19 +08:00
6fd104a8b9 perf(coolq): optimize CQCodeEscapeText. 2021-08-01 00:16:21 +08:00
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
a3906a5d33 style: go1.17 fmt ./... 2021-07-28 19:29:48 +08:00
0be4c79d2c style: remove init func in main. 2021-07-28 19:21:25 +08:00
19b2a86c7c fix golint. 2021-07-25 13:04:15 +08:00
e56e3b5036 feat(server): support serverless functions. 2021-07-25 12:41:57 +08:00
cdd2dcf907 feat(server): support http long polling. 2021-07-24 21:38:51 +08:00
9c9a469a16 ci(chore): Fix stylings 2021-07-18 10:04:18 +00:00
d7e0aaf827 feat: environment config support. 2021-07-18 18:03:23 +08:00
85df77f9a5 feat: log aging & force new log file. close #963 2021-07-17 22:58:45 +08:00
3663c2aed8 fix: build tag. 2021-07-14 21:43:36 +08:00
ca93d4de0d fix: data race && cgo build. 2021-07-12 11:39:46 +08:00
34c22bed9c refactor(server): lazy marshal json. 2021-07-10 23:10:32 +08:00
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