Commit Graph

1232 Commits

Author SHA1 Message Date
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
John Preston 5ddcf402bc Show download start date in Downloads section. 2022-02-27 20:26:52 +03:00
John Preston 57f17b7afe Save and restore downloads between launches. 2022-02-27 20:26:52 +03:00
John Preston 3425dc027c Show downloaded files in Downloads. 2022-02-27 20:26:52 +03:00
23rd 4dee21c0e6 Added userpics support to sponsored messages. 2022-02-25 19:41:16 +03:00
John Preston 1de35cf8ef Support receiving RTMP streams in group calls. 2022-02-25 19:41:15 +03:00
John Preston e962036889 Update API scheme to layer 139. 2022-02-25 19:41:15 +03:00
John Preston 91c46dbc85 Allow Info::Media::ListWidget use different data providers. 2022-02-25 19:41:15 +03:00
John Preston 1a664edd39 Initial implementation of download progress bar. 2022-02-25 14:14:43 +03:00
John Preston 280d79fecc Add observing Data::DownloadManager. 2022-02-25 14:14:43 +03:00
John Preston 7718764294 Save original bytes of a photo on "Save to disk". 2022-02-25 14:14:43 +03:00
John Preston cd9b3368da Don't request scheduled messages in channels I can't write to. 2022-02-04 09:50:12 +03:00
John Preston b7a70a2f28 Improve unread reactions list consistency. 2022-01-31 23:16:56 +03:00
John Preston 07beb3e86b Correctly clear unread reactions. 2022-01-31 11:19:46 +03:00
John Preston 4e9a52343f Process unread reactions to unknown messages. 2022-01-28 19:10:07 +03:00
John Preston 4f1e04cf9e Animate reactions when reading. 2022-01-28 19:10:07 +03:00
John Preston e509da8fd8 Instantly mark as read visible new reactions. 2022-01-28 19:10:07 +03:00
John Preston 15719b73b4 Fix updating unread message reactions. 2022-01-28 19:10:07 +03:00
John Preston 9903266722 Index new unread reactions in history. 2022-01-28 19:10:07 +03:00
John Preston 8f33d5903d Display unread reactions badge in chats list. 2022-01-28 19:10:07 +03:00
John Preston e9c79886d2 Track unread mentions and unread reactions the same way. 2022-01-28 19:10:07 +03:00
John Preston 1a3a0fb124 Fix caching of webm stickers in local storage. 2022-01-28 19:10:07 +03:00
John Preston 20dbf18106 Init webm player for sticker set thumbnails. 2022-01-28 19:10:07 +03:00
John Preston 044c7f3ce9 Generate opaque good thumbnails for non-sticker Webm. 2022-01-28 19:10:07 +03:00
John Preston d18e28978a Cache good thumbnail in Webp for Webm stickers. 2022-01-28 19:10:07 +03:00
John Preston 581b84afe0 Update API scheme on layer 138. 2022-01-28 19:10:07 +03:00
John Preston 9b59ef00af Generate good video thumbnail for Webm stickers. 2022-01-28 19:10:07 +03:00
John Preston 63d15e4479 Support Webm sticker display in chat history. 2022-01-28 19:10:07 +03:00
John Preston 2f01efdd64 Correctly detect Webm stickers. 2022-01-28 19:10:07 +03:00
John Preston 8b7d2c880e Support rendering Webm videos with alpha. 2022-01-28 19:10:07 +03:00
John Preston 28f2c213f7 Remove app module. Support delayed quit by Cmd+Q on macOS. 2022-01-27 15:54:20 +03:00
23rd 021d0053be Fixed hiding spoilers in captions when switching sections. 2022-01-26 10:33:20 +03:00
John Preston 3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
John Preston d6e03c3e48 Fix possible crash with incorrect local time. 2022-01-19 19:03:19 +03:00
John Preston e121487170 Fix appear animation when sending a reaction in a group. 2022-01-18 13:09:42 +03:00
John Preston 1657c2c7f2 Fix context menu on sent images / documents. 2022-01-17 19:21:34 +03:00
John Preston cdf36cc387 Fix reaction animations stopping after an hour uptime. 2022-01-15 12:38:47 +03:00
John Preston 5eb210ec12 "Set As Quick" context menu in reactions dropdown. 2022-01-14 21:55:48 +03:00
John Preston f24f78c0cc Use click handler property instead of dynamic cast. 2022-01-14 21:55:48 +03:00
John Preston 8a071fe1fe Respect reactions_default from appconfig. 2022-01-14 21:55:48 +03:00
John Preston f3e84de5fb Implement recent reaction userpics in groups. 2022-01-14 21:55:48 +03:00
John Preston 2dec1b72f7 Rename reactionBottom* to reactionInline* styles. 2022-01-14 21:55:48 +03:00
John Preston 490e688a91 Add reaction animations to comments. 2022-01-14 21:55:48 +03:00
John Preston 0ab26f0c82 Initial reaction effects implementation. 2022-01-14 21:55:47 +03:00
John Preston 963694330d Correctly apply reaction restrictions. 2022-01-14 21:55:47 +03:00
John Preston a377364621 Use correct sizes for lottie frames. 2022-01-14 21:55:47 +03:00
John Preston c2c7a25487 Keep reaction media in memory. 2022-01-14 21:55:47 +03:00
John Preston c0b19000d6 Use lottie instead of webp in reactions dropdown. 2022-01-14 21:55:47 +03:00
John Preston 409a3357da Use lottie instead of webp in bottom info reactions. 2022-01-14 21:55:47 +03:00
John Preston 718ba2d0e3 Update API scheme to layer 137. 2022-01-14 21:55:47 +03:00
23rd e11904e05b Removed TextParseRichText. 2022-01-12 11:54:24 +03:00
23rd e1aa08b985 Removed text commands. 2022-01-12 11:54:24 +03:00
23rd b55ed7214a Removed text commands from history item components. 2022-01-12 11:54:24 +03:00
John Preston 5b01f9530b Fix reaction images loading. 2021-12-31 17:49:52 +03:00
John Preston c632316ad7 Fix updated sticker set thumbnail loading. 2021-12-31 16:40:01 +03:00
John Preston bba7010e74 Show "View Message" button in sponsored. 2021-12-31 16:07:36 +03:00
John Preston 611be90880 Rewrite sponsored to use fake sender names. 2021-12-31 16:07:36 +03:00
John Preston 5bb90679a8 Attempt to fix a weird assertion violation. 2021-12-31 01:20:28 +03:00
John Preston 08b99b19c3 Fix crash in spoilers restoring. 2021-12-29 21:22:34 +03:00
23rd 3aacae2cb2 Added behavior to hide spoilers when switching sections. 2021-12-29 21:22:34 +03:00
John Preston 58c9494c03 Add reactions to replies / comments / pinned section. 2021-12-29 21:22:34 +03:00
John Preston a8bc7baa70 Update all messages in case of chat reactions toggle. 2021-12-29 21:22:34 +03:00
John Preston ec16ca7df7 Poll reactions for visible messages. 2021-12-29 21:22:34 +03:00
John Preston 54f5b47585 Fix crash in reactions sending. 2021-12-29 21:22:33 +03:00
23rd baca36e715 Added chat invites support to sponsored messages. 2021-12-29 21:22:33 +03:00
23rd 1cca4d71bd Provided spoiler info to preview text. 2021-12-29 21:22:33 +03:00
23rd a027a02130 Provided spoiler info to notification text. 2021-12-29 21:22:33 +03:00
23rd f2c7237d5f Moved item preview structs to separated file. 2021-12-29 21:22:33 +03:00
John Preston fe468ce7e9 Respect can_see_list flag in reactions. 2021-12-29 21:22:33 +03:00
John Preston 118072db77 Update API scheme on layer 136. 2021-12-29 21:22:33 +03:00
John Preston 2991c3c17f Toggle reactions from the list under the message. 2021-12-29 21:22:33 +03:00
John Preston ad1476e80f Return reading proper noforwards value. 2021-12-29 21:22:33 +03:00
John Preston 6f8c9f65cf Optimize small emoji image caching and painting. 2021-12-29 21:22:33 +03:00
John Preston 710ef43e41 Update API scheme on layer 136. 2021-12-29 21:22:33 +03:00
John Preston 9c18f7b0e3 Allow choosing allowed reactions in groups / channels. 2021-12-29 21:22:33 +03:00
John Preston 535fd8d523 Display reactions outside bottom info in groups. 2021-12-29 21:22:33 +03:00
John Preston b1668afdf1 Use available reactions list from the server. 2021-12-29 21:22:33 +03:00
John Preston 1af2cfe143 Extract BottomInfo from HistoryView::Message. 2021-12-29 21:22:33 +03:00
John Preston 3a43217301 Show reactions in messages. 2021-12-29 21:22:32 +03:00
John Preston f5c7b206bb Track message reactions. 2021-12-29 21:22:32 +03:00
John Preston a1439163ce Update API scheme to layer136. 2021-12-29 21:22:32 +03:00
John Preston 2a0babe5ab Fix file upload cancelling.
Fixes #17408.
2021-12-22 10:34:00 +00:00
John Preston 5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
John Preston 4b03fd0f23 Version 3.3: Fix build with GCC. 2021-12-08 08:35:03 +04:00
John Preston d199e16a6e Load cloud image without active view only once. 2021-12-07 10:01:56 +04:00
John Preston 9e5117d336 Respect autodownload settings in reply previews. 2021-12-03 14:59:08 +04:00
John Preston 0fa458737a Fix shared media loading. 2021-12-02 13:54:30 +04:00
John Preston caaeff32c5 Move global privacy setting down. 2021-12-02 13:36:49 +04:00
John Preston afcebb136c Don't use MTP for PeerData::isSelf. 2021-12-02 13:36:49 +04:00
23rd 69dc6c98ce Removed unused MTPBool from callbacks on done. 2021-11-30 17:37:39 +04:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston 16232c0a4a Open channel profile from message sender click. 2021-11-29 14:54:31 +04:00