Commit Graph

37 Commits

Author SHA1 Message Date
John Preston 734d834a20 Replace mapbox variant with std::variant. 2020-09-29 19:03:19 +03:00
John Preston a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston be3e43e6cb Confirm 2sv recovery email by code. 2018-11-20 19:38:39 +04:00
John Preston 2e5a0e056c Move to std::optional. 2018-09-21 19:28:46 +03:00
John Preston 82a3cd9bdb Use most-filled document from OneOf list. 2018-08-17 19:31:24 +03:00
John Preston f76a2bc224 Add translations support to passport. 2018-08-14 20:48:23 +03:00
John Preston 6558a32794 Add [first|middle|last]_name_native support. 2018-08-14 15:51:12 +03:00
John Preston b935d54fe7 Support common error for the whole value.
It is removed (considered fixed) if anything changes in the data.
2018-08-14 14:37:03 +03:00
John Preston 7c173bd63f Ignore errors for not asked fields. 2018-08-14 08:43:40 +03:00
John Preston 39b0d9e46f Handle the outdated app error in passport. 2018-07-11 17:56:08 +03:00
John Preston 7be9e0fb94 Warn on passport save before upload is finished. 2018-07-11 17:56:07 +03:00
John Preston e3e8d083ea Remember passport credentials for 30 minutes. 2018-07-11 17:56:07 +03:00
John Preston c587c011d2 Start data export in lib_export. 2018-06-12 01:02:04 +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 6aecb81c23 Update scheme, special scans for identity type. 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 44b551898d New notifications API, defaults for users/chats. 2018-06-03 23:16:38 +03:00
John Preston 5cb44834dc Allow restoring password by email in passport. 2018-06-03 23:16:37 +03:00
John Preston 9f6130cd20 Allow 2sv password setup in passport. 2018-06-03 23:16:37 +03:00
John Preston 5b615519e8 Suggest full passport reset in case of bad secret. 2018-06-03 23:16:37 +03:00
John Preston 03b7a3ca2b Handle errors when saving passport values. 2018-06-03 23:16:37 +03:00
John Preston 6de3112c8a Stop passport authorization with confirm. 2018-06-03 23:16:36 +03:00
John Preston 1064208be9 Display errors on partial form submit. 2018-06-03 23:16:36 +03:00
John Preston e4ae5bfcad Allow deleting documents in passport. 2018-06-03 23:16:36 +03:00
John Preston e7ce4ca10a Show scans/selfie saving errors. 2018-06-03 23:16:36 +03:00
John Preston 8969a7d929 Fix passport for Xcode and macOS.
Also use different bundle id for debug builds.
2018-06-03 23:16:36 +03:00
John Preston ead31757d7 Submit passport results. 2018-06-03 23:16:36 +03:00
John Preston c20cf243db Improve phrases and icons in passport. 2018-06-03 23:16:35 +03:00
John Preston 9142313a6b Fix partial value saving in passport. 2018-06-03 23:16:35 +03:00
John Preston ccb57a6d69 Allow to add selfie in passport. 2018-06-03 23:16:35 +03:00
John Preston 62389f5ef7 Choose document type in passport. 2018-06-03 23:16:35 +03:00
John Preston 4e2a109a46 Passport phone/email verification added. 2018-06-03 23:16:35 +03:00
John Preston 35dcbe0aa0 Save value without closing the passport panel. 2018-06-03 23:16:35 +03:00
John Preston d0e854e9d8 Allow showing boxes in passport panel. 2018-06-03 23:16:35 +03:00
John Preston f1519b76f6 Allow to enter phone and email in the passport. 2018-06-03 23:16:34 +03:00
John Preston f0b7ff24b1 Update API scheme. 2018-06-03 23:16:34 +03:00
John Preston 5cfead762d New design of the passport in a separate window. 2018-06-03 23:16:34 +03:00