Improve logout cookie clearing - clear cookies across all domain/path combinations
- Clear cookies with base domain (e.g., .kamocrm.com) to cover all subdomains - Clear cookies for current hostname without domain attribute - Clear cookies unre...
Gatilho de pipeline após a atualização do campo kamo-shared- library avatarType
Usar o campo avatarType em vez da detecção de proxy complexa
- Verifique o campo avatarType diretamente para verificação de tipo simples - Definir o avatarType ao criar novos avatars - Abordagem muito mais simples e perfo...
Consultar todos os avatares de usuário para obter a entidade real em vez de proxy
- Get userId from avatar, então query findByUserId (retorna entidades reais) - Encontrar avatar correspondente da lista e verificar a instância de - Isto evita ...
Use filtro simples para verificar se avatar é foto ou Avatar Creator
- Remover lógica complexa de detecção de proxy - Basta filtrar o resultado do findById para verificar se é o AvatarFoto - Se não foto, padrão para Avatar Criado...
Usar o Hibernate LazyInitializer para obter a classe de entidade real do proxy
- Acesse HibernateProxy's LazyInitializer para obter classe persistente - Verifique se a classe persistente é AvatarFoto ou AvatarAvatar Creator - Inicialização...
Suprimir os avisos variáveis não utilizados na detecção do tipo avatar
Usar elenco direto para determinar o tipo de avatar em vez de reflexão
- Tente elenco para AvatarFoto primeiro para forçar a inicialização proxy - Acesse getFileExtension() diretamente após o elenco - Recuar para AvatarAvatar Criad...
Melhorar a detecção do tipo de proxy capturando InvocationTargetException
- Lidar com ClassCastException ao invocar métodos no proxy para determinar o tipo real - Tente getFileExtension primeiro (foto), em seguida, getStyle (Avatar Cr...
Melhore o manuseio do proxy Hibernate para detecção do tipo avatar
- Pesquisa hierarquia de classe e interfaces para o método getFileExtension - Use a reflexão para detectar AvatarFoto vs AvatarAvatar Creator quando a instância...
Recarregar o avatar do repositório para resolver a instância de proxy do problema do Hibernate
- Entidades Avataras carregadas de relacionamentos podem ser proxies Hibernate que falham em verificações - Recarregar avatar do repositório para obter o tipo d...
Adicionar registro detalhado para obterThemeDomain e obter PublicBucketUrl para depurar problemas de geração de URL avatar
Adicionar um registo detalhado à geração de URL do avatar para depuração
- Registre quando URLs avatar são geradas, quais URLs são criadas - Registre quando os avatares estão faltando ou URLs são nulos - Isso ajudará a identificar po...
Determine active avatar by checking user.getAvatar() instead of RecordState
- Backend now correctly marks which avatar is active by comparing to user.getAvatar() - This ensures the isActive flag in the API response reflects the actual a...
Add avatar URLs to members by-department endpoint with override mechanism
- Include avatar URL in each member response from **************** - Respect override mechanism: member avatar (if exists) → user avatar (default) - Frontend ...
Handle ISO date format and improve avatarId type parsing
- Added support for ISO date format (YYYY-MM-DD) in addition to M/d/yyyy - Improved avatarId parsing to handle Number types (Double, BigDecimal, etc.) from JSON...
Add better error handling and logging for user/member save operations
- Added try-catch around user save operation with detailed error logging - Added try-catch around member save operation with detailed error logging - Improved d...
Improve avatarId parsing to handle string, integer, and long types
- Added support for parsing avatarId from String type - Better error handling for invalid avatarId formats - Added logging for avatar assignment and errors
Add detailed logging to updateMemberProfile for debugging
- Added logging at start of updateMemberProfile method - Added logging before and after saving user and member - Improved error response to include error detail...
Add support for updating user name fields and dateOfBirth in member profile
- Added UserRepository to MemberController - Updated updateMemberProfile to handle namePrefix, nameFirst, nameMiddle, nameLast, nameSuffix, nameFirstAKA, nameLa...
Store avatar hash and extension in *** session data
- Added updateSession method to KSessionService for updating session fields - Updated setActiveAvatar to store userAvatarHash and userAvatarExtension in session...
Include avatar URLs in member profile response
- Added helper methods to generate avatar URLs (getThemeDomain, getPublicBucketName, generateFileHash, getPublicBucketUrl, generateAvatarUrl) - Updated getMembe...
Add ThemeBackgroundController with hash-based storage and public bucket support
Use correct bucket and object path structure for MinIO uploads
- Change bucket name from domain-based to 'public' bucket - Include domain path (e.g., kamocrm-com) as part of object name, not bucket name - Fix object path st...
Properly handle MinIO upload failures for avatars
- Remove silent exception swallowing in Avatar Creator avatar creation - Add proper error handling and rollback for failed uploads - Delete database record if f...
Remove ID-based fallback code, use only hash-based naming
- Remove all try-catch fallback logic for missing fileHash column - Remove ID-based file naming fallbacks - Code now exclusively uses hash-based file storage - ...
Handle missing fileHash column gracefully
- Add try-catch around fileHash access to handle missing database column - Fall back to ID-based file naming if fileHash column doesn't exist yet - Allows code ...
Implement hash-based file storage for avatars
- Generate SHA-256 hash from avatar ID after persistence - Store hash in database fileHash field - Upload files to MinIO using hash-based naming: {hash}.{fileEx...
Add logging and ensure public bucket URL format matches working pattern
Revert to getPresignedUrl like backgrounds - getPresignedUrlWithEndpoint was breaking uploads
Add retry logic for Maven dependency downloads to handle transient Central failures
Rebuild avatar system - backend generates presigned URLs directly like backgrounds
Simplify StorageController - validate OTK, get image, stream it
Validar o OTK diretamente no StorageController e na imagem de fluxo
Devolver o 'objectPath' em vez de URLs pré- assinados para avatars
Gerar URLs previamente assinadas normalmente e substituir o nome da máquina pelo domínio do tema
Usar getPresignedUrlWithEndpoint com domínio de tema para todos os URLs do avatar
Usar o método getPresignedUrl que funciona em vez de getPresignedUrlWithEndpoint
Add detailed logging to avatar URL generation to identify failures
Generate presigned URLs with theme domain directly in backend for avatars
Return objectPath instead of presigned URLs - Next.js will generate them
Use getPresignedUrlWithEndpoint to generate URLs with correct signature for theme domain
Simplify avatar URL generation - use same logic as frontend getThemePath, just replace endpoint in presigned URL
Replace internal IP endpoint with theme domain in presigned URLs as fallback
Add comprehensive logging to avatar URL generation to debug empty URLs
Use getPresignedUrlWithEndpoint para gerar URLs assinadas para o domínio do tema - nenhuma substituição de endpoint necessária
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.