Commit Graph

144 Commits

Author SHA1 Message Date
23rd 6a45a862dd Removed wheel events from scale slider in section of main settings. 2024-09-04 16:01:55 +02:00
John Preston 9bb1fa8782 Allow sending paid reactions. 2024-08-14 18:17:49 +02:00
John Preston 149c69c9f5 Use a separate string for Your Stars in Settings. 2024-07-06 22:13:44 +04:00
23rd 02bd2bca64 Removed display of credits button in settings when user has no credits. 2024-05-30 21:35:10 +04:00
23rd e11755af46 Added credits balance to main session. 2024-05-30 21:35:07 +04:00
23rd 1a393ddebb Added star icons with gradient to main settings for premium buttons. 2024-05-30 21:35:06 +04:00
23rd b5eb195f43 Added initial dummy settings section for credits. 2024-05-30 21:35:06 +04:00
John Preston 10c427127e Fix accidental search focusing. 2024-04-26 11:10:12 +04:00
John Preston 23883ed4a1 Use generic way for FAQ links. 2024-04-04 21:08:56 +04:00
23rd 2a388ae4b2 Improved FAQ buttons with opening link in instant view. 2024-04-04 17:51:53 +04:00
John Preston 1061fb6c85 Implement collectible username / phone info boxes. 2024-04-02 22:56:21 +04:00
John Preston 5741bd9cca Support "premiums and ..." privacy editing. 2024-04-01 22:44:25 +04:00
John Preston da7a796edb Add session->appConfig() shortcut. 2024-04-01 22:44:22 +04:00
John Preston 8c5db25476 Fix a crash in main settings destructor.
Fixes #27544.
2024-03-12 23:24:43 +04:00
John Preston ca4cbddba6 Check shortcuts / messages limits. 2024-03-08 10:53:59 +04:00
John Preston aad8e989d8 Shortcuts edit / delete menu. 2024-03-08 10:53:59 +04:00
John Preston 0c991466f5 Update API scheme to layer 175. Business promo. 2024-03-08 10:53:58 +04:00
John Preston e5b89b1572 Separate settings for calls. 2024-01-25 11:04:27 +04:00
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