变更记录
什么是新的。
平台的每一个改进,随着它的出货。
· kamo-internal
Implement god mode toggle in NavTop
Backend changes (app/api/user-info/route.ts): - Read GD field from Redis session data - Map to isGod in API response Frontend changes (app/hooks/useUserInfo.tsx): - Add isGod field to UserInfo interface - Add getIsGod() method to hook - Export getIsGod for components UI changes (app/components/NavTop.tsx): - Add god mode toggle (purple theme) - Only visible to users with isGod permission (GD=true) - Toggle state stored in localStorage - Independent on/off control for god mode Flow: 1. User has is_god=true in database 2. SecurityService stores GD=true in Redis session 3. /api/user-info returns isGod=true 4. NavTop shows god mode toggle 5. User can enable/disable god mode (UI state only) Two-level permission: - isGod: Permission to SEE the toggle (from database) - godModeActive: Current UI state (localStorage)
· SecurityService
Implement god mode permission in sessions
Changes to SecurityController: - Query is_god field from users table during login - Pass isGod to kSessionService.createSession Changes to KSessionService: - Add isGod parameter to createSession method - Store as 'GD' field in Redis session data - GD field indicates if user has god mode permission Flow: 1. User logs in → Query is_god from database 2. Create session in Redis with GD parameter 3. Frontend reads GD to show/hide god mode toggle 4. God mode toggle state managed separately in UI This implements the god mode permission system.
· kamo-shared-library
添加为 God 字段到 User. java 以获取 God 模式权限
- 添加有数据库默认错误的行为: - 字段表示用户能否访问UI中的神模式切换 - 用于创建安全服务会话,以填充GD参数 - 神模式部分特性执行
· SecurityService
Add titleShort to organization API response
- Added titleShort field to /org/domain/{domain} endpoint response - Enables frontend to display organization's short name in UI - Used in session expiration warning and other dynamic org branding
· kamo-internal
Dynamically show org short name in session warning
- Added titleShort property to Organization class - Updated SessionExpirationWarning to use organization's short name - Changed text from 'Kamo applications' to '{Org Short Name} applications' - Falls back to full title or 'Kamo' if short name unavailable - Uses useOrgContext to access organization data
· kamo-internal
Double-check Redis before showing session warning
- Always verify Redis TTL right before showing expiration warning - Prevents false warnings if another Kamo app extended the session - Ensures warning popup only shows when Redis confirms expiration is imminent - Works with sliding expiration implemented in SecurityService
· SecurityService
执行滑动会话到期 - 届会
- 刷新 Redis TTL 对每次会话的访问(滑行到期) - 只要用户在任何 Kamo app 中活动,会话就保持活性 - 将 Redis 密钥前缀从会话更改为 ***( matches cookie name) - Redis 对象 TTL 是会话到期的唯一真理来源 - Cookie过期现在没有意义了 - Redis控制会话寿命
· kamo-internal
Integrate session debug functionality into root dashboard
· SecurityService
为跨应用程序会话管理添加会话信息并扩展结束点
· kamo-internal
Add session expiration warning system with Redis-based monitoring and animated popup
· kamo-internal
Read timezone from *** cookie instead of making API calls
· SecurityService
更新 KTokenSession Service 以接受 *** cookie 的时区参数
· kamo-shared-library
在 KToken 中添加时区( TZ) 字段, 用于用户特定的时区支持 *** cookie
· kamo-internal
Implement timezone service with IANA zone ID support to fix 'Invalid time zone' error
· SecurityService
用成员->用户->组织级联添加有效的时区终点
· kamo-login
添加独立输出模式并扩展远程图像模式
· kamo-register
优化 Dockerfile 用于生产,下一步是多阶段构建并更新. 独立模式的配置
· kamo-register
点击已禁用的文本框时自动启用昵称字段
· kamo-register
重新设计带有前缀/后缀下拉和昵称复选框的名称细节
· SecurityService
为名称前缀和后缀添加端点
· kamo-shared-library
添加带有国际标题的名称 PrefixType 和 NameSaftixType enum
· kamo-register
完全重新设计带有现代和被打磨过的UI的不良页面
· kamo-register
通过现场搜索增强国家选择器并改善互动性
· kamo-register
过滤被禁国家, 如果检测到, 则重定向到错误的页面
· SecurityService
Add countries endpoint to return list with banned status
· kamo-shared-library
30个受制裁国家,包括古巴、伊朗、朝鲜、叙利亚、俄罗斯、白俄罗斯和巴尔干地区,将禁地添加到国家Type enum
· SecurityService
Comprehensively enhance all 18 custom language phonetic patterns for better word generation
· SecurityService
Implement multi-language BIP39 seed phrase generation with official word lists and custom phonetic patterns for 26 languages
· kamo-register
在“账户恢复”页面上添加多语言种子词支持, 语言下拉, 默认为用户的国语
· SecurityService
Add MultiLanguageSeedPhraseService with web3j for multi-language seed phrase generation, update RecoveryController with language support
