Commit Graph

128 Commits

Author SHA1 Message Date
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
Ilya Fedin d52cabb386 Update to the new WebKitGTK 6.0 API 2023-04-02 17:19:15 +04:00
John Preston c327fa0d45 Fix the card validator. 2023-02-21 17:10:48 +04:00
Joe Kappus a8decf154f Fix build with GCC12 2023-02-09 11:18:02 +04:00
John Preston ed9ba07a32 Disable local card number validation.
Some cards are reported invalid there that are valid.
2023-02-07 20:18:18 +04:00
John Preston afd717b36e Ease local card expiry date check. 2023-02-07 19:13:07 +04:00
John Preston 1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
Ilya Fedin 68ad56db79 Use QtWaylandCompositor for webview embedding on Linux 2022-11-01 19:33:46 +04:00
23rd 5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
John Preston f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston f0f7318978 Better saved credentials processing. 2022-08-15 12:20:17 +03:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston f7885da7dd Support additional saved payment methods. 2022-07-26 20:12:14 +03:00
John Preston 076d5c756a Fix build with Xcode and GCC. 2022-07-26 20:12:13 +03:00
John Preston b0fab8c987 Show featured custom sets in the panel. 2022-07-26 20:12:13 +03:00
John Preston ff55918da0 Parse link entities into Data::Invoice. 2022-07-26 20:12:13 +03:00
John Preston bb251627a9 Support additional payment methods. 2022-07-26 20:12:12 +03:00
John Preston 9033d49d76 Version 4.0.
- Premium: Send media and files each up to 4 GB in size.
- Premium: Download media and files at the fastest possible speed,
with no limits.
- Premium: Double most of the limits in the app.
- Premium: Get a new button next to any voice message
to generate a transcript of its audio.
- Premium: React with even more emoji,
including :clown: and 😍.
- Premium: Send unique stickers with additional effects,
updated monthly.
- Premium: Set a default chat folder
or enable tools to auto-archive and hide new chats.
- Premium: Subscribers have a badge next to their name,
showing they help support Telegram.
- Premium: Show off your profile video
that will be animated for everyone in chats and the chat list.
- Premium: Sponsored Messages that are sometimes shown
in public channels will no longer appear.
- Enable join requests for your public groups,
no invite links required.
- Users who open the group will see an Apply to Join Group button.
- Once approved by an admin,
users will be able to participate in the chat.
- Bots that are integrated into the attachment menu
can be programmed to work in groups and channels.
2022-06-21 02:04:35 +04:00
John Preston 66e9c5ef16 Allow HiddenUrlClickHandler to work in a payment form. 2022-06-20 17:14:14 +04:00
John Preston 35142476b2 Beta version 3.7.6: Fix card expire date validation. 2022-06-16 18:30:12 +04:00
John Preston ff3bfd3fba Make links in the invoice description clickable. 2022-06-12 16:51:37 +04:00
John Preston b7259615a7 Request terms acceptance for recurring payments. 2022-06-01 11:59:14 +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 26c99cea7c Show all premium limits boxes. 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 d15b299e32 Fill payment form information for invoice links. 2022-05-19 17:27:02 +04:00
John Preston 96f480ba41 Fix cancel payment form button style. 2022-05-19 17:27:02 +04:00