Commit Graph

1007 Commits

Author SHA1 Message Date
23rd 5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
John Preston 791addd0ee Start topic profile cover design. 2022-11-01 19:25:38 +04:00
John Preston 9b0cae9c97 Fix name width in accounts list. Fixes #25116. 2022-11-01 19:25:37 +04:00
John Preston e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston 1401b19994 Add PaintContext for Dialogs::Ui::RowPainter. 2022-11-01 19:25:34 +04:00
John Preston 3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston 073c1a4d0f Version 4.2.3: Fix possible crash in premium section. 2022-09-28 15:58:25 +04:00
23rd 9c3173e4bb Fixed updating of emoji status from TopBar in Premium Settings for user.
Regression was introduced in 47b32898f5.
2022-09-28 08:46:35 +03:00
John Preston e01910ac68 Fix a crash in folders editing, happens in Qt 6.4.
Fixes #25074.
2022-09-23 23:32:19 +04:00
John Preston eac13b31f1 Fix crash in subscribe button. 2022-09-23 23:32:18 +04:00
Ilya Fedin f2d2826fc7 Make InstallLauncher accessible on any platform 2022-09-19 14:23:27 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
23rd 47b32898f5 Fixed padding of TopBar in Premium Settings for user. 2022-09-14 23:10:31 +04:00
John Preston 1363faddbf Add "Reaction button in messages" setting. 2022-09-13 07:44:22 +04:00
John Preston 20a5950f99 Fix premium star / status in accounts list. 2022-09-12 18:56:03 +04:00
John Preston 2e8a03dfd1 Correctly round spoiler animation in ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston 2215500c9a Add emoji status icon to premium promo. 2022-09-07 20:36:06 +04:00
John Preston 5cc6275fc3 Fly + effects when choosing an emoji status. 2022-09-07 12:52:34 +04:00
John Preston 1877786707 Special phrase for a colored emoji status. 2022-09-06 12:32:33 +04:00
John Preston f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston 85acf051c1 Try to fix build with GCC. 2022-09-03 06:51:02 +04:00
23rd fa6b4f9b52 Slightly improved style of Premium Settings. 2022-09-02 21:14:34 +04:00
John Preston e32031963b Colorize status in premium promo and pack preview. 2022-09-02 21:14:34 +04:00
23rd 15aefddab4 Added support of Webm custom emoji to Premium Settings. 2022-09-02 21:14:33 +04:00
John Preston 5530df8f2d Play emoji status only twice in main menu. 2022-09-02 21:14:33 +04:00
John Preston 2d07539892 Support colored emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston 923e725e18 Request default and recent emoji statuses. 2022-09-02 21:14:33 +04:00
23rd b2d72e2541 Removed subscription options from Settings when there is only one. 2022-09-02 21:14:33 +04:00
23rd 5505a566be Replaced gradient header in Premium Settings for dark themes. 2022-09-02 21:14:32 +04:00
John Preston ed3f246510 Use FrameGenerator-based AnimatedIcon for reactions. 2022-09-02 21:14:32 +04:00
23rd 0ffa88d0f3 Added shadow to small TopBar in Premium Settings for user. 2022-09-02 21:14:32 +04:00
23rd 149d92d224 Added ability to choose subscription option for Premium in Settings. 2022-09-02 21:14:32 +04:00
23rd e03eaaaa98 Fixed switching between sections of Premium Settings. 2022-09-02 21:14:31 +04:00
23rd 857f56d5b4 Added animation pause in TopBar in Premium Settings for user. 2022-09-02 21:14:31 +04:00
23rd 638cf237c4 Slightly improved design of Premium Settings. 2022-09-02 21:14:31 +04:00
23rd 01b50a8460 Added initial implementation of TopBar in Premium Settings for user. 2022-09-02 21:14:31 +04:00
23rd 4d43830c3b Replaced ripple colors for top buttons in Premium Settings. 2022-09-02 21:14:31 +04:00
23rd 56cbde93da Divided TopBar in Premium Settings into abstract and main classes. 2022-09-02 21:14:31 +04:00
23rd 90ef0e4969 Reformated serializing and parsing of ref data for Premium Settings. 2022-09-02 21:14:31 +04:00
John Preston 31db1804c8 Request top and recent reactions. 2022-09-02 21:14:31 +04:00
John Preston 610c46e26f Make a nice selector for only-recent set. 2022-09-02 21:14:30 +04:00
John Preston 60cc232884 Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston e22bb40dd1 Improve premium / emoji status badge styles. 2022-09-02 21:14:29 +04:00
John Preston bd089f20a8 Emoji status selector in MainMenu/Settings. 2022-09-02 21:14:28 +04:00
Ilya Fedin e7f85f7255 Add missing include to settings_advanced 2022-09-02 18:46:31 +04:00
Ilya Fedin c18313614b Use Core::Tray::has in settings_advanced 2022-09-02 17:29:57 +04:00
23rd e568f7ab01 Added ability to restrict voice messages in conversations for everyone. 2022-08-16 09:38:19 +03:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
Sergey A. Osokin 7a3452a18a Fix warnings by removing unused const variables
Telegram/SourceFiles/ui/text/custom_emoji_instance.cpp:23:16: warning: unused variable 'kMaxFrameDuration' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/reactions_settings_box.cpp:46:16: warning: unused variable 'kVisibleButtonsCount' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/premium_preview_box.cpp:53:16: warning: unused variable 'kShiftDuration' [-Wunused-const-variable]
Telegram/SourceFiles/settings/settings_premium.cpp:55:16: warning: unused variable 'kTitleAnimationPart' [-Wunused-const-variable]

Found by:	clang
2022-08-08 21:21:13 +04:00
John Preston 2f5038a792 Improve webview on macOS. 2022-08-04 19:33:56 +03:00
John Preston e438cb57bc Show, send and receive interactions in single custom emoji. 2022-08-04 16:10:36 +03:00
John Preston f4b80d8714 Show premium emoji toast / send to Saved Messages. 2022-08-02 20:59:50 +03:00
23rd c47e951519 Added missed back button to premium narrow section without stack. 2022-08-02 16:51:00 +03:00
John Preston b96e09534d Fix blocked list loading.
Fixes #24783.
2022-08-02 13:20:38 +03:00
John Preston 730ee3ae16 Beta version 4.0.3: Fix build with Xcode. 2022-07-29 00:33:47 +03:00
23rd 3602155f68 Fixed display of gift service actions for gift senders. 2022-07-27 12:49:52 +03:00
23rd d2170232af Added toast to privacy setting for voice messages for non-premium users. 2022-07-26 20:12:13 +03:00
John Preston 58fb14e292 Show Experimental settings in builds without autoupdates. 2022-07-26 20:12:12 +03:00
John Preston bf286cf175 Show "Unlock emoji" button for premium sets. 2022-07-26 20:12:12 +03:00
23rd 31a683ab3d Added lock icon to buttons in privacy settings. 2022-07-26 20:12:11 +03:00
John Preston 3ccc567e04 Add animated emoji premium preview. 2022-07-26 20:12:11 +03:00
23rd 3fe83282a8 Slightly improved code style of controllers for privacy settings. 2022-07-26 20:12:11 +03:00
23rd 67195f3825 Added initial support of privacy setting for voice messages. 2022-07-26 20:12:11 +03:00
23rd 032372f150 Added stars animation to box for premium gifts. 2022-07-26 20:12:09 +03:00
23rd 2a3d72ad2e Added ability to provide custom text to subscribe button. 2022-07-26 20:12:09 +03:00
23rd 99676c4cf8 Moved some premium styles to separate file. 2022-07-26 20:12:09 +03:00
23rd 7b00671ccf Moved out all values of premium limits to single place. 2022-06-16 13:29:37 +03:00
John Preston 01bcdf10ee Add arrows to move in premium previews box. 2022-06-15 19:31:13 +04:00
23rd 6553e4492c Fixed phrase for placeholder in field of local passcode check. 2022-06-15 14:06:32 +03:00
John Preston 707359e371 Close double limits preview box on premium change. 2022-06-14 16:40:50 +04:00
Ilya Fedin 08b99134fa Use brackets include for third-party libraries 2022-06-14 16:36:44 +04:00
John Preston 3e5b52bc2e Fix premium settings cover. 2022-06-14 16:23:09 +04:00
John Preston 6260f258bb Improve premium preview boxes close buttons. 2022-06-14 16:03:44 +04:00
23rd 629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
John Preston 6d8012f13a Pause premium settings animations. 2022-06-14 13:43:07 +04:00
23rd 691a434ba9 Added premium badge to main settings. 2022-06-14 08:52:45 +03:00
23rd 8b4405b71a Added premium badge to list of accounts. 2022-06-14 08:52:45 +03:00
23rd 7a821ca0f4 Decomposed creating of unread badge in list of accounts. 2022-06-14 08:52:45 +03:00
John Preston c9292512c0 Show premium previews from the settings. 2022-06-14 07:11:35 +04:00
John Preston 50926acab9 Toggle premium stickers previews. 2022-06-13 23:10:32 +04:00
23rd acf7a82507 Added preview box for premium doubled limits. 2022-06-13 14:27:26 +03:00
23rd 17274e17ed Changed behavior for premium features in settings to be clickable. 2022-06-13 14:27:26 +03:00
John Preston fc07954276 Improve premium section bottom. 2022-06-13 13:49:45 +04:00
23rd 0bd65794d2 Added glare effect to gradient round button. 2022-06-12 16:07:41 +03:00
23rd 1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
John Preston 333b986098 Remove ToS and Privacy Policy footer. 2022-06-12 16:51:55 +04:00
23rd 43c0197445 Removed Ui::hideLayer from places that can be in non-primary windows. 2022-06-09 07:06:01 +03:00
John Preston 17b2d043cb Auto-submit bot start in subscription settings. 2022-06-08 17:23:24 +04:00
John Preston 916f86b401 Don't show premium star when premium unavailable. 2022-06-08 16:53:16 +04:00
John Preston 524771529a Don't shows premium section / preview if unavailable. 2022-06-08 11:26:53 +04:00
John Preston a780fbd09b Add "ctrl-click-chat-new-window" option. 2022-06-07 22:05:37 +04:00
John Preston 896d39bc6a Add ToS and Privacy Policy links to premium subscription. 2022-06-07 16:58:14 +04:00
John Preston 00bea8d1ee Don't show subscribe button with blocked premium. 2022-06-07 11:49:24 +04:00
John Preston 4570da5767 Skip premium section in settings. 2022-06-07 11:27:06 +04:00
23rd 8f076b0c9e Added auto-scroll-inactive-chat option. 2022-06-05 09:11:09 +03:00
John Preston df17f20a47 Support attach bot menu / reload / settings. 2022-06-03 20:07:33 +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 6c48abb562 Added support of premium accounts limits to list of accounts. 2022-06-02 13:54:41 +03:00
23rd 287fae858e Moved Settings::OrderedAccounts() to Main::Domain::orderedAccounts(). 2022-06-02 13:48:42 +03:00
23rd a1736de977 Fixed processing of premium limits for filters. 2022-06-02 12:15:59 +03:00
23rd 9e4d47dcc0 Slightly improved style of box for premium accounts limits.
Added an icon for the info bubble.
Added a gradient color to selected account.
Respected an order of accounts from settings.
2022-06-02 02:16:01 +03:00
John Preston 568640f830 Hide subscribe button if premium. 2022-06-01 11:59:14 +04:00
23rd 35e4dd5968 Added initial support for increased premium count of accounts. 2022-06-01 11:59:14 +04:00
23rd e09b624b84 Added gradient color to icon of premium settings. 2022-06-01 11:59:14 +04:00
23rd 735f1d5b03 Added phrases for subscribed users to premium settings. 2022-06-01 11:59:14 +04:00
John Preston 5bc072de07 Support premium bio (with links and x2 length). 2022-06-01 11:59:14 +04:00
23rd 8e6825771e Added support of filters limit to side bar. 2022-05-30 14:57:49 +03:00
23rd b45f97d384 Removed description text from premium settings. 2022-05-30 07:58:04 +03:00
23rd f1ebf3d9f6 Optimized drawing of ministars in premium settings. 2022-05-30 07:58:04 +03:00
23rd ea0466aaa3 Added deformation effect to ministars in premium settings. 2022-05-30 07:58:04 +03:00
23rd 443d40906d Added fade effect to ministars from custom top bar in premium settings. 2022-05-30 07:58:04 +03:00
23rd 7749fadf11 Added support of disabled animation in premium settings. 2022-05-30 07:58:04 +03:00
23rd 8fbdd36ca0 Improved style of text from custom top bar in premium settings. 2022-05-30 07:58:04 +03:00
23rd 5916bd3e0d Added initial implementation of star animation in premium settings. 2022-05-24 14:37:05 +03:00
23rd 7037268a36 Slightly improved margins in premium settings. 2022-05-24 12:24:39 +03:00
John Preston 59be3d746c Show "Auto mute and archive new" for premium users. 2022-05-24 11:25:49 +04:00
23rd a73676b3ba Slightly improved animation of top bar in premium settings. 2022-05-24 08:01:27 +03:00
23rd ee9a04393e Slightly improved style of premium settings. 2022-05-24 08:01:27 +03:00
23rd 141f96590b Fixed focus in some new settings sections. 2022-05-24 01:41:23 +03:00
John Preston d1907083ed Add FileSizeLimitBox and pass "ref" to premium payment. 2022-05-23 18:46:15 +04:00
John Preston 62f42eabb0 Allow layers with fixed-bottom to stick-to-bottom. 2022-05-23 15:45:43 +04:00
John Preston ff030d0252 Auto-submit /start when paying for premium. 2022-05-23 15:45:22 +04:00
23rd 1eccb34f86 Added support for MTP order of entries in premium settings. 2022-05-23 13:37:02 +03:00
23rd 2a4faf22f6 Added initial animation to custom top bar in premium settings. 2022-05-23 13:37:02 +03:00
23rd a284fa3273 Added close button to custom top bar in premium settings. 2022-05-23 13:37:02 +03:00
23rd 4e173c8e61 Provided Info::Wrap info to premium settings. 2022-05-23 13:37:02 +03:00
23rd c310b263a6 Added ability to provide back button to pinned to top content. 2022-05-23 13:37:02 +03:00
23rd 00632dff46 Added initial support of custom top bar for premium settings. 2022-05-23 13:37:02 +03:00
23rd 9236dd3acb Added support of flexible scrollbar to Info::ContentWidget. 2022-05-23 13:37:02 +03:00
23rd 10ff236cd2 Slightly improved icon colors in premium settings. 2022-05-23 13:37:02 +03:00
John Preston e72ca712ec Fix glitch in Settings > Premium layer scroll-to-bottom. 2022-05-23 12:04:31 +04:00
John Preston d81bba155a Update some premium icons. 2022-05-20 19:28:50 +04:00
John Preston 9c9eae05a8 Update premium files icon in Settings. 2022-05-20 19:00:14 +04:00
John Preston 5cd065ef6b Show premium page on limit increase decision. 2022-05-20 17:12:56 +04:00
23rd 51ed3af14c Added new section for premium settings. 2022-05-20 13:18:22 +03:00
23rd e7cc8ff44b Added ability to override brush for color icons in settings. 2022-05-20 13:18:22 +03:00
John Preston 26d7abe2c9 Fix crash in 2sv. 2022-05-19 17:27:04 +04:00
John Preston 0870a28443 Fix pinned chats in main list. 2022-05-19 17:27:04 +04:00
John Preston fe91887ea2 Update API: support "All Chats" reordering. 2022-05-19 17:27:03 +04:00
John Preston 201edb2e69 Play premium video avatars in chats list. 2022-05-19 17:27:03 +04:00
John Preston dd05fb4d14 Show limit toasts and boxes. 2022-05-19 17:27:02 +04:00
John Preston 090f83ae0d Smooth folder icon scale. 2022-05-19 17:27:02 +04:00
John Preston c4e713815b Fix codes input in Settings. 2022-05-13 19:38:28 +04:00
23rd 910d0a7e47 Unified element sizes in all cloud password sections. 2022-05-12 03:51:41 +03:00
23rd 6e8fb2ec06 Returned ability to copy phone number from main settings. 2022-05-10 08:53:31 +03:00
23rd 2f58a7d3c4 Added auto-close timer for cloud password management section. 2022-05-10 08:53:31 +03:00
23rd e364b80d0a Added ability to validate expired cloud password in management section. 2022-05-10 08:53:31 +03:00
23rd f3efa85206 Added short comments for cloud password settings sections. 2022-05-10 08:53:31 +03:00
23rd 42f2f3c99f Slightly improved style of buttons in security and privacy settings. 2022-05-10 08:53:31 +03:00
23rd a6d0367d71 Added some error handles for recovery email settings section. 2022-05-10 08:53:31 +03:00
23rd bcbf009a62 Added ability to reset cloud password without recovery email. 2022-05-10 08:53:31 +03:00
23rd fedd8bece3 Added ability to clear cloud password from recover state. 2022-05-10 08:53:31 +03:00
23rd 031525e7e3 Added ability to recover cloud password with email from settings. 2022-05-10 08:53:31 +03:00
23rd 4d5cb6398e Moved creation of link button in cloud password settings to common file. 2022-05-10 08:53:31 +03:00
23rd 9809c12fb8 Added initial entry point for new cloud password to settings privacy. 2022-05-10 08:53:30 +03:00
23rd 3e4ac35913 Added ability to set recovery email from cloud password management. 2022-05-10 08:53:30 +03:00
23rd a72953411b Added step section of email confirm to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd 3967e58627 Improved step section of password input for checking cloud password. 2022-05-10 08:53:30 +03:00
23rd db46f84f2c Added initial implementation of cloud password management to settings. 2022-05-10 08:53:30 +03:00
23rd 9a57347973 Added step section of email input to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd c9c988e5f4 Added step section of hint input to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd 5e2acdeaa3 Added step section of password input to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd 5a4d1a1e85 Added first step section to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd fbd9437775 Added ability to transfer variant data between nearest setting sections. 2022-05-10 08:53:30 +03:00
23rd 2eaa17b938 Moved creation of flexible bottom content of password section to module. 2022-05-10 08:53:30 +03:00
23rd 7e3c54f8d0 Added common initial helpers for steps of cloud password settings. 2022-05-10 08:53:29 +03:00
23rd 627170520a Moved out mtp fields from CloudPasswordState to nested struct. 2022-05-08 23:13:45 +03:00
23rd 77d50d9177 Moved out template classes for local passcode from header. 2022-05-05 20:31:17 +03:00
23rd 546dfb08ef Moved out info in Folders settings from pinned content. 2022-05-05 16:52:09 +03:00
23rd 376b592e5a Replaced boxes for local passcode settings with section. 2022-05-05 16:52:09 +03:00
23rd c27db754a7 Added initial implementation of first screen for local passcode. 2022-05-05 16:52:09 +03:00
23rd 5fb71cb165 Added ability to append pinned to bottom content to settings sections. 2022-05-05 16:52:09 +03:00
23rd 972666440e Added ability to remove previous sections from stack in info widget. 2022-05-05 16:52:09 +03:00
23rd 549d7c77e5 Added to settings support of showing back section from stack. 2022-05-05 16:51:17 +03:00
23rd de3b30ed7d Added support of focus handle to sections of settings. 2022-05-05 16:51:17 +03:00
John Preston f2b89445ae Allow playing single lottie icon repeatedly or once. 2022-05-04 11:39:53 +04:00
23rd 3ff4bf77e7 Removed repeated animation from some settings lottie icons. 2022-05-04 07:32:52 +03:00
John Preston fc7d9b264f Add webview-debug-enabled option. 2022-05-03 23:30:54 +04:00
23rd cd50008429 Moved plus icon to settings style file. 2022-05-03 21:59:38 +03:00
23rd 767459ab57 Slightly improved style of button in settings of blocked peers. 2022-05-03 21:59:38 +03:00
23rd 3b45a120e6 Slightly improved style of buttons and icons in Folders settings. 2022-05-03 21:59:38 +03:00
23rd b04aaba8d0 Slightly improved style of box for edit folder. 2022-05-03 21:59:38 +03:00
23rd 8fae56bee8 Improved style of Folders settings. 2022-05-03 04:25:36 +03:00
23rd 1349989494 Moved settings of blocked peers to section. 2022-05-03 04:25:35 +03:00
23rd 639ed8b973 Added ability to append pinned to top content to settings sections. 2022-05-02 22:31:05 +03:00
23rd 3bdf1634a9 Added ability to copy phone number from main menu. 2022-04-28 17:41:34 +03:00
23rd 1878061c9a Fixed color of attention menu items for account buttons. 2022-04-28 17:16:58 +03:00
23rd e37866d0b9 Added animated reactions in manage of groups / channels. 2022-04-19 09:39:00 +04:00
Nicholas Guriev e99e35a12a Close restarting confirm box when cancelled
The regression seems introduced in commit 5718789d53.
2022-04-16 18:14:33 +04:00
John Preston 5cf3b621ee Beta version 3.6.3: Fix emoji in ReactionsSettingsBox on non-Retina. 2022-04-14 09:57:38 +04:00
23rd 59fc9d3bfd Replaced static reaction icon in settings with animated lottie. 2022-04-14 09:46:03 +04:00
John Preston 488f6412f2 Change phone number section instead of a box. 2022-04-13 15:06:24 +04:00
23rd 4216d72c67 Added ability to set favorite reaction from settings. 2022-04-13 15:06:23 +04:00
23rd 4304071d18 Added ability to configure quick action on double click. 2022-04-13 15:06:23 +04:00
John Preston 0615f21deb Allow editing general notification sound. 2022-04-06 19:23:41 +04:00
23rd 55864edb67 Refactored adding of sensitive menu items. 2022-04-04 17:15:45 +03:00
23rd d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
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