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

1010 Commits

Author SHA1 Message Date
wdvxdr
35f774b86a
client: fix wrong event dispatch 2022-03-18 22:51:14 +08:00
wdvxdr
87e53dd6e2
client: update ShutUpTimestamp when receive mute event 2022-03-18 21:32:22 +08:00
wdvxdr
bc4e9f3c95
client: delete GetVipInfo
This api is broken.
2022-03-18 21:14:45 +08:00
千橘 雫霞
8fa49fedb9
feat: support get group announcement (#258)
* feat: support get group announcement

* refactor: avoid importing new dependent package

* refactor: prettify
2022-03-18 20:36:13 +08:00
Mrs4s
6d84141b8d
Merge pull request #260 from Mrs4s/typeparam
all: update to go1.18 with generic
2022-03-17 16:57:21 +08:00
wdvxdr
4a007cfcf9
all: rewrite interface{} to any
generated by `gofmt -w -r 'interface{} -> any' .`
2022-03-17 10:52:03 +08:00
千橘 雫霞
dc9ecd65ea
refactor: delete tag 14 in jce of getSSOAddress (#257)
synchronize with source code
2022-03-12 11:55:31 +08:00
icarus-ai
764a5a0c77
fix: 合并转发 (#259)
似在commit e287cbfabd0438955a7415a430f3ebfb3762cfca的时候复制粘贴错了 xml格式不符导致合并转发发送失败?
228行 群聊的聊天记录 改成聊天记录能发了
2022-03-12 11:55:14 +08:00
wdvxdr
348e317a34
client: shrink event handler slice 2022-03-02 21:41:46 +08:00
wdvxdr
7699c32258
client: only log when logger is non-nil 2022-03-02 18:03:08 +08:00
wdvxdr
abb3709a18
client: replace LogEvent with Logger 2022-03-01 22:52:22 +08:00
wdvxdr
a7098f6000
client: use packOIDBPackageProto 2022-03-01 22:03:08 +08:00
wdvxdr
ef65fd67e6
client: use unpackOIDBPackage 2022-03-01 16:45:01 +08:00
wdvxdr
d9f803837f
client: use generic event handler 2022-03-01 16:20:18 +08:00
wdvxdr
6bc03d6b8c
utils: port ttl cache to generic 2022-03-01 15:00:33 +08:00
wdvxdr
15a746802b
network,highway: move HeadBodyFrame to highway
This code only used by highway
2022-03-01 13:39:27 +08:00
wdvxdr
76539e425d
client: avoid ReadAll in image ocr 2022-02-27 16:52:57 +08:00
wdvxdr
ca4580dad5
highway: refactor multi thread uploading 2022-02-27 16:46:11 +08:00
wdvxdr
e6ad62569d
Revert "highway: use io.ReadSeeker and disable multi-thread upload"
This reverts commit a2d65a2bb68227a493b1fe390e4ab77a95ff4234.

This commit break video uploading.
2022-02-27 14:14:18 +08:00
wdvxdr
a2d65a2bb6
highway: use io.ReadSeeker and disable multi-thread upload 2022-02-25 22:18:52 +08:00
wdvxdr
3555d23136
network: remove unnecessary sync.Pool 2022-02-25 21:21:21 +08:00
fumiama
df63c994e4 fix: send message to self error 2022-02-24 20:45:15 +08:00
wdvxdr
c515024783
highway: reduce memcpy, memalloc by using net.Buffers 2022-02-23 22:19:01 +08:00
wdvxdr
e287cbfabd
client: clean genForwardTemplate argument 2022-02-23 21:09:08 +08:00
wdvxdr
fb2d3d28f0
client: remove similar code 2022-02-23 19:28:02 +08:00
wdvxdr
421755d938
client: add json tag to statistics 2022-02-22 13:25:16 +08:00
wdvxdr
6b5e7d35f0
client: new API UploadImage, UploadVoice and deprecate old API 2022-02-21 23:35:44 +08:00
wdvxdr
1e32793eef
client: combine upload group video and guild video 2022-02-21 17:31:05 +08:00
lz1998
9ef6c3cf3a
feat: set profile detail (#254)
* feat: profile detail

* struct: ProfileDetailUpdate

* ProfileDetailUpdate

* update profile
2022-02-21 00:22:45 +08:00
wdvxdr
5e8a512698
client: allow multi-thread upload without cache file
Delete `UploadGroupImageByFile` since `UploadGroupImage` can multi-thread upload
2022-02-20 23:26:07 +08:00
千橘 雫霞
32ef91dd32
feat: set qq nickname (#252)
* feat: set qq nickname

* fix: pretty
2022-02-20 18:57:08 +08:00
wdvxdr
bd6f8947ef
client: minor update 2022-02-18 18:13:55 +08:00
wdvxdr
0e68a1e7b7
client: merge fragmented private message 2022-02-14 16:27:17 +08:00
wdvxdr
d53bf8503e
client/pb: re-generate proto files 2022-02-14 00:51:36 +08:00
wdvxdr
28637c41be
internal/proto: move binary.DynamicProtoMessage to proto.DynamicMessage 2022-02-10 21:56:40 +08:00
Mrs4s
5d071b034c
fix event flow panic 2022-02-09 17:25:29 +08:00
Mrs4s
3b461554b7
fix highway memory leak 2022-01-18 00:50:08 +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
fumiama
49cec45733 fix: rename icmp to tcp 2022-01-15 17:15:27 +08:00
fumiama
82a55321e5 Merge branch 'master' of https://github.com/Mrs4s/MiraiGo 2022-01-15 11:12:02 +08:00
Lin
4f3862fd87 fix socket block (#236) 2022-01-15 11:11:48 +08:00
wdvxdr
7bec167fa7 Revert "message: remove GroupImage Width & Height"
This reverts commit 9d618e2d9f3e2231900661cec40ba84621975ab3.

handle zero width and height in another way.
2022-01-15 11:11:48 +08:00
wdvxdr
e22965eb0c message: remove GroupImage Width & Height
sometimes these fields may be zero causing send failures
2022-01-15 11:11:48 +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
Lin
41a6cb05a7
fix socket block (#236) 2022-01-06 20:52:09 +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
fumiama
b8023f445a feat: use tcp handshake to simulate icmp echo 2021-12-26 13:32:51 +08:00
fumiama
d72696a0c8 feat: use udp to simulate icmp echo 2021-12-26 13:08:38 +08:00
wdvxdr
9946b404ae
fix: heartbeat command name 2021-12-25 23:00:59 +08:00