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