Commit Graph

319 Commits

Author SHA1 Message Date
John Preston
602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04:00
John Preston
b92b8e56cb Improve single column layout forum / topic top bar. 2022-11-01 19:25:41 +04:00
John Preston
b497e5ea21 Add a Reopen Topic button on topic top for admins. 2022-11-01 19:25:41 +04:00
John Preston
4910a60499 Track mentions / reactions together with unread. 2022-11-01 19:25:40 +04:00
John Preston
7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
John Preston
adaa1d0c55 Support pinned topics in forums. 2022-11-01 19:25:40 +04:00
John Preston
ad2f9438a2 Support topic closing. 2022-11-01 19:25:40 +04:00
John Preston
fcc4503791 Add "View as Messages" in forums. 2022-11-01 19:25:40 +04:00
John Preston
89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston
6997e165c6 Forum three-dot menu, except search. 2022-11-01 19:25:37 +04:00
John Preston
d92580b8fc Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +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
f258b054e8 Request last topic message if it becomes unknown. 2022-11-01 19:25:36 +04:00
John Preston
032e6c57e9 Request full album for last topic message. 2022-11-01 19:25:36 +04:00
John Preston
9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
John Preston
3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
23rd
557a2e400e Fixed muting of peer forever. 2022-09-14 23:10:30 +04:00
John Preston
9105677325 Add "View Profile" even with third column info. 2022-08-16 07:41:32 +03:00
John Preston
3698396677 Remove MTP from Polls::create interface. 2022-08-11 09:06:43 +03:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
23rd
c7c8ebed13 Added initial box for premium gifts. 2022-07-26 20:12:09 +03:00
John Preston
e72b4c6192 Allow complex forwarding from Saved to Saved. 2022-06-22 12:21:44 +04:00
23rd
6d4506f8aa Fixed display of most of multiline toasts in corresponding window. 2022-06-15 14:06:32 +03:00
23rd
629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd
bfe873e91c Provided session controller to AddBotToGroupBoxController. 2022-06-09 08:19:11 +03:00
23rd
fe2455dea6 Moved copy link of public user from context menu to button in profile. 2022-06-09 00:45:04 +03:00
23rd
9b6b5968e2 Provided count of pinned dialogs to premium limit boxes for pins. 2022-06-07 08:16:39 +03:00
23rd
f9dd8c182f Added ability to copy link of public user. 2022-06-05 14:56:12 +03:00
John Preston
fe91887ea2 Update API: support "All Chats" reordering. 2022-05-19 17:27:03 +04:00
John Preston
dd05fb4d14 Show limit toasts and boxes. 2022-05-19 17:27:02 +04:00
John Preston
23caae689b Show new pins limit box. 2022-05-19 17:27:02 +04:00
23rd
e3ac84a849 Moved boxes for reporting messages or peers to separated file. 2022-04-19 09:39:01 +04:00
23rd
aac21e1f71 Removed ttl menu for deleted accounts. 2022-04-15 13:59:44 +03:00
23rd
8440c44def Replaced box for choosing of filter with submenu. 2022-04-10 15:34:12 +03:00
John Preston
ea30918d35 Fix build with GCC. 2022-04-07 18:28:58 +04:00
23rd
d224b3d301 Added quick actions for folders to menu from chats list. 2022-04-06 12:36:32 +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
55864edb67 Refactored adding of sensitive menu items. 2022-04-04 17:15:45 +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
320ff9d606 Simplified settings of auto-delete. 2022-04-01 15:53:58 +04:00
23rd
4dd5be9356 Simplified settings of notification sound. 2022-04-01 15:53:57 +04:00
23rd
93563358ca Added remain time to notification menu item when peer is muted. 2022-04-01 15:53:57 +04:00
23rd
3c4f575bc2 Added ability to set auto-delete from profile info. 2022-04-01 15:53:57 +04:00
23rd
06d17c6b2c Changed color of some sensitive menu items to attention one. 2022-04-01 15:53:57 +04:00
23rd
2f7017b305 Added mute submenu to top bar in sections. 2022-04-01 15:53:57 +04:00
John Preston
649f2908e8 Improve phrases in adding a bot as an admin. 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
616f4e4027 Allow volume changing in RTMP stream context menu. 2022-03-14 13:45:05 +04:00
John Preston
3b9ac19482 Allow pinning chats in folders when 100 added. 2022-03-14 11:11:17 +04:00
23rd
2d28d795cf Replaced PinMessageBox with generic box. 2022-03-08 12:43:00 +03:00
John Preston
a2e57de3a3 Fix crash in delete contact box creation. 2022-03-06 14:44:12 +04:00
23rd
fd528aa1b7 Removed Ui::show from window peer menu functions. 2022-03-04 11:25:10 +03:00
John Preston
71228eae59 Show user name when deleting all messages from user. 2022-02-28 19:45:19 +03:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
23rd
bb78c43de5 Removed mutable lambdas from window peer menu. 2022-02-28 08:08:32 +03:00
John Preston
e89c95551f Show correct downloads elements context menu. 2022-02-27 20:26:52 +03:00
23rd
37cd4f51eb Added view-profile-in-chats-list-context-menu option. 2022-02-01 18:48:02 +03:00
John Preston
5c9c836857 Version 3.4.3: Fix build with GCC. 2022-01-04 00:01:56 +03:00
John Preston
c1d948ef63 Reshuffle chat menus. 2022-01-03 18:16:19 +03:00
John Preston
b773bb6e70 Add icons to the media viewer menus. 2021-12-29 21:22:33 +03:00
John Preston
2c36623cfb Add some icons to popup menus. 2021-12-29 21:22:33 +03:00
John Preston
5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
23rd
69dc6c98ce Removed unused MTPBool from callbacks on done. 2021-11-30 17:37:39 +04:00
23rd
f255573070 Replaced use of raw MTP* participant type with new transitional class. 2021-11-26 18:00:22 +04:00
23rd
b9c64499bd Moved code for api participants to separated file. 2021-11-26 18:00:21 +04:00
John Preston
773755d70e Send as a channel in HistoryWidget. 2021-11-26 18:00:18 +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
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
3fa529d858 Extracted MaxInviteBox to separated file. 2021-10-19 06:34:27 +03:00
23rd
9117b3cdfa Extracted DeleteMessagesBox to separated file. 2021-10-19 06:34:27 +03:00
23rd
d4fe5f7a83 Extracted PinMessageBox to separated file. 2021-10-19 06:34:27 +03:00
John Preston
4ea72f8f89 Don't add "Change colors" to profile menu. 2021-09-30 15:30:29 +04:00
John Preston
ab0d2bf9c6 Initial chat theme changing. 2021-09-28 19:27:41 +04:00
John Preston
6eb5d47c35 Couple of crash fixes. 2021-09-01 13:27:36 +03:00
John Preston
9dfc60026e Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
23rd
0ae260c6e1 Moved MTP blocked peers from ApiWrap to Api::BlockedPeers. 2021-08-10 15:46:18 +03:00
John Preston
f22e68fc32 Don't use MTP* for PeerSettings flags. 2021-07-08 17:32:39 +03:00
John Preston
5519bb3523 Allow reporting private groups as well.
Fixes #7451.
2021-06-24 17:44:55 +04:00
23rd
824fbc21e8 Removed Adaptive namespace from peer context menu. 2021-06-16 09:31:32 +03:00
John Preston
a82d1e863e Version 2.7.1: Fix channels ban in admin log. 2021-03-20 18:19:31 +04:00
John Preston
a0a13c3b86 Update API scheme to layer 126. 2021-03-20 15:43:35 +04:00
Ilya Fedin
c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00
John Preston
68b0a85369 Rename RPCError to MTP::Error. 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
27681db7f6 Show better error on invite peek discussion group open. 2021-02-23 17:16:29 +04:00
John Preston
0a678ae8bd No 'Clear History' for everyone in groups. 2021-02-22 23:42:42 +04:00
John Preston
467449ac13 When reporting peer allow to select messages first. 2021-02-22 23:42:42 +04:00
John Preston
14d525dade Add 'Clear History' to channels as auto-delete entry point. 2021-02-22 23:42:41 +04:00
John Preston
f94280be7f Use langpack strings in a better way. 2020-12-22 19:16:54 +04:00
John Preston
92bc278052 Allow inviting contacts to voice chats. 2020-12-22 12:33:06 +04:00
John Preston
b6483cb65c Use shared_ptr<Memento> for sections. 2020-12-14 18:48:10 +04:00
23rd
c8643aa1ee Wrapped raw SectionMemento with unique_ptr. 2020-12-14 17:09:24 +04:00
23rd
c109e35d95 Fixed send options in CreatePollBox and SendFilesBox in replies. 2020-12-01 09:45:24 +03:00
John Preston
b3eb7858e6 Save local drafts in scheduled / replies sections.
Fix inline bot switch inline in scheduled / replies sections.
2020-11-17 12:58:07 +03:00
John Preston
f04b3da76a Add return from bot switch_pm to Scheduled/Replies. 2020-11-17 12:58:06 +03:00