Commit Graph

650 Commits

Author SHA1 Message Date
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
Ilya Fedin 9fba9048af Use the same check for drag'n'drop image type as for file dialog
The code path when choosing an image in file dialog tries to read a QImage with Images::Read and then only checks that mime type starts with image/ in ValidPhotoForAlbum

Core::FileIsImage and QImageReader::canRead checks should provide the same behavior
2022-12-26 14:23:23 +04:00
John Preston a4e4681835 Add jump-to-topic panel in View as Messages. 2022-12-02 18:20:22 +04:00
23rd f8a17bd9c9 Moved tmp string for temporary folder to single place. 2022-11-30 17:17:16 +03:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston 57af221d39 Support General topic somehow. 2022-11-29 18:30:38 +04:00
23rd 2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
23rd 3467fe226f Added ability to send webp as compressed image. 2022-11-22 00:26:49 +00:00
23rd 57c50c8655 Optimized includes of attach_prepare.h. 2022-11-22 00:26:48 +00:00
John Preston 0737034ea6 Fix pinning between topics. 2022-11-07 15:12:47 +04:00
23rd 3b79d944af Removed unused includes of observer file. 2022-11-01 20:03:14 +04:00
John Preston c6aba83a6b Fix crash on local edit draft, fix reading drafts. 2022-11-01 19:25:45 +04:00
John Preston 6d215d3729 Implement unpin all messages within a thread. 2022-11-01 19:25:44 +04:00
John Preston 8dc27339b4 Support pinned messages bar in topics. 2022-11-01 19:25:43 +04:00
John Preston 7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
23rd 5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
John Preston 89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston 92a4b27e65 Support per-topic notification settings. 2022-11-01 19:25:37 +04:00
John Preston 58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston 9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
Ilya Fedin 16669402cf Decrease the amount of clipboard data retrievation 2022-09-28 23:59:59 +04:00
Ilya Fedin e20840b4d4 Use KUrlMimeData for clipboard xdg-desktop-portal integration 2022-08-30 20:25:10 +04:00
John Preston 42ca06d33c Request up to 32 file parts at once for video downloads. 2022-08-16 08:57:36 +03:00
John Preston 54f467eb47 Don't rely on MTP* when sending photos. 2022-08-11 09:06:56 +03:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston c5702f0887 Request small song thumbnails. 2022-08-03 11:43:30 +03:00
John Preston 087074fea4 Request song covers through MTProto. 2022-08-02 13:20:38 +03:00
John Preston b0fab8c987 Show featured custom sets in the panel. 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 bb7249f280 Allow viewing emoji sets used in a message. 2022-07-26 20:12:12 +03:00
John Preston 5ce8ed80bf Show premium emoji tooltip on paste. 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
John Preston 2499955496 Support custom emoji in the message input field. 2022-07-26 20:12:08 +03:00
John Preston 0df699a054 Allow drag-n-drop-ing files up to 4 GB.
Fixes #24657.
2022-06-22 18:56:01 +04:00
John Preston 03e60ed329 Fix uploading files > 500 Mb. 2022-06-18 00:00:56 +04:00
John Preston 0a81246502 Show correct error box when sending file > 4GB. 2022-06-16 13:48:11 +04:00
John Preston 7c2223e540 Write serialized peer has_video correctly, versioned. 2022-06-14 19:20:02 +04:00
23rd 1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
23rd 3959918fc5 Provided size of big file to premium limit box. 2022-06-07 08:16:39 +03:00
23rd 35e4dd5968 Added initial support for increased premium count of accounts. 2022-06-01 11:59:14 +04:00
John Preston 201edb2e69 Play premium video avatars in chats list. 2022-05-19 17:27:03 +04:00
John Preston 88393eb77b Fixed streaming for big files. 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 87662de2a6 Support web_app_open_tg_link / web_app_open_invoice. 2022-05-19 17:27:03 +04:00
John Preston 26c99cea7c Show all premium limits boxes. 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 935fb79c52 Play premium sticker effects. 2022-05-19 17:27:01 +04:00