Commit Graph

253 Commits

Author SHA1 Message Date
John Preston 185523f66f Update API scheme to layer 134. 2021-10-29 18:31:06 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd ea10cf5758 Moved api polls processing to separated file. 2021-10-20 22:56:19 +03:00
23rd 159beb138a Moved api peer photo processing to separated file.
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +03:00
23rd 25f6bea66e Moved ConfirmPhoneBox to td_ui. 2021-10-19 06:34:28 +03:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
23rd fa6725c54a Extracted api code from ConfirmPhoneBox to separated file. 2021-10-19 06:34:27 +03:00
CoderTimZ c9e24c2283 Display dates with the system date format 2021-10-11 21:56:29 +04:00
23rd 816f422e21 Removed MTP* from applying message edition.
Fixed #17073.
2021-10-08 10:39:36 +04:00
John Preston d532b65d1c Don't use MTP* for replies data. 2021-10-07 22:57:44 +04:00
John Preston 4aac633413 Fix views increment.
Regression was introduced in 21aa1f49d7.

Fixes #17069.
2021-10-07 11:29:30 +04:00
John Preston 0c906a5e6d Fix crash in local changelog messages. 2021-10-07 10:58:24 +04:00
John Preston 21ac2b8f3a Don't use MTP* for reply markup data. 2021-10-04 23:47:30 +04:00
23rd 21f7cec781 Fixed build for macOS. 2021-09-30 21:21:07 +04:00
23rd 21aa1f49d7 Moved views increment scheduler from MainWidget to separate file. 2021-09-30 18:45:38 +03:00
John Preston a228c62286 Fix "Nobody Viewed / Watched / Listened" seen state. 2021-09-27 18:51:50 +04:00
23rd 449f2d2f94 Migrated dependencies in Github CI for macOS. 2021-09-17 13:12:07 +03:00
John Preston 34c0d97c54 Show emoji interaction seen status. 2021-09-17 10:25:36 +03:00
John Preston cfb43081c7 Play incoming interactions. 2021-09-17 10:25:36 +03:00
John Preston 8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
John Preston 52721847f4 Fix outgoing voice message unread mark. 2021-09-15 13:42:22 +03:00
John Preston 0a4a96d4cd Fix action build on Linux. 2021-09-12 01:39:28 +03:00
23rd 900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston 79b0bbf6cf Add an icon to who read context menu item. 2021-09-09 16:27:44 +03:00
John Preston a3e8e379dd Show userpics in full who read list. 2021-09-09 11:48:30 +03:00
John Preston 14314df26a Show userpics in who read context item. 2021-09-09 00:10:49 +03:00
John Preston fa5e66a736 Check listened / viewed for voice / video messages. 2021-09-08 13:50:56 +03:00
John Preston abbac61702 Show who've seen the message in submenu. 2021-09-07 23:41:08 +03:00
John Preston 2f5f100626 Start loading users who've read an outgoing message. 2021-09-07 23:41:08 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston 23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
23rd eadd7704ef Removed Main::Session forward declaration from data_types. 2021-09-01 01:23:20 +03:00
23rd dc8eb79295 Moved code of data send actions from Data::Session to separated file. 2021-08-30 23:08:57 +03:00
23rd 8c17e3e578 Added sending action when choosing sticker. 2021-08-30 20:50:32 +03:00
23rd ccea6ce492 Added animated indicator of choosing sticker action to chats list. 2021-08-30 20:50:24 +03:00
John Preston 52a6282eb9 Count unread replies locally when possible. 2021-08-30 20:32:58 +03:00
John Preston c39024c7fd Track and display unread count in discussions. 2021-08-30 20:32:58 +03:00
John Preston 8e0b9b685c Show 'X subscribers' in channel ConfirmInviteBox.
Fixes https://bugs.telegram.org/c/2059
2021-08-18 15:57:52 +03:00
23rd 1fd28d5cfb Removed MTP* from public interface of Api::CloudPassword. 2021-08-15 13:44:43 +03:00
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
23rd cbad2469db Moved MTP cloud password from ApiWrap to Api::CloudPassword. 2021-08-10 15:46:18 +03:00
23rd 0ae260c6e1 Moved MTP blocked peers from ApiWrap to Api::BlockedPeers. 2021-08-10 15:46:18 +03:00
23rd 5bd73bab9b Moved user privacy from ApiWrap to Api::UserPrivacy. 2021-08-10 15:46:18 +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 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
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
23rd 7cd6b821b3 Fixed update of recently attached stickers after sending. 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 abe62475cb Added support updateStickerSetsOrder 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
23rd e05343d721 Added sending info of stickered photos. 2021-07-06 12:13:05 +03:00
John Preston e1120d1cb5 Optimize out most of LastUserInputTime() calls.
Fixes #16118.
2021-06-18 19:22:36 +04:00
23rd b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +04:00
John Preston f7454a4284 Fix crash on quit in idle state. 2021-05-24 22:45:15 +04:00
John Preston 69ceed5bbc Update API scheme to layer 129. 2021-05-24 22:45:14 +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 8c53a3c19e Don't skip updateGroupCallParticipants while in getDifference. 2021-03-18 00:25:53 +04:00
John Preston d392633b90 Send speaking typings in channels. 2021-03-17 20:37:55 +04:00
John Preston 76e08af26a Apply updateGroupCallParticipants before updateGroupCall. 2021-03-17 20:37:55 +04:00
Ilya Fedin 12e306dd7b Replace remaining multi-args 2021-03-15 11:21:05 +03:00
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00
Ilya Fedin c4dcf064d5 Avoid multiple .arg usage as suggested by clazy 2021-03-13 19:08:33 +03:00
Ilya Fedin f25b2a2094 Apply autofixes from clazy 2021-03-13 15:25:47 +03:00
23rd d4bb62d055 Slightly refactored uploading of edit media. 2021-03-13 12:59:11 +03:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston 267e5fd9e0 Allow getting outer_msg_id in MTProto handlers. 2021-03-12 16:58:26 +04:00
John Preston b670ca2a51 Allow to rejoin with changing of 'join_as'. 2021-03-12 16:58:26 +04:00
John Preston 8142acc709 Remove legacy #feed code. 2021-02-25 17:03:51 +04:00
John Preston 781e7a2e79 Update API scheme, simplify auto-delete. 2021-02-22 23:42:41 +04:00
John Preston c1fde61e03 Add admin log events about links, volumes, ttl. 2021-02-22 23:42:41 +04:00
John Preston d188ab6719 Fix other admins links management. 2021-02-22 23:42:40 +04:00
John Preston 6a6e355af4 Handle ttl_period locally. 2021-02-22 23:42:40 +04:00
John Preston 9262b773cb Fix invite link updates handling. 2021-02-22 23:42:40 +04:00
John Preston 4153603d09 Add ability to see invite links of other admins. 2021-02-22 23:42:40 +04:00
John Preston 9d3edb785c Return rich invite links section. 2021-02-22 23:42:40 +04:00
John Preston 502a3ca70f Update API scheme to layer 124. 2021-02-22 23:42:40 +04:00
23rd c3c1759f3c Fixed updating number of sessions after terminating any of them. 2021-02-17 01:27:44 +03:00
John Preston fa8dd61b02 All invite links are permanent right now. 2021-01-26 12:24:54 +04:00
John Preston 36ad24bfcd Update API scheme. 2021-01-25 17:42:02 +04:00
John Preston 50c07bfc98 Update API scheme, add view link box. 2021-01-25 16:50:58 +04:00
John Preston 819cd4a099 Allow deleting revoked invite links. 2021-01-25 16:50:58 +04:00
John Preston 144bad6c74 Update link rows in Manage Invite Links. 2021-01-25 16:50:58 +04:00
John Preston 97fb310f54 Move CalendarBox and ChooseDateTimeBox to td_ui. 2021-01-25 16:50:56 +04:00
John Preston 01ecf0ca93 Show invite links list with context menu. 2021-01-25 16:47:41 +04:00
John Preston c7b1a37722 Implement revoke of permanent link. 2021-01-25 16:47:41 +04:00
John Preston be1afb4781 Show recently joined by permanent link userpics. 2021-01-25 16:47:41 +04:00
John Preston 754dedc40e Improve permanent link edit design. 2021-01-25 16:47:40 +04:00
John Preston e5320b4b4e Implement new permanent invite link management. 2021-01-25 16:47:40 +04:00
John Preston 02ad5f2772 Update API scheme and start invite links. 2021-01-25 16:47:40 +04:00
23rd d4bbbdb65c Replaced rand_value util function with openssl::RandomValue. 2021-01-24 10:41:10 +03:00
John Preston dfee8238c6 Fix crash in legacy groups speaking typings handling. 2020-12-23 14:45:37 +04:00
John Preston d16bc36bae Update API scheme. 2020-12-22 22:39:30 +04:00
John Preston 146a9c2794 Don't edit old 'voice chat started' message. 2020-12-16 12:20:46 +04:00