Commit Graph

71 Commits

Author SHA1 Message Date
levlam
6a9a931f29 Fix mtime comparison.
GitOrigin-RevId: ba6d77667478bdbb6297b449929b4adcd55c12a1
2019-03-15 21:52:54 +03:00
levlam
4d5fb2902c Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +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
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
82589eeb2f FileManager: force upload, and separate full and partial remote location storage
GitOrigin-RevId: 3bdc218738558012ee6e2a790a553b2f0fea1d62
2019-02-14 14:20:40 +03:00
Arseny Smirnov
c08cbd5b54 FileManager: properly update RemoteInfo
GitOrigin-RevId: ac7b0d8a104ed2f74bfd6eb909eca859fe870c8a
2019-02-04 19:59:01 +04: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
levlam
595eb119d7 Repair file_reference in UpdateProfilePhoto.
GitOrigin-RevId: 1edb98b56d2af603ac51d7ba6ee9e6cd08e12595
2019-01-29 02:32:26 +03: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
8ac921b8e7 Add FileManager::get_file_ids_object.
GitOrigin-RevId: a7e76f5e28514e2ccd99ce2316d5e4043836062f
2019-01-21 20:19:02 +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
3bc0d8eb9a Add FileSourceId.h.
GitOrigin-RevId: 98707d3c9248fb4873ccb8b1e890bb0926bfed73
2019-01-19 05:44:31 +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
Arseny Smirnov
b53cd5d76a FileReference: better infinity loop protection
GitOrigin-RevId: 068fdbbb574eae03f3bb4b5b06ac3960aaca59c0
2018-12-09 10:05:26 +03:00
Arseny Smirnov
a75726d77a FileManager: file references draft
GitOrigin-RevId: 8d37ee4b5520497df08f49e598ae91825e74e1ea
2018-12-05 12:32:31 +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
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
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
ca1503c22f Fix some includes.
GitOrigin-RevId: a57e47e5925fe1e96080945d40641c84b4e30669
2018-12-27 22:24:44 +03:00
levlam
c252e9ceb5 Add source to try_flush_node.
GitOrigin-RevId: 7cf8c352d6d3c5158adb0ee867e52538075950d1
2018-12-27 20:23:19 +03:00
levlam
894038a881 Fix local_ready_size in om_partial_generate.
GitOrigin-RevId: 614351cac5508589bd86ddf6be2c34b7e6c98585
2018-12-27 18:37:57 +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
da6a7ec512 Files: pass file size from FileDownloader to FileManager
GitOrigin-RevId: eb02bc323973b26b0306a84c5efadbb581bbef82
2018-12-27 00:42:26 +03:00
levlam
ac3fa705a2 File streaming fixes.
GitOrigin-RevId: 86c6d1394a31d6bb108a12e14f4d981133ece235
2018-12-26 19:11:15 +03:00
Arseny Smirnov
3b238f6fba Files streaming
GitOrigin-RevId: 78df1cd44c95380cd4af46f4db809ce28876db1f
2018-11-11 15:38:04 +04:00
Arseny Smirnov
df7e6f83f5 Files: support remote id for map thumbnails
GitOrigin-RevId: d9b5281ce55fd7bd2f4557a933b7f9dba2b591af
2018-12-17 22:56:47 +03:00
levlam
b3bae546ec Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
2018-09-27 16:37:15 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
b7c2248c72 Add td_api::testSetLogTagVerbosityLevel method.
GitOrigin-RevId: 763fcf9156671857c71967741b9ce8c67f4a7ea0
2018-09-26 02:59:29 +03:00
levlam
7a14de987c Remove unneeded forward declarations.
GitOrigin-RevId: e33aac4e7ac27efe2757fdd421115637359bcf5e
2018-09-05 22:31:33 +03:00
levlam
c6bc8f7c3f Add td_api::getMapThumbnailFile.
GitOrigin-RevId: f02f154cc8a3ce62f888bdaf9c159cebcb4a350a
2018-08-13 23:18:27 +03:00
levlam
deecdb66bc Fix some td/actor/ includes.
GitOrigin-RevId: f9cf960b96018c4eb6169d2ec6cb5d3fbc16c0ec
2018-07-03 22:29:04 +03:00
levlam
ede1d58e0f Add is_closed_ guard to FileManager.
GitOrigin-RevId: b85edd5e07da24250516141f73e2313c31fe2cc3
2018-05-24 13:43:50 +03:00
levlam
d80148afae Explicitly specify enum underlying type.
GitOrigin-RevId: 65a7cc4df6b07fe095e898c06ad53deb5e188df3
2018-04-19 16:08:30 +03:00
Arseny Smirnov
5e79712797 set/get passport data
GitOrigin-RevId: 4fe8b44738ac91524a0d286db5d33d338b5b75e8
2018-04-03 20:49:07 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
Arseny Smirnov
81776db03a Enumerator: do not invalidate pointers to elements
GitOrigin-RevId: 0d535d7052b9cb95365eff4bf35ddf30966ec90f
2018-03-07 10:47:33 +03:00
levlam
c35bc1c0fc Remove now unsafe FileId constructors.
GitOrigin-RevId: eb3e37f4056ff6b967e4fd3d9b310fdc0e7602a1
2018-03-07 02:37:39 +03:00