Commit graph

835 commits

Author SHA1 Message Date
John Preston
3a84c6afdd Redesign webpage/giveaway/ads bottom button. 2023-10-26 14:08:41 +04:00
John Preston
f8d5a8a203 Redesign web pages preview. 2023-10-26 14:08:41 +04:00
John Preston
b9af4f3cb0 Show nice replies with quotes. 2023-10-26 14:08:41 +04:00
John Preston
4b6107fa56 Use color index from API. 2023-10-26 14:08:41 +04:00
John Preston
f90a010b84 Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston
ef0539c9fc Allow replying with quoting message part. 2023-10-26 14:08:41 +04:00
John Preston
981babf302 Support giveaway information box. 2023-10-26 14:08:41 +04:00
John Preston
4240568ea5 Pass FullReplyTo everywhere. 2023-10-26 14:08:40 +04:00
John Preston
a77131dfd6 Add giveaway prize service message layout. 2023-10-26 14:08:40 +04:00
John Preston
caca679336 Add quantity badge to giveaway message. 2023-10-26 14:08:40 +04:00
John Preston
b08869abdb Support giveaway message layout. 2023-10-26 14:08:40 +04:00
John Preston
926aae6847 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston
575684670c Improve quotes / code blocks geometries. 2023-10-20 17:59:34 +04:00
John Preston
0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
John Preston
2414e927bd Add initial code syntax highlighting.
Thanks PrismJS and Fela for porting it to C++.
2023-10-04 22:29:16 +04:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
John Preston
dbd4aecc56 Don't show message bottom info in bot about. 2023-09-12 11:40:33 +04:00
John Preston
58d762f130 Fix web page video message with reactions. 2023-08-21 13:32:09 +02:00
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