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
|
fac6b73999
|
Add audio.album_cover.
|
2022-07-28 17:11:51 +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
|
7d94cc9aa8
|
Remove some unneeded logging.
|
2022-07-20 18:01:26 +03:00 |
|
levlam
|
3afbce24b3
|
Disable getStorageStatisticsFast for bots to reduce disk usage in the main thread.
|
2022-07-23 23:50:28 +03:00 |
|
levlam
|
4cf1e02479
|
Add multiarg version of Scheduler::destroy_on_scheduler.
|
2022-07-22 21:21:30 +03:00 |
|
levlam
|
4ac8be8122
|
Check local location of files when adding them to download manager.
|
2022-07-20 16:46:55 +03:00 |
|
levlam
|
0f87447ffc
|
Asynchronously destroy some big data storages.
|
2022-07-20 13:40:14 +03:00 |
|
levlam
|
72bc285637
|
Delete from database information about unlinked files.
|
2022-07-16 17:25:28 +03:00 |
|
levlam
|
d75791481f
|
Improve FileView::get_main_file_id() method name.
|
2022-07-03 12:01:08 +03:00 |
|
levlam
|
7153a17bd7
|
Don't check full local locations after loading file from database.
|
2022-06-24 14:59:42 +03:00 |
|
levlam
|
86c130a462
|
Minor fixes.
|
2022-06-21 02:55:53 +03:00 |
|
levlam
|
97d82e8edb
|
Unlink files in FileLoadManager thread.
|
2022-06-16 13:32:14 +03:00 |
|
levlam
|
a1c3e09378
|
Log only unhandled file errors.
|
2022-06-16 13:07:31 +03:00 |
|
levlam
|
ed7b8f3a19
|
Move read_file_part to FileLoadManager thread.
|
2022-06-16 00:25:47 +03:00 |
|
levlam
|
62a97d8eb6
|
Simplify FileLoadManager::get_content.
|
2022-06-15 21:40:23 +03:00 |
|
levlam
|
388f3d0454
|
Lazily create file directories.
|
2022-06-15 16:23:46 +03:00 |
|
levlam
|
bfcf52f87c
|
Support MTPROTO_CLUSTER_INVALID error.
|
2022-06-06 20:36:15 +03:00 |
|
levlam
|
0909f88bc3
|
Use int53 for file size in TDLib API.
|
2022-05-11 17:17:20 +03:00 |
|
levlam
|
81a8f832d3
|
Support 64-bit file size in server-side API.
|
2022-05-10 17:13:16 +03:00 |
|
levlam
|
b4a643cffd
|
Simplify file size error creation.
|
2022-05-31 15:12:40 +03:00 |
|
levlam
|
a282cce5d4
|
Add and use utf8_encode.
|
2022-05-31 15:08:16 +03:00 |
|
levlam
|
17275fe422
|
Output the number of objects to be freed on closing.
|
2022-04-25 20:52:44 +03:00 |
|
levlam
|
641ee080c1
|
Improve names of FileType::Secure.
|
2022-04-25 19:00:40 +03:00 |
|
levlam
|
a7bd57a793
|
Add checks for file_id/file_node_id overflow.
|
2022-04-25 17:33:31 +03:00 |
|
levlam
|
f76a9660ed
|
Add can_reuse_remote_file to FileType.cpp.
|
2022-04-22 14:28:51 +03:00 |
|
levlam
|
f396cadc1a
|
Add FileType::CallLog.
|
2022-04-21 22:34:26 +03:00 |
|
levlam
|
7fcd92a622
|
Move is_document_file_type to FileType.cpp.
|
2022-04-21 21:54:33 +03:00 |
|
levlam
|
497bc9006a
|
Support setting files from secret chats as ringtones.
|
2022-04-15 14:37:01 +03:00 |
|
levlam
|
a16a5ec5e3
|
Support ringtone uploading.
|
2022-04-15 14:07:54 +03:00 |
|
levlam
|
42c6280321
|
Add addSavedNotificationSound.
|
2022-04-14 22:39:25 +03:00 |
|
levlam
|
3378131467
|
Add fileTypeNotificationSound.
|
2022-04-12 22:50:20 +03:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
9526d2aa21
|
Add class td_api::downloadedFileCounts.
|
2022-03-05 04:11:18 +03:00 |
|
levlam
|
a79ae236bc
|
Add new updates about file downloads.
|
2022-03-05 03:14:31 +03:00 |
|
Arseny Smirnov
|
f1cf7bdc3f
|
DownloadManager: remove file when local file is removed
|
2022-03-03 17:07:20 +01:00 |
|
levlam
|
c9bd5d3651
|
Minor improvements.
|
2022-03-01 18:01:50 +03:00 |
|
Arseny Smirnov
|
52abb9c5d5
|
DownloadManager create unique callback for each download
|
2022-03-01 15:34:51 +01:00 |
|
levlam
|
1f300c50e0
|
DownloadManager fixes.
|
2022-02-28 18:25:07 +03:00 |
|
Arseny Smirnov
|
08675f2df1
|
FileManager: support limit={KEEP,IGNORE}_DOWNLOAD_LIMIT in download method
|
2022-02-28 13:15:00 +01:00 |
|
Arseny Smirnov
|
f13598ec83
|
DownloadManager: WIP
|
2022-02-26 19:56:43 +01:00 |
|
Arseny Smirnov
|
d4a4f5fb5d
|
Proxy some updates about file to DownloadManger.
|
2022-02-25 23:17:30 +01:00 |
|
levlam
|
0fb84181ec
|
Add mkv to the list of allowed video extensions.
|
2022-02-17 15:14:49 +03:00 |
|
levlam
|
b1b945e239
|
Minor fixes.
|
2022-01-31 15:56:44 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
00a349656d
|
Unify td/telegram/include order.
|
2021-10-27 17:32:09 +03:00 |
|
levlam
|
c24501f2d9
|
Reduce "this" usages.
|
2021-10-23 21:17:00 +03:00 |
|
levlam
|
db7aa28bdf
|
A lot more minor improvements.
|
2021-10-19 18:11:16 +03:00 |
|
levlam
|
b1d61383ef
|
Remove some logging for files.
|
2021-10-12 11:15:25 +03:00 |
|
levlam
|
328c5b57d2
|
Add Global::request_aborted_error.
|
2021-10-07 16:36:21 +03:00 |
|
levlam
|
3b794126d8
|
Avoid G usage in lambda promises.
|
2021-10-07 15:28:52 +03:00 |
|
levlam
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
levlam
|
6801eabb8d
|
Add some FileView emptiness checks.
|
2021-09-16 16:58:30 +03:00 |
|
levlam
|
b1eb6db7b5
|
Minor logging improvements.
|
2021-08-26 21:44:29 +03:00 |
|
levlam
|
c2028aed4f
|
Add limit on maximum videoNote size.
|
2021-07-29 23:39:07 +03:00 |
|
levlam
|
07630feb8c
|
Add td_api::getSuggestedFileName.
|
2021-07-24 07:19:22 +03:00 |
|
levlam
|
85fab586ef
|
Increase file size for reuse_uploaded_photos_by_hash just in case.
|
2021-07-21 03:26:47 +03:00 |
|
levlam
|
2a9f83cd94
|
Don't dup URL file identifiers.
|
2021-07-21 03:16:55 +03:00 |
|
levlam
|
2641ffed31
|
Improve logging in FileManager.
|
2021-07-20 18:49:29 +03:00 |
|
levlam
|
40c5d47717
|
Make inherited classes final if possible.
|
2021-07-04 05:58:54 +03:00 |
|
levlam
|
edfa5d1d98
|
Use final instead of override.
|
2021-07-03 23:51:36 +03:00 |
|
levlam
|
50a8e66965
|
Improve error messages.
|
2021-06-26 04:20:59 +03:00 |
|
levlam
|
9cecc116f3
|
Prefer US spelling of "canceled".
|
2021-05-31 21:51:48 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
75e593fd51
|
Return errors with code 400 from FileManager::from_persistent_id.
|
2021-04-29 16:04:04 +03:00 |
|
levlam
|
0339921102
|
Improve some spelling.
|
2021-03-15 03:32:14 +03:00 |
|
levlam
|
67889cdcbc
|
Add td_api::getGroupCallStreamSegment.
|
2021-03-10 22:50:14 +03:00 |
|
levlam
|
ef59e47807
|
Fix uploadImportedMedia.
|
2021-01-26 02:55:48 +03:00 |
|
levlam
|
15fe7f7a04
|
Rename suggested_name to suggested_path.
|
2021-01-26 02:39:48 +03:00 |
|
levlam
|
bff723436a
|
Upload inported messages as small files.
|
2021-01-22 18:13:38 +03:00 |
|
levlam
|
6f38576467
|
Add FileManager::guess_file_type.
|
2021-01-22 15:17:56 +03:00 |
|
levlam
|
82f0386e73
|
Move some functions from misc.h to algorithm.h.
|
2021-01-01 16:01:03 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
192fd4862f
|
Use td::unique.
|
2020-12-30 18:50:57 +03:00 |
|
levlam
|
5719636fa2
|
Add temporary reuse_uploaded_photos_by_hash option.
GitOrigin-RevId: 99fc8dae067322c51ad489f50d60979f62fa4213
|
2020-10-30 16:01:43 +03:00 |
|
levlam
|
6f71dca6e6
|
Remove some explicit td::.
GitOrigin-RevId: 93e5f0e98900a9a3b68f35e9123b2b40942879d3
|
2020-10-08 18:44:34 +03:00 |
|
levlam
|
8a607933a7
|
Rename "files" log tag to "file_loader".
GitOrigin-RevId: 24fca707a99eeb32adabcca46131123d584f2c1d
|
2020-10-05 22:08:24 +03:00 |
|
levlam
|
cb3f390a92
|
Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
|
2020-09-22 02:15:09 +03:00 |
|
levlam
|
25accb2d4d
|
Silence expected warning.
GitOrigin-RevId: 82f914b98914abfdecc2aa7d4dfc55ea6ef0d0ed
|
2020-09-14 19:06:51 +03:00 |
|
levlam
|
6d23ea4aa9
|
Do not change download order after file merge.
GitOrigin-RevId: cb1327b7b78cd42cd873040acca328ed00dddb2b
|
2020-09-11 18:57:49 +03:00 |
|
levlam
|
093ba9c9d4
|
Change offset and limit simultaneously.
GitOrigin-RevId: eb07ec70a9048c4b5a5a5e0f1e17431b8528e6de
|
2020-08-25 18:58:37 +03:00 |
|
Arseny Smirnov
|
3b18309e80
|
FileManager: attempt to close ForceUpoadActor
GitOrigin-RevId: 5c53784b7b49c41347477c2f7808cc2845d12463
|
2020-08-13 20:04:06 +03:00 |
|
levlam
|
405934676e
|
Change file_id type in as_profile_photo.
GitOrigin-RevId: fe45d895b4781c942512d5c838d99449431440d3
|
2020-07-20 17:46:54 +03:00 |
|
levlam
|
82fdcd279c
|
Drop outdated full Chat/Channel photo.
GitOrigin-RevId: 047da02c13e0de58a5fd3ca4a94e3b23485ec548
|
2020-07-06 18:40:58 +03:00 |
|
levlam
|
040ce6c529
|
Move get_persistent_id to FileView.
GitOrigin-RevId: e56d5998c515c5d5e93d31f8922a677f08a17243
|
2020-07-06 18:31:26 +03:00 |
|
levlam
|
53d694a01c
|
Fix get_actor_unsafe usages.
GitOrigin-RevId: f39aa2d0a2083842698337bb34457826c1951be6
|
2020-07-04 12:00:14 +03:00 |
|
levlam
|
2ac8c164ff
|
Increase maximum file size.
GitOrigin-RevId: d4da965e7ecea03bc3eb356c41a81a715a06ace0
|
2020-07-03 17:31:06 +03:00 |
|
levlam
|
eb79c3084e
|
Silence FILE_DOWNLOAD_ID_INVALID error logging.
GitOrigin-RevId: e332bc61d58f536a57ce4a10a7da0f6779fa5184
|
2020-06-27 19:48:08 +03:00 |
|
levlam
|
d01c906f53
|
Add get_main_file_type.
GitOrigin-RevId: 138fc28f8c8e59a8583514b53ce37750f2f0360a
|
2020-06-22 08:43:00 +03:00 |
|
levlam
|
32af19acfe
|
Improve constant name.
GitOrigin-RevId: 650c2c1ef42bb4d31f4cd5094cca5d251cc6c28a
|
2020-06-22 02:27:58 +03:00 |
|
levlam
|
d5b4c57993
|
Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
|
2020-06-22 02:02:21 +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
|
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 |
|