levlam
|
16a209cef0
|
Use some unused Status responses.
GitOrigin-RevId: b49d15a22918169b5e1a212e5858dc2e9bd2033e
|
2019-04-28 15:00:06 +03:00 |
|
levlam
|
4d0fed097a
|
Allow zero count in readFilePart.
GitOrigin-RevId: 97e6f7defe69d1993542c356798961333b061e39
|
2019-04-27 17:14:45 +03:00 |
|
levlam
|
fc363c5292
|
Add missing include.
GitOrigin-RevId: 6b6388813d9546be578f6da6a2f705019172db0b
|
2019-04-26 04:05:08 +03:00 |
|
levlam
|
ccfc5337f8
|
Add td_api::writeGeneratedFilePart.
GitOrigin-RevId: 2dfcba1d5f14dfd5e701ac02d3a8fc96090a00f2
|
2019-04-26 03:18:00 +03:00 |
|
levlam
|
2898c8909b
|
Add language_pack_database_size to storageStatisticsFast.
GitOrigin-RevId: 6c11b5b88edd470da8abe2a0459a9067c3cb6d21
|
2019-04-26 01:47:25 +03:00 |
|
levlam
|
be06d10b39
|
Add td_api::readFilePart.
GitOrigin-RevId: 8d44ecfa62dc39d288232248e6db5aad82870729
|
2019-04-26 01:03:31 +03:00 |
|
levlam
|
a26d827a38
|
Improve logging.
GitOrigin-RevId: 90530bd13523ad525d93d67e0634524c1459c8e9
|
2019-04-22 01:25:18 +03:00 |
|
levlam
|
e77bbc7ffc
|
Add separate field for log size in fast storage statistics.
GitOrigin-RevId: 6e76c7ac995db6599a927d54e8d85aed95f020c0
|
2019-04-21 19:22:58 +03:00 |
|
levlam
|
849a4fbdb1
|
Fix fixing of is_dialog_pinned_message_notifications_disabled.
GitOrigin-RevId: 28993e5eead5c487b0e3c1efe1d69ba936561e1a
|
2019-04-19 01:03:33 +03:00 |
|
levlam
|
fe9f1e52d2
|
Add more DcId checks.
GitOrigin-RevId: ca4bfdc046e78ef7e216c8a5bda8e5ddcd88cfec
|
2019-04-09 01:37:20 +03:00 |
|
levlam
|
fb4475e83d
|
Move file_reference and notifications logging from WARNING to INFO.
GitOrigin-RevId: e03ee30dac7fbec2930a3cd1c625b43136d3739f
|
2019-04-08 19:15:39 +03:00 |
|
levlam
|
521227a2f6
|
Minor fixes.
GitOrigin-RevId: 8fdf69db2ee8131aad5a40f5755fc7761f97a633
|
2019-03-29 14:32:50 +03:00 |
|
levlam
|
db66ddf0be
|
Add possibility to download files synchronously.
GitOrigin-RevId: 2b633fcc06a8d8770a6fb31a0d0bd9dac971df9e
|
2019-03-27 21:43:46 +03:00 |
|
levlam
|
8f771b8666
|
Fix ERROR logging.
GitOrigin-RevId: 39570dcd2c009b64e08f3c9193bddc2d8dfe656e
|
2019-03-25 02:29:33 +03:00 |
|
levlam
|
7776513651
|
Ignore .nomedia file in statisitcs and flle gc.
GitOrigin-RevId: 2b1ab488b4686563d4d7368261c784c8cd7ad691
|
2019-03-24 21:36:21 +03:00 |
|
levlam
|
8cbbe017bd
|
Fix registering file sources in FileStatsWorker.
GitOrigin-RevId: 0a971c9248d5d4fa9106d7ef4751d2431a50c80e
|
2019-03-18 00:40:10 +03:00 |
|
levlam
|
b5407cd6bc
|
Minor fixes.
GitOrigin-RevId: 39fb006dd5d935f6dd0b400114d71391463450eb
|
2019-03-17 23:43:58 +03:00 |
|
levlam
|
3268cbdd8a
|
Prefer URL or generate location over local location when storing a file, because local location could be invalidated any time soon.
GitOrigin-RevId: 1782db65a8fc5cfd90f51f755be56b9b6f8d513f
|
2019-03-16 23:25:11 +03:00 |
|
levlam
|
399d13040d
|
Better streaming gffset debug.
GitOrigin-RevId: bb0f5beea36151840685c8c0e33e6ff553e0d9e5
|
2019-03-16 23:13:18 +03:00 |
|
levlam
|
be02d7e58b
|
Move mtime logging to files (maybe temporarily).
GitOrigin-RevId: 2d3bc002782e6df61a300e086dcbdc5affe7b393
|
2019-03-15 22:11:56 +03:00 |
|
levlam
|
6a9a931f29
|
Fix mtime comparison.
GitOrigin-RevId: ba6d77667478bdbb6297b449929b4adcd55c12a1
|
2019-03-15 21:52:54 +03:00 |
|
levlam
|
87eaeb2db2
|
Fix division by 0 in Bitmask::get_ready_prefix_size.
GitOrigin-RevId: c16d3a9a2622d31c3ab186c350d67466e4d99bdc
|
2019-03-09 17:31:52 +03:00 |
|
Arseny Smirnov
|
347a22858c
|
Files: fixes
GitOrigin-RevId: 5469a6c26fbb187fd52ddaf1c8bacfae4ddddbe9
|
2019-03-10 12:31:24 +11:00 |
|
Arseny Smirnov
|
986ce38998
|
PartsManager: recalc streaming_ready_size_ when streaming_offset changes
GitOrigin-RevId: e2b82154cbf9ef1f1bf4ed322f518eb0f4ead0cc
|
2019-03-05 10:48:50 +03:00 |
|
levlam
|
1ee2b63230
|
Fix streaming_ready_size_ calculation.
GitOrigin-RevId: 62ad330749e88188697de7f23b525ac9e426d780
|
2019-03-04 00:37:25 +03:00 |
|
Arseny Smirnov
|
604547adc8
|
FileManager: fixes
GitOrigin-RevId: fd6071262f55fb803f67359b9f7e5075fcec862e
|
2019-02-27 19:00:10 +03:00 |
|
Arseny Smirnov
|
66c604f2d4
|
FileMananger: do not store file reference is persistent file id
GitOrigin-RevId: 6da317bcac575ed4398a8971229250c0948ee097
|
2019-02-27 18:08:24 +03:00 |
|
levlam
|
0bf5825c01
|
Fix set_download_limit.
GitOrigin-RevId: 4f4e77bde657d6586ffbe861e1affc6b3c14d4a2
|
2019-02-27 00:42:54 +03:00 |
|
Arseny Smirnov
|
ffd7b166d9
|
PartsManager: fixes
GitOrigin-RevId: 7e4c663f53aa8b146cf9119ddf8e9fa680bb738b
|
2019-02-26 17:14:07 +03:00 |
|
levlam
|
68afd36808
|
Add logging.
GitOrigin-RevId: d6f3e17e2c37ec4d04c25eb6756cfebfd325ffba
|
2019-02-23 22:34:50 +03:00 |
|
levlam
|
f32ed5c405
|
Add LanguagePackInfo.is_installed field.
GitOrigin-RevId: c32c51a4584ab98aae3b15a1f31cfd9bff268a79
|
2019-02-23 18:29:04 +03:00 |
|
levlam
|
58f63d36d6
|
Fix includes.
GitOrigin-RevId: d633dc842591cd28a03f9fba6974a171926ed229
|
2019-02-22 23:15:43 +03:00 |
|
levlam
|
4d5fb2902c
|
Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
|
2019-02-21 20:54:20 +03:00 |
|
levlam
|
e6b0b19ea8
|
Update comment.
GitOrigin-RevId: 663bef62ac8310fba5aa5c717005a715a21c8985
|
2019-02-21 19:51:52 +03:00 |
|
levlam
|
93494cf048
|
Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
|
2019-02-21 18:58:20 +03:00 |
|
levlam
|
eeceb2c1aa
|
Fix documentation escaping.
GitOrigin-RevId: 691cad7eb078eac7642bd58655a8408d1229b9b1
|
2019-02-20 04:23:02 +03:00 |
|
levlam
|
5ef99afec7
|
Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
|
2019-02-19 16:45:32 +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 |
|
levlam
|
9b42166c68
|
Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
|
2019-02-13 00:26:36 +03:00 |
|
levlam
|
eb9ead582f
|
Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
|
2019-02-12 23:48:16 +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
|
130b49a524
|
Various include and other fixes.
GitOrigin-RevId: 68e03e0636cd4cff3e6fa876342ba16453630f15
|
2019-02-12 19:48:52 +03:00 |
|
levlam
|
c7fff4539f
|
Fix FileLocation.hpp include.
GitOrigin-RevId: 135722eba90cfa17dbd112663f17a7945acd5f72
|
2019-02-12 17:04:12 +03:00 |
|
levlam
|
5fbdc36af0
|
Return include FileData.h.
GitOrigin-RevId: 6c0adfc64ca8774cb7b8c72f01f5ad7965d577ad
|
2019-02-12 16:47:13 +03:00 |
|
levlam
|
b7b5fc0f06
|
A lot of file reference fixes.
GitOrigin-RevId: cfe82f1ea2f6fda7d5c63eb7f19e411fe5df61ff
|
2019-02-10 02:39:58 +03:00 |
|
levlam
|
3db62de13b
|
Temporary clear file_references loaded from database for testing.
GitOrigin-RevId: e8bbb51d76b3e283afe1b7ffa7ad92efa40d6353
|
2019-02-09 19:52:25 +03:00 |
|
levlam
|
6a43a9e91e
|
Support file reference errors in SendMultiMediaActor.
GitOrigin-RevId: ef25dd8bedab0998db1e57572e46e072c5e2e374
|
2019-02-08 17:54:23 +03:00 |
|
levlam
|
60241730da
|
Add td/telegram/files/FileLocation.hpp.
GitOrigin-RevId: a6fd7c026b88006dc0f26694b2299cce2258d6c4
|
2019-02-08 00:00:26 +03:00 |
|
levlam
|
bc8b5d359c
|
Add FileData.hpp.
GitOrigin-RevId: 2bb4c0469c7d9acfbd6c6f21c82718bd7d4c57df
|
2019-02-06 03:06:29 +03:00 |
|
levlam
|
3ed7d4ec34
|
Make FileDb dependency on FileData private.
GitOrigin-RevId: 00cbd0afe5e42d66212e8666e6e7c4d4ed13b9be
|
2019-02-05 22:43:45 +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
|
175da716bb
|
Do not allow to set invalid file referene from server.
GitOrigin-RevId: aabcdd17500097c931a146a61236865f96d759ca
|
2019-01-25 17:44:47 +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
|
0697962c3c
|
FileManager: bugfix - delete empty file reference
GitOrigin-RevId: 60480b877c828b1adcabd9dce9e2f6b8df72646a
|
2019-01-22 18:34:10 +04:00 |
|
Arseny Smirnov
|
faebe9faea
|
FileManager: treat empty file reference as a valid reference
GitOrigin-RevId: ccc70eb4ef7cffe2640426a22cb5074ec6a4c062
|
2019-01-21 18:04:49 +03:00 |
|
Arseny Smirnov
|
d9f51ffb77
|
FileManager: bugfixes
GitOrigin-RevId: c8b289a23ea898fa1772d0184b66b813dcbfe760
|
2019-01-20 18:26:51 +03:00 |
|
levlam
|
14a9580a88
|
Fix some includes.
GitOrigin-RevId: 435f02cc22e19e0aada87dceaccffd7ad68d7ac0
|
2019-01-20 03:21:26 +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
|
e5400074ce
|
Move FileType to FileType.h.
GitOrigin-RevId: 7e35c0f30b7755755b0583704dcfe344cc28d117
|
2019-01-20 00:54:29 +03:00 |
|
levlam
|
3c46828749
|
Move FileDAta to FileData.h.
GitOrigin-RevId: d0724db9881d39ca22fe491dc4809a3f03bf6b2b
|
2019-01-20 00:26:23 +03:00 |
|
levlam
|
13c00abf17
|
Move as_key to FileDb.
GitOrigin-RevId: 4ecd7b79bdf0bc504dc5a3ddd39f971f47d0d1bb
|
2019-01-20 00:12:55 +03:00 |
|
levlam
|
cdefe9b1ee
|
SetWithPosition CE and other fixes.
GitOrigin-RevId: 69278e7906c738924e1a4771b5b755ff349ea26f
|
2019-01-19 20:19:29 +03:00 |
|
levlam
|
3bc0d8eb9a
|
Add FileSourceId.h.
GitOrigin-RevId: 98707d3c9248fb4873ccb8b1e890bb0926bfed73
|
2019-01-19 05:44:31 +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
|
5bf92283b6
|
Add LogInterface::get_file_paths method.
GitOrigin-RevId: 5cb749915b181b33250f56eb5d441d0c22c35800
|
2019-01-18 01:17:20 +03:00 |
|
levlam
|
8dec79e05c
|
Improve FileDownload logging.
GitOrigin-RevId: f01b8365ba65e139b3018c3d1c307bd78521434f
|
2019-01-15 20:57:09 +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
|
a062fa4f0c
|
Forward-declare SqliteConnectionSafe and SqliteDb. Finally, all DB usages are private.
GitOrigin-RevId: 63d904c6ba9e3896f46ce8844e328f77c7e50553
|
2019-01-07 03:17:11 +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
|
97a4f73999
|
Fix PartialLocalFileLocationPtr.
GitOrigin-RevId: c72b2da96bfc01d3c40693863830205145229aa3
|
2019-01-02 21:52:44 +03:00 |
|
levlam
|
649453ce0b
|
Reduce sizeof(LocalFileLocation).
GitOrigin-RevId: cd6911a2654535303bb2b086052e767d5a912caf
|
2019-01-02 21:17:08 +03:00 |
|
levlam
|
2bfc3578f6
|
Always set correct file_type in on_update_local_location.
GitOrigin-RevId: b94e23635d7d975361ab1af2c5dd06fbecf62e42
|
2019-01-01 20:35:08 +03:00 |
|
levlam
|
6b04ed9d4a
|
Remove TODO.
GitOrigin-RevId: 094d7390c8c9b27a5cf1fa8967fe0d790b5b6d9e
|
2019-01-01 20:13:44 +03:00 |
|
levlam
|
13769d7410
|
Add LocalFileLocation output operator.
GitOrigin-RevId: a84cd9f30c4797570146cdf6b8ed5aa902fcf273
|
2019-01-01 20:02:13 +03:00 |
|
levlam
|
594368e571
|
Save expected_size for generated locations.
GitOrigin-RevId: f9902ca187bb39936b640106d466878d4a9457ec
|
2019-01-01 19:26:36 +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 |
|
Arseny Smirnov
|
5a741ce08d
|
PartsManager bugfix: do not set bits in bitmask for empty parts
GitOrigin-RevId: 5fec69b1e1aed975edb7d9901206262abc7151d3
|
2018-12-28 16:16:14 +03:00 |
|
Arseny Smirnov
|
89d5d680d6
|
FileLoader: restart cancelled queries
GitOrigin-RevId: e71c71b25098631ca68de852eece9cb9a37ec775
|
2018-12-28 09:42:36 +03:00 |
|
levlam
|
b4adf4f64f
|
Fix GCC warnings.
GitOrigin-RevId: 11cd0f1dcc992e6cec710a7746040c6e30128c04
|
2018-12-28 04:30:57 +03:00 |
|
levlam
|
b15929f141
|
Better Bitmask output operator.
GitOrigin-RevId: 1640da5cfe0f1d12ef0fc549a0a2c24000625812
|
2018-12-28 03:31:29 +03:00 |
|
levlam
|
239fd79523
|
Move Bitmask output operator to cpp.
GitOrigin-RevId: 2b308d08ffa9e1babca61f3d3c99f34f73253d9f
|
2018-12-28 02:33:07 +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
|
4c5c2422d3
|
Add FileEncryptionKey.h.
GitOrigin-RevId: e21c5ae48403835fb910e55545b64d6edf4f6651
|
2018-12-27 21:06:21 +03:00 |
|
Arseny Smirnov
|
86bf606666
|
Bitmask::encode bugfix
GitOrigin-RevId: 14b62438b50a9806f27d5e5c028a092cc517e6ac
|
2018-12-27 21:06:30 +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
|
4cee00d938
|
PartsManager: truncate unchecked part of a bitmask
GitOrigin-RevId: 733c1f7a2a63a25103e10392780123e1e2289425
|
2018-12-27 12:12:24 +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 |
|
Arseny Smirnov
|
f01329e8ed
|
PartsManager: restart upload when known_prefix_flag changes from outside
GitOrigin-RevId: a16192d1d73eea1337c590920ae425b7cd71f0e1
|
2018-12-27 09:45:19 +03:00 |
|
levlam
|
5182709012
|
Make EmptyRemoteLocation equal to empty partial remote location.
GitOrigin-RevId: 5b8c84dcf53655fe1d8380bf3d6dc552939847a3
|
2018-12-27 04:36:20 +03:00 |
|
levlam
|
c0f19bf6fd
|
Do not drop streaming offset in cancelDownloadFile.
GitOrigin-RevId: 9f8699e85ba82ec84c0e85f9510b691f72af0c47
|
2018-12-27 04:21:08 +03:00 |
|
levlam
|
7ae4b6f220
|
Fix handling of negative offset.
GitOrigin-RevId: ba5a9bbbb5c7cbad6dbe363b84a499b03fe522ea
|
2018-12-27 03:59:17 +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 |
|
Arseny Smirnov
|
dddb598b58
|
PartsManager: bugfixes
GitOrigin-RevId: d98139df4068f14bbecc5cc6f227d6f085c653b2
|
2018-12-27 00:41:52 +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 |
|
levlam
|
e2d1a71d3b
|
Improve as<>.
GitOrigin-RevId: 227b2bae3079bed93936db16c4846c8d0a49bd39
|
2018-12-20 01:46:55 +03:00 |
|
levlam
|
3850a4da7f
|
Move as from common.h to as.h.
GitOrigin-RevId: 3ecc4b4c4ff6c9b070d30cf017e22a8acce0af09
|
2018-12-20 00:57:56 +03:00 |
|
levlam
|
b676fe509a
|
Move UInt to UInt.h
GitOrigin-RevId: 52b6d36d1ece8c267f5548000b2592ffd3a62ded
|
2018-12-20 00:18:53 +03:00 |
|
Arseny Smirnov
|
e0b9cf2586
|
Fixes for updated tdutils
GitOrigin-RevId: 44ef7ad802652dba0f7e90f59fa2b81e72641db1
|
2018-12-19 17:49:13 +03: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
|
9d3ab75c56
|
Fix some spelling.
GitOrigin-RevId: 351e7c32fee3fb9249d561434ba1515082e757b0
|
2018-12-14 01:48:36 +03:00 |
|
levlam
|
6445cf645b
|
A lot of various fixes.
GitOrigin-RevId: 64963bfb55e5ffe8b099c1953143158b44a540c6
|
2018-12-11 23:18:58 +03:00 |
|
levlam
|
bd8295c464
|
Add VLOG file_gc.
GitOrigin-RevId: 816f4f124006e29b0afba6a8e8838612faae4cf3
|
2018-11-16 00:25:08 +03:00 |
|
levlam
|
718f9e3532
|
Fix parsing of std::unordered_set.
GitOrigin-RevId: 6c946161748c71b36382c20e7bacac1299b4b9a8
|
2018-11-11 16:35:51 +03:00 |
|
Arseny Smirnov
|
a80e0621e4
|
FileManager: FILE_GENERATE_LOCATION_INVALID
GitOrigin-RevId: bc66c7e63376a3aca0bdcaf1d7f8cbb57e32eb53
|
2018-11-06 19:02:19 +03:00 |
|
levlam
|
2c6bd673c7
|
Use as_slice<Int> if possible.
GitOrigin-RevId: 931b5609e2eae0d5655287e84a71724f07d4090c
|
2018-11-06 19:00:03 +03:00 |
|
levlam
|
ac9e1da20e
|
Add as_input_document debug.
GitOrigin-RevId: 8b005c0f7e8752d2a5aa9cf85f166a7696484056
|
2018-11-06 17:24:32 +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
|
6ac930139b
|
Const-correct unique_ptr.
GitOrigin-RevId: 938cf4b0261cfea123066ae1fc4197754da11e68
|
2018-09-27 19:51:45 +03:00 |
|
levlam
|
b3bae546ec
|
Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
|
2018-09-27 16:37:15 +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
|
8610734232
|
Fix full_split.
GitOrigin-RevId: 0204740d8ba45faf9f2da5ddca7323c88287a160
|
2018-09-22 14:24:02 +03:00 |
|
levlam
|
31333b5b7f
|
Fix warnings.
GitOrigin-RevId: 1b76215c3fdfd5a05581ab0122704b4e422de410
|
2018-09-11 22:28:10 +03:00 |
|
levlam
|
fc0cbae579
|
Fix some includes.
GitOrigin-RevId: 9b36a638202fb8b34e13494efd6b4a48ff7f4845
|
2018-09-10 04:08:15 +03:00 |
|
levlam
|
fd90bf435e
|
A lot of fixes.
GitOrigin-RevId: c7c16991da51e09a685537a444385852e8e93af4
|
2018-09-07 03:41:21 +03:00 |
|
Arseny Smirnov
|
8a28e4b461
|
Almost compiles
GitOrigin-RevId: aad536022caddba0446a761e7ab1f3b4ac64f53b
|
2018-08-14 10:42:40 +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 |
|
Arseny Smirnov
|
e02ff596ae
|
beter DelayDispatcher and OrderedEventsProcessor destruction
GitOrigin-RevId: eb7ff28c66f326aa9ba2ce9313182a3800fb76e0
|
2018-09-07 16:17:09 +03:00 |
|
levlam
|
7a14de987c
|
Remove unneeded forward declarations.
GitOrigin-RevId: e33aac4e7ac27efe2757fdd421115637359bcf5e
|
2018-09-05 22:31:33 +03:00 |
|
levlam
|
2b72a74ab7
|
Fix finishFileGeneration with error result.
GitOrigin-RevId: b4d766d6832820eb8480d09444a167bd11bc95a3
|
2018-08-29 13:44:21 +03:00 |
|
levlam
|
811cc8f393
|
Better error messages.
GitOrigin-RevId: 9d77793cb6bcc8d3f9c64c01324ca55bd61a08c4
|
2018-08-16 20:31:42 +03:00 |
|
levlam
|
23c03a97f4
|
Various style fixes.
GitOrigin-RevId: 056c091cfd71322a0cc8db0e3bafec7d272da7ad
|
2018-08-16 01:06:53 +03:00 |
|
levlam
|
7fc96ddff5
|
Add missing override specifier.
GitOrigin-RevId: ea9c63f9a1c192285bd88600c2db38307f3ad7f6
|
2018-08-14 17:27:41 +03:00 |
|
levlam
|
8d5c17036a
|
Use Location access hashes.
GitOrigin-RevId: 1f018d5e42e1c657492f2e1da74700632825c8f9
|
2018-08-14 02:11:49 +03:00 |
|
levlam
|
c6bc8f7c3f
|
Add td_api::getMapThumbnailFile.
GitOrigin-RevId: f02f154cc8a3ce62f888bdaf9c159cebcb4a350a
|
2018-08-13 23:18:27 +03:00 |
|
levlam
|
e27e4f405e
|
Move saving bytes to file to FileLoaderUtils.
GitOrigin-RevId: 18734bb0d5172832119da4e658363f6eddaad986
|
2018-08-13 19:30:52 +03:00 |
|
levlam
|
4052bffcd5
|
Update layer 85.
GitOrigin-RevId: 5902d95080c65b2aed40d199f14634dadb30926a
|
2018-08-11 00:08:13 +03:00 |
|
levlam
|
28672b750c
|
Fix CE.
GitOrigin-RevId: 4b8004a7f4b920deac9f069bac03ef7784fc5670
|
2018-07-19 17:45:30 +03:00 |
|
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 |
|
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 |
|
Arseny Smirnov
|
674a99324b
|
PartsManager: bugfix
GitOrigin-RevId: fd8235abdef01c1a384a44b3040ba76c9f4e0c08
|
2018-01-29 17:41:40 +03:00 |
|
Arseny Smirnov
|
666faca521
|
FileDownloader: bugfix
GitOrigin-RevId: dcdbc014b437c1fcd60378aab951877e2726b7b8
|
2018-01-29 15:27:28 +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
|
e66cc39f95
|
Fix walk_path on Windows.
GitOrigin-RevId: ca6eaea457018869aa476009acc3fd0f26a40999
|
2018-01-26 04:06:53 +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
|
644a4ffbea
|
Remove unused field in FileNode.
GitOrigin-RevId: e93f977fcf48192de97a0a69c33aff093406a61d
|
2018-01-24 02:13:22 +03:00 |
|
levlam
|
7f80ee1119
|
Remove FileLocation.type_ field.
GitOrigin-RevId: ffc776f8975522315543bfac25500592831900d6
|
2018-01-20 18:16:51 +03:00 |
|
levlam
|
1dffa9608d
|
Make FileLocation.type_ private.
GitOrigin-RevId: 14841a320804eacbeef501df79c94b3bff2f4d0c
|
2018-01-20 17:57:52 +03:00 |
|
levlam
|
144b2b3aad
|
Make FileLocation.variant_ private.
GitOrigin-RevId: 8360f98d879d860b763eb8ea45ef5bfbdefe3e05
|
2018-01-20 17:17:58 +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 |
|