Commit Graph

99 Commits

Author SHA1 Message Date
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
levlam
90f0f006b4 Check that storer unsafe doesn't overflows.
GitOrigin-RevId: ffbdcbbba7d26688b59cda00318d02fc06e402dc
2018-07-06 23:33:11 +03:00
levlam
deecdb66bc Fix some td/actor/ includes.
GitOrigin-RevId: f9cf960b96018c4eb6169d2ec6cb5d3fbc16c0ec
2018-07-03 22:29:04 +03:00
levlam
139a858d80 Use CREATE_OK_REQUEST_PROMISE instead of simple RequestOnceActor.
GitOrigin-RevId: 7ba8db1c05ed06b9824e482ba6c12024c5a0106d
2018-06-29 00:06:17 +03:00
levlam
48740add28 Init some uninitialized Result variables.
GitOrigin-RevId: 48e15168e48d131c53a93a5c2971c7dadeeeb270
2018-06-27 19:24:42 +03:00
levlam
46535703e0 Fix some includes.
GitOrigin-RevId: 901d167d7197e4c0222656e9fc1f9fc0e216e44b
2018-06-26 02:43:11 +03:00
levlam
aa13a57a3c Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
2018-06-26 00:10:53 +03:00
levlam
046ad3b752 Make TlStorerUnsafe buffer unsigned.
GitOrigin-RevId: 8bb19c10e4edd8b015d3a2be0449426c9c07f7df
2018-06-25 02:58:43 +03:00
levlam
b4d6662f71 Add some debug.
GitOrigin-RevId: 29b2efa626ed4a6a0c0eb2ac2cec2fb245e9e6b5
2018-06-25 01:51:15 +03:00
levlam
45af3f53db Add ignore_inline_thumbnails option.
GitOrigin-RevId: 5721f8d0fd0a0adc3ba2c65c1c4af35690bdf47a
2018-06-24 23:48:48 +03:00
levlam
174eaf2817 Fix FileEncryptionKey.
GitOrigin-RevId: 59949d62ce074db7afe33e0b42666d7b8bd14973
2018-06-09 00:02:19 +03:00
Arseny Smirnov
ecce3b4f53 FileDownloader: bugfix
GitOrigin-RevId: 475a848c68497fdcfc43dfaad6019a271a78b10c
2018-06-08 23:15:04 +03:00
Arseny Smirnov
50a5098b0f FileLoadManager: hangup bugfix
GitOrigin-RevId: 7d8a922dfd3e07769507123e39df66d7ea3d00d3
2018-06-07 14:37:42 +03:00
levlam
cb1e0374af Minor fixes.
GitOrigin-RevId: 7deac5583350d64cf6fd0e323f2291804e3ba995
2018-06-05 20:44:41 +03:00
levlam
d6d923882b Move some logging to DEBUG.
GitOrigin-RevId: 0767598c3b43c024efa2e8437e330d3d8f9537c8
2018-06-05 02:40:00 +03:00
levlam
89c8bf819c Move some logging from INFO to DEBUG,
GitOrigin-RevId: f56140a9c03fcb0af8c8ecc381b3e111febf616f
2018-06-05 00:12:34 +03:00
levlam
df900c867c Better merge_choose: prefer new.
GitOrigin-RevId: 9d737eeda18ece2cceb98f6e9f1dd95c0bd8294a
2018-06-01 01:21:35 +03:00
levlam
74b27edd11 tg_cli: clean_photos.
GitOrigin-RevId: 650df5c04eb4ad6dcaa9eea3226f2e16fb68d9e8
2018-05-30 22:45:42 +03:00
Arseny Smirnov
b38094e372 Files: bugfix
GitOrigin-RevId: 179f1b4864e78337455264c3468ec5d4eabdeb2d
2018-05-30 22:21:40 +03:00
levlam
faf9be4231 Better file download debug.
GitOrigin-RevId: f2e33254bca1c1012f2d8f333554b039b47be3ce
2018-05-30 20:50:11 +03:00
Arseny Smirnov
6188a6c118 SecureId: minor files upload/download bugfix
GitOrigin-RevId: 8ba92f2d0e6f9098d36c68700edf15f452dd1ffa
2018-05-30 19:57:49 +03:00
levlam
ede1d58e0f Add is_closed_ guard to FileManager.
GitOrigin-RevId: b85edd5e07da24250516141f73e2313c31fe2cc3
2018-05-24 13:43:50 +03:00
levlam
3f8be23cd2 Fix calling file load callbacks on closing.
GitOrigin-RevId: 1b1bad8bdd255332cdca2ece6cffd3ce16cfc7e2
2018-05-24 01:30:47 +03:00
levlam
68dd5cece9 Fix debug bad parts.
GitOrigin-RevId: 867baaf16092b260f2695b94745fb9fe765b548a
2018-05-20 00:56:40 +03:00
Arseny Smirnov
4a2b256ecd Secure file reuploading hotfix
GitOrigin-RevId: 8d64534b3afafeae35ff40531aaf1ba3b4d8a398
2018-05-11 22:13:18 +03:00
levlam
62d668674b Remove fileTypeSecureEncrypted.
GitOrigin-RevId: 33adf461aeea26cf5c4cbb1d28ade3a258b61126
2018-04-27 11:00:56 +03:00
levlam
4e7b07508f Various PassportData fixes.
GitOrigin-RevId: 7c8ce3d564c37dcc75715b5dac7886749e0ed9d3
2018-04-26 23:41:34 +03:00
levlam
06a89db640 More passport data fixes.
GitOrigin-RevId: b9d0c3244b5ce3a170679645e7ccb54fc0ad7ce2
2018-04-24 20:10:12 +03:00
levlam
a4f664e697 Remove temporary debug logging.
GitOrigin-RevId: e427491fc36fc6a6299eb0bed3a036638605ca5a
2018-04-23 18:05:02 +03:00
levlam
f758d592dd Better iterators increment.
GitOrigin-RevId: 5da2e57210ce62f78ab938005a4683d2c1e26547
2018-04-23 01:14:49 +03:00
levlam
d80148afae Explicitly specify enum underlying type.
GitOrigin-RevId: 65a7cc4df6b07fe095e898c06ad53deb5e188df3
2018-04-19 16:08:30 +03:00
levlam
a1d6be72ff Better fix for END_PARSE_FLAGS.
GitOrigin-RevId: 8838c020bb677df926fce87c0e2343600089345d
2018-04-16 18:02:42 +03:00
levlam
82820bf842 Add debug.
GitOrigin-RevId: e6efea5f211c8926b986fc40eed6ae1401322c38
2018-04-13 21:20:20 +03:00
levlam
386d18e8c4 Fix warnings.
GitOrigin-RevId: d8ae75999b183f143fee5d8961174afcad601f58
2018-04-11 23:17:51 +03:00
levlam
0bfe50a7b7 Strong typing for passport data.
GitOrigin-RevId: 766b671c97d8deb1e32bbfb4972c5a59a67f8435
2018-04-11 17:21:24 +03:00
levlam
baa334544b More fixes.
GitOrigin-RevId: 587cca0a2e3a87c117fa78d59c81d61815e2756d
2018-04-07 02:38:28 +03:00
Arseny Smirnov
5e79712797 set/get passport data
GitOrigin-RevId: 4fe8b44738ac91524a0d286db5d33d338b5b75e8
2018-04-03 20:49:07 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
e9f3bcbd4d Add debug.
GitOrigin-RevId: 3d9d56130f29b1977e00576bb5f3fd5ff84873e9
2018-04-04 22:37:14 +03:00
Arseny Smirnov
adcf44d57e FileDb: fix LOG(FATAL) cycle in database
GitOrigin-RevId: 2b5a4cecb33b1d6a37a86d926b3a48b02e2af0af
2018-04-04 16:32:14 +03:00
levlam
29b14a707f Fix register_remote.
GitOrigin-RevId: 9bb641fe9e356bc314229ef49cf914c3a40586e0
2018-04-01 23:15:44 +03:00
levlam
e0924ea333 Fixed several bugs found by PVS-Studio by @SvyatoslavRazmyslov.
GitOrigin-RevId: 768d822ff74740fe71c16ea1bba3c6fb74f01b15
2018-03-20 15:18:16 +03:00
levlam
b456895f5b tg_cli: "skip" generation conversion.
GitOrigin-RevId: 85aacd4c915c07ba37a57eac0658bc6288198b32
2018-03-18 13:45:59 +03:00
Arseny Smirnov
6a943c0b78 Better DelayDispatcher
GitOrigin-RevId: c856d47d82c9384ad0cc69723b2d324af14ba844
2018-03-17 20:06:16 +03:00
levlam
65fc8f9809 Remove logging to ERROR.
GitOrigin-RevId: ee5a540cd62ee4722a770c1007a37756a0edc906
2018-03-16 15:38:12 +03:00
levlam
6e880f7ea0 Enable DelayDispacher. Improve errors and logging.
GitOrigin-RevId: e8d648e14183fe4a9409555eff5c6e167b5bcca2
2018-03-16 15:33:44 +03:00
Arseny Smirnov
284895eefa Delete file bugfix
GitOrigin-RevId: 642e053e52057945d872cc22b95d54bc47cf5dc5
2018-03-16 14:50:21 +03:00
Arseny Smirnov
43fc3a21df Send download queries with a small delay (turned off)
GitOrigin-RevId: 91932bb550176ee7d9ff22621e86a42ac6be9317
2018-03-16 12:31:23 +03:00
Arseny Smirnov
81776db03a Enumerator: do not invalidate pointers to elements
GitOrigin-RevId: 0d535d7052b9cb95365eff4bf35ddf30966ec90f
2018-03-07 10:47:33 +03:00
levlam
c35bc1c0fc Remove now unsafe FileId constructors.
GitOrigin-RevId: eb3e37f4056ff6b967e4fd3d9b310fdc0e7602a1
2018-03-07 02:37:39 +03:00