levlam
|
0bf5825c01
|
Fix set_download_limit.
GitOrigin-RevId: 4f4e77bde657d6586ffbe861e1affc6b3c14d4a2
|
2019-02-27 00:42:54 +03:00 |
|
levlam
|
93494cf048
|
Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
|
2019-02-21 18:58:20 +03:00 |
|
Arseny Smirnov
|
206fbc0686
|
downloadFile: add limit:int32
GitOrigin-RevId: 395d29e8383db5c54a3f85a555c4e9648546ef47
|
2019-02-18 22:08:05 +03:00 |
|
levlam
|
0d1be06cae
|
Minor fixes.
GitOrigin-RevId: 252036493c4c9e94367ef13246bde96b2f89415a
|
2019-02-17 16:52:34 +03:00 |
|
levlam
|
c8cfee8d7b
|
Better deduplicating saved animations and recent/featured stickers.
GitOrigin-RevId: 2bc58b3fabbf1cb01727e584036846e6acde0cc6
|
2019-02-16 05:29:28 +03:00 |
|
levlam
|
71aa152460
|
Add FileLocationSource::FromBinlog.
GitOrigin-RevId: cedd828bbd79a8cfc04efa0ecb239dafbfed4eab
|
2019-02-15 23:22:40 +03:00 |
|
levlam
|
24128120cb
|
Add more logging and minor file reference fixes.
GitOrigin-RevId: 42fd08c7e7d8c4d0be12e5cddb352dd874553edb
|
2019-02-15 23:09:18 +03:00 |
|
Arseny Smirnov
|
49965b4ab7
|
FileManager: set full_source in set_new_remote_location
GitOrigin-RevId: e088e6858baff79ffc035bb7a05d2ffa5ec77b60
|
2019-02-15 22:40:09 +03:00 |
|
levlam
|
27a0bbd158
|
Precerve file remote in check_input_file_id.
GitOrigin-RevId: 52a3d32a606b8907f1ab94b7c10c2413346e66ec
|
2019-02-15 21:49:02 +03:00 |
|
Arseny Smirnov
|
75db56dcb3
|
FileManager: fail upload, when we cannot restore file reference
GitOrigin-RevId: 01f63f9405eb910a7ca09aa4203cb31888a7a8d0
|
2019-02-15 12:25:21 +03:00 |
|
levlam
|
20c95b93f4
|
Fixes for force_reupload.
GitOrigin-RevId: 4adb2e498738ab4ebfd22605382cfec150c0de36
|
2019-02-15 00:19:48 +03:00 |
|
Arseny Smirnov
|
82589eeb2f
|
FileManager: force upload, and separate full and partial remote location storage
GitOrigin-RevId: 3bdc218738558012ee6e2a790a553b2f0fea1d62
|
2019-02-14 14:20:40 +03:00 |
|
Arseny Smirnov
|
61288bd8ab
|
CHECK: fixes
GitOrigin-RevId: 5bccb4634a0c77e159ce3cdf80c37ff8a500bbd0
|
2019-02-12 20:48:13 +03:00 |
|
Arseny Smirnov
|
20bfcaa979
|
Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
|
2019-02-12 19:17:20 +03:00 |
|
levlam
|
b7b5fc0f06
|
A lot of file reference fixes.
GitOrigin-RevId: cfe82f1ea2f6fda7d5c63eb7f19e411fe5df61ff
|
2019-02-10 02:39:58 +03:00 |
|
levlam
|
833bbdbb11
|
Improve merge_choose_remote_location.
GitOrigin-RevId: 0c145a4a1f6d43ebdf5eb618b581539f31eabc40
|
2019-02-05 01:45:16 +03:00 |
|
Arseny Smirnov
|
c08cbd5b54
|
FileManager: properly update RemoteInfo
GitOrigin-RevId: ac7b0d8a104ed2f74bfd6eb909eca859fe870c8a
|
2019-02-04 19:59:01 +04:00 |
|
levlam
|
282edef55b
|
Add more delete_file_reference logging.
GitOrigin-RevId: f19b9140e4feb77d10927d5e40dd82aa8a8b09ac
|
2019-01-31 15:24:32 +03:00 |
|
Arseny Smirnov
|
8a80571903
|
Files: make all file references encoded with FileReferenceView
GitOrigin-RevId: c876f0d115035cb0e9030b6a4124c31c53a191b2
|
2019-01-31 12:33:35 +04:00 |
|
levlam
|
7542612098
|
Fix some includes.
GitOrigin-RevId: 47d6bcd57e12314cc46c8f23ef10c10cea04fdcb
|
2019-01-31 05:05:40 +03:00 |
|
levlam
|
346202fbaa
|
Fixes for delete_file_reference.
GitOrigin-RevId: 15ffa944a037d34954ce5e7b0cea22131e1e976e
|
2019-01-31 02:57:14 +03:00 |
|
levlam
|
996869d4ca
|
Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
|
2019-01-31 00:37:38 +03:00 |
|
Arseny Smirnov
|
5203da0895
|
FileManager: try_flush_node_pmc
GitOrigin-RevId: dd087402d0339ca02979f96e1dbe32b8646ab4d1
|
2019-01-30 20:40:23 +04:00 |
|
Arseny Smirnov
|
2032f89723
|
FileManager: support two file references for photos
GitOrigin-RevId: f27a9867315e12e79a456c12949d8d2580531bbe
|
2019-01-30 20:08:50 +04:00 |
|
Arseny Smirnov
|
06a82aff73
|
FileManager: store file source in db (partial imlementation)
GitOrigin-RevId: 860e92368e226401e57072e8d64df48c263029f6
|
2019-01-29 15:07:58 +04:00 |
|
levlam
|
595eb119d7
|
Repair file_reference in UpdateProfilePhoto.
GitOrigin-RevId: 1edb98b56d2af603ac51d7ba6ee9e6cd08e12595
|
2019-01-29 02:32:26 +03:00 |
|
levlam
|
d18f89c071
|
Repair file reference in UploadDialogPhotoQuery.
GitOrigin-RevId: ab8eb37ad270381cac494ad5e16405487ff2a3a2
|
2019-01-29 01:52:36 +03:00 |
|
levlam
|
0fcf95dbbe
|
Fix reupload priority.
GitOrigin-RevId: 03c333adff1798a85d605242cc50a05b3481baa2
|
2019-01-25 17:31:06 +03:00 |
|
levlam
|
bc6517b094
|
Remove unnecessary UpdateFile.
GitOrigin-RevId: 06a7365eb01793df4ed04f2cf111582d9be7d17f
|
2019-01-25 17:29:21 +03:00 |
|
Arseny Smirnov
|
ce8781a2aa
|
FileManager: fix file reference recovery during upload without local location
GitOrigin-RevId: f16edacd197ae6f4635c65952ebef3131dafde3a
|
2019-01-25 15:03:17 +04:00 |
|
levlam
|
c474ce5994
|
Repair file_reference in editMessageMedia.
GitOrigin-RevId: 9826a975dda2838d12943efa03752a79ddee7765
|
2019-01-25 06:01:09 +03:00 |
|
levlam
|
c958bd5b7c
|
Add FileManager::cancel_upload.
GitOrigin-RevId: d6db4e90fbe361ed2c90e509fe3aa609df5988e6
|
2019-01-25 04:52:38 +03:00 |
|
levlam
|
44ed807417
|
Do not throw away file ids of reused media.
GitOrigin-RevId: dcc460775768ae87ffc3be01ef8da8985b394463
|
2019-01-25 04:38:11 +03:00 |
|
levlam
|
9d9b0cd2ad
|
Do not send unnecessary update files on remote location change.
GitOrigin-RevId: 2f76e0a82946354736849edad3fcc3d80f760658
|
2019-01-24 22:52:24 +03:00 |
|
levlam
|
0ac8c2d389
|
Repair file_reference in SaveGifQuery.
GitOrigin-RevId: ae9fcc543795a659c51699af8ea0048a0b5f8fb5
|
2019-01-23 22:20:48 +03:00 |
|
levlam
|
6633b87d51
|
Add is_file_reference_error.
GitOrigin-RevId: 7c36433edff5de1a9ef6c2ffb0b4745e4aede0be
|
2019-01-23 19:00:56 +03:00 |
|
levlam
|
e0dd56ce8c
|
Fix repairing of main user photo.
GitOrigin-RevId: 6cd643f17af99b92eec9fe230aa30fc3469c4407
|
2019-01-22 19:08:41 +03:00 |
|
levlam
|
62a01e2b61
|
Add profile photo file source.
GitOrigin-RevId: 7324c1a4927e135c84a6406b606684297f2447ff
|
2019-01-22 18:07:21 +03:00 |
|
levlam
|
d04a1a61cc
|
Add wallpapers file source for wallpapers registered by remote location.
GitOrigin-RevId: a0994ef92ef927d780acf6a79cfad5b424d93784
|
2019-01-22 17:35:29 +03:00 |
|
levlam
|
8ac921b8e7
|
Add FileManager::get_file_ids_object.
GitOrigin-RevId: a7e76f5e28514e2ccd99ce2316d5e4043836062f
|
2019-01-21 20:19:02 +03:00 |
|
Arseny Smirnov
|
d9f51ffb77
|
FileManager: bugfixes
GitOrigin-RevId: c8b289a23ea898fa1772d0184b66b813dcbfe760
|
2019-01-20 18:26:51 +03:00 |
|
levlam
|
73996c6efe
|
Better file_type_name.
GitOrigin-RevId: d3c0c0b88e9dec5348fa72c66d7403507e493e18
|
2019-01-20 01:59:37 +03:00 |
|
levlam
|
e63d5ec20f
|
Use correct type for file_type_size.
GitOrigin-RevId: 63baf89ab57485f0bc0f902590271c40f34cf151
|
2019-01-20 01:10:15 +03:00 |
|
levlam
|
3c46828749
|
Move FileDAta to FileData.h.
GitOrigin-RevId: d0724db9881d39ca22fe491dc4809a3f03bf6b2b
|
2019-01-20 00:26:23 +03:00 |
|
levlam
|
b61efbb40d
|
Delete self-destructed files if a message content was changed.
GitOrigin-RevId: 54c39a5a7ce014a3bc1f05c11d559ef2518b6bb0
|
2019-01-19 01:32:05 +03:00 |
|
levlam
|
51b3711171
|
Better get_message_file_source_id.
GitOrigin-RevId: 4de6e99640bb9fc4b6be8ddbc89817be3d5e1f99
|
2019-01-19 01:19:15 +03:00 |
|
levlam
|
ff0130c48e
|
Use change_files_source in MessagesManager.
GitOrigin-RevId: 46c75e91e6ac02f76dba58feb484e57de5609ea3
|
2019-01-18 23:40:23 +03:00 |
|
levlam
|
d4882f7c07
|
Add change_files_source method.
GitOrigin-RevId: 25078e0ca82d34489727823bfcfa781424f48913
|
2019-01-18 23:12:09 +03:00 |
|
Arseny Smirnov
|
a6e47943c3
|
FileReferenceManager: new queries logic
GitOrigin-RevId: 82592baaed566ef28e044cd0dc9fe67b625ae2ab
|
2019-01-17 23:42:00 +03:00 |
|
levlam
|
8851b9d066
|
Implement FileSource.
GitOrigin-RevId: 2cbeab03d2ea1fa56d9f746c5c6c6a41e28d2795
|
2019-01-14 21:46:04 +03:00 |
|
levlam
|
f54a0c3e70
|
File reference improvements.
GitOrigin-RevId: 40d3ac6cde73503af544df464cc9ff569fb4016d
|
2019-01-05 18:13:27 +03:00 |
|
levlam
|
cc5eaa6b7e
|
Fix addind/removing file source for messages.
GitOrigin-RevId: 726e2671dee6368bce20bac207b8d3929b1a34f6
|
2019-01-03 18:26:44 +03:00 |
|
Arseny Smirnov
|
b53cd5d76a
|
FileReference: better infinity loop protection
GitOrigin-RevId: 068fdbbb574eae03f3bb4b5b06ac3960aaca59c0
|
2018-12-09 10:05:26 +03:00 |
|
Arseny Smirnov
|
bbecdcda20
|
FileReference: minor improvements
GitOrigin-RevId: 22c605f90445d7d6aefefea16c834051e29b1fed
|
2018-12-09 01:00:27 +03:00 |
|
Arseny Smirnov
|
a75726d77a
|
FileManager: file references draft
GitOrigin-RevId: 8d37ee4b5520497df08f49e598ae91825e74e1ea
|
2018-12-05 12:32:31 +03:00 |
|
levlam
|
6cc83f025f
|
Better fir for merge_choose_generate_location.
GitOrigin-RevId: 23286b6d59cbfefae852b63f6cf6daa7e41d2690
|
2019-01-19 22:42:06 +03:00 |
|
levlam
|
c47b737ef7
|
Fix merge_choose_generate_location.
GitOrigin-RevId: 811ba253ffab93da2894d8792186b077e8ab3156
|
2019-01-19 22:35:28 +03:00 |
|
levlam
|
2bb8a7549d
|
Do not check mtime for files generated from log files.
GitOrigin-RevId: 45800dd09ce09dc924d3f9e2cb7592604d3becb6
|
2019-01-18 01:25:11 +03:00 |
|
levlam
|
d375ff0f29
|
Fix file statistics after forwarding files to secret chat.
GitOrigin-RevId: 9ae1f492fe003da011622effadc143e9aad517e9
|
2019-01-11 20:54:27 +03:00 |
|
levlam
|
15dda847f4
|
Fix storage fast statistics after file checking.
GitOrigin-RevId: c912dc17c00ba61e1ad5b11bf6d411783fba58df
|
2019-01-11 20:08:56 +03:00 |
|
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 |
|