Commit Graph

319 Commits

Author SHA1 Message Date
23rd 3467fe226f Added ability to send webp as compressed image. 2022-11-22 00:26:49 +00:00
John Preston ede34578da Display jump to last topic message bubble. 2022-11-22 00:26:48 +00:00
John Preston 37308cde21 Support dialog rows with variable height. 2022-11-22 00:26:48 +00:00
Dragoon Aethis 9d59e42b52 Add an experimental "small message radius" toggle (#25305)
Add an experimental "small message radius" toggle.

This toggle allows switching to the pre-4.3.0, smaller message bubble
radius after an app restart. The message bubble radius styles now have
to be referenced via the Ui::BubbleRadius* and Ui::MsgFileThumbRadius*
wrappers to use the appropriate value.
2022-11-08 14:19:17 +04:00
John Preston fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +04:00
Ilya Fedin 68ad56db79 Use QtWaylandCompositor for webview embedding on Linux 2022-11-01 19:33:46 +04:00
23rd 579b20fff7 Added initial ability to transcribe video messages. 2022-11-01 19:25:42 +04:00
John Preston 72354f52d4 Improve top bars in forums, in narrow column. 2022-11-01 19:25:41 +04:00
John Preston 4074a558e7 Get rid of Ui::FlatInput class.
Fixes #16172.
2022-11-01 19:25:41 +04:00
23rd dc8b693f1d Added context menu to bar of pinned messages with bot button. 2022-11-01 19:25:40 +04:00
23rd 659a7622be Fixed memory leak from bar of pinned messages. 2022-11-01 19:25:40 +04:00
23rd 29663a410a Added decimal separators to count of participants in group call bar. 2022-11-01 19:25:38 +04:00
John Preston 6695eda1be Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
John Preston 9348039313 Track unread posts in forums inside RepliesList-s. 2022-11-01 19:25:36 +04:00
John Preston 0d985b5745 Don't focus main button on progress show. 2022-11-01 19:25:36 +04:00
John Preston d4cdd67128 Fix RTL text in bot attach webview main button. 2022-11-01 19:25:36 +04:00
John Preston 3722e55b67 Support topic on-the-fly creation. 2022-11-01 19:25:35 +04:00
John Preston 83008fa358 Support new rounding in theme preview generator. 2022-11-01 19:25:35 +04:00
John Preston e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston 9cab06e17d Support new rounding for albums. 2022-11-01 19:25:35 +04:00
John Preston 8268e9f872 Support new rounding for GIFs / videos. 2022-11-01 19:25:35 +04:00
John Preston abdd126dcf Round correctly distinct photos and extended media. 2022-11-01 19:25:35 +04:00
John Preston f3662f4873 Support correct rounding of file thumbnails. 2022-11-01 19:25:34 +04:00
John Preston dd52c53ec0 Allow more file attach layout customization. 2022-11-01 19:25:34 +04:00
John Preston b13471672d Move some chat styles from basic.style to chat.style. 2022-11-01 19:25:34 +04:00
John Preston ba2f92906b Implement new bubble rounding. 2022-11-01 19:25:34 +04:00
Ilya Fedin 7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
Ilya Fedin 2c1933bdb8 Use application-wide time format in remaining td_ui places 2022-10-17 08:33:22 +04:00
John Preston 4f948699c0 Correct spoiler selections. 2022-09-18 16:52:31 +04:00
John Preston cd00d41cca Correct spoiler colors in fully selected messages. 2022-09-18 16:52:31 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 379736a7d1 Show extended preview inline keyboard button. 2022-09-12 16:40:19 +04:00
John Preston 2e8a03dfd1 Correctly round spoiler animation in ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston 9bb2bb09b9 Update API scheme on layer 145.
Restrict send from channels to premium in line with API restrictions.
2022-09-02 21:14:34 +04:00
23rd 35c59ad35a Moved out util function for contrast calculation between 2 colors. 2022-09-02 21:14:32 +04:00
John Preston ba83836922 Display custom emoji reactions under messages. 2022-09-02 21:14:31 +04:00
John Preston 8a6b3027f5 Support multiple reactions from one user. 2022-09-02 21:14:31 +04:00
John Preston bd42c23999 Implement reactions selector above the menu. 2022-09-02 21:14:30 +04:00
John Preston a0d5456a4d PoC content outside of PopupMenu. 2022-09-02 21:14:29 +04:00
John Preston f8e22210e7 Move Webm sticker to UnwrappedMedia. 2022-08-04 13:35:34 +03:00
John Preston 7a61693034 Limit attached emoji phrase to two lines. 2022-07-28 18:36:48 +03:00
23rd c1fa39ac05 Equaled top and bottom padding for sticker in service gift message. 2022-07-28 02:49:07 +03:00
23rd 2d75f9e752 Fixed build with Xcode. 2022-07-27 12:49:52 +03:00
John Preston af54721f07 Disable attach bot share phone command for now. 2022-07-26 20:12:14 +03:00
John Preston bb7249f280 Allow viewing emoji sets used in a message. 2022-07-26 20:12:12 +03:00
John Preston 4ca6af33d4 Support web_app_request_phone attach bot requests. 2022-07-26 20:12:11 +03:00
23rd e84f5aaa3d Added support of service actions for premium gifts. 2022-07-26 20:12:11 +03:00
23rd bcdcd7ee70 Disabled animation for first showing of right button in pinned bar. 2022-07-26 20:12:10 +03:00
John Preston c1e7e63677 Support custom popups in attach bots. 2022-07-26 20:12:09 +03:00