wdvxdr
c1cbb69110
Merge remote-tracking branch 'origin/master' into network
2022-01-28 22:17:44 +08:00
源文雨
38bb31b5a6
feat(image): drop redundant bytewise comparing of gif ( #243 )
...
* feat(image): drop rebundant bytewise comparing of gif
* feat(image): drop redundant bytewise comparing of gif
2022-01-15 18:37:26 +08:00
源文雨
a5670ccc43
feat: use the decoder which only parses size info ( #238 )
...
* fix: add GroupImage Width & Height for webp
* fix: 简化写法
* feat: use imgsz package and drop image
2022-01-14 20:21:06 +08:00
wdvxdr
ab72f3dc28
Revert "message: remove GroupImage Width & Height"
...
This reverts commit 9d618e2d9f3e2231900661cec40ba84621975ab3.
handle zero width and height in another way.
2021-12-28 22:09:53 +08:00
wdvxdr
9d618e2d9f
message: remove GroupImage Width & Height
...
sometimes these fields may be zero causing send failures
2021-12-28 21:48:23 +08:00
wdvxdr
6a71884235
refactor: handle decode func in Request
2021-12-27 15:41:59 +08:00
wdvxdr
435d2fd85f
refactor: 手动指定decode函数
...
(cherry picked from commit 13d6711f27a100a6098c478f05d3ae8a32117d94)
2021-12-27 15:36:44 +08:00
wdvxdr
723563415f
client: refactor decoder
...
(cherry picked from commit 3e201bd4491838bda026130eb2b93d58ef70db69)
2021-12-27 15:36:38 +08:00
wdvxdr
3e2b57eab5
internal/network: first version of transport send
2021-12-22 20:13:23 +08:00
wdvxdr
6b5ba9f9c4
refactor: move c.nextSeq
to c.uniPacket
2021-12-17 23:50:30 +08:00
wdvxdr
1c29ac7d96
refactor: packets.BuildUniPacket
-> c.uniPacket
...
mostly auto-generated by
```
rf '
ex {
var c QQClient
var seq uint16
var payload []byte
var command string
BuildUniPacket(c.Uin, seq, command, 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) -> c.uniPacket(seq, command, payload)
}
'
```
2021-12-17 22:58:41 +08:00
wdvxdr
8b99d3147e
style: fix issues reported by golangci-lint
2021-12-16 20:21:49 +08:00
wdvxdr
b398cec6a5
refactor: move highway.go to client/internal/highway
2021-12-15 19:13:52 +08:00
wdvxdr
ec4cd4a6f3
style: internal/proto
...
use this package for conveniently replacing proto package
in the future.
2021-11-22 22:05:19 +08:00
wdvxdr
7b125259d6
style: sort imports
2021-11-12 23:43:22 +08:00
Mrs4s
b644f5c158
feat: UploadGuildImage
2021-11-12 01:50:30 +08:00
github-actions[bot]
89b2d4e2ba
ci(chore): Fix stylings
2021-11-01 18:45:12 +00:00
Mrs4s
2350d04f0f
style: rename package protocol to internal
2021-11-02 02:44:20 +08:00
github-actions[bot]
5f967df1ed
ci(chore): Fix stylings
2021-10-30 09:12:18 +00:00
Mrs4s
90392f27c5
feat: GetGroupImageDownloadUrl impl
2021-10-30 17:11:39 +08:00
wdvxdr
624a7e4101
feat: upload waiter.
2021-07-29 19:22:18 +08:00
Mrs4s
bf6cfc84c5
fix image ocr error.
2021-07-18 22:54:18 +08:00
wdvxdr
b93c02e18e
rf(message): refactor image & flash image [break-change].
2021-07-18 11:32:51 +08:00
wdvxdr
7fe0b873c3
fix some issue with golangci-lint.
2021-07-15 21:33:30 +08:00
wdvxdr
4aa87a8ab8
dep: remove github.com/golang/protobuf
2021-06-11 14:23:46 +08:00
wdvxdr
d4f4def17d
Revert "feat: upload with sendfile"
...
This reverts commit cdb83e54
2021-06-11 13:27:35 +08:00
Mrs4s
f6579d20cd
use single thread upload group image.
2021-05-24 20:28:18 +08:00
Mrs4s
64c8b0583b
Merge branch 'master' of github.com:/Mrs4s/MiraiGo
2021-05-03 14:44:04 +08:00
Mrs4s
f2530cc66b
feat: qidian protocol support.
2021-05-03 14:43:39 +08:00
wdvxdr
cdb83e5426
feat: upload with sendfile
2021-05-03 14:30:08 +08:00
takayama
69a30aa9d3
use https for image urls
2021-04-28 10:45:40 +09:00
wdvxdr
1813103b3f
fix(client): gif image
2021-04-25 20:59:05 +08:00
wdvxdr
69b3e62e0e
better error for upload failed
2021-04-23 15:43:35 +08:00
wdvxdr
2e64a6913d
zap: reuse some []byte
...
优化单线程上传内存使用
2021-04-15 21:36:14 +08:00
github-actions
0346596c71
ci(chore): Fix stylings
2021-04-04 08:19:16 +00:00
Mrs4s
0a81b76d23
use uploaded image to ocr request.
2021-04-04 16:18:45 +08:00
wdvxdr
f3beaae4e4
prealloc.
2021-03-23 20:49:17 +08:00
Mrs4s
55aef1b0ff
fix friend url.
2021-03-15 08:53:15 +08:00
Mrs4s
6c17f296a9
optimize decoder params.
2021-03-04 15:21:32 +08:00
github-actions
65ab1304e6
ci(chore): Fix stylings
2021-02-14 03:06:03 +00:00
Mrs4s
f765389e96
fix private image & lock.
2021-01-09 04:08:06 +08:00
Mrs4s
bcedac03af
fix private image.
2021-01-09 03:24:29 +08:00
Mrs4s
548576e701
fix encrypt flag. close #96
2021-01-08 17:30:59 +08:00
Mrs4s
a1f7d5962e
feature video multi-threading upload & multi-threading upload encrypt support.
2021-01-08 00:25:08 +08:00
Mrs4s
7605dc4635
feature short video upload & sending.
2021-01-07 23:57:45 +08:00
Mrs4s
36ed2b3902
move func.
2021-01-05 00:27:24 +08:00