levlam
|
a4d80c76b3
|
Allow middle dot in hashtags.
|
2022-01-31 02:19:17 +03:00 |
|
levlam
|
d3c712e660
|
Increase maximum allowed TLD length in email address.
|
2022-01-30 13:51:28 +03:00 |
|
levlam
|
90e130f03c
|
Don't use implicitly namespace td in set with position tests.
|
2022-01-16 22:34:38 +03:00 |
|
levlam
|
338292c278
|
Don't use implicitly namespace td in string cleaning tests.
|
2022-01-15 22:56:55 +03:00 |
|
levlam
|
cc82b60b24
|
Don't use implicitly namespace td in SecureStorage tests.
|
2022-01-12 21:23:08 +03:00 |
|
levlam
|
e592ca4b83
|
Make sort in PollManager::get_vote_percentage more stable.
|
2022-01-11 21:52:29 +03:00 |
|
levlam
|
c2a2cb0055
|
Don't use implicitly namespace td in MTProto tests.
|
2022-01-09 12:04:08 +03:00 |
|
levlam
|
687193c8e9
|
Don't use implicitly namespace td in HTTP tests.
|
2022-01-08 01:25:42 +03:00 |
|
levlam
|
1769b7b61c
|
Don't use implicitly namespace td in db tests.
|
2022-01-07 12:51:50 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
19f1f66eca
|
Support tg-spoiler HTML tag.
|
2021-12-31 17:15:11 +03:00 |
|
levlam
|
68539fe846
|
Add textEntityTypeSpoiler.
|
2021-12-28 20:41:37 +03:00 |
|
levlam
|
f7588582cd
|
Use at most 7 client threads on OpenBSD to stay within default limit of 128 file descriptors.
|
2021-12-24 14:11:36 +03:00 |
|
levlam
|
b7ec416a30
|
Fix handling of privatepost links.
|
2021-12-13 20:13:43 +03:00 |
|
levlam
|
7bff3ed912
|
Add SqliteKeyValue::set_all.
|
2021-12-12 22:34:19 +03:00 |
|
levlam
|
b1f004ab19
|
Expect SeqNo in tests only if needed.
|
2021-12-12 15:32:36 +03:00 |
|
levlam
|
5a76413990
|
Minor improvements.
|
2021-12-10 00:07:59 +03:00 |
|
levlam
|
cee41e0806
|
Allow to change tests verbosity level.
|
2021-11-21 21:51:46 +03:00 |
|
levlam
|
a28b5f2fbb
|
Remove explicit verbosity level changes in tests.
|
2021-11-21 21:41:11 +03:00 |
|
levlam
|
2b9b9f0c31
|
Add ThreadIdGuard to tests and tg_cli.
|
2021-11-18 16:25:37 +03:00 |
|
levlam
|
6238f0fc89
|
Minor improvements.
|
2021-11-10 21:09:28 +03:00 |
|
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 |
|
levlam
|
e8cd3d9af2
|
Fix tests logic.
|
2020-11-21 15:34:51 +03:00 |
|
levlam
|
15359488be
|
Fix database opening.
|
2020-11-18 21:08:41 +03:00 |
|
levlam
|
5eea5b7501
|
Rename create_client to create_client_id.
|
2020-11-15 01:13:11 +03:00 |
|
levlam
|
6a9cd72636
|
Don't create client through ClientManager until first request is sent to it.
|
2020-11-12 14:45:18 +03:00 |
|
levlam
|
39fec60968
|
Reduce ClientManager timeout in test.
GitOrigin-RevId: 806d6b24d0348af17c6334fd9c1983ef3098e62d
|
2020-10-13 10:42:18 +03:00 |
|
levlam
|
706555502b
|
Build tests only once.
GitOrigin-RevId: 386e5708eab6b806bd62a06e854187f4988303d3
|
2020-10-12 11:49:23 +03:00 |
|
levlam
|
38f72b353a
|
Clear ClientManager when the last Client is closed.
GitOrigin-RevId: d2d5194f7ffc59dc8db1196401c80689a8645dac
|
2020-10-09 15:39:30 +03:00 |
|
levlam
|
35a9a93fc9
|
Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
|
2020-10-08 23:04:40 +03:00 |
|
Arseny Smirnov
|
8fcf7740d2
|
RangeSet (will be used instead of BitMask in files) implementation with tests
GitOrigin-RevId: 977f0776d0b7ef96a31364d2a68cfe980f2845c8
|
2020-10-09 17:35:53 +03:00 |
|
levlam
|
fdc3920572
|
Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
|
2020-10-08 18:30:36 +03:00 |
|
levlam
|
1cfa7545c9
|
Add one thread ClientManager close test.
GitOrigin-RevId: a7f29e7e0c62042ae43d46c349944ff0d5fadc34
|
2020-10-08 14:40:25 +03:00 |
|
levlam
|
be374f38ac
|
Improve error message for requests to closed client.
GitOrigin-RevId: 4870c3614ea52ecd0fd1124dfc517471b6d30b55
|
2020-10-08 13:59:03 +03:00 |
|
levlam
|
b4f358de36
|
Move tdclient test out of namespace td.
GitOrigin-RevId: 17183698257c0d93553d8f7e61eff1f7f79818fc
|
2020-10-08 13:27:00 +03:00 |
|
levlam
|
582206d641
|
Use Random::fast_bool.
GitOrigin-RevId: 42da8a237c6dfbb6e72bc5b21482891b6c9d58b5
|
2020-10-08 12:56:08 +03:00 |
|
levlam
|
f61bd5b89a
|
Add Client close test.
GitOrigin-RevId: 0dadd556320bb289c3574937c82c4574cf512724
|
2020-10-08 01:28:01 +03:00 |
|
levlam
|
f7393d2717
|
Fix handling of requests to unexisting Client.
GitOrigin-RevId: 5de9709abe73ae73dc52c9ca04c480a60efbf437
|
2020-10-05 23:05:16 +03:00 |
|
levlam
|
3fc140b4a2
|
Add ClientManager documentation.
GitOrigin-RevId: 5254af6d55288851e633a6567d700f6b15b18d1a
|
2020-10-05 14:32:23 +03:00 |
|
levlam
|
3d2067475e
|
Fix secret chat test.
GitOrigin-RevId: e69725eca0bcaeab7552f83dba353994f136c323
|
2020-09-30 23:01:58 +03:00 |
|
levlam
|
25676d7ff0
|
Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
|
2020-09-23 01:52:16 +03:00 |
|
levlam
|
cb3f390a92
|
Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
|
2020-09-22 02:15:09 +03:00 |
|
levlam
|
23b3eb4931
|
Update layer to 118. Support message forward count.
GitOrigin-RevId: 10f59fede8b4a86c871949fc721fedd1d615c4bf
|
2020-07-31 05:50:11 +03:00 |
|
levlam
|
2009d58f6a
|
Deprecate ActorShared with 0 token.
GitOrigin-RevId: 15dc5e63afa4c0d08f911101eaa78513df6aebc5
|
2020-08-27 01:27:34 +03:00 |
|
levlam
|
3a626f6df2
|
Silence clang warning.
GitOrigin-RevId: 36b916f6f26a2802b800360e1194e04983a9a852
|
2020-08-20 11:44:56 +03:00 |
|
levlam
|
a2e7a0b12d
|
Support receiving silent messages in secret chats.
GitOrigin-RevId: 59df982a7ac96c5490eb90ef8def522ac3a47b53
|
2020-08-19 18:15:40 +03:00 |
|
levlam
|
dfb3e124b8
|
Minor.
GitOrigin-RevId: 47042cd58afacf0470e0ee60c48ece88ae5f7485
|
2020-08-17 14:40:22 +03:00 |
|
Arseny Smirnov
|
ce80dd77f0
|
Actors: safer tag_ in context
GitOrigin-RevId: 9f9ef2a024e0bcfb0e5aed76a23174f1faad3b5a
|
2020-08-17 13:57:05 +03:00 |
|
levlam
|
f266aa3912
|
Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
|
2020-08-14 22:51:10 +03:00 |
|
levlam
|
9592aac404
|
Minor improvements.
GitOrigin-RevId: 09fbcc25ade8d77c13dc580f13b206c07ba53f9f
|
2020-08-13 16:57:28 +03:00 |
|
Arseny Smirnov
|
10c619053e
|
Add test for sqlite chipher compatibility
GitOrigin-RevId: 7b458dd4208166391071bc64dcb9204ff2da1df7
|
2020-08-12 18:36:26 +03:00 |
|