levlam
|
3ae4a8d702
|
Improve logging.
|
2022-11-21 15:39:14 +03:00 |
|
levlam
|
0227bbc3cf
|
Treat files with upload_pause as being uploaded.
|
2022-11-21 15:28:32 +03:00 |
|
levlam
|
68627a0c3f
|
Add source to cancel_upload_file.
|
2022-11-21 14:33:19 +03:00 |
|
levlam
|
19e080d3d2
|
Avoid non-required file_id duping.
|
2022-11-21 12:06:05 +03:00 |
|
levlam
|
0b387a61ad
|
Add source to dup_file_id.
|
2022-11-21 11:40:43 +03:00 |
|
levlam
|
63b528f213
|
Speculatively add channel users added through addChatMembers.
|
2022-11-17 18:10:26 +03:00 |
|
levlam
|
3373ac8aa8
|
Don't replace cached file_id of being uploaded files.
|
2022-11-14 18:30:10 +03:00 |
|
levlam
|
ecceb1c472
|
Fix file registration.
|
2022-11-13 11:56:52 +03:00 |
|
levlam
|
73049c6c89
|
Improve logging.
|
2022-11-13 11:11:18 +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
|
e35a81dbe9
|
Pin only main file_id.
|
2022-11-11 21:09:57 +03:00 |
|
levlam
|
8b64142af4
|
Reduce boundary for file identifier number warnings.
|
2022-11-11 16:54:13 +03:00 |
|
levlam
|
cb003d7f66
|
Fix compilation error.
|
2022-11-04 11:34:11 +03:00 |
|
levlam
|
92f8093486
|
Improve download/upload callback handling.
|
2022-10-26 12:29:12 +03: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
|
af3c33e481
|
Simplify local location check in FileManager::download.
|
2022-10-10 12:11:40 +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
|
5a29dcd337
|
Avoid redundant usages of Status::error().
|
2022-10-09 14:15:54 +03:00 |
|
levlam
|
7e1555531c
|
Fix warning.
|
2022-10-08 21:56:51 +03:00 |
|
levlam
|
c91e8d6ce2
|
Improve logging.
|
2022-10-06 16:29:35 +03:00 |
|
levlam
|
78314b2da9
|
Immediately ignore duplicate and invalid file sources loaded from database.
|
2022-10-06 15:15:45 +03:00 |
|
levlam
|
1e6a6c28af
|
Synchronously load file in FileManager::add_file_source to avoid resaving it to the database.
|
2022-10-06 13:48:52 +03:00 |
|
levlam
|
59acbf6d15
|
Add warnings about big file nodes.
|
2022-10-05 16:32:16 +03:00 |
|
levlam
|
197d1de31b
|
Resave file after clearing local location to keep file sources.
|
2022-10-02 23:42:33 +03:00 |
|
levlam
|
df3df17c6f
|
Fix FileManager::clear_from_pmc.
|
2022-10-02 23:06:37 +03:00 |
|
levlam
|
e6b7624811
|
Fix scanning of temporary directories.
|
2022-10-02 22:26:03 +03:00 |
|
levlam
|
097f3d42e1
|
Fix error code in on_upload_error/on_download_error.
|
2022-09-20 02:02:28 +03:00 |
|
levlam
|
ce1292ea32
|
Allow to always reuse photos from inputMessagePhoto.
|
2022-09-15 16:08:19 +03:00 |
|
levlam
|
ce9175a00b
|
Always use "must be non-empty".
|
2022-09-10 22:48:34 +03:00 |
|
levlam
|
c6d5bbb151
|
Remove class AvailableReaction.
|
2022-09-08 17:45:19 +03:00 |
|
levlam
|
031e2246ec
|
Add logging for too long file GC.
|
2022-08-30 12:05:38 +03:00 |
|
levlam
|
3318ffdb20
|
Proxy all option-related requests through G.
|
2022-08-17 16:11:13 +03:00 |
|
levlam
|
383359d767
|
Do not check local location when cancel file upload.
|
2022-08-15 13:13:23 +03:00 |
|
levlam
|
8f433070df
|
Minor fixes.
|
2022-08-14 15:04:08 +03:00 |
|
levlam
|
36803d8d28
|
Improve 'Type of file mismatch' error messages.
|
2022-08-07 11:55:58 +03:00 |
|
levlam
|
a955e0b9df
|
Improve FileType::operator<<.
|
2022-08-07 00:42:40 +03: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
|
ddbca1bb16
|
Use different resource limit for upload and download connections.
|
2022-07-28 17:34:29 +03:00 |
|
levlam
|
fac6b73999
|
Add audio.album_cover.
|
2022-07-28 17:11:51 +03:00 |
|