levlam
|
54799d0024
|
Support forum message links in getInternalLinkType.
|
2022-11-04 14:56:25 +03:00 |
|
levlam
|
0bf3e7f0e6
|
Treat usernames of length 4 as valid.
|
2022-10-25 19:25:15 +03:00 |
|
levlam
|
6a16492266
|
Support can_manage_topics administrator right and chat permission.
|
2022-10-23 13:20:53 +03:00 |
|
levlam
|
897032e0fd
|
Add support for multiple usernames.
|
2022-10-12 21:04:18 +03:00 |
|
levlam
|
738f0493b1
|
Fix test.
|
2022-10-26 08:53:09 +03:00 |
|
levlam
|
f12ca7fbcb
|
Move test's KDF3 out of namespace td.
|
2022-10-21 06:31:49 +03:00 |
|
levlam
|
ee28a37906
|
Minor improvements.
|
2022-10-12 15:59:58 +03:00 |
|
levlam
|
39d2ac80b0
|
Remove unused ActorId methods.
|
2022-10-01 11:29:09 +03:00 |
|
levlam
|
bc3ea3e123
|
Add fallback_url to internalLinkTypeInstantView.
|
2022-09-26 01:48:06 +03:00 |
|
levlam
|
faa738d6a9
|
Keep only Slice overload of utf8_utf16_substr.
|
2022-09-22 12:08:34 +03:00 |
|
levlam
|
b76a920db8
|
Open Telegraph links in instant view.
|
2022-09-16 13:51:52 +03:00 |
|
levlam
|
0025c4164b
|
Add internalLinkTypeInstantView.
|
2022-09-16 01:30:54 +03:00 |
|
levlam
|
1ac2dfef30
|
Replace ConcurrentScheduler::init with constructor.
|
2022-09-14 15:06:52 +03:00 |
|
levlam
|
e8d78263b9
|
Support new authorization flow in tdclient test.
|
2022-09-08 08:48:11 +03:00 |
|
levlam
|
f6a2ecdded
|
Inline tdlibParameters in setTdlibParameters.
|
2022-09-07 22:19:08 +03:00 |
|
levlam
|
287cceb162
|
Remove separate authorizationStateWaitEncryptionKey.
|
2022-09-07 21:27:23 +03:00 |
|
levlam
|
e595730735
|
Support t.me subdomains.
|
2022-09-02 16:34:05 +03:00 |
|
levlam
|
4543c485a7
|
Optimize fix_url.
|
2022-08-20 13:44:55 +03:00 |
|
levlam
|
4206246b0c
|
Simplify match_url code.
|
2022-08-20 11:34:21 +03:00 |
|
levlam
|
0d2ddc2d56
|
Allow only domain symbols in user data after first dot to improve performance.
|
2022-08-19 21:01:39 +03:00 |
|
levlam
|
31a4608463
|
Fix fix_formatted_text test.
|
2022-08-19 15:05:49 +03:00 |
|
levlam
|
c5b258f097
|
Explicitly pass options to get_simple_config_*.
|
2022-08-18 21:45:29 +03:00 |
|
levlam
|
8f81a46ede
|
Allow some new characters in hashtags.
|
2022-07-29 16:23:05 +03:00 |
|
levlam
|
e3ae8957bb
|
Support addemoji links.
|
2022-07-27 19:58:58 +03:00 |
|
levlam
|
d4b59bda87
|
Add internalLinkTypeRestorePurchases.
|
2022-07-25 12:06:32 +03:00 |
|
levlam
|
eef3fe5932
|
Support custom emoji in parse_html.
|
2022-07-19 14:13:37 +03:00 |
|
levlam
|
8e09a83506
|
Support custom emoji in MarkdownV2.
|
2022-07-18 23:40:57 +03:00 |
|
levlam
|
07b7faf66c
|
Reduce run time of some tests.
|
2022-07-28 00:15:18 +03:00 |
|
levlam
|
c50e05db27
|
Add helper for td_api::chatAdministratorRights creation.
|
2022-07-04 18:38:34 +03:00 |
|
levlam
|
2472e13f7f
|
Add internalLinkTypeBotStart.autostart.
|
2022-07-01 16:21:29 +03:00 |
|
levlam
|
ebebe0300c
|
Move promise_send_closure to PromiseFuture.h.
|
2022-06-28 14:02:14 +03:00 |
|
levlam
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
levlam
|
da2e504566
|
Remove Promise operators.
|
2022-06-27 03:59:23 +03:00 |
|
levlam
|
513da45a8f
|
Use free-standing function to create event promises.
|
2022-06-27 02:57:56 +03:00 |
|
levlam
|
ee926f86a3
|
Move directory creation and database check to another thread.
|
2022-06-21 02:02:48 +03:00 |
|
levlam
|
782aa6a2ec
|
Minor fixes.
|
2022-06-14 16:11:38 +03:00 |
|
levlam
|
5c7f842f72
|
Actually support targetChatChosen.
|
2022-06-01 18:35:34 +03:00 |
|
levlam
|
8c59d4bd6d
|
Improve td_api::internalLinkTypeAttachmentMenuBot.
|
2022-06-01 18:06:49 +03:00 |
|
levlam
|
dfe067e52e
|
Add supported chat types to internalLinkTypeAttachmentMenuBot.
|
2022-06-01 17:12:53 +03:00 |
|
levlam
|
677c5795a3
|
Cancel speech recognition by timeout.
|
2022-05-27 19:07:37 +03:00 |
|
levlam
|
2c44f8c273
|
Add internalLinkTypePremiumFeatures.
|
2022-05-23 20:37:15 +03:00 |
|
levlam
|
0909f88bc3
|
Use int53 for file size in TDLib API.
|
2022-05-11 17:17:20 +03:00 |
|
levlam
|
0a280c5b0d
|
Support alternative form of invoice links.
|
2022-05-07 11:28:25 +03:00 |
|
levlam
|
464ef38806
|
Add internalLinkTypeInvoice.
|
2022-05-03 17:19:22 +03:00 |
|
levlam
|
1b5798393d
|
Move FloodControlGlobal to tdutils.
|
2022-06-09 17:12:59 +03:00 |
|
levlam
|
a30ac1c277
|
Minor improvements.
|
2022-06-09 16:38:38 +03:00 |
|
levlam
|
da4282a6d9
|
Add optional administrator_rights to internalLinkTypeBotStartInGroup.
|
2022-04-16 05:30:23 +03:00 |
|
levlam
|
ff6f165551
|
Fix "attachment menu" spelling.
|
2022-04-14 22:56:27 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +03:00 |
|
levlam
|
fd00755bec
|
Add internalLinkTypeBotAddToChannel.
|
2022-04-02 14:51:20 +03:00 |
|
levlam
|
7364334ebe
|
Add internalLinkTypeAttachMenuBot.
|
2022-04-01 14:00:34 +03:00 |
|
alyral
|
a78245ee69
|
Add more Settings links (#1884)
|
2022-03-14 20:13:59 +03:00 |
|
levlam
|
867c95bdb2
|
Add td_api::internalLinkTypeUserPhoneNumber.
|
2022-02-18 18:56:58 +03:00 |
|
levlam
|
b2e6da4031
|
Unify actor_id/actor_shared names.
|
2022-03-05 14:35:19 +03:00 |
|
levlam
|
5b4bea1fef
|
Add HashMap build time benchmark.
|
2022-02-11 14:46:30 +03:00 |
|
levlam
|
b8ab910b81
|
Various improvements.
|
2022-02-10 23:01:28 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
levlam
|
382bd2a066
|
Add find_url tests.
|
2022-02-03 15:53:36 +03:00 |
|
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 |
|