Seijo Cecilia
|
4baef7acce
|
Merge remote-tracking branch 'origin/main'
|
2024-08-14 22:04:38 +08:00 |
|
Seijo Cecilia
|
d567640bed
|
fix: plugin slug
|
2024-08-14 22:04:29 +08:00 |
|
Wesley F. Young
|
1c0084d24e
|
Merge pull request #256 from canxin121/main
typo: OB11InputStatusEvent event_type
|
2024-08-14 21:44:21 +08:00 |
|
Seijo Cecilia
|
31f4284262
|
docs: name, slug and description of plugin manifest
|
2024-08-14 20:11:06 +08:00 |
|
Wesley F. Young
|
d402467ad2
|
fix: no longer require admin when running after initialization
|
2024-08-13 16:09:15 +08:00 |
|
Wesley F. Young
|
50b698a63b
|
docs: copyright
|
2024-08-13 09:06:46 +08:00 |
|
Wesley F. Young
|
b9a3cad2a0
|
docs: plugin description
|
2024-08-13 09:02:50 +08:00 |
|
Wesley F. Young
|
ffb08bb876
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 17:53:45 +08:00 |
|
Wesley F. Young
|
308909be67
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# src/onebot/index.ts
|
2024-08-12 17:53:16 +08:00 |
|
Wesley F. Young
|
bc52b933b1
|
feat: new message logging using raw msg object
|
2024-08-12 17:52:27 +08:00 |
|
Wesley F. Young
|
108855f8d8
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 17:36:10 +08:00 |
|
Wesley F. Young
|
91690806a7
|
docs: add correct comments on fields
|
2024-08-12 17:07:22 +08:00 |
|
Wesley F. Young
|
046ee91d22
|
fix: constructor signature mismatch
|
2024-08-12 16:15:39 +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
|
e8e4311476
|
docs: 语言中枢,你进化罢
|
2024-08-12 08:30:18 +08:00 |
|
Wesley F. Young
|
a9a035d399
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 08:20:39 +08:00 |
|
Wesley F. Young
|
c7b1a2c02d
|
fix: replace deprecated calls
|
2024-08-12 08:20:11 +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 |
|
Wesley F. Young
|
838f724aac
|
fix: auto retry of active ws
|
2024-08-12 02:12:18 +08:00 |
|
Wesley F. Young
|
19027556bd
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 01:13:36 +08:00 |
|
Wesley F. Young
|
3f078dbb31
|
chore: clean-up
|
2024-08-12 01:13:26 +08:00 |
|
Wesley F. Young
|
fd6c3e2e17
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 01:12:36 +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 |
|
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 |
|
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 |
|
Wesley F. Young
|
c6fb9f3bf1
|
chore: suppress type merging error
|
2024-08-12 00:09:05 +08:00 |
|
Wesley F. Young
|
d89ee67fc7
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# src/onebot/network/active-websocket.ts
|
2024-08-11 23:15:37 +08:00 |
|
Wesley F. Young
|
0212f5a14b
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# src/onebot/network/active-websocket.ts
|
2024-08-11 23:15:13 +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 |
|
Wesley F. Young
|
85f1223caa
|
feat: implement ActiveHttp.open / close
|
2024-08-11 23:09:59 +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 |
|
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 |
|
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 |
|
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 |
|
Wesley F. Young
|
e327c1b589
|
Merge remote-tracking branch 'origin/main'
|
2024-08-11 17:52:18 +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 |
|
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 |
|
Wesley F. Young
|
0f990545d1
|
fix: adapt to breaking changes in event constructor signature
|
2024-08-11 00:33:49 +08:00 |
|
Wesley F. Young
|
28ef54be1d
|
feat: onInputStatusPush & onRecvMsg
|
2024-08-11 00:16:26 +08:00 |
|
Wesley F. Young
|
7a7219104b
|
Merge remote-tracking branch 'origin/v2' into v2
|
2024-08-11 00:00:58 +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 |
|
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 |
|
Wesley F. Young
|
295ac70f4f
|
Merge remote-tracking branch 'origin/v2' into v2
|
2024-08-10 22:27:05 +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 |
|
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 |
|
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 |
|
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 |
|
Wesley F. Young
|
10cd6c1b9f
|
feat: a framework of active (reverse, 反向) websocket
|
2024-08-10 15:13:26 +08:00 |
|
Wesley F. Young
|
b39bc8828d
|
feat: a framework of passive (正向) websocket
|
2024-08-10 14:40:51 +08:00 |
|
Wesley F. Young
|
95615a868d
|
update: interface IOB11NetworkAdapter
|
2024-08-10 14:00:56 +08:00 |
|
Wesley F. Young
|
2d6600cc83
|
fix: typo of Emojio -> Emoji
|
2024-08-10 13:53:24 +08:00 |
|
Wesley F. Young
|
782901f9e1
|
fix: typo of Emojio -> Emoji
|
2024-08-10 13:51:49 +08:00 |
|
Wesley F. Young
|
be6805cd0d
|
begin refactoring ob11/server
|
2024-08-10 13:48:27 +08:00 |
|
Wesley F. Young
|
5a2b21525f
|
fix: add pathWrapper into NC_LL constructor
|
2024-08-10 11:56:47 +08:00 |
|
Wesley F. Young
|
67203b572a
|
fix: hook session init when launching as LL plugin
|
2024-08-10 11:56:23 +08:00 |
|
Wesley F. Young
|
3d58085653
|
fix: remove debug info
|
2024-08-10 08:43:22 +08:00 |
|
Wesley F. Young
|
8993ab038e
|
update: add pathWrapper into instance context
|
2024-08-09 23:21:17 +08:00 |
|
Wesley F. Young
|
39bd42af95
|
fix: login
|
2024-08-09 23:19:47 +08:00 |
|
Wesley F. Young
|
a50b474776
|
Merge remote-tracking branch 'origin/v2' into v2
|
2024-08-09 22:37:21 +08:00 |
|
Wesley F. Young
|
8c7b7bcc19
|
feat: logging in through shell
|
2024-08-09 22:36:44 +08:00 |
|
Wesley F. Young
|
af01a073ef
|
chore: run eslint --fix in onebot module
|
2024-08-09 20:35:03 +08:00 |
|
Wesley F. Young
|
1a9d734a1b
|
chore: fix indentation in files
|
2024-08-09 15:58:40 +08:00 |
|
Wesley F. Young
|
c7cd6eed34
|
refactor: fix typo and add comments in WebHonorType
|
2024-08-09 15:22:34 +08:00 |
|
Wesley F. Young
|
5b9c804787
|
Merge remote-tracking branch 'origin/v2' into v2
|
2024-08-09 15:14:31 +08:00 |
|
Wesley F. Young
|
bae6b2a79c
|
refactor: shared logic in webapi.ts
|
2024-08-09 15:14:11 +08:00 |
|
Wesley F. Young
|
3543624be2
|
Merge remote-tracking branch 'origin/v2' into v2
|
2024-08-09 14:32:43 +08:00 |
|
Wesley F. Young
|
858377876e
|
fix: typo of lastest -> latest
|
2024-08-09 14:32:32 +08:00 |
|