Commit Graph
155 Commits
Author SHA1 Message Date
Austin 64037863ef feat: 添加毛隅管理模块的后台接口与菜单权限 2026-10-15 18:20:26 +08:00
Austin db2eb62277 fix: 删除过时的im_filemsglinks_msgid_bigint.sql文件
该文件是用于修复msgid字段类型从INT改为BIGINT的遗留SQL脚本,在完成数据库字段变更后已不再需要,删除后可避免后续误用该过时脚本。
2026-10-13 17:07:30 +08:00
Austin a3527a6d22 fix: 将 im_filemsglinks.msgid 字段类型从 INT 修改为 BIGINT
该字段原类型为 INT,最大值仅为 2147483647,而消息 ID 是雪花算法生成的 int64 类型值,插入时会超出范围导致失败。失败的 Kafka 消息持久化消费者会无限重试,阻塞分区及后续消息的持久化。此修改适用于 2026-10-13 之前部署的所有环境,全局非租户分片表仅需执行一次。
2026-10-13 15:39:49 +08:00
Austin 8d6618dac1 feat: 新增毛隅手记服务内部管理接口客户端及配置
新增 maoyuAdminApi 配置段到模板和示例配置,实现 maoyuadmin 客户端,包含请求签名、响应解析等功能,配套单元测试
2026-10-12 17:40:59 +08:00
Austin 2c5995073f feat: 新增禾圃集应用版本更新管理功能
新增禾圃集应用(appCode=garden)的版本策略管理功能,包括后端接口、前端API、页面路由、数据库迁移及相关常量配置,支持对不同平台和渠道的版本策略进行增删改查操作,与现有讯工捷使(appCode=im)版本管理功能保持一致的架构和交互逻辑。
2026-10-12 15:31:11 +08:00
Austin 315d97895b docs(cultivate/flowers): 更新阶段规则相关文本描述
修正了非 bloom 阶段规则的校验注释和错误提示文本,同时更新了编辑页的输入标签和占位符文本,使表述更准确对应后端校验逻辑。
2026-10-10 11:57:03 +08:00
Austin 3834af70b5 style(flowers): update modal selector to fix style priority issue
修改弹窗样式选择器,提升优先级以覆盖 naive-ui 运行时注入的固定宽度样式,解决 Teleport 弹窗的样式覆盖问题。
2026-10-10 10:26:02 +08:00
Austin 667e62e97e feat(cultivate): 添加花朵阶段中文标题并优化编辑页展示
新增阶段中文名映射及转换函数,用于显示更友好的阶段名称
在编辑页中应用阶段标题,同时调整下一阶段输入框为只读展示
优化弹窗宽度样式,适配不同屏幕尺寸
2026-10-10 10:08:22 +08:00
Austin 55ae8b2acd feat(cultivate-flower): 新增等待时长字段并更新阶段规则校验逻辑 2026-10-08 12:47:17 +08:00
Austin 5a7d8407bc refactor(web): 注释通知相关代码并添加临时注释说明
注释右上角通知铃铛及实时推送相关代码,添加说明后续恢复时取消注释
2026-09-30 15:37:33 +08:00
richjohnrambo 837a03a87e fix: cap mysql connection pool 2026-09-27 18:36:00 +08:00
richjohnrambo 0edbc63bc1 fix: keep tenant option list request 2026-09-25 23:31:33 +08:00
richjohnrambo 9e01f95a61 fix: allow bound tenant option loading 2026-09-25 23:27:11 +08:00
Austin fce8dbbe32 fix: backfill tenant via useForm channel and skip empty-tenant watch on search reset
- imSearchReset now receives setFieldsValue from useForm() instead of the
  template ref instance method, which was unreliable for backfilling tenantId
- imUser/imSensitiveWord watches skip tenantId<=0 so reset no longer fires
  policy-group/group requests that get rejected with empty tenant
- loadImTenantOptions wraps platform-branch TenantList in try/catch so a
  failed request no longer aborts page initialization
