Commit Graph

114 Commits

Author SHA1 Message Date
c3e97eee56 Добавлен экран Calls в сайдбар и улучшено управление историей звонков 2026-03-27 18:22:21 +05:00
39b0b0e107 Поправлен визуал пузырьков со звонками 2026-03-27 17:22:51 +05:00
03282eb478 Стабилизация sync и логов: heartbeat антиспам + Connection Logs через rosettadev2 2026-03-26 13:17:33 +05:00
419101a4a9 Проработан UI звонков и частичная реализация 2026-03-23 18:25:25 +05:00
9778e3b196 Реализованы звонки в диалоге и полный permission flow Android 2026-03-23 10:56:52 +05:00
677a5f2ab2 Добавлен комментарий в MainActivity.kt
Some checks failed
Android Kernel Build / build (push) Failing after 18m34s
2026-03-22 15:40:38 +05:00
9d3e5bcb10 Большой пакет: поиск по сообщениям, клики по тэгам, темы обоев и UX-фиксы
Что вошло:\n- Добавлен полноценный Messages-tab в SearchScreen: поиск по тексту сообщений по всей базе, батчевый проход, параллельная дешифровка, кеш расшифровки, подсветка совпадений, сниппеты и быстрый переход в нужный диалог.\n- В Chats-tab добавлены алиасы для Saved Messages (saved/saved messages/избранное/сохраненные и др.), чтобы чат открывался по текстовому поиску даже без точного username/public key.\n- Для search-бэкенда расширен DAO: getAllMessagesPaged() для постраничного обхода сообщений аккаунта.\n- Исправлена логика клика по @тэгам в сообщениях:\n  - переход теперь ведет сразу в чат пользователя (а не в профиль);\n  - добавлен fallback-резолв username -> user через локальный диалог, кеш протокола и PacketSearch;\n  - добавлен DAO getDialogByUsername() (регистронезависимо и с игнором @).\n- Усилена обработка PacketSearch в ProtocolManager:\n  - добавлена очередь ожидания pendingSearchQueries;\n  - нормализация query (без @, lowercase);\n  - устойчивый матч ответов сервера (raw/normalized/by username);\n  - добавлены методы getCachedUserByUsername() и searchUsers().\n- Исправлен конфликт тачей между ClickableSpan и bubble-menu:\n  - в AppleEmojiText/AppleEmojiTextView добавлен callback начала тапа по span;\n  - улучшен hit-test по span (включая пограничные offset/layout fallback);\n  - suppress performClick на span-тапах;\n  - в MessageBubble добавлен тайм-guard, чтобы tap по span не открывал context menu.\n- Стабилизирован verified-бейдж в заголовке чата: агрегируется из переданного user, кеша протокола, локальной БД и серверного resolve; отображается консистентно в личных чатах.\n- Улучшен пустой экран Saved Messages при обоях: добавлена аккуратная подложка/бордер и выровненный текст, чтобы контент оставался читабельным на любом фоне.\n- Реализована автосвязка обоев между светлой/темной темами:\n  - добавлены pairGroup и mapToTheme/resolveWallpaperForTheme в ThemeWallpapers;\n  - добавлены отдельные prefs-ключи для light/dark wallpaper;\n  - MainActivity теперь автоматически подбирает и сохраняет обои под активную тему и сохраняет выбор по теме.\n- Биометрия: если на устройстве нет hardware fingerprint, экран включения биометрии не показывается (и доступность возвращает NotAvailable).\n- Небольшие UI-фиксы: поправлено позиционирование галочки в сайдбаре.\n- Техдолг: удалена неиспользуемая зависимость jsoup из build.gradle.
2026-03-21 21:12:52 +05:00
5d8984ab91 Синхронизированы анимации чата и Requests с Telegram, добавлен shimmer и исправлено копирование текста 2026-03-18 20:09:33 +05:00
698a67a923 Фикс: пуш-уведомления не читались при открытии приложения
- cancelAll() в onResume — сбрасывает все уведомления и бейдж при открытии приложения
- showSimpleNotification принимает senderPublicKey и использует тот же ID что cancelNotificationForChat — теперь fallback-уведомления тоже удаляются при входе в чат

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 16:10:28 +07:00
00e9370910 Исправлены push-уведомления: восстановлена подписка токена и fallback обработки 2026-03-11 22:59:48 +07:00
810913b28e Релиз 1.1.6: сессии, аватарки и интерфейсные исправления 2026-03-10 23:25:03 +05:00
c7d5c47dd0 Исправлен переход в профиль по своему тэгу из группового чата 2026-03-08 02:55:44 +05:00
429025537f Исправил переход по своему тэгу в группах и убрал лишнюю подсветку
- Клик по своему упоминанию теперь сразу открывает My Profile без экрана OtherProfile и kebab-меню\n- Нормализовал сравнение аккаунта по publicKey/username (trim + ignoreCase)\n- Убрал жёлтую подсветку сообщений с упоминанием в группах\n- Подровнял положение бейджа верификации рядом с именем
2026-03-06 20:03:50 +05:00
5de0777063 Доработаны reply/mention в группах и индикаторы чтения
- Исправлено отображение reply в группах: корректный автор и переход в профиль по @mention.
- Добавлены подсветка и клики по mentions в пузырьках, а также передача username текущего пользователя в чат.
- Реализован Telegram-подобный список упоминаний по символу '@' с аватарками и фильтрацией участников группы.
- Исправлено поведение контекстного меню при открытии профиля и конфликт horizontal-scroll с жестом назад на экране поиска.
- Для групп включена отправка PacketRead (как в desktop), чтобы read-статусы синхронизировались корректно.
- В списке чатов скорректирована логика галочек: двойные синие только при реальном read-флаге последнего исходящего сообщения.
2026-03-05 19:51:49 +05:00
2501296d70 feat: enhance swipe-back functionality in OtherProfileScreen and SwipeBackContainer 2026-03-03 20:47:32 +05:00
8c7ac53506 feat: Enhance chat UI with group invite handling and new download indicator
- Added support for standalone group invites in MessageBubble component.
- Improved bubble padding and width handling for group invites.
- Refactored MessageBubble to streamline background and border logic.
- Introduced AnimatedDownloadIndicator for a more engaging download experience.
- Created ThemeWallpapers data structure to manage chat wallpapers.
- Implemented WallpaperSelectorRow and WallpaperSelectorItem for theme customization.
- Updated ThemeScreen to allow wallpaper selection and preview.
- Added new drawable resources for download and search icons.
2026-03-02 23:40:44 +05:00
8f7544c655 feat: enhance camera handling and UI state management in chat components 2026-03-02 14:07:42 +05:00
7bf3db52a6 feat: update version to 1.1.1 and enhance group chat features, sync stability, and UI improvements
Some checks failed
Android Kernel Build / build (push) Failing after 19m6s
2026-03-01 19:16:45 +05:00
a0569648e8 feat: Enhance group chat functionality and UI improvements
- Added support for group action system messages in MessageBubble.
- Implemented group invite handling with inline cards for joining groups.
- Updated MessageBubble to display group sender labels and admin badges.
- Enhanced image decryption logic for group attachments.
- Modified BlurredAvatarBackground to load system avatars based on public keys.
- Improved SwipeBackContainer with layer management for better swipe effects.
- Updated VerifiedBadge to use dynamic icons based on user verification status.
- Added new drawable resource for admin badge icon.
2026-03-01 00:01:01 +05:00
3f2b52b578 feat: improve swipe back scale behavior across screens 2026-02-27 23:56:21 +05:00
2da2c6ab36 feat: Bump version to 1.0.11, add ConnectionLogsScreen, and enhance message synchronization logic 2026-02-27 02:43:30 +05:00
829e19364a feat: Add account verification status handling in MainScreen, ChatsListScreen, and ProfileScreen 2026-02-26 20:32:05 +05:00
388d279ea9 feat: Bump version to 1.0.9 and update release notes; remove debug logs functionality 2026-02-26 16:02:01 +05:00
f526a442b0 feat: Enhance FCM token management by adding unsubscribe logic to prevent duplicate registrations 2026-02-26 14:56:21 +05:00
48861633ee feat: Implement deduplication for FCM token subscription and update related logic 2026-02-25 23:03:28 +05:00
dd473db8ff feat: Add FCM token display and copy functionality in ChatsListScreen 2026-02-25 21:16:14 +05:00
75810a0696 feat: Add total unread count from other chats for back-chevron badge in MainScreen 2026-02-24 21:04:27 +05:00
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