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 |
|
|
205fa52f8d
|
Merge commit '44689f81ff8b9bc4583c1c889d8034c47f0c5270'
Conflicts:
td/telegram/DialogDb.cpp
td/telegram/MessagesManager.cpp
td/telegram/StickersManager.cpp
td/telegram/TdDb.cpp
td/telegram/WebPagesManager.cpp
|
2020-06-11 17:44:52 +02:00 |
|
|
c047b969be
|
Fix iterator increment position (caused SIGSEGV)
|
2020-05-25 15:50:21 +02:00 |
|
andrew (from workstation)
|
88892a70c6
|
fix sigfault in "DESTROY NULL file_id_info_"
|
2020-05-25 10:36:03 +02:00 |
|
andrew (from workstation)
|
c95a8c02aa
|
destroy all file references
|
2020-05-24 18:01:52 +02:00 |
|
|
e3bf0f63f0
|
Patches
|
2020-05-23 21:27:24 +02: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
|
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
|
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
|
541f15bd68
|
files: better debug message in 'Cycle in database' error
GitOrigin-RevId: 8817236d9a4a628468663c68f48f8990a2317f96
|
2020-06-09 17:04:47 +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 |
|