levlam
|
5ea6fda925
|
Better on_new_file.
GitOrigin-RevId: 0f102cc0c166bbde4b99e7c6735bd79b45f5748a
|
2019-01-11 05:45:03 +03:00 |
|
levlam
|
a8b09b8cea
|
Add more upload logging.
GitOrigin-RevId: 1201af06efe11275a3ab74c27ce5409577b753fc
|
2019-01-11 00:12:51 +03:00 |
|
levlam
|
8e402b8a48
|
Fail fast on photos bigger than 10 MB.
GitOrigin-RevId: 4f4cfd5415c3e9a851fd7d580ecfa11b3d7c6046
|
2019-01-07 20:41:05 +03:00 |
|
levlam
|
705a57ba76
|
Do not include FileDb.h in FileManager.h.
GitOrigin-RevId: 5cba51fa56f7087ae818393b05c423ec9e5a8aec
|
2019-01-06 23:47:40 +03:00 |
|
levlam
|
60e4d27011
|
Add strongly typed FileDbId.
GitOrigin-RevId: 234c9ec0ecda3f2ba48e0fd00fa06a8ec0188ca4
|
2019-01-06 23:39:10 +03:00 |
|
levlam
|
5438119bb4
|
Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
|
2019-01-06 22:59:17 +03:00 |
|
levlam
|
eaebfad034
|
Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
|
2019-01-01 01:02:34 +03:00 |
|
levlam
|
dd5b8a87c2
|
Remove separate setFileDownloadOffset.
GitOrigin-RevId: b9588dbbc3929de9dba01c008bc18d1f36b24571
|
2018-12-28 20:38:37 +03:00 |
|
levlam
|
ded974762a
|
Delete only temporary partially generated files.
GitOrigin-RevId: aa4f17ddf141fd2058b8345126e936256609b10a
|
2018-12-28 19:54:46 +03:00 |
|
levlam
|
2face56d10
|
Fix downlaoding of secure documents.
GitOrigin-RevId: 9884b4e6dbe669ba905e8f391f87a957e4928e53
|
2018-12-28 02:29:03 +03:00 |
|
levlam
|
9302481d93
|
Set download offset for encrypted files.
GitOrigin-RevId: 505d464839bc33e6a969b24dcaddab34863c5f7c
|
2018-12-28 01:48:21 +03:00 |
|
levlam
|
ca1503c22f
|
Fix some includes.
GitOrigin-RevId: a57e47e5925fe1e96080945d40641c84b4e30669
|
2018-12-27 22:24:44 +03:00 |
|
levlam
|
71b1dbce7a
|
Add FileEncryptionKey.cpp.
GitOrigin-RevId: d6c07f75fffd007afaeaec92016639f26fffc5c3
|
2018-12-27 21:38:43 +03:00 |
|
levlam
|
aecbbf47f9
|
Output partial local in on_partial_download.
GitOrigin-RevId: 3f7177d704f4eaf7dec13e7bad13cb2b48da91e9
|
2018-12-27 20:46:28 +03:00 |
|
levlam
|
c252e9ceb5
|
Add source to try_flush_node.
GitOrigin-RevId: 7cf8c352d6d3c5158adb0ee867e52538075950d1
|
2018-12-27 20:23:19 +03:00 |
|
levlam
|
b9bf652ad2
|
Fix FileView::remote_size.
GitOrigin-RevId: 0d4ad73c4459c9d3dd31676f32dc39a445802b02
|
2018-12-27 19:50:45 +03:00 |
|
levlam
|
894038a881
|
Fix local_ready_size in om_partial_generate.
GitOrigin-RevId: 614351cac5508589bd86ddf6be2c34b7e6c98585
|
2018-12-27 18:37:57 +03:00 |
|
levlam
|
274e00175e
|
Add is_file_big function.
GitOrigin-RevId: 54b5c7eb69a005d138afbdbca8587afa3c6541cf
|
2018-12-27 18:09:09 +03:00 |
|
Arseny Smirnov
|
e60c9ab24d
|
File: handle FILE_PART_INVALID error, fix expected_size usage
GitOrigin-RevId: e9c583993737194785e0f36742507724810e163c
|
2018-12-27 11:34:36 +03:00 |
|
levlam
|
c0f19bf6fd
|
Do not drop streaming offset in cancelDownloadFile.
GitOrigin-RevId: 9f8699e85ba82ec84c0e85f9510b691f72af0c47
|
2018-12-27 04:21:08 +03:00 |
|
levlam
|
21fa752019
|
Add mising update_file logging.
GitOrigin-RevId: cff4a4adf2341e251cbfb470b4151f7f5e91dcfc
|
2018-12-27 03:56:03 +03:00 |
|
Arseny Smirnov
|
da6a7ec512
|
Files: pass file size from FileDownloader to FileManager
GitOrigin-RevId: eb02bc323973b26b0306a84c5efadbb581bbef82
|
2018-12-27 00:42:26 +03:00 |
|
levlam
|
ac3fa705a2
|
File streaming fixes.
GitOrigin-RevId: 86c6d1394a31d6bb108a12e14f4d981133ece235
|
2018-12-26 19:11:15 +03:00 |
|
Arseny Smirnov
|
3b238f6fba
|
Files streaming
GitOrigin-RevId: 78df1cd44c95380cd4af46f4db809ce28876db1f
|
2018-11-11 15:38:04 +04:00 |
|
Arseny Smirnov
|
a20168bdf9
|
Files: some fixes
GitOrigin-RevId: b92ec014849a65ca4c016a18818d8d6ba7438778
|
2018-12-17 23:59:24 +03:00 |
|
Arseny Smirnov
|
df7e6f83f5
|
Files: support remote id for map thumbnails
GitOrigin-RevId: d9b5281ce55fd7bd2f4557a933b7f9dba2b591af
|
2018-12-17 22:56:47 +03:00 |
|
levlam
|
bd8295c464
|
Add VLOG file_gc.
GitOrigin-RevId: 816f4f124006e29b0afba6a8e8838612faae4cf3
|
2018-11-16 00:25:08 +03:00 |
|
Arseny Smirnov
|
a80e0621e4
|
FileManager: FILE_GENERATE_LOCATION_INVALID
GitOrigin-RevId: bc66c7e63376a3aca0bdcaf1d7f8cbb57e32eb53
|
2018-11-06 19:02:19 +03:00 |
|
levlam
|
1cb68fab96
|
Add mtime only to absolute original_path.
GitOrigin-RevId: 379ab8f47b8f2e4e6bf930977bfae8e26cf5fc60
|
2018-11-01 18:54:08 +03:00 |
|
levlam
|
ecaaae62ef
|
Fix mtime in generate location.
GitOrigin-RevId: 70235d7f9c0e21fdcb555a678f13afbfabf3767f
|
2018-10-31 21:11:02 +03:00 |
|
Arseny Smirnov
|
f788c1e917
|
FileManager: add #mtime#<mtime># prefix to generate conversion
GitOrigin-RevId: 4253d68e4f7878d871f53e0bbcf77633258cc946
|
2018-10-30 17:25:31 +03:00 |
|
levlam
|
51eec319b8
|
Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
|
2018-10-28 20:30:47 +03:00 |
|
levlam
|
c1f4e9d292
|
Make get_*_duration const.
GitOrigin-RevId: 85b5eb4cb221c2144318989d4d93b45784adcdf4
|
2018-09-27 21:14:32 +03:00 |
|
levlam
|
f948956bf7
|
Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
|
2018-09-27 04:19:03 +03:00 |
|
levlam
|
b7c2248c72
|
Add td_api::testSetLogTagVerbosityLevel method.
GitOrigin-RevId: 763fcf9156671857c71967741b9ce8c67f4a7ea0
|
2018-09-26 02:59:29 +03:00 |
|
levlam
|
0f829d6bbd
|
Prefer non-web remote location in merge.
GitOrigin-RevId: ce678712f457a3b3ece48d26aedfe3220e54e7bf
|
2018-09-07 19:43:29 +03:00 |
|
levlam
|
a72021c170
|
Make function names better.
GitOrigin-RevId: 87e06fdb3faf6e964688d74648e3fd44b21e0eb3
|
2018-09-07 19:29:18 +03:00 |
|
levlam
|
811cc8f393
|
Better error messages.
GitOrigin-RevId: 9d77793cb6bcc8d3f9c64c01324ca55bd61a08c4
|
2018-08-16 20:31:42 +03:00 |
|
levlam
|
c6bc8f7c3f
|
Add td_api::getMapThumbnailFile.
GitOrigin-RevId: f02f154cc8a3ce62f888bdaf9c159cebcb4a350a
|
2018-08-13 23:18:27 +03:00 |
|
levlam
|
e2a90b9edf
|
Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
|
2018-07-08 02:47:46 +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
|
aa13a57a3c
|
Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
|
2018-06-26 00:10:53 +03:00 |
|
levlam
|
45af3f53db
|
Add ignore_inline_thumbnails option.
GitOrigin-RevId: 5721f8d0fd0a0adc3ba2c65c1c4af35690bdf47a
|
2018-06-24 23:48:48 +03:00 |
|
Arseny Smirnov
|
50a5098b0f
|
FileLoadManager: hangup bugfix
GitOrigin-RevId: 7d8a922dfd3e07769507123e39df66d7ea3d00d3
|
2018-06-07 14:37:42 +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 |
|
levlam
|
faf9be4231
|
Better file download debug.
GitOrigin-RevId: f2e33254bca1c1012f2d8f333554b039b47be3ce
|
2018-05-30 20:50:11 +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
|
06a89db640
|
More passport data fixes.
GitOrigin-RevId: b9d0c3244b5ce3a170679645e7ccb54fc0ad7ce2
|
2018-04-24 20:10:12 +03:00 |
|
levlam
|
0bfe50a7b7
|
Strong typing for passport data.
GitOrigin-RevId: 766b671c97d8deb1e32bbfb4972c5a59a67f8435
|
2018-04-11 17:21:24 +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 |
|
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 |
|
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 |
|
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 |
|
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
|
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
|
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 |
|
levlam
|
816b02e8c6
|
Add some debug output.
GitOrigin-RevId: 87f724672d2e21c4c0640b1a4e610acf51260d2a
|
2018-01-28 23:38:55 +03:00 |
|
levlam
|
99c5bd9ebb
|
Fix main_file_id_priority.
GitOrigin-RevId: cbcb8da8e9fe702c83cac077d46c7b1dd2f53a3a
|
2018-01-28 08:35:53 +03:00 |
|
levlam
|
55b16026c5
|
Optionally ignore EACCES in realpath.
GitOrigin-RevId: 8043b753ec748b6ff21accb5efde782047e5cd50
|
2018-01-26 16:47:46 +03:00 |
|
levlam
|
f0e660e2aa
|
Better FileLocationSource.
GitOrigin-RevId: bed0d4f52b129560097f0877bd4b3d3511914f27
|
2018-01-26 15:56:19 +03:00 |
|
levlam
|
648a8eb0af
|
Fix main_file_id_priority.
GitOrigin-RevId: 35ab98806707c7b62378a90e35422b59c83fc8a8
|
2018-01-26 01:09:07 +03:00 |
|
Arseny Smirnov
|
08c930e170
|
FileManager.cpp: bugfix
GitOrigin-RevId: b075851e40beb6cafb7921055d4046bec26374eb
|
2018-01-25 16:11:05 +03:00 |
|
levlam
|
1dffa9608d
|
Make FileLocation.type_ private.
GitOrigin-RevId: 14841a320804eacbeef501df79c94b3bff2f4d0c
|
2018-01-20 17:57:52 +03:00 |
|
levlam
|
ef071614b9
|
Remove EmptyGenerateFileLocation.
GitOrigin-RevId: 83cacf7526496f5ef3a2cb2ae0df19d384bdf04a
|
2018-01-20 17:06:22 +03:00 |
|
levlam
|
fbb2dc6ccb
|
Use int8 for upload/download priority.
GitOrigin-RevId: 3cc1c006c5ab3989be920b4d6e7e5f49aeaa42ce
|
2018-01-20 14:47:53 +03:00 |
|
levlam
|
271ab50403
|
Oprimize sizeof(FileNode).
GitOrigin-RevId: 2ba7e468e4eae6a398418d6cd8db7f2905594535
|
2018-01-20 13:49:06 +03:00 |
|
levlam
|
d6fb230324
|
Add only_if_pending to cancelDownloadFile.
GitOrigin-RevId: 7280c353b4903e565c2e0a2557d50317f6f7c886
|
2018-01-16 17:41:47 +03:00 |
|
levlam
|
ed54c461ae
|
Notify file manager when file starts to download.
GitOrigin-RevId: ee21c170dcd7098b734d31fb170e99053f64a139
|
2018-01-09 14:57:11 +03:00 |
|
levlam
|
bb3d01da8d
|
Add debug.
GitOrigin-RevId: 38dc34ec5f6cac1d2c1cd4509dfe2f2d5f7bc508
|
2018-01-06 23:56:30 +03:00 |
|
levlam
|
0912cf4573
|
tg_cli: do not generate file when closing.
GitOrigin-RevId: 2cb23d3d15fca315993449a0033b7202e11dd90f
|
2018-01-06 23:54:38 +03:00 |
|
levlam
|
149c3fdc46
|
Always check input file_id.
GitOrigin-RevId: aa33312b3961d6cf724f43418084c5a9133d7ad7
|
2018-01-06 23:54:01 +03:00 |
|
levlam
|
d990fd21d2
|
tg_cli: add sanurl commands.
GitOrigin-RevId: 44e9febc12a648b9360f85d8ac7a9b7fd784bb37
|
2018-01-06 23:51:31 +03:00 |
|
levlam
|
5cbda834bd
|
Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
|
2018-01-02 16:45:09 +03:00 |
|
Arseny Smirnov
|
71d03f39c3
|
Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
|
2017-12-31 23:08:40 +03:00 |
|