Commit Graph

9349 Commits

Author SHA1 Message Date
levlam
ac0de06b5f Ensure that PTS/QTS updates are null after processing. 2023-01-09 13:27:28 +03:00
levlam
fd53a81603 Replace text in-place in parse_markdown. 2023-01-09 13:11:45 +03:00
levlam
34226ac4ad Recheck UTF-8 in parse_html only if needed. 2023-01-09 12:59:14 +03:00
levlam
0fb64f97a4 Use StringBuilder to create new string in parse_html. 2023-01-09 12:43:15 +03:00
levlam
2ba41ac279 Explicitly use std::move to return entities. 2023-01-09 10:46:49 +03:00
levlam
4dc554bd08 Avoid some minor string copying in message entity parsing. 2023-01-09 00:48:45 +03:00
levlam
1c037ff0e0 Don't send more than 100 user entities to server. 2023-01-08 23:07:57 +03:00
levlam
d0500988ac Remove checks that status.is_error in ResultHandler::on_error. 2023-01-07 23:36:55 +03:00
levlam
c8acf63e02 Delete TQueue events directly if appropriate. 2023-01-06 17:54:02 +03:00
levlam
d12ca158c4 Add constant methods to td::Container. 2023-01-06 14:54:54 +03:00
levlam
aa8c5ec1c9 Improve setAuthenticationPhoneNumber and requestQrCodeAuthentication documentation. 2023-01-06 14:19:44 +03:00
levlam
19cde80fd1 Reduce struct RawEvent size on some compilers. 2023-01-05 23:33:15 +03:00
levlam
c4afb9283c Return all deleted events fron TQueue::clear. 2023-01-05 23:17:06 +03:00
levlam
651f49fc90 Delete symbolic links in rmrf. 2023-01-05 16:46:39 +03:00
levlam
bc7734a267 Improve loading of system certificate store. 2023-01-04 17:55:31 +03:00
levlam
e3951e524c Fix warning. 2023-01-04 17:49:53 +03:00
levlam
9f6fc348b1 Fix bench_misc. 2023-01-04 17:48:34 +03:00
levlam
7effec1abf Process symlinks in system certificate store. 2023-01-04 17:27:29 +03:00
levlam
3573990d52 Support symbolic links in walk_path. 2023-01-04 17:25:30 +03:00
levlam
8df67f0c3a Add Stat.is_symbolic_link_. 2023-01-04 16:39:33 +03:00
levlam
0d35ce485f Skip subdirectories in system certificate store. 2023-01-04 14:28:54 +03:00
levlam
c4c104384c Load certificate from default_cert_file. 2023-01-04 13:43:15 +03:00
levlam
4a5b2ac722 Skip returned by server messages, not matching the filter. 2023-01-04 13:18:38 +03:00
levlam
887ddbd88e Improve warnings about changed MessageForwardInfo. 2023-01-04 10:49:53 +03:00
levlam
cde0cc4afd Improve system certificate store loading. 2023-01-04 10:42:12 +03:00
levlam
e6084e6e68 Preload all root certificates instead of using SSL_CTX_set_default_verify_paths, which would lazily load the same certificates over and over. 2023-01-04 09:09:06 +03:00
levlam
9834594b16 Don't send parallel ping-server requests. 2023-01-03 15:32:10 +03:00
levlam
62040c8d8e Fix check for use_pfs. 2023-01-03 15:06:12 +03:00
levlam
c06ae49db4 Log if instance wasn't launched for more than 24 hours. 2023-01-03 13:54:49 +03:00
levlam
ab735519a6 Log last used time for auth key. 2023-01-03 12:58:19 +03:00
levlam
5711c6c8eb Add some emptiness checks. 2023-01-02 20:12:15 +03:00
levlam
29c264df59 Log number of unprocessed updateMessageID while closing. 2023-01-02 19:07:48 +03:00
levlam
686fcc1933 Log source for failed to add awaited messages. 2023-01-02 18:05:35 +03:00
levlam
12561229fe Improve logging in on_get_channel_difference. 2023-01-02 17:36:38 +03:00
levlam
0f05e72fa3 Silently ignore PERSISTENT_TIMESTAMP_INVALID errors for channels.getDifference. 2023-01-02 17:06:26 +03:00
levlam
903d994799 Improve punctuation. 2023-01-02 15:38:04 +03:00
levlam
8b763bedaf Move random_shuffle to tests.h. 2023-01-02 14:29:03 +03:00
levlam
4258030967 Drop cached attachment menu bots when database is deleted. 2023-01-02 13:51:04 +03:00
levlam
c8e0c2fedc Improve internalLinkTypePassportDataRequest documentation. 2023-01-02 13:10:12 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
5ee9c7365b Remove "forum_member_count_min" option. 2022-12-31 00:17:18 +03:00
levlam
b0bfdd2b35 Improve setTdlibParameters errors. 2022-12-30 23:13:40 +03:00
levlam
691941ea10 Revert invalid 439e0863f3. 2022-12-30 22:24:31 +03:00
levlam
1d07857cbe Keep only full name for Go examples. 2022-12-30 16:30:10 +03:00
Reinhart Previano Koentjoro
9720a750f4 Clarify package names for Go
Third-party Go packages are named after Git repository URLs, which could cause confusion if some libraries are bearing the same name. [go-tdlib](https://github.com/zelenin/go-tdlib) and [go-tdlib](https://github.com/Arman92/go-tdlib) are just some examples which may confuse people. So I added their canonical package names according to Go package registry.
2022-12-30 16:28:55 +03:00
levlam
93c42f6d7c Update version to 1.8.10. 2022-12-30 12:59:58 +03:00
levlam
6a3dac6730 Split call to destroy_on_scheduler in two to avoid variable tracking size limit. 2022-12-30 11:55:01 +03:00
levlam
9ab6822e19 Fix warning. 2022-12-30 04:31:01 +03:00
levlam
24a67cb67c Send typings to General topic by default in forums. 2022-12-30 04:00:52 +03:00
levlam
e4c8eb376e Fix spoiler in on_upload_message_media_success. 2022-12-30 02:39:31 +03:00