Commit Graph

12724 Commits

Author SHA1 Message Date
23rd 15cce4900c Fixed lock from voice recording bar with transparent foreground. 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 fe7cffc509 Improved management of online status from non-primary windows.
– The online status of the user should be checked and updated only
when the previous active window and the current active window both have
different sessions.
– Removed MainWindow::activeChangedHook since windows should not
change online status on their own on activating.
– Renamed Application::maybeActiveSession
to Application::maybePrimarySession.
– Added updating of online status on changing of the current account
since this seems to have been missed.
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
John Preston ff3bfd3fba Make links in the invoice description clickable. 2022-06-12 16:51:37 +04:00
John Preston bcfbdcd6ed Fix build on macOS. 2022-06-10 17:38:52 +04:00
John Preston 0e90092d59 Paint phone frame + animate preview transitions. 2022-06-10 17:15:01 +04:00
John Preston 25bd97a12b Fix build with lib_ui updating. 2022-06-10 17:15:01 +04:00
23rd 6ca167679d Added ability to invoke callback for non-primary window controllers. 2022-06-10 14:57:44 +03:00
John Preston f78b9324dc Show videos in premium preview boxes. 2022-06-10 12:05:16 +04:00
John Preston 1b604bed0b Fix bottom shadow in premium settings. 2022-06-10 12:05:16 +04:00
23rd bfe873e91c Provided session controller to AddBotToGroupBoxController. 2022-06-09 08:19:11 +03:00
23rd d034410a3f Fixed icon position of invite links in add members box. 2022-06-09 08:05:11 +03:00
23rd f9df37960b Slightly improved code style in MainWidget. 2022-06-09 07:06:01 +03:00
23rd 43c0197445 Removed Ui::hideLayer from places that can be in non-primary windows. 2022-06-09 07:06:01 +03:00
23rd 1169c5e143 Removed facades from url click handler types. 2022-06-09 06:23:51 +03:00
23rd e25b0e791d Provided window session controller to api functions for bots. 2022-06-09 06:23:51 +03:00
23rd 4add87e7a9 Removed Ui::show from CountryInput. 2022-06-09 06:23:51 +03:00
23rd f0e1498a41 Fixed display of failed peer resolve in corresponding window. 2022-06-09 06:23:51 +03:00
23rd 948ce77a8f Improved deleting peer from non-primary windows. 2022-06-09 04:20:13 +03:00
23rd cc7a4c2772 Removed Ui::showPeerProfile. 2022-06-09 00:45:04 +03:00
23rd 58163ea581 Provided session controller to Profile::GroupMembersWidget. 2022-06-09 00:45:04 +03:00
23rd 37f96534ec Fixed opening of shared media in corresponding window from media viewer. 2022-06-09 00:45:04 +03:00
23rd fe2455dea6 Moved copy link of public user from context menu to button in profile. 2022-06-09 00:45:04 +03:00
John Preston b750908dff Refresh stickers when premium becomes possible. 2022-06-08 19:29:16 +04:00
John Preston e8933decb1 Show sticker / reaction preview over premium gradient. 2022-06-08 19:13:22 +04:00
John Preston 7ba997259c Use sizes like iOS for premium sticker effects. 2022-06-08 19:00:48 +04: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 aaf1383304 Update API scheme on layer 143. 2022-06-08 16:51:31 +04:00
John Preston 2b21ec3299 Fix group call create box window. 2022-06-08 15:21:13 +04:00
John Preston 7828288660 Fix minimized start. 2022-06-08 14:34:46 +04:00
23rd 176f3ea15c Removed simultaneous voice recording. 2022-06-08 11:59:30 +03:00
23rd 7bf9db8644 Fixed logging out with opened non-primary windows. 2022-06-08 11:59:30 +03:00
23rd 873301e7df Fixed handling of requests to open media from non-primary windows. 2022-06-08 11:59:30 +03:00
23rd 16e61ae2b2 Fixed lock by local passcode for non-primary windows. 2022-06-08 11:59:30 +03:00
23rd 9861370b75 Added hotkeys to get next / previous item of search messages in dialogs. 2022-06-08 11:59:30 +03:00
23rd 86cc83b491 Added time zone info to date tooltips in export HTML. 2022-06-08 11:59:30 +03:00
23rd 96bd9ae81c Inserted additional unixtime format to each date field in export JSON. 2022-06-08 11:59:30 +03:00
John Preston 524771529a Don't shows premium section / preview if unavailable. 2022-06-08 11:26:53 +04:00
John Preston 86889cf1ef Don't show premium stickers if premium blocked. 2022-06-08 10:28:45 +04:00
John Preston e925acc622 Don't show premium sticker tooltip if premium blocked. 2022-06-08 09:34:45 +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 654eaa27fd Make premium_purchase_blocked true by default. 2022-06-07 15:53:19 +04:00
23rd 1c13f2587c Fixed display of bottom info in media with overridden edited date. 2022-06-07 13:49:37 +03:00
John Preston a6bc6c877e Add subscribed-to-premium toast. 2022-06-07 12:41:10 +04:00
John Preston 00bea8d1ee Don't show subscribe button with blocked premium. 2022-06-07 11:49:24 +04:00