Commit Graph
75 Commits
Author SHA1 Message Date
richjohnrambo e4416da04a fix im server shared database config 2026-09-22 16:45:24 +08:00
Austin 7829990180 feat: 添加联系我们配置接口和字典配置缓存
1. 新增DictionaryItem字典配置结构体
2. 添加字典配置缓存及失效逻辑
3. 实现联系我们接口的业务逻辑和测试用例
4. 注册联系我们API路由
5. 集成字典配置到admin内部客户端
6. 处理字典配置更新的kafka事件
2026-09-21 13:11:42 +08:00
richjohnrambo e3b93113f1 feat: 接入消息加密与实名认证能力 2026-09-21 09:53:39 +08:00
Austin 841c0c77cd feat: 实现登录失败锁定功能
新增了登录失败次数统计和临时锁定机制,包括:
1. 定义登录锁定数据结构和数据库表结构
2. 实现租户级别的锁定状态持久化接口
3. 添加登录速率限制安全策略配置
4. 在登录流程中加入锁定前置检查和失败计数逻辑
5. 提供管理员手动解锁的内部API接口
6. 新增中文本地化的锁定提示文案
2026-09-20 17:08:38 +08:00
Austin 753a04ed12 fix: broadcast offline presence as soon as the last session drops
Logout left contacts seeing the user online until the me topic idle timeout
fired presUsersOfInterest(off), and even that frame was silently dropped
for p2p routes by handlePresence's xoriginal check. MarkUserOffline now
returns the remaining session count and cleanUp notifies users of interest
immediately once it hits zero; p2p presence is delivered straight to the
contact's me topic, mirroring presSingleUserOffline. Zentao #22.
2026-09-18 17:42:18 +08:00
richjohnrambo 3a92d81fca feat: enforce friend add and curfew policies 2026-09-18 10:55:53 +08:00
richjohnrambo 0e2f4e73d1 refactor: remove workbench code from im server 2026-09-17 23:38:44 +08:00
richjohnrambo 50f8581667 fix: resolve im backend issue list regressions 2026-09-17 14:59:16 +08:00
richjohnrambo 816be46e03 fix: fan out unread presence to online sessions 2026-09-17 10:24:39 +08:00
richjohnrambo 0f8e3b82b7 feat: enforce tenant content moderation 2026-09-16 22:21:25 +08:00
richjohnrambo 9626e8ee7c fix: invalidate group settings cache on membership changes 2026-09-16 01:03:40 +08:00
richjohnrambo 139681fadb feat: shard group messages by month 2026-09-15 23:53:51 +08:00
richjohnrambo bc27a5c574 feat: add message mutation sync 2026-09-15 15:54:52 +08:00
Austin 55afd976c9 fix(server): 修复群组权限缓存与解散群问题
1. 新增group事件处理逻辑,实时刷新内存中的群组权限与状态
2. 加载topic时过滤已解散的群组,防止被旧成员恢复
3. 补充群成员离开事件的用户ID字段,完善事件处理
2026-09-15 15:18:14 +08:00
Austin 5dd0a42002 fix: harden message seq allocation against stale redis replicas
- use sentinel failover client for group message runtime when
  sentinel_master_name/sentinel_addrs are configured, so seq counter
  reads never hit a stale replica after failover
- re-seed missing redis seq counter from DB topic seqid instead of
  trusting the caller in-memory baseline
- on unique-key conflict during async persist, re-allocate seq from DB
  latest, bump redis counter and fix the idempotency record so resends
  with the same client mid return the final seq
