23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
23rd
6148edbc7d
Moved ConfirmBox to td_ui.
2021-10-19 06:34:27 +03:00
23rd
c15ba7d23a
Moved SentCodeField to td_ui.
2021-10-19 06:34:27 +03:00
23rd
2efd735243
Removed static storing of passport config.
2021-10-14 17:41:52 +03:00
John Preston
8069fdd873
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:42:22 +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
John Preston
b5ae492f5e
Beta version 2.9.12: Fix build on Windows.
2021-08-24 21:08:35 +03:00
23rd
b3f8d0e81a
Removed dcId from passport FileKey.
2021-08-24 20:02:36 +03:00
23rd
559d488b0b
Moved load status of files in passport to separated class.
2021-08-24 20:02:36 +03:00
John Preston
c3595f2e31
Ask for a new password when recovering by email.
2021-08-17 15:07:58 +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
0d44736575
First full-featured version of payments, no design.
2021-04-06 18:41:15 +04:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
John Preston
719bed6e85
Move some text formatting to tg_ui:ui/text/format_values.
2020-09-30 16:29:17 +03:00
John Preston
8634c1f7f3
Move lang keys to td_lang library.
2020-09-30 12:18:52 +03:00
23rd
f81271d1fe
Simplified confirmed callback for ConfirmBox instances.
2020-09-29 19:03:29 +03:00
John Preston
f0e1d2fd02
'base::optional_variant<' -> 'std::variant<v::null_t,'
2020-09-29 19:03:19 +03:00
23rd
0696a2d5c0
Replaced mapping to rpl::empty_value with rpl::to_empty.
2020-06-23 21:53:43 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
Nicholas Guriev
793862bee6
Fix -Wredundant-move and -Wdeprecated-copy warnings ( #6663 )
...
* Do not move result at end of function
This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization.
2019-11-12 18:15:34 +03:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
137fa0378c
Remove some more Auth() calls.
2019-07-24 16:00:30 +02:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +02:00
John Preston
a4d83b679a
Allow searching USA by 'United States'.
2019-06-22 22:12:47 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
8ed433cc01
Use tr:: instead of langFactory in input fields.
2019-06-21 11:06:49 +02:00
John Preston
7af0dd105e
Use tr:: instead of Lang::Viewer.
2019-06-21 11:06:49 +02:00
John Preston
a68a53d768
Prepare PasscodeBox for generic 2sv checking.
2019-06-21 11:06:47 +02: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
b8b5ab6378
Improve native name phrases in passport.
...
Also auto-save *_name to *_name_latin for english countries.
2018-08-20 17:25:33 +03:00
John Preston
82a3cd9bdb
Use most-filled document from OneOf list.
2018-08-17 19:31:24 +03:00
John Preston
e25ecce887
Ask native names after all other fields are done.
2018-08-17 16:42:07 +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
36fcf2c60e
Add middle_name support to passport.
...
Also allow editing document without its details.
2018-08-14 09:42:06 +03:00
John Preston
7c173bd63f
Ignore errors for not asked fields.
2018-08-14 08:43:40 +03:00
John Preston
3c43f621ce
Start improved passport support.
2018-08-14 08:43:04 +03:00
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
da60739893
Allow uploading many scans at once 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