Commit Graph

1423 Commits

Author SHA1 Message Date
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
Sprite
bf0ad9e7ca Explicitly specify signed modifier for char type 2022-06-25 07:13:57 +04:00
John Preston
1c720af9bc Clear history allowed when delete channel allowed. 2022-06-20 12:04:56 +04:00
John Preston
ff51bf81f3 Allow clearing history in megagroups. 2022-06-20 11:30:43 +04:00
23rd
7b00671ccf Moved out all values of premium limits to single place. 2022-06-16 13:29:37 +03:00
John Preston
0fc687953f Allow selecting / copying voice transcribe text. 2022-06-16 12:05:24 +04:00
John Preston
145d112982 Fix build with GCC. 2022-06-15 23:25:51 +04:00
John Preston
855d4692fe Fallback to large profile video in chat / chats list. 2022-06-15 16:50:59 +04:00
John Preston
ce7b6fe17a Fix build with the new scheme. 2022-06-14 19:16:18 +04:00
23rd
c9bd0ab725 Replaced MTP types with type aliases for shared media api. 2022-06-14 18:51:53 +04:00
23rd
243b16398b Moved out api for user photos to related separated module. 2022-06-14 18:51:38 +04:00
23rd
13146e9c06 Replaced use of raw MTP* bot commands with new transitional classes. 2022-06-14 18:51:18 +04:00
23rd
5f8608ed90 Moved out BotCommand struct to separated file. 2022-06-14 18:45:12 +04:00
23rd
629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd
1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
John Preston
f78b9324dc Show videos in premium preview boxes. 2022-06-10 12:05:16 +04:00
23rd
37f96534ec Fixed opening of shared media in corresponding window from media viewer. 2022-06-09 00:45:04 +03:00
John Preston
705753efb2 Use small userpic video in dialogs list / chat history. 2022-06-03 15:58:02 +04:00
John Preston
46f9bdd701 Skip premium effect for nopremium stickers. 2022-06-02 18:23:33 +04:00
John Preston
2362d6c6fb Introduce premium reactions preview box. 2022-05-27 19:42:05 +04:00
John Preston
0b2a5a22ba Update API scheme on layer 143 + transcribe. 2022-05-24 23:38:40 +04:00
John Preston
d1907083ed Add FileSizeLimitBox and pass "ref" to premium payment. 2022-05-23 18:46:15 +04:00
John Preston
d81bba155a Update some premium icons. 2022-05-20 19:28:50 +04:00
John Preston
5cd065ef6b Show premium page on limit increase decision. 2022-05-20 17:12:56 +04:00
John Preston
22613fc204 Show only one placeholder for premium reactions. 2022-05-19 17:27:04 +04:00
John Preston
0870a28443 Fix pinned chats in main list. 2022-05-19 17:27:04 +04:00
John Preston
3b5ec78f4f Show first (may be non-"All Chats") folder by default. 2022-05-19 17:27:03 +04:00
John Preston
fe91887ea2 Update API: support "All Chats" reordering. 2022-05-19 17:27:03 +04:00
John Preston
201edb2e69 Play premium video avatars in chats list. 2022-05-19 17:27:03 +04:00
John Preston
5478a8c014 Show reply info in scheduled forwards. 2022-05-19 17:27:03 +04:00
John Preston
308f106dc1 Support large files in Downloads. 2022-05-19 17:27:03 +04:00
John Preston
63940ea557 Support "recommended" sponsored messages. 2022-05-19 17:27:03 +04:00
John Preston
6dedf7c63e Update API scheme to layer 143. 2022-05-19 17:27:02 +04:00
John Preston
dd05fb4d14 Show limit toasts and boxes. 2022-05-19 17:27:02 +04:00
John Preston
af9a252b64 Show premium stickers fake-set in the panel. 2022-05-19 17:27:02 +04:00
John Preston
935fb79c52 Play premium sticker effects. 2022-05-19 17:27:01 +04:00
John Preston
d87c9c72fb Update API scheme on layer 142: Premium reactions. 2022-05-19 17:27:01 +04:00
John Preston
2f6f432583 Handle join-to-write / request-to-join in comments section. 2022-05-19 17:27:01 +04:00
John Preston
5874ae7c51 Update API scheme on layer 142: Premium stickers. 2022-05-19 17:27:01 +04:00
John Preston
c3386fba52 Edit join public group request requirement. 2022-05-19 17:27:01 +04:00
John Preston
a752c4d9f3 Update API scheme on layer 142. 2022-05-19 17:27:01 +04:00
John Preston
368468447f Fix possible crash on bad data. 2022-05-12 16:29:12 +04:00
John Preston
8b89cfc4cb Fix custom notification sounds for all chats. 2022-05-03 16:23:39 +04:00
23rd
edcfac8da3 Slightly improved display of media replacement in admin log. 2022-04-25 22:35:02 +04:00
John Preston
a23561c380 Reload stale video chats on group / channel open. 2022-04-25 12:50:58 +04:00
John Preston
e3dc4ae088 Version 3.7: Fix a crash in some langpacks. 2022-04-16 20:58:17 +04:00
John Preston
205cd3b751 Fix mention links to groups and channels. 2022-04-14 14:15:29 +04:00
23rd
59fc9d3bfd Replaced static reaction icon in settings with animated lottie. 2022-04-14 09:46:03 +04:00
John Preston
9380c4bbc3 Fix reaction image caching after settings. 2022-04-14 09:46:03 +04:00
23rd
4304071d18 Added ability to configure quick action on double click. 2022-04-13 15:06:23 +04:00
John Preston
be6ee73a04 Update bot menu attach in realtime. 2022-04-11 12:18:16 +04:00
John Preston
ea30918d35 Fix build with GCC. 2022-04-07 18:28:58 +04:00
John Preston
94c6793e92 Add bot menu button with webview open support. 2022-04-07 16:31:07 +04:00
John Preston
d35b8f82a3 Play ringtones on click in select box. 2022-04-07 11:35:53 +04:00
John Preston
0615f21deb Allow editing general notification sound. 2022-04-06 19:23:41 +04:00
John Preston
d9f6a5206e Update API scheme on layer 140. 2022-04-06 16:29:06 +04:00
John Preston
2156e15732 Fix refreshing ringtone file references. 2022-04-05 18:08:13 +04:00
23rd
b1e3b9688e Added initial support of custom sound to notifications. 2022-04-05 15:28:48 +03:00
23rd
9950452e57 Slightly optimized name of methods in data notify settings. 2022-04-05 15:28:48 +03:00
23rd
a0b88e8f8b Added public api for sound configuration to data notify settings. 2022-04-05 11:52:33 +03:00
23rd
9478798a47 Moved out public api for notify settings from Data::Session. 2022-04-01 15:53:58 +04:00
23rd
36bb23c54c Moved out data of notify settings to separated module. 2022-04-01 15:53:58 +04:00
23rd
5a3bbfbf62 Renamed Data::NotifySettings to Data::PeerNotifySettings. 2022-04-01 15:53:58 +04:00
23rd
f32215f77d Added support of sound notification setting to Data::Session. 2022-04-01 15:53:57 +04:00
23rd
93d4581443 Slightly refactored Data::Session::applyNotifySetting. 2022-04-01 15:53:57 +04:00
John Preston
aa7143a831 Allow adding Settings::Section-s without changing Type. 2022-04-01 15:53:23 +04:00
John Preston
2e2aed5002 Fix invoice pinned message phrase. 2022-03-30 12:23:06 +04:00
John Preston
00f442573a Update API scheme on layer 140. 2022-03-30 12:23:06 +04:00
John Preston
72ae2f0269 Support custom attach bot icons. 2022-03-30 12:23:06 +04:00
John Preston
aed1904b4c Support theming for webview-s (payments, attach). 2022-03-30 12:23:05 +04:00
John Preston
df15ff9f8e Update API scheme on layer 140. 2022-03-30 12:23:05 +04:00
John Preston
841da9dde8 Update API scheme on layer 140.
Handle attach argument in resolve username links.
2022-03-30 12:23:05 +04:00
John Preston
468917a91a Add bot to group / channel by link with rights. 2022-03-30 12:23:05 +04:00
John Preston
a35888a07b Add to Group / Channel with suggested rights for bots. 2022-03-30 12:23:05 +04:00
John Preston
eec2992be5 Version 3.6.1: Fix video-from-webpage-preview download. 2022-03-16 20:14:50 +04:00
John Preston
3823bf9c0d Fix possible crash in replies (overlapping ids). 2022-03-15 20:29:32 +04:00
John Preston
3b9ac19482 Allow pinning chats in folders when 100 added. 2022-03-14 11:11:17 +04:00
John Preston
5be72e8ce2 Just compute scheduled ids instead of a lookup. 2022-03-11 11:25:30 +04:00
John Preston
1833fac094 Make scheduled message ids determenistic.
Fixes #6686.
2022-03-11 11:05:02 +04:00
John Preston
1bc438ed01 Support "Delete all files" menu in Downloads section. 2022-03-11 09:56:29 +04:00
John Preston
32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00
John Preston
602e7a7164 Warn on quit if downloading files. 2022-03-09 15:36:14 +04:00
John Preston
6dd720b76e Don't show downloads bar while message is visible. 2022-03-09 14:52:44 +04:00
John Preston
f1064e2d2f Fix crash in downloads bar. 2022-03-09 08:53:15 +04:00
John Preston
cbe7b5f61b Fix finished downloads bar hiding. 2022-03-07 19:52:54 +04:00
John Preston
bde79210ca Support single download file thumbnail display. 2022-03-07 18:10:01 +04:00
John Preston
b90524357e Improve download bar finished state. 2022-03-07 13:33:29 +04:00
John Preston
98f2f6d4c0 Always try to save original photo bytes to disk. 2022-03-07 11:09:14 +04:00
John Preston
0192edbe84 Handle documentLoadProgress instead of itemRepaintRequest. 2022-03-01 17:32:39 +03:00
John Preston
bea2cfd363 Support t.me/+phonenumber links. 2022-03-01 15:30:22 +03:00
John Preston
7ee159b53d Fix check for IP revealing file names. 2022-03-01 14:06:31 +03:00
John Preston
2917a53b75 Beta version 3.5.3: Fix build with GCC. 2022-02-28 23:25:55 +03:00
John Preston
fc5ed46b40 Toggle fullscreen by mute button in RTMP streams. 2022-02-28 16:51:14 +03:00
John Preston
25e29d3dd5 Hide members in RTMP streams. 2022-02-28 13:52:49 +03:00
23rd
ed90891607 Fix build with Xcode. 2022-02-28 11:15:30 +03:00
23rd
df125bac19 Removed Ui::ConfirmDontWarnBox. 2022-02-28 09:08:01 +03:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston
bff8313a37 Use nice media names in Downloads. 2022-02-27 20:26:52 +03:00
John Preston
dde4868540 Add phrases to lang.string. 2022-02-27 20:26:52 +03:00
John Preston
147d2e1934 Show all entries as files in Downloads. 2022-02-27 20:26:52 +03:00
John Preston
e89c95551f Show correct downloads elements context menu. 2022-02-27 20:26:52 +03:00