Commit Graph

123 Commits

Author SHA1 Message Date
John Preston bcbd97e515 Fix restart confirmation box cancel. 2022-03-01 16:15:23 +03:00
John Preston 2917a53b75 Beta version 3.5.3: Fix build with GCC. 2022-02-28 23:25:55 +03:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston dde4868540 Add phrases to lang.string. 2022-02-27 20:26:52 +03:00
John Preston 6daa267329 Adjust privacy edit boxes 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 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 28f2c213f7 Remove app module. Support delayed quit by Cmd+Q on macOS. 2022-01-27 15:54:20 +03:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +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
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 cbad2469db Moved MTP cloud password from ApiWrap to Api::CloudPassword. 2021-08-10 15:46:18 +03:00
23rd b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +04:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston 2a1096d83c Don't reset interface scale to auto on Settings open. 2021-02-01 12:32:08 +04:00
Ilya Fedin bb94507af1 Use UrlClickHandler::Open instead of File::OpenUrl 2020-10-30 11:52:10 +03:00
John Preston 8634c1f7f3 Move lang keys to td_lang library. 2020-09-30 12:18:52 +03:00
John Preston 3aea9cb3ca Add archive and mute settings editing. 2020-07-25 11:24:37 +04:00
John Preston 52e780b065 Fix a memory leak using a recursive lambda. 2020-07-14 19:03:14 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
Ilya Fedin 95b4f56b86 Don't use QDesktopServices::openUrl on snap 2020-05-01 12:06:01 +04:00
John Preston 0c2d8f1b6e Allow open folders by 'folders' code. 2020-03-27 20:36:06 +04:00
John Preston e8bf5bb5ce Move manage filters to a Settings section. 2020-03-27 20:36:05 +04:00
John Preston 568325f201 Show folders in settings async. 2020-03-27 20:36:05 +04:00
John Preston ffc65f7da4 Add folders menu to Settings. 2020-03-27 20:36:03 +04:00
John Preston d63e50944a Update submodules to the latest spellcheck. 2019-11-05 13:23:56 +03:00
John Preston 30a1bd7ba2 Use base::call_delayed. 2019-10-19 12:27:56 +04:00
John Preston e2f54eb3e9 Move some style code to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston 6343221d7b Remove many includes from stdafx.pch. 2019-09-06 19:31:07 +03:00
John Preston ac8f924909 Show tdesktop cloud themes in a box. 2019-09-06 19:31:06 +03:00
John Preston 137fa0378c Remove some more Auth() calls. 2019-07-24 16:00:30 +02:00
John Preston ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston 06982fdf04 Remove some calls to Auth(). 2019-07-24 13:13:51 +02:00
John Preston 87fc066e67 Use tr:: instead of lang(). 2019-06-21 11:06:51 +02:00
John Preston 52e40cbc6e Improve non-authed language switch. 2019-06-21 11:06:50 +02:00
John Preston 7af0dd105e Use tr:: instead of Lang::Viewer. 2019-06-21 11:06:49 +02:00
John Preston a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00
23rd 47910b2ae1 Added '-scale' command-line argument for custom scale.
- Fixed #5272.
 - Fixed #5365.
 - Fixed #6055.
2019-05-27 14:10:36 +02:00
John Preston 4111da1dd0 Move some calls from App namespace. 2019-01-22 17:10:01 +04:00
John Preston 61b9a32504 Add 'Contact joined' notifications setting. 2019-01-18 16:41:08 +04:00
John Preston c5a41e1f55 Divide data/data_peer and remove from PCH. 2019-01-17 12:21:29 +04:00
John Preston 8711830f66 Move calls settings to Settings > Advanced.
Also add calls settings button to the calls list box.
2019-01-11 17:30:57 +04:00
Gregory K 11b991cddc Add call settings (#5540) 2019-01-05 15:08:02 +04:00
John Preston 9f5b09c263 Add emoji autocomplete to all fields. 2018-11-21 14:09:46 +04:00
John Preston 26b8515cb5 Improve languages box and language local storing.
Use current language native name instead of lng_language_name value.
2018-11-16 20:17:58 +04:00
John Preston 3447aac940 Prefix client-side lang_code-s with #. 2018-11-04 15:51:39 +04:00
John Preston 711b8cfa36 Fix auto interface scale by primary screen dpi. 2018-11-04 15:51:39 +04:00
John Preston 5b4abe69aa Add interface scale (100%..150%) for Retina.
Fixes #69, fixes #3126, fixes #3789.
2018-10-16 23:00:55 +03:00
John Preston 19a9a990b6 Allow using any interface scale between 100%-300%. 2018-10-16 11:38:09 +03:00
John Preston 6ba0755e15 Move support to the main settings (support). 2018-10-09 19:27:17 +03:00
John Preston fdfc767930 Allow custom lang loading using Alt+Shift+Click. 2018-09-27 17:27:31 +03:00
John Preston fd0719db6d Add animations enable/disable setting.
Open chats / users on mouse press if animations are disabled.
2018-09-20 21:26:10 +03:00
John Preston 04dd4e30a8 Rename General->Advanced in Settings. 2018-09-20 21:26:10 +03:00
John Preston 130aa67ba0 Some settings reordered in sections. 2018-09-19 19:22:14 +03:00
John Preston 5c7155c3a5 Improve privacy and security settings subsections. 2018-09-19 19:22:14 +03:00
John Preston c2039da600 Improve new settings design. 2018-09-19 19:22:14 +03:00
John Preston c1ae9e9680 Implement intro wrap for new settings. 2018-09-19 19:22:14 +03:00
John Preston fbf3c005ff Implement new settings design with icons etc. 2018-09-19 19:22:13 +03:00
John Preston bbe6d2d13b Implement information settings section. 2018-09-19 19:22:13 +03:00
John Preston 633ff4b60e Implement privacy and security settings section. 2018-09-19 19:22:13 +03:00
John Preston 38f788f545 Implement general settings section. 2018-09-19 19:22:13 +03:00
John Preston 9af70551f3 Implement notifications settings section. 2018-09-19 19:22:13 +03:00
John Preston 50b0b61118 Accept typing codes in settings. 2018-09-19 19:22:13 +03:00
John Preston a7b1d83a3c Add upload new profile photo button to settings. 2018-09-19 19:22:13 +03:00
John Preston e2207e33ef Add FAQ and support buttons to settings. 2018-09-19 19:22:13 +03:00
John Preston 3f543347b8 Add language and scale settings. 2018-09-19 19:22:12 +03:00
John Preston a7725f03bb Add cover to settings main section. 2018-09-19 19:22:12 +03:00
John Preston f0d092f126 Section dummies for new Settings. 2018-09-19 19:22:12 +03:00