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

191 Commits

Author SHA1 Message Date
源文雨
291942357b fix: 在登录时不禁用快速编辑 2023-03-01 20:56:28 +08:00
源文雨
377d7af2c1 add RestoreInputMode 2023-02-28 22:47:23 +08:00
源文雨
2830676e3b make lint happy 2023-02-28 20:44:46 +08:00
源文雨
ddd52ca933 feat: 禁用快速编辑&优化启动流程 2023-02-28 20:39:25 +08:00
源文雨
51747981dd feat: 默认仍使用 leveldb 2022-11-15 10:50:47 +08:00
源文雨
481a7ce8aa feat: use sqlite3 by default 2022-11-09 20:47:35 +08:00
wdvxdr
98712bf9ca move mime to internal package 2022-08-31 16:31:47 +08:00
wdvxdr
656dc6b103 all: fix golangci-lint 2022-08-28 17:33:35 +08:00
wdvxdr
197ca5a3ea
disable pprof module by default 2022-02-15 22:52:49 +08:00
源文雨
a06a891186
feat: 将程序的主体部分移动到 cmd/gocq (#1215)
* feat: move main into cmd/gocq

* fix: make lint happy

* fix: rename Boot to Main
2021-12-04 13:48:12 +08:00
Akiba
77580ae8ef feat(log): add switch for colorful logging 2021-11-15 02:04:04 +08:00
github-actions[bot]
c3aa812848 ci(chore): Fix stylings 2021-11-14 13:53:13 +00:00
Ink33
b480a5d0b3
fix: crash before double click check 2021-11-14 21:20:46 +08:00
Mrs4s
52e7ea5bbe
feat: support parse multi-source message & support parse and forward guild image message 2021-11-13 03:08:41 +08:00
Mrs4s
4837b9677e
fix: panic on connection test 2021-10-19 22:52:54 +08:00
wdvxdr
5e70c8115e
feat: modular database
build with leveldb on default
2021-10-17 17:12:24 +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
github-actions[bot]
a0b156d054 ci(chore): Fix stylings 2021-10-16 08:49:31 +00:00
Mrs4s
5fbb427615
feat: network diagnosis. 2021-10-16 16:44:48 +08:00
Mrs4s
250c96f2c9
Merge pull request #1093 from fzls/add_color_for_log
feat: add console log color support
2021-10-12 21:21:49 +08:00
wdvxdr
fcc9962b15
feat: modular pprof server
This module is about 384KiB in windows/amd64
2021-10-11 22:47:06 +08:00
wdvxdr
69a187ddd7
Merge branch 'dev' into database-support
# Conflicts:
#	main.go
2021-10-10 22:35:48 +08:00
风之凌殇
f784e94a4a feat: console and file log use different formatter, and remove build tag 2021-10-05 01:19:36 +08:00
wdvxdr
ce944539c1
feat: split out server register
we can add server with less dependency
2021-10-02 23:42:47 +08:00
wdvxdr
4b99f64b56
style: move help resetWorkingDir to internal/base 2021-10-02 23:14:36 +08:00
wdvxdr
7c4be95c19
feat: store cache with disk btree backend 2021-09-28 22:23:33 +08:00
wdvxdr
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
wdvxdr
ddd51e6ca3
style: move global/config to internal/config 2021-09-26 13:32:40 +08:00
wdvxdr
cf21e81016
style: move flag parse to internal/base 2021-09-25 21:09:50 +08:00
wdvxdr
5acb01c1a3
refactor: new package modules
move silk, mime to modules
2021-09-25 13:24:33 +08:00
wdvxdr
883fca089d
style: move global/update to internal/selfupdate
also move checkUpdate to internal/selfupdate
2021-09-25 10:58:54 +08:00
wdvxdr
2cf136d031
style: move flag variable into internal/base 2021-09-25 00:12:31 +08:00
wdvxdr
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
Mrs4s
5cafaea082
fix: token login error under special cases 2021-09-22 17:01:16 +08:00
源文雨
60d5f4d386
feat: hide key in command line. (#1076)
* feat: hide key in command line.

* Update go.mod

* Update go.sum

* Update main.go

* Update go.mod

* Update go.sum
2021-09-19 23:14:38 +08:00
Mrs4s
4da5d9ebfb
Merge pull request #1026 from Shigma/patch-3
enhance help
2021-09-16 19:42:59 +08:00
Mrs4s
cfaa18b131
fix: relogin error. 2021-09-16 17:11:38 +08:00
Mrs4s
7485b51c48
update retry message. 2021-09-15 13:45:04 +08:00
wdvxdr
bfea93312a
fix: panic on setting servers.
Fixes #1039
2021-09-02 19:17:01 +08:00
Shigma
8ac460dde9
Update main.go 2021-08-25 15:17:58 +08:00
Mrs4s
520cdd90bb
fix #1023. 2021-08-24 09:41:26 +08:00
Ink33
8773e19d2c
style: remove useless code 2021-08-22 15:40:06 +08:00
Ink33
8d6978a60d
feat: alert windows user when double click 2021-08-22 15:05:14 +08:00
Mrs4s
aa46ab0119
add: session delete log. 2021-08-15 01:54:03 +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
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
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