Commit Graph

105 Commits

Author SHA1 Message Date
CrescentLeaf
4a2014e10d feat(wip): 上傳文件 2025-09-23 23:29:20 +08:00
CrescentLeaf
f6f2590532 chore: make lint happy 2025-09-23 23:10:04 +08:00
CrescentLeaf
20f5484e90 feat: 支持異步接口調用方法體 2025-09-23 23:08:50 +08:00
CrescentLeaf
5d5b04ba05 refactor: 重構 對話 成員的儲存邏輯
* 使用關聯資料庫, 鏈接 user_id 和 chat_id
2025-09-23 09:20:30 +08:00
CrescentLeaf
b82d32cad7 chore: 添加 Chat 類型的常量定義 2025-09-22 23:08:41 +08:00
CrescentLeaf
10da3b8e77 refactor: 重寫 Chat 成員邏輯
* 不再區分 user_a/b, 直接使用 members_list 雙成員模式
* 爲以後群聊打下基礎
2025-09-22 23:08:19 +08:00
CrescentLeaf
791102c034 fix: MessageManager 建表失敗 2025-09-21 16:13:48 +08:00
CrescentLeaf
8bcb3e74b6 feat: 服務端可以獲取每個客戶端的連接 2025-09-21 16:13:31 +08:00
CrescentLeaf
e4c26a07cf feat: 緩存資料, 獲取任意用戶的資料 2025-09-21 16:13:01 +08:00
CrescentLeaf
cb947429fb feat: 收發消息 2025-09-21 16:11:58 +08:00
CrescentLeaf
28ffd134df feat: 服務端 Api 可以持有 client socket 2025-09-21 14:12:06 +08:00
CrescentLeaf
f600245d3b feat: BaseApi 有條件獲取更多的數據 2025-09-21 14:06:36 +08:00
CrescentLeaf
706d811087 feat(wip): 事件緩存以備離綫重連重發 2025-09-21 14:06:08 +08:00
CrescentLeaf
e5dd3ade51 feat: 檢驗用戶的 設備 ID 2025-09-21 12:28:44 +08:00
CrescentLeaf
082817d6cd feat(wip): 收發消息 2025-09-21 02:18:15 +08:00
CrescentLeaf
6a1084eeca fix: Chat 創建失敗, 並修正了 ChatPrivate 獲取對方的邏輯 2025-09-21 02:17:44 +08:00
CrescentLeaf
71e6d24d6e fix: Chat 獲取 avatar 邏輯錯誤 2025-09-21 02:16:48 +08:00
CrescentLeaf
6f006f38a4 fix: app.use -> get 2025-09-21 02:13:55 +08:00
CrescentLeaf
791baf474c feat: 修復並正式支持聯絡人
* wip(ui): 增刪
2025-09-21 02:13:16 +08:00
CrescentLeaf
468de4f439 feat(ui): 編輯個人檔案對話框 2025-09-21 02:11:47 +08:00
CrescentLeaf
2ec4f634ae feat(wip): remove contact 2025-09-20 21:17:43 +08:00
CrescentLeaf
8f7e61dfd2 feat: Chat (instance) getAnotherUserForPrivate 2025-09-20 20:59:12 +08:00
CrescentLeaf
212c2fa5dc chore: 重命名易混淆的 ChatPrivate findFor 方法 2025-09-20 20:58:44 +08:00
CrescentLeaf
dd88e8d1b8 chore: 添加 ChatApi 注釋 2025-09-20 20:58:20 +08:00
CrescentLeaf
eaf0f98058 update 2025-09-20 20:32:26 +08:00
CrescentLeaf
5ce42bf651 updated
浪費了半天時間, 索性移除了聯絡人分組的支援
2025-09-20 16:57:17 +08:00
CrescentLeaf
03f6f2743f chore: add "not impl" for not exists func 2025-09-20 00:33:22 +08:00
CrescentLeaf
c13913f08a feat(wip): 聯絡人 2025-09-20 00:32:37 +08:00
CrescentLeaf
dd7c578534 fix: auth not check user is exists 2025-09-20 00:32:00 +08:00
CrescentLeaf
d473ff81bd feat(wip): 對話 2025-09-20 00:31:36 +08:00
CrescentLeaf
c6bfca0482 fix(typo): p->a<-ivate 2025-09-19 22:50:55 +08:00
CrescentLeaf
a85ea56bb7 feat(wip): MessagesManager 2025-09-14 14:33:16 +08:00
CrescentLeaf
85b48475de chore: remove useless code 2025-09-14 14:32:37 +08:00
CrescentLeaf
0af3e7a449 feat(wip): 實現 ChatPrivate 2025-09-14 14:32:24 +08:00
CrescentLeaf
2b54a7a13a chore: 統一 可選成員 寫法 2025-09-14 14:31:53 +08:00
CrescentLeaf
a3d5e93240 feat(wip): Chat impl 2025-09-14 00:37:03 +08:00
CrescentLeaf
ed494413fd feat(wip): Chat.getInfo 2025-09-14 00:36:51 +08:00
CrescentLeaf
633cfed87b feat: setNickName setUserName getMyInfo 2025-09-13 00:40:32 +08:00
CrescentLeaf
73a1536df7 chore: add new Api declaretion 2025-09-13 00:38:17 +08:00
CrescentLeaf
b30035d5a8 feat: access uploaded files through http 2025-09-13 00:37:08 +08:00
CrescentLeaf
6b0e781fdf fix: file upload failed by folder not created 2025-09-13 00:36:48 +08:00
CrescentLeaf
fd6ceb82df chore: remove useless & add getAvatarFileHash 2025-09-13 00:36:12 +08:00
CrescentLeaf
546f04dc0e chore: declare new Api 2025-09-08 23:18:26 +08:00
CrescentLeaf
bc11034892 feat(wip): declare Message 2025-09-08 23:18:13 +08:00
CrescentLeaf
5eb7e0018a feat(untestes): setAvatar 2025-09-08 23:17:28 +08:00
CrescentLeaf
b3015084a6 feat(wip): sendMessage getMessageHistory 2025-09-08 23:17:05 +08:00
CrescentLeaf
316fd140bc feat: BaseApi 兩個 Token 檢查方法 2025-09-08 23:16:41 +08:00
CrescentLeaf
3cb9bcc148 chore: Token.ts 單獨成類 2025-09-08 23:16:17 +08:00
CrescentLeaf
4ca3bd44da fix: missing File.getHash 2025-09-08 22:46:31 +08:00
CrescentLeaf
39c1473c57 chore: fuck lint and make it happy 2025-09-08 22:45:46 +08:00