Commit Graph

491 Commits

Author SHA1 Message Date
23rd
dda6b92bec Added initial ability to process non-panel payment forms. 2024-05-30 21:35:07 +04:00
John Preston
d1106e5ae6 Check effects availability in all SendMenu-s. 2024-05-30 21:35:05 +04:00
John Preston
c6d034174b Support separate webview storages. 2024-04-26 08:58:42 +04:00
23rd
01bfa46729 Fixed display of default box for message schedule in correspond window. 2024-04-18 11:57:25 +04:00
John Preston
ea178862d8 Open some telegram.org and Telegram links in IV. 2024-04-04 21:08:19 +04:00
John Preston
36cb28d5cf Respect 'try_instant_view' in webapps. 2024-04-04 18:35:20 +04:00
23rd
d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
John Preston
4975cf2ec1 Implement double-drumroll time picker. 2024-03-08 10:54:00 +04:00
John Preston
7f3ebde252 Implement sending of shortcutted messages. 2024-03-08 10:53:59 +04:00
23rd
ef474f0dc8 Fixed opening of local links from webview bots in appropriate window. 2024-03-08 10:53:58 +04:00
John Preston
7dfb93f7c2 Add some assertions for debugging a crash. 2024-01-25 18:30:21 +04:00
John Preston
c257b75a66 Add poll creation to the attach menu. 2024-01-08 17:35:02 +04:00
Ilya Fedin
9d582040e6 Fix detaching temporaries 2023-12-31 22:03:57 +00:00
Ilya Fedin
00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
John Preston
73690d14f7 Allow clipboard access for attach menu bots. 2023-12-22 12:42:23 -04:00
23rd
acb1a7ccf2 Spread some style entries from basic style. 2023-11-15 04:19:51 +03:00
John Preston
12e164c4df Fix multiline terms checkbox. 2023-11-04 21:24:12 +04:00
John Preston
7808cc6d41 Version 4.11.2: Fix build with Xcode. 2023-11-01 22:57:36 +04:00
John Preston
7d5d086ade Allow messages when accepting miniapp terms. 2023-11-01 21:04:25 +04:00
John Preston
3da44eb5dd Fix attach menu suggested bot launch. 2023-11-01 21:04:25 +04:00
John Preston
4955cdcdce Wait for main menu bot icon to load. 2023-11-01 21:04:25 +04:00
John Preston
16d18b437d Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston
4b6107fa56 Use color index from API. 2023-10-26 14:08:41 +04:00
John Preston
7f9461820b Don't close webview after 'web_app_open_tg_link'. 2023-10-26 14:08:40 +04:00
John Preston
e59a60b3b5 Handle new 'web_app_setup_settings_button' event. 2023-10-26 14:08:40 +04:00
John Preston
6adb3e7200 Fix build on macOS. 2023-09-15 20:42:23 +04:00
John Preston
c12743925e Support ?startapp=value start_param passing. 2023-09-15 15:36:09 +04:00
John Preston
e74021fbc9 Show "Open Bot" button for main menu apps. 2023-09-13 20:51:01 +04:00
John Preston
97d93b23dc Fix direct bot app links. 2023-09-13 08:24:38 +04:00
John Preston
36f1a18b3b Show terms on attach bot direct link app. 2023-09-12 21:01:12 +04:00
John Preston
ef969df86e Improve main menu bots disclaimer acceptance. 2023-09-12 21:01:12 +04:00
John Preston
fbd8abc1c6 Start main menu bots. 2023-09-12 21:01:12 +04:00
John Preston
8adbbe6885 Don't expect itemId from shareContact. 2023-09-05 19:30:29 +04:00
John Preston
9f0a756f71 Version 4.9.5: Fix build with GCC. 2023-09-05 13:10:03 +04:00
John Preston
076aa9452e Unblock the bot before sharing phone number. 2023-09-04 17:36:55 +04:00
John Preston
d77c7a70ab Implement new bot web-app methods. 2023-09-04 17:36:55 +04:00
John Preston
8245660c81 Fix inline result title over-optimized layout.
Fixes #26695.
2023-08-22 15:30:57 +02:00
John Preston
d57d95c53f Pass context chat from one webview to another. 2023-08-15 15:01:34 +02:00
John Preston
aba84a6010 Update API scheme on layer 160: Duration. 2023-07-20 07:20:10 +04:00
John Preston
04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
John Preston
e1350d6813 Fix webview links opening from webview. 2023-05-31 21:46:32 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston
e285b22398 Add "Send when online" to the send button context menu. 2023-04-22 22:26:09 +04:00
Ilya Fedin
b69404635c Get rid of empty unused files 2023-03-10 11:30:43 +04:00
John Preston
de9a757e7a Fix webview switch_inline to the same chat. 2023-03-08 16:59:30 +04:00
John Preston
af51307aa6 Implement opening of t.me/bot/app-s. 2023-03-07 08:42:29 +03:00
John Preston
4fe568cb82 Implement switch_webview and "web_app_switch_inline_query". 2023-03-07 08:42:29 +03:00
John Preston
6834cdb969 Check restrictions in attach menu bots. 2023-02-09 13:15:45 +04:00
John Preston
d51d1939b0 Add search with categories to GIF. 2023-02-02 22:12:31 +04:00
John Preston
4f18535f8d Implement nice emoji categories scrolling. 2023-02-02 22:12:31 +04:00
John Preston
554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston
732bb25666 Fix read from clipboard after bot install. 2023-01-12 12:23:28 +04:00
23rd
90dfdb0e1f Moved NeverFreedPointer to lib_base. 2023-01-09 12:51:32 +03:00
John Preston
7d9b999cb0 Support request_write_access flag in attach bots. 2022-12-26 14:24:07 +04:00
John Preston
c647afec02 Support clipboard reading for attach menu bots. 2022-12-26 14:24:07 +04:00
John Preston
ca0b34dcf0 Update API scheme on layer 151. 2022-12-26 14:24:06 +04:00
John Preston
1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
John Preston
cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
23rd
b2e9c4ab75 Moved Ui::EmptyUserpic to td_ui. 2022-12-04 03:46:44 +03:00
23rd
5df0b08a42 Added support of second colors for empty userpic backgrounds. 2022-12-04 03:46:44 +03:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston
01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston
e6c2aa8021 Support topic choosing in ShareBox. 2022-11-01 19:25:45 +04:00
John Preston
1ac051a812 Implement forwarding to topics. 2022-11-01 19:25:44 +04:00
John Preston
aa5f9467f2 Support attach webview bots in topics. 2022-11-01 19:25:43 +04:00
John Preston
602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04:00
John Preston
7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
23rd
5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
John Preston
58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston
e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston
3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston
2523d6e8d8 Update API scheme to layer 146. 2022-09-12 09:06:26 +04:00
John Preston
d9a6d5f508 Update API scheme on layer 145. 2022-09-02 21:14:32 +04:00
John Preston
c5fa4aae62 Support reaction dropdown based on EmojiListWidget. 2022-09-02 21:14:30 +04:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston
f8e22210e7 Move Webm sticker to UnwrappedMedia. 2022-08-04 13:35:34 +03:00
John Preston
136eaee8d5 Fix crash on data share in attach bots. 2022-07-26 20:12:14 +03:00
John Preston
4ca6af33d4 Support web_app_request_phone attach bot requests. 2022-07-26 20:12:11 +03:00
John Preston
3238cf2b4b Support custom emoji in reply / pinned / forward bars. 2022-07-26 20:12:08 +03:00
John Preston
bcfbdcd6ed Fix build on macOS. 2022-06-10 17:38:52 +04:00
23rd
1572af3a71 Fixed limits in bubble to show more relevant value in server-side boxes. 2022-06-07 08:16:39 +03:00
John Preston
df17f20a47 Support attach bot menu / reload / settings. 2022-06-03 20:07:33 +04:00
John Preston
6454f67e74 Support new attach bot deeplinks. 2022-06-03 00:38:04 +04:00
John Preston
87662de2a6 Support web_app_open_tg_link / web_app_open_invoice. 2022-05-19 17:27:03 +04:00
John Preston
6dedf7c63e Update API scheme to layer 143. 2022-05-19 17:27:02 +04:00
John Preston
dd05fb4d14 Show limit toasts and boxes. 2022-05-19 17:27:02 +04:00
John Preston
8890f263af Update API scheme on layer 142. 2022-05-19 17:27:02 +04:00
John Preston
d4cb56a73d Custom scroll bar in WebKit / Chromium. 2022-04-12 23:01:37 +04:00
John Preston
ea30918d35 Fix build with GCC. 2022-04-07 18:28:58 +04:00
John Preston
94c6793e92 Add bot menu button with webview open support. 2022-04-07 16:31:07 +04:00
John Preston
d9f6a5206e Update API scheme on layer 140. 2022-04-06 16:29:06 +04:00
John Preston
646682b6a0 Add confirmation on first webview open. 2022-04-06 11:53:44 +04:00
John Preston
73c5988e7e Allow opening external pages from attach bots. 2022-04-06 10:55:05 +04:00
John Preston
0374d8caa8 Add "Photo or video" and "Document" attach menu items. 2022-04-05 16:32:02 +04:00
John Preston
aa7143a831 Allow adding Settings::Section-s without changing Type. 2022-04-01 15:53:23 +04:00
John Preston
b1e66279d5 Update API scheme on layer 140. 2022-03-31 13:24:13 +04:00
John Preston
1ffd6d54a0 Don't try to resolve empty username. 2022-03-30 12:23:06 +04:00
John Preston
b38ac32898 Allow removing a bot from attach menu. 2022-03-30 12:23:06 +04:00