levlam
|
3b794126d8
|
Avoid G usage in lambda promises.
|
2021-10-07 15:28:52 +03:00 |
|
levlam
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
levlam
|
6801eabb8d
|
Add some FileView emptiness checks.
|
2021-09-16 16:58:30 +03:00 |
|
levlam
|
b1eb6db7b5
|
Minor logging improvements.
|
2021-08-26 21:44:29 +03:00 |
|
levlam
|
c2028aed4f
|
Add limit on maximum videoNote size.
|
2021-07-29 23:39:07 +03:00 |
|
levlam
|
07630feb8c
|
Add td_api::getSuggestedFileName.
|
2021-07-24 07:19:22 +03:00 |
|
levlam
|
85fab586ef
|
Increase file size for reuse_uploaded_photos_by_hash just in case.
|
2021-07-21 03:26:47 +03:00 |
|
levlam
|
2a9f83cd94
|
Don't dup URL file identifiers.
|
2021-07-21 03:16:55 +03:00 |
|
levlam
|
2641ffed31
|
Improve logging in FileManager.
|
2021-07-20 18:49:29 +03:00 |
|
levlam
|
40c5d47717
|
Make inherited classes final if possible.
|
2021-07-04 05:58:54 +03:00 |
|
levlam
|
edfa5d1d98
|
Use final instead of override.
|
2021-07-03 23:51:36 +03:00 |
|
levlam
|
50a8e66965
|
Improve error messages.
|
2021-06-26 04:20:59 +03:00 |
|
levlam
|
9cecc116f3
|
Prefer US spelling of "canceled".
|
2021-05-31 21:51:48 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
75e593fd51
|
Return errors with code 400 from FileManager::from_persistent_id.
|
2021-04-29 16:04:04 +03:00 |
|
levlam
|
0339921102
|
Improve some spelling.
|
2021-03-15 03:32:14 +03:00 |
|
levlam
|
67889cdcbc
|
Add td_api::getGroupCallStreamSegment.
|
2021-03-10 22:50:14 +03:00 |
|
levlam
|
ef59e47807
|
Fix uploadImportedMedia.
|
2021-01-26 02:55:48 +03:00 |
|
levlam
|
15fe7f7a04
|
Rename suggested_name to suggested_path.
|
2021-01-26 02:39:48 +03:00 |
|
levlam
|
bff723436a
|
Upload inported messages as small files.
|
2021-01-22 18:13:38 +03:00 |
|
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
|
5719636fa2
|
Add temporary reuse_uploaded_photos_by_hash option.
GitOrigin-RevId: 99fc8dae067322c51ad489f50d60979f62fa4213
|
2020-10-30 16:01:43 +03:00 |
|
levlam
|
6f71dca6e6
|
Remove some explicit td::.
GitOrigin-RevId: 93e5f0e98900a9a3b68f35e9123b2b40942879d3
|
2020-10-08 18:44:34 +03:00 |
|
levlam
|
8a607933a7
|
Rename "files" log tag to "file_loader".
GitOrigin-RevId: 24fca707a99eeb32adabcca46131123d584f2c1d
|
2020-10-05 22:08:24 +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
|
093ba9c9d4
|
Change offset and limit simultaneously.
GitOrigin-RevId: eb07ec70a9048c4b5a5a5e0f1e17431b8528e6de
|
2020-08-25 18:58:37 +03:00 |
|
Arseny Smirnov
|
3b18309e80
|
FileManager: attempt to close ForceUpoadActor
GitOrigin-RevId: 5c53784b7b49c41347477c2f7808cc2845d12463
|
2020-08-13 20:04:06 +03:00 |
|
levlam
|
405934676e
|
Change file_id type in as_profile_photo.
GitOrigin-RevId: fe45d895b4781c942512d5c838d99449431440d3
|
2020-07-20 17:46:54 +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
|
eb79c3084e
|
Silence FILE_DOWNLOAD_ID_INVALID error logging.
GitOrigin-RevId: e332bc61d58f536a57ce4a10a7da0f6779fa5184
|
2020-06-27 19:48:08 +03:00 |
|
levlam
|
d01c906f53
|
Add get_main_file_type.
GitOrigin-RevId: 138fc28f8c8e59a8583514b53ce37750f2f0360a
|
2020-06-22 08:43:00 +03:00 |
|
levlam
|
32af19acfe
|
Improve constant name.
GitOrigin-RevId: 650c2c1ef42bb4d31f4cd5094cca5d251cc6c28a
|
2020-06-22 02:27:58 +03:00 |
|
levlam
|
d5b4c57993
|
Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
|
2020-06-22 02:02:21 +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
|
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
|
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
|
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
|
1a9fe6a40d
|
Make FileManager::Query::Type enum class.
GitOrigin-RevId: 031229295e1d6e41e0569363d0262e7ce83832c4
|
2019-12-23 17:32:03 +03:00 |
|
levlam
|
917a3af6ac
|
Fix some includes.
GitOrigin-RevId: c82e599631dd678f2c69fbf7fd3e9b3cd23ed965
|
2019-11-26 21:57:48 +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
|
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
|
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
|
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 |
|
Arseny Smirnov
|
24f31ad888
|
FileManager: download big files with unknown size
GitOrigin-RevId: 3f4246f2d61127015138a32f2e93c8f932a81c50
|
2019-08-19 12:31:25 +03:00 |
|
levlam
|
ad167a48ba
|
Pass Slice to parse_url.
GitOrigin-RevId: e6cd357042b827ca56a11bb377c8b07ccd120230
|
2019-08-05 12:56:28 +03:00 |
|
Arseny Smirnov
|
089d73953c
|
FileManager: reload photo on FILE_ID_INVALID
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
|
2019-07-30 17:42:36 +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
|
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
|
984ccd3d75
|
Update remote location when source is changed.
GitOrigin-RevId: fc2f41f1f47cc65b5aadbec14a302d8ab2d03d5f
|
2019-06-18 18:40:46 +03:00 |
|
levlam
|
853c0986d9
|
Use static_cast to cast to bool.
GitOrigin-RevId: b62a74880cee8984ddf9607141b350f979000b4b
|
2019-06-18 03:21:55 +03:00 |
|
levlam
|
cfc9cc5f28
|
Remove support for two file references.
GitOrigin-RevId: 3bf8031e9cc8bcd95e8cb74246c32d9198991aa1
|
2019-06-17 05:37:57 +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
|
652d2a9570
|
Add td_api::setBackground.
GitOrigin-RevId: e0c38213b41942ed8a5163ca7eb4ea61caa71d7b
|
2019-05-10 15:36:37 +03:00 |
|
levlam
|
85dd77b02c
|
Initial background support.
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
|
2019-05-07 05:51:56 +03:00 |
|