Commit Graph

429 Commits

Author SHA1 Message Date
levlam
ca7947cf44 Minor improvements. 2021-11-04 12:46:08 +03:00
levlam
81bfbecb18 Add internalLinkTypeUnsupportedProxy. 2021-10-28 21:46:34 +03:00
levlam
c69293e1cc Rename voice chats to video chats. 2021-10-14 15:44:21 +03:00
levlam
e6c4bc6ca4 Fix ClientManager without EventFd. 2021-10-25 08:03:18 +03:00
levlam
0c1469f7c6 Fix TransparentProxy::Callback. 2021-10-22 19:59:15 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +03:00
levlam
a160241db7 Improve NetQueryCreator constructor. 2021-10-06 18:47:32 +03:00
levlam
61c3a2bcf5 Remove TD_EXPERIMENTAL_WATCH_OS. 2021-09-24 13:41:22 +03:00
levlam
626caad19a Create database before attaching it. 2021-09-22 20:17:37 +03:00
levlam
a0cc1be3e6 Add allow_creation parameter to SqliteDb::init. 2021-09-22 19:04:56 +03:00
levlam
f073c790c5 Make DbKey required to construct SqliteConnectionSafe. 2021-09-22 17:20:10 +03:00
levlam
2008290425 Remove old way to init SqliteDb. 2021-09-22 17:05:52 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
f63196f9fa Improve URL and email matching. 2021-09-09 17:59:24 +03:00
levlam
1c56e62a6a Add internalLinkTypeVoiceChat.is_live_stream flag. 2021-09-08 13:53:24 +03:00
levlam
015d6cd92d Support videochat/livestream internal links. 2021-09-08 01:50:49 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
a71850e15e Add test for CountryInfoManager::get_phone_number_info_sync. 2021-08-31 07:15:21 +03:00
levlam
84ad2e5b19 Remove redundant semicolons. 2021-08-30 23:27:32 +03:00
levlam
5302569289 Fix MTProto tests. 2021-08-21 23:13:36 +03:00
levlam
43d9ba81ac Prefer std::unordered_map to std::map. 2021-08-21 21:42:07 +03:00
levlam
6393923d3a Make internalLinkTypeUnknownDeepLink self-contained. 2021-08-20 20:56:07 +03:00
levlam
df11403739 Make internalLinkTypeMessage self-contained. 2021-08-20 20:27:39 +03:00
levlam
618742acc2 Make internalLinkTypeChatInvite self-contained. 2021-08-20 18:44:02 +03:00
levlam
5c2441021e Add fast path in remove_invalid_entities. 2021-08-18 21:37:31 +03:00
levlam
c667f6c9bb Improve test. 2021-08-05 01:23:16 +03:00
levlam
14cf908017 Implement find_media_timestamps. 2021-07-28 08:30:22 +03:00
levlam
389e92f1f4 Add skip_media_timestamps parameter to get_formatted_text. 2021-07-26 22:48:33 +03:00
levlam
13d5854e2f Update match_cashtags. 2021-08-03 02:58:12 +03:00
levlam
1223c72741 Add class EncryptedFile. 2021-08-01 06:17:51 +03:00
levlam
e9e2428237 Update server keys. 2021-07-08 16:39:34 +03:00
levlam
040e0deb31 Move DhCallback to a separate header. 2021-07-05 21:20:07 +03:00
levlam
61664b4044 Move remaining MTProto classes to namespace mtproto. 2021-07-05 21:04:23 +03:00
levlam
4f328d14f8 Fix test-crypto. 2021-07-04 18:58: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
4f00f445b7 Allow leading zeros in port number. 2021-06-27 03:58:26 +03:00
levlam
9628668def Minor improvements. 2021-06-23 03:22:23 +03:00
levlam
924286da8f Use manual checks instead of cmake_minimum_required to propagate policies. 2021-06-13 23:38:48 +03:00
levlam
8b87e8ed56 Allow pre, TextUrl and TextMention entities, containing only new lines. 2021-06-09 20:35:02 +03:00
levlam
d77220c8ac Test find_urls in LinkManager tests. 2021-06-03 19:16:43 +03:00
levlam
a630c87178 Add tg URLs parsing. 2021-06-03 18:27:40 +03:00
levlam
2fb9df33d2 Check tg link host characters in check_link. 2021-06-03 17:17:36 +03:00
levlam
c9de490c7f Allow dashes in URLs. 2021-06-03 15:21:26 +03:00
levlam
1de8b85809 Add internalLinkTypeSettings. 2021-06-01 03:55:08 +03:00
levlam
181e48685e Add internalLinkTypePassportDataRequest. 2021-05-31 21:41:40 +03:00
levlam
3860e8eea5 Add internalLinkTypePublicChat. 2021-05-31 04:15:33 +03:00
levlam
27369944a7 Add internalLinkTypeGame. 2021-05-30 03:46:06 +03:00
levlam
1eb62acc07 Add internalLinkTypeBotStart. 2021-05-30 03:25:45 +03:00
levlam
938d14ab75 Add internalLinkTypeVoiceChat. 2021-05-30 02:05:23 +03:00
levlam
2f07ad223e Add internalLinkTypeProxy. 2021-05-29 03:51:31 +03:00
levlam
d17d40203c Improve t.me links test. 2021-05-29 00:51:51 +03:00
levlam
a77707d8d5 Support t.me/s/ links. 2021-05-28 20:36:05 +03:00
levlam
ee8e0ec2ad Add internalLinkTypeTheme. 2021-05-28 19:50:54 +03:00
levlam
8d8a5d0b30 Add internalLinkTypeLanguagePack. 2021-05-28 19:26:09 +03:00
levlam
cd95e84990 Add internalLinkTypePhoneNumberConfirmation. 2021-05-28 18:17:14 +03:00
levlam
feb01a71bb Add internalLinkTypeStickerSet. 2021-05-28 17:27:30 +03:00
levlam
ffa1da2cac Add internalLinkTypeChatInviteLink. 2021-05-27 18:37:01 +03:00
levlam
30f0509f71 Add internalLinkTypeQrCodeAuthentication. 2021-05-27 01:25:11 +03:00
levlam
38d71ca7e0 Add td_api::internalLinkTypeAuthenticationCode. 2021-05-27 01:02:12 +03:00
levlam
afb58801ec Add LinkManager::parse_internal_link test. 2021-05-26 16:44:49 +03:00
levlam
f2ab121fe4 Add LinkManager::check_link test. 2021-05-26 01:21:52 +03:00
levlam
90e253d90c Remove REGISTER_TESTS define. 2021-05-26 00:41:15 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
add28462a0 Fix Slice underflow. 2021-05-14 13:18:52 +03:00
levlam
3007094fb8 Use -Wl,-z,ignore on illumos. 2021-04-30 01:48:01 +03:00
levlam
c739df8507 Pass UserId instead of int32 when creating secret chat. 2021-03-29 11:57:26 +03:00
levlam
2ba7fd0f18 Enable HTTP gzip text. 2021-03-28 01:51:51 +03:00
levlam
b84318fed4 Minor improvements. 2021-03-27 05:19:22 +03:00
levlam
66de95d93c Fix compilation errors and formatting. 2021-03-26 18:52:45 +03:00
Arseny Smirnov
5c7b7d4c85 TD_EXPERIMENTAL_WATCH_OS cmake option 2021-03-26 18:04:25 +03:00
levlam
f0e7b211c3 Use case-insensitive comparison for short mention entities. 2021-03-20 22:57:34 +03:00
levlam
efd7838c68 Add HTTP-gzip test. 2021-03-19 18:01:25 +03:00
levlam
d06025d40d Disable sanitizer for 32-bit builds: https://github.com/tdlib/td/issues/1447. 2021-03-16 17:40:46 +03:00
levlam
4e8732a197 Minor test-crypto fixes. 2021-02-25 14:57:50 +03:00
Arseny Smirnov
143846f09b cryptography draft fixes 2021-02-24 18:43:24 +03:00
Arseny Smirnov
0c90ca3784 some cryptography draft 2021-02-10 23:25:28 +03:00
levlam
b07a9efb2e Disable SFTP link highlighting. 2021-02-03 21:08:01 +03:00
levlam
dbf1253075 Replace deleteSupergroup with universal deleteChat method. 2021-01-20 14:49:18 +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
865009fffc Include improvements. 2021-01-01 01:52:01 +03:00
levlam
03bb56ae96 Add RSA test. 2020-12-22 22:28:04 +03:00
levlam
3589676550 Minor fixes. 2020-12-22 15:51:57 +03:00
levlam
85f3cefe67 Add missing license. 2020-12-03 23:20:29 +03:00
levlam
7f9681313a Update layer 122. 2020-11-29 15:41:03 +03:00
Arseny Smirnov
ab3e695f94 Revert "Revert "New test for tdlib. New Promise/Future features (ported from other project)""
This reverts commit 56866524aa.
2020-11-26 18:49:51 +04:00
Arseny Smirnov
56866524aa Revert "New test for tdlib. New Promise/Future features (ported from other project)"
This reverts commit 0c2b15f2b8.
2020-11-24 15:50:44 +04:00
Arseny Smirnov
0c2b15f2b8 New test for tdlib. New Promise/Future features (ported from other project) 2020-11-24 15:25:10 +04:00
levlam
6571a99b45 Include ConcurrentScheduler separately. 2020-11-23 03:24:36 +03:00
levlam
172c08a991 Speed up DB key_value tests. 2020-11-22 17:34:01 +03:00
levlam
92508c8d60 Remove broken part of binlog_encryption test. 2020-11-22 17:19:59 +03:00
levlam
eeda2ca96a Disable broken Secret_go test. 2020-11-22 16:56:34 +03:00
levlam
6044ee83fb Fix Client_SimpleMulti test on macOS. 2020-11-22 16:26:00 +03:00
levlam
1557fbcfe9 Return back old SQLCipher migrate test. 2020-11-21 21:58:42 +03:00
levlam
36addb042e Allow sqlite_encryption_migrate test to fail. 2020-11-21 21:02:42 +03:00
levlam
375c638936 Allow sqlite_encryption_migrate test to fail. 2020-11-21 19:43:48 +03:00