Commit Graph

54 Commits

Author SHA1 Message Date
23rd
67d8a7e106 Moved out peer menu callback and its creation to separated files. 2022-04-01 15:53:58 +04:00
23rd
4bcd9de2b0 Added submenu support to Window::PeerMenuCallback. 2022-04-01 15:53:57 +04:00
23rd
c520cb777c Replaced Window::PeerMenuCallback with struct. 2022-04-01 15:53:57 +04:00
23rd
2846aa2f77 Moved SendMenu to separated folder. 2022-03-27 17:59:30 +03:00
23rd
fd528aa1b7 Removed Ui::show from window peer menu functions. 2022-03-04 11:25:10 +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
2c36623cfb Add some icons to popup menus. 2021-12-29 21:22:33 +03:00
John Preston
9dfc60026e Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
John Preston
8142acc709 Remove legacy #feed code. 2021-02-25 17:03:51 +04:00
John Preston
467449ac13 When reporting peer allow to select messages first. 2021-02-22 23:42:42 +04:00
23rd
c109e35d95 Fixed send options in CreatePollBox and SendFilesBox in replies. 2020-12-01 09:45:24 +03:00
John Preston
f04b3da76a Add return from bot switch_pm to Scheduled/Replies. 2020-11-17 12:58:06 +03:00
John Preston
4a8b59b788 Pass reply info to Window::PeerMenu. 2020-11-17 12:58:06 +03:00
John Preston
10adbecb9c Support creating polls in RepliesSection. 2020-11-17 12:56:51 +03:00
John Preston
994e3d8da7 Add hide / unpin all button in pinned section. 2020-10-30 18:32:20 +03:00
John Preston
61d335469f Improve context menu in pinned section. 2020-10-30 18:32:20 +03:00
23rd
aecdc01e41 Added ability to mark all chats as read. 2020-09-29 19:03:29 +03:00
23rd
bdce2d5e25 Added ability to mark as read chats from folder from context menu.
Fixed #7507.
Fixed #6004.
2020-09-29 19:03:29 +03:00
John Preston
0fb42ed82a Use special method for blocking from Replies. 2020-09-29 19:03:29 +03:00
John Preston
4c1213ce9e Allow blocking users from Replies chat. 2020-09-29 19:03:26 +03:00
23rd
b12256f1ee Added ability to schedule polls from section of scheduled messages.
Fixed #7433.
2020-08-11 18:13:40 +04:00
John Preston
ee43027bea Remove some usages of App::main(). 2020-06-23 21:53:39 +04:00
John Preston
e27a8fe058 Support pinned locally in filters. 2020-03-27 20:36:03 +04:00
John Preston
d0597407d8 Support creating polls from bot keyboards. 2020-01-23 10:09:33 +03:00
John Preston
a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston
0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston
694f771131 Allow to send scheduled messages instantly. 2019-08-27 19:10:37 +03:00
John Preston
bacaf805b5 Pass SessionNavigation to some boxes. 2019-07-25 20:55:11 +02:00
John Preston
ffba901620 Add a confirmation when blocking a user. 2019-07-15 15:47:40 +02:00
John Preston
9d09cee1cc Unblock bots without restarting from Settings. 2019-07-04 16:26:53 +02:00
John Preston
9066acd2dd Use new box for editing contact name. 2019-06-21 11:06:46 +02:00
John Preston
2162aa8df0 Rename Text to Ui::Text::String. 2019-06-21 11:06:46 +02:00
John Preston
a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00
John Preston
854870683b Add ability to archive/unarchive the chats. 2019-05-01 16:11:35 +04:00
John Preston
9bf8a8108d Comment out non-folder feed code. 2019-04-25 14:16:30 +04:00
John Preston
b6f7832745 Add create poll box from groups three-dot menu. 2018-12-22 10:29:03 +04:00
John Preston
a99ae76ad4 Allow single chat history export. 2018-07-31 22:56:03 +03:00
John Preston
dd81f5d59f Replace base::lambda with shorter term.
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
ee182ea684 API scheme downgraded to layer 76. 2018-03-06 20:48:24 +03:00
John Preston
74aa1ad71e Ungroup all feed channels from context menu. 2018-02-18 17:00:14 +03:00
John Preston
fe262701c0 Add notification toggle in feed channels. 2018-02-12 18:52:55 +03:00
John Preston
65df137610 Add group/ungroup action in channel peer menu. 2018-02-08 12:20:51 +03:00
John Preston
782e70b171 Support basic feed display in chats list. 2018-02-08 12:20:46 +03:00
John Preston
ea7441ae77 Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
John Preston
5a7d8bcffb Add audio playlist using Info::Media::ListWidget. 2017-12-09 19:13:06 +04:00
John Preston
775cede16f Use separate phrases for clearing saved messages. 2017-12-06 18:39:27 +04:00
John Preston
6764a3cc86 Replace SelectedItemSet with MessageIdsList.
Use vector<FullMsgId> everywhere instead QMap<..,HistoryItem*>.
The old way the app crashed in case some messages were deleted.
If the items are needed use HistoryItemsList=vector<HistoryItem*>.
2017-12-06 14:13:38 +04:00
John Preston
f1f955b7ac Pass already-members when adding members to channel. 2017-11-19 18:41:52 +04:00