Accept large CockroachDB IDs in org Zod schema
The org ID from unique_rowid() exceeds JS MAX_SAFE_INTEGER, causing z.coerce.number().int() to fail with "too_big". Now accepts number, bigint, or string to han...
Accept UUID strings for feature IDs in org Zod schema
The OrgFeature schema required id to be a coercible integer, but the backend returns UUIDs. This caused a ZodError on every layout fetch, falling back to the ha...
Always refresh org context after any app toggle, not just completed-stage
POS and other non-completed apps also affect the UI (e.g. Pipeline in NavPri). The stage check was preventing the refresh for these apps.
Update all fallback feature lists and gate Pipeline/Chat/LeadStatus
Root cause: layout.tsx and org API route had hardcoded fallback feature lists with only 6 old apps (missing VOIP, AI_SUPPORT, SUPPORT, KB, NOTES, DOCS). When th...
Auto-provision completed-stage app features in org domain endpoint
Moves auto-provisioning from the FeatureController (only hit from the apps settings page) to the SecurityController org domain endpoint (hit on every page load ...
Auto-provision missing completed-stage app features for existing orgs
When listing features, the controller now checks for missing OrgFeature rows for COMPLETED-stage apps and creates them. This ensures orgs created before new app...
Auto-enable all completed-stage apps for new orgs instead of hardcoded list
Replaces hardcoded feature list (which had duplicates and deprecated types) with a loop over all COMPLETED-stage, non-core, non-deprecated ServiceTypes. New app...
Catch all exceptions in FeatureController enable/disable endpoints
Prevents uncaught RuntimeExceptions from becoming opaque 500 errors. Now returns structured error messages for any failure.
Show CC and BCC in sent item email previews
Add bcc field to EmailMessage type. ThreadDetailView now displays BCC recipients when present (typically in sent folder copies).
Extract BCC recipients from IMAP messages
BCC header is retained on sent folder copies. Now extracted alongside To and CC so the frontend can display it in sent item previews.
Email nav icon now links to /messages instead of legacy /email iframe
The /email page embeds mail.kamocrm.com in an iframe (legacy webmail). The actual built-in email client is at /messages. Updated NavPri to point to the correct ...
Surface actual backend error message on feature toggle failure
Enable/disable now parses the error response body and shows the real error in the toast instead of a generic message. Helps diagnose what's actually failing on ...
运行完成的阶段应用程序后恢复上下文刷新
没有路由器.refresh (), 启用后, org 上下文会保持静止 应用程序 — NavPri, 主页和设置从未显示新启用 特性。 现在刷新已完成阶段应用程序切换的 org 上下文 因此,UI立即更新。 开发中的应用程序跳过刷新 以避免重置“ 不可用” 标签 .
以 Org 特性旗关闭所有特性卡和设置区域
主页:现在使用的文档卡是Docs(不贬值为storage/isDocManager), 日历门由"Email","Note"门由"Notes". 设置页面:商务区段由isPos门,电话区段由isVoip门, 由支持部、AI部和Ai支持部组成。 全体 相应的卡片阵列现在通过条件标记过滤.
Remove router.refresh() from feature toggle to prevent page reset
router.refresh() was causing the page to re-render and reset the active tab back to "Available" on every toggle. The cache invalidation and loadFeatures() call ...
Prevent duplicate apps in features list by excluding all existing types
The available list was only excluding features with enabled=true, so a disabled feature (isActive=false) appeared in both the features array AND the available a...
Invalidate org cache after feature toggle to reflect changes immediately
The org API route caches organization data in Redis for 24h. After enabling or disabling an app, the stale cache caused feature flags to remain false, making se...
Gate all nav links and settings pages by org feature flags
NavTop: hide AI chat, softphone, SMS, credits, notes, calendar, and contacts links when their corresponding app is disabled. Settings pages for CRM, Email, Phon...
Sync settings nav with actual tab definitions across all pages
Add missing Mailboxes and CalDav/CardDav entries to email section in both the settings main page and the NavPri slide-out drawer. Fix Account section card linki...
Provider save field name and mailboxes tab member list endpoint
Provider save for non-configurable types now sends correct field name. Mailboxes tab now uses **************** endpoint which actually exists, instead of non-ex...
Provider GET returns both type and providerType, PUT accepts both
GET /api/email/provider now includes both 'type' and 'providerType' fields in the response for frontend compatibility. PUT now accepts 'type' as a fallback when...
决心记住 登录会话中没有持续使用用户名
Re***召回捕捉到一个 stale 表演 Login关闭 记得我总是假的(初始状态). 用一个参考读取 活的复选框值。 还固定了清空的Cookies登录处理器 无条件擦去被记住的用户名 .
Provider save for non-configurable types and mailbox member email mapping
**************** selections now immediately persist via saveProvider API instead of only updating local state. Mailboxes tab now correctly extracts emailAddress...
修复 PRE TIKET DB 约束 + 重新设计创建格式
- 固定的CHECK对支持的制约 ticket.status允许正数 14 - 重新设计基于现代卡片的出票模式: - "我们能帮上什么忙?" - “有支持的聊天”卡(主打,突出显示)——开始预选 - "签票"卡片——以标题/说明形式全开 - 后键返回票单选择者 - 两种路径都允许与指定代理人聊天
从{主题: [...]} 中提取话题数组 API 反应
GET / api/ 支持/ 专题终点返回{主题: [...]},而不是 a 原始阵列 。 现在所有消费者在使用数组之前先提取数据.
Use settings timezone in revenue chart date range
The revenue chart was using the browser's local timezone instead of the timezone configured in analytics settings. This caused the chart to show different time ...
在创建时指派默认角色给成员
现在指定"成员" (每个人)从组织的角色。 现在指定两个 "成员"(每个人)角色和"团队成员"角色来自 组织。 这是空成员-权利-应用-角色存在的根本原因 在含有权限配置的org roles中,但从未与成员链接 通过成员 roles,所以权利计算总是产生0被授予的权利.
Recalculate member_rights_applied after role create/update/delete
The member_rights_applied table was never recalculated when roles were modified, causing all members to have 0 applied rights. Now calls **************** after ...
在 API 响应上添加 Array.is 守护以预防.map 出错
API 在后端表格中返回错误对象而不是数组 还不存在 使用 Array.is Array 检查守护所有阵列操作 .
Enable redirect following for MaxMind download
MaxMind returns 302 redirect to the actual file. HttpClient wasn't following it, causing the sync to fail with HTTP 302.
Add SecurityConfig to permit daemon trigger and actuator endpoints
Spring Security defaults blocked all endpoints with 401. Added explicit config to permit /api/daemon/** and /actuator/** without authentication.
Update ticket popup tool window to use light theme matching chatColors
Replace dark theme (dark backgrounds, white text, amber accents) with the light color scheme used by all other popup tool windows in the app.
Remove MANAGE_SUPPORT conditional from settings/analytics tabs, enable NavPri slide-out
All tabs now always visible. Removed disablePanel from NavPri Support entry so the slide-out panel works on hover.
Make description textarea fill remaining popup window height
Removed minRows/maxRows constraints and set flex layout on the input root so the textarea expands to fill all available vertical space.
正确的 Media ObjImgDownload FK 用 Media ObjImg UUID PK 代替复合键
复合 FK( OBJ ID, IMG ID) 引用非 PK 列导致类型 不匹配( uuid vs int) 。 在 OBJ IMG ID 上更改为单 FK 引用 Media ObjImg.ID (UUID PK). (英语).
使用本地查询求取avg解析时间来避免 Hibernate EXTRACT( EXTRACT) 限制
休眠 6 无法将 EXTRACT( EPOCH from...) 应用到时间戳减法 (生产期限类型,而不是TEMPORAL)。 切换到本地 SQL 查询 CockroachDB 处理本地.