1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-07-09 15:18:33 +00:00
Commit Graph

239 Commits

Author SHA1 Message Date
0be18fb221 coolq/cqcode: simplify quote string 2023-01-26 23:58:43 +08:00
20c62111f5 all: run gofmt -w -r 'interface{} -> any' 2023-01-26 23:03:08 +08:00
37a8901061 fix: FindFile http return nil without cache (#1832) 2023-01-03 21:00:42 +08:00
02aadaf63c make lint happy 2022-12-20 21:03:31 +08:00
9253fb7cfd Merge branch 'dev' into sqlite 2022-12-02 18:00:48 +08:00
0248c86078 fix #1733 2022-12-01 18:09:18 +08:00
2d42a968c9 fix: interface conv error 2022-11-10 10:32:57 +08:00
b12b7e5cb9 Merge pull request #1697 from Ink-33/feat_highdpi_msgbox
feat: msgbox support high dpi
2022-10-28 10:23:24 +08:00
f4117bfb70 internal/download: move download logic to this package
also disable http2 when downloading, may fix some issue

For #1563
2022-10-13 21:27:36 +08:00
ec4b3cc3db feat: msgbox support high dpi
Signed-off-by: Ink33 <Ink33@smlk.org>
2022-09-18 15:30:34 +08:00
1ff5e4de12 rf: remove Base64DecodeString
Now segmentio/asm resolve issue 50, we don't need this wrapper.
2022-08-31 17:24:22 +08:00
656dc6b103 all: fix golangci-lint 2022-08-28 17:33:35 +08:00
06b43dd666 fix: download block ua 2022-06-22 22:51:17 +08:00
13abf92b76 Merge pull request #1492 from fumiama/base16384
feat: support binary encoding method base16384
2022-06-06 20:26:28 +08:00
bdf68ec694 feat: use the same buffer pool as MiraiGo (#1297) 2022-05-30 14:19:54 +08:00
859f40db83 feat: support binary encoding method base16384 2022-05-10 16:50:38 +08:00
294bd05dad Merge pull request #1443 from ishkong/patch-7
👽️ Update ffrmpeg screenshot command
2022-03-28 13:37:30 +08:00
fb33d93b31 👽️ Update ffrmpeg screenshot command
Ref: https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video  
Force a screenshot of the 0th second of the video
2022-03-28 13:00:29 +08:00
d522378315 all: optimize
detected by go-perfguard
2022-03-27 23:01:47 +08:00
e4d10eb2ae global: use net/netip 2022-03-22 22:56:06 +08:00
937538a7cb coolq: remove support for old cache path 2022-03-18 19:49:32 +08:00
a4992c3f79 修复了自动创建的批处理文件无法执行的Bug (#1355)
* 修复了自动创建的批处理文件无法执行的Bug

* 调整代码
2022-02-08 23:54:36 +08:00
59bc7b4bae internal/cache: always use CacheDB
Updates #1075
2021-12-28 17:33:14 +08:00
304667a822 feat: error dump 2021-12-16 17:48:39 +08:00
e924fc5281 chore(log): change default logging color 2021-11-15 02:02:34 +08:00
208563d4c9 refactor: move api.go to modules/api, filter to modules/filter
maybe do code generate for api route
2021-10-27 11:46:54 +08:00
c499389e66 refactor(cqcode): simply cache arg handle 2021-10-19 22:14:36 +08:00
2eec74ee09 style: clean log color constant 2021-10-16 16:36:51 +08:00
931e9220da fix: lint error 2021-10-05 04:55:59 +08:00
e0bd2a74f4 feat: use existing lib to support color cosnole in windows, and copy part of definition from github.com\gookit\color to avoid new lib 2021-10-05 01:31:53 +08:00
f784e94a4a feat: console and file log use different formatter, and remove build tag 2021-10-05 01:19:36 +08:00
69e5247bde fix: default not use new lib, only enable when use build tag with_color 2021-10-04 19:37:11 +08:00
58a17c65a1 feat: add console log color support 2021-10-04 07:53:09 +08:00
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