Commit Graph

466 Commits

Author SHA1 Message Date
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston 5309af5d56 Restrict shared media selection in noforward chats. 2021-11-30 16:26:47 +04:00
John Preston 47074b48d6 Improve sessions list design. 2021-11-30 13:44:31 +04:00
John Preston d4c6475ae8 Show sessions list in a Settings Section. 2021-11-29 17:30:14 +04:00
John Preston 80fcffcc40 Delete history for specific days in private chats. 2021-11-26 18:00:19 +04:00
John Preston 96c910190b Restrict saving files as if noforwards. 2021-11-26 18:00:18 +04:00
John Preston c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
John Preston bcddda3cd3 Extract PeerShortInfoCover from the box. 2021-10-29 18:31:07 +04:00
John Preston d73d5724d8 Show radial progress in PeerShortInfoBox video. 2021-10-29 18:31:07 +04:00
John Preston 6b137b9778 Make full PeerShortInfoBox scrollable. 2021-10-29 18:31:07 +04:00
John Preston 360a92c198 Show user photos overview in PeerShortInfoBox. 2021-10-29 18:31:07 +04:00
John Preston dcc14a4726 Add info rows to PeerShortInfoBox. 2021-10-29 18:31:07 +04:00
John Preston 61ac7e6c1d Start PeerShortInfoBox for small in-box profiles. 2021-10-29 18:31:06 +04:00
John Preston 49b28ac695 Reuse "info_add_member" icon for requests management. 2021-10-29 18:31:06 +04:00
John Preston ab58aa020e Allow many custom elements in PeerListRow. 2021-10-29 18:31:06 +04:00
John Preston 3af3f85f82 Allow creating approve-only invite links. 2021-10-29 18:31:06 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd 159beb138a Moved api peer photo processing to separated file.
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +03:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
23rd 9117b3cdfa Extracted DeleteMessagesBox to separated file. 2021-10-19 06:34:27 +03:00
John Preston 1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04:00
23rd 900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston 2a2607d026 Custom colors in history_view_service_message module. 2021-09-06 13:13:26 +03:00
John Preston 3cd0f9d189 Start non-unique ChatTheme. 2021-08-30 20:32:57 +03:00
John Preston 3dadcd9352 Animated transition on pattern-on-gradient resize. 2021-08-16 10:26:08 +03:00
23rd 0ae260c6e1 Moved MTP blocked peers from ApiWrap to Api::BlockedPeers. 2021-08-10 15:46:18 +03:00
John Preston f3ab01604c Version 2.9: Fix build on Linux. 2021-07-30 21:03:49 +03:00
John Preston 868c494299 Extract Mosaic::Layout::AbstractMosaicLayout. 2021-07-28 17:00:46 +03:00
23rd a030907598 Refactored sending bot commands. 2021-07-27 02:50:08 +03:00
23rd 93bcd90fd4 Provided more context for click handlers. 2021-07-27 02:18:49 +03:00
23rd 024bb5e54f Moved App::formatPhone to td_ui. 2021-07-26 17:38:51 +03:00
23rd 6e2f8eb9a7 Moved text selection utils to td_ui. 2021-07-26 17:38:51 +03:00
23rd 793f748d2e Replaced overview and inline mosaic layouts with new mosaic layout. 2021-07-26 17:38:51 +03:00
23rd 9b6ab6e137 Fixed date badge in Shared GIFs section. 2021-07-23 15:42:17 +03:00
23rd a153059b38 Added ability to unload not visible GIFs as heavy parts in overview. 2021-07-23 15:42:17 +03:00
23rd 039ffd3d34 Copied layout items mosaic drawing for overview layout. 2021-07-23 15:42:17 +03:00
23rd abdd2fa99b Added ability to force open media viewer from overview layout. 2021-07-23 15:42:17 +03:00
23rd b366c27a0c Added to Overview::Layout::Delegate ability to request repaint item. 2021-07-23 15:42:17 +03:00
c0re100 842a89d2c7 Add GIFs shared media section 2021-07-23 15:42:17 +03:00
Ilya Fedin ba9b72e038 Fix -Wunused-variable warnings with gcc 2021-07-19 22:31:27 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston a74228acea Don't use MTP* for ChannelData flags. 2021-07-08 16:11:09 +03:00
John Preston e34375405e Don't use MTP* for UserData flags. 2021-07-08 14:19:12 +03:00
23rd 17465e1082 Replaced old photo crop box with photo editor for profile photos. 2021-07-06 12:13:05 +03:00
John Preston b930bc0e6d Track bot commands separately in different chats. 2021-07-02 20:41:48 +03:00
23rd af7ea90246 Added floating panel of playing playlist for scheduled audio files. 2021-07-01 23:53:45 +03:00
23rd 3fd772ce17 Moved file click handlers to separated file. 2021-06-18 07:30:54 +03:00