CrescentLeaf
|
efc0f49b66
|
feat: 文件權限檢驗
* 基於讀取 Cookie 中的驗證信息
* 因為 ServiceWorker 需要安全的上下文, 而我想要到處可用, 因此暫時折中使用這個辦法
|
2025-09-25 14:19:45 +08:00 |
|
CrescentLeaf
|
a860da96a0
|
depend: add cookie-parser 1.4.7
|
2025-09-25 14:19:18 +08:00 |
|
CrescentLeaf
|
692eb3d2a3
|
chore: 將令牌檢測函數移動到 TokenManager
* 這樣才叫 TokenManager 嘛X
|
2025-09-25 14:18:50 +08:00 |
|
CrescentLeaf
|
b6be09ef7c
|
chore: 客戶端自動添加 token 和 device_id 到 Cookie 裡, 以便 HTTP 請求
|
2025-09-25 14:17:29 +08:00 |
|
CrescentLeaf
|
8e15c8126f
|
chore(wip): 聯絡人 -> 對話
* 這是設計時留下的問題, 現在逐步改正
|
2025-09-25 13:02:37 +08:00 |
|
CrescentLeaf
|
80a42d5d86
|
feat(wip): 添加對話 對話框
|
2025-09-25 13:02:02 +08:00 |
|
CrescentLeaf
|
b8f3886a1b
|
chore: fuck lint and make it happy
|
2025-09-25 12:57:08 +08:00 |
|
CrescentLeaf
|
5a80041ec3
|
ui: 微調對話框選項距離
|
2025-09-25 12:54:42 +08:00 |
|
CrescentLeaf
|
d76e7e2bf5
|
chore: make lint happy & fix typo
|
2025-09-25 12:53:07 +08:00 |
|
CrescentLeaf
|
4fa3e16ab7
|
fix: 令牌驗證額外添加是否為有效令牌
* 如果解密無效, 直接返回一個無效的令牌, 並加以判斷
|
2025-09-25 12:12:12 +08:00 |
|
CrescentLeaf
|
9cc3a2149e
|
feat: 退出登錄
|
2025-09-25 12:12:04 +08:00 |
|
CrescentLeaf
|
fdf52c0548
|
feat(wip): 複製到剪貼薄
|
2025-09-25 11:36:03 +08:00 |
|
CrescentLeaf
|
a6ee231ad5
|
feat: 客戶端查看自己的用戶 ID
|
2025-09-25 11:35:35 +08:00 |
|
CrescentLeaf
|
4bcc6e4347
|
feat: 手動選擇文件
|
2025-09-25 00:42:31 +08:00 |
|
CrescentLeaf
|
9395104c20
|
ui: 在加載歷史消息時,自動回到加載前的消息位置
* 使用奇技淫巧
|
2025-09-25 00:31:40 +08:00 |
|
CrescentLeaf
|
f063c4d165
|
ui: 修復錯誤添加在 最近對話 搜索框 的 paddingRight
|
2025-09-24 23:43:24 +08:00 |
|
CrescentLeaf
|
b3b077fa9d
|
ui: 移動端支持修改個人資料, 修繕移動端 UI 的諸多潛在問題
|
2025-09-24 23:41:11 +08:00 |
|
CrescentLeaf
|
88123e1edb
|
ui: 修正 最近對話 列表的 paddingLeft
|
2025-09-24 23:39:53 +08:00 |
|
CrescentLeaf
|
0106311a2a
|
chore: make lint happy
|
2025-09-24 23:09:55 +08:00 |
|
CrescentLeaf
|
f5f2d5743f
|
fix: typo
|
2025-09-24 23:09:20 +08:00 |
|
CrescentLeaf
|
4e38ad8e20
|
fix: 移動端未打開對話但提示對話不存在
|
2025-09-24 23:01:07 +08:00 |
|
CrescentLeaf
|
41362a591c
|
feat: 粘貼文件, 多個同名文件共存發送
|
2025-09-24 22:57:12 +08:00 |
|
CrescentLeaf
|
1b36a45252
|
ui: 修繕圖片縮放對話框: 圖片原始位置
* 我盡力了, 這玩意設置位置太靈車了
|
2025-09-24 22:32:15 +08:00 |
|
CrescentLeaf
|
38db2e1310
|
fix: 多個同 DeviceId 不同 Session 的客戶端無法同時收到消息
|
2025-09-24 22:03:23 +08:00 |
|
CrescentLeaf
|
9a3e87d89c
|
chore: 客戶端發送非驗證性請求前, 必須先等待驗證
|
2025-09-24 21:52:53 +08:00 |
|
CrescentLeaf
|
954b5d3430
|
ui: 細節優化: 發送消息時, 轉圈
|
2025-09-24 21:44:52 +08:00 |
|
CrescentLeaf
|
6dfe59c5a8
|
chore(ui): 圖片加載失敗使用 snackbar 提示
|
2025-09-24 21:34:04 +08:00 |
|
CrescentLeaf
|
b741cbf9ba
|
chore: 進一步解除傳輸最大限制
|
2025-09-24 21:33:30 +08:00 |
|
CrescentLeaf
|
d5fbc490ea
|
feat: 支持發送文件
* 目前還只能拖拽到輸入框
|
2025-09-24 21:33:16 +08:00 |
|
CrescentLeaf
|
276ce5cae8
|
fix: 控制臺不解析 buffer
|
2025-09-24 21:32:09 +08:00 |
|
CrescentLeaf
|
3a9312654e
|
chore: 控制臺不解析 buffer
* 額外作用: 加快傳輸效率
|
2025-09-24 21:19:42 +08:00 |
|
CrescentLeaf
|
0a10009613
|
chore: localify pinch-zoom
|
2025-09-24 18:59:25 +08:00 |
|
CrescentLeaf
|
8759b660f5
|
refactor: randomUUID with fallback
|
2025-09-24 18:15:41 +08:00 |
|
CrescentLeaf
|
ae3b9c8226
|
ui: 修正 Tab 指示標顯示不正常
|
2025-09-24 18:15:04 +08:00 |
|
CrescentLeaf
|
faec599822
|
feat(wip): 富文本消息 (aka Markdown + 自定義解析)
|
2025-09-24 16:43:28 +08:00 |
|
CrescentLeaf
|
da1c7cd8cf
|
fix: Markdown 沒有被渲染
|
2025-09-24 10:57:21 +08:00 |
|
CrescentLeaf
|
a0bf323ac9
|
feat(wip): Markdown
|
2025-09-24 09:23:31 +08:00 |
|
CrescentLeaf
|
4a2014e10d
|
feat(wip): 上傳文件
|
2025-09-23 23:29:20 +08:00 |
|
CrescentLeaf
|
a01a64116f
|
feat(wip): markdown 解析
|
2025-09-23 23:28:54 +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
|
14f5bbfec9
|
feat: 適配移動端界面
|
2025-09-23 17:44:10 +08:00 |
|
CrescentLeaf
|
5d5b04ba05
|
refactor: 重構 對話 成員的儲存邏輯
* 使用關聯資料庫, 鏈接 user_id 和 chat_id
|
2025-09-23 09:20:30 +08:00 |
|
CrescentLeaf
|
0ef2859291
|
feat(wip): 上傳圖片等多媒體文件
|
2025-09-23 00:27:57 +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
|
184a80436d
|
feat: 自動在重連時進行身份驗證
|
2025-09-22 23:06:24 +08:00 |
|
CrescentLeaf
|
2de4d3548d
|
feat: 視情況 自動滾動到最新消息
|
2025-09-22 23:06:01 +08:00 |
|
CrescentLeaf
|
fc197ea41a
|
feat(ui): 拉到最頂部加載更多消息
|
2025-09-22 23:05:21 +08:00 |
|
CrescentLeaf
|
43385780f8
|
fix: 打開對話后不會自己滑動到底部
|
2025-09-22 19:39:53 +08:00 |
|