Commit graph

172 commits

Author SHA1 Message Date
23rd
8d93eb919b Added verified badge to title in panel for web view bots. 2024-10-03 11:55:55 +04:00
John Preston
4a84f9fa00 Allow resizing window of web apps / games. 2024-09-19 12:47:46 +04:00
John Preston
a35092f012 Support second button in web apps. 2024-09-09 13:29:00 +04:00
John Preston
f79d70d112 Use Ui::Text::String in Ui::RoundButton. 2024-08-31 21:48:52 +04:00
23rd
03790f3da0 Removed include directive for ui_utility from rp_widget header. 2024-08-28 15:15:58 +03:00
23rd
ae17acdfd4 Removed include directive for ui_utility from rp_widget header. 2024-08-28 14:38:33 +03:00
23rd
4ee7d46d78 Improved static infinite radial animation in panel of webview bot. 2024-08-21 19:25:58 +03:00
John Preston
3001464f6b Show error on webapp share-to-story. 2024-08-14 18:17:52 +02:00
John Preston
b0fece2fd0 Provide privacy policy in mini-app. 2024-08-14 18:17:52 +02:00
John Preston
a25b2e9700 Show webview error in Iv::Controller. 2024-07-31 17:03:55 +02:00
John Preston
4108debca0 Fix possible crash in web apps. 2024-07-31 17:03:55 +02:00
John Preston
c70866a995 Fix child native window focus. 2024-07-24 16:09:04 +02:00
John Preston
fd982b90db Implement separate instances for web apps. 2024-07-24 13:46:22 +02:00
John Preston
f8b756d447 Improve bot checkout error messages. 2024-07-19 11:58:26 +02:00
John Preston
8a6a749296 Show error on attempt to scan QR in bot app.
Fixes #26886.
2024-07-19 11:58:26 +02:00
John Preston
917d1841c1 Try better webview focusing. 2024-07-19 11:20:54 +02:00
John Preston
6effac7915 Migrate games to AttachWebView. 2024-07-12 08:45:44 +02:00
John Preston
f20475f07e Show forbidden icon on disabled webview button. 2024-07-06 13:31:27 +04:00
John Preston
b648548001 Don't insert "data:image.." after image paste cancel. 2024-07-06 11:08:42 +04:00
John Preston
65f7bdb914 Update API scheme on layer 183. 2024-06-30 21:16:11 +04:00
John Preston
bd49887607 Fix paid media price tag background. 2024-06-30 21:16:11 +04:00
John Preston
d47c5df73d Nice price tag on sending media. 2024-06-30 21:16:08 +04:00
John Preston
a9bd7803e6 Edit price on send, send single paid media. 2024-06-30 21:16:08 +04:00
John Preston
974bf99921 Allow editing spoiler/caption-above in EditCaptionBox. 2024-05-30 21:35:10 +04:00
John Preston
67f7816088 Allow sending photo/video captions above media. 2024-05-30 21:35:10 +04:00
John Preston
f4864cddc9 Fix possible crash in Settings of crashed web-app.
Fixes #27943.
2024-05-24 20:54:10 +04:00
John Preston
2bdc204c47 Fix geometry applying in webview windows. 2024-05-20 14:25:23 +04:00
Ilya Fedin
af4e0178d0 Ensure window flags are set before calling SeparatePanel::setInnerSize
Setting window flags may lead to native window being re-created
2024-05-19 20:30:13 +04:00
John Preston
c6d034174b Support separate webview storages. 2024-04-26 08:58:42 +04:00
John Preston
eaaa704fa4 Check the URL in IV like in attach bots. 2024-04-06 22:59:03 +04:00
John Preston
36cb28d5cf Respect 'try_instant_view' in webapps. 2024-04-04 18:35:20 +04:00
John Preston
9d0457d208 Add "Terms of Use" menu item to all miniapps. 2024-03-24 10:04:54 +04:00
23rd
d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
John Preston
24e9a3ea59 Bot close confirm closes only by Close button. 2024-03-15 20:28:11 +04:00
John Preston
9f7ee3cafd Correctly check webview init success.
Also correctly init recreated webview bottom bar.

Fixes #27481, fixes #27479.
2024-02-16 12:14:13 +04:00
Ilya Fedin
5334096d68 Fix bot webview height with fractional scaling 2024-02-06 10:25:27 +04:00
Ilya Fedin
bb3f8fbbe8 Check whether webview is destructed after Webview::Window::init 2024-02-05 16:22:52 +04:00
John Preston
43eca490a7 Recreate webview on reload request after a crash. 2024-01-17 10:16:12 +04:00
23rd
a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
John Preston
16a2d4ec96 Fix wrong "Webview process crashed." message. 2024-01-04 18:50:47 +04:00
Ilya Fedin
fdef19a009 Ensure temporaries don't detach with range loop 2023-12-31 22:03:57 +00:00
Ilya Fedin
d63ebbe62c Handle webview crash 2023-12-23 19:12:17 +00:00
John Preston
859e41f95a Use webview bots window size like on mobiles. 2023-10-26 14:08:40 +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
0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
John Preston
674bab69f5 Send viewport updates in web-apps. 2023-09-13 09:04:28 +04:00
John Preston
ef969df86e Improve main menu bots disclaimer acceptance. 2023-09-12 21:01:12 +04:00
John Preston
229f7a2c15 Handle background / title colors in web-apps. 2023-09-12 21:01:12 +04:00