527 Commits

Author SHA1 Message Date
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
John Preston
ad300f5eae Customize DividerBar/DividerLabel styles. 2025-11-07 16:38:02 +04: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
d60bfa238f Merge TWidget* into Ui::RpWidget*. 2025-08-11 13:55:16 +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
dfc1ec3ccf Support shared media / pins for sublists. 2025-06-04 10:00:23 +04:00
23rd
b45a696b5d Fixed build of macOS on Github CI. 2025-05-17 09:22:12 +03:00
John Preston
59abfcbd6d Support "Device Storage" web app feature. 2025-05-01 11:13:20 +04:00
23rd
9ad1d1c25d Fixed some unused-but-set-variable warnings. 2025-05-01 11:13:00 +04:00
John Preston
c9fb97cd7c Simplify marked text context logic. 2025-03-07 19:03:40 +04:00
John Preston
fe2df96953 Improve paid peer-box multi-send. 2025-03-07 19:03:38 +04:00
John Preston
ee9d0cfd99 Update API scheme, disable scheduled paid. 2025-03-07 19:03:38 +04:00
John Preston
37dd648686 Implement paid location sending. 2025-03-07 19:03:38 +04:00
John Preston
93a590774e Send paid stickers/gifs/inline-results. 2025-03-07 19:03:38 +04:00
John Preston
e302f328f7 Don't cut confirming emoji status. 2025-03-07 19:03:37 +04:00
John Preston
bbc14ba74f Allow sending paid messages. 2025-03-07 19:03:37 +04:00
John Preston
d0132c0f7b Update API scheme to layer 198. 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
5f10c1875c Ask for boosts to unlock group restrictions. 2025-01-06 21:42:23 +04:00
23rd
c3f354826d Fixed text color of custom icon in some phrases with links. 2024-12-18 15:01:57 +03:00
John Preston
e92270a9ab Add "View Discussion" button to third column. 2024-12-17 21:13:29 +04:00
John Preston
10f1ae152d Fix crash in sending games from inline bots.
Regression was introduced in 2d1fb0562d.
2024-12-17 21:13:29 +04:00
John Preston
824237deb3 Nice starref link box. 2024-12-04 13:51:19 +04:00
John Preston
51ddfbc340 Update API scheme to layer 195. 2024-12-04 13:51:18 +04:00
John Preston
b347308137 Show bot app name in title. 2024-11-29 20:18:31 +04:00
John Preston
03b6e2df17 Don't confirm each bot-url webapp open. 2024-11-23 09:37:26 +04:00
John Preston
9532a2e3da Fix emoji status set cancel.
Fixes #28674.
Fixes https://bugs.telegram.org/c/45691.
2024-11-21 10:01:31 +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
7552328cdd Multi-select in mini app send prepared. 2024-11-17 15:08:17 +04:00
John Preston
d0911b6a45 Send to buy premium from miniapps emoji status. 2024-11-17 15:08:16 +04:00
John Preston
06b85442f8 Fix miniapp downloads in fullscreen. 2024-11-17 15:08:16 +04:00
John Preston
338122793c Implement bot downloads list UI. 2024-11-17 15:08:16 +04:00
John Preston
ef521624a0 Check file by server before downloading. 2024-11-17 15:08:16 +04:00