Commit Graph

1423 Commits

Author SHA1 Message Date
John Preston
9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
John Preston
3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston
c90f879c96 Update API scheme on layer 148. 2022-11-01 19:25:33 +04:00
John Preston
73e56b0340 Support default General topic in forums. 2022-11-01 19:25:32 +04:00
John Preston
eaf679916a Create / move forum topics on new messages. 2022-11-01 19:25:32 +04:00
John Preston
388fe6adfb Allow enabling forum, creating topics. 2022-11-01 19:25:32 +04:00
John Preston
c88140e256 Update API scheme to layer 148, start forums. 2022-11-01 19:25:32 +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
John Preston
70ba28bbd5 Fix crash in emoji statuses clearing. 2022-09-30 16:30:58 +04:00
John Preston
4c276e2357 Version 4.2.3: Fix clearing of user emoji status. 2022-09-28 15:49:34 +04:00
John Preston
0e6c899cee Fix crash after spoiler reveal in comments. 2022-09-25 18:21:58 +04:00
John Preston
ffb024a5f7 Move Ui::Text::String to HistoryView::Element. 2022-09-22 11:07:48 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
23rd
557a2e400e Fixed muting of peer forever. 2022-09-14 23:10:30 +04:00
John Preston
40bdcd7ebc Short poll extended media. 2022-09-12 18:18:31 +04:00
John Preston
d2234d88b6 Update extended media, hide inline keyboard. 2022-09-12 16:10:56 +04:00
John Preston
c2fd4ccd59 Skip custom reactions if premium isn't possible. 2022-09-12 10:07:07 +04:00
John Preston
7c8d3452b5 Fix reaction icons in Who Reacted. 2022-09-12 09:38:18 +04:00
John Preston
20b5138e00 Initial implementation of ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston
5cc6275fc3 Fly + effects when choosing an emoji status. 2022-09-07 12:52:34 +04:00
John Preston
f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
23rd
fa4801ac94 Added ability to set emoji status for certain period of time. 2022-09-02 21:14:34 +04:00
John Preston
e32031963b Colorize status in premium promo and pack preview. 2022-09-02 21:14:34 +04:00
John Preston
688cd70c91 Prepend colored default statuses in selector. 2022-09-02 21:14:34 +04:00
John Preston
7d77e8a203 Play generic animations for custom reactions. 2022-09-02 21:14:34 +04:00
John Preston
0a3077b9a5 Update API scheme on layer 145. 2022-09-02 21:14:33 +04:00
John Preston
2d07539892 Support colored emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston
923e725e18 Request default and recent emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston
5e81c65ea6 Implement improved allowed reactions editing. 2022-09-02 21:14:32 +04:00
John Preston
e540b8cbdc Read correct reactions limit from config. 2022-09-02 21:14:32 +04:00
John Preston
ebf6cea2f5 Correctly show premium promo for custom reactions. 2022-09-02 21:14:32 +04:00
John Preston
ed3f246510 Use FrameGenerator-based AnimatedIcon for reactions. 2022-09-02 21:14:32 +04:00
23rd
da6d580348 Fixed style of box for premium doubled limits. 2022-09-02 21:14:32 +04:00
23rd
6f3d19914d Unified parsing of MTP gift and subscription options in separate file. 2022-09-02 21:14:32 +04:00
23rd
fc759ac688 Renamed GiftOption to SubscriptionOption. 2022-09-02 21:14:31 +04:00
23rd
90ef0e4969 Reformated serializing and parsing of ref data for Premium Settings. 2022-09-02 21:14:31 +04:00
John Preston
668a3308be Support custom emoji reactions in WhoReacted. 2022-09-02 21:14:31 +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
31db1804c8 Request top and recent reactions. 2022-09-02 21:14:31 +04:00
John Preston
c655f78780 Fix build with Xcode. 2022-09-02 21:14:30 +04:00
John Preston
c5fa4aae62 Support reaction dropdown based on EmojiListWidget. 2022-09-02 21:14:30 +04:00
John Preston
f72092a261 Update API scheme on layer 145. 2022-09-02 21:14:30 +04:00
John Preston
bd42c23999 Implement reactions selector above the menu. 2022-09-02 21:14:30 +04:00
John Preston
f658cb7e99 Update API scheme on layer 145. 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
1e2e007d38 Show custom emoji in private chat reactions. 2022-09-02 21:14:29 +04:00
John Preston
09124f6424 Implement PoC custom reaction selection. 2022-09-02 21:14:29 +04:00
John Preston
60cc232884 Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston
165d3143de Allow emoji status edit from self profile. 2022-09-02 21:14:28 +04:00
John Preston
21fd381778 Show emoji status in chats list / top bar. 2022-09-02 21:14:28 +04:00
John Preston
285ce81b7b Update API scheme to layer 145. 2022-09-02 21:14:28 +04:00
John Preston
2c0a38d356 Don't unload emoji sets.
Fixes #24933.
2022-08-15 15:52:27 +03:00
John Preston
c126a1e56e Simplify CustomEmojiId. 2022-08-15 13:17:24 +03:00
John Preston
fede1ff173 Simplify stickers inner API. 2022-08-15 11:34:22 +03:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
23rd
cde5e89e42 Fixed recording of voice messages in Saved Messages. 2022-08-08 09:34:55 +03:00
John Preston
543bfab24a Resolve custom emoji in OnlyCustomEmoji media. 2022-08-04 14:31:15 +03:00
John Preston
f8e22210e7 Move Webm sticker to UnwrappedMedia. 2022-08-04 13:35:34 +03:00
John Preston
7a88f9434e Support OnlyCustomEmoji unwrapped messages. 2022-08-03 20:43:26 +03:00
23rd
e7b3416da8 Allowed to forward voice messages without full user info. 2022-08-02 16:51:11 +03:00
John Preston
e3140a8a45 Implement premium sticker-by-emoji suggestions. 2022-08-02 13:20:38 +03:00
John Preston
4915ea8ad3 Add convenient appConfig().get<int>(..). 2022-08-02 13:20:38 +03:00
John Preston
b42f2784ab Allow sending premium emoji to Saved Messages. 2022-08-02 13:20:38 +03:00
John Preston
087074fea4 Request song covers through MTProto. 2022-08-02 13:20:38 +03:00
23rd
3602155f68 Fixed display of gift service actions for gift senders. 2022-07-27 12:49:52 +03:00
John Preston
e64190fb64 Fix crash in attached emoji preview. 2022-07-27 12:26:22 +03:00
John Preston
4cf4b6a368 Optimize emoji / stickers update requests. 2022-07-26 20:12:14 +03:00
John Preston
edfb7bb65a Support custom emoji in IsolatedEmoji. 2022-07-26 20:12:14 +03:00
John Preston
2a4d269eca Use large image previews more. 2022-07-26 20:12:13 +03:00
John Preston
31bb08068b Use non-exact image previews if available. 2022-07-26 20:12:13 +03:00
John Preston
c51837cfdf Reuse SizeTag::Large emoji instances. 2022-07-26 20:12:13 +03:00
John Preston
b0fab8c987 Show featured custom sets in the panel. 2022-07-26 20:12:13 +03:00
John Preston
ff55918da0 Parse link entities into Data::Invoice. 2022-07-26 20:12:13 +03:00
John Preston
b4b55973b5 Request and cache featured emoji sets. 2022-07-26 20:12:13 +03:00
John Preston
b31a3ba5a3 Improve emoji set box design. 2022-07-26 20:12:13 +03:00
23rd
505e60545e Respected privacy setting for voice messages when they are forwarded. 2022-07-26 20:12:12 +03:00
John Preston
de0eef8cc6 Update API scheme on layer 144. 2022-07-26 20:12:12 +03:00
John Preston
bb7249f280 Allow viewing emoji sets used in a message. 2022-07-26 20:12:12 +03:00
23rd
67195f3825 Added initial support of privacy setting for voice messages. 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
89a3462824 Simplified extracting of data from some MTP* responses. 2022-07-26 20:12:11 +03:00
John Preston
44a7d11e4a Support mixed custom / default recent emoji. 2022-07-26 20:12:11 +03:00
John Preston
a821c3c31d Support thumb_document_id in emoji sets. 2022-07-26 20:12:10 +03:00
John Preston
ddd5021966 Minimal emoji sets support. 2022-07-26 20:12:10 +03:00
John Preston
afc7b1da62 Update API scheme on layer 144. 2022-07-26 20:12:10 +03:00
23rd
c7c8ebed13 Added initial box for premium gifts. 2022-07-26 20:12:09 +03:00
John Preston
0ed434cfaf Show all stickers as emoji after default categories. 2022-07-26 20:12:09 +03:00
John Preston
e954871cb9 Make custom emoji size 12% larger. 2022-07-26 20:12:09 +03:00
John Preston
b87fd601ab Update API scheme on layer 144. 2022-07-26 20:12:09 +03:00
John Preston
c01d9747e7 Fix inline via @bot click in additional windows
Fixes #24717.
2022-07-26 20:12:09 +03:00
John Preston
b976aa0872 Support custom emoji in chats list entries. 2022-07-26 20:12:08 +03:00
John Preston
8c8cbbbc83 Display custom emoji in custom notifications. 2022-07-26 20:12:08 +03:00
John Preston
2499955496 Support custom emoji in the message input field. 2022-07-26 20:12:08 +03:00
John Preston
3c01bb5a4a Add support for static and webm custom emoji. 2022-07-26 20:12:08 +03:00
John Preston
8ed101cbbf Insert recent stickers as emoji for testing. 2022-07-26 20:12:08 +03:00
John Preston
6db3a0ec98 Support optimized lottie emoji. 2022-07-26 20:12:08 +03:00
John Preston
9d280da80b Start optimized custom emoji, show path thumbnail. 2022-07-26 20:12:08 +03:00
John Preston
2e6733e433 Proof-of-concept animated custom emoji. 2022-07-26 20:12:08 +03:00
John Preston
21aa1323ec Provide custom emoji factory through MarkedTextContext. 2022-07-26 20:12:08 +03:00