Commit Graph

1300 Commits

Author SHA1 Message Date
手瓜一十雪
e8467b0d96 build: v2.0.0 twice 2024-08-12 13:32:12 +08:00
手瓜一十雪
c0ed01f623 chore: DownloadRichMedia 2024-08-12 13:29:59 +08:00
手瓜一十雪
8332d6ab41 chore: Onebot context 2024-08-12 13:04:24 +08:00
手瓜一十雪
0ef6d8eee4 build: v2.0.0 twice 2024-08-12 12:45:00 +08:00
手瓜一十雪
a7f7e36fa9 Revert "fix: make hostname localhost when the configured host is 0.0.0.0"
This reverts commit a12bae8b18.
2024-08-12 12:43:59 +08:00
手瓜一十雪
0fb66d292b Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2024-08-12 12:43:03 +08:00
手瓜一十雪
66d86a5203 chore: Support 多账户 2024-08-12 12:41:59 +08:00
Wesley F. Young
a12bae8b18 fix: make hostname localhost when the configured host is 0.0.0.0 2024-08-12 12:33:33 +08:00
Wesley F. Young
8f7de7c8a1 fix: hot reload 2024-08-12 12:29:40 +08:00
Wesley F. Young
c508fd5b05 fix & refactor: pass actions through constructor 2024-08-12 12:08:53 +08:00
Wesley F. Young
8fe82e0631 refactor: type definition for ActionMap 2024-08-12 11:35:17 +08:00
Wesley F. Young
d750e49490 feat: logging for hot reload 2024-08-12 11:20:48 +08:00
Wesley F. Young
721764cc18 feat: hot reload 2024-08-12 11:16:15 +08:00
Wesley F. Young
aefe5b0eb5 refactor: change method signature in legacy WebUi 2024-08-12 10:58:52 +08:00
Wesley F. Young
5dcaf67ef2 refactor: move Ob11Adapter to index.ts 2024-08-12 10:45:55 +08:00
Wesley F. Young
f24e19ee1d fix: remove redundant sleep 2024-08-12 10:43:51 +08:00
Wesley F. Young
c7b1a2c02d fix: replace deprecated calls 2024-08-12 08:20:11 +08:00
手瓜一十雪
6e5ced5bb9 fix 2024-08-12 02:27:44 +08:00
手瓜一十雪
1b977155a2 Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2024-08-12 02:23:56 +08:00
手瓜一十雪
17fbb42341 fix 2024-08-12 02:23:46 +08:00
Wesley F. Young
ac66482979 Merge remote-tracking branch 'origin/main' 2024-08-12 02:22:50 +08:00
Wesley F. Young
924ba4457b fix: sleep before loading 2024-08-12 02:22:20 +08:00
手瓜一十雪
9c28e13a00 build: test 2024-08-12 02:21:37 +08:00
Wesley F. Young
838f724aac fix: auto retry of active ws 2024-08-12 02:12:18 +08:00
Wesley F. Young
3f078dbb31 chore: clean-up 2024-08-12 01:13:26 +08:00
Wesley F. Young
349ff6a2bb fix: inherit logging level from config 2024-08-12 01:12:27 +08:00
Wesley F. Young
bfad79574b fix: use constructor to pass config name 2024-08-12 01:08:55 +08:00
Wesley F. Young
c5df4de5dd Merge remote-tracking branch 'origin/main' 2024-08-12 00:50:23 +08:00
Wesley F. Young
e78ca3f2bb fix & refactor: no longer merge config data and loader; use static imports to represent config struct 2024-08-12 00:49:59 +08:00
手瓜一十雪
a5adc554cd chore: 日志 2024-08-12 00:35:35 +08:00
手瓜一十雪
ae801e0250 fix: 异常未使用内容 2024-08-12 00:34:02 +08:00
Wesley F. Young
17aa7f7df8 chore: remove TODO since legacy WebUI has been compatible with shell 2024-08-12 00:32:10 +08:00
Wesley F. Young
df8c9e0642 Merge remote-tracking branch 'origin/main' 2024-08-12 00:27:40 +08:00
Wesley F. Young
e739fcd92e refactor: move default config json files to inner folders 2024-08-12 00:27:14 +08:00
Wesley F. Young
6728c230d6 refactor: make ConfigBase abstract 2024-08-12 00:26:44 +08:00
手瓜一十雪
49d76a8d1a chore: 高版本appid 2024-08-12 00:26:37 +08:00
手瓜一十雪
5dac7b4884 fix 2024-08-12 00:22:17 +08:00
手瓜一十雪
2045eb4556 Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2024-08-12 00:22:11 +08:00
手瓜一十雪
e913280631 chore: log 2024-08-12 00:17:43 +08:00
Wesley F. Young
86fc7935e5 fix: core config name 2024-08-12 00:15:51 +08:00
Wesley F. Young
6c610ffaec Merge remote-tracking branch 'origin/main' 2024-08-12 00:14:04 +08:00
手瓜一十雪
1231723004 chore: config 2024-08-12 00:12:52 +08:00
Wesley F. Young
c6fb9f3bf1 chore: suppress type merging error 2024-08-12 00:09:05 +08:00
手瓜一十雪
6eb0150582 chore: 日志美化 2024-08-12 00:08:49 +08:00
手瓜一十雪
ba4cd2dbe8 chore: 鉴权和回复 2024-08-11 23:59:58 +08:00
手瓜一十雪
da8453e17d chore: 挂载逻辑 2024-08-11 23:53:12 +08:00
手瓜一十雪
83dcd948a4 fix 2024-08-11 23:39:25 +08:00
手瓜一十雪
0fb5ad3f2a fix 2024-08-11 23:37:31 +08:00
手瓜一十雪
6cfbe49232 fix: error 2024-08-11 23:34:59 +08:00
手瓜一十雪
35e09fe23f Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2024-08-11 23:27:31 +08:00
手瓜一十雪
03f49b2cd7 chore: 二维码登录与刷新1 2024-08-11 23:27:28 +08:00
手瓜一十雪
ea2652c61a chore: 快速登录 2024-08-11 23:24:20 +08:00
手瓜一十雪
b66e51eb7c chore: noThrowError 2024-08-11 23:13:47 +08:00
Wesley F. Young
1ac8de35c9 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/onebot/network/active-websocket.ts
2024-08-11 23:13:15 +08:00
手瓜一十雪
4b617ed77b chore: 初步完成 2024-08-11 23:10:56 +08:00
Wesley F. Young
85f1223caa feat: implement ActiveHttp.open / close 2024-08-11 23:09:59 +08:00
手瓜一十雪
c52df8ab48 Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2024-08-11 23:09:21 +08:00
Wesley F. Young
a0a81e70cc feat: complete active websocket 2024-08-11 23:09:00 +08:00
Wesley F. Young
fe51c46bb8 chore: clean-up 2024-08-11 23:08:41 +08:00
手瓜一十雪
e3bdb6504b chore: token 2024-08-11 23:05:42 +08:00
Wesley F. Young
f91ab8b550 Merge remote-tracking branch 'origin/main' 2024-08-11 22:54:40 +08:00
Wesley F. Young
21ac538235 chore: fix indentation 2024-08-11 22:54:24 +08:00
手瓜一十雪
286e2eacce chore: 去除无用链接 2024-08-11 22:50:47 +08:00
Wesley F. Young
b71de4b489 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	.env.production
#	README.md
#	package.json
#	src/common/utils/QQBasicInfo.ts
#	src/core/src/apis/group.ts
#	src/core/src/apis/msg.ts
#	src/core/src/data.ts
#	src/core/src/services/NodeIKernelMsgService.ts
#	src/onebot/action/types.ts
#	src/onebot11/action/extends/CreateCollection.ts
#	src/onebot11/action/extends/Debug.ts
#	src/onebot11/action/extends/FetchEmojioLike.ts
#	src/onebot11/action/extends/GetCollectionList.ts
#	src/onebot11/action/extends/GetRobotUinRange.ts
#	src/onebot11/action/extends/OCRImage.ts
#	src/onebot11/action/extends/SetGroupHeader.ts
#	src/onebot11/action/extends/SetLongNick.ts
#	src/onebot11/action/extends/SetOnlineStatus.ts
#	src/onebot11/action/extends/SetQQAvatar.ts
#	src/onebot11/action/extends/TestApi01.ts
#	src/onebot11/action/extends/TranslateEnWordToZn.ts
#	src/onebot11/action/file/DelGroupFile.ts
#	src/onebot11/action/file/GetFile.ts
#	src/onebot11/action/go-cqhttp/GetForwardMsg.ts
#	src/onebot11/action/go-cqhttp/GetFriendMsgHistory.ts
#	src/onebot11/action/go-cqhttp/GetGroupHonorInfo.ts
#	src/onebot11/action/go-cqhttp/GetStrangerInfo.ts
#	src/onebot11/action/go-cqhttp/SendGroupNotice.ts
#	src/onebot11/action/go-cqhttp/UploadGroupFile.ts
#	src/onebot11/action/go-cqhttp/UploadPrivareFile.ts
#	src/onebot11/action/group/GetGroupEssence.ts
#	src/onebot11/action/group/GetGroupList.ts
#	src/onebot11/action/group/SetEssenceMsg.ts
#	src/onebot11/action/group/SetGroupAddRequest.ts
#	src/onebot11/action/group/SetGroupBan.ts
#	src/onebot11/action/group/SetGroupKick.ts
#	src/onebot11/action/index.ts
#	src/onebot11/action/msg/DeleteMsg.ts
#	src/onebot11/action/msg/ForwardSingleMsg.ts
#	src/onebot11/action/msg/GetMsg.ts
#	src/onebot11/action/msg/SendMsg/create-send-elements.ts
#	src/onebot11/action/msg/SendMsg/handle-forward-node.ts
#	src/onebot11/action/msg/SendMsg/index.ts
#	src/onebot11/action/msg/SendPrivateMsg.ts
#	src/onebot11/action/msg/SetMsgEmojiLike.ts
#	src/onebot11/action/system/GetLoginInfo.ts
#	src/onebot11/action/user/GetFriendList.ts
#	src/onebot11/action/user/SendLike.ts
#	src/onebot11/config.ts
#	src/onebot11/constructor.ts
#	src/onebot11/event/notice/OB11GroupAdminNoticeEvent.ts
#	src/onebot11/event/notice/OB11InputStatusEvent.ts
#	src/onebot11/log.ts
#	src/onebot11/main.ts
#	src/onebot11/version.ts
#	src/webui/ui/NapCat.ts
2024-08-11 22:37:16 +08:00
手瓜一十雪
55246d158a chore: 移除社交平台 2024-08-11 22:10:39 +08:00
Wesley F. Young
89e777f99e refactor: inline getApiContext() 2024-08-11 19:10:42 +08:00
Wesley F. Young
e88c0346f3 fix: type 2024-08-11 18:41:48 +08:00
Wesley F. Young
d58d06c293 fix: add missing catches 2024-08-11 18:39:23 +08:00
Wesley F. Young
9f4de6e745 feat: initGroupListener 2024-08-11 18:33:23 +08:00
Wesley F. Young
c1817539ec feat: initBuddyListener 2024-08-11 18:11:27 +08:00
手瓜一十雪
c7539257d7 fix: webui this丢失 2024-08-11 18:04:31 +08:00
手瓜一十雪
536afcd2a6 chore: Adapter 2024-08-11 17:57:52 +08:00
手瓜一十雪
bdb8c080f9 Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2024-08-11 17:53:25 +08:00
手瓜一十雪
65343ed20f fix: rm log error 2024-08-11 17:53:15 +08:00
Wesley F. Young
9b8b377ef9 refactor: signature of internal methods 2024-08-11 17:44:24 +08:00
Wesley F. Young
c27639371f feat: onMsgInfoListUpdate 2024-08-11 17:38:31 +08:00
Wesley F. Young
b4b35359f6 fix: remove redundant async calls 2024-08-11 17:24:29 +08:00
手瓜一十雪
fc318fda04 补全AT Type 2024-08-11 16:55:08 +08:00
手瓜一十雪
d240d53581 chore: 缓存维护 2024-08-11 16:18:34 +08:00
手瓜一十雪
196f9053c3 chore: 临时会话 2024-08-11 15:43:13 +08:00
手瓜一十雪
3b389b5212 chore: 类型补全 2024-08-11 15:34:52 +08:00
手瓜一十雪
6cf5d8cfdf chore: 移除废弃日志 2024-08-11 13:55:46 +08:00
手瓜一十雪
d3897844ef chore: V2 2024-08-11 13:53:45 +08:00
手瓜一十雪
d57012e4cc chore: config保存 2024-08-11 13:52:55 +08:00
手瓜一十雪
be4f59bc5e chore: webui 2024-08-11 13:48:26 +08:00
手瓜一十雪
1046b68640 re: old webui 2024-08-11 13:10:31 +08:00
手瓜一十雪
bde7d5a5bb chore: 消息post 2024-08-11 12:18:13 +08:00
手瓜一十雪
ecd13d42d0 chore: NETWORK 2024-08-11 11:12:23 +08:00
手瓜一十雪
2e0593f593 chore: 鉴权认证优化 2024-08-11 11:07:11 +08:00
手瓜一十雪
b49d0ec4ec chore: 正向ws测试完成 2024-08-11 10:29:21 +08:00
手瓜一十雪
69482f3809 chore: 正向ws鉴权 2024-08-11 10:20:17 +08:00
手瓜一十雪
6b0798542e chore: 心跳 2024-08-11 10:12:53 +08:00
手瓜一十雪
fc2fe0a873 chore: 正向WS实现 2024-08-11 09:50:09 +08:00
手瓜一十雪
6af155de53 chore: Server Create 2024-08-11 09:27:47 +08:00
手瓜一十雪
f4e81f4966 fix 2024-08-11 00:54:26 +08:00
手瓜一十雪
0dadf60d43 Merge branch 'v2' of https://github.com/NapNeko/NapCatQQ into v2 2024-08-11 00:53:23 +08:00
手瓜一十雪
0e889b21d2 chore: fix 2024-08-11 00:53:15 +08:00
Wesley F. Young
f44f2db78b Merge remote-tracking branch 'origin/v2' into v2
# Conflicts:
#	src/onebot/action/extends/GetFriendWithCategory.ts
2024-08-11 00:46:17 +08:00
Wesley F. Young
bacc76d888 fix: reference problems 2024-08-11 00:45:47 +08:00
手瓜一十雪
87f513d9ed chore:fix 2024-08-11 00:44:37 +08:00
手瓜一十雪
e0478a2ffc Merge branch 'v2' of https://github.com/NapNeko/NapCatQQ into v2 2024-08-11 00:35:49 +08:00
手瓜一十雪
f770dc7771 chore: HttpAdapter 2024-08-11 00:35:39 +08:00
Wesley F. Young
0f990545d1 fix: adapt to breaking changes in event constructor signature 2024-08-11 00:33:49 +08:00
手瓜一十雪
bd0f63020f chore: network 初步完成 2024-08-11 00:24:00 +08:00
手瓜一十雪
695e225023 Merge branch 'v2' of https://github.com/NapNeko/NapCatQQ into v2 2024-08-11 00:19:38 +08:00
手瓜一十雪
0dedd7ab4a chore: active-websocket 2024-08-11 00:19:28 +08:00
Wesley F. Young
28ef54be1d feat: onInputStatusPush & onRecvMsg 2024-08-11 00:16:26 +08:00
手瓜一十雪
4b51b883e6 chore: 初步完成network 2024-08-11 00:11:51 +08:00
手瓜一十雪
bed57438b3 chore: websocket 2024-08-11 00:08:52 +08:00
Wesley F. Young
7a7219104b Merge remote-tracking branch 'origin/v2' into v2 2024-08-11 00:00:58 +08:00
手瓜一十雪
ecff37580a Merge branch 'v2' of https://github.com/NapNeko/NapCatQQ into v2 2024-08-11 00:00:42 +08:00
Wesley F. Young
887ba7fc82 fix: logMessage & method signature 2024-08-11 00:00:16 +08:00
Wesley F. Young
b450c28b12 update: EmitEventContent = Message + Event 2024-08-10 23:54:20 +08:00
手瓜一十雪
d68c0fa3db chore: Basic Info 2024-08-10 23:53:16 +08:00
Wesley F. Young
8f1cb80746 Revert "feat: logMessage for LogWrapper"
This reverts commit eafb3c4101.
2024-08-10 23:52:42 +08:00
Wesley F. Young
eafb3c4101 feat: logMessage for LogWrapper 2024-08-10 23:31:23 +08:00
手瓜一十雪
6a3b605d67 fix 2024-08-10 22:40:40 +08:00
手瓜一十雪
84c4ee8b11 Merge branch 'v2' of https://github.com/NapNeko/NapCatQQ into v2 2024-08-10 22:35:41 +08:00
手瓜一十雪
a20e37d3c0 chore: GroupCache 2024-08-10 22:35:29 +08:00
Wesley F. Young
295ac70f4f Merge remote-tracking branch 'origin/v2' into v2 2024-08-10 22:27:05 +08:00
手瓜一十雪
f5c0806105 Merge branch 'v2' of https://github.com/NapNeko/NapCatQQ into v2 2024-08-10 22:25:38 +08:00
手瓜一十雪
6b90fd0a01 chore: config 2024-08-10 22:25:25 +08:00
Wesley F. Young
bde27518c8 fix: method signature of _handle 2024-08-10 22:22:52 +08:00
Wesley F. Young
ad7dc3b6b5 Merge remote-tracking branch 'origin/v2' into v2 2024-08-10 22:12:06 +08:00
Wesley F. Young
2d46017d06 refactor: add core into all event constructors 2024-08-10 22:11:57 +08:00
手瓜一十雪
de972353e2 fix 2024-08-10 21:53:08 +08:00
手瓜一十雪
10fe54938b Merge branch 'v2' of https://github.com/NapNeko/NapCatQQ into v2 2024-08-10 21:48:08 +08:00
手瓜一十雪
acb5dc80b3 chore: fix 2024-08-10 21:47:58 +08:00
Wesley F. Young
30e89c643e refactor: specify the arg type of onInputStatusPush 2024-08-10 20:56:46 +08:00
Wesley F. Young
a6e2bd1b5b chore: make BaseAction abstract 2024-08-10 20:53:29 +08:00
Wesley F. Young
3f0ea65a3c refactor: rename postEvent -> emitEvent to prevent ambiguity 2024-08-10 20:43:50 +08:00
手瓜一十雪
ffd1079a70 Merge branch 'v2' of https://github.com/NapNeko/NapCatQQ into v2 2024-08-10 20:28:52 +08:00
手瓜一十雪
86d184ac21 chore: 移除错误日志 2024-08-10 20:28:43 +08:00
Wesley F. Young
27bf760fca Merge remote-tracking branch 'origin/v2' into v2
# Conflicts:
#	src/core/apis/group.ts
2024-08-10 20:26:42 +08:00
Wesley F. Young
02fbedda0a feat: get group & group member by uin 2024-08-10 20:25:32 +08:00
手瓜一十雪
6d1f4141e8 chore: add 2024-08-10 20:23:17 +08:00
Wesley F. Young
116a04e081 chore: run a full eslint 2024-08-10 19:58:31 +08:00
Wesley F. Young
9a9511aad6 optimize: an ActiveHttpAdapter does not need to register actions 2024-08-10 19:33:34 +08:00
手瓜一十雪
020677f0d6 chore 2024-08-10 18:45:46 +08:00
手瓜一十雪
cde2809ec6 chore: 标准化 2024-08-10 18:18:04 +08:00
手瓜一十雪
ba2235e2f6 chore: 核心缓存位置设计完成 2024-08-10 18:06:40 +08:00
手瓜一十雪
bfea373c35 fix: 创建OB上下文 2024-08-10 18:03:21 +08:00
手瓜一十雪
20639baf78 chore: log 2024-08-10 17:53:48 +08:00
手瓜一十雪
baa6605498 chore: 调整出包方式 2024-08-10 17:50:23 +08:00
手瓜一十雪
bdaa49922e chore: 针对的并非框架 2024-08-10 17:45:17 +08:00
手瓜一十雪
73acbb7c07 chore: PostEvent 2024-08-10 17:33:17 +08:00
手瓜一十雪
b0484fc650 chore: 去除无效代码 2024-08-10 17:31:12 +08:00
手瓜一十雪
cff33b3d0d chore: 小调整 2024-08-10 17:29:24 +08:00
手瓜一十雪
dac361bcde chore: 管理网络适配器 2024-08-10 17:11:04 +08:00
手瓜一十雪
773e7ce90a chore: token 2024-08-10 17:07:23 +08:00