Commit graph

126 commits

Author SHA1 Message Date
John Preston
5e255e56eb Don't allow gifting premium if can't buy. 2024-01-02 00:12:51 +04:00
John Preston
a4d7309209 Support tg://premium_multigift links. 2024-01-02 00:10:52 +04:00
23rd
b9b6226692 Added initial ability to gift premium to contacts from settings. 2023-12-17 09:50:50 +03:00
23rd
baa99be6a5 Removed some unwanted include directives of lang_keys in header files. 2023-11-15 03:30:04 +03:00
23rd
f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
23rd
f629bf76ff Removed AddButton and CreateButton without icon from Settings. 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
a4e5ea01dc Added icon to language button in settings from intro. 2023-11-04 21:24:02 +04:00
John Preston
5285f74b13 Use outline premium icon. 2023-08-15 13:07:29 +02:00
John Preston
cc27b6c5c5 Update icons in settings / manage layers. 2023-08-14 22:30:40 +02:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
23rd
cfc8820bad Added support of non-self users to UsernamesBox. 2023-04-11 19:17:42 +04:00
John Preston
7264d82e8d Allow larger scales on high-dpi screens. 2023-03-15 17:17:46 +04:00
John Preston
388541a3fb Show a new "Battery and Animations" settings item. 2023-03-01 09:12:02 +04:00
Ilya Fedin
98e8a20f5f Fix missing include in settings_main 2023-02-14 18:37:01 +04:00
Ilya Fedin
879df6e6a3 Present window's devicePixelRatio in the UI
It's a more valid value when Qt's rater downscaling is in effect

Also round it
2023-02-13 11:48:51 +04:00
Ilya Fedin
eee800b6d0 Use window widget's devicePixelRatio when displaying interface scale value
This is less confusing in multi-monitor environments
2023-02-08 12:18:21 +04:00
23rd
6bb7263f7d Provided result of emoji userpic builder to api. 2023-02-02 22:12:32 +04:00
23rd
9940ee21d3 Added api support to upload emoji markup of userpic instead of image. 2023-02-02 22:12:32 +04:00
John Preston
be71139515 Add "Translate Entire Chat" button to Settings. 2023-02-02 22:12:32 +04:00
John Preston
0de77a051a Fix interface scale padding in non-authed Settings. 2023-01-21 21:08:49 +04:00
John Preston
12c2e42917 Beta version 4.5.4: Fix build with GCC. 2023-01-10 16:59:05 +04:00
John Preston
43a830f0af Fix in-window preview (Wayland / noCompositing). 2023-01-09 09:05:07 +04:00
John Preston
ff331c040a Allow huge range of interface scales. 2023-01-09 09:05:07 +04:00
John Preston
1dd83f3d34 Support personal photo edit in EditContactBox. 2022-12-26 14:24:06 +04:00
John Preston
faf6c48f25 Remove ui/special_buttons module. 2022-12-26 14:24:06 +04:00
John Preston
5fe9c93cb6 Set / suggest / reset a contact personal photo. 2022-12-26 14:24:05 +04:00
Ilya Fedin
3991be752c Replace various QDesktopService::openUrl with File::OpenUrl for correct operation on Linux
This also reverts commit bb94507af1.
2022-12-23 14:02:25 +04:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston
01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
23rd
acbc248f23 Replaced UsernameBox with generic box. 2022-11-01 19:25:39 +04:00
John Preston
791addd0ee Start topic profile cover design. 2022-11-01 19:25:38 +04:00
John Preston
3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston
5cc6275fc3 Fly + effects when choosing an emoji status. 2022-09-07 12:52:34 +04:00
John Preston
f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston
5530df8f2d Play emoji status only twice in main menu. 2022-09-02 21:14:33 +04:00
John Preston
bd089f20a8 Emoji status selector in MainMenu/Settings. 2022-09-02 21:14:28 +04:00
23rd
629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd
691a434ba9 Added premium badge to main settings. 2022-06-14 08:52:45 +03:00
John Preston
4570da5767 Skip premium section in settings. 2022-06-07 11:27:06 +04:00
John Preston
499923b6d3 Show real subscription price from the API. 2022-06-03 15:57:06 +04:00
John Preston
de31c1cf0c Subscription status display. 2022-06-02 17:30:01 +04:00
23rd
e09b624b84 Added gradient color to icon of premium settings. 2022-06-01 11:59:14 +04:00
23rd
ee9a04393e Slightly improved style of premium settings. 2022-05-24 08:01:27 +03:00
John Preston
d1907083ed Add FileSizeLimitBox and pass "ref" to premium payment. 2022-05-23 18:46:15 +04:00
John Preston
d81bba155a Update some premium icons. 2022-05-20 19:28:50 +04:00
23rd
51ed3af14c Added new section for premium settings. 2022-05-20 13:18:22 +03:00
John Preston
fe91887ea2 Update API: support "All Chats" reordering. 2022-05-19 17:27:03 +04:00
23rd
6e8fb2ec06 Returned ability to copy phone number from main settings. 2022-05-10 08:53:31 +03:00
John Preston
488f6412f2 Change phone number section instead of a box. 2022-04-13 15:06:24 +04:00