Commit Graph

54 Commits

Author SHA1 Message Date
23rd 0fad42b5b4 Added ability to open box for voice restrictions without premium. 2024-03-08 10:53:58 +04:00
John Preston 3710d61a09 Show "Hide read time" only on non-trivial privacy. 2024-01-17 09:39:05 +04:00
John Preston e63d573414 Proof-of-concept last seen hidden. 2024-01-17 09:39:04 +04:00
John Preston ca25ad57b1 Update API scheme to layer 172. 2024-01-17 09:39:04 +04:00
John Preston cc27b6c5c5 Update icons in settings / manage layers. 2023-08-14 22:30:40 +02:00
John Preston e90642f3a0 Add bio privacy section. 2023-07-20 07:20:09 +04:00
John Preston 7684dbc701 Allow "Nobody" in group/channel invites privacy. 2023-04-11 19:17:38 +04:00
23rd 4c181b6d08 Added initial implementation of fallback photo management in settings. 2022-12-26 14:24:07 +04:00
23rd e568f7ab01 Added ability to restrict voice messages in conversations for everyone. 2022-08-16 09:38:19 +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 1349989494 Moved settings of blocked peers to section. 2022-05-03 04:25:35 +03:00
John Preston 616d099c07 Copy t.me/+phonenumber link from Phone Number Privacy. 2022-03-01 15:30:55 +03:00
23rd d5a44a2ba4 Removed mutable lambdas from controller of privacy settings. 2022-02-28 08:08:32 +03:00
John Preston 6daa267329 Adjust privacy edit boxes to the mockup. 2022-02-25 14:14:42 +03:00
John Preston ab58aa020e Allow many custom elements in PeerListRow. 2021-10-29 18:31:06 +04:00
John Preston beff635e45 Colorize bubbles according to a custom chat theme. 2021-08-30 20:32:57 +03:00
23rd 0ae260c6e1 Moved MTP blocked peers from ApiWrap to Api::BlockedPeers. 2021-08-10 15:46:18 +03:00
23rd 5bd73bab9b Moved user privacy from ApiWrap to Api::UserPrivacy. 2021-08-10 15:46:18 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
John Preston ee43027bea Remove some usages of App::main(). 2020-06-23 21:53:39 +04:00
John Preston e943264823 Pass MTP::Instance to MTP::Sender. 2019-11-29 15:36:05 +03:00
John Preston 405ccb8580 Add editing of AddedByPhone privacy. 2019-08-29 11:44:03 +03:00
John Preston bacaf805b5 Pass SessionNavigation to some boxes. 2019-07-25 20:55:11 +02:00
John Preston 137fa0378c Remove some more Auth() calls. 2019-07-24 16:00:30 +02:00
John Preston 87fc066e67 Use tr:: instead of lang(). 2019-06-21 11:06:51 +02:00
John Preston d1d98c3bb1 Use tr:: instead of langFactory in box titles. 2019-06-21 11:06:50 +02:00
John Preston 7af0dd105e Use tr:: instead of Lang::Viewer. 2019-06-21 11:06:49 +02:00
John Preston 8660f976a9 Add phone number privacy.
Also move calls peer-to-peer privacy inside calls privacy.
2019-05-27 15:09:15 +02:00
John Preston 7ee16ba45c Clear hidden animated stickers. 2019-05-27 14:11:26 +02:00
John Preston 8c6e72b21a Hide Nobody option from profile photo privacy. 2019-03-25 11:57:04 +04:00
John Preston b972da059a Show explaining preview of forwards privacy. 2019-03-24 12:12:42 +04:00
John Preston 81862215b4 Add forwards and profile photo privacy settings. 2019-03-24 12:12:42 +04:00
John Preston 61add763ae Restart instead of Unblock for bots. 2018-12-04 15:46:07 +04:00
John Preston 123523ef62 Separate some lang phrases. 2018-11-20 19:38:39 +04:00
John Preston 8d27d8efcf Use cloud-based settings for p2p in calls. 2018-11-16 20:17:58 +04:00
John Preston 9388e154cf Improve edit privacy box design.
Also move calls peer-to-peer settings to EditPrivacyBox.
2018-09-19 19:22:15 +03:00
John Preston 2f408cd773 Remove old settings. 2018-09-19 19:22:14 +03:00
John Preston 4f16ad6757 Move old settings to old_settings. 2018-09-19 19:22:12 +03:00
John Preston dd81f5d59f Replace base::lambda with shorter term.
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston ea7441ae77 Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
John Preston b3da99c302 Replace gsl::not_null<T*> with just not_null<T*>. 2017-08-30 19:15:41 +03:00
John Preston adcecaa195 Make search in restricted/blocked box paginated. 2017-06-29 11:40:17 +03:00
John Preston 7fdac9cd94 Add restricted users box like kicked users box.
Also allow server-side search inside restricted users list.
Also allow server-side search inside kicked users list.
Also allow PeerListController to work not only in PeerListBox.
2017-06-29 11:40:14 +03:00
John Preston a3252c13d7 Edit phone calls privacy in Settings. 2017-05-09 23:46:23 +03:00
John Preston e9ec09b91a Add MTP::Sender to replace RPCSender some day.
Also use c++1z language standard in Xcode build.
Also treat warnings as errors.
2017-03-23 14:37:38 +03:00
John Preston a5df46f381 Improve EditPrivacyBox layout.
Also fix incorrect killTimer() calls in DiscreteSlider.
2017-03-19 11:32:24 +03:00
John Preston 7546245213 Show warning when user edits last seen first time. 2017-03-18 12:49:48 +03:00
John Preston fc77b0a51c Save privacy in ApiWrap. Handle privacy updates. 2017-03-18 12:49:47 +03:00