Commit Graph

527 Commits

Author SHA1 Message Date
CrescentLeaf
62ee2ef01f feat(wip): 帐号设定 2025-10-26 15:16:29 +08:00
CrescentLeaf
04125a1495 feat(wip): 重设密码 2025-10-26 15:16:20 +08:00
CrescentLeaf
110a90ed7a feat: 重连服务器提示 2025-10-26 15:13:40 +08:00
CrescentLeaf
bfc14777be feat: 检验是否能请求加入对话 2025-10-26 14:24:26 +08:00
CrescentLeaf
4e34e70a11 feat: 手动刷新对话页面 2025-10-26 14:24:06 +08:00
CrescentLeaf
2d2bc7be83 ui: 请求加入对话的组件状态跟随群组设定 2025-10-26 14:23:56 +08:00
CrescentLeaf
5d6c4d6660 fix: 错误的使用 admin 表名, 应为 getJoinRequestsTableName 2025-10-26 14:19:05 +08:00
CrescentLeaf
ab8895b008 fix: 退出登录失败 2025-10-26 14:04:07 +08:00
CrescentLeaf
d5e349ee88 feat: 通知 2025-10-25 01:23:41 +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
afd9193dea ui: 暂时隐藏未制作的功能 2025-10-24 22:01:17 +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
e18024b851 chore: 移除调试代码 2025-10-24 21:24:36 +08:00
CrescentLeaf
1dfe702c58 refactor: 对对话文件的真实地址获取重构
* 顺带引入了 tws://file?hash= 协议, 以后会填坑
2025-10-24 21:22:41 +08:00
CrescentLeaf
04a63ced87 ui: 修改 chat-file 的卡片样式 2025-10-24 21:21:33 +08:00
CrescentLeaf
50e3e21634 ui: 对富文本的纯文件消息进行显示优化
* 唉太难弄了, 那边距可太恐怖了
2025-10-24 21:21:12 +08:00
CrescentLeaf
5e5436b02c chore: make lint happy 2025-10-24 20:31:49 +08:00
CrescentLeaf
72016c5da1 refactor: avatar_file_hash instead of avatar 2025-10-24 20:29:51 +08:00
CrescentLeaf
bef6e88bf7 chore: make lint happy 2025-10-24 20:23:05 +08:00
CrescentLeaf
3789e476f7 chore: make lint happy 2025-10-24 20:22:18 +08:00
CrescentLeaf
ba71d66db8 feat: 加入对话请求 2025-10-19 18:23:46 +08:00
CrescentLeaf
af55143292 只有不是对话成员时才不会加载消息呢 2025-10-19 15:18:16 +08:00
CrescentLeaf
b824186c37 移除无用代码 2025-10-19 15:12:01 +08:00
CrescentLeaf
5034eb1da5 添加是否为成员和是否为管理员的字段 2025-10-19 15:11:40 +08:00
CrescentLeaf
5e44a273fc 添加初始化对话默认字段 2025-10-19 15:10:35 +08:00
CrescentLeaf
484381c6e5 local const 得到的 chatInfo 而不是使用旧的 state 2025-10-19 15:10:23 +08:00
CrescentLeaf
349e0933c3 移除 caused_by 史山 2025-10-19 15:09:41 +08:00
CrescentLeaf
08556c9d40 非对话管理员不得更改设定 2025-10-19 15:09:12 +08:00
CrescentLeaf
687bc7a9aa 加长 timeout 时间 2025-10-19 14:52:45 +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
ab1ef2c30b 修改配置失败时配置回退 2025-10-08 15:14:22 +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
5b64c6adcf feat(wip): 入群需要审批 2025-10-08 15:12:46 +08:00
CrescentLeaf
dd42f5e54e fix: 不能正常显示系统消息 2025-10-08 15:00:31 +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
9cb71af85b feat: get old value of preference when is was updated 2025-10-08 14:41:45 +08:00
CrescentLeaf
241ff714b8 fix: 对话页面 2025-10-08 12:25:33 +08:00
CrescentLeaf
db43de19c4 fix: 配置组件没有正确同步状态
* 问题出在我应该根据 State 决定组件状态而不是组件状态决定 State
* 踩坑了, 浪费我时间, 唉
2025-10-08 12:24:33 +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