Commit Graph

379 Commits

Author SHA1 Message Date
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