Commit Graph

4772 Commits

Author SHA1 Message Date
Him188
2d89c2a40c Update docs 2021-01-24 15:10:11 +08:00
Him188
64d4e81087 Update docs 2021-01-24 15:05:03 +08:00
Him188
336cc6a8f9 Add OutgoingPacketWithRespType for developing convenience 2021-01-24 04:39:59 +08:00
Him188
cd905991f7 Update docs 2021-01-24 04:05:43 +08:00
Him188
dac3b0f206 Add experimental notes for MusicShare 2021-01-24 01:18:07 +08:00
Him188
c0154603eb 2.1.0 2021-01-24 01:15:20 +08:00
Him188
8e2e259618 Move queryProfile from Bot to IMirai and add User.queryProfile 2021-01-24 01:15:12 +08:00
Him188
8da048af63 Serialization support for MusicShare;
Rename MusicShare.type to kind;
Rename MusicType to MusicKind;
2021-01-24 00:39:05 +08:00
Him188
9d77382b6d Remove delay on BotOfflineEvent.Force 2021-01-24 00:20:21 +08:00
Him188
44d96fe36b Speed up reloadGroupList: use Semaphore with 30 initial permits 2021-01-24 00:15:46 +08:00
Him188
80b00f9910 Fix reloadGroup retry 2021-01-24 00:13:52 +08:00
Him188
ab2a8539e0 Fix reconnect, #894 2021-01-24 00:09:19 +08:00
Him188
4977415b79 Add ConfigurationDsl to autoReconnectOnForceOffline 2021-01-23 23:48:58 +08:00
Him188
e605c293f5 Revert "Fix reconnect. Fix #894"
This reverts commit 65eff19f
2021-01-23 23:48:38 +08:00
Him188
65eff19f32 Fix reconnect. Fix #894 2021-01-23 23:29:09 +08:00
Him188
2e5b223b6a
支持使用QQ互联通道发送音乐分享 (#889)
* Add new MessageContent MusicShare and its protocol internals. #690, #682

* MusicShare sending

* MusicShare: MessageSource integration fundamentals

* - MessageReceipt integration for MusicShare
- Support MusicShare in QuoteReply: transform as PlainText
- Support LightApp refining, support decoding MusicShare

* Dump api for MusicShare

* Remove debugging code

* 2.1.0-dev-3

* Remove confusing providedSequenceIds in OnlineMessageSourceToGroupImpl

* fix build

Co-authored-by: wdvxdr <wdvxdr@foxmail.com>
2021-01-23 22:09:27 +08:00
Him188
705153c7d6 Update blocking bridge to 1.7.4 2021-01-23 15:24:14 +08:00
Karlatemp
5a468a0177
Delete debugging println 2021-01-23 14:44:32 +08:00
Karlatemp
4e2ba2f7e3
Improve group message sending (#892) 2021-01-23 14:31:26 +08:00
Karlatemp
c762ecd0a2
Fix recall error message 2021-01-23 14:30:43 +08:00
Him188
46998250a1 2.1.0-dev-2 2021-01-23 03:11:05 +08:00
Him188
162bc9113c Improve message event logs:
- Do not include MessageSource
- Treat MessageSyncEvent as a message sent by others
2021-01-23 03:09:04 +08:00
Him188
e2554f0ea6 Fix message results in internal impl 2021-01-23 02:58:22 +08:00
Him188
76459aca34 Remove ProtoBufWithNullableSupport.kt, use Kotlin's ProtoBuf instead, fix potential serialization problems 2021-01-23 01:29:34 +08:00
Him188
9b38b9a54d Avoid re-broadcasting MessagePostSendEvent for long messages 2021-01-23 00:28:14 +08:00
Him188
d60006376c Rewrite Group sendMessageImpl, improve current Highway impls, for music share #889 #682 and further friend message highway #194, #577 2021-01-23 00:09:35 +08:00
Him188
66ae897f20 Add ForwardMessageBuilder.add(MessageEvent) 2021-01-23 00:07:37 +08:00
Him188
c3ef19bde4 Update api 2021-01-22 13:46:00 +08:00
Him188
5a0b0e494e Fix forward message when wrapped in MessageChain 2021-01-22 13:42:55 +08:00
Him188
8dd3830a71 Fix build 2021-01-22 13:22:32 +08:00
Him188
1963b3768d Improve PlatformSocket:
- Close channels on close
- Interrupitable `connect`
- Cancel `raed` on continuation cancellation
2021-01-22 13:01:40 +08:00
Him188
bdfbe43271 Enable explicitApi for mirai-core, add notes for BotFactoryImpl 2021-01-22 11:25:01 +08:00
Him188
c7c83bcd03 Add BotConfiguration.autoReconnectOnForceOffline, close #835 2021-01-22 11:00:04 +08:00
sandtechnology
209b2b7616
Support decode the join request by member invite (#882)
* Support detect official bot, fix #439

* Fix wrong command name and add missed value

* Adapt to changed invite event

* Internal MessageData

* Fix build

* Fix wording

* Support decode the join request by member invite

* Fix shadow warning

* Fix build

* Adapt to MemberJoinEvent broadcast logic when accepted

* Downgrade blockingBridge version to 1.7.2 for passing build

* Fix binary compatibility

* Reformat code

* Update api

Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-22 07:48:10 +08:00
Karlatemp
c77f94cd52
UserProfile query (#866)
* UserProfile query

* zip vReq0x5ebFieldId

* Move UserProfile to `net.mamoe.mirai.data`

* Move `queryProfile` to high-level api

* Add doc

* Update UserProfile.kt

* Make UserProfile experimental

* Convert UserProfile.sex to enum

* Remove debugging code

* Dump apis

Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-22 07:47:57 +08:00
Eritque arcus
baa7eae6e7
Update README.md (#883)
https://github.com/project-mirai/awesome-mirai/pull/39#issuecomment-764169252
2021-01-21 15:51:28 +08:00
Him188
1629bbdacd Fix validator 2021-01-21 14:35:44 +08:00
Him188
2568e69c6c Update docs 2021-01-21 14:27:56 +08:00
Him188
8bf5b3f48a Generate api for mirai-core-api 2021-01-21 14:21:27 +08:00
Him188
f1c6677af9 Add binary compatibility validator 2021-01-21 14:20:43 +08:00
Him188
0a23efa113 Rollback blocking bridge version to 1.6.0 to test binary compatibility 2021-01-21 14:15:45 +08:00
Him188
7a9ffd3e8d Add copyright to .idea 2021-01-21 13:08:18 +08:00
Him188
d93627272f Merge devTagPublish.yml into bintray.yml 2021-01-21 11:02:13 +08:00
Him188
246f0aa3dd Bump blockingBridge version to 1.7.3 (with JvmOverloads fix) 2021-01-21 10:10:38 +08:00
Him188
d7b7813b63 2.1.0-dev-1 2021-01-21 10:09:27 +08:00
Him188
988794343b Improve buildscript, fix publication 2021-01-21 10:08:21 +08:00
Him188
aacd3c16e9 Merge remote-tracking branch 'origin/dev' into dev 2021-01-20 19:26:31 +08:00
Him188
6250f93408 Update blocking bridge to 1.7.2 2021-01-20 19:25:32 +08:00
sandtechnology
3a5d707417
Support detect official bot, fix #439 (#810)
* Support detect official bot, fix #439

* Fix wrong command name and add missed value

* Adapt to changed invite event

* Internal MessageData

* Fix build

* Fix wording
2021-01-20 19:20:24 +08:00
Him188
fdb22f1e5f
Merge pull request #876 from Geno1024/patch-2
(typo) Fix a manual index typo
2021-01-19 00:42:01 +08:00