Commit graph

154 commits

Author SHA1 Message Date
John Preston
f8b756d447 Improve bot checkout error messages. 2024-07-19 11:58:26 +02:00
John Preston
5fdaa6b91f Record bareMsgId in CreditsHistoryEntry. 2024-06-30 21:16:08 +04:00
John Preston
479b63c33a Customize pay-by-stars box for paid 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
501cae2200 Change InputField::font to InputField::style in styles. 2024-06-15 20:56:24 +04:00
23rd
cd7507fb23 Respected accessibility of premium for credits purchasing. 2024-05-30 21:35:10 +04:00
23rd
9a5923676a Added posting of payment event to webview bot after credits sending. 2024-05-30 21:35:09 +04:00
23rd
0bd780b20f Added fireworks effect on success credit sending. 2024-05-30 21:35:08 +04:00
23rd
7d75c25214 Added box for small balance of credits. 2024-05-30 21:35:08 +04:00
23rd
3c246e1e92 Split functions for credits settings. 2024-05-30 21:35:08 +04:00
23rd
58da617e3f Added description and optional photo to credits receipts. 2024-05-30 21:35:08 +04:00
23rd
c27c567225 Added initial support for non-panel credits receipts. 2024-05-30 21:35:08 +04:00
23rd
e9fb580ba4 Moved out credits currency to single place. 2024-05-30 21:35:08 +04:00
23rd
d73313479b Partly reverted "Processed payments form with API scheme on layer 181.". 2024-05-30 21:35:08 +04:00
23rd
dda6b92bec Added initial ability to process non-panel payment forms. 2024-05-30 21:35:07 +04:00
23rd
f08ff92470 Added initial ability to provide data for non-panel payment forms. 2024-05-30 21:35:07 +04:00
John Preston
5ee2bca616 Update API scheme on layer 181. 2024-05-30 21:35:07 +04:00
23rd
174fb62c32 Fixed purchases of credits. 2024-05-30 21:35:07 +04:00
23rd
9b11b95c5b Added api support of invoice payments for credits. 2024-05-30 21:35:06 +04:00
23rd
ac2f35f12b Processed payments form with API scheme on layer 181. 2024-05-30 21:35:06 +04:00
John Preston
39e03c3ca7 Update API scheme to layer181. 2024-05-30 21:35:06 +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
23rd
d1be7c1ff7 Simplified management of PasscodeBox within customCheckCallback. 2024-04-15 11:20:30 +04:00
23rd
d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
Ilya Fedin
bb3f8fbbe8 Check whether webview is destructed after Webview::Window::init 2024-02-05 16:22:52 +04:00
John Preston
893e14cc39 Fix payment field values formatting.
Regression was introduced in e6b9a07163.

Fixes #27318.
2024-01-08 17:34:08 +04:00
John Preston
16a2d4ec96 Fix wrong "Webview process crashed." message. 2024-01-04 18:50:47 +04:00
Ilya Fedin
f3bda59019 Replace QString::mid with base::StringViewMid where QStringView is accepted 2023-12-31 22:03:57 +00:00
Ilya Fedin
29646707a1 QString::arg usage optimization 2023-12-31 22:03:57 +00:00
Ilya Fedin
e6b9a07163 Instantiate QRegularExpression instances statically 2023-12-31 22:03:57 +00:00
Ilya Fedin
00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin
d63ebbe62c Handle webview crash 2023-12-23 19:12:17 +00:00
John Preston
1d345299f5 Allow smartglocal to customize tokenize url. 2023-12-22 20:52:11 -04:00
John Preston
e135f8954f Update API scheme to layer 168. Giveaways. 2023-12-16 20:25:02 +00:00
23rd
f6cb9072d2 Moved AddSkip and AddDivier from Settings namespace to separate module. 2023-11-15 03:30:04 +03:00
23rd
3522d9c62e Added API support for prepaid giveaways. 2023-11-09 14:18:26 +03:00
John Preston
56ad825693 Attempt to fix build on Clang. 2023-11-04 21:24:21 +04:00
John Preston
0926bb1288 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston
b08869abdb Support giveaway message layout. 2023-10-26 14:08:40 +04:00
John Preston
859e41f95a Use webview bots window size like on mobiles. 2023-10-26 14:08:40 +04:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
John Preston
d5b429e910 Update API scheme to layer 164. 2023-09-22 09:43:31 +04:00
John Preston
229f7a2c15 Handle background / title colors in web-apps. 2023-09-12 21:01:12 +04:00
John Preston
fbd8abc1c6 Start main menu bots. 2023-09-12 21:01:12 +04:00
23rd
98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
John Preston
311691a3bc Use FlatLabel::textMaxWidth. 2023-08-17 13:54:53 +02:00
John Preston
2fb7bdc803 Skip refocus InputField::Inner if field unfocused.
I hope this fixes #26223.
2023-05-24 21:22:26 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00