Commit Graph

759 Commits

Author SHA1 Message Date
23rd
06d17c6b2c Changed color of some sensitive menu items to attention one. 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
5167eb47ae Add hardware acceleartion video decoding setting. 2022-03-30 15:26:34 +04:00
John Preston
a943a993cb Fix layout in the info edit page. 2022-03-21 09:37:30 +04:00
John Preston
4f44692ae8 Fix name elision in settings information edit. 2022-03-16 11:20:39 +04:00
John Preston
33d87a3ffe Remove unneeded divider from Advanced settings. 2022-03-16 11:06:44 +04:00
John Preston
13106d781e Fix icon for username edit in settings. 2022-03-16 09:48:21 +04:00
John Preston
435d451f3f Change the userpic locally while uploading. 2022-03-15 17:00:17 +04:00
John Preston
b8028886b0 Add upload photo button to Edit Info settings. 2022-03-15 16:35:28 +04:00
John Preston
f31be7784b Redesign edit account settings page. 2022-03-15 15:12:49 +04:00
23rd
3cb595c3c9 Added ability to set profile photo from camera. 2022-03-14 11:57:34 +03:00
John Preston
d1a913450a Allow using mono icons in experimental settings. 2022-03-14 10:20:36 +04:00
John Preston
32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00
John Preston
8259f74074 Fix notifications settings in dark system themes. 2022-03-08 18:20:02 +04:00
John Preston
1aa8029a8a Improve notification preview settings design. 2022-03-08 15:24:02 +04:00
John Preston
7e617b7f39 Fix camera preview in Calls Settings. 2022-03-07 12:33:48 +04:00
23rd
f469cab7b0 Added disable-autoplay-next option. 2022-03-05 12:40:49 +03:00
John Preston
a6d59fccf4 Update icons for folders. 2022-03-04 14:25:25 +04:00
23rd
b900ac2b1d Removed Window::SessionController from ManageDictionariesBox. 2022-03-04 11:25:10 +03:00
23rd
3ebb9af8f8 Removed Ui::hideSettingsAndLayer(). 2022-03-04 11:25:10 +03:00
John Preston
bcbd97e515 Fix restart confirmation box cancel. 2022-03-01 16:15:23 +03:00
John Preston
616d099c07 Copy t.me/+phonenumber link from Phone Number Privacy. 2022-03-01 15:30:55 +03:00
John Preston
667e2e697e Support emoji in account names. 2022-03-01 13:25:42 +03:00
23rd
d1bb87ccec Added ability to provide custom style to Settings::AddSubsectionTitle. 2022-03-01 12:52:31 +03:00
John Preston
2917a53b75 Beta version 3.5.3: Fix build with GCC. 2022-02-28 23:25:55 +03:00
23rd
df125bac19 Removed Ui::ConfirmDontWarnBox. 2022-02-28 09:08:01 +03:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
23rd
d5a44a2ba4 Removed mutable lambdas from controller of privacy settings. 2022-02-28 08:08:32 +03:00
John Preston
dde4868540 Add phrases to lang.string. 2022-02-27 20:26:52 +03:00
John Preston
1710863231 Update some icons. 2022-02-27 20:26:52 +03:00
John Preston
91c46dbc85 Allow Info::Media::ListWidget use different data providers. 2022-02-25 19:41:15 +03:00
John Preston
ffd65e1fe4 Fix slide animations with new layer rounding. 2022-02-25 14:14:43 +03:00
John Preston
f5b8683b33 Add some icons to Advanced settings. 2022-02-25 14:14:43 +03:00
John Preston
3c2caeb43a Adjust Notifications settings to the mockup. 2022-02-25 14:14:43 +03:00
John Preston
6daa267329 Adjust privacy edit boxes to the mockup. 2022-02-25 14:14:42 +03:00
John Preston
bce19c7151 Adjust main menu accounts to the mockup. 2022-02-25 14:14:42 +03:00
John Preston
7c5d27d7ce Add "Telegram Features" to the main settings page. 2022-02-25 14:14:42 +03:00
John Preston
2e435f07a3 Make "Archived chats" a normal menu item. 2022-02-25 14:14:42 +03:00
John Preston
9c581d63ea Adjust main menu icons to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
f57d21eaeb Add "Calls Settings" to the main settings section. 2022-02-25 14:14:41 +03:00
John Preston
9c903bacf2 Adjust main settings icons to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
1468be0af4 Adjust main settings buttons geometry to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
340db7662b Improve settings main cover. 2022-02-25 14:14:41 +03:00
John Preston
666251f23e Allow to set custom app icon on macOS. 2022-02-08 00:24:11 +03:00
John Preston
67c538ae8f Add AllowLinuxNvidiaOpenGL option. 2022-02-02 15:33:41 +03:00
23rd
37cd4f51eb Added view-profile-in-chats-list-context-menu option. 2022-02-01 18:48:02 +03:00
John Preston
ca21b7efae Allow disable Cmd+Q warning on macOS. 2022-02-01 00:43:20 +03:00
John Preston
17de379145 Fix document thumbnails on Retina screens. 2022-01-31 13:18:52 +03:00
John Preston
2a99f1a1ef Add tabbed-panel-show-on-click option. 2022-01-28 19:10:07 +03:00
John Preston
4aafcebef5 Add empty experimental settings section. 2022-01-28 19:10:07 +03:00
John Preston
28f2c213f7 Remove app module. Support delayed quit by Cmd+Q on macOS. 2022-01-27 15:54:20 +03:00
23rd
0143d22a21 Split qt_adapters to separated files. 2022-01-26 10:33:28 +03:00
John Preston
3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
John Preston
bfdbb64295 Move some Settings icons to a subfolder. 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
a1439163ce Update API scheme to layer136. 2021-12-29 21:22:32 +03:00
John Preston
caaeff32c5 Move global privacy setting down. 2021-12-02 13:36:49 +04:00
John Preston
28eb2f1a91 Return terminate session button to the list. 2021-11-30 21:08:15 +04:00
John Preston
168711b352 Use PeerList for sessions list (wip). 2021-11-30 20:44:15 +04:00
23rd
3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston
1d1fa5f98b Improve session details box design. 2021-11-30 16:06:41 +04:00
John Preston
d4c6475ae8 Show sessions list in a Settings Section. 2021-11-29 17:30:14 +04:00
John Preston
8264968718 Use cloud "disable calls" settings instead of local. 2021-11-26 18:04:03 +04:00
John Preston
f3e1aef264 Allow editing sessions auto-termination period. 2021-11-26 18:00:22 +04:00
John Preston
fe4bb19358 Improve custom device name input design. 2021-11-26 18:00:22 +04:00
John Preston
f10ed4b9bc Support autostart in Windows Store version.
Fixes #3234.
2021-11-04 12:36:28 +04:00
John Preston
aef45b3a1d Refactor icon unread counter painting. 2021-11-02 20:12:57 +04:00
John Preston
ab58aa020e Allow many custom elements in PeerListRow. 2021-10-29 18:31:06 +04:00
Ilya Fedin
45bbe33929 Multiple scale values in UI by device pixel ratio on non-Mac
To avoid confusion
2021-10-25 19:55:11 +04:00
Ilya Fedin
847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
159beb138a Moved api peer photo processing to separated file.
Removed MainWidget::deletePhotoLayer.
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
c6e1b14429 Added Window::SessionController to ChangePhoneBox. 2021-10-19 06:34:27 +03:00
23rd
94d5d20281 Simplified saving self bio. 2021-10-19 06:34:27 +03:00
John Preston
0c906a5e6d Fix crash in local changelog messages. 2021-10-07 10:58:24 +04:00
John Preston
ead695b101 Don't pass wide fake MsgId through MTPMessage. 2021-09-30 15:30:39 +04:00
John Preston
1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04:00
John Preston
b1ba9a42c6 Use Ui::GenerateBackgroundImage for preview in Settings. 2021-09-28 19:27:41 +04:00
John Preston
19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
Ilya Fedin
e92ae40ecb Implement close to taskbar option 2021-09-13 17:46:53 +03:00
John Preston
13c00949ed Add a simple way of testing color themes. 2021-09-10 22:29:30 +03:00
John Preston
a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston
b2364140e9 Custom colors in all media/history_view_ modules. 2021-09-06 13:13:26 +03:00
John Preston
23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
John Preston
2554aaf3c0 Move Window::Theme::Colorizer to style::colorizer. 2021-09-06 13:13:26 +03:00
John Preston
d684c8057c Fix build for macOS. 2021-08-30 20:32:57 +03:00
John Preston
beff635e45 Colorize bubbles according to a custom chat theme. 2021-08-30 20:32:57 +03:00
John Preston
0a1e84ddb2 Move ChatTheme to td_ui. 2021-08-30 20:32:57 +03:00
John Preston
3cd0f9d189 Start non-unique ChatTheme. 2021-08-30 20:32:57 +03:00
John Preston
868015da25 Add extensive video playback crash logs. 2021-08-23 12:17:40 +03:00
John Preston
b4eb9a0827 Fix single-colored patterns. 2021-08-20 16:24:26 +03:00
John Preston
aaf0015be4 Improve pattern wallpaper preview in Settings. 2021-08-20 16:14:09 +03:00
John Preston
f3f741e1eb Hide 'Tile' option in generated backgrounds. 2021-08-20 15:14:28 +03:00
John Preston
f4fdadd3b0 Allow arbitrary QImage as outgoing bubbles background. 2021-08-20 14:54:11 +03:00
John Preston
662966ba31 Support patterns with negative intensity. 2021-08-17 17:35:10 +03:00
John Preston
3dadcd9352 Animated transition on pattern-on-gradient resize. 2021-08-16 10:26:08 +03:00
John Preston
c2b1187948 Start support of linear gradient wallpapers. 2021-08-16 10:26:08 +03:00
23rd
1fd28d5cfb Removed MTP* from public interface of Api::CloudPassword. 2021-08-15 13:44:43 +03:00
23rd
b3622b413e Added ability to set custom auto-lock timer. 2021-08-12 02:36:41 +03:00
John Preston
c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
John Preston
91ef6f13c8 Use good bitrate for screen capture in calls. 2021-08-10 15:46:18 +03:00
23rd
cbad2469db Moved MTP cloud password from ApiWrap to Api::CloudPassword. 2021-08-10 15:46:18 +03:00
23rd
0ae260c6e1 Moved MTP blocked peers from ApiWrap to Api::BlockedPeers. 2021-08-10 15:46:18 +03:00
23rd
5bd73bab9b Moved user privacy from ApiWrap to Api::UserPrivacy. 2021-08-10 15:46:18 +03:00
John Preston
256546071b Add ability to reset cloud password in 7 days. 2021-07-30 14:32:49 +03:00
John Preston
c100055fac Allow sharing screen or window in one-on-one calls. 2021-07-30 00:40:25 +03:00
Ilya Fedin
1ebf27bfa1 Switch MainWindow to Ui::RpWindow 2021-07-28 18:05:39 +03:00
John Preston
116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
23rd
024bb5e54f Moved App::formatPhone to td_ui. 2021-07-26 17:38:51 +03:00
23rd
a14f2144e1 Removed layout.cpp/h. 2021-07-26 17:38:51 +03:00
Ilya Fedin
49fed41dfa Use RegisterUrlScheme from lib_base 2021-07-19 22:55:57 +03:00
Ilya Fedin
ba9b72e038 Fix -Wunused-variable warnings with gcc 2021-07-19 22:31:27 +03:00
John Preston
4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
Ilya Fedin
79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
Ilya Fedin
89765340c3 Fix -Wunused-function warnings 2021-07-13 21:31:22 +03:00
23rd
a631a28092 Removed App::pixmapFromImageInPlace. 2021-07-06 12:13:06 +03:00
23rd
1a7d5b7c95 Removed unused photo crop box. 2021-07-06 12:13:05 +03:00
23rd
17465e1082 Replaced old photo crop box with photo editor for profile photos. 2021-07-06 12:13:05 +03:00
23rd
4909ba5a1e Added ability to pass custom layer widgets to stack. 2021-07-06 12:13:05 +03:00
John Preston
b22e2ffe1d Animate inline path thumbnails with sliding gradient. 2021-07-02 20:40:32 +03:00
John Preston
f09b91ebb5 Beta version 2.8.5: Fix build on non-Windows. 2021-07-02 04:45:58 +03:00
John Preston
18b48df9ce Allow to choose ANGLE backend. 2021-07-01 23:48:18 +03:00
23rd
b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +04:00
23rd
6d08542afa Moved proxy global variables from facades to core settings. 2021-06-16 09:31:32 +03:00
23rd
707b36dc12 Moved DBIWorkMode to Core::Settings. 2021-06-16 09:31:32 +03:00
23rd
da3e140069 Moved DBINotifyView to Core::Settings. 2021-06-16 09:31:32 +03:00
23rd
5334372671 Moved WorkMode global variable from facades to core settings. 2021-06-16 09:31:32 +03:00
23rd
2ed3543b53 Renamed class back from AdaptiveModern to Adaptive. 2021-06-16 09:31:32 +03:00
23rd
9b488f03a1 Removed Adaptive namespace from Settings::Chat. 2021-06-16 09:31:32 +03:00
23rd
d2c8780c0f Removed NotificationsDemoIsShown global variable from facades. 2021-06-16 09:31:32 +03:00
23rd
54dd63d61a Removed LocalPasscode global variable from facades. 2021-06-16 09:31:32 +03:00
23rd
7852c82eab Simplified updating of autolock time in Settings::PrivacySecurity. 2021-06-16 09:31:32 +03:00
23rd
aad38c2809 Replaced observable in Window::Notifications::System with rpl. 2021-06-16 09:31:32 +03:00
John Preston
ef61443342 Fix tg://settings/devices link. 2021-06-09 09:19:28 +04:00
John Preston
c12a50544e Allow force-disabling OpenGL. 2021-05-24 22:45:15 +04:00
John Preston
00ce302b38 Improve narrow participants column design. 2021-05-24 22:45:14 +04:00
John Preston
eb8f709943 Show members list in PanelMode::Wide. 2021-05-24 22:45:13 +04:00
John Preston
c93ddf6aac Separate Call/GroupCall delegates and Instance. 2021-05-24 22:45:13 +04:00
John Preston
fef1f80570 Disable video preview in Settings when in group call. 2021-05-24 22:45:13 +04:00
John Preston
1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston
79f7aa703a Allow clearing saved payments information. 2021-04-07 15:43:32 +04:00
John Preston
0d44736575 First full-featured version of payments, no design. 2021-04-06 18:41:15 +04:00
Ilya Fedin
cffb615a4d Fix build 2021-04-05 09:22:04 +03:00
Ilya Fedin
073b5b106c Get rid of modal parent hack
It was introduced to workaround the absence of size hints propagating in Qt 5.12 Wayland backend, there's no need in it anymore
2021-04-05 08:03:46 +03: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
54f06740d5 Remove some App::wnd() calls. 2021-03-03 11:29:26 +04:00
John Preston
047bf467b5 Allow editing links from ShowInviteLinkBox. 2021-02-22 23:42:40 +04:00