- add uk(topic, seqid) unique keys for im_messages in tenant DDL
2026-09-15 12:41:38 +08:00
richjohnrambo 9ec5da5b02 fix: persist login sessions for workbench auth 2026-09-15 10:23:47 +08:00
richjohnrambo ef8091d805 fix: reject friend request to missing user 2026-09-15 00:48:36 +08:00
richjohnrambo 79babdb6aa fix: scope realtime fanout dedup per node 2026-09-14 20:15:22 +08:00
kk123kk123 6291fa2b60 feat(群组): 添加群组解散状态支持与过滤逻辑
新增群组解散状态常量,在群组列表和详情接口中增加解散群组的过滤和报错处理,避免返回已解散的群组数据
2026-09-14 20:06:41 +08:00
richjohnrambo 02eddb6010 fix: accept jpush token metadata fields 2026-09-14 17:34:12 +08:00
richjohnrambo 4854e090ef fix: harden group lifecycle and registration writes 2026-09-14 12:04:10 +08:00
richjohnrambo a9afc6ff6a fix: align group management APIs 2026-09-13 16:03:55 +08:00
richjohnrambo e5fbca735d feat: centralize app release configuration 2026-09-12 17:07:49 +08:00
richjohnrambo ca3957e3b3 feat: support group invite privacy verification 2026-09-12 11:20:48 +08:00
richjohnrambo 367bed2940 fix im workbench and profile regressions 2026-09-11 17:25:24 +08:00
richjohnrambo b9dc56eccf feat: auto-friend invite bound users 2026-09-11 10:46:20 +08:00
richjohnrambo 926b4bbd81 fix im forwarding and message list regressions 2026-09-11 09:00:38 +08:00
richjohnrambo 1f3a98605e fix im heartbeat and friend display name 2026-09-10 15:23:27 +08:00
richjohnrambo 6b2f1e06e0 feat: implement precise token logout 2026-09-10 09:43:02 +08:00
richjohnrambo 45c6c7eacb fix: avoid admin dependency on login entrypoints 2026-09-09 15:19:13 +08:00
richjohnrambo 9159ec7fc7 feat: add IM service health and metrics endpoints 2026-09-09 14:24:40 +08:00
richjohnrambo 9ac2b412cc fix: 优化群成员分页并补齐头像资料 2026-09-09 09:38:20 +08:00
richjohnrambo 0b3c0b1c78 fix: resolve P1 backend consistency issues 2026-09-08 16:23:21 +08:00
richjohnrambo 06945a4050 fix: 统一用户资料投影并放开头像访问 2026-09-08 15:26:05 +08:00
richjohnrambo 8a9e202b56 Preserve uploaded file extensions 2026-09-07 16:13:20 +08:00
richjohnrambo 6b20a633ce feat: 接入后台消息治理与登录审计 2026-09-07 11:53:24 +08:00
richjohnrambo 7a1647bf17 Fix bootstrap meeting unread counts 2026-09-05 18:31:13 +08:00
richjohnrambo baf15848d3 feat: add meeting notes backend 2026-09-05 17:55:27 +08:00
richjohnrambo 9e290b76b3 feat: add jpush push handler 2026-09-05 17:06:59 +08:00
richjohnrambo efbfb7556a Fix P2P message duplicate seq retry 2026-09-04 20:15:25 +08:00
richjohnrambo 4ad6ca00b4 Prevent Redis message seq regression 2026-09-04 16:39:32 +08:00
richjohnrambo 7fb1ea70bc Sync profile source and message topic seq 2026-09-04 16:06:57 +08:00
richjohnrambo a0bd0b0649 Fix Kafka message seq idempotency 2026-09-03 13:21:26 +08:00
richjohnrambo 256f768d15 fix: allow group avatar uploads 2026-09-03 11:52:06 +08:00
richjohnrambo 929f847003 Refactor Kafka publishing without DB outbox 2026-09-01 23:00:14 +08:00
richjohnrambo edced2675b feat: add conversation system action messages 2026-09-01 13:12:24 +08:00
richjohnrambo cb7dc36cad feat: add attendance APIs 2026-08-31 13:27:12 +08:00
richjohnrambo 9f647de4d0 feat: switch client API branding to MeetingIM 2026-08-31 01:22:53 +08:00
richjohnrambo 42916b85aa Fix meeting list and media search issues 2026-08-29 09:46:50 +08:00
richjohnrambo 4ea828fb09 fix: tolerate retried internal api nonce 2026-08-28 10:43:01 +08:00