Commit Graph

87 Commits

Author SHA1 Message Date
ba7182abe6 Refactor image blurring to use RenderScript for improved performance and quality
- Replaced custom fast blur implementation with RenderScript-based Gaussian blur in BlurredAvatarBackground and AppearanceScreen.
- Updated image processing logic to scale down bitmaps before applying blur for efficiency.
- Simplified blur logic by removing unnecessary pixel manipulation methods.
- Enhanced media preview handling in OtherProfileScreen to utilize new Gaussian blur function.
- Improved code readability and maintainability by consolidating blur functionality.
2026-02-22 12:32:19 +05:00
5b9b3f83f7 Промежуточный результат для 1.0.4 версии 2026-02-22 08:54:46 +05:00
88e2084f8b Refactor image handling and decoding logic
- Introduced a maximum bitmap decode dimension to prevent excessive memory usage.
- Enhanced base64 to bitmap conversion by extracting payload and applying EXIF orientation.
- Improved error handling for image downloads and decoding processes.
- Simplified media picker and chat input components to manage keyboard visibility more effectively.
- Updated color selection grid to adaptively adjust based on available width.
- Added safety checks for notifications and call actions in profile screens.
- Optimized bitmap decoding in uriToBase64Image to handle large images more efficiently.
2026-02-20 02:45:00 +05:00
53d0e44ef8 feat: Enhance search functionality and user experience
- Added local account metadata handling in SearchScreen for improved "Saved Messages" search fallback.
- Updated search logic to include username and account name checks when searching for the user.
- Introduced search logging in SearchUsersViewModel for better debugging and tracking of search queries.
- Refactored image download process in AttachmentComponents to include detailed logging for debugging.
- Created AttachmentDownloadDebugLogger to manage and display download logs.
- Improved DeviceVerificationBanner UI for better user engagement during device verification.
- Adjusted OtherProfileScreen layout to enhance information visibility and user interaction.
- Updated network security configuration to include new Let's Encrypt certificate for CDN.
2026-02-19 17:34:16 +05:00
cacd6dc029 feat: implement device verification flow with new UI components and protocol handling 2026-02-18 04:40:22 +05:00
b543ef4d6f feat: enhance avatar handling and file attachment functionality with improved UI interactions 2026-02-15 11:54:09 +05:00
07800d13a7 feat: implement safety screen with swipe back functionality in MainScreen 2026-02-14 00:38:08 +05:00
93ce53d3d5 Add new drawable resources for icons and themes
- Created `archive_filled.xml` for filled archive icon.
- Added `bookmark_outlined.xml` for outlined bookmark icon.
- Introduced `day_theme_filled.xml` for day theme icon.
- Added `folder_outlined.xml` for outlined folder icon.
- Created `gear_outlined.xml` for outlined gear icon.
- Introduced `night_mode.xml` for night mode icon.
2026-02-13 17:37:03 +05:00
e208ce050a feat: simplify color handling in ChatsListScreen and improve gesture callbacks in SwipeableDialogItem 2026-02-12 20:09:53 +05:00
ea537ccce1 Refactor and optimize various components
- Updated RosettaFirebaseMessagingService to use IO dispatcher for blocking calls.
- Enhanced AvatarRepository with LRU caching and improved coroutine handling for avatar loading.
- Implemented timeout for websocket connection in UnlockScreen.
- Added selection mode functionality in ChatsListScreen with haptic feedback and improved UI for chat actions.
- Improved animated dots in AttachmentComponents for a smoother visual effect.
- Refactored image downloading and caching logic in ChatDetailComponents to streamline the process.
- Optimized SwipeBackContainer to simplify gesture handling.
- Adjusted swipe back behavior in OtherProfileScreen based on image viewer state.
2026-02-12 15:38:30 +05:00
f7ece6055e feat: enhance forwarded messages display by enabling link support 2026-02-12 08:15:11 +05:00
8c8a651500 feat: enhance chat and requests screens with avatar handling, pinning, and user blocking functionalities 2026-02-11 05:50:08 +05:00
a0ef378909 feat: enhance versioning and avatar handling with dynamic properties and improved UI interactions 2026-02-10 20:41:32 +05:00
bbaa04cda5 feat: implement avatar animation and enhance image sharing functionality 2026-02-10 00:06:41 +05:00
3c37a3b0e5 feat: enhance image viewer navigation with tap animations and controls visibility 2026-02-09 21:14:10 +05:00
162747ea35 Refactor code structure for improved readability and maintainability 2026-02-08 06:18:20 +05:00
0eddd448c7 feat: Update send icon to ArrowUp in TelegramCaptionBar and MultiImageEditorScreen 2026-02-07 19:34:16 +05:00
fdc4f42e1d feat: Add image viewer state management to disable swipe-back when photo is fullscreen 2026-02-07 18:44:24 +05:00
71181f49d9 feat: Add appearance customization screen with background blur options
- Introduced `BackgroundBlurOption` data class and `BackgroundBlurPresets` object for managing background blur options.
- Created `AppearanceScreen` composable for selecting background colors and gradients, including a live preview of the selected option.
- Updated `OtherProfileScreen` and `ProfileScreen` to accept and utilize `backgroundBlurColorId` for consistent background blur across profiles.
- Enhanced `CollapsingOtherProfileHeader` and `CollapsingProfileHeader` to apply selected background blur options.
2026-02-07 08:10:26 +05:00
d03f76391c feat: enhance profile fetching and update mechanisms in ProtocolManager and MainScreen 2026-02-06 20:58:28 +05:00
9010d1c975 feat: implement swipe back navigation and integrate VerifiedBadge in chat dialogs 2026-02-05 03:25:20 +05:00
4dc7c6e9bc fix: add detailed logging for unlock process to improve debugging and performance tracking 2026-02-05 02:05:26 +05:00
6bb0a90ea0 fix: add caption support to image viewer with animated display 2026-02-05 02:05:26 +05:00
af4df0a353 fix: fix theme switch 2026-02-05 02:05:26 +05:00
c249278421 Remove unnecessary logging statements across various components to clean up code and improve readability. This includes removing debug, error, and warning logs from attachment handling, image processing, media loading, and profile management functionalities. Additionally, a script has been added to automate the removal of log statements from Kotlin files. 2026-02-05 02:05:25 +05:00
8702539d09 feat: Integrate AvatarRepository into chat components for improved avatar handling and caching 2026-01-28 00:28:56 +05:00
ff900846d1 fix: Pass isDarkTheme parameter to MainScreen and ChatDetailScreen for consistent theming 2026-01-25 18:48:20 +05:00
c8214cdfa3 feat: Implement crash reporting system with CrashLogsScreen and integration in ProfileScreen 2026-01-25 02:33:56 +05:00
10c78e6231 feat: Implement avatar handling and display across chat and account screens 2026-01-24 01:14:25 +05:00
1367864008 feat: Enhance avatar management with detailed logging and error handling 2026-01-24 00:26:23 +05:00
b08bea2c14 feat: Implement avatar management system with P2P delivery
- Added AvatarRepository for handling avatar storage, retrieval, and delivery.
- Created AvatarCacheEntity and AvatarDeliveryEntity for database storage.
- Introduced PacketAvatar for P2P avatar transfer between clients.
- Enhanced RosettaDatabase to include avatar-related tables and migration.
- Developed AvatarFileManager for file operations related to avatars.
- Implemented AvatarImage composable for displaying user avatars.
- Updated ProfileScreen to support avatar selection and updating.
- Added functionality for handling incoming avatar packets in ProtocolManager.
2026-01-23 03:04:27 +05:00
f6f8620102 feat: Implement BiometricAuthManager for biometric authentication and password encryption/decryption 2026-01-22 14:26:30 +05:00
60d4d1e6bc Refactor Chat Detail Screen components and models for better organization
- Added reusable UI components for the Chat Detail Screen in ChatDetailComponents.kt, including DateHeader, TypingIndicator, MessageBubble, and more.
- Introduced MessageInputBar in ChatDetailInput.kt to handle message input and emoji picker functionality.
- Created data models for chat messages and replies in ChatDetailModels.kt, including ChatMessage and ReplyData.
- Implemented utility functions for chat details in ChatDetailUtils.kt, such as date formatting and avatar color generation.
2026-01-22 04:56:17 +05:00
7adfe1ce86 feat: Update chat navigation to use full user data for improved context 2026-01-22 03:30:59 +05:00
bebab34359 commit 2026-01-22 02:26:01 +05:00
ab2084673a feat: Add username field to AccountInfo and update display logic in SelectAccountScreen 2026-01-22 01:28:54 +05:00
c9cd3dc69b feat: Implement account info update handling in MainScreen for reactive UI updates 2026-01-22 01:21:36 +05:00
fa7e88e5b6 feat: Prevent immediate reload from DB after profile updates for better async handling 2026-01-22 00:51:37 +05:00
7cdd43402d feat: Add accountUsername to ChatsListScreen for improved user identification 2026-01-22 00:41:53 +05:00
6ad539e90e feat: Enhance account name and username handling in MainScreen and ProfileScreen for reactive updates 2026-01-22 00:33:35 +05:00
1764fded5e feat: Update profile saving logic to follow desktop version pattern and enhance local data handling 2026-01-22 00:05:37 +05:00
7d81dedfab Implement password verification and enhance BackupScreen UI
- Added password verification logic in MainActivity to decrypt the private key and seed phrase.
- Updated BackupScreen to handle password verification asynchronously using coroutines.
- Improved UI layout for displaying seed phrases in two columns with colored words.
- Added a copy button for the seed phrase with clipboard functionality.
- Introduced a new composable function, WordItem, for better visual representation of seed phrase words.
2026-01-21 16:44:35 +05:00
dcfbb020be feat: Update ProfileNavigationItem to use a rounded corner shape with increased radius 2026-01-21 03:09:39 +05:00
db61ebb79f feat: Add Profile Logs Screen and integrate logging functionality
- Introduced ProfileLogsScreen for displaying logs related to profile operations.
- Enhanced MainScreen to include navigation to the new logs screen.
- Updated ProfileViewModel to manage logs and handle profile save operations.
- Implemented back navigation and log clearing functionality in ProfileLogsScreen.
- Improved SafetyScreen and ThemeScreen with back gesture handling.
- Refactored BackupScreen and OtherProfileScreen for consistency and better UX.
- Adjusted UI elements for better visibility and interaction feedback.
2026-01-20 23:42:02 +05:00
9edcb712fc feat: Add navigation for contacts in MainScreen and update ProfileCard visibility 2026-01-20 21:42:57 +05:00
c42dd57e3d feat: Enhance user profile and settings screens
- Updated ChatDetailScreen to pass user data on profile click.
- Added BackupScreen for seed phrase recovery with password verification.
- Introduced OtherProfileScreen for viewing and managing other users' profiles.
- Created SafetyScreen for account security options including backup and deletion.
- Developed ThemeScreen for theme customization with light, dark, and system modes.
- Implemented UpdatesScreen to display app version and check for updates.
- Removed unused navigation item for updates from ProfileScreen.
2026-01-20 18:59:44 +05:00
d78000aa3f feat: Implement Profile Screen with full functionality and navigation
- Added ProfileScreen.kt for user profile management.
- Updated MainActivity.kt to integrate ProfileScreen and manage navigation states.
- Created documentation for Profile Screen implementation, navigation flow, and testing checklist.
- Removed SettingsScreen.kt as part of the refactor.
- Added helper components for profile display and editing.
- Ensured compliance with Material 3 design principles and dark/light theme support.
2026-01-20 04:38:13 +05:00
0c4c636823 refactor: Clean up OnboardingScreen code for improved readability and maintainability 2026-01-20 03:06:06 +05:00
b7cbc35868 Refactor code structure for improved readability and maintainability 2026-01-19 17:20:35 +05:00
aac5081dec feat: Add screen orientation setting and improve padding for navigation bars in ChatsList and Onboarding screens 2026-01-18 19:52:56 +05:00