Clear session data before deleting key to ensure session is unusable
- Set session data to empty JSON ({}) before deleting the key - Ensures session is unusable even if deletion fails or there's replication lag - Add error handli...
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...
Kamo-shared-library avatarType फ़ील्ड अद्यतन के बाद ट्रिगर पाइपलाइन
जटिल प्रॉक्सी डिटेक्शन के बजाय अवतार टाइप फ़ील्ड का उपयोग करें
- सरल प्रकार की जांच के लिए सीधे अवतार टाइप फ़ील्ड की जांच करें - सेट अवतार प्रकार जब नए अवतार बनाते हैं - बहुत सरल और अधिक कलाकार दृष्टिकोण
प्रॉक्सी के बजाय वास्तविक इकाई प्राप्त करने के लिए सभी उपयोगकर्ता अवतारों को क्वेरी करें
- उपयोगकर्ता आईडी को अवतार से प्राप्त करें, फिर क्वेरी करें findByUserId (वास्तविक संस्थाओं को रिटर्न) - सूची से मिलान अवतार का पता लगाएं और उदाहरण की जांच करें...
अगर अवतार फोटो या अवतार निर्माता है तो जांच करने के लिए साधारण फ़िल्टर का उपयोग करें
- जटिल प्रॉक्सी डिटेक्शन लॉजिक निकालें - बस फिल्टर findbyId परिणाम यह जांचने के लिए कि क्या यह AvatarPhoto है - अगर फोटो नहीं, तो अवतार निर्माता को डिफ़ॉल्ट - स...
प्रॉक्सी से वास्तविक इकाई वर्ग प्राप्त करने के लिए हाइबरनेट LazyInitializer का उपयोग करें
- एक्सेस हाइबरनेटप्रोक्सी के आलसी इनिटियलाइज़र लगातार वर्ग पाने के लिए - जांचें कि क्या लगातार वर्ग AvatarPhoto या AvatarAvatar निर्माता है **************** - य...
प्रतिबिंब के बजाय अवतार प्रकार को निर्धारित करने के लिए प्रत्यक्ष कास्ट का उपयोग करें
- प्रॉक्सी आरंभीकरण को मजबूर करने वाले पहले AvatarPhoto को कास्टिंग करने की कोशिश करें - कास्ट के बाद सीधे एक्सेस getFileExtension () - अगर फोटो कास्ट विफल रहता...
InvocationTargetException को पकड़ने के द्वारा प्रॉक्सी प्रकार का पता लगाने में सुधार
- वास्तविक प्रकार का निर्धारण करने के लिए प्रॉक्सी पर तरीकों को चालान करते समय ClasscastException को संभालना - पहले getFileExtension (फोटो), फिर getStyle (अवाटर...
अवतार प्रकार का पता लगाने के लिए हाइबरनेट प्रॉक्सी हैंडलिंग में सुधार
- GetFileExtension विधि के लिए खोज वर्ग पदानुक्रम और इंटरफेस - उदाहरण असफल होने पर अवतारफोटो बनाम अवतार अवतार निर्माता का पता लगाने के लिए प्रतिबिंब का उपयोग कर...
रिपॉज़िटरी से अवतार को रिलोड करने के लिए हाइबरनेट प्रॉक्सी ऑक्शंस ऑफ इक्विपमेंट
- रिश्तों से भारित अवतार संस्थाओं को हाइबरनेट की प्रॉक्सी हो सकती है जो जांच के उदाहरण में विफल हो सकती है - वास्तविक इकाई प्रकार (AvatarPhoto या AvatarAvatar न...
GetThemeDomain के लिए विस्तृत लॉगिंग जोड़ें और प्राप्त करेंपब्लिकबकेटउर्ल को avatar URL जनरेशन मुद्दों को डीबग करने के लिए
डीबगिंग के लिए अवतार यूआरएल पीढ़ी में विस्तृत लॉगिंग जोड़ें
- लॉग जब अवतार यूआरएल उत्पन्न होते हैं, तो यूआरएल क्या बनाया जाता है? - लॉग जब अवतार गायब हो जाते हैं या यूआरएल शून्य होते हैं - यह पहचान करने में मदद करेगा कि ...
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
अवतार प्रणाली का पुनर्निर्माण - बैकएंड पृष्ठभूमि की तरह सीधे प्रीसिग्न URL उत्पन्न करता है
स्टोरेज कंट्रोलर को सरल बनाएं - ओटीके को मान्य करें, छवि प्राप्त करें, इसे स्ट्रीम करें
रिटर्न ऑब्जेक्ट अवतारों के लिए पूर्व हस्ताक्षरित यूआरएल के बजाय पैथ
Presigned URL उत्पन्न करें, फिर सामान्य रूप से थीम डोमेन के साथ होस्टनाम को प्रतिस्थापित करें
सभी अवतार यूआरएल के लिए थीम डोमेन के साथ GetPresignedUrlWithEndpoint का उपयोग करें
Use getPresignedUrl method that works instead of 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
खाली यूआरएल को डीबग करने के लिए अवतार यूआरएल पीढ़ी में व्यापक लॉगिंग जोड़ें
जैसा कि आप शिपिंग देखते हैं?
इन अद्यतनों में से प्रत्येक स्वचालित रूप से अपने कार्यक्षेत्र में उतरता है। प्रारंभ करें और सप्ताह के बाद इसे सप्ताह के अंत में देखें।.