Commit graph

467 commits

Author SHA1 Message Date
23rd
fd6e135700 Ignored drag action on reply links in unwrapped media. 2023-08-15 10:27:10 +03:00
23rd
9bf5f992a3 Removed not really necessary HistoryView::Media::dragItem method. 2023-08-15 10:26:52 +03:00
23rd
717041a462 Added ripple animation to message replies. 2023-08-14 22:30:36 +02:00
John Preston
fb4e05405e Support and use share comment in stories. 2023-07-24 11:43:20 +04:00
John Preston
734c5c6740 Use a single Ui::UnreadStoryOutlineGradient. 2023-07-20 07:20:57 +04:00
John Preston
b46799f2c3 Fix premium gift message layout. 2023-07-20 07:20:56 +04:00
John Preston
641a03c988 Fix crash on mention story opening. 2023-07-20 07:20:46 +04:00
John Preston
08ee386b28 Fix build for macOS. 2023-07-20 07:20:33 +04:00
John Preston
5ccb97668c Add short-polling of stories. 2023-07-20 07:20:33 +04:00
John Preston
a0ffa15885 Update story mention layout, add outline.
Also use uint32 for bool-bitfields, otherwise:

int a : 1 = 0;
...
const auto test = true;
const auto b = test ? 1 : 0;
if (a != b) {
    a = b;
    ...
}
Assert(a == b); // Violation, because a == -1, not 1 (after a = b).
2023-07-20 07:20:33 +04:00
John Preston
3d795f2f67 Implement story mention messages. 2023-07-20 07:20:32 +04:00
John Preston
1b581a1597 Support story link previews. 2023-07-20 07:20:12 +04:00
John Preston
1c41df364c Improved shared story layout. 2023-07-20 07:20:11 +04:00
John Preston
c133f4de69 Display shared stories in message history. 2023-07-20 07:20:11 +04:00
John Preston
aba84a6010 Update API scheme on layer 160: Duration. 2023-07-20 07:20:10 +04:00
John Preston
29d0c8c2ec Update API scheme to layer 159. 2023-07-20 07:20:07 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston
b6fbdd25a0 Show video radial above the spoiler. 2023-04-24 21:12:52 +04:00
John Preston
65f54d937f Toggle wallpaper dark mode / edit dimming. 2023-04-20 22:55:42 +04:00
John Preston
1b6b0c1732 Show blur / dimming in wallpaper preview. 2023-04-19 12:14:39 +04:00
John Preston
0b25d19e3b Allow uploading chat wallpapers from file. 2023-04-19 10:42:01 +04:00
John Preston
352ae5100a Support chat wallpaper set from gallery. 2023-04-18 16:47:31 +04:00
John Preston
9b25973b49 Update chat wallpaper from service message. 2023-04-17 16:36:13 +04:00
John Preston
bf27185feb Show custom chat wallpapers in chats. 2023-04-17 16:35:50 +04:00
John Preston
5cbf9a2dc4 Show background preview in service messages. 2023-04-14 13:52:49 +04:00
John Preston
b92e6e38f7 Skip premium effect if stickers aren't playing. 2023-03-17 18:53:32 +04:00
John Preston
221b0d19c7 Support media covers for bot descriptions.
For that replace custom handling of _botAbout by a fake message.
2023-03-08 16:10:36 +04:00
John Preston
2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00
John Preston
3ac86adf10 Support translations in replies / pinned. 2023-02-02 22:12:33 +04:00
23rd
9940ee21d3 Added api support to upload emoji markup of userpic instead of image. 2023-02-02 22:12:32 +04:00
John Preston
f5be551ff8 Add translation bar dropdown menu. 2023-02-02 22:12:32 +04:00
John Preston
719466fcac Initial chat-translation feature implementation. 2023-02-02 22:12:32 +04:00
John Preston
e950130da6 Fix date and forward bar overlapping. 2023-02-02 10:55:04 +04:00
23rd
58ed30d30e Moved constants of arc angles to td_ui. 2023-01-19 08:51:57 +03:00
John Preston
6b8f80bd63 Fix starting of video messages. 2023-01-19 09:46:20 +04:00
John Preston
2c75fe033c Fix inline GIFs play start in separate windows.
Fixes #25694.
2023-01-19 09:46:19 +04:00
John Preston
b9081c26ba Use tg://settings/edit_profile instead /information. 2023-01-05 09:55:38 +04:00
John Preston
19350e3846 Open type="document" with photo as a photo.
Fixes #25600.
2023-01-02 15:08:36 +04:00
Ilya Fedin
66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston
168cdaf350 Fix build with GCC. 2022-12-26 14:27:19 +04:00
John Preston
b9b6d4dba1 Show toast after photo suggestion is accepted. 2022-12-26 14:24:08 +04:00
John Preston
2364b0ad4e Show additional information in userpic suggest / accept. 2022-12-26 14:24:07 +04:00
John Preston
9513aaa768 Allow accepting video userpic suggestions. 2022-12-26 14:24:07 +04:00
John Preston
14f113266f Improve suggested photo service message. 2022-12-26 14:24:06 +04:00
John Preston
833a259234 Colorize emoji in text color correctly. 2022-12-26 14:24:06 +04:00
John Preston
5bee6310c0 Allow sending media with spoilers. 2022-12-26 14:24:05 +04:00
John Preston
3a38497c4c Support displaying of video spoilers. 2022-12-26 14:24:05 +04:00
John Preston
25746d195c Support displaying of photo spoilers. 2022-12-26 14:24:05 +04:00
John Preston
ae819eb1a6 Open settings when done changing photo. 2022-12-26 14:24:05 +04:00
John Preston
48cf0a4382 Implement suggested profile photo message. 2022-12-26 14:24:05 +04:00