1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00

104 Commits

Author SHA1 Message Date
wdvxdr
cf21e81016
style: move flag parse to internal/base 2021-09-25 21:09:50 +08:00
wdvxdr
87754111ce
fix: make golangci-lint happy 2021-09-23 21:11:20 +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
wdvxdr
d98ad55826
dep: drop jsoniter.
reduce binary size about 1 MB.
2021-08-25 16:24:35 +08:00
Mrs4s
5fb3233a44
fix /send_group_forward_msg api unable to get params from non-json request. 2021-08-23 15:20:22 +08:00
wdvxdr
cdd2dcf907
feat(server): support http long polling. 2021-07-24 21:38:51 +08:00
Mrs4s
7274a46a3c
feat: add api port to HTTP post headers. 2021-07-18 23:04:06 +08:00
wdvxdr
426aa5718f
fix: form parse.
Fixes: #960
2021-07-15 10:13:24 +08:00
wdvxdr
ca8d28f913
clean ws client push event. 2021-07-10 23:29:42 +08:00
wdvxdr
34c22bed9c
refactor(server): lazy marshal json. 2021-07-10 23:10:32 +08:00
wdvxdr
d266242887
clear check authorization. 2021-07-07 21:19:02 +08:00
wdvxdr
499108cb1b
refactor(server): unify http & ws-server Authorization 2021-06-24 20:18:38 +08:00
wdvxdr
19fdd34b7f
style: clean code 2021-05-30 14:38:08 +08:00
wdvxdr
9f7e31766b
refactor(server): replace gin with net/http
reduce binary size about 2M
2021-05-30 14:05:50 +08:00
wdvxdr
0138a6c467
feat(global): lazy compile split url regex pattern 2021-04-27 20:39:47 +08:00
wdvxdr
d36d7aa2ed
feat(server): allow post without http server 2021-04-20 18:44:00 +08:00
Sam
971a9575ff
实现 OneBot HTTP/WS 状态码标准, Closes #812 2021-04-11 17:26:59 +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
wdvxdr
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
wdvxdr
32bba9994b
fix: #768 2021-03-29 12:32:20 +08:00
Mrs4s
e0a551cea2 feat: qrcode login & remove admin api. 2021-03-21 19:37:14 +08:00
wdvxdr
bf09ce7268
only marshal once 2021-03-17 19:52:08 +08:00
wdvxdr
ee73fca2ce
ci: update golangci-lint
fix golint
update golangci-lint
2021-03-16 13:33:55 +08:00
wdvxdr
a0d4dfd0eb
fix exist 2021-02-28 16:48:21 +08:00
wdvxdr
8ef877777d
refactor: 将http,ws的api调用统一
方便以后添加接口,添加中间件
2021-02-28 16:39:16 +08:00
Ink-33
82bca7183d
fix golint 2021-02-09 01:33:27 +08:00
Ink-33
13975c02df
Merge remote-tracking branch 'upstream/master' into dev 2021-02-09 01:00:26 +08:00
Mrs4s
4c570bdfe6 feature check_url_safely. 2021-02-06 06:40:39 +08:00
Mrs4s
307a09dd11 feature upload_group_file. 2021-02-05 22:24:49 +08:00
Ink-33
7b71cd9219
Shorten url
update comment
2021-02-05 02:22:44 +08:00
Ink-33
d291aa02fe
Merge remote-tracking branch 'upstream/dev' into dev
Update upstream
2021-02-05 00:54:51 +08:00
wdvxdr
89d466d3e1
feat group essence msg operate 2021-02-02 23:36:05 +08:00
Ink-33
6f5e582213
fix golint 2021-01-25 01:04:39 +08:00
Ink-33
614109e116
fix golint 2021-01-24 19:04:05 +08:00
Mrs4s
164feca7c7 feature get_online_clients. 2021-01-23 00:04:57 +08:00
Mrs4s
0002185e45 feature get_group_msg_history. 2021-01-19 12:07:06 +08:00
Ink-33
d16fd6f34d
fix: golangci-lint errcheck 2021-01-17 02:52:43 +08:00
Ink-33
9f99b1571d
fix: golangci-lint gosimple 2021-01-17 01:47:45 +08:00
Mrs4s
2bbf969cfa feature download_file. 2021-01-06 21:27:07 +08:00
Mrs4s
a02219a64f fix typo. 2021-01-05 00:57:14 +08:00
Mrs4s
569b89a117 fix onebot protocol. 2020-12-26 00:59:43 +08:00
Mrs4s
20f2290ba4 feature set_group_anonymous_ban. 2020-12-25 23:12:29 +08:00
Mrs4s
474de6ad3d feature get_group_at_all_remain. 2020-12-16 20:35:15 +08:00
Mrs4s
cc6c042516 feature pprof service. 2020-12-04 09:36:03 +08:00
Mrs4s
4883c05d67
Merge pull request #462 from wdvxdr1123/patch/group_info
feat get group info no cache
2020-12-04 00:21:52 +08:00
wdvxdr
12ac895b21 feat get group info no cache 2020-12-03 23:04:27 +08:00
Mrs4s
1fbaa6107d feature remove test for ocr_image api. 2020-12-03 11:05:36 +08:00
wfjsw
36b081eeec reject_add_request
(cherry picked from commit 061a230c9fb723ad49e00776fa37aca080973ecd)
2020-11-20 14:05:17 +08:00
Ink33
da2e34aaa5 Update http.go 2020-11-17 14:02:44 +08:00