2026-09-24 20:32:32 +08:00
Austin 43f3581b1c fix: restore tenant filter on search reset in IM pages
BasicForm resetFields clears tenantId along with other fields, so the
auto-query after reset hit the empty-list guard (or was rejected by the
backend). Add a shared imSearchReset handler in imTenantOptions.ts that
refills the tenant select with its first option (bound users keep their
own tenant) before reloading, and wire it into the 9 IM list pages whose
reset did not already refill the tenant condition.
2026-09-24 17:02:08 +08:00
richjohnrambo 9924c1e522 fix: restore lockscreen timeout to 72 hours 2026-09-24 01:31:41 +08:00
richjohnrambo e87ac92cd1 Revert "refactor: 移除锁屏功能相关代码"
This reverts commit e002e45f82.
2026-09-24 01:30:49 +08:00
richjohnrambo e24a04a920 fix: prevent admin bootstrap merge helper race 2026-09-24 01:20:59 +08:00
richjohnrambo 32017a2fbf fix: avoid stale admin asset cache 2026-09-24 01:01:57 +08:00
richjohnrambo 369898bd7c feat: integrate cultivate admin internal APIs 2026-09-24 00:02:27 +08:00
Austin e002e45f82 refactor: 移除锁屏功能相关代码 2026-09-23 17:39:18 +08:00
richjohnrambo abadcceb19 feat: initialize shared tenant workbench data 2026-09-23 17:04:30 +08:00
Austin 5a07f63716 feat: 添加实时锁定状态控制解锁按钮显示
添加实时锁定状态字段到登录失败日志模型
并修改解锁按钮仅在账户当前仍锁定时显示
2026-09-23 13:18:35 +08:00
richjohnrambo 6c338626d6 fix: validate im registration platform role 2026-09-23 02:51:58 +08:00
richjohnrambo 22adc13acf feat: shard tenant topic and membership tables 2026-09-23 02:14:13 +08:00
richjohnrambo 432e7ac51a fix: keep only realname review policy on tenant 2026-09-23 02:06:52 +08:00
richjohnrambo dd12dbfe07 fix: cache admin permissions in redis 2026-09-23 00:30:40 +08:00
richjohnrambo 4fbc896d75 fix: sync tenant entry menu casbin rules 2026-09-23 00:07:20 +08:00
richjohnrambo 603e89e204 fix: query tenant entry tables without prefix 2026-09-22 23:52:08 +08:00
richjohnrambo abd5eb162a feat: add tenant entry application pages 2026-09-22 23:17:55 +08:00
Austin 935bfe17a0 fix(admin/member): 允许校验租户时包含初始化状态
修改租户校验逻辑,将允许的租户状态从仅活跃态扩展至包含初始化态,确保新建商户创建管理员操作正常完成
2026-09-22 19:38:54 +08:00
Austin 671ac2e1f7 fix(security-policy): 修复策略保存时租户行更新时间与事件投递阻塞问题
调整策略保存时的租户表更新逻辑,显式赋值updated_at避免自动填充干扰
修改策略变更事件投递逻辑,失败时仅告警审计不阻塞主流程
新增租户无策略时加载模板初始化配置的逻辑,提升默认策略灵活性
2026-09-22 19:08:53 +08:00
Austin dc3c45cd53 feat: 将安全策略模板化,新建商户时自动复制初始策略 2026-09-22 18:32:08 +08:00
richjohnrambo 9a9e30f94e feat: add tenant list id sorting 2026-09-22 17:32:08 +08:00
richjohnrambo 85b564e2ac refactor: merge tenant configuration into tenant registry 2026-09-22 16:47:40 +08:00
richjohnrambo 851eca97ed feat: support shared tenant database sharding 2026-09-22 15:21:34 +08:00
Austin 0596599db9 feat: add tenant bound restriction for IM dashboard and management pages
1. extract isTenantBound utility from user store logic
2. add disabled state to tenant select components across all IM pages
3. update policy tenant options logic to hide global option for bound tenants
4. add backend scope validation for IM admin operations
2026-09-22 11:34:40 +08:00
Austin 40ac52923e feat(imTenant): 新增商户管理员账号查看与密码修改功能
1.  新增编辑页管理员账号展示与密码修改字段,仅编辑态可见
2.  新增商户管理员密码重置逻辑,完善编辑场景密码校验
3.  补充超管可见控制:业务库、连接串、管理员信息非超管脱敏
4.  修复schema未使用响应式值的问题
2026-09-21 18:44:37 +08:00
Austin c9673ca871 feat: 新增商户管理员账号自动创建功能,优化租户权限控制
1.  后端实现租户创建时自动绑定创建管理员账号,支持超管/普通管理员权限区分
2.  前端适配超管权限控制业务库名、连接串等敏感字段展示与编辑
3.  优化租户数据库回退逻辑,未配置独立库时自动回落默认库
4.  调整租户列表与详情页的权限数据脱敏逻辑
2026-09-21 17:50:38 +08:00
Austin 197c6c86f4 fix: 修复多页面租户未就绪时表格提前请求问题,优化登录审计相关文案与列宽
1. 为imSensitiveWord、imUserPolicyGroup、imSecurityPolicy页面添加租户ID校验,避免表格挂载时因租户默认值未就绪发起无效请求
2. 更新imLoginFailureLog、imUserLoginHistory的搜索占位符与账号列宽
3. 修正后端登录审计相关结构体的字段注释描述
2026-09-21 16:25:12 +08:00
Austin a2f328f97e style(im/registrationInvite): 调整绑定用户提示的插槽封装与样式
将绑定用户未验证提示调整为插槽形式,并移除冗余的样式配置
2026-09-21 14:57:49 +08:00
Austin c4ab970fb7 fix(im/registrationInvite): add input verification for bound user search
1. add computed state to check if bind user input is unverified
2. disable confirm button and show warning tip when input is unverified
3. track last searched keyword to validate user input
4. add submission guard to prevent unvalidated submissions
2026-09-21 14:45:10 +08:00
Austin 8fad32e396 docs: update IM login lock error prompt copy and description
修正登录锁定错误提示文案,补充完整的时长格式化规则,更新示例文案匹配新规则
2026-09-21 13:57:53 +08:00
Austin 6f331a07fc style(imTenant): adjust action column width to 320px
widen the operation column to fit longer action buttons properly
2026-09-21 13:27:52 +08:00
Austin b4174a6412 feat: 新增IM联系我们字典配置,优化用户搜索与邀请绑定功能
1. 优化IM用户列表搜索逻辑,支持长数字用户ID精确匹配
2. 修复前端雪花ID精度丢失问题,改用字符串传输用户ID
3. 新增邀请码批量绑定用户功能,支持搜索绑定指定用户
4. 新增字典配置接口,新增联系我们字典SQL脚本
5. 完善字典数据变更事件推送,优化弹窗关闭与页面刷新逻辑
2026-09-21 13:11:08 +08:00
Austin 0381984939 Merge branch 'dev' of https://git.118im.com/im_team/im_manager into dev 2026-09-21 09:28:09 +08:00
Austin 6348ace38e feat(im security): add login failure lockout configuration feature
1. add APIs for login lockout config get and save
2. add backend service and controller for login lockout config
3. refactor frontend to separate login lockout config from main policy
4. update default login lockout policy values
5. add permission sql and docking documentation
2026-09-21 09:28:03 +08:00
richjohnrambo e8dd1eaa7d feat: 增加商户消息加密密钥管理 2026-09-20 23:43:33 +08:00
richjohnrambo 42cfe232fe fix: IM设置菜单更名为平台设置 2026-09-20 22:43:57 +08:00
richjohnrambo 4ae69706a5 fix: 区分IM系统设置菜单标题 2026-09-20 22:31:54 +08:00