Commit Graph

188 Commits

Author SHA1 Message Date
Andrea Cavalli
5f5fa9afa2 Merge remote-tracking branch 'td/master' 2022-11-25 19:27:21 +01:00
levlam
0227bbc3cf Treat files with upload_pause as being uploaded. 2022-11-21 15:28:32 +03:00
levlam
0b387a61ad Add source to dup_file_id. 2022-11-21 11:40:43 +03:00
levlam
348ee9a95b Remove unused return value in FileManager::merge. 2022-11-12 09:54:23 +03:00
levlam
b29fc78f85 Merge downloaded and generated files as early as possible to avoid pinning and keeping of a temporary file_id for local location. 2022-11-12 09:47:33 +03:00
levlam
8b64142af4 Reduce boundary for file identifier number warnings. 2022-11-11 16:54:13 +03:00
Andrea Cavalli
f42cce37a4 Merge remote-tracking branch 'td/master' 2022-11-06 12:19:22 +01:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
102c40cc3b Asynchronously check local location for downloaded files. 2022-10-10 16:24:32 +03:00
levlam
188a7b7c3e Pass promise to FileManager::download. 2022-10-10 15:40:39 +03:00
levlam
3648df4e0d Asynchronously check location for files loaded from database. 2022-10-10 14:51:24 +03:00
levlam
28c3c7fb03 Add FileManager::check_local_location_async. 2022-10-10 14:19:35 +03:00
levlam
f26f05a074 Move check_local_location to FileLoaderUtils. 2022-10-10 12:58:48 +03:00
levlam
6786276481 Improve FileManager::check_local_location. 2022-10-10 12:45:20 +03:00
levlam
f1146d05bd Make FileManager::check_local_location static. 2022-10-09 22:15:46 +03:00
levlam
f86f8e5a85 Don't check local file size for downloaded files. 2022-10-09 21:20:57 +03:00
levlam
683627a350 Make all operator bool const and nonexcept. 2022-10-09 19:30:18 +03:00
levlam
59acbf6d15 Add warnings about big file nodes. 2022-10-05 16:32:16 +03:00
Andrea Cavalli
0bfef9e46f Merge remote-tracking branch 'td/master' 2022-09-22 01:07:13 +02:00
levlam
ce1292ea32 Allow to always reuse photos from inputMessagePhoto. 2022-09-15 16:08:19 +03:00
Andrea Cavalli
6bddb57999 Merge remote-tracking branch 'td/master'
# Conflicts:
#	td/telegram/PollManager.cpp
#	td/telegram/VideoNotesManager.cpp
2022-08-29 00:41:56 +02:00
levlam
8f433070df Minor fixes. 2022-08-14 15:04:08 +03:00
Andrea Cavalli
70ad9c53c5 Merge remote-tracking branch 'td/master' 2022-08-13 22:56:08 +02:00
Andrea Cavalli
eadb920736 Merge remote-tracking branch 'td/master' 2022-08-06 22:08:15 +02:00
levlam
2be350b8fe Support multiple sizes for audio album covers. 2022-08-05 22:43:53 +03:00
levlam
779090f4dd Add more WaitFree* classes usages. 2022-08-04 14:48:10 +03:00
levlam
90b04eb3b6 Use WaitFreeVector in FileManager. 2022-08-02 14:45:22 +03:00
levlam
90df870adb Support audio thumbnail download. 2022-07-28 16:47:19 +03:00
levlam
3a275827e9 Add FileManager::is_remotely_generated_file and improve some names. 2022-07-28 15:59:57 +03:00
levlam
3afbce24b3 Disable getStorageStatisticsFast for bots to reduce disk usage in the main thread. 2022-07-23 23:50:28 +03:00
Andrea Cavalli
cd4a07a7c7 Merge remote-tracking branch 'td/master' 2022-07-22 13:09:22 +02:00
levlam
4ac8be8122 Check local location of files when adding them to download manager. 2022-07-20 16:46:55 +03:00
Andrea Cavalli
277513ce18 Merge remote-tracking branch 'td/master' 2022-07-03 23:48:22 +02:00
levlam
d75791481f Improve FileView::get_main_file_id() method name. 2022-07-03 12:01:08 +03:00
Andrea Cavalli
377050ced3 Merge remote-tracking branch 'td/master' 2022-06-29 23:33:12 +02:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
Andrea Cavalli
a116cc9b19 Merge remote-tracking branch 'td/master' 2022-06-21 18:38:28 +02:00
Andrea Cavalli
a156fcfb1d Merge remote-tracking branch 'td/master' 2022-05-16 00:00:04 +02:00
levlam
70050704d2 Remove unimplemented UploadCallback::on_progress. 2022-05-15 01:13:07 +03:00
levlam
0909f88bc3 Use int53 for file size in TDLib API. 2022-05-11 17:17:20 +03:00
Andrea Cavalli
4cd31ceb93 Merge remote-tracking branch 'td/master' 2022-05-04 17:49:23 +02:00
levlam
641ee080c1 Improve names of FileType::Secure. 2022-04-25 19:00:40 +03:00
Andrea Cavalli
e047add8a2 Update tdlib 2022-03-15 11:36:21 +01:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
Arseny Smirnov
08675f2df1 FileManager: support limit={KEEP,IGNORE}_DOWNLOAD_LIMIT in download method 2022-02-28 13:15:00 +01:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
Andrea Cavalli
09b98f6b30 Merge remote-tracking branch 'td/master' 2022-01-04 00:04:21 +01:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
Andrea Cavalli
48e3660d2c Merge remote-tracking branch 'td/master' 2021-11-14 22:46:37 +01:00