Usar o padrão hostname wildcard para optimização de imagens do domínio- diagnóstico
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...
Adicione restrição única (org id, feature type) para evitar recursos duplicados
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.
DesabilitarFeature retorna nulo em vez de jogar quando a linha está faltando
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() estava fazendo com que a página re-render e redefinir o ativo aba de volta para "Disponível" em cada botão. A invalidação do cache e a chamada ...
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...
Resolver Lembrar Eu não persistindo nome de usuário nas sessões de login
O retorno de chamada re*** capturou um encerramento de login de performance velho onde Lembrai-Me sempre foi falso (estado inicial). Usou um ref para ler o valo...
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...
Corrigir a restrição PRE TICKET DB + formulário de criação de redesenho
- Restrição de verificação fixa no support ticket.status para permitir ordinal 14 - Reprojetado TicketCreationForm com UI baseada em cartões modernos: - "Como p...
Extrair array de tópicos de { tópicos: [...] } Resposta da API
O endpoint GET /api/support/topics retorna { tópicos: [...] }, não um Array em bruto. Todos os consumidores agora extraem data.topics antes de usar o array.
Abrir janela de ferramenta de suporte a partir de erro e 404 páginas
Substituir o antigo /help/ticket/navegação nova com a ferramenta:open CustomEvent para abrir a janela de contexto de suporte diretamente.
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 ...
Atribuir funções por omissão aos membros na criação
**************** agora atribui os "membros" (Todo o mundo) papel da organização. **************** agora atribui ambos os O papel dos "membros" (todos) e o pape...
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 ...
Seleciona automaticamente o texto da senha no login falhou para uma reentrada rápida
Adicionar a exibição de erro quando a criação do tópico falhar
Mostra a mensagem de erro da API na janela em vez de falhar silenciosamente.
Corrigir o carregamento do departamento em TopicManager
Enviar o cabeçalho X- ***- Token (pattern correspondente ao DepartmentManager) e extrair departamentos da forma de resposta data.departments.
Adicionar Array.isArray protege as respostas da API para evitar erros .map
API pode retornar objetos de erro em vez de arrays quando tabelas de infraestrutura ainda não existe. Proteja todas as operações de array com verificação 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.
MediaObjImg corretoBaixe FK para usar MediaObjImg UUID PK em vez de chave composta
As colunas FK compostas (OBJ ID, IMG ID) referenciadas não-PK causando um tipo incompatibilidade (uuid vs int). Alterado para FK único na referência OBJ IMG ID ...
Use a consulta nativa para o tempo de resolução do avg para evitar a limitação do Hibernate EXTRACT (EPOCH)
Hibernate 6 não pode aplicar EXTRACT (EPOCH DESDE ...) a uma subtração de timestamp (produz tipo Duração, não TEMPORAL). Mudou para uma consulta SQL nativa que ...
Como o que vês no transporte?
Cada uma dessas atualizações pousa automaticamente em seu espaço de trabalho. Comece grátis e veja crescer semana após semana.