Commit Graph

1279 Commits

Author SHA1 Message Date
John Preston abbac61702 Show who've seen the message in submenu. 2021-09-07 23:41:08 +03:00
John Preston 2f5f100626 Start loading users who've read an outgoing message. 2021-09-07 23:41:08 +03:00
John Preston 8f9e394dd0 Fix build with GCC. 2021-09-07 23:41:08 +03:00
John Preston e880b66574 Rotate background with half a speed. 2021-09-07 23:41:08 +03:00
John Preston b6cd9c2911 Invert patter image to white for dark colors. 2021-09-07 23:41:08 +03:00
John Preston 4273167aa2 Adjust outgoing bubble text and icon colors. 2021-09-07 23:41:08 +03:00
John Preston c318f57fc0 Use outbox bubble colors, adjust custom colors. 2021-09-07 23:41:08 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
23rd de3b1ff9ae Removed unused static variable from CountryInput. 2021-09-07 23:41:07 +03:00
23rd 58da62b413 Added refreshing of list in CountrySelectBox on update. 2021-09-07 23:41:07 +03:00
23rd e80a7907a9 Removed Q_OBJECT from CountryInput. 2021-09-07 23:41:07 +03:00
23rd 48f7d715d6 Added all available calling codes on each country to CountrySelectBox. 2021-09-07 23:41:07 +03:00
John Preston 241798ac29 Custom colors in historyDown/unreadMentions buttons. 2021-09-06 13:13:26 +03:00
John Preston 64457cd6cb Custom colors in FillComplex(Overlay|Location)Rect. 2021-09-06 13:13:26 +03:00
John Preston b2364140e9 Custom colors in all media/history_view_ modules. 2021-09-06 13:13:26 +03:00
John Preston cbfe57c51d Custom colors in history_view_document module. 2021-09-06 13:13:26 +03:00
John Preston 23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
John Preston 2a2607d026 Custom colors in history_view_service_message module. 2021-09-06 13:13:26 +03:00
John Preston 1a4a9319f3 Custom colors in history_view_message module. 2021-09-06 13:13:26 +03:00
John Preston c4982711db Use ui/style/style_core_palette. 2021-09-06 13:13:26 +03:00
John Preston df4c9a0765 Cache correct background faster. 2021-09-01 19:38:36 +03:00
John Preston df15c67dab Improve phrase in forwarding options box. 2021-08-31 22:10:56 +03:00
John Preston 9dfc60026e Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
John Preston e9a5c45f34 Use separate strings for channel voice chats. 2021-08-31 17:59:29 +03:00
23rd 0852dbc40f Formatted classes for send actions. 2021-08-30 20:50:28 +03:00
23rd ccea6ce492 Added animated indicator of choosing sticker action to chats list. 2021-08-30 20:50:24 +03:00
John Preston d684c8057c Fix build for macOS. 2021-08-30 20:32:57 +03:00
John Preston beff635e45 Colorize bubbles according to a custom chat theme. 2021-08-30 20:32:57 +03:00
John Preston f5a323e40a Move all background helper methods to chat_theme module. 2021-08-30 20:32:57 +03:00
John Preston 0a1e84ddb2 Move ChatTheme to td_ui. 2021-08-30 20:32:57 +03:00
John Preston 0cfede984c Update API scheme to layer 132. 2021-08-30 20:32:56 +03:00
23rd 558e1d96fd Simplified extracting of calling code from phone number. 2021-08-30 20:32:56 +03:00
23rd 44c188024e Fixed updating of masked input field in intro. 2021-08-30 20:32:56 +03:00
23rd 6caddb5141 Removed old code entry from country info. 2021-08-30 20:32:56 +03:00
23rd 963fda69a8 Removed old formatting of phone numbers. 2021-08-30 20:32:56 +03:00
23rd 6ff0cb853d Added ability to extract pattern groups from incomplete phone number. 2021-08-29 23:31:12 +03:00
23rd 3e80c04da7 Replaced const char ptr with QString in country structs. 2021-08-29 21:01:30 +03:00
23rd 86aaa9673d Moved countries to singleton. 2021-08-29 21:01:10 +03:00
23rd a230e83778 Simplified some names in countries. 2021-08-29 21:00:48 +03:00
23rd df02bbb0a3 Moved countries from Data to Countries namespace. 2021-08-29 20:39:43 +03:00
John Preston 2b6e04bca3 Apply initial bubble opacity in QImage bubble backgrounds. 2021-08-20 14:54:11 +03:00
John Preston 784d57a2bc Use QImage bubbles background for some Media parts. 2021-08-20 14:54:11 +03:00
John Preston f4fdadd3b0 Allow arbitrary QImage as outgoing bubbles background. 2021-08-20 14:54:11 +03:00
23rd b55383efe7 Moved time input widgets to lib_ui. 2021-08-12 02:36:41 +03:00
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
Ilya Fedin 97262a99c7 Get rid of osx and linux32 special targets 2021-08-11 16:59:27 +03:00
John Preston b2e829904f Add support for 1 month self-destruct messages. 2021-07-30 16:05:13 +03:00
23rd 024bb5e54f Moved App::formatPhone to td_ui. 2021-07-26 17:38:51 +03:00
23rd cba0ebce6e Fixed size of animated preview in boxes. 2021-07-20 12:20:30 +03:00
Ilya Fedin c5867e2293 Fix build with clang 2021-07-20 10:34:03 +03:00
Ilya Fedin ba9b72e038 Fix -Wunused-variable warnings with gcc 2021-07-19 22:31:27 +03:00
John Preston 42eb74d07a Version 2.8.9: Fix GIF caption edit. 2021-07-16 10:10:58 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
23rd 47a4f4229d Added ability to hide attach controls. 2021-07-13 22:15:22 +03:00
23rd 7cf5e6d94f Added ability to set controls type for single previews. 2021-07-13 22:15:22 +03:00
23rd 5431541694 Added AbstractSinglePreview. 2021-07-13 22:15:22 +03:00
23rd c1e86418c2 Added ability to generate single media preview from history item. 2021-07-13 22:15:22 +03:00
23rd 86db29cec7 Added AbstractSingleMediaPreview. 2021-07-13 22:15:22 +03:00
23rd 19139a9a5f Added ability to generate single file preview from history item. 2021-07-13 22:15:22 +03:00
23rd 9509a00664 Added AbstractSingleFilePreview. 2021-07-13 22:15:20 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
Ilya Fedin 89765340c3 Fix -Wunused-function warnings 2021-07-13 21:31:22 +03:00
23rd f1669674d8 Moved formatting of image size text to single place.
Fixed wrong size display on retina screens.
Replaced "x" with special character.
2021-07-09 13:15:31 +03:00
23rd cab8a52f8f Fixed visual glitch in image size text from SendFilexBox.
Regression was introduced in f52c6a6daa.
2021-07-09 13:15:31 +03:00
23rd a631a28092 Removed App::pixmapFromImageInPlace. 2021-07-06 12:13:06 +03:00
23rd cdafd8f171 Fixed width of preview for small media in SendFilesBox.
Regression was introduced in 42d4fdb89f.
2021-07-06 12:13:06 +03:00
23rd 116aa01e51 Refactored column width in SingleMediaPreview. 2021-07-06 12:13:06 +03:00
23rd edfd9bedc1 Improved style for controls in EditCaptionBox. 2021-07-06 12:13:06 +03:00
23rd f52c6a6daa Improved style for controls in SendFilesBox. 2021-07-06 12:13:06 +03:00
23rd 18154e403a Added ability to open photo editor in SendFilesBox with left-click. 2021-07-06 12:13:06 +03:00
23rd 6975b04e6b Fixed triggering of pressed buttons in album preview. 2021-07-06 12:13:06 +03:00
23rd 7d2b20e624 Made TabbedSelector more flexible. 2021-07-06 12:13:05 +03:00
23rd 1a7d5b7c95 Removed unused photo crop box. 2021-07-06 12:13:05 +03:00
23rd 17465e1082 Replaced old photo crop box with photo editor for profile photos. 2021-07-06 12:13:05 +03:00
23rd 3ce315111f Added draft menu to SendFilesBox to open photo editor. 2021-07-06 12:13:05 +03:00
23rd 4d72d20398 Added ability to send modified images. 2021-07-06 12:13:04 +03:00
John Preston b22e2ffe1d Animate inline path thumbnails with sliding gradient. 2021-07-02 20:40:32 +03:00
John Preston 4124c2eb57 Show inline path thumbnails for stickers. 2021-07-02 13:13:48 +03:00
John Preston 48d482006a Fix crash fix. 2021-06-26 12:33:18 +03:00
John Preston 9afee2620a Fix crash in vertical sliders.
Regression was introduced in 90ff8ecd0f.
2021-06-26 08:20:37 +03:00
John Preston 90ff8ecd0f Fix volume slider in voice chats. 2021-06-23 20:14:22 +04:00
John Preston ec234cdc43 Improve volume slider design in group calls. 2021-06-17 16:22:51 +04:00
23rd eefa7263b5 Added ability to show photo from Controller for sections. 2021-06-17 10:57:45 +04:00
23rd 5c54d3690c Added floating date badge to Shared Photos and Shared Videos. 2021-06-09 09:19:27 +04:00
23rd cfbbce26c4 Added suitable name for floating badge colors. 2021-06-09 09:19:27 +04:00
John Preston ba6cee6f81 Add video/screencast pinned/unpinned toasts. 2021-05-31 17:10:30 +04:00
23rd 690fbe83fd Unified and moved to single place generating of song name from SongData. 2021-05-31 08:54:22 +04:00
23rd a429500b57 Fixed first animation of album thumbs in SendFilesBox on Retina screens. 2021-05-30 23:39:55 +03:00
John Preston 3f2b473287 Add tooltips for wide mode controls. 2021-05-28 19:08:11 +04:00
John Preston d659200a42 Show unmute button tooltip about space bar. 2021-05-28 14:47:41 +04:00
John Preston 3709714339 Make '[un]registerLeaveSubscription' work in all windows. 2021-05-27 09:34:33 +04:00
John Preston 9510ba07f7 Drop old sticker set cover locations. 2021-05-24 22:45:15 +04:00
John Preston 64c34b7029 Hide controls in wide video mode. 2021-05-24 22:45:15 +04:00
John Preston a48649987e Improve screencast source choosing design. 2021-05-24 22:45:14 +04:00
John Preston dac9017df1 Improve video chat controls layout. 2021-05-24 22:45:14 +04:00
John Preston b7fc3f67d7 Add toggle video and screen sharing buttons. 2021-05-24 22:45:13 +04:00
John Preston e0bfaad3a2 Make style of mute button customizable. 2021-05-24 22:45:13 +04:00
John Preston eb8f709943 Show members list in PanelMode::Wide. 2021-05-24 22:45:13 +04:00
John Preston fe40464e33 Force separate panel into the screen geometry. 2021-04-28 13:16:00 +04:00
John Preston 819ce06dfb Don't mark messages as read when screen is locked. 2021-04-27 13:31:51 +04:00
John Preston c242a61e8c Fix money input field limit without decimal separator. 2021-04-19 11:26:04 +04:00
John Preston be74a391ba Show floor()-ed days count till voice chat start. 2021-04-13 18:27:38 +04:00
John Preston 04c0d79ccc Add payment button icon to the corner. 2021-04-13 17:21:24 +04:00
John Preston 0e1a445614 Fix serializing peers. 2021-04-12 10:48:17 +04:00
John Preston 16f1875fdc Fix crash in reading StorageFileLocation. 2021-04-12 10:48:17 +04:00
John Preston 4ecd1049b2 Allow scheduling voice chats for up to 7 days. 2021-04-12 10:48:16 +04:00
John Preston 0e47c6b415 Show 'Late by' state and glow in ForceMuted state. 2021-04-12 10:48:16 +04:00
John Preston 4d91ab7079 Update lottie icons in voice chats. 2021-04-12 10:48:16 +04:00
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston 27fc61c676 Add confirm for starting scheduled voice chat early. 2021-04-06 20:09:52 +04:00
John Preston 8c7217ad56 Fix build on macOS. 2021-04-06 18:53:03 +04:00
John Preston d7e90fec1a Add a nice countdown to scheduled voice chat panel. 2021-04-06 18:41:16 +04:00
John Preston 66e7f05df1 Improve scheduled voice chat top bar design. 2021-04-06 18:41:16 +04:00
John Preston 088fda4ed8 Correctly track mute button scheduled state. 2021-04-06 18:41:16 +04:00
John Preston 15d17c8b0e Add creating of a scheduled group call. 2021-04-06 18:41:16 +04:00
John Preston b6c86fd298 Add nice tips buttons. 2021-04-06 18:41:16 +04:00
John Preston d55d7f37d7 Close payments panel by escape. 2021-04-06 18:41:16 +04:00
John Preston 1cc1f380d0 Implement a nice money input field. 2021-04-06 18:41:16 +04:00
John Preston f09a468a7c Improve design of payment bottom buttons. 2021-04-06 18:41:16 +04:00
John Preston 619f70ab22 Improve design of shipping option selection. 2021-04-06 18:41:16 +04:00
John Preston 21b502c754 Format money amount same way as server does. 2021-04-06 18:41:16 +04:00
John Preston 8cac76931e Support adding tips in payments. 2021-04-06 18:41:15 +04:00
John Preston 3ec3f6484f Update API scheme to layer 128. 2021-04-06 18:41:15 +04:00
John Preston 1050447eed Add phone format and validation in payments. 2021-04-06 18:41:15 +04:00
John Preston 0af6c4b0b6 Add local validation for card information. 2021-04-06 18:41:15 +04:00
John Preston 56031a6402 Handle native / non-native payment methods (same way). 2021-04-06 18:41:15 +04:00
John Preston 212497413c Show some payment errors, focus fields. 2021-04-06 18:41:15 +04:00
John Preston 0d44736575 First full-featured version of payments, no design. 2021-04-06 18:41:15 +04:00
John Preston 4c707bff29 Start proper payments processing. 2021-04-06 18:41:15 +04:00
Ilya Fedin 073b5b106c Get rid of modal parent hack
It was introduced to workaround the absence of size hints propagating in Qt 5.12 Wayland backend, there's no need in it anymore
2021-04-05 08:03:46 +03:00
John Preston 56c8327746 Fix emoji picker button in boxes in non-default scale. 2021-03-22 19:41:13 +04:00
John Preston 348b4d54ba Revert "Workaround build issues on GCC."
This reverts commit 3defb06783.
2021-03-18 00:30:12 +04:00
John Preston 3defb06783 Workaround build issues on GCC. 2021-03-16 22:26:58 +04:00
John Preston 38dd5ab837 Fix 'join as' userpic button display. 2021-03-16 18:58:10 +04:00
John Preston 61d0d240aa Add 'rejoin as' and 'change title' toast notifications. 2021-03-16 18:13:51 +04:00
Ilya Fedin ae0b9141dd Trying to get rid of unused variables... 2021-03-15 11:40:44 +03:00
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00
Ilya Fedin f25b2a2094 Apply autofixes from clazy 2021-03-13 15:25:47 +03:00
John Preston fb7a8cae33 Improve voice chat lottie animations. 2021-03-13 15:27:25 +04:00
John Preston d624e2ef65 Fix build on macOS and Linux. 2021-03-12 19:21:35 +04:00
John Preston a2695ea0d7 Add CallMuteButton with lottie animations. 2021-03-12 16:58:26 +04:00
John Preston 8ba77defeb Custom menu items for recording / leaving. 2021-03-12 16:58:26 +04:00
John Preston 506cd8c7ad Improve 'Join As' selector design. 2021-03-12 16:58:26 +04:00
John Preston f8783c3bfc Move actions from Settings to Three-Dot-Menu. 2021-03-12 16:58:26 +04:00
John Preston ccd440ea0b Update API scheme. 2021-03-12 16:58:26 +04:00
John Preston 02517f7221 Update API scheme to layer 125. 2021-03-12 16:58:26 +04:00
Ilya Fedin 23272430b4 Build with QT_NO_KEYWORDS 2021-03-04 12:07:54 +04:00
John Preston 8142acc709 Remove legacy #feed code. 2021-02-25 17:03:51 +04:00
John Preston 2d8e6f9745 Fix crash in EditLinkBox destruction.
Fixes #10432.
2021-02-24 19:07:49 +04:00
John Preston ce5739048a Fix build on Xcode. 2021-02-22 23:42:42 +04:00