Commit graph

12718 commits

Author SHA1 Message Date
John Preston
9b7e19e9c5 Remove debug code path (always error display). 2022-06-14 19:52:09 +04:00
John Preston
c37012efec Fix docker build with Qt 6.3.1. 2022-06-14 19:26:09 +04:00
John Preston
d03bc02948 Refresh appConfig after successfull authorization. 2022-06-14 19:21:26 +04:00
John Preston
7c2223e540 Write serialized peer has_video correctly, versioned. 2022-06-14 19:20:02 +04:00
John Preston
ce7b6fe17a Fix build with the new scheme. 2022-06-14 19:16:18 +04:00
23rd
c9bd0ab725 Replaced MTP types with type aliases for shared media api. 2022-06-14 18:51:53 +04:00
23rd
7727cd734e Slightly simplified processing of received full peer info. 2022-06-14 18:51:45 +04:00
23rd
243b16398b Moved out api for user photos to related separated module. 2022-06-14 18:51:38 +04:00
23rd
13146e9c06 Replaced use of raw MTP* bot commands with new transitional classes. 2022-06-14 18:51:18 +04:00
23rd
5f8608ed90 Moved out BotCommand struct to separated file. 2022-06-14 18:45:12 +04:00
23rd
8347318c90 Removed some methods with MTP signature from history widget. 2022-06-14 18:38:25 +04:00
23rd
3403b3c471 Removed methods with MTP signature from compose controls. 2022-06-14 18:38:14 +04:00
John Preston
326304ca48 Update Qt to 5.15.4 and 6.3.1. 2022-06-14 18:34:09 +04:00
John Preston
707359e371 Close double limits preview box on premium change. 2022-06-14 16:40:50 +04:00
Ilya Fedin
61bad55dbc Update submodules & Docker patches 2022-06-14 16:36:44 +04:00
Ilya Fedin
08b99134fa Use brackets include for third-party libraries 2022-06-14 16:36:44 +04:00
Ilya Fedin
6ee08faa24 Migrate from kwayland to QtWaylandScanner 2022-06-14 16:36:44 +04:00
Ilya Fedin
0a876226fe Move QT_FONT_DPI workaround to Qt patches 2022-06-14 16:36:44 +04:00
Ilya Fedin
391a3a77f6 Use Qt's xdg-desktop-portal file dialog implementation 2022-06-14 16:36:44 +04:00
Ilya Fedin
762f561c60 Add architecture to Windows action artifact name 2022-06-14 16:36:44 +04:00
Ilya Fedin
2477b35b42 Move tray availability logging to the appropriate class 2022-06-14 16:36:44 +04:00
Ilya Fedin
4d997a26b0 Don't update global menu on Linux without focus widget
The window loses focus when menu is open and edit options are deactivated
2022-06-14 16:36:44 +04:00
Ilya Fedin
4410aeb3eb Make QMenuBar on Linux work without private API 2022-06-14 16:36:44 +04:00
Ilya Fedin
088cca7452 Adapt for XCB::IsSupportedByWM changes 2022-06-14 16:36:44 +04:00
GitHub Action
66b9d70993 Update User-Agent for DNS to Chrome 101.0.4951.64. 2022-06-14 16:32:26 +04:00
John Preston
3e5b52bc2e Fix premium settings cover. 2022-06-14 16:23:09 +04:00
John Preston
7b4fca57ae Fix subscription from preview box. 2022-06-14 16:16:40 +04:00
John Preston
6260f258bb Improve premium preview boxes close buttons. 2022-06-14 16:03:44 +04:00
23rd
629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd
29910cd1f7 Provided Ui::Show to Calls::TopBar. 2022-06-14 14:24:21 +03:00
23rd
236b7bbf28 Fixed display of toast about copying post link in corresponding window. 2022-06-14 14:24:21 +03:00
John Preston
4de71408a2 Improve accounts limit box. 2022-06-14 14:54:30 +04:00
John Preston
6d8012f13a Pause premium settings animations. 2022-06-14 13:43:07 +04:00
John Preston
a34e6ca7db Take premiumPossible in the accounts limit box correctly. 2022-06-14 13:43:07 +04:00
23rd
691a434ba9 Added premium badge to main settings. 2022-06-14 08:52:45 +03:00
23rd
8b4405b71a Added premium badge to list of accounts. 2022-06-14 08:52:45 +03:00
23rd
7a821ca0f4 Decomposed creating of unread badge in list of accounts. 2022-06-14 08:52:45 +03:00
John Preston
c9292512c0 Show premium previews from the settings. 2022-06-14 07:11:35 +04:00
John Preston
5f9eeb7cbe Show premium star while preview video loads. 2022-06-13 23:10:32 +04:00
John Preston
221bc5ef59 Preload premium stickers / reactions previews. 2022-06-13 23:10:32 +04:00
John Preston
50926acab9 Toggle premium stickers previews. 2022-06-13 23:10:32 +04:00
John Preston
afb7f2e9a6 Update lib_ui with new Windows custom title bar. 2022-06-13 23:10:32 +04:00
23rd
acf7a82507 Added preview box for premium doubled limits. 2022-06-13 14:27:26 +03:00
23rd
17274e17ed Changed behavior for premium features in settings to be clickable. 2022-06-13 14:27:26 +03:00
23rd
15cce4900c Fixed lock from voice recording bar with transparent foreground. 2022-06-13 14:27:26 +03:00
John Preston
fc07954276 Improve premium section bottom. 2022-06-13 13:49:45 +04:00
23rd
0bd65794d2 Added glare effect to gradient round button. 2022-06-12 16:07:41 +03:00
23rd
fe7cffc509 Improved management of online status from non-primary windows.
– The online status of the user should be checked and updated only
when the previous active window and the current active window both have
different sessions.
– Removed MainWindow::activeChangedHook since windows should not
change online status on their own on activating.
– Renamed Application::maybeActiveSession
to Application::maybePrimarySession.
– Added updating of online status on changing of the current account
since this seems to have been missed.
2022-06-12 16:07:41 +03:00
23rd
1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
John Preston
333b986098 Remove ToS and Privacy Policy footer. 2022-06-12 16:51:55 +04:00