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 ...
Restore org context refresh after toggling completed-stage apps
Without router.refresh(), the org context stayed stale after enabling apps — NavPri, homepage, and settings never showed the newly enabled features. Now refresh...
Gate all feature cards and settings sections by org feature flags
Homepage: Documents card now uses isDocs (not deprecated isStorage/isDocManager), Calendar gated by isEmail, Notes gated by isNotes. Settings page: Commerce se...
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*** コールバックは、階段の実行をキャプチャしたログの閉鎖場所 RememberMe は常に false (初期状態) でした。 読むために ref を使用 ライブチェックボックス値。 また、クリアクッキーのログアウトハンドラをから固定 無条件に記憶されたユーザー名を拭く.
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...
Fix プレチケットDB制約+作成フォームを再設計する
- サポートのチェック制約を修正 ticket.status 許可オーダナル14 - モダンなカードベースのUIでticketCreationFormを再設計: - トピックセレクターで着陸する方法 - 「サポート付きチャット」カード(プライマリー、ハイライト) — チケット先行開始 - 「チケットを提出する」カード ...
{トピックからのトピックの配列を抽出します。 [...] API 応答
GET /api/support/topics エンドポイントは { トピック: [...] } ではなく、 未加工配列。 すべての消費者は、配列を使用する前にdata.topicsを抽出します.
エラーと404ページからサポートツールウィンドウを開く
古い /help/ticket/new ナビゲーションをツールで置き換える:CustomEvent を開く サポートポップアップウィンドウを直接開く.
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 ...
既定のロールをメンバーに作成する
******************** は「会員」を割り当てました (Everyone) は、組織.roleMemberID のロールです。 ******************** は両方を割り当てます 「メンバー」の役割と「チームメンバー」の役割 組織.roleTeamMemberID。 これは空のmembe...
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 ...
TopicManagerの部署の読み込みを修正
X-***-Token ヘッダ(マッチング部Manager パターン)と data.departmentsの応答の形からの部を抽出して下さい.
Array.isArray は、.map エラーを防ぐために API レスポンスで監視します
API は、テーブルをバックエンドするときに配列の代わりにエラーオブジェクトを返す可能性があります。 まだ存在しません。 Array.isArray チェックですべての配列操作を監視します.
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.
正しいMediaObjImgコンポジットキーではなくMediaObjImg UUID PKを使用するFKをダウンロード
複合FK(OBJ ID、IMG ID)は非PKカラムを参照し、型を引き起こします。 ミスマッチ (uuid 対 int). OBJ IMG ID 参照で単一の FK に変更 MediaObjImg.ID (UID PK).
Hibernate EXTRACT(EPOCH)の制限を回避するために、avg解像度のネイティブクエリを使用する
Hibernate 6 は EXTRACT(EPOCH FROM ...) をタイムスタンプのサブトラクションに適用できません。 (producesの期間のタイプ、TEMPORALではないです)。 ネイティブSQLクエリに切り替える CockroachDB はネイティブで処理します.