John Preston
bdab477040
Update API scheme to layer 84.
2018-08-11 22:03:34 +03:00
John Preston
550c159ca8
Update API scheme to layer 83.
2018-08-04 23:11:04 +03:00
John Preston
90f4187ca9
Don't accept tg:// links in passport callbacks.
...
Fixes #5021 .
2018-07-31 22:51:06 +03:00
John Preston
51d7e177a6
Fix error layout in passport email/phone.
2018-07-11 17:56:09 +03:00
John Preston
81e074115d
Fix build for Xcode.
...
Regression was introduced in a8d35b67aa
.
2018-07-11 17:56:09 +03:00
John Preston
da60739893
Allow uploading many scans at once in passport.
2018-07-11 17:56:08 +03:00
John Preston
7be1f16313
Don't display errors list in passport.
2018-07-11 17:56:08 +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
9929bfb281
If only selfie is missing use special phrases.
2018-07-11 17:56:07 +03:00
John Preston
661de0c326
Improve phrases in passport.
2018-07-11 17:56:06 +03:00
John Preston
b697824540
When following a post link push reply-return.
...
Fixes #4856 .
2018-07-11 17:56:06 +03:00
John Preston
e64d102efd
Better display of first_name + last_name.
2018-06-28 20:01:26 +01:00
John Preston
c587c011d2
Start data export in lib_export.
2018-06-12 01:02:04 +03:00
John Preston
2a110f0d3e
Improve passport styles.
2018-06-08 22:26:08 +03:00
John Preston
472a677bca
Fix crash in special scan upload.
2018-06-07 22:11:55 +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
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
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
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
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
46af87a00a
Allow Vector<bytes> in scheme.
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
John Preston
6c2a39f1fc
Re-encrypt secure secret with password change.
2018-06-03 23:16:37 +03:00
John Preston
395f22063b
Short poll email confirmation 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
4f1a633019
Fix faved+recent stickers icon highlight.
2018-06-03 23:16:36 +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
49578836be
Allow edit/delete contact info in passport.
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
e82430cb50
Strict value validation 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
f8b2e474b9
Validate passport values before saving.
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
11fd757e99
Use Ui::PhoneInput for passport phone edit.
2018-06-03 23:16:35 +03:00
John Preston
1c48f33dc1
Allow gender edition in passport.
2018-06-03 23:16:35 +03:00
John Preston
9903546a2d
Allow date edition in passport.
2018-06-03 23:16:35 +03:00
John Preston
e4e05a14b7
Allow selecting country 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
94bfd59b76
Fill all required fields in identity and address.
2018-06-03 23:16:34 +03:00
John Preston
2790919733
Move scans upload to a separate module.
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
John Preston
a2dabfde56
Separate form controller from view controller.
2018-06-03 23:16:34 +03:00
John Preston
b0a9d26a94
Update API scheme.
2018-06-03 23:16:34 +03:00
John Preston
2bc60fa54f
Save secure files to local storage.
2018-06-03 23:16:34 +03:00
John Preston
c2aa9c571c
Follow secure file upload/download progress.
2018-06-03 23:16:34 +03:00
John Preston
083b520eee
Update API scheme.
2018-06-03 23:16:34 +03:00
John Preston
1392e05ab1
Move all gsl::byte helpers to base/bytes module.
2018-06-03 23:16:34 +03:00
John Preston
b2014f403e
Secure files upload / download support.
2018-06-03 23:16:34 +03:00
John Preston
f633ead3ab
First version of IdentityBox with encrypted data.
2018-06-03 23:16:33 +03:00
John Preston
07e8a2bd85
Initial layout of the passport authorization form.
2018-06-03 23:16:33 +03:00
John Preston
ddb4527159
Start passport support: handle link, receive form.
2018-06-03 23:16:33 +03:00