Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
John Preston
4ef550da9b
Hide webview while showing a box in payments.
2021-09-30 14:53:18 +04:00
John Preston
19ce1edc16
Use base::SafeRound instead of std::round.
...
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b
, 8f5830d520
.
Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
23rd
900a7d0b2b
Appended references to const auto types in loop to prevent copying.
...
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
23rd
558e1d96fd
Simplified extracting of calling code from phone number.
2021-08-30 20:32:56 +03:00
23rd
86aaa9673d
Moved countries to singleton.
2021-08-29 21:01:10 +03:00
23rd
df02bbb0a3
Moved countries from Data to Countries namespace.
2021-08-29 20:39:43 +03:00
Nicholas Guriev
840bb447ba
Mention some missing includes in payments/ subdirectory
2021-08-12 08:51:45 +03:00
23rd
cbad2469db
Moved MTP cloud password from ApiWrap to Api::CloudPassword.
2021-08-10 15:46:18 +03:00
23rd
024bb5e54f
Moved App::formatPhone to td_ui.
2021-07-26 17:38:51 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
John Preston
8608d8aa4d
Crash Fix: Destroy WebView before the container.
2021-06-29 11:07:47 +03:00
John Preston
d984c5924d
Fix crash in invoice view.
...
Fixes #16210 .
2021-04-27 22:18:35 +04:00
John Preston
9fb72e1c3e
Add 'MM / YY' and 'CVC' to langpack.
2021-04-27 14:15:25 +04:00
John Preston
68e35b232d
Fix updating langs in payments form buttons.
2021-04-26 10:51:10 +04:00
John Preston
c242a61e8c
Fix money input field limit without decimal separator.
2021-04-19 11:26:04 +04:00
John Preston
bee6a1dc06
Second click on Tips button resets tips to $0.
2021-04-13 19:04:27 +04:00
John Preston
34c5ce16d0
Fix contract violation in shutdown with webview.
2021-04-13 16:52:40 +04:00
John Preston
e52f947f98
Improve webview progress style.
2021-04-13 16:38:38 +04:00
John Preston
40e46e8480
Hide webview progress instantly.
2021-04-13 15:37:25 +04:00
John Preston
73c63cb2c7
Hide payments webview progress when destroying.
2021-04-13 14:05:31 +04:00
John Preston
0ead0879d7
Support blocking progress in payment panel.
2021-04-12 19:24:36 +04:00
John Preston
35ff621b5b
Show toast on successfull payment.
2021-04-12 12:50:31 +04:00
John Preston
a100048cce
Fix build on macOS and Linux.
2021-04-12 10:48:17 +04:00
John Preston
71c4cc9623
Pass theme params to payments.GetPaymentForm.
2021-04-12 10:48:16 +04:00
John Preston
61d0cc38b0
Add native card input support through smartglocal.
2021-04-08 12:49:28 +04:00
John Preston
8c7217ad56
Fix build on macOS.
2021-04-06 18:53:03 +04:00
John Preston
d40687adb8
Remove testing code.
2021-04-06 18:41:16 +04:00
John Preston
ee098d00ad
Add better error reporting to payments.
2021-04-06 18:41:16 +04:00
John Preston
e106bd143e
Add a warning once per bot on payment.
2021-04-06 18:41:16 +04:00
John Preston
62684ab9bb
Warn before closing payment panel.
2021-04-06 18:41:16 +04:00
John Preston
b6c86fd298
Add nice tips buttons.
2021-04-06 18:41:16 +04:00
John Preston
b1c122a260
Add ' (Test)' to checkout panel titles.
2021-04-06 18:41:16 +04:00
John Preston
bdffdea358
Always jump to next field in payments.
2021-04-06 18:41:16 +04:00
John Preston
491ec2db7f
Always show footer in webview in payments.
2021-04-06 18:41:16 +04:00
John Preston
cd4a9d7c16
Show 'phone/email passed to provider' in payments.
2021-04-06 18:41:16 +04:00
John Preston
7cbe158d00
Update API scheme.
2021-04-06 18:41:16 +04:00
John Preston
1cc1f380d0
Implement a nice money input field.
2021-04-06 18:41:16 +04:00
John Preston
0188719d04
Fix payments with zero tips.
2021-04-06 18:41:16 +04:00
John Preston
889e0dc035
Fix build for macOS / Linux.
2021-04-06 18:41:16 +04:00
John Preston
663db64688
Allow saving and using saved credentials.
2021-04-06 18:41:16 +04:00
John Preston
2e58993181
Use title/description from paymentReceipt.
2021-04-06 18:41:16 +04:00
John Preston
f09a468a7c
Improve design of payment bottom buttons.
2021-04-06 18:41:16 +04:00
John Preston
b08d9fe0b8
Reactivate window on payment close.
2021-04-06 18:41:16 +04:00
John Preston
619f70ab22
Improve design of shipping option selection.
2021-04-06 18:41:16 +04:00
John Preston
8cac76931e
Support adding tips in payments.
2021-04-06 18:41:15 +04:00
John Preston
00c915e58d
Add support for inline invoices.
2021-04-06 18:41:15 +04:00
John Preston
3ec3f6484f
Update API scheme to layer 128.
2021-04-06 18:41:15 +04:00
John Preston
c7a1771dec
Simple receipt viewing.
2021-04-06 18:41:15 +04:00
John Preston
1050447eed
Add phone format and validation in payments.
2021-04-06 18:41:15 +04:00