Commit Graph

1007 Commits

Author SHA1 Message Date
John Preston 12c2e42917 Beta version 4.5.4: Fix build with GCC. 2023-01-10 16:59:05 +04:00
John Preston f9ca7f4505 Beta version 4.5.4: Fix "Mark-as-read-inactive setting." 2023-01-10 16:24:27 +04:00
John Preston fc26457218 Show current chat name in the window title. 2023-01-09 18:39:07 +04:00
Ilya Fedin 7307f0b1a5 Use temp directory for downloads in Linux sandbox by default 2023-01-09 16:09:57 +04:00
John Preston 6137c64444 Fix scale preview on macOS. 2023-01-09 09:05:07 +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
23rd c99ac0a264 Moved creation of divider with text and lottie to single place. 2023-01-09 09:05:07 +04:00
23rd 991fafb30e Fixed clickable online status in profile settings. 2023-01-09 09:05:06 +04:00
John Preston 84288112fc Allow sending photos larger 1280 (experimental).
Improves #6520.
2023-01-02 14:26:41 +04:00
John Preston 442d0da5c1 Force autostart folder creation.
Also show an error if autostart couldn't be enabled.

Fixes #25608.
2023-01-02 12:26:20 +04:00
John Preston 3c4cf2862b Fix crash in profile photo privacy edition.
Fixes #25645.
2023-01-02 10:09:31 +04:00
John Preston 27228480a8 Reorder privacy buttons like on Android. 2022-12-29 14:57:27 +04:00
John Preston eebe1f4c11 Revert "Move Blocked users to Privacy in Settings."
This reverts commit 1acfe441e1.
2022-12-29 14:44:45 +04:00
Ilya Fedin 0eec470387 Hide default download folder option if it's not available 2022-12-29 14:18:08 +04:00
John Preston 1acfe441e1 Move Blocked users to Privacy in Settings. 2022-12-29 14:06:52 +04:00
23rd b43f8fcff7 Slightly optimized drawing of ministars in premium settings. 2022-12-26 14:24:08 +04:00
23rd 68b1b595a5 Fixed height of top bar with large subtext in premium settings. 2022-12-26 14:24:08 +04:00
23rd cf4dfa55da Fixed order of premium feature previews. 2022-12-26 14:24:07 +04:00
John Preston 2364b0ad4e Show additional information in userpic suggest / accept. 2022-12-26 14:24:07 +04:00
23rd 4c181b6d08 Added initial implementation of fallback photo management in settings. 2022-12-26 14:24: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 ae819eb1a6 Open settings when done changing photo. 2022-12-26 14:24:05 +04:00
John Preston 5fe9c93cb6 Set / suggest / reset a contact personal photo. 2022-12-26 14:24:05 +04:00
23rd 6118ced862 Fixed possible crash on local clearing of filters. 2022-12-26 14:24:05 +04:00
John Preston 1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +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 993b501996 Filtered out only channels in list of applying TTL for multiple chats. 2022-12-07 13:09:46 +04:00
23rd afc9eb7cef Improved filter of list to apply TTL for multiple chats. 2022-12-06 22:17:33 +03:00
23rd cc0b1b1d54 Added option for chat names in titles of single peer windows. 2022-12-06 12:56:56 +03:00
John Preston cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
23rd c8d273c2a3 Added some icons for global TTL settings and anti-spam. 2022-12-03 18:58:14 +03:00
23rd beb062dd64 Removed requesting of full peers from box of applying TTL for chats.
Since TTL is provided from the dialog info.
2022-12-03 13:51:14 +03:00
23rd 1cd4cb3baa Added ability to set TTL on creation groups. 2022-12-01 05:49:33 +03:00
23rd f8a17bd9c9 Moved tmp string for temporary folder to single place. 2022-11-30 17:17:16 +03:00
23rd 377ee7df06 Added ability to apply TTL for multiple chats. 2022-11-30 17:17:16 +03: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 d0ae07f3c2 Added initial implementation of global TTL settings. 2022-11-29 18:03:37 +03:00
23rd 97fa92de0b Added api support for global TTL settings. 2022-11-29 17:41:20 +03:00
Ilya Fedin f9dd2b4a0a Support GNotification
It's used if there's a gtk notification daemon or application is running sandboxed without access to the freedesktop protocol.

GNotification API is poor, but should feel native on environments using GNOME technologies.
2022-11-18 20:40:33 +04:00
Dragoon Aethis 9d59e42b52
Add an experimental "small message radius" toggle (#25305)
Add an experimental "small message radius" toggle.

This toggle allows switching to the pre-4.3.0, smaller message bubble
radius after an app restart. The message bubble radius styles now have
to be referenced via the Ui::BubbleRadius* and Ui::MsgFileThumbRadius*
wrappers to use the appropriate value.
2022-11-08 14:19:17 +04:00
23rd 3e428faa2e Fixed crash on creating of callback for adding items to non-exist menu. 2022-11-06 18:18:24 +03:00
John Preston a088791752 Closed alpha version 4.2.4.2: Fix build with Xcode. 2022-11-02 22:29:21 +04:00
John Preston fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +04:00
John Preston b3f9b16eb2 Add correct topics icon to manage group box. 2022-11-01 19:25:43 +04:00
John Preston 7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
23rd 17623640b3 Slightly improved appearing of usernames list. 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 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