Commit Graph

4132 Commits

Author SHA1 Message Date
John Preston c85fd368fe Possible fix of travis build. 2018-06-06 15:16:21 +03:00
John Preston 16f3ca87f5 Allow boxes that don't hide by escape / click. 2018-06-06 14:54:00 +03:00
John Preston e47d110f28 Fix cascade popup menus in Linux.
Fixes #4749.
2018-06-06 14:29:40 +03:00
John Preston 20b67ee000 Fix build for GCC. 2018-06-06 13:59:53 +03:00
John Preston d8a4ede4b5 Fix incoming calls.
Regression was introduced in 1392e05ab1.

Fixes #4804.
2018-06-06 13:28:43 +03:00
John Preston 5ed15cd0b3 Fix EditColorBox.
Regression was introduced in bfc748cd31.

Fixes #4803.
2018-06-06 13:04:37 +03:00
John Preston 87c07a13a1 Display sticker date on mouse over.
Fixes #3636.
2018-06-06 12:46:17 +03:00
John Preston 73ce722147 Use separate month lang keys with and without day.
Fixes #4797.
2018-06-06 12:38:44 +03:00
John Preston 233be5ec13 Fix crash in web request destructors. 2018-06-06 12:32:38 +03:00
John Preston 50b78034a5 Activate window if second instance is launched.
Regression was introduced in 275ec3e679.
2018-06-06 12:06:07 +03:00
John Preston 777bf7d8d9 Fix video seeking.
Regression was introduced in d0e854e9d8.

Each time you hide() a widget its mousePress state is reset and
mouseMoveEvent() / mouseReleaseEvent() handlers are never called.

So you can't toggle (hide + show) widgets that are mouse-pressed.

Fixes #4802.
2018-06-06 11:58:07 +03:00
John Preston 4a4544c883 Update libtgvoip. 2018-06-05 21:52:43 +03:00
John Preston d03d699331 Improve base::optional, add emplace(). 2018-06-05 21:51:05 +03:00
John Preston d16cbbf279 Set window inner focus async. Fixes #4560. 2018-06-05 21:51:05 +03:00
John Preston 72f95b984f Replace cDebug() with Logs::DebugEnabled(). 2018-06-05 21:51:05 +03:00
John Preston 9055b33e92 Alpha version 1.3.1: Fix build for GCC. 2018-06-05 00:33:37 +03:00
John Preston 812ffb4297 Alpha version 1.3.1: Fix build for old OS X versions. 2018-06-04 23:58:39 +03:00
John Preston 958d55a594 Alpha version 1.3.1.
- Bug fixes and other minor improvements.
2018-06-04 23:26:19 +03:00
John Preston 4559888113 Fix layout glitches in sessions list.
Fixes #4794.
2018-06-04 23:25:21 +03:00
John Preston 294ed1bb17 Update libtgvoip to 2.1. 2018-06-04 23:14:00 +03:00
John Preston a52392241d Fix some possible crashes. 2018-06-04 22:48:17 +03:00
John Preston 31998406dd Save settings any time emoji skin color is chosen.
Fixes #4788.
2018-06-04 21:34:18 +03:00
John Preston 5a63fc7bbb Fix search from user in a group. 2018-06-04 21:32:13 +03:00
John Preston a2d4b9260e Add AUTH_KEY_DROP_ service notification support.
Also move logout code to Messenger.
2018-06-04 21:18:52 +03:00
John Preston 1d1bd5e1e7 Fix reply-returns in just sent messages. 2018-06-04 19:58:35 +03:00
John Preston a42fb1f7b7 Fix microphone sandbox access request.
Fixes #4783.
2018-06-04 18:39:20 +03:00
John Preston dd81f5d59f Replace base::lambda with shorter term.
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston 8d1cdea31a Update passport phrases. 2018-06-04 14:43:49 +03:00
John Preston fae4b92d8d Add store version label to sessions list. 2018-06-04 13:41:53 +03:00
John Preston 18f38f0983 Fix build for Xcode. 2018-06-03 23:16:38 +03:00
John Preston a29e8f9a06 Moved Passport panel code to Ui::SeparatePanel. 2018-06-03 23:16:38 +03:00
John Preston 5c0cc8a947 Append param to query or hash of callback_url. 2018-06-03 23:16:38 +03:00
John Preston 308fb19da4 Improve name/postcode validation. 2018-06-03 23:16:38 +03:00
John Preston 6aecb81c23 Update scheme, special scans for identity type. 2018-06-03 23:16:38 +03:00
John Preston 72b29dd90d Fix GCC warning about uchar > 255 comparison. 2018-06-03 23:16:38 +03:00
John Preston 2f5f1fbac9 Closed beta 1.2.17.1. 2018-06-03 23:16:38 +03:00
John Preston ab797b4dff Preprocess images before passport upload. 2018-06-03 23:16:38 +03:00
John Preston ab5f35e952 Warn user about passport reset.
Also suggest country by phone number in passport.
2018-06-03 23:16:38 +03:00
John Preston 275ec3e679 Don't activate main window with passport request. 2018-06-03 23:16:38 +03:00
John Preston 44b551898d New notifications API, defaults for users/chats. 2018-06-03 23:16:38 +03:00
John Preston 4a8b6ff5ba Don't send data in address_document. 2018-06-03 23:16:38 +03:00
John Preston 60582a24ab Fix passport selfie requirements. 2018-06-03 23:16:38 +03:00
John Preston 67e698a374 Add support for requesting deep link info.
Also update API scheme.
Also remove auth.checkPhone requests.
2018-06-03 23:16:37 +03:00
John Preston 46af87a00a Allow Vector<bytes> in scheme. 2018-06-03 23:16:37 +03:00
John Preston d6d942bc64 Change e-mail to email in langs. 2018-06-03 23:16:37 +03:00
John Preston 5cb44834dc Allow restoring password by email in passport. 2018-06-03 23:16:37 +03:00
John Preston 6795ecea61 Update API scheme for passport errors. 2018-06-03 23:16:37 +03:00
John Preston 22bdf15825 Display scope errors in passport. 2018-06-03 23:16:37 +03:00
John Preston 704e3c9423 Don't save values while uploading scans. 2018-06-03 23:16:37 +03:00
John Preston 67ea175fc6 Show choose file box over the passport panel. 2018-06-03 23:16:37 +03:00