Commit Graph

73 Commits

Author SHA1 Message Date
Ilya Fedin 68ad56db79 Use QtWaylandCompositor for webview embedding on Linux 2022-11-01 19:33:46 +04:00
John Preston f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston f7885da7dd Support additional saved payment methods. 2022-07-26 20:12:14 +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 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 96f480ba41 Fix cancel payment form button style. 2022-05-19 17:27:02 +04:00
John Preston df533f2efe Don't use WebView embed in Windows before 8.1. 2022-04-20 11:43:53 +04:00
John Preston d4cb56a73d Custom scroll bar in WebKit / Chromium. 2022-04-12 23:01:37 +04:00
John Preston d15ff46eb4 Fix webview initialization on GCC. 2022-04-08 23:15:37 +04:00
John Preston 73c5988e7e Allow opening external pages from attach bots. 2022-04-06 10:55:05 +04:00
John Preston 0e75204762 Support native button in bot webview. 2022-04-05 16:31:15 +04:00
23rd 7bebe699f6 Moved special fields to separated folder. 2022-04-01 15:53:57 +04:00
John Preston aed1904b4c Support theming for webview-s (payments, attach). 2022-03-30 12:23:05 +04:00
John Preston 1f2eba9dc9 Fix empty state of Downloads section. 2022-02-27 20:26:52 +03:00
John Preston 1710863231 Update some icons. 2022-02-27 20:26:52 +03:00
John Preston 9c903bacf2 Adjust main settings icons to the mockup. 2022-02-25 14:14:41 +03:00
23rd 0143d22a21 Split qt_adapters to separated files. 2022-01-26 10:33:28 +03:00
23rd 77d1d9bd3a Moved out getting of phone pattern groups from PhoneInput fields. 2021-11-30 17:38:17 +04:00
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
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 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