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 |
|
Andrea Cavalli
|
3dde04b17f
|
Merge remote-tracking branch 'td/master'
|
2021-07-17 11:15:40 +02: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 |
|
Andrea Cavalli
|
c41ec7df43
|
Merge remote-tracking branch 'td/master'
|
2021-06-30 13:31:50 +02:00 |
|
levlam
|
50a8e66965
|
Improve error messages.
|
2021-06-26 04:20:59 +03:00 |
|
levlam
|
eb134b02f2
|
Improve error messages.
|
2021-06-25 21:21:17 +03:00 |
|
levlam
|
8db4febd4c
|
Minor improvements.
|
2021-06-02 15:43:56 +03:00 |
|
levlam
|
9cecc116f3
|
Prefer US spelling of "canceled".
|
2021-05-31 21:51:48 +03:00 |
|
Andrea Cavalli
|
2c77e82300
|
Merge remote-tracking branch 'td/master' into dev
|
2021-05-27 00:50:41 +02:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
17a1015f6b
|
Remove dependency of PSLICE/PSTRING on Logger, move them to separate header and make them always safe.
|
2021-05-17 03:24:54 +03:00 |
|
Andrea Cavalli
|
40048f12ca
|
Merge
|
2021-05-04 22:17:39 +02:00 |
|
levlam
|
75e593fd51
|
Return errors with code 400 from FileManager::from_persistent_id.
|
2021-04-29 16:04:04 +03:00 |
|
Andrea Cavalli
|
78291a96d4
|
Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d'
|
2021-03-21 01:04:45 +01:00 |
|
levlam
|
0339921102
|
Improve some spelling.
|
2021-03-15 03:32:14 +03:00 |
|
Andrea Cavalli
|
3e53ba98d3
|
Fix file manager
|
2021-03-13 00:25:19 +01:00 |
|
Andrea Cavalli
|
9115565603
|
Fix file manager
|
2021-03-12 21:12:01 +01:00 |
|
Andrea Cavalli
|
ce9a9ebbf9
|
Clean memory only if needed
|
2021-03-12 19:41:27 +01:00 |
|
Andrea Cavalli
|
4a1b295baa
|
Undo breaking database modifications, add tl-parser
|
2021-03-12 12:31:51 +01:00 |
|
Andrea Cavalli
|
1ea79d2739
|
Merge latest commits
|
2021-03-11 18:25:39 +01:00 |
|
levlam
|
67889cdcbc
|
Add td_api::getGroupCallStreamSegment.
|
2021-03-10 22:50:14 +03:00 |
|
levlam
|
e031a2c6c1
|
Improve Slice::truncate usage.
|
2021-02-04 15:54:12 +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 |
|
Andrea Cavalli
|
a84a9f472d
|
Bugfixes
|
2021-01-12 17:12:29 +01:00 |
|
levlam
|
4bb76a7b6f
|
Update layer to 128. Remove photo volume_id/local_id.
|
2021-04-16 17:43:51 +03:00 |
|
Andrea Cavalli
|
a79f835de0
|
Add memory_cleanup on tear_down, and add more memory_cleanup.
|
2021-01-12 01:37:17 +01:00 |
|
Andrea Cavalli
|
85fb357a19
|
Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
Conflicts:
td/telegram/MessagesManager.cpp
|
2021-01-02 12:57:08 +01: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 |
|
Andrea Cavalli
|
cba9f74cba
|
Merge remote-tracking branch 'td/master'
|
2020-11-22 01:11:21 +01:00 |
|
levlam
|
3f33d15879
|
Always adjust part size to keep low number of parts in downloaded files.
|
2020-11-17 02:59:58 +03:00 |
|
levlam
|
52a47b5f70
|
Add small margin for the maximum number of file parts on download.
|
2020-11-17 01:19:27 +03:00 |
|
Andrea Cavalli
|
eb28f728be
|
Remove unused mutex
|
2020-11-10 12:42:35 +01:00 |
|
Andrea Cavalli
|
2e31ced59b
|
Update to tdlib 1.6.10
|
2020-11-04 20:03:14 +01:00 |
|
levlam
|
5719636fa2
|
Add temporary reuse_uploaded_photos_by_hash option.
GitOrigin-RevId: 99fc8dae067322c51ad489f50d60979f62fa4213
|
2020-10-30 16:01:43 +03:00 |
|
Andrea Cavalli
|
52e41fbb76
|
Fix TTL not set
|
2020-10-26 13:08:23 +01:00 |
|
Andrea Cavalli
|
09e23b61cf
|
Fix json formatting, fix cmake windows support
|
2020-10-25 10:08:13 +01:00 |
|
Andrea Cavalli
|
017073e0a2
|
Add memory optimize and memory stats methods
|
2020-10-25 03:20:24 +02:00 |
|
Andrea Cavalli
|
11332192a0
|
Keep uninitialized data
|
2020-10-22 19:07:36 +02:00 |
|
Andrea Cavalli
|
6babc009d7
|
Fix data ttl
|
2020-10-21 21:36:13 +02:00 |
|
levlam
|
9558b06021
|
Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
|
2020-10-17 22:47:47 +03:00 |
|
Andrea Cavalli
|
f423fc0d81
|
Merge commit '35a9a93fc9adfbced4d5f59baf0c72a2f807f28a'
Conflicts:
td/telegram/Client.cpp
td/telegram/StickersManager.cpp
td/telegram/WebPagesManager.cpp
|
2020-10-12 16:10:48 +02:00 |
|
Andrea Cavalli
|
2b69eef4a5
|
Merge commit 'd87558177241862f7db1b934f8a211b94180f28b'
Conflicts:
td/telegram/Client.cpp
|
2020-10-12 15:59:54 +02: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
|
d2d0cb5cc0
|
Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
|
2020-10-05 18:07:23 +03:00 |
|
Andrea Cavalli
|
c83fc13a60
|
Merge commit '1d9989cbd700492ffe636385d5578946f62139d9'
Conflicts:
td/telegram/ContactsManager.cpp
td/telegram/ContactsManager.h
td/telegram/MessagesDb.cpp
td/telegram/MessagesManager.cpp
|
2020-10-01 13:22:37 +02:00 |
|
Andrea Cavalli
|
b922e14de5
|
Merge commit '6d23ea4aa90d6a9815138efb832d45ee91cb984d'
Conflicts:
td/telegram/files/FileManager.cpp
|
2020-10-01 11:52:14 +02:00 |
|
Andrea Cavalli
|
24ee424c91
|
Merge commit '3aee3527511ce43ae670081f3f65a71e7c92ee2c'
Conflicts:
td/telegram/MessagesDb.cpp
|
2020-10-01 11:42:54 +02:00 |
|
levlam
|
1fe397e43d
|
Make optionValueInteger value int64.
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
|
2020-09-25 00:46:16 +03:00 |
|
levlam
|
90ee4bd63c
|
Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
|
2020-09-24 19:15:42 +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
|
fdc3920572
|
Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
|
2020-10-08 18:30:36 +03:00 |
|
Andrea Cavalli
|
510aec55de
|
Merge commit '83c9f5180bf9738df2667841ed0c4df9ebeaec40'
Conflicts:
td/telegram/MessagesManager.cpp
|
2020-08-31 11:51:02 +02:00 |
|
Andrea Cavalli
|
33c250f884
|
Added TTL options to keep the access hashes of recent chats.
|
2020-08-28 19:46:35 +02:00 |
|
levlam
|
b8419b7832
|
Wait DelayDispatcher closing before FileLoader closing.
GitOrigin-RevId: c2e4762be2512b1b4ed17b915c6ed2ef480bfdf4
|
2020-08-27 00:52:01 +03:00 |
|
levlam
|
e04232559a
|
Add debug for queries sent to DelayDispatcher.
GitOrigin-RevId: 939fe59213774ba7cc91b00a86e614c29b189533
|
2020-08-26 12:41:15 +03:00 |
|
levlam
|
0e327efc7c
|
Do not cancel already cancelled download/upload queries.
GitOrigin-RevId: 7a601fa4370a9afd6f81271abfb63edab4f31394
|
2020-08-26 12:33:48 +03:00 |
|
levlam
|
3b4d55233c
|
Improve protected parts calculation.
GitOrigin-RevId: f066b0680a11b6c376eead756f9d67880eb6d17e
|
2020-08-26 12:24:06 +03:00 |
|
levlam
|
093ba9c9d4
|
Change offset and limit simultaneously.
GitOrigin-RevId: eb07ec70a9048c4b5a5a5e0f1e17431b8528e6de
|
2020-08-25 18:58:37 +03:00 |
|
levlam
|
3cc97684ec
|
Fix tdweb build.
GitOrigin-RevId: 3609f3fa52030a242d0587d2ca6f584417af247b
|
2020-08-25 16:32:22 +03:00 |
|
Arseny Smirnov
|
51ff6105cb
|
FileLoader: fix queries cancelling
GitOrigin-RevId: 8350a262e0c51563e987e66e77ba1922bb2f5a4d
|
2020-08-21 16:32:31 +03:00 |
|
Arseny Smirnov
|
e3fa28d457
|
PartsManager: fix wrong FILE_DOWLOAD_LIMIT error
GitOrigin-RevId: 89a22ae3a494c66dcb0a19abf0cd243e3ffc1875
|
2020-08-21 15:54:18 +03:00 |
|
Arseny Smirnov
|
4f41cfcbff
|
FileLoader: smarter cancelling of queries when offset changes
GitOrigin-RevId: 2131d416eda29d93d85e8d655964c0a92cdfaf57
|
2020-08-21 15:53:11 +03:00 |
|
Andrea Cavalli
|
b93239f6d4
|
Increase version to 1.6.8.
|
2020-08-18 13:58:09 +02:00 |
|
Andrea Cavalli
|
1ccc7c6c65
|
Merge commit '3282a873cb24b0c975b6929aeb71a00fc6a18b7c'
Conflicts:
sqlite/sqlite/sqlite3.c
sqlite/sqlite/sqlite3.h
sqlite/sqlite/sqlite3ext.h
sqlite/sqlite/sqlite3session.h
tddb/td/db/SqliteDb.cpp
|
2020-08-18 13:55:47 +02:00 |
|
Arseny Smirnov
|
3b18309e80
|
FileManager: attempt to close ForceUpoadActor
GitOrigin-RevId: 5c53784b7b49c41347477c2f7808cc2845d12463
|
2020-08-13 20:04:06 +03:00 |
|
|
17b82c8bd1
|
Redesigned the enumerator
|
2020-08-05 16:18:33 +02:00 |
|
|
f5418f07c6
|
Update FileManager.cpp
|
2020-08-05 13:49:51 +02:00 |
|
|
a8abec44a0
|
Important bugfix
|
2020-08-04 00:50:50 +02:00 |
|
|
cf20048560
|
Delete files when forgetting them
|
2020-08-04 00:50:43 +02:00 |
|
|
5c4e8bc0bd
|
More fixes
|
2020-08-03 18:13:38 +02:00 |
|
|
54531202a8
|
Update FileManager.cpp
|
2020-08-03 14:26:26 +02:00 |
|
|
159ec55ecf
|
Fixed FileManager iterators
|
2020-08-03 13:29:20 +02:00 |
|
|
d890456b81
|
Added further checks
|
2020-08-03 12:23:50 +02:00 |
|
|
907463fb80
|
Fixed file nodes
|
2020-08-02 02:08:24 +02:00 |
|
|
000375e21b
|
Increased files TTL to 120 seconds, fixed rehash buckets count, lock other methods when cleaning, unique_ptr for nodes
|
2020-08-02 00:28:01 +02:00 |
|
levlam
|
51f8ed3526
|
Fix FileLoader closing.
GitOrigin-RevId: 85ee2acb100e160fd13752ef8fb238dcd63e1f35
|
2020-09-03 00:16:49 +03:00 |
|
|
3fe1a1319b
|
Adding destroy_query
|
2020-07-29 17:00:11 +02:00 |
|
|
cc087aeacd
|
Merge commit 'ab5d35371b1fdcfb30dfa981ede54ec83db214a9'
Conflicts:
sqlite/CMakeLists.txt
td/telegram/ContactsManager.cpp
td/telegram/Photo.cpp
td/telegram/Td.cpp
td/telegram/WebPagesManager.cpp
td/telegram/files/FileManager.h
|
2020-07-29 16:39:33 +02:00 |
|
levlam
|
ceb49d0143
|
Simplify parser.start_with usage.
GitOrigin-RevId: 465e51bba514259ebe15976d2612e1a46754a841
|
2020-07-21 14:24:55 +03:00 |
|
levlam
|
405934676e
|
Change file_id type in as_profile_photo.
GitOrigin-RevId: fe45d895b4781c942512d5c838d99449431440d3
|
2020-07-20 17:46:54 +03:00 |
|
|
886a40118e
|
Merge commit 'f45d80fe16f99d112d545b7cd74ce46342fe3437'
|
2020-07-09 00:10:53 +02:00 |
|
levlam
|
e16952121b
|
Use emplace whenever possible.
GitOrigin-RevId: 67cd8e3b6331c5e1671a9d662f034af1e29d3ac6
|
2020-07-13 23:20:16 +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
|
5507d58339
|
Better handling of secondary file types in scan_fs.
GitOrigin-RevId: 7602a2e14c39fb280be03053160e2ad922ea1ca4
|
2020-06-28 22:04:21 +03:00 |
|
levlam
|
c5cba87bf6
|
Improve user photo registration.
GitOrigin-RevId: 323513d5a30710bb8aabde9476b09be2eb8bd059
|
2020-06-27 21:59:10 +03:00 |
|
levlam
|
eb79c3084e
|
Silence FILE_DOWNLOAD_ID_INVALID error logging.
GitOrigin-RevId: e332bc61d58f536a57ce4a10a7da0f6779fa5184
|
2020-06-27 19:48:08 +03:00 |
|
levlam
|
8872fbf6ac
|
Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
|
2020-06-26 02:24:13 +03:00 |
|