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...
Conductă de declanșare după actualizarea câmpului kamo-shared-library avatarType
Use avatarType field instead of complex proxy detection
- Check avatarType field directly for simple type checking - Set avatarType when creating new avatars - Much simpler and more performant approach
Interoghează toate avatarele de utilizator pentru a obține entitate reală în loc de proxy
- Obțineți userId de la avatar, apoi interogare găsiByUserId (returnează entități reale) - Găsiți potrivire avatar de pe listă și caz de verificare - Acest lucr...
Utilizați filtru simplu pentru a verifica dacă avatarul este foto sau Avatar Creator
- Elimina logica complexa de detectare proxy - Pur și simplu filtru găsiById rezultat pentru a verifica dacă este AvatarFoto - Dacă nu este vorba despre fotogra...
Utilizați Hibernat LazyInitializer pentru a obține clasa entității reale de la proxy
- Acceseaza HibernateProxy LazyInitializer pentru a obtine clasa persistenta - Verificaţi dacă clasa persistentă este AvatarFoto sau AvatarAvatar Creator - Iniţ...
Suprimă avertismente variabile neutilizate în detectarea tipului de avatar
Utilizaţi distribuţia directă pentru a determina tipul de avatar în loc de reflexie
- Încercați turnare la AvatarFoto primul pentru a forța inițializarea proxy - Access getFileExtension () direct dupa distributie - Retrageţi-vă la AvatarAvatar ...
Îmbunătățește detectarea tip proxy prin capturarea InvocationTargetException
- Manipulați clasaCastExcepție atunci când invocați metode pe proxy pentru a determina tipul real - Încercaţi să obţineţi FileExtension primul (foto), apoi obţi...
Îmbunătățește manipularea proxy hibernat pentru detectarea de tip avatar
- ierarhie clasa de căutare și interfețe pentru metoda getFileExtension - Utilizaţi reflecţia pentru a detecta AvatarFoto vs AvatarAvatar Creator atunci când in...
Reîncarcă avatarul din depozit pentru a rezolva instanța proxy hibernată a problemei
- Entităţile Avatare încărcate din relaţii pot fi proxies hibernare care eşuează instanţa de verificare - Reîncarcă avatarul din depozit pentru a obține tipul r...
Adăugați logare detaliată pentru a obțineThemeDomain și de a lua publicBucketUrl pentru a depana probleme de generare URL a avatar
Adaugă logare detaliată la generarea URL-ului avatar pentru depanare
- Jurnal atunci când sunt generate URL-uri avatar, ce URL-uri sunt create - Jurnal atunci când lipsesc avatare sau URL-urile sunt nule - Acest lucru va ajuta la...
Determină avatar activ prin verificarea utilizatorului.getAvatar() în loc de RecordState
- Platforma marchează acum corect ce acţionează avatarul prin compararea cu utilizatorul.getAvatar() - Acest lucru asigură steagul isActive în răspunsul API ref...
Adăugați URL-uri avatar la membrii de-departament cu mecanism de suprascriere
- Includeţi URL- ul avatar în fiecare răspuns al membrilor de la *************** - Respect mecanism de suprascriere: membru avatar (dacă există) ↠- Frontend p...
Manipulați formatul de date ISO și îmbunătățiți parizarea tip avatarId
- Suport adăugat pentru formatul datei ISO (AAAA-LL-ZZ) în plus faţă de M/d/aaaa - Imbunatatire avatarId parsing pentru a manipula Tipuri de numere (Duble, BigD...
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
Generează URL-uri presemnate în mod normal apoi înlocuiește numele gazdei cu domeniul tematic
Utilizați getPresignedUrlWithEndpoint cu domeniul tematic pentru toate URL-urile avatar
Utilizați metoda PresignedUrl care funcționează în loc de a obține PresignedUrlwithEndpoint
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 to generate URLs signed for theme domain - no endpoint replacement needed
Ca ceea ce vezi de transport maritim?
Fiecare dintre aceste actualizări aterizează automat în spațiul de lucru. Începe gratuit și urmăriți-l crească săptămână după săptămână.