Commit Graph

116 Commits

Author SHA1 Message Date
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 802373f108 Pass real visible area to chat paint context. 2025-12-29 11:21:23 +04:00
John Preston 28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 9e8ae54821 Update API scheme to layer 214. Start themes. 2025-08-31 20:53:12 +04:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston d1e6150874 Don't suggest userpics to paid-restricted. 2025-03-07 19:03:38 +04:00
John Preston 97ecc57be8 Add choose font settings. 2024-04-23 19:17:42 +04:00
John Preston b39e78a4a9 Reapply "Remove SendMediaReady legacy helper."
This reverts commit 09f07a7a9d.
2024-04-05 09:51:20 +04:00
John Preston 09f07a7a9d Revert "Remove SendMediaReady legacy helper."
This reverts commit 91f8989f70.
2024-04-04 18:36:07 +04:00
John Preston 91f8989f70 Remove SendMediaReady legacy helper. 2024-04-03 11:59:33 +04:00
23rd d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
John Preston 88751896af PremiumPreview/BusinessFeature -> PremiumFeature. 2024-03-08 10:53:59 +04:00
John Preston 7f3ebde252 Implement sending of shortcutted messages. 2024-03-08 10:53:59 +04:00
23rd 09285bc9cd Moved out minimal levels of boosts for channel settings to single place. 2024-03-08 10:53:58 +04:00
John Preston 18ca4a9eeb Add a couple of phrases for group wallpapers. 2024-02-16 12:22:38 +04:00
John Preston 08efa73b2b Allow editing group wallpaper / status / emoji set. 2024-02-15 13:51:40 +04:00
Ilya Fedin 00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
John Preston fd64718502 Allow setting channel wallpaper. 2023-12-22 07:35:02 -04:00
John Preston 28d9330969 Add premium promo section about wallpapers. 2023-11-28 21:55:27 +04:00
John Preston 8c3fa14a75 Allow setting background for both sides. 2023-11-28 21:55:27 +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 f6cb9072d2 Moved AddSkip and AddDivier from Settings namespace to separate module. 2023-11-15 03:30:04 +03:00
John Preston 9561026cd4 Add change color button with color sample. 2023-10-27 12:26:42 +04:00
John Preston 5d335341ab Support server-side colors by index, up to three. 2023-10-27 09:55:09 +04:00
John Preston 04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston ad238108bd Fix background dimming slider initial visibility. 2023-04-24 22:50:36 +04:00
John Preston 81f40586a3 Don't re-apply exactly the same custom chat wallpaper. 2023-04-24 22:47:31 +04:00
John Preston 66e7f1d490 Fix dimming edition for new wallpapers. 2023-04-20 23:05:54 +04:00
John Preston 4617ba5fb9 Add couple of phrases to the langpack. 2023-04-20 23:02:33 +04:00
John Preston 65f54d937f Toggle wallpaper dark mode / edit dimming. 2023-04-20 22:55:42 +04:00
John Preston 0b25d19e3b Allow uploading chat wallpapers from file. 2023-04-19 10:42:01 +04:00
John Preston 352ae5100a Support chat wallpaper set from gallery. 2023-04-18 16:47:31 +04:00
John Preston 9b25973b49 Update chat wallpaper from service message. 2023-04-17 16:36:13 +04:00
John Preston 1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 2e8a03dfd1 Correctly round spoiler animation in ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston ab3d3a449b Remove MTP from requestWallPaper interface. 2022-08-11 09:05:23 +03:00
23rd 629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
John Preston 1aa8029a8a Improve notification preview settings design. 2022-03-08 15:24:02 +04:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston 3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
23rd e1aa08b985 Removed text commands. 2022-01-12 11:54:24 +03:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
John Preston 21ac2b8f3a Don't use MTP* for reply markup data. 2021-10-04 23:47:30 +04:00
John Preston ead695b101 Don't pass wide fake MsgId through MTPMessage. 2021-09-30 15:30:39 +04:00
John Preston 1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04:00