Commit Graph

197 Commits

Author SHA1 Message Date
Ilya Fedin
23272430b4 Build with QT_NO_KEYWORDS 2021-03-04 12:07:54 +04:00
John Preston
8142acc709 Remove legacy #feed code. 2021-02-25 17:03:51 +04:00
23rd
0b4d0b83c2 Removed App::wnd from classes that have pointer to Window::Controller. 2021-02-04 18:13:04 +04:00
23rd
019e691fbb Moved some session dependent methods to SessionController.
MainWindow::showAddContact(),
MainWindow::showNewGroup(),
MainWindow::showNewChannel().
2021-02-04 18:13:03 +04:00
23rd
dd01ece14a Replaced snap util function with std::clamp. 2021-01-24 10:41:10 +03:00
John Preston
574d915c23 Fix build and tray icon menu on Windows. 2021-01-22 16:53:59 +04:00
23rd
1ccfcc824c Updated code to be consistent with lib_ui. 2021-01-22 16:53:59 +04:00
John Preston
732bc38e8e Show chats list badge only for non-empty calls. 2020-12-06 17:28:27 +04:00
John Preston
fdbe6bdeb2 Add voice chat indicator in the chats list. 2020-12-02 13:52:33 +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
ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
John Preston
cc28ba4284 Update API scheme to layer 120. 2020-10-30 18:32:17 +03:00
23rd
7de9bcad03 Added ability to open contacts with shortcut.
Fixed #8775.
2020-10-23 13:31:24 +03:00
23rd
5968219fe4 Added ability to mark as read selected chat with shortcut. 2020-09-29 19:03:29 +03:00
John Preston
4a94a0c438 Show replies dialog correctly. 2020-09-29 19:03:24 +03:00
John Preston
eb1845e33b Fix crash in session destruction.
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
John Preston
7d0eb3ba8e Fix crash in MainWidget setup with audio player. 2020-06-30 19:05:12 +04:00
23rd
0696a2d5c0 Replaced mapping to rpl::empty_value with rpl::to_empty. 2020-06-23 21:53:43 +04:00
John Preston
997913be25 One Window::Notifications system for all sessions. 2020-06-23 21:53:42 +04:00
John Preston
83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston
4d6cc58f0d Move session settings to main_session_settings. 2020-06-23 21:53:42 +04:00
John Preston
f450f81215 Remove non-UI calls to App::main. 2020-06-23 21:53:40 +04:00
John Preston
3c4e959468 Replace observer_peer with rpl interface. 2020-06-23 21:53:40 +04:00
John Preston
ee43027bea Remove some usages of App::main(). 2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293 Move session data localstorage -> storage_account. 2020-06-23 21:53:39 +04:00
John Preston
fc174f742a Move stickers code to Data::Stickers class. 2020-06-23 21:53:38 +04:00
John Preston
f066e0f05a Use Data::CloudImage for userpics. 2020-06-01 18:09:33 +04:00
John Preston
cb5863177f Apply edition updates to search result previews. 2020-05-12 20:29:18 +04:00
John Preston
69d3414594 Improve empty chat list layout. 2020-03-31 12:36:33 +04:00
John Preston
c2ff27793a Try to use Ctrl+1..Ctrl+8 for folders. 2020-03-30 23:34:07 +04:00
John Preston
0b13ee7f7d Scroll-by-drag in folders when reordering pinned.
Fixes #7459.
2020-03-29 12:57:59 +04:00
23rd
df290605f4 Added ability to switch between folders with shortcuts. 2020-03-29 02:04:20 +03:00
23rd
09bc3eefdb Added ability to open folders with shortcuts. 2020-03-28 18:20:13 +03:00
John Preston
c5b8ddabac Scroll to top of the filter on second click. 2020-03-27 20:36:06 +04:00
John Preston
fe73251d8e Add edit filter link to empty dialogs list. 2020-03-27 20:36:06 +04:00
John Preston
d5b8fc703e Fix Ctrl+[1-5] jump to pinned in folders. 2020-03-27 20:36:05 +04:00
John Preston
ab16e8e083 Improve archive <-> filter navigation. 2020-03-27 20:36:04 +04:00
John Preston
ad8b0387f3 Improve phrases for loading / empty filters. 2020-03-27 20:36:03 +04:00
John Preston
4881981cf6 Enable / disable side bar based on filters. 2020-03-27 20:36:03 +04:00
John Preston
55900bbd3d Save pinned chats in filters to server. 2020-03-27 20:36:03 +04:00
John Preston
e27a8fe058 Support pinned locally in filters. 2020-03-27 20:36:03 +04:00
John Preston
38a744fe5b Count unread messages in Dialogs::MainList. 2020-03-27 20:36:02 +04:00
John Preston
ca3419ef24 Make filtered lists independent from folders. 2020-03-27 20:36:02 +04:00
John Preston
d4b9b65724 First version of the filters side bar. 2020-03-27 20:36:01 +04:00
John Preston
11d31ffc84 Parse and apply cloud filters. 2020-03-27 20:36:01 +04:00
John Preston
2f1ee6f1fa Show two hardcoded filters in Ui. 2020-03-27 20:36:01 +04:00
John Preston
71f7aae948 Replace dialogs mode with filters. 2020-03-27 20:36:01 +04:00
John Preston
db322cc19a Move requestDialogEntry to Histories. 2020-02-21 18:48:30 +04:00
Anton Afanasyev
00e601296c Fix as suggested
Co-Authored-By: 23rd <23rd@vivaldi.net>
2020-01-17 13:00:12 +03:00