Commit Graph

194 Commits

Author SHA1 Message Date
CrescentLeaf
59191cc42e feat: 查看自己所有的对话 2025-11-23 12:32:59 +08:00
CrescentLeaf
1e7e175389 feat: 删除群成员组 2025-11-22 21:50:08 +08:00
CrescentLeaf
da4325475c 为数据库创建索引 2025-11-22 01:29:49 +08:00
CrescentLeaf
4cb7522251 feat: 群组成员列表 2025-11-22 01:25:29 +08:00
CrescentLeaf
578b3507fd 更新接口定义 2025-11-21 23:44:52 +08:00
CrescentLeaf
b976fed8e7 为 用户-对话 关联表添加索引 2025-11-21 23:15:11 +08:00
CrescentLeaf
e1039703d1 修改控制台提示 2025-11-16 21:59:52 +08:00
CrescentLeaf
f0ca0fbbd4 feat: 全新的客户端协议库! 2025-11-09 01:00:01 +08:00
CrescentLeaf
cfe8df43d1 为 MessageBean 添加 chat_id 字段?
* 不知道有没有用, 有可能会被移除
* 有可能是史山
2025-11-09 00:32:05 +08:00
CrescentLeaf
27035eb2ca fix: 更新头像 file_hash 忘记检测 target 存在与否 2025-11-08 23:06:19 +08:00
CrescentLeaf
bc386908f7 fix: typo 2025-11-08 18:03:19 +08:00
CrescentLeaf
230cc08182 fix&rename: 重命名中间件, 上传文件中间件没能执行下一个函数 2025-11-01 19:56:49 +08:00
Tianpao
ed5e962370 refactor: middleware 2025-11-01 04:19:17 +08:00
CrescentLeaf
8891cd23af fix: 文件最后使用时间 2025-11-01 01:13:33 +08:00
CrescentLeaf
661cebdb24 chore: 补充所需要的方法 2025-11-01 01:13:17 +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
7409427ce5 chore: 修改 Socket.io Server 初始化参数 2025-10-31 21:56:51 +08:00
CrescentLeaf
7bc843d440 feat: 通过设置 token 到 Headers 获取文件 2025-10-31 21:55:54 +08:00
CrescentLeaf
5469ff6826 若factor: addContact -> s 2025-10-26 23:02:56 +08:00
CrescentLeaf
ab96ef889d fix: 当用户名没有被修改时, 忽略修改操作 2025-10-26 21:20:11 +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
5d6c4d6660 fix: 错误的使用 admin 表名, 应为 getJoinRequestsTableName 2025-10-26 14:19:05 +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
4807038619 fix: Chat 中的列命名错误
*  avatar avatar_file_hash
2025-10-24 21:55:06 +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
306bfa2b82 refactor: ChatAdmins stored in Chat.db 2025-10-19 11:27:54 +08:00
CrescentLeaf
506790aefa remove: caused_by 字段 2025-10-19 11:27:24 +08:00
CrescentLeaf
61bc1a265c fix: 由于系统消息没有发送者导致的 NOT NULL 错误 2025-10-08 15:13:56 +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
e46661ba15 feat(wip): Chat admin 2025-10-08 14:47:27 +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
aeafcb5b97 feat(WIP): 对话管理员 2025-10-08 02:51:25 +08:00
CrescentLeaf
e666dc573a chore: 移除分号 2025-10-08 01:12:05 +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