Commit Graph
238 Commits
Author SHA1 Message Date
richjohnrambo 0f8e3b82b7 feat: enforce tenant content moderation 2026-09-16 22:21:25 +08:00
richjohnrambo 0ae4af0c31 fix: fan out receipts and align tenant schema 2026-09-16 22:09:52 +08:00
richjohnrambo 6729f40665 fix: sync topic sequence after server data 2026-09-16 16:21:53 +08:00
richjohnrambo 7461216c03 feat: merge registration invite and verification input 2026-09-16 14:29:59 +08:00
richjohnrambo 370e9878ed fix: notify p2p message mutation on user channel 2026-09-16 13:49:33 +08:00
richjohnrambo fa95dd72af fix: 后台登录审计查询按字符串返回用户ID 2026-09-16 13:39:50 +08:00
richjohnrambo 1038d25abd fix: 后台消息查询按字符串返回用户ID 2026-09-16 13:24:02 +08:00
Austin a01cdae971 fix(realtime): evict fanout 增加时效校验,防止延迟重放误踢新登录
deliverRealtimeSessionControl 分发前校验 Ctrl.Timestamp,超过 10s 的 session-control(evict)消息直接丢弃并记 skip_stale 指标,避免 consumer 重启重放 PEL / stream 积压时旧消息的 skipSid 与新会话不符导致新登录被误踢。无时间戳消息放行以兼容旧发布方。

验证:TestRealtime 3/3、regression_kick_notification 14/14、regression_mobile_kick 21/21。
2026-09-16 13:22:47 +08:00
richjohnrambo c0ab94723c fix: 后台用户查询按字符串返回用户ID 2026-09-16 13:10:37 +08:00
Austin 846615db69 Merge branch 'dev' of https://git.118im.com/im_team/im_server into dev 2026-09-16 10:23:33 +08:00
Austin 4280b535c2 feat(session): 实现同平台抢登互踢功能,优化会话踢下线逻辑
新增同平台会话踢下线能力,将iOS/Android/mobile归为同一移动分组,web仅匹配web;扩展会话存储接口支持按平台、带原因踢除会话,同步更新集群广播逻辑与各调用点,统一传递踢下线原因参数
2026-09-16 10:23:27 +08:00
richjohnrambo 68b196215f fix: keep upload urls unchanged 2026-09-16 09:56:15 +08:00
richjohnrambo 1de69fcc5b fix: force file urls to https 2026-09-16 09:52:55 +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 b7c2536527 fix: persist group join system notices 2026-09-15 19:20:07 +08:00
Austin dbb0a06db0 fix: 修复P2P主题别名订阅的兼容性问题
1. 订阅重复检查新增Original与RcptTo匹配判断,避免别名订阅误判已订阅
2. 重构订阅get查询处理逻辑,提取为独立函数
3. 针对P2P别名订阅场景返回200响应而非304,帮助客户端完成别名到标准主题名的重命名,避免发布失败
4. 优化群摘要接口的权限校验和异常处理逻辑
2026-09-15 18:53:49 +08:00
richjohnrambo 563ae9ee5e fix: fanout p2p system notices to users 2026-09-15 17:58:55 +08:00
richjohnrambo e29b5d3589 test: cover blocked profile visibility 2026-09-15 16:02:36 +08:00
richjohnrambo 152e2402fa fix: allow members to query own group mute 2026-09-15 15:55:13 +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 4f6a996922 feat: support batch message recall 2026-09-15 10:46:07 +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 15abc1b6e8 fix: bake test middleware config 2026-09-14 23:59:35 +08:00
richjohnrambo 0cf2fb61a7 fix: restore docker middleware env config 2026-09-14 23:52:00 +08:00
richjohnrambo 5384a8fa7b fix: avoid profile default hot path writes 2026-09-14 23:34:22 +08:00
richjohnrambo fca0a5baf9 fix: keep friend request success when event publish fails 2026-09-14 23:29:33 +08:00
richjohnrambo 40510a616e fix: bake test middleware config into image 2026-09-14 23:28:07 +08:00
richjohnrambo 7196d0c839 fix: include jpush handler in docker config 2026-09-14 21:09:28 +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 275c9e5fcd fix: avoid auth version hot path writes 2026-09-14 19:04:36 +08:00
richjohnrambo 02eddb6010 fix: accept jpush token metadata fields 2026-09-14 17:34:12 +08:00
richjohnrambo 2581d7b8f0 fix: support account creation on pxc 2026-09-14 14:26:29 +08:00
richjohnrambo 8f849efc25 chore: point test config to new middleware 2026-09-14 13:58:08 +08:00
richjohnrambo 1c7417b8f3 fix: support legacy auto ids during registration 2026-09-14 12:35:00 +08:00
richjohnrambo 6f8933c35a fix: avoid main call timeout dependency 2026-09-14 12:18:05 +08:00
richjohnrambo 789e662bdb fix: expire stale call pushes 2026-09-14 12:11:43 +08:00
richjohnrambo 4854e090ef fix: harden group lifecycle and registration writes 2026-09-14 12:04:10 +08:00
Your NameandClaude Sonnet 5 990526647c ci: retarget deploy workflow at the k3s test cluster
Old VM's blue-green im-server is decommissioned. App config
(MySQL/Redis/API key/admin-internal secrets) now lives in the
cluster's own Deployment manifest, not injected through CI --
this workflow's job is just build (from source, via
docker/tinode/Dockerfile.build as before), push under :test,
and roll the deployment.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 05:41:03 +08:00
richjohnrambo 67e8c2c6f6 feat: add workbench kafka migration support 2026-09-13 22:17:02 +08:00
richjohnrambo c46cb4b382 fix: join group directly when invitation needs no approval 2026-09-13 17:21:21 +08:00
richjohnrambo 7b304412b0 fix: repair group management edge cases 2026-09-13 16:04:31 +08:00
richjohnrambo a9afc6ff6a fix: align group management APIs 2026-09-13 16:03:55 +08:00
richjohnrambo f1279ac607 fix: preserve p2p topic for IM system notices 2026-09-13 16:00:58 +08:00
richjohnrambo ccbd385d2f chore: disable runtime mysql schema creation 2026-09-13 13:56:24 +08:00
richjohnrambo eefc3c2fbd fix: add group mute all system notice 2026-09-13 13:12:42 +08:00