Commit Graph

1042 Commits

Author SHA1 Message Date
23rd df02bbb0a3 Moved countries from Data to Countries namespace. 2021-08-29 20:39:43 +03:00
John Preston 44f52ca6cd Fix solid color background preview. 2021-08-20 14:54:11 +03:00
John Preston c5c94276c2 Allow editing caption of forwarded audio file.
Fixes https://bugs.telegram.org/c/3025
2021-08-18 16:29:05 +03:00
John Preston 662966ba31 Support patterns with negative intensity. 2021-08-17 17:35:10 +03:00
John Preston 2abcb51dda Filter out patterns without background colors. 2021-08-16 17:14:34 +03:00
John Preston a1f81e4de8 Generate static complex gradients. 2021-08-16 13:24:15 +03:00
John Preston 1bc5277d51 Show color / gradient wallpapers in WebPage previews. 2021-08-16 10:26:08 +03:00
John Preston 436d7b9d82 Add support for linear gradients without patterns. 2021-08-16 10:26:08 +03:00
John Preston ba7e976fe2 Fix background sample generation. 2021-08-16 10:26:08 +03:00
John Preston c2b1187948 Start support of linear gradient wallpapers. 2021-08-16 10:26:08 +03:00
John Preston 85cc3b30a0 Don't use MTP* for WallPaper flags. 2021-08-12 12:32:30 +03:00
John Preston 6cadf54874 Add support for SVG patterns in wallpapers. 2021-08-11 19:56:12 +03:00
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
John Preston b2e829904f Add support for 1 month self-destruct messages. 2021-07-30 16:05:13 +03:00
John Preston 116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
23rd 024bb5e54f Moved App::formatPhone to td_ui. 2021-07-26 17:38:51 +03:00
John Preston 8f478b86ee Change default wallpaper. 2021-07-23 15:42:17 +03:00
John Preston 773912f586 Apply local / server comment updates together. 2021-07-20 12:20:22 +03:00
John Preston 7bbc4b7191 Add basic new messages animation. 2021-07-20 12:20:22 +03:00
Ilya Fedin ba9b72e038 Fix -Wunused-variable warnings with gcc 2021-07-19 22:31:27 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
John Preston 402729dc99 Check unmuted video limit in group call. 2021-07-13 22:08:09 +03:00
John Preston f17fc0b670 Support additional audio ssrc. 2021-07-13 22:08:09 +03:00
John Preston 8fc7ba7ac1 Handle updateBotCommands. 2021-07-13 22:08:09 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
Ilya Fedin 89765340c3 Fix -Wunused-function warnings 2021-07-13 21:31:22 +03:00
John Preston 4206ff0483 Don't use MTP* for StickersSet flags. 2021-07-09 09:08:58 +03:00
John Preston 75090dedaa Don't store MTPInputStickerSet in data. 2021-07-08 22:08:59 +03:00
John Preston f22e68fc32 Don't use MTP* for PeerSettings flags. 2021-07-08 17:32:39 +03:00
John Preston a74228acea Don't use MTP* for ChannelData flags. 2021-07-08 16:11:09 +03:00
John Preston 5040c2e766 Don't use MTP* for ChatData flags. 2021-07-08 15:11:46 +03:00
John Preston e34375405e Don't use MTP* for UserData flags. 2021-07-08 14:19:12 +03:00
John Preston 2ffda9f240 Don't use MTP* for ChatAdminRight / ChatRestriction. 2021-07-08 13:34:06 +03:00
23rd a631a28092 Removed App::pixmapFromImageInPlace. 2021-07-06 12:13:06 +03:00
23rd 7cd6b821b3 Fixed update of recently attached stickers after sending. 2021-07-06 12:13:05 +03:00
23rd e7104b5ebe Added support for archived masks. 2021-07-06 12:13:05 +03:00
23rd 8d62800e77 Moved stickerSetInstalled from ApiWrap to Data::Stickers. 2021-07-06 12:13:05 +03:00
23rd 8e08f69508 Added support updateNewStickerSet and updateStickerSets for masks. 2021-07-06 12:13:05 +03:00
23rd 1cdb83462e Added initial implementation of masks panel. 2021-07-06 12:13:05 +03:00
John Preston d2e6e7adf2 Fix build on macOS. 2021-07-02 22:11:23 +03:00
John Preston b930bc0e6d Track bot commands separately in different chats. 2021-07-02 20:41:48 +03:00
John Preston 93d99d6173 Track only strings in BotCommand struct. 2021-07-02 20:41:46 +03:00
John Preston 4124c2eb57 Show inline path thumbnails for stickers. 2021-07-02 13:13:48 +03:00
23rd 348cf4829c Added ability to scroll media in section of scheduled messages.
Fixed #8388.
2021-07-01 23:53:45 +03:00
23rd 1a93f4fa4c Added ability to sparse id slices of scheduled media. 2021-07-01 23:53:45 +03:00
23rd 118fd187e3 Added abstract class for sparse ids slices. 2021-07-01 23:53:45 +03:00
23rd baa47bde7f Removed unused MsgRange from SparseIdsSlice. 2021-07-01 23:53:45 +03:00
23rd 7decf68122 Fixed possible crash in OverlayWidget when video continues from PiP. 2021-06-24 17:44:28 +04:00
23rd eb228eb744 Removed unused methods from file click handler. 2021-06-18 09:48:39 +03:00
23rd 23c54896e5 Removed App::main() from file click handlers. 2021-06-18 09:20:49 +03:00
23rd 6c56fad180 Fixed updating of parent id for file click handlers.
Fixed #16447.
2021-06-18 07:30:54 +03:00
23rd 3fd772ce17 Moved file click handlers to separated file. 2021-06-18 07:30:54 +03:00
23rd 7304f2b695 Removed Application::showTheme. 2021-06-17 10:57:45 +04:00
23rd b4bff939b1 Removed showDocument and showPhoto from Application. 2021-06-17 10:57:45 +04:00
23rd 1f816c249b Replaced DocumentOpenClickHandler. 2021-06-17 10:57:45 +04:00
23rd 8591d58798 Added ability to show content from Controller for Shared Media. 2021-06-17 10:57:45 +04:00
23rd dc0aaec4a4 Added ability to show document from Controller for sections. 2021-06-17 10:57:45 +04:00
23rd eefa7263b5 Added ability to show photo from Controller for sections. 2021-06-17 10:57:45 +04:00
23rd 583c3d3429 Moved static functions from DocumentData to separated file. 2021-06-17 10:57:45 +04:00
John Preston 84f6a5f957 Handle "video_joined" flag in self participant. 2021-06-09 09:19:29 +04:00
John Preston 9a21d55de7 Show last blurred frame or userpic for paused videos. 2021-06-09 09:19:28 +04:00
John Preston 70f0cce340 Update API scheme. 2021-06-09 09:19:27 +04:00
23rd 690fbe83fd Unified and moved to single place generating of song name from SongData. 2021-05-31 08:54:22 +04:00
John Preston 6a001f2e6c Auto-switch large video by speaking participant. 2021-05-30 23:52:01 +04:00
John Preston ddf81c949b Add green outline to speaking video tiles. 2021-05-28 21:05:28 +04:00
John Preston c6f44e7928 Hide video button if the call doesn't support video. 2021-05-26 14:27:48 +04:00
John Preston 4774f438a9 Update API scheme. 2021-05-24 22:45:16 +04:00
John Preston a45064257a Choose OpenGL / Raster surface at runtime. 2021-05-24 22:45:15 +04:00
John Preston f4ae7ecbe7 Remove tracking of video ssrc-s. 2021-05-24 22:45:15 +04:00
John Preston 3a321d64f6 Switch between videos by left click. 2021-05-24 22:45:14 +04:00
John Preston 80e3e8a01e Extract MembersRow from calls_group_members module. 2021-05-24 22:45:14 +04:00
John Preston 54c2769d8a Improve voice /video chat members management. 2021-05-24 22:45:14 +04:00
John Preston ba1dade4b0 New API/tgcalls with two outgoing videos. 2021-05-24 22:45:14 +04:00
John Preston 022c0a1327 Update tgcalls library. 2021-05-24 22:45:14 +04:00
John Preston 69ceed5bbc Update API scheme to layer 129. 2021-05-24 22:45:14 +04:00
John Preston 1a784fc678 Track video_muted from API. 2021-05-24 22:45:14 +04:00
John Preston 6e34360f7e Move some group call modules. 2021-05-24 22:45:13 +04:00
John Preston ba02a5c46a Resolve video chat participants by unknown ssrcs. 2021-05-24 22:45:13 +04:00
John Preston a6f379a17a Parse and serialize video parameters. 2021-05-24 22:45:13 +04:00
John Preston e5ac7a1416 Fix creating a scheduled voice chat. 2021-04-12 15:36:19 +04:00
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston 088fda4ed8 Correctly track mute button scheduled state. 2021-04-06 18:41:16 +04:00
John Preston 15d17c8b0e Add creating of a scheduled group call. 2021-04-06 18:41:16 +04:00
John Preston ee098d00ad Add better error reporting to payments. 2021-04-06 18:41:16 +04:00
John Preston e6ba6050e7 Update button on paid invoices to 'Receipt'. 2021-04-06 18:41:16 +04:00
John Preston 3ec3f6484f Update API scheme to layer 128. 2021-04-06 18:41:15 +04:00
John Preston a82d1e863e Version 2.7.1: Fix channels ban in admin log. 2021-03-20 18:19:31 +04:00
John Preston 2bc2a0e459 Fix possible integer overflow. 2021-03-20 16:03:58 +04:00
John Preston 3bd6b2268f Allow blocking channels in voice chats. 2021-03-20 15:43:35 +04:00
John Preston a0a13c3b86 Update API scheme to layer 126. 2021-03-20 15:43:35 +04:00
John Preston ba41da7b28 Fix discarded group call handle. 2021-03-19 00:57:16 +04:00
John Preston 2b6f50e114 Fix joining / unmuting. 2021-03-18 22:56:42 +04:00
John Preston 38e15c9bdb Fix saving legacy chat admins without migration.
Fixes #10558.
2021-03-18 17:27:33 +04:00
John Preston 00d65fa978 Request one participants slice on voice chat reload. 2021-03-18 16:58:05 +04:00
John Preston b390e0766b Apply all queued updates on reload. 2021-03-18 15:30:58 +04:00
John Preston 2f75e6bbe2 Add some logging for voice chat updates. 2021-03-18 15:22:55 +04:00
John Preston 67623072d6 Fix joining a voice chat. 2021-03-18 00:24:36 +04:00
John Preston 0684db9bd8 Improve participants sorting in voice chats. 2021-03-17 20:37:55 +04:00
John Preston db7b61a77b Rewrite voice chat members list management. 2021-03-17 20:37:55 +04:00
John Preston 056cab6268 Don't apply private userpic 'min' updates. 2021-03-16 18:15:19 +04:00