Commit Graph

481 Commits

Author SHA1 Message Date
levlam
4cb164f444 Initialize all BinlogEvent fields. 2023-02-02 21:13:52 +03:00
levlam
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
882de6e8e8 Replace unsafe to maintain data_ field with get_data() method. 2023-02-02 03:08:26 +03:00
levlam
4d70d1e920 Minor improvements. 2023-01-31 13:33:30 +03:00
levlam
ef4c3902fe Fix some warnings. 2023-01-18 22:42:01 +03:00
levlam
89efc4feca Explicitly define static constexpr fields. 2023-01-17 14:46:21 +03:00
levlam
3e5f30af70 Improve event_id variable names. 2023-01-16 12:47:37 +03:00
levlam
b514162c7e Add QueryMerger test. 2023-01-13 13:53:56 +03:00
levlam
75bdc6292b Remove some getAuthorizationState usages. 2023-01-12 22:25:47 +03:00
levlam
ed2644c2fd Add tests for anonymous phone numbers. 2023-01-09 18:19:02 +03:00
levlam
8ceeb39f5d Update answers in get_phone_number_info test. 2023-01-09 17:53:07 +03:00
levlam
1919671df3 Improve parse_html test. 2023-01-09 17:07:08 +03:00
levlam
c4afb9283c Return all deleted events fron TQueue::clear. 2023-01-05 23:17:06 +03:00
levlam
8b763bedaf Move random_shuffle to tests.h. 2023-01-02 14:29:03 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
630101358b Add internalLinkTypeEditProfileSettings. 2022-12-28 18:08:00 +03:00
levlam
1a3789e88d Add internalLinkTypeDefaultMessageAutoDeleteTimerSettings. 2022-12-28 17:58:17 +03:00
levlam
bb9108ca32 Add internalLinkTypeStickerSet.expect_custom_emoji. 2022-12-27 18:17:49 +03:00
levlam
f99fb4fc06 Delete events from callback before forgetting them in TQueue. 2022-12-20 16:37:22 +03:00
levlam
02ff843bbb Add internalLinkTypeUserToken. 2022-12-01 17:42:57 +03:00
levlam
6464cff5ef Fix warning. 2022-11-23 23:14:51 +03:00
levlam
5945cc9b70 Add TQueue::clear. 2022-11-08 17:04:45 +03:00
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