levlam
|
6f38576467
|
Add FileManager::guess_file_type.
|
2021-01-22 15:17:56 +03:00 |
|
levlam
|
82f0386e73
|
Move some functions from misc.h to algorithm.h.
|
2021-01-01 16:01:03 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
192fd4862f
|
Use td::unique.
|
2020-12-30 18:50:57 +03:00 |
|
levlam
|
3f33d15879
|
Always adjust part size to keep low number of parts in downloaded files.
|
2020-11-17 02:59:58 +03:00 |
|
levlam
|
52a47b5f70
|
Add small margin for the maximum number of file parts on download.
|
2020-11-17 01:19:27 +03:00 |
|
levlam
|
5719636fa2
|
Add temporary reuse_uploaded_photos_by_hash option.
GitOrigin-RevId: 99fc8dae067322c51ad489f50d60979f62fa4213
|
2020-10-30 16:01:43 +03:00 |
|
levlam
|
9558b06021
|
Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
|
2020-10-17 22:47:47 +03:00 |
|
levlam
|
6f71dca6e6
|
Remove some explicit td::.
GitOrigin-RevId: 93e5f0e98900a9a3b68f35e9123b2b40942879d3
|
2020-10-08 18:44:34 +03:00 |
|
levlam
|
fdc3920572
|
Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
|
2020-10-08 18:30:36 +03:00 |
|
levlam
|
8a607933a7
|
Rename "files" log tag to "file_loader".
GitOrigin-RevId: 24fca707a99eeb32adabcca46131123d584f2c1d
|
2020-10-05 22:08:24 +03:00 |
|
levlam
|
d2d0cb5cc0
|
Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
|
2020-10-05 18:07:23 +03:00 |
|
levlam
|
1fe397e43d
|
Make optionValueInteger value int64.
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
|
2020-09-25 00:46:16 +03:00 |
|
levlam
|
90ee4bd63c
|
Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
|
2020-09-24 19:15:42 +03:00 |
|
levlam
|
cb3f390a92
|
Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
|
2020-09-22 02:15:09 +03:00 |
|
levlam
|
25accb2d4d
|
Silence expected warning.
GitOrigin-RevId: 82f914b98914abfdecc2aa7d4dfc55ea6ef0d0ed
|
2020-09-14 19:06:51 +03:00 |
|
levlam
|
6d23ea4aa9
|
Do not change download order after file merge.
GitOrigin-RevId: cb1327b7b78cd42cd873040acca328ed00dddb2b
|
2020-09-11 18:57:49 +03:00 |
|
levlam
|
51f8ed3526
|
Fix FileLoader closing.
GitOrigin-RevId: 85ee2acb100e160fd13752ef8fb238dcd63e1f35
|
2020-09-03 00:16:49 +03:00 |
|
levlam
|
b8419b7832
|
Wait DelayDispatcher closing before FileLoader closing.
GitOrigin-RevId: c2e4762be2512b1b4ed17b915c6ed2ef480bfdf4
|
2020-08-27 00:52:01 +03:00 |
|
levlam
|
e04232559a
|
Add debug for queries sent to DelayDispatcher.
GitOrigin-RevId: 939fe59213774ba7cc91b00a86e614c29b189533
|
2020-08-26 12:41:15 +03:00 |
|
levlam
|
0e327efc7c
|
Do not cancel already cancelled download/upload queries.
GitOrigin-RevId: 7a601fa4370a9afd6f81271abfb63edab4f31394
|
2020-08-26 12:33:48 +03:00 |
|
levlam
|
3b4d55233c
|
Improve protected parts calculation.
GitOrigin-RevId: f066b0680a11b6c376eead756f9d67880eb6d17e
|
2020-08-26 12:24:06 +03:00 |
|
levlam
|
093ba9c9d4
|
Change offset and limit simultaneously.
GitOrigin-RevId: eb07ec70a9048c4b5a5a5e0f1e17431b8528e6de
|
2020-08-25 18:58:37 +03:00 |
|
levlam
|
3cc97684ec
|
Fix tdweb build.
GitOrigin-RevId: 3609f3fa52030a242d0587d2ca6f584417af247b
|
2020-08-25 16:32:22 +03:00 |
|
Arseny Smirnov
|
51ff6105cb
|
FileLoader: fix queries cancelling
GitOrigin-RevId: 8350a262e0c51563e987e66e77ba1922bb2f5a4d
|
2020-08-21 16:32:31 +03:00 |
|
Arseny Smirnov
|
e3fa28d457
|
PartsManager: fix wrong FILE_DOWLOAD_LIMIT error
GitOrigin-RevId: 89a22ae3a494c66dcb0a19abf0cd243e3ffc1875
|
2020-08-21 15:54:18 +03:00 |
|
Arseny Smirnov
|
4f41cfcbff
|
FileLoader: smarter cancelling of queries when offset changes
GitOrigin-RevId: 2131d416eda29d93d85e8d655964c0a92cdfaf57
|
2020-08-21 15:53:11 +03:00 |
|
Arseny Smirnov
|
3b18309e80
|
FileManager: attempt to close ForceUpoadActor
GitOrigin-RevId: 5c53784b7b49c41347477c2f7808cc2845d12463
|
2020-08-13 20:04:06 +03:00 |
|
levlam
|
ceb49d0143
|
Simplify parser.start_with usage.
GitOrigin-RevId: 465e51bba514259ebe15976d2612e1a46754a841
|
2020-07-21 14:24:55 +03:00 |
|
levlam
|
405934676e
|
Change file_id type in as_profile_photo.
GitOrigin-RevId: fe45d895b4781c942512d5c838d99449431440d3
|
2020-07-20 17:46:54 +03:00 |
|
levlam
|
e16952121b
|
Use emplace whenever possible.
GitOrigin-RevId: 67cd8e3b6331c5e1671a9d662f034af1e29d3ac6
|
2020-07-13 23:20:16 +03:00 |
|
levlam
|
82fdcd279c
|
Drop outdated full Chat/Channel photo.
GitOrigin-RevId: 047da02c13e0de58a5fd3ca4a94e3b23485ec548
|
2020-07-06 18:40:58 +03:00 |
|
levlam
|
040ce6c529
|
Move get_persistent_id to FileView.
GitOrigin-RevId: e56d5998c515c5d5e93d31f8922a677f08a17243
|
2020-07-06 18:31:26 +03:00 |
|
levlam
|
53d694a01c
|
Fix get_actor_unsafe usages.
GitOrigin-RevId: f39aa2d0a2083842698337bb34457826c1951be6
|
2020-07-04 12:00:14 +03:00 |
|
levlam
|
2ac8c164ff
|
Increase maximum file size.
GitOrigin-RevId: d4da965e7ecea03bc3eb356c41a81a715a06ace0
|
2020-07-03 17:31:06 +03:00 |
|
levlam
|
5507d58339
|
Better handling of secondary file types in scan_fs.
GitOrigin-RevId: 7602a2e14c39fb280be03053160e2ad922ea1ca4
|
2020-06-28 22:04:21 +03:00 |
|
levlam
|
c5cba87bf6
|
Improve user photo registration.
GitOrigin-RevId: 323513d5a30710bb8aabde9476b09be2eb8bd059
|
2020-06-27 21:59:10 +03:00 |
|
levlam
|
eb79c3084e
|
Silence FILE_DOWNLOAD_ID_INVALID error logging.
GitOrigin-RevId: e332bc61d58f536a57ce4a10a7da0f6779fa5184
|
2020-06-27 19:48:08 +03:00 |
|
levlam
|
8872fbf6ac
|
Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
|
2020-06-26 02:24:13 +03:00 |
|
Arseny Smirnov
|
fd6423dedf
|
update tdutils from another project
GitOrigin-RevId: 79b8eb2ba229d733f82dbb17b8bd7f27471c9472
|
2020-06-24 14:47:36 +03:00 |
|
levlam
|
d01c906f53
|
Add get_main_file_type.
GitOrigin-RevId: 138fc28f8c8e59a8583514b53ce37750f2f0360a
|
2020-06-22 08:43:00 +03:00 |
|
levlam
|
9334243a5d
|
Unify conversion function names.
GitOrigin-RevId: 10def5544dfd6a94ff89b15441006d102b512439
|
2020-06-22 04:28:03 +03:00 |
|
levlam
|
32af19acfe
|
Improve constant name.
GitOrigin-RevId: 650c2c1ef42bb4d31f4cd5094cca5d251cc6c28a
|
2020-06-22 02:27:58 +03:00 |
|
levlam
|
d75c6eff57
|
Add FileType.cpp.
GitOrigin-RevId: 8ed89c8f90d3d83d810bdaede43d839962fea6fe
|
2020-06-22 02:20:48 +03:00 |
|
levlam
|
d5b4c57993
|
Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
|
2020-06-22 02:02:21 +03:00 |
|
levlam
|
2ed9cb3b75
|
Minor fixes.
GitOrigin-RevId: ce9058c2075281697cc41de2ab970dd11e189f77
|
2020-06-13 05:13:11 +03:00 |
|
Arseny Smirnov
|
541f15bd68
|
files: better debug message in 'Cycle in database' error
GitOrigin-RevId: 8817236d9a4a628468663c68f48f8990a2317f96
|
2020-06-09 17:04:47 +03:00 |
|
levlam
|
9c5c112733
|
Fix max file size checks.
GitOrigin-RevId: 04695d57d2e32db680308a45ca7adad2f87ebe11
|
2020-06-03 21:22:58 +03:00 |
|
levlam
|
6172ece619
|
Do not check size exceeding of downloaded file.
GitOrigin-RevId: e7a7ca59867328737fe63db6aa60398229bd85a1
|
2020-06-01 21:35:06 +03:00 |
|
levlam
|
280d6f6649
|
Fail download in case of error in on_download_ok.
GitOrigin-RevId: 20ab3d279d54c945bfe4d114e9980ff8b636f292
|
2020-06-01 20:48:18 +03:00 |
|
levlam
|
d5c6c51f15
|
First check existence of generate location in run_generate.
GitOrigin-RevId: e4a9ac3a7cef153bde854a058bcd81a371d58dd7
|
2020-05-24 21:35:47 +03:00 |
|
levlam
|
f2cb3afaef
|
Increase maximum photo size for upload by hash.
GitOrigin-RevId: b7dbcaf4710d04b03fc8eaf1d0c1c51ad5224829
|
2020-05-07 18:37:49 +03:00 |
|
levlam
|
99ffc0c5da
|
Add logging.
GitOrigin-RevId: 4e039d5973121b82dcf118ba34a6a5835b6f7502
|
2020-05-04 03:01:01 +03:00 |
|
levlam
|
c8f56c62d8
|
Do not try to reuse file_id without remote location.
GitOrigin-RevId: 2dd994de062d1f640982923e4a7970fd7bbda583
|
2020-05-04 16:01:35 +03:00 |
|
levlam
|
3175ed4c0a
|
Minor fixes.
GitOrigin-RevId: e10945b585d067da0b6a532b9d9210aade7673d4
|
2020-04-30 22:21:42 +03:00 |
|
levlam
|
d26cf8f8a3
|
Add temporary "upload by hash" for photos.
GitOrigin-RevId: f2fca54bce80d3eb9a84a7f4f6326e98633417a5
|
2020-04-24 00:50:14 +03:00 |
|
levlam
|
8681b76de2
|
Minor fixes.
GitOrigin-RevId: b75bac1586ed36b91b7c2ab64c386f94f18d8539
|
2020-04-21 03:29:20 +03:00 |
|
levlam
|
87afb93b93
|
Fix some ID spelling.
GitOrigin-RevId: cdd8cdb93696c690cf7bdb9b2df175bb926a7510
|
2020-04-19 13:45:37 +03:00 |
|
levlam
|
cd7a9d7b3a
|
Fix updating of last_successful_force_reupload_time_.
GitOrigin-RevId: c213f39ba0bb75d541f8c007cebb4dfa81de03fc
|
2020-04-11 03:56:19 +03:00 |
|
levlam
|
ba5e5f0ece
|
Allow to reupload file again after successful merge.
GitOrigin-RevId: 46bc9d002f804fe6c39e1ba8844740141e0a6f9f
|
2020-04-10 03:43:35 +03:00 |
|
levlam
|
00a70b466d
|
Do not add file source from self-destructing messages.
GitOrigin-RevId: 5ac703d188ec532a52efa8549ee8c7e63a78a78b
|
2020-04-09 18:43:27 +03:00 |
|
Arseny Smirnov
|
5c0be2f24f
|
FileManager: trying to cancel upload/download in run_{upload,download} before any other checks
GitOrigin-RevId: 3df57338d0a0fcec3fb04a11ff21b090909c9c83
|
2020-04-09 12:53:00 +03:00 |
|
levlam
|
29c81b4252
|
Warn on DcId change only for server locations.
GitOrigin-RevId: 04f11a63d84882f7c1ccd15a79845b7482c6a451
|
2020-03-31 02:16:23 +03:00 |
|
levlam
|
05253ca35e
|
Add td_api::setStickerSetThumbnail.
GitOrigin-RevId: 1083c307cf89744c4dcfa16f89eaec1d2660309f
|
2020-03-20 16:36:07 +03:00 |
|
levlam
|
c4023a3f9b
|
Use KB instead of kB for 1024 bytes.
GitOrigin-RevId: 163ebf3f28f5e6f6710b3ff85bdfc21996c67acb
|
2020-03-20 03:20:07 +03:00 |
|
levlam
|
d06a786a16
|
Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
|
2020-03-16 01:01:14 +03:00 |
|
levlam
|
b8848a2ab4
|
Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
|
2020-03-16 00:17:11 +03:00 |
|
levlam
|
8d01251f8b
|
Add NetQueryCreator::create_unauth.
GitOrigin-RevId: 79043a3662b0353f000f388b3ee2763abf49fe2d
|
2020-03-15 04:51:14 +03:00 |
|
levlam
|
c4c9e51157
|
Make all fields required in full NetQueryCreator methos.
GitOrigin-RevId: aa8ebb5cc46b9f3b7c0b606c012ace5fafe2bbf2
|
2020-03-15 04:15:54 +03:00 |
|
levlam
|
ad3c28932b
|
Remove manual Gzip flag specification in query creation; support uploaded files pack.
GitOrigin-RevId: 46ddfc230182615517eac7b611a79284559bd694
|
2020-03-15 02:49:10 +03:00 |
|
levlam
|
f752f3fade
|
Fix warning.
GitOrigin-RevId: e36b575836941252e7c91d6fcf9498d80af9977b
|
2020-03-03 16:21:46 +03:00 |
|
levlam
|
a1e93ebba5
|
Add optimizeStorage.return_deleted_file_statistics.
GitOrigin-RevId: f7533781027891624017c605b1d3ac3e91da5086
|
2020-03-02 11:59:47 +03:00 |
|
levlam
|
bd0621eeff
|
Optimize adding new files to FileStats.
GitOrigin-RevId: bceb6a4540f45339fed92c1a83b19d1981634836
|
2020-03-02 02:55:08 +03:00 |
|
levlam
|
0b30530260
|
Minor file GC improvements.
GitOrigin-RevId: a14b6e219ad90537875108b3e42473bf33267855
|
2020-03-02 02:41:47 +03:00 |
|
levlam
|
9862652e14
|
Use the exact file size instead of the real file size in fast storage statistics on Windows, because the real file size is smaller then expected before the file is synced.
GitOrigin-RevId: 451231c899c1b6c6b80b46e2cb42bd3b94def0a5
|
2020-02-19 17:57:30 +03:00 |
|
levlam
|
e60cf58d68
|
Reget profile photo on LOCATION_INVALID.
GitOrigin-RevId: ca1b929d21537a403d1893bcb79c1a7a61694ad7
|
2020-01-27 14:39:19 +03:00 |
|
levlam
|
b9d1b80f6a
|
Do not remove file reference from remote.id.
GitOrigin-RevId: 3c934cec452f4ca4147aa81711fcd0ac1fee964a
|
2020-01-16 05:09:25 +03:00 |
|
levlam
|
06eb99d4d0
|
Return back correct file_id version.
GitOrigin-RevId: 53572782a4f54512022ce8e065e546a850951302
|
2020-01-16 04:56:45 +03:00 |
|
levlam
|
cf019bb59c
|
Clear invalid file references loaded from database.
GitOrigin-RevId: 12d060ea93146f62190d9fa97421a7931cf29b8d
|
2020-01-16 04:52:36 +03:00 |
|
levlam
|
89d7374272
|
Temporarily disable CDN if streaming is enabled.
GitOrigin-RevId: e6479f76a1a226d27268744421a904b4849edf17
|
2020-01-08 20:15:49 +03:00 |
|
levlam
|
a06f02b747
|
Fix misprint.
GitOrigin-RevId: e7bcfcd2ada1b78906d5e5f9228e920be2a00a8c
|
2020-01-06 18:02:42 +03:00 |
|
levlam
|
b88730f635
|
Better logging.
GitOrigin-RevId: d5aa21fee3d0f9af6fdec13df45c7352850b8b86
|
2020-01-06 17:54:16 +03:00 |
|
levlam
|
c8bf8fa5f7
|
Use real allocated file size in storage statistics.
GitOrigin-RevId: 6e5232700d8e97ba3ce0838c3bf7764541b6fd2a
|
2020-01-03 04:08:22 +03:00 |
|
levlam
|
db7573769f
|
Update layer 107.
GitOrigin-RevId: c892d895c8d963e68ad8e3e2bdc9ec6279ea046b
|
2020-01-03 02:14:02 +03:00 |
|
levlam
|
37d354d3c4
|
Add more logging.
GitOrigin-RevId: a6b927c52e37c29fa62029d59fd96375af87b14e
|
2020-01-02 03:38:47 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
Arseny Smirnov
|
8045132040
|
Fix system time it it goes backwards
GitOrigin-RevId: 3992a79df98fb164f5a410e756aa9e87ea853c38
|
2019-12-24 19:51:41 +04:00 |
|
levlam
|
adb10460b2
|
Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
|
2019-12-23 20:48:30 +03:00 |
|
levlam
|
1a9fe6a40d
|
Make FileManager::Query::Type enum class.
GitOrigin-RevId: 031229295e1d6e41e0569363d0262e7ce83832c4
|
2019-12-23 17:32:03 +03:00 |
|
levlam
|
03066d10c9
|
Do not store photo.id in file_unique_id.
GitOrigin-RevId: 51a888c863b90f220964444255c46c9ac5e91c2e
|
2019-12-23 04:32:02 +03:00 |
|
levlam
|
2714fbf1f8
|
Fix some preauthentication requests.
GitOrigin-RevId: 1bbbbef17b740140ae99c4972d569306f6ca52ac
|
2019-12-13 04:00:33 +03:00 |
|
levlam
|
8c495d99e6
|
Use TRY_RESULT_ASSIGN.
GitOrigin-RevId: 99b60b9044fab9357a3440aed7da55f146677e6b
|
2019-12-08 09:57:33 +03:00 |
|
levlam
|
917a3af6ac
|
Fix some includes.
GitOrigin-RevId: c82e599631dd678f2c69fbf7fd3e9b3cd23ed965
|
2019-11-26 21:57:48 +03:00 |
|
levlam
|
12cd507909
|
Remove some misc.h usages in headers.
GitOrigin-RevId: 3f5ca0369113e9815935a6c6cb0fe0c5a051c248
|
2019-11-26 20:53:50 +03:00 |
|
levlam
|
56eb8e0f9a
|
Update layer to 104.
GitOrigin-RevId: a83eaf0a77fba5ccb0d34f690b2031c2ff5550f2
|
2019-11-08 19:23:05 +03:00 |
|
levlam
|
e8ea4b5c9e
|
Better type for unique_id.
GitOrigin-RevId: 2b5f5948f798bc44d0cbc9fba6b483ee2e275025
|
2019-10-25 18:01:33 +03:00 |
|
levlam
|
d66e57a3af
|
Remove redundabt web_location_flag_.
GitOrigin-RevId: 0f24358ab873d2d49ef115ab9dbcdf86c72e0c7e
|
2019-10-25 17:46:35 +03:00 |
|
levlam
|
df15f8a8db
|
Inline full_type to FullRemoteFileLocation::store to minimize misusage probability.
GitOrigin-RevId: 48c147f10c36a00926aa976b5272992ac1ead277
|
2019-10-25 17:18:51 +03:00 |
|
levlam
|
edd3bb94a4
|
Add td_api::remoteFile.unique_id.
GitOrigin-RevId: b6355e905d7268aefbb4dd2e951b15e12504ee54
|
2019-10-25 17:04:01 +03:00 |
|
levlam
|
d5ba35e2f0
|
Temporarily fix file_id version.
GitOrigin-RevId: bb97188814e9eda25287b6127d0991b8157726ba
|
2019-10-24 21:44:57 +03:00 |
|
levlam
|
aa752468fc
|
Use telegram_api::inputPhotoLegacyFileLocation instead of inputFileLocation.
GitOrigin-RevId: da7e4fb8935b08b654663c650f31013f8a8b3f12
|
2019-10-24 17:00:01 +03:00 |
|
levlam
|
918f6a0cfd
|
Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
|
2019-10-22 02:12:58 +03:00 |
|
levlam
|
56c3a2fbed
|
Use td::remove_if.
GitOrigin-RevId: 5cf21381966dc58689a06cc94cb8843fd8087bb9
|
2019-10-21 16:25:56 +03:00 |
|
levlam
|
c1a201fd7f
|
Use main remote location for upload.
GitOrigin-RevId: 1a77b73bf73608e219cbf2a0d888f33b0c406a80
|
2019-11-17 22:41:28 +03:00 |
|
levlam
|
35bf5e2f32
|
Add more logging.
GitOrigin-RevId: 4e84e89517d3e28911f8d876fe3ccc6ef741c4f5
|
2019-11-17 01:43:47 +03:00 |
|
levlam
|
bda15f31e4
|
Do not try to force file reupload too often.
GitOrigin-RevId: 533e25add08f00daf06c1ce1e42a111c930ef41e
|
2019-11-16 20:09:27 +03:00 |
|
levlam
|
a0fa744735
|
Make FileEncryptionKey fields private.
GitOrigin-RevId: 06ec5e24b9154e1830fd3d37b833df60609c675a
|
2019-10-24 20:17:37 +03:00 |
|
levlam
|
0d375251a4
|
Fix logging of FileEncryptionKey by @chipitsine and cppcheck.
GitOrigin-RevId: 6292860a243435541a6c9632d0c214c495cd9835
|
2019-10-24 20:09:09 +03:00 |
|
levlam
|
3c880b13f7
|
Fix reuploading of generated files and thumbnail with invalid file_references.
GitOrigin-RevId: caf0df74bde926001188f867f6f1a098834da32e
|
2019-10-18 04:31:28 +03:00 |
|
levlam
|
c91efe472b
|
Add force to another overload of get_input_media.
GitOrigin-RevId: fc64a9f6ee08e5432c6475f8b1493bcd2524ae4f
|
2019-10-09 02:59:25 +03:00 |
|
levlam
|
0b6c1d226f
|
Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
|
2019-09-28 05:14:21 +03:00 |
|
levlam
|
f29c4a9ed1
|
Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
|
2019-09-15 06:19:46 +03:00 |
|
levlam
|
4d72f8c14b
|
Minor fixes.
GitOrigin-RevId: cc03c7e7a507fab2308495ea23f8ef9630a8142f
|
2019-08-30 04:56:01 +03:00 |
|
levlam
|
197acde4d4
|
Fix first letter case in error messages.
GitOrigin-RevId: 004d1535d3fb04e51a088ad43f2386dea05b7c9c
|
2019-08-26 04:53:22 +03:00 |
|
levlam
|
ba5ae7229a
|
Mark Bitmask::oompress const.
GitOrigin-RevId: 9dc12cb8b24afe5613e0dbdfca48da30da4c59b5
|
2019-08-23 19:25:07 +03:00 |
|
Arseny Smirnov
|
e1046570a3
|
FileUploader: fix race with partial location deletion
GitOrigin-RevId: fa3cd8ca2cd5b376d557242a6b5f296dc09c90f4
|
2019-08-20 10:42:21 +03:00 |
|
Arseny Smirnov
|
24f31ad888
|
FileManager: download big files with unknown size
GitOrigin-RevId: 3f4246f2d61127015138a32f2e93c8f932a81c50
|
2019-08-19 12:31:25 +03:00 |
|
levlam
|
84695437d3
|
Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
|
2019-08-14 03:13:34 +03:00 |
|
levlam
|
bb24ec0629
|
Fix tdutils after merge.
GitOrigin-RevId: 3eceb2e574a737a78dc5414e535e416c86d23f7a
|
2019-08-13 23:52:54 +03:00 |
|
Arseny Smirnov
|
e07b03dea3
|
tdweb: experiments with storing incoming files into indexeddb
GitOrigin-RevId: 7ab38676faaf5eb4e8b4c43b05c268d0ea2784de
|
2019-07-24 15:07:55 +03:00 |
|
Arseny Smirnov
|
5a032743e6
|
Fix errors from tdutils import
GitOrigin-RevId: 3709df12a3050cf05e2bb482b49490a4e874f075
|
2019-08-12 16:53:17 +03:00 |
|
levlam
|
ad167a48ba
|
Pass Slice to parse_url.
GitOrigin-RevId: e6cd357042b827ca56a11bb377c8b07ccd120230
|
2019-08-05 12:56:28 +03:00 |
|
levlam
|
84b33cd6a8
|
Add ConstParser.
GitOrigin-RevId: 58ef5b7e6d2568729228c11a3a495794f98566ad
|
2019-08-05 12:42:42 +03:00 |
|
levlam
|
b4cc4fea93
|
Check for old files in save_file_bytes.
GitOrigin-RevId: 8e45c35c56a1b4e41b42bbeef3322002be351e69
|
2019-08-04 00:53:06 +03:00 |
|
levlam
|
84dba6cd8e
|
Add Debian 10 to build instructions generator.
GitOrigin-RevId: 10a156b2d27bcda835e4177ef09d0d8b5c82c511
|
2019-08-01 21:47:59 +03:00 |
|
Arseny Smirnov
|
0517c8ff4a
|
SecureManager: reupload file on SECURE_SECRET_INVALID error
GitOrigin-RevId: 93b2fb8a5b48511720efcceabd3055bc0c49409b
|
2019-08-01 18:26:43 +03:00 |
|
Arseny Smirnov
|
331c8b52c1
|
FileLoader: add comment about FILE_UPLOAD_RESTART
GitOrigin-RevId: e8fb51da493cacd00af5ec7585cd8a95b605838a
|
2019-08-01 16:03:11 +03:00 |
|
levlam
|
108dc0d4f8
|
Remove END_PARSE_FLAGS_GENERIC.
GitOrigin-RevId: c9a47a56158829aca0572bab1497e3aebcc7216d
|
2019-08-01 03:40:28 +03:00 |
|
Arseny Smirnov
|
1d570ca85c
|
PartsManager: handle some errors
GitOrigin-RevId: c0f65cce76ece49ec99557503d79da66995e44c8
|
2019-07-31 18:04:38 +03:00 |
|
Arseny Smirnov
|
4d33451758
|
PartsManager: restart upload when uploaded size is more than we have locally
GitOrigin-RevId: e307dbd150e97b04c73a9d40556dd26d9e6e4a00
|
2019-07-31 16:48:59 +03:00 |
|
Arseny Smirnov
|
29b807d660
|
TRY_END_PARSE_FLAGS_GENERIC
GitOrigin-RevId: c68a348c7466daa7ab3b6b93217585a18458885d
|
2019-07-31 13:45:32 +03:00 |
|
Arseny Smirnov
|
6ef242ad38
|
minor
GitOrigin-RevId: 01ead4852dbe67fcd04079049039f11b2f1e15e4
|
2019-07-30 21:29:52 +03:00 |
|
Arseny Smirnov
|
655add2ec0
|
PartsManager: some fixes
GitOrigin-RevId: fedd9458f18179cdabef579cdc251f8006a3f61e
|
2019-07-30 21:27:39 +03:00 |
|
levlam
|
2fd851dfe2
|
Repair sticker set thumbnail if changed.
GitOrigin-RevId: 1b0e2e997338d85249e6eee877ab0483d9826342
|
2019-07-30 18:43:29 +03:00 |
|
Arseny Smirnov
|
089d73953c
|
FileManager: reload photo on FILE_ID_INVALID
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
|
2019-07-30 17:42:36 +03:00 |
|
levlam
|
38e4310b71
|
Remove standalone Sha256State functions.
GitOrigin-RevId: 5db80ea1902a6fe8a635081a8b050a19528f9f90
|
2019-07-23 03:50:03 +03:00 |
|
levlam
|
4ee295a29e
|
Use Sha256State directly.
GitOrigin-RevId: 4fbbafbd14c43a551e9c24de65a6feed2b44b09e
|
2019-07-23 03:20:11 +03:00 |
|
levlam
|
635aca2924
|
Fix tdutils after update.
GitOrigin-RevId: afc6d10dd0e2b2a7193dd2c96f07d5ca1cb11a00
|
2019-07-21 21:07:07 +03:00 |
|
levlam
|
e76c98ad74
|
Fix animated stickers extension.
GitOrigin-RevId: 69d65bd19e46fe2eb2dc6ebb4afd6dd64164ffc9
|
2019-07-18 19:47:29 +03:00 |
|
levlam
|
6d61dcdc15
|
Fix warning.
GitOrigin-RevId: 337e0948847966a402cfd0372ed8393e5f7064c9
|
2019-07-15 21:47:07 +03:00 |
|
levlam
|
5a7f326140
|
Support animated stickers.
GitOrigin-RevId: f4a02797a47ffb39eaeee5bcc75ad4b5231dfdfd
|
2019-07-15 03:43:05 +03:00 |
|
levlam
|
d694b24418
|
Fix warnings.
GitOrigin-RevId: d3780ae558619ab6beb1fc7dc582285abdd280ca
|
2019-07-01 19:52:48 +03:00 |
|
levlam
|
572808eb43
|
Fix parsing old wallpaper remote.file_id.
GitOrigin-RevId: 29ed97ec9ebf31d396a849dbce36a7e710cf3026
|
2019-06-27 03:13:27 +03:00 |
|
levlam
|
c5eace2057
|
FileFd::stat fixes.
GitOrigin-RevId: 36197c4d134e4afe902eef066dc497c03228c271
|
2019-06-20 05:09:03 +03:00 |
|
levlam
|
8cf10f3fd3
|
Add PhotoSizeSource FileType checks.
GitOrigin-RevId: 92685f8d05de9543e381ba753e8fe66dbeee286e
|
2019-06-20 04:53:50 +03:00 |
|
levlam
|
e6cc07a244
|
Split DialogPhoto to Small and Big.
GitOrigin-RevId: 4c5800b4fb80c5f870577f93e9afdebf6b2b16b3
|
2019-06-20 04:35:08 +03:00 |
|
levlam
|
9675331eaa
|
Add PhotoSizeSource file_type checks.
GitOrigin-RevId: e2b79fa71a2547ea5f065bc94691f28a6fe3d904
|
2019-06-20 03:51:37 +03:00 |
|
levlam
|
5022fa26aa
|
Move secret to PhotoSizeSource.
GitOrigin-RevId: 99506d685d672a790e9b276ed14b18ae66792703
|
2019-06-19 03:53:11 +03:00 |
|
levlam
|
9a77b26a8a
|
Add PhotoSizeSource.h.
GitOrigin-RevId: 63330f66b3459ecf9b2fdbce4d35faca7542ec3b
|
2019-06-19 03:18:44 +03:00 |
|
levlam
|
59fd30237e
|
Add Variant parser and storer.
GitOrigin-RevId: e6b8e46184f67fed50ce96a58a8ba33c17789c57
|
2019-06-19 02:48:34 +03:00 |
|
levlam
|
0a380017d4
|
Remove PhotoSizeSource.type field.
GitOrigin-RevId: ef13086515430194150728f7ede427b6c87ba175
|
2019-06-18 19:56:59 +03:00 |
|
levlam
|
c38180f014
|
Move file_type inside PhotoSizeSource::Thumbnail.
GitOrigin-RevId: 0cf016d083bbd39d2a7abf7e2e1c267b4af29e90
|
2019-06-18 19:45:26 +03:00 |
|
levlam
|
b92223a61c
|
Remove OfflineInputPeer.
GitOrigin-RevId: 1a3706ab5c923ba3dfb065c642e103fd9df688c9
|
2019-06-18 19:17:31 +03:00 |
|
levlam
|
b9a1ceec05
|
Remove OfflineInputStickerSet.
GitOrigin-RevId: 144f639f5c22e652a98505856fd4b6327f27deff
|
2019-06-18 18:59:32 +03:00 |
|
levlam
|
984ccd3d75
|
Update remote location when source is changed.
GitOrigin-RevId: fc2f41f1f47cc65b5aadbec14a302d8ab2d03d5f
|
2019-06-18 18:40:46 +03:00 |
|
Arseny Smirnov
|
ff3164ff04
|
Fd::stat returns Result<Stat> instead of Stat
GitOrigin-RevId: 7bdb5f0d65df55424db302e4df060b697d8ee11d
|
2019-06-19 16:31:25 +02:00 |
|
levlam
|
853c0986d9
|
Use static_cast to cast to bool.
GitOrigin-RevId: b62a74880cee8984ddf9607141b350f979000b4b
|
2019-06-18 03:21:55 +03:00 |
|
levlam
|
5273b48afe
|
Use 0 as photo location secret.
GitOrigin-RevId: 53c9f487014da1430a58676424a1ab5797469f25
|
2019-06-18 01:33:32 +03:00 |
|
levlam
|
cfc9cc5f28
|
Remove support for two file references.
GitOrigin-RevId: 3bf8031e9cc8bcd95e8cb74246c32d9198991aa1
|
2019-06-17 05:37:57 +03:00 |
|
levlam
|
e59c88b22d
|
Remove PhotoSizeSource.AsKey.
GitOrigin-RevId: c67a766c4496524393a59ed23801f6a60e5338d0
|
2019-06-13 02:05:00 +03:00 |
|
Arseny Smirnov
|
4b113527b2
|
Files: new remote (persistent) id version
GitOrigin-RevId: 9935066e24e9fff6c4b82b57b55ea2d517119b4b
|
2019-06-12 17:28:00 +03:00 |
|
levlam
|
e5f068e47a
|
Minor fixes.
GitOrigin-RevId: 49ed5d6671efa92dec7b09fa8e7863e3665ea355
|
2019-06-12 16:05:22 +03:00 |
|
levlam
|
3a2bdc5031
|
PhotoSizeSource fixes.
GitOrigin-RevId: 7e7aa8a0f4a5daf50548f1dc0c4cc8ff7358942d
|
2019-06-12 14:42:06 +03:00 |
|
Arseny Smirnov
|
e38afe63cc
|
Add PhotoSizeSource into FullRemoteFileLocation
GitOrigin-RevId: ce4e2c6a4dcd62684aa0916ead9c910afd6e932d
|
2019-06-11 13:10:14 +03:00 |
|
levlam
|
4c781ebb7b
|
Update layer to 98.
GitOrigin-RevId: 7bc09a6ec637f12b2f90bc1fb6d82903feffc376
|
2019-06-08 12:26:35 +03:00 |
|
levlam
|
652d2a9570
|
Add td_api::setBackground.
GitOrigin-RevId: e0c38213b41942ed8a5163ca7eb4ea61caa71d7b
|
2019-05-10 15:36:37 +03:00 |
|
levlam
|
c2a370262c
|
Better DcId logging.
GitOrigin-RevId: b1fe45b3ecd06ca6869a60124078930b2129b972
|
2019-05-09 05:01:45 +03:00 |
|
levlam
|
85dd77b02c
|
Initial background support.
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
|
2019-05-07 05:51:56 +03:00 |
|
levlam
|
34fcde6827
|
Minor fixes.
GitOrigin-RevId: a5d8a4b0b9b9c4e858d7a9a7403bef0de7e009e0
|
2019-05-22 21:17:24 +03:00 |
|
Arseny Smirnov
|
3ab3c699b7
|
FileGcWorker and FileStatsWorker: better cancellation
GitOrigin-RevId: d3b251f19eea923906d8bf8c9144b18e8724cedb
|
2019-05-16 15:05:22 +03:00 |
|
Arseny Smirnov
|
30e1697157
|
FileGcWorker and FileStatsWorker cancellation
GitOrigin-RevId: 6332bd0800b32a6ca3089223be3995fd06a3118b
|
2019-05-01 16:15:54 +02:00 |
|
levlam
|
6e95c15790
|
Remove unneded includes.
GitOrigin-RevId: f8c3d6481c4a6d8ccac6cbae875fa8de98c32bc2
|
2019-04-30 15:50:26 +03:00 |
|
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 |
|