Commit graph

2423 commits

Author SHA1 Message Date
John Preston
0374d8caa8 Add "Photo or video" and "Document" attach menu items. 2022-04-05 16:32:02 +04:00
23rd
9950452e57 Slightly optimized name of methods in data notify settings. 2022-04-05 15:28:48 +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
5a3bbfbf62 Renamed Data::NotifySettings to Data::PeerNotifySettings. 2022-04-01 15:53:58 +04:00
23rd
67d8a7e106 Moved out peer menu callback and its creation to separated files. 2022-04-01 15:53:58 +04:00
23rd
320ff9d606 Simplified settings of auto-delete. 2022-04-01 15:53:58 +04:00
23rd
d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
23rd
3c4f575bc2 Added ability to set auto-delete from profile info. 2022-04-01 15:53:57 +04:00
23rd
8fcd07863a Replaced box for auto-delete settings with menu. 2022-04-01 15:53:57 +04:00
23rd
4bcd9de2b0 Added submenu support to Window::PeerMenuCallback. 2022-04-01 15:53:57 +04:00
23rd
77659c64e0 Replaced DropdownMenu with PopupMenu in top bar of sections. 2022-04-01 15:53:57 +04:00
23rd
c520cb777c Replaced Window::PeerMenuCallback with struct. 2022-04-01 15:53:57 +04:00
John Preston
aa7143a831 Allow adding Settings::Section-s without changing Type. 2022-04-01 15:53:23 +04:00
John Preston
1c1e67abe3 Fix build with Xcode. 2022-03-30 12:23:06 +04:00
John Preston
b38ac32898 Allow removing a bot from attach menu. 2022-03-30 12:23:06 +04:00
John Preston
72ae2f0269 Support custom attach bot icons. 2022-03-30 12:23:06 +04:00
John Preston
426be943a2 Add proof-of-concept webview-bots attach menu. 2022-03-30 12:23:06 +04:00
John Preston
aed1904b4c Support theming for webview-s (payments, attach). 2022-03-30 12:23:05 +04:00
John Preston
df15ff9f8e Update API scheme on layer 140. 2022-03-30 12:23:05 +04:00
John Preston
1d8aac26ce Proof of concept webview attach menu support. 2022-03-30 12:23:05 +04:00
John Preston
841da9dde8 Update API scheme on layer 140.
Handle attach argument in resolve username links.
2022-03-30 12:23:05 +04:00
John Preston
77dae3a7b6 Version 3.6.2: Fix build on Linux. 2022-03-28 01:27:26 +04:00
23rd
2846aa2f77 Moved SendMenu to separated folder. 2022-03-27 17:59:30 +03:00
23rd
49d090bb4c Added Escape hotkey to hide search messages in dialogs. 2022-03-27 18:56:05 +04:00
23rd
307894415f Added support of close prevention for search messages in dialogs. 2022-03-27 18:56:05 +04:00
23rd
069413c19c Added caching of result of search messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd
03c5e67047 Fixed focus of field in search messages in HistoryWidget. 2022-03-23 10:03:43 +04:00
23rd
df38dde296 Added search messages to HistoryWidget. 2022-03-23 10:03:43 +04:00
23rd
a141a9404f Added list of result of search messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd
4e7ff63c53 Added support of search messages for migrated histories. 2022-03-23 10:03:43 +04:00
23rd
a1d21cf452 Added ability to search messages from specific peer in dialogs. 2022-03-23 10:03:43 +04:00
23rd
38abfacd88 Added ability to open calendar from search messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd
69e37ad978 Added initial implementation of search of messages in dialogs. 2022-03-23 10:03:43 +04:00
c0re100
0f05a1fd63 Fix incorrect admin log
Type: Restricted to Left
2022-03-23 09:44:35 +04:00
John Preston
dce976d1f9 Fix non-square webm stickers display.
Fixes https://bugs.telegram.org/c/15686
2022-03-18 20:09:07 +04:00
John Preston
e599c829e5 Don't limit possible YouTube video duration.
Fixes #24167.
2022-03-16 19:16:17 +04:00
John Preston
efdc39a273 Fix reply-to names in forwarded messages. 2022-03-16 11:02:45 +04:00
23rd
c9ebec1cf0 Removed base/observer.h from main pch.
Removed unused inheritances from base::Subscriber.
2022-03-15 18:02:30 +03:00
23rd
6793d2cc7c Moved base::Timer to std::unique_ptr in DraggingScrollManager. 2022-03-15 18:02:30 +03:00
23rd
0e6c036fa2 Moved Ui::SelectScrollManager to lib_ui. 2022-03-15 18:02:30 +03:00
23rd
0b336a2954 Fixed sending animation from inline bots with unexpected result type. 2022-03-15 18:02:30 +03:00
John Preston
34f6c6b23f Fix video message frame request.
Fixes #24190.
2022-03-15 17:33:23 +04:00
John Preston
5be72e8ce2 Just compute scheduled ids instead of a lookup. 2022-03-11 11:25:30 +04:00
John Preston
1833fac094 Make scheduled message ids determenistic.
Fixes #6686.
2022-03-11 11:05:02 +04:00
John Preston
32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00
John Preston
e84ebc2a5c Fix download bar appearing after account switch. 2022-03-09 16:02:27 +04:00
John Preston
6dd720b76e Don't show downloads bar while message is visible. 2022-03-09 14:52:44 +04:00
John Preston
98f2f6d4c0 Always try to save original photo bytes to disk. 2022-03-07 11:09:14 +04:00
23rd
63b5eb66ff Provided Window::SessionController to FastShareMessage. 2022-03-06 18:11:47 +03:00