CrescentLeaf
|
bc386908f7
|
fix: typo
|
2025-11-08 18:03:19 +08:00 |
|
CrescentLeaf
|
8b3b32422f
|
refactor: 使用表单进行文件上传!
* 可以上传大文件啦
* 最大限制 2GB
* 后端方法重置
|
2025-11-01 01:12:50 +08:00 |
|
CrescentLeaf
|
bd35f5c3eb
|
chore: 注释
|
2025-11-01 00:06:11 +08:00 |
|
CrescentLeaf
|
5469ff6826
|
若factor: addContact -> s
|
2025-10-26 23:02:56 +08:00 |
|
CrescentLeaf
|
04125a1495
|
feat(wip): 重设密码
|
2025-10-26 15:16:20 +08:00 |
|
CrescentLeaf
|
bfc14777be
|
feat: 检验是否能请求加入对话
|
2025-10-26 14:24:26 +08:00 |
|
CrescentLeaf
|
760e5a118a
|
refactor: 抽离出广播方法
|
2025-10-25 00:48:24 +08:00 |
|
CrescentLeaf
|
2d78e39ca1
|
fix: 添加了新的字段代替 chat id
* 谁又能想到 chat id 的可变性和依赖性恰恰埋下了祸患呢
|
2025-10-24 22:21:28 +08:00 |
|
CrescentLeaf
|
bc7b932c5c
|
feat: 修改对话 ID 对话名称 对话头像
* 仅群组
|
2025-10-24 22:00:22 +08:00 |
|
CrescentLeaf
|
1dfe702c58
|
refactor: 对对话文件的真实地址获取重构
* 顺带引入了 tws://file?hash= 协议, 以后会填坑
|
2025-10-24 21:22:41 +08:00 |
|
CrescentLeaf
|
72016c5da1
|
refactor: avatar_file_hash instead of avatar
|
2025-10-24 20:29:51 +08:00 |
|
CrescentLeaf
|
ba71d66db8
|
feat: 加入对话请求
|
2025-10-19 18:23:46 +08:00 |
|
CrescentLeaf
|
b824186c37
|
移除无用代码
|
2025-10-19 15:12:01 +08:00 |
|
CrescentLeaf
|
5034eb1da5
|
添加是否为成员和是否为管理员的字段
|
2025-10-19 15:11:40 +08:00 |
|
CrescentLeaf
|
5a34054024
|
fix: 限制用户访问任意私聊
|
2025-10-19 11:55:57 +08:00 |
|
CrescentLeaf
|
506790aefa
|
remove: caused_by 字段
|
2025-10-19 11:27:24 +08:00 |
|
CrescentLeaf
|
9c45f3e13e
|
用户可以在不成为成员的情况下查看对话详情
|
2025-10-08 15:13:30 +08:00 |
|
CrescentLeaf
|
23ad29fb2d
|
feat: 添加 caused_by 字段以便客户端知道是什么情况
|
2025-10-08 15:13:11 +08:00 |
|
CrescentLeaf
|
2d7b7818d7
|
chore: 建群时添加一条系统消息
|
2025-10-08 14:56:51 +08:00 |
|
CrescentLeaf
|
c27eb37852
|
fix: wrong status code (400 -> 403)
|
2025-10-08 14:52:01 +08:00 |
|
CrescentLeaf
|
bc48cf801b
|
fix: 创建群组时, 没有任何管理员
|
2025-10-08 14:49:42 +08:00 |
|
CrescentLeaf
|
38c28c3fb6
|
我累了
|
2025-10-08 02:52:02 +08:00 |
|
CrescentLeaf
|
0df1149618
|
FEAT(灵车 WIP): CHAT SETTINGS
|
2025-10-08 02:51:58 +08:00 |
|
CrescentLeaf
|
11362a5689
|
chore: make lint happy
|
2025-10-08 00:55:09 +08:00 |
|
CrescentLeaf
|
7c7e641d1f
|
fix: 遗漏的 return
|
2025-10-08 00:54:46 +08:00 |
|
CrescentLeaf
|
85477fe46e
|
feat: 添加刷新令牌支持
* 服务端: 添加对应的接口, 对原有令牌系统稍有修改, 添加了令牌类型
* 客户端: 自动刷新访问令牌, 登录时顺带获取刷新令牌
|
2025-10-06 17:13:23 +08:00 |
|
CrescentLeaf
|
dced175d7a
|
chore: 统一为简体中文
|
2025-10-06 15:36:12 +08:00 |
|
CrescentLeaf
|
7378024235
|
feat: 添加任意对话, chore: 使用 User.create (createWithUserNameChecked 已移除)
|
2025-10-06 02:11:41 +08:00 |
|
CrescentLeaf
|
449c0a8806
|
feat: 创建群组, impl - 获取群组信息
|
2025-10-06 02:09:30 +08:00 |
|
CrescentLeaf
|
697082193f
|
fix: missing contact type of contactsList
|
2025-10-04 22:18:58 +08:00 |
|
CrescentLeaf
|
a77e22a3ea
|
feat: 从对话详情打开用户详情
|
2025-10-04 15:49:19 +08:00 |
|
CrescentLeaf
|
81cdb4afd9
|
feat: Chat.getIdForPrivate
|
2025-10-04 15:32:29 +08:00 |
|
CrescentLeaf
|
bc08cd3c8c
|
feat: 直接和对方私聊
|
2025-10-04 15:32:11 +08:00 |
|
CrescentLeaf
|
c24078b29d
|
fix: stupid myId instead of targetUserId
|
2025-10-04 15:31:22 +08:00 |
|
CrescentLeaf
|
d6f794a094
|
fix: Chat.getInfo should return id
|
2025-10-04 14:55:06 +08:00 |
|
CrescentLeaf
|
04989762d9
|
feat: 最近对话
|
2025-10-04 14:32:22 +08:00 |
|
CrescentLeaf
|
89db6591a0
|
feat(api): User.getMyRecentChats
|
2025-10-04 14:13:06 +08:00 |
|
CrescentLeaf
|
d173fb7842
|
向消息接收者添加最近对话
|
2025-10-04 14:12:51 +08:00 |
|
CrescentLeaf
|
a1eddf813d
|
chore: declare User.getMyRecentChats
|
2025-10-04 14:11:35 +08:00 |
|
CrescentLeaf
|
5fadb76a20
|
fix: 用戶現在無法任意訪問其他不屬於他的對話
|
2025-10-04 11:52:34 +08:00 |
|
CrescentLeaf
|
8163100559
|
feat: 上报消息时间戳
|
2025-09-30 23:47:49 +08:00 |
|
CrescentLeaf
|
ee8e0e531e
|
fix: 對話中的成員 無法收到更新信息
|
2025-09-25 17:16:20 +08:00 |
|
CrescentLeaf
|
0b1a4a53a5
|
chore: make lint happy
|
2025-09-25 17:14:09 +08:00 |
|
CrescentLeaf
|
c0c6c6ed1c
|
feat: 添加對話
|
2025-09-25 16:51:43 +08:00 |
|
CrescentLeaf
|
d6454f51c8
|
feat: find user by account (aka userName or userId)
|
2025-09-25 14:53:53 +08:00 |
|
CrescentLeaf
|
efc0f49b66
|
feat: 文件權限檢驗
* 基於讀取 Cookie 中的驗證信息
* 因為 ServiceWorker 需要安全的上下文, 而我想要到處可用, 因此暫時折中使用這個辦法
|
2025-09-25 14:19:45 +08:00 |
|
CrescentLeaf
|
692eb3d2a3
|
chore: 將令牌檢測函數移動到 TokenManager
* 這樣才叫 TokenManager 嘛X
|
2025-09-25 14:18:50 +08:00 |
|
CrescentLeaf
|
4fa3e16ab7
|
fix: 令牌驗證額外添加是否為有效令牌
* 如果解密無效, 直接返回一個無效的令牌, 並加以判斷
|
2025-09-25 12:12:12 +08:00 |
|
CrescentLeaf
|
38db2e1310
|
fix: 多個同 DeviceId 不同 Session 的客戶端無法同時收到消息
|
2025-09-24 22:03:23 +08:00 |
|
CrescentLeaf
|
d5fbc490ea
|
feat: 支持發送文件
* 目前還只能拖拽到輸入框
|
2025-09-24 21:33:16 +08:00 |
|