Commit Graph

74 Commits

Author SHA1 Message Date
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
levlam
f041bf4cc8 Fix field name and remove unused field.
GitOrigin-RevId: 81c8488f44562536a01deb365e3901b052131d54
2018-03-07 02:23:09 +03:00
levlam
032aed823a Fix file list hash calculation.
GitOrigin-RevId: e39474ebdc128079f65a4e2d97ecc4b0a8419c22
2018-03-07 02:02:49 +03:00
Arseny Smirnov
fce5219334 Bugfix
GitOrigin-RevId: 286be7360a01e39ae199d7980ca7465381aa0261
2018-03-06 21:52:21 +03:00
Arseny Smirnov
312ccd7cbd Store remote location with FileId
GitOrigin-RevId: 43ff47088a5675df95427a610427a9908707392f
2018-03-06 21:31:20 +03:00
levlam
41bd7c7428 Various fixes.
GitOrigin-RevId: e96c9e6f8f159f91ec31288e36edfb5869603341
2018-03-06 19:27:52 +03:00
Arseny Smirnov
d52c3ee3f9 Temporary turn off getFileHashes
GitOrigin-RevId: 0f5d3164c22e4602cc63e5d4476d6d906b549bb2
2018-02-28 11:01:57 +03:00
Arseny Smirnov
32dcdcffc5 FileLoadManager: separate resource manager for each datacenter
GitOrigin-RevId: c61103110d8f4d245e784c7f0e047c349c8840ae
2018-02-27 22:47:14 +03:00
levlam
1ac97a6ba7 Various fixes.
GitOrigin-RevId: 80fa34e64e6824a0f96c38d2e8b0a32455267ea8
2018-02-28 13:25:07 +03:00
Arseny Smirnov
44aad96473 FileManager: debug
GitOrigin-RevId: 3deeb79ea9c9f0a4d5c23e8605b528ed64765a7a
2018-02-27 11:48:47 +03:00
Arseny Smirnov
9310e29ff4 Check hash of local files with same name, before download
GitOrigin-RevId: ad97f6df43eb022d5c122a950081c5d7700820f5
2018-02-26 13:05:14 +03:00
levlam
dd54e3cee0 Update layer 76.
GitOrigin-RevId: fe0ae4a97a6b05894e4a8cb3afe9251485eaeeb1
2018-02-25 21:56:16 +03:00
levlam
b676810b50 Use get_url_file_name whenever appropriate.
GitOrigin-RevId: 4a1f408424883c56d2017f4239cae01987bd39c0
2018-02-20 02:29:19 +03:00
levlam
d475864012 Fix suggested name for generate, local and URL files.
GitOrigin-RevId: 2f203b2964f4b7da08346a7147e51af027baa2d2
2018-02-20 01:28:06 +03:00
levlam
0c9eb44038 Rename FileNode.name to remote_name.
GitOrigin-RevId: 578a0ae7728ef97b35dc8d5bcbbe7c2456a3dd6c
2018-02-18 19:29:44 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
6b927449eb Fix some includes.
GitOrigin-RevId: 08add4bab90bb23e0e71340ac647ce8cafc4b900
2018-02-11 18:58:18 +03:00
levlam
3078da75b3 Ignore failed file directory creations.
GitOrigin-RevId: 76549caf032e2224e802c8effb0c026593939eb0
2018-02-05 03:42:38 +03:00
levlam
63ec560e82 Optimize FileNode size by moving GenerateLocation to unique_ptr.
GitOrigin-RevId: b98aedd415ff779a62becbba86c4c967d3aba4f7
2018-02-04 20:27:05 +03:00
Arseny Smirnov
dbe358fb66 FileManager: bugfix(?)
GitOrigin-RevId: 6e2d7ac6b102a628f4a73e85dc2f3b256c956554
2018-02-01 17:12:32 +03:00
levlam
42ea21b4f1 Check directory existence before crash.
GitOrigin-RevId: 94ad49d48af766251107b547e9ea1aaedeeb15c1
2018-01-31 15:43:36 +03:00
levlam
eea18f732b Fix operator bool and default members.
GitOrigin-RevId: a981ac683c91ae9ba656b036cf1b56ff462f039d
2018-01-31 00:36:53 +03:00
Arseny Smirnov
d6102462c2 Safe FileNodePtr
GitOrigin-RevId: 23aa73747a520ec594f7027466ca7ba2e71ee826
2018-01-30 23:04:22 +03:00
Arseny Smirnov
d3e4ad0060 FileNode * -> FileNodePtr
GitOrigin-RevId: 1fa58d17dc71c74c78097105fc4c2acbde3b48a7
2018-01-30 19:54:17 +03:00
Arseny Smirnov
74bdbedb5a FileManager: multiple fixes
GitOrigin-RevId: 2b3da1b87529f8a49e9e4da3e0cd490ae2790926
2018-01-30 15:33:02 +03:00
Arseny Smirnov
c329826c5d FileUpload: restart automatically if part_size is too small
GitOrigin-RevId: bbfe3f0fca2f888f6bd4d2909935903d7c4e3b33
2018-01-29 20:46:06 +03:00