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