Commit Graph

153 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
23rd bb3f54efcb Fixed stacking of tabbed panel after successful sent gif with caption. 2026-01-02 17:46:55 +03: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
John Preston 68c0aa7fb9 Fix quadratic loop on many same custom emoji. 2025-11-18 17:57:00 +04:00
John Preston 86cffae001 Remove unused function. 2025-08-11 10:29:11 +04:00
John Preston b4272c306d Get rid of registerImageEmoji/registerInternalEmoji. 2025-08-04 22:27:08 +04:00
John Preston 2a50d0856b Show correct price in resale box. 2025-07-31 22:20:18 +04:00
John Preston 23c0fcada6 Show TON icon in resale gifts. 2025-07-31 22:20:18 +04:00
John Preston a7fe004344 Load collections, request gifts in them. 2025-07-25 10:21:46 +04:00
Sean Wei 5a6a5fd4d1 Change const T&& parameters to T&& to enable proper move semantics
Previously some constructors/functions used `const T&&`, which prevents
calling the move constructor. This commit removes the `const` qualifier
so that `std::move` actually performs a move.
2025-06-27 20:50:08 +04:00
John Preston c9fb97cd7c Simplify marked text context logic. 2025-03-07 19:03:40 +04:00
John Preston 7d2878d81c Support gifting premium for stars. 2025-03-07 19:03:39 +04:00
John Preston c25adf8b57 Use a custom animated emoji for collectible status. 2025-01-22 22:13:27 +04:00
John Preston fecddb5203 Allow wearing collectibles from emoji status. 2025-01-22 22:13:26 +04:00
John Preston 51213b499f Start showing gifts from stories. 2025-01-22 22:13:25 +04:00
John Preston 06341efe0d Allow disabling animations in folder emoji. 2024-12-31 15:41:13 +04:00
John Preston acfd92e2e6 Display emoji correctly in folder tags. 2024-12-31 13:12:16 +04:00
John Preston 9d74d93ed7 Fix some warnings from PVS-Studio.
Fixes #28667.

Some warnings fixed detailed in this post:
https://pvs-studio.com/en/blog/posts/cpp/1186/
2024-11-18 12:50:36 +04:00
John Preston 4198203a7f Implement emoji status set from miniapps. 2024-11-17 15:08:15 +04:00
John Preston 39fb0a5b66 Remove custom PeerData::isVerifyCodes() userpic. 2024-10-04 10:06:21 +04:00
John Preston 79b1c0edee Support PeerData::isVerifyCodes() peer type. 2024-10-04 10:06:20 +04:00
23rd 05fa2c381a Added initial ability to use credits icon as emoji. 2024-08-14 18:17:50 +02:00
John Preston e89f2b55e8 Support arbitrary content in toasts. 2024-08-14 18:17:49 +02:00
23rd 3cc92e01fe Added ability to force request favorite stickers. 2024-07-31 16:50:04 +03:00
23rd 06f2b23687 Added badge to header for owned sticker sets in stickers list. 2024-07-31 13:05:29 +03:00
John Preston 1ce49df123 Fix saved / replies userpics in chats search. 2024-05-30 21:35:06 +04:00
John Preston 279db771cf Support dynamic search tabs with emoji. 2024-05-30 21:35:06 +04:00
John Preston 787cf7853e Implement simple chats search bar. 2024-05-30 21:35:06 +04:00
John Preston 9c77346f36 Fix build with Xcode and GCC. 2024-05-02 14:11:20 +04:00
John Preston bb6fd4bc4d Update scheme, new sticker categories. 2024-05-01 12:47:20 +04:00
John Preston da7a796edb Add session->appConfig() shortcut. 2024-04-01 22:44:22 +04:00
John Preston 85554d19e4 Show chat intro in an empty chat. 2024-04-01 22:44:21 +04:00
John Preston 90e572c8b1 Improve mixed stickerpacks support. 2024-04-01 22:44:20 +04:00
John Preston b1795f8c5a Update API scheme to layer 177. 2024-04-01 22:44:20 +04:00
John Preston 38e082422a Show story sender / repost userpic under story source. 2024-02-15 13:51:41 +04:00
John Preston 0fd8ceca6b Use Ui::DynamicImage and ui/dynamic_thumbnails module. 2024-02-15 13:51:41 +04:00
John Preston 571f1a5179 Implement free megagroup emoji set. 2024-02-15 13:51:40 +04:00
John Preston bb31357c58 More strict check for custom emoji dimensions. 2024-01-04 17:25:32 +04:00
Ilya Fedin 00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
John Preston 941126ad69 Allow setting channel emoji status. 2023-12-22 07:35:02 -04:00
John Preston d6c3760646 Improve external reply icons paddings. 2023-11-04 21:24:21 +04:00
John Preston 3b40bc6297 Show full reply names with icons. 2023-11-04 21:24:14 +04:00
John Preston cb6698cf4a Implement background emoji selector. 2023-10-28 18:06:17 +04:00
23rd 98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
John Preston 30334b6c74 Attempt to fix crash in story preloading. 2023-07-25 20:50:21 +04:00
John Preston f8e8155452 Fix possible crash with large UI scale values. 2023-07-21 14:42:26 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston fec80c0c64 Support text-color-ed emoji in userpic editor. 2023-02-07 20:43:50 +04:00
John Preston 21f3a7b07f Find emoji by words for stickers search. 2023-02-02 22:12:31 +04:00