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 |
|