Commit Graph

177 Commits

Author SHA1 Message Date
John Preston 8e535a2a60 Drop the rich-messages-editor experimental flag 2026-07-02 20:40:19 +04:00
John Preston 2779b2a68d Mark premium actions better. 2026-07-02 17:49:08 +04:00
John Preston b72f7a1603 Hide rich messages editor behind an option. 2026-07-02 17:49:08 +04:00
John Preston 1743eb071e Gate rich-message premium only at entry and send 2026-07-02 17:49:06 +04:00
John Preston 938ec73600 Fix attach submenu in editor. 2026-07-02 17:49:06 +04:00
John Preston f6137ced1b Switch between composing and editing rich messages 2026-07-02 17:49:06 +04:00
John Preston 673d3d37dd Revert "Disable IV editor for now."
This reverts commit 9a234182e1.
2026-07-02 17:48:45 +04:00
John Preston 9a234182e1 Disable IV editor for now. 2026-06-09 14:28:13 +04:00
John Preston 051763ebf6 Initial attempt to send articles. 2026-06-09 14:28:10 +04:00
John Preston 093562aac4 Initial structure for future editor. 2026-06-09 14:28:10 +04:00
John Preston 2a69915d95 Allow scheduling checklists. 2026-06-09 14:28:10 +04:00
John Preston d7ea6ed174 Support same_origin in webapps. 2026-06-09 14:28:10 +04:00
John Preston a2b18e3400 Use MakeWrappedEmoji which forwards nullptr-s. 2026-06-09 14:27:37 +04:00
John Preston 5c5bacaf41 Update API scheme to layer 226. Guard-bots. 2026-06-09 14:27:37 +04:00
John Preston 436f929e79 Suggest all send options in topics. 2026-05-26 13:05:26 +04:00
John Preston ec12715527 Don't pass badge as constructed widget. 2026-05-25 18:23:18 +04:00
John Preston f599e52e66 Improve design of separate webapp. 2026-05-19 12:49:07 +04:00
John Preston 0628b23226 Add two force-confirmation cases to hidden urls. 2026-05-01 00:14:26 +07:00
John Preston b4b3446135 Add loading draft streaming animation. 2026-04-10 15:33:01 +07:00
23rd d5f4c5366c [poll-create] Changed default enabled settings. 2026-03-30 10:19:14 +03:00
John Preston d455d6ee32 Improve managed bot creation. 2026-03-25 13:08:50 +07:00
John Preston 358a9f87a1 Initial support for managed bot creation. 2026-03-25 13:08:50 +07:00
23rd 15be845421 Blocked internal oauth links from inside the app.
Related commit: cb827406ca.
2026-02-28 19:07:11 +04:00
John Preston f4dec97178 Support icons in native bot webview buttons. 2026-02-28 19:07:09 +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
23rd 1f072631e5 Fixed crash when forward message from web bot to forum topic. 2026-01-26 11:38:11 +03:00
23rd cd065beb0c Replaced ItemBase::setClickedCallback with setActionTriggered. 2026-01-09 22:49:23 +03:00
23rd 9d09a637fe Slightly simplified resize handler for menu items. 2026-01-06 08:30:08 +03:00
23rd b958e0a275 Replaced generic widget-based parent with explicit Menu class in items. 2026-01-06 07:21:15 +03:00
John Preston 28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
John Preston 629158fedb Fix crash in bad attach bots parsing. 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 8b23457373 Fixed display of verified icon in box from web bot preview.
Regression was introduced in e7fa330215.
2025-11-26 05:30:38 +03:00
23rd 69403e7967 Fixed display of verified icon in web view for bots.
Regression was introduced in e7fa330215.
2025-11-14 12:25:17 +03:00
23rd e7fa330215 Split verified check icon. 2025-10-28 13:53:41 +03:00
Sv. Lockal acad1d4175 Fix compilation with Clang-21 + libstdc++-16
.emplace() can only be used on constructible objects, while private
nested struct is not considered as constructible due to access control.

Closes #29939

Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
2025-10-24 07:15:19 +04:00
John Preston 313ae0f86c Remove CenterWrap layout. 2025-08-18 17:55:20 +04:00
23rd 707af8a295 Got rid Ui::CreateLabelWithCustomEmoji. 2025-08-17 14:47:49 +03:00
John Preston b2fb2d5821 Attempt to fix the naturalWidth feature. 2025-08-13 11:18:34 +04:00
John Preston dcac27e072 Make sure colors are ready for webview. 2025-07-23 11:41:03 +04:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston ccb8c43961 Support age verification for sensitive media. 2025-07-23 11:40:37 +04:00
John Preston b0971601b1 Add distinct item for Poll in menu. 2025-07-02 11:15:48 +04:00
John Preston 4840a9094b Check amounts of stars/TON. 2025-06-27 21:29:35 +04:00
John Preston 7e5a29a5cc PoC suggesting posts to channels. 2025-06-27 21:29:34 +04:00
John Preston bf217bf7aa Check premium for todo lists actions. 2025-06-27 21:29:33 +04:00
John Preston 5666e84d92 Add ability to create todo lists. 2025-06-27 21:29:33 +04:00
John Preston 7f7b764f7b Allow ton:// links in webapps. 2025-06-04 10:00:24 +04:00
John Preston 59abfcbd6d Support "Device Storage" web app feature. 2025-05-01 11:13:20 +04:00