Commit graph

54 commits

Author SHA1 Message Date
23rd
42842619b0 Added external link to username field when it is available for purchase. 2024-02-01 12:37:33 +04:00
23rd
819020e515 Moved out common default style entries from settings. 2023-11-15 04:20:20 +03:00
23rd
f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
23rd
f6cb9072d2 Moved AddSkip and AddDivier from Settings namespace to separate module. 2023-11-15 03:30:04 +03:00
23rd
4017d8db7c Removed Save button from box for bot username editing. 2023-07-28 02:44:20 +03:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
23rd
47756fb8c3 Removed focus from disabled editor in UsernamesBox for bots. 2023-04-21 00:23:49 +03:00
23rd
a02ded6fd8 Disabled editor in UsernamesBox for bots. 2023-04-11 19:17:42 +04:00
23rd
cfc8820bad Added support of non-self users to UsernamesBox. 2023-04-11 19:17:42 +04:00
23rd
a0ca3beef8 Added phrases for bot management. 2023-04-11 19:17:42 +04:00
John Preston
273a2809cf Fix username change error display. 2022-12-06 22:13:15 +04:00
John Preston
8937d732f6 Fix build with GCC. 2022-12-06 18:08:07 +04:00
23rd
3fdb807a1e Respected new error for occupied usernames in manage channel. 2022-11-29 14:12:57 +03:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
23rd
22dc7023fc Respected new error for occupied usernames in UsernameBox. 2022-11-29 14:12:50 +03:00
23rd
9946fbbd89 Moved out check info text in UsernameBox to separated row. 2022-11-29 14:12:50 +03:00
23rd
bdd79aa2f2 Changed row in usernames list for editable one. 2022-11-01 19:25:40 +04:00
23rd
ad70942d0e Moved usernames data management to separated class. 2022-11-01 19:25:39 +04:00
23rd
113d9742f4 Added initial implementation of usernames list for boxes. 2022-11-01 19:25:39 +04:00
23rd
acbc248f23 Replaced UsernameBox with generic box. 2022-11-01 19:25:39 +04:00
23rd
5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
23rd
629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd
7bebe699f6 Moved special fields to separated folder. 2022-04-01 15:53:57 +04:00
John Preston
c5d7889ac9 Adjust username change box to the mockup. 2022-02-25 14:14:42 +03:00
23rd
b776308fd7 Moved some constants for peer editing to separated file. 2021-10-19 06:34:27 +03:00
23rd
ee05e0af06 Improved code style in UsernameBox. 2021-10-19 06:34:27 +03:00
John Preston
68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston
357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston
0ad7dcaef9 Remove MTP::MainInstance() global access point. 2020-06-23 21:53:40 +04:00
John Preston
803593cd8d Change Stickers::Set from value to object type. 2020-06-01 18:09:33 +04:00
John Preston
a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston
849deb57e2 Move many widget classes to lib_ui. 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
4bad642190 Remove some more Auth() calls. 2019-08-09 11:50:49 +01:00
John Preston
ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston
87fc066e67 Use tr:: instead of lang(). 2019-06-21 11:06:51 +02:00
John Preston
a7c8feaecb Use tr:: instead of langFactory and __rich. 2019-06-21 11:06:50 +02:00
John Preston
d1d98c3bb1 Use tr:: instead of langFactory in box titles. 2019-06-21 11:06:50 +02:00
John Preston
8ed433cc01 Use tr:: instead of langFactory in input fields. 2019-06-21 11:06:49 +02:00
John Preston
ca7c50fbcd Remove pseudo-HTML from langpacks and Ui::Text::String. 2019-06-21 11:06:46 +02:00
John Preston
a70e72f75d Application->Sandbox, Messenger->Application. 2019-01-23 12:51:58 +04:00
John Preston
4111da1dd0 Move some calls from App namespace. 2019-01-22 17:10:01 +04:00
John Preston
314e30272b Replace SingleTimer with base::Timer. 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
0c8709ca5f Replace App::self() with Auth().user().
Always have self Auth().user() when AuthSession exists.
2018-09-19 19:22:13 +03:00
John Preston
bfc748cd31 Pass modifiers inside InputField submitted signal.
Also use non-MOC connections for all InputFields.
Also use Ctrl/Cmd + Enter to submit fast share box.
Fixes #4769.
2018-05-31 15:20:28 +03:00
John Preston
840b42934b Use server-side my_results in contacts.search. 2018-02-08 12:20:51 +03:00
John Preston
ea7441ae77 Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
John Preston
da0d78135d Some refactoring in working with text entities.
Also move this code to TextUtilities namespace.
2017-07-06 14:37:42 +03:00