Commit Graph

  • dfeed305e1 feat: 支持對話視頻, wip: 文件 CrescentLeaf 2025-10-02 11:14:07 +08:00
  • bc5485d622 移除 剪貼薄 fallback 元素 CrescentLeaf 2025-10-02 11:12:07 +08:00
  • d3b2949ff7 剪貼薄 CrescentLeaf 2025-10-02 10:49:36 +08:00
  • f376de2b48 ui: 微調消息菜單 * 仿照電報邏輯 * 添加 JsonView CrescentLeaf 2025-10-01 11:51:28 +08:00
  • 459fca064c depend: add react-json-view@1.21.3 CrescentLeaf 2025-10-01 11:23:09 +08:00
  • f436f84696 feat(wip): 支持視頻和文件 CrescentLeaf 2025-10-01 01:08:52 +08:00
  • 73e795e29f fix: Marked 不解析 \n, 手動解析以使換行符正常使用 CrescentLeaf 2025-10-01 01:03:39 +08:00
  • a709ac7ee0 ui: 修繕圖片顯示, 不再為下方文字説明占位 (aka inline -> block) CrescentLeaf 2025-10-01 01:02:49 +08:00
  • beab35a25e chore: make lint happy CrescentLeaf 2025-10-01 00:57:34 +08:00
  • aa0d0e86a5 docs: readme CrescentLeaf 2025-10-01 00:36:41 +08:00
  • f8a043e59f docs: readme CrescentLeaf 2025-10-01 00:20:16 +08:00
  • 441fb5b5be docs: license CrescentLeaf 2025-10-01 00:20:11 +08:00
  • 29ea6f9142 chore: 迁移工具方法 isMobileUI CrescentLeaf 2025-10-01 00:02:20 +08:00
  • cd22f62d60 fix(wip): 复制文字到剪贴板 CrescentLeaf 2025-10-01 00:01:52 +08:00
  • b3ffdf8469 feat: 消息菜单 CrescentLeaf 2025-10-01 00:01:39 +08:00
  • 6c17a0e4eb feat: 显示消息时间 CrescentLeaf 2025-10-01 00:01:27 +08:00
  • 8163100559 feat: 上报消息时间戳 CrescentLeaf 2025-09-30 23:47:49 +08:00
  • 1fec2bba06 feat(wip): 顯示消息的時間 CrescentLeaf 2025-09-30 21:56:18 +08:00
  • 706a340407 fix: 在沒有消息時, 發送消息並拉取導致的消息重複 CrescentLeaf 2025-09-30 21:54:25 +08:00
  • 7e81484932 refactor: 獨立 openImageViewer CrescentLeaf 2025-09-30 21:37:31 +08:00
  • d7d8351dc9 ui: 添加細節: 添加聯絡人可直接回車, 可直接點擊清空 CrescentLeaf 2025-09-30 21:35:58 +08:00
  • 19657fd150 ui: 微調: 可以點擊外部關閉對話框 CrescentLeaf 2025-09-25 17:26:57 +08:00
  • a6cef76ecf feat: 手動刷新聯絡人列表 CrescentLeaf 2025-09-25 17:26:44 +08:00
  • ee8e0e531e fix: 對話中的成員 無法收到更新信息 CrescentLeaf 2025-09-25 17:16:20 +08:00
  • 151dc31f2c chore: 規範化 client event listener 寫法 CrescentLeaf 2025-09-25 17:14:37 +08:00
  • 0b1a4a53a5 chore: make lint happy CrescentLeaf 2025-09-25 17:14:09 +08:00
  • 02efac9a8e fix: 用戶添加自己為對話或重複導致的重複 CrescentLeaf 2025-09-25 16:52:51 +08:00
  • 8d739dd863 chore: 添加 EventBus * 並讓對話列表先用上了 CrescentLeaf 2025-09-25 16:52:23 +08:00
  • c0c6c6ed1c feat: 添加對話 CrescentLeaf 2025-09-25 16:51:43 +08:00
  • d26c67f06d fix: 無法正常在 private chat 獲取到對方 User CrescentLeaf 2025-09-25 16:48:06 +08:00
  • 35d60642c0 chore: 生成的 Private chat id 人類可讀 CrescentLeaf 2025-09-25 16:40:30 +08:00
  • a928577f2a fix: 打開不同對話時, 使用了同一個 ChatFragment * 並修復了使用 key 時, 因爲卸載組件后 ref 丟失導致的錯誤 CrescentLeaf 2025-09-25 16:26:46 +08:00
  • 4b93e5fd67 chore: deno task server 不再自動編譯前端 * 請使用 debug 或 手動 build CrescentLeaf 2025-09-25 15:04:50 +08:00
  • d6454f51c8 feat: find user by account (aka userName or userId) CrescentLeaf 2025-09-25 14:53:53 +08:00
  • efc0f49b66 feat: 文件權限檢驗 * 基於讀取 Cookie 中的驗證信息 * 因為 ServiceWorker 需要安全的上下文, 而我想要到處可用, 因此暫時折中使用這個辦法 CrescentLeaf 2025-09-25 14:19:45 +08:00
  • a860da96a0 depend: add cookie-parser 1.4.7 CrescentLeaf 2025-09-25 14:19:18 +08:00
  • 692eb3d2a3 chore: 將令牌檢測函數移動到 TokenManager * 這樣才叫 TokenManager 嘛X CrescentLeaf 2025-09-25 14:18:50 +08:00
  • b6be09ef7c chore: 客戶端自動添加 token 和 device_id 到 Cookie 裡, 以便 HTTP 請求 CrescentLeaf 2025-09-25 14:17:29 +08:00
  • 8e15c8126f chore(wip): 聯絡人 -> 對話 * 這是設計時留下的問題, 現在逐步改正 CrescentLeaf 2025-09-25 13:02:37 +08:00
  • 80a42d5d86 feat(wip): 添加對話 對話框 CrescentLeaf 2025-09-25 13:02:02 +08:00
  • b8f3886a1b chore: fuck lint and make it happy CrescentLeaf 2025-09-25 12:57:08 +08:00
  • 5a80041ec3 ui: 微調對話框選項距離 CrescentLeaf 2025-09-25 12:54:42 +08:00
  • d76e7e2bf5 chore: make lint happy & fix typo CrescentLeaf 2025-09-25 12:53:07 +08:00
  • 4fa3e16ab7 fix: 令牌驗證額外添加是否為有效令牌 * 如果解密無效, 直接返回一個無效的令牌, 並加以判斷 CrescentLeaf 2025-09-25 12:12:12 +08:00
  • 9cc3a2149e feat: 退出登錄 CrescentLeaf 2025-09-25 12:12:04 +08:00
  • fdf52c0548 feat(wip): 複製到剪貼薄 CrescentLeaf 2025-09-25 11:36:03 +08:00
  • a6ee231ad5 feat: 客戶端查看自己的用戶 ID CrescentLeaf 2025-09-25 11:35:35 +08:00
  • 4bcc6e4347 feat: 手動選擇文件 CrescentLeaf 2025-09-25 00:42:31 +08:00
  • 9395104c20 ui: 在加載歷史消息時,自動回到加載前的消息位置 * 使用奇技淫巧 CrescentLeaf 2025-09-25 00:31:40 +08:00
  • f063c4d165 ui: 修復錯誤添加在 最近對話 搜索框 的 paddingRight CrescentLeaf 2025-09-24 23:43:24 +08:00
  • b3b077fa9d ui: 移動端支持修改個人資料, 修繕移動端 UI 的諸多潛在問題 CrescentLeaf 2025-09-24 23:41:11 +08:00
  • 88123e1edb ui: 修正 最近對話 列表的 paddingLeft CrescentLeaf 2025-09-24 23:39:53 +08:00
  • 0106311a2a chore: make lint happy CrescentLeaf 2025-09-24 23:09:55 +08:00
  • f5f2d5743f fix: typo CrescentLeaf 2025-09-24 23:09:20 +08:00
  • 4e38ad8e20 fix: 移動端未打開對話但提示對話不存在 CrescentLeaf 2025-09-24 23:01:07 +08:00
  • 41362a591c feat: 粘貼文件, 多個同名文件共存發送 CrescentLeaf 2025-09-24 22:57:12 +08:00
  • 1b36a45252 ui: 修繕圖片縮放對話框: 圖片原始位置 * 我盡力了, 這玩意設置位置太靈車了 CrescentLeaf 2025-09-24 22:32:15 +08:00
  • 38db2e1310 fix: 多個同 DeviceId 不同 Session 的客戶端無法同時收到消息 CrescentLeaf 2025-09-24 22:03:23 +08:00
  • 9a3e87d89c chore: 客戶端發送非驗證性請求前, 必須先等待驗證 CrescentLeaf 2025-09-24 21:52:53 +08:00
  • 954b5d3430 ui: 細節優化: 發送消息時, 轉圈 CrescentLeaf 2025-09-24 21:44:52 +08:00
  • 6dfe59c5a8 chore(ui): 圖片加載失敗使用 snackbar 提示 CrescentLeaf 2025-09-24 21:34:04 +08:00
  • b741cbf9ba chore: 進一步解除傳輸最大限制 CrescentLeaf 2025-09-24 21:33:30 +08:00
  • d5fbc490ea feat: 支持發送文件 * 目前還只能拖拽到輸入框 CrescentLeaf 2025-09-24 21:33:16 +08:00
  • 276ce5cae8 fix: 控制臺不解析 buffer CrescentLeaf 2025-09-24 21:32:09 +08:00
  • 3a9312654e chore: 控制臺不解析 buffer * 額外作用: 加快傳輸效率 CrescentLeaf 2025-09-24 21:19:42 +08:00
  • 0a10009613 chore: localify pinch-zoom CrescentLeaf 2025-09-24 18:59:25 +08:00
  • 8759b660f5 refactor: randomUUID with fallback CrescentLeaf 2025-09-24 18:15:41 +08:00
  • ae3b9c8226 ui: 修正 Tab 指示標顯示不正常 CrescentLeaf 2025-09-24 18:15:04 +08:00
  • faec599822 feat(wip): 富文本消息 (aka Markdown + 自定義解析) CrescentLeaf 2025-09-24 16:43:28 +08:00
  • da1c7cd8cf fix: Markdown 沒有被渲染 CrescentLeaf 2025-09-24 10:57:21 +08:00
  • a0bf323ac9 feat(wip): Markdown CrescentLeaf 2025-09-24 09:23:31 +08:00
  • 4a2014e10d feat(wip): 上傳文件 CrescentLeaf 2025-09-23 23:29:20 +08:00
  • a01a64116f feat(wip): markdown 解析 CrescentLeaf 2025-09-23 23:28:54 +08:00
  • f6f2590532 chore: make lint happy CrescentLeaf 2025-09-23 23:10:04 +08:00
  • 20f5484e90 feat: 支持異步接口調用方法體 CrescentLeaf 2025-09-23 23:08:50 +08:00
  • 14f5bbfec9 feat: 適配移動端界面 CrescentLeaf 2025-09-23 17:44:10 +08:00
  • 5d5b04ba05 refactor: 重構 對話 成員的儲存邏輯 * 使用關聯資料庫, 鏈接 user_id 和 chat_id CrescentLeaf 2025-09-23 09:20:30 +08:00
  • 0ef2859291 feat(wip): 上傳圖片等多媒體文件 CrescentLeaf 2025-09-23 00:27:57 +08:00
  • b82d32cad7 chore: 添加 Chat 類型的常量定義 CrescentLeaf 2025-09-22 23:08:41 +08:00
  • 10da3b8e77 refactor: 重寫 Chat 成員邏輯 * 不再區分 user_a/b, 直接使用 members_list 雙成員模式 * 爲以後群聊打下基礎 CrescentLeaf 2025-09-22 23:08:19 +08:00
  • 184a80436d feat: 自動在重連時進行身份驗證 CrescentLeaf 2025-09-22 23:06:24 +08:00
  • 2de4d3548d feat: 視情況 自動滾動到最新消息 CrescentLeaf 2025-09-22 23:06:01 +08:00
  • fc197ea41a feat(ui): 拉到最頂部加載更多消息 CrescentLeaf 2025-09-22 23:05:21 +08:00
  • 43385780f8 fix: 打開對話后不會自己滑動到底部 CrescentLeaf 2025-09-22 19:39:53 +08:00
  • 791102c034 fix: MessageManager 建表失敗 CrescentLeaf 2025-09-21 16:13:48 +08:00
  • 8bcb3e74b6 feat: 服務端可以獲取每個客戶端的連接 CrescentLeaf 2025-09-21 16:13:31 +08:00
  • e4c26a07cf feat: 緩存資料, 獲取任意用戶的資料 CrescentLeaf 2025-09-21 16:13:01 +08:00
  • f118c6b6f5 chore: 修繕客戶端請求允許等待連接 CrescentLeaf 2025-09-21 16:12:31 +08:00
  • cb947429fb feat: 收發消息 CrescentLeaf 2025-09-21 16:11:58 +08:00
  • b3d620a329 refactor: 重寫消息顯示相關邏輯 CrescentLeaf 2025-09-21 16:11:13 +08:00
  • 28ffd134df feat: 服務端 Api 可以持有 client socket CrescentLeaf 2025-09-21 14:12:06 +08:00
  • f600245d3b feat: BaseApi 有條件獲取更多的數據 CrescentLeaf 2025-09-21 14:06:36 +08:00
  • 706d811087 feat(wip): 事件緩存以備離綫重連重發 CrescentLeaf 2025-09-21 14:06:08 +08:00
  • e5dd3ade51 feat: 檢驗用戶的 設備 ID CrescentLeaf 2025-09-21 12:28:44 +08:00
  • 83719f5f44 fix(ui): 兩個列表沒有吃滿寬度 CrescentLeaf 2025-09-21 11:06:21 +08:00
  • 082817d6cd feat(wip): 收發消息 CrescentLeaf 2025-09-21 02:18:15 +08:00
  • ee79e3eefa chore: RecentChat -> extends <- Chat CrescentLeaf 2025-09-21 02:18:05 +08:00
  • 6a1084eeca fix: Chat 創建失敗, 並修正了 ChatPrivate 獲取對方的邏輯 CrescentLeaf 2025-09-21 02:17:44 +08:00
  • 71e6d24d6e fix: Chat 獲取 avatar 邏輯錯誤 CrescentLeaf 2025-09-21 02:16:48 +08:00
  • 7686a9b7d1 chore: 使 Client.invoke 支持等待后請求, 解耦 updateCachedProfile CrescentLeaf 2025-09-21 02:16:01 +08:00