Commit Graph

113 Commits

Author SHA1 Message Date
Ilya Fedin d52d82f7e6 Fix GCC 15 -Wrange-loop-construct 2026-03-03 12:16:32 +04:00
John Preston 9316cec95d Rewrite settings_premium to new builder pattern
- Move settings_premium.h/cpp from settings/ to settings/sections/
- Add BuildHelper with kMeta for search indexing
- Index premium features and subscribe button for search
- Keep complex Premium section UI (custom top bar, feature list) as non-indexed
- Update all include paths across the codebase

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 8d30a03f50 Unite settings_privacy_security and settings_privacy_security_builder into settings/sections/settings_privacy_security.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +04:00
John Preston 1e5a93249c Support all required deep links. 2026-01-28 11:55:19 +04:00
John Preston ca4677686a Support most settings/edit and privacy deep links. 2026-01-28 11:55:18 +04:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
23rd b1fc95b1d9 Added decimal separators to credits in charge slider for direct message. 2025-09-29 15:12:50 +03:00
23rd 8db1bf9052 Added ability to share link for monoforum of owned channels. 2025-09-07 08:46:44 +04:00
John Preston 313ae0f86c Remove CenterWrap layout. 2025-08-18 17:55:20 +04:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston a72782e232 Use server provided default stars count for direct. 2025-06-04 18:42:17 +04:00
John Preston 5b15f377cd Improve set direct message price box. 2025-06-04 10:00:23 +04:00
John Preston 5dc50b6d96 Respect price of messages to channels. 2025-06-04 10:00:18 +04:00
John Preston d3f9a84a0a Allow enabling direct messages in channels. 2025-06-04 10:00:14 +04:00
John Preston 6d5d61c842 Label 'Add users' for Remove Fee. 2025-03-14 16:40:50 +04:00
John Preston 827040f487 Use paid messages values from appConfig. 2025-03-07 19:03:38 +04:00
John Preston c6fd8bcb99 Edit paid messages exceptions. 2025-03-07 19:03:38 +04:00
John Preston 7b7e18e752 Support paid sending in ShareBox. 2025-03-07 19:03:38 +04:00
John Preston 45c7829cd8 Track stars-per-message for users and channels. 2025-03-07 19:03:37 +04:00
John Preston f2aa3afbbb Allow editing charge-for-message privacy. 2025-03-07 19:03:37 +04:00
John Preston fa8262cbe9 Version 5.8.
- Updates in Mini Apps platform.
- Chat folders in forward and share boxes.
- Horizontal strip mode for chat folders.
2024-11-17 16:05:22 +04:00
John Preston 572c074c42 Add gifts-to-profile privacy. 2024-11-17 15:08:17 +04:00
John Preston 79b1c0edee Support PeerData::isVerifyCodes() peer type. 2024-10-04 10:06:20 +04:00
23rd c9f7da6e82 Added ability to paint icons in center of QRectF. 2024-09-04 10:33:28 +03:00
John Preston e89f2b55e8 Support arbitrary content in toasts. 2024-08-14 18:17:49 +02:00
John Preston 60805bd916 Version 4.16.5.
- Fix editing privacy for groups and channels invitations.
- Possible fix for the network unresponsiveness after sleep.
- Possible fix for wide range of memory allocator crashes on Linux.
2024-04-08 22:31:07 +04:00
John Preston 7c44cda76e Fix premium users deselection in multi-select field. 2024-04-08 21:56:56 +04:00
John Preston d2164dc0d0 Suggest premiums in privacy. 2024-04-01 22:44:26 +04:00
John Preston 5741bd9cca Support "premiums and ..." privacy editing. 2024-04-01 22:44:25 +04:00
John Preston 68ded1a6e0 Allow newRequirePremium for free if server allows. 2024-04-01 22:44:22 +04:00
John Preston 59663d6661 Track birthdays, edit birthday privacy. 2024-04-01 22:44:21 +04:00
John Preston f85c3c88f7 Add rpl interface to RadiobuttonGroup. 2024-03-08 10:53:58 +04:00
23rd 0fad42b5b4 Added ability to open box for voice restrictions without premium. 2024-03-08 10:53:58 +04:00
John Preston d55dd7dffd Version 4.14.7: Fix build with GCC. 2024-01-18 17:50:37 +04:00
John Preston 3710d61a09 Show "Hide read time" only on non-trivial privacy. 2024-01-17 09:39:05 +04:00
John Preston 16942d487a New "Messages" privacy option and box. 2024-01-17 09:39:05 +04:00
23rd 819020e515 Moved out common default style entries from settings. 2023-11-15 04:20:20 +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
John Preston 2e6abf0bed Version 4.9: Fix build with GCC. 2023-08-15 00:33:18 +02:00
John Preston cc27b6c5c5 Update icons in settings / manage layers. 2023-08-14 22:30:40 +02:00
John Preston 2bc7f465c2 Hide "Close friends" in privacy edit by default. 2023-07-20 07:20:08 +04:00
John Preston 429a3da3e5 Update API scheme to layer 160. 2023-07-20 07:20:07 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston 7ff0659e91 Improve scrolling limits in chat select boxes. 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 3fe83282a8 Slightly improved code style of controllers for privacy settings. 2022-07-26 20:12:11 +03:00
John Preston 32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00