Commit Graph

563 Commits

Author SHA1 Message Date
levlam
d26e0fab57 Support tonsite protocol. 2024-07-17 08:36:56 +03:00
levlam
3a528d46c8 Support chat links that open chat's profile. 2024-07-16 17:59:27 +03:00
levlam
0f984b24c7 Add internalLinkTypeSideMenuBot.is_compact. 2024-06-29 23:47:33 +03:00
levlam
aa26c117ee Add internalLinkTypeWebApp.is_compact. 2024-06-29 22:35:45 +03:00
levlam
c7fae71b92 Fix BlockQuote check in fix_formatted_text test. 2024-05-23 13:38:14 +03:00
levlam
97baf4bda5 Support phone numbers in international format in internal links. 2024-05-23 07:46:08 +03:00
levlam
fa6ed08534 Support expandable block quote entities in MarkdownV2. 2024-05-21 12:26:23 +03:00
levlam
36ebd42a92 Allow attributes without value and support expandable blockquote entities in HTML parse_mode. 2024-05-21 11:50:41 +03:00
levlam
1bb18ea6fb Add libtdmtproto. 2024-05-18 21:41:28 +03:00
levlam
53c3e79197 Move class HttpDate to tdutils. 2024-05-20 13:46:32 +03:00
levlam
3fe4b2ee08 Explicitly specify return type in the last send_query. 2024-05-14 01:00:38 +03:00
levlam
dbd22cb665 Explicitly specify query return types in test-online to avoid compilation errors. 2024-05-14 00:55:35 +03:00
levlam
b5610e560f Fix warning. 2024-05-14 00:10:01 +03:00
levlam
2cd58aa9df Fix warning suppression. 2024-05-12 22:41:46 +03:00
levlam
1bb4a2007b Add td_api::internalLinkTypeBusinessChat. 2024-04-12 01:01:26 +03:00
levlam
ecea209a6b Support draft_text in private chat links. 2024-04-09 01:54:55 +03:00
levlam
03a624903e Move relevant functions to UserManager. 2024-04-02 03:52:34 +03:00
levlam
586bc78413 Suppress GCC 13 warning. 2024-03-25 00:01:32 +03:00
levlam
539fd729ea Allow stories administrator rights in supergroups. 2024-02-11 02:16:25 +03:00
levlam
db4bd6b133 Strip more empty characters. 2024-02-01 21:16:01 +03:00
levlam
2a8156a1bc Add registerUser.disable_notification. 2024-01-29 16:43:42 +03:00
levlam
8377726001 Add source to Binlog::sync. 2024-02-02 15:09:17 +03:00
levlam
562374088c Remove setTdlibParameters.enable_storage_optimizer/ignore_file_names parameters in favor of "use_storage_optimizer" and "ignore_file_names" options. 2024-01-11 13:54:23 +03:00
levlam
60f2f75b78 Minor improvements. 2024-01-22 13:11:04 +03:00
levlam
1f116cdd99 Reuse the same PublicRsaKeySharedMain object. 2024-01-22 02:52:58 +03:00
levlam
0dd1934090 Use separate implementations for main and CDN RSA keys. 2024-01-22 02:15:26 +03:00
levlam
da031b3faa Allow \r and other empty entities as a separator between MarkdownV2 blockquotes. 2024-01-10 14:36:27 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
4a45265926 Add td_api::internalLinkTypePremiumGift. 2023-12-26 21:01:33 +03:00
levlam
4c052a5efa Don't remove whitespace-only entities. 2023-12-04 18:33:40 +03:00
levlam
404761c525 Fix clang 14 compilation error. 2023-11-27 10:38:11 +03:00
levlam
794f352ed7 Add multipart/form-data tests. 2023-11-25 12:35:21 +03:00
levlam
c2cbb0c468 Explicitly pass content-type of the test HTTP query. 2023-11-24 22:30:06 +03:00
levlam
21ab0edef0 Allow empty block quotes in MarkdownV2. 2023-11-15 20:57:13 +03:00
levlam
49a75ad084 Add source to QueryMerger::add_query. 2023-11-08 23:22:18 +03:00
levlam
c926b16896 Support pre-existing BlockQuote entities in parseMarkdown. 2023-11-07 19:40:45 +03:00
levlam
d0f6791777 Support PreCode entities in getMarkdownText. 2023-11-06 02:11:15 +03:00
levlam
000da35ad0 Always remove new line on the first empty line of Pre entity. 2023-11-06 02:03:29 +03:00
levlam
4983b8e9a3 Don't remove newline character after Pre entities. 2023-11-06 01:51:51 +03:00
levlam
c24f62d70b Improve parse_markdown_v3 test. 2023-11-06 01:42:03 +03:00
levlam
8e8a7e0f18 Support language code specification for PreCode entities in parseMarkdown. 2023-11-06 00:45:24 +03:00
levlam
ea450564b0 Add BlockQuote parsing in MarkdownV2. 2023-10-30 18:18:13 +03:00
levlam
bdbee0765b Fix warnings. 2023-10-30 16:54:39 +03:00
levlam
f10bcc49cb Support BlockQuote entities in textParseModeHTML. 2023-10-29 22:29:39 +03:00
levlam
77cf5262b4 Add check for entities being sorted. 2023-10-19 13:47:41 +03:00
levlam
4a809ed51a Add get_first_url to test. 2023-10-19 13:46:36 +03:00
levlam
a7e98779f0 Add test for is_visible_url. 2023-10-19 13:45:39 +03:00
levlam
d16fc8294c Add td_api::linkPreviewOptions. 2023-10-16 20:12:33 +03:00
levlam
b4609e910a Add td_api::internalLinkTypePremiumGiftCode. 2023-09-29 16:44:59 +03:00
levlam
cf423903a0 Add new entities to the fix_formatted_text test. 2023-10-18 13:14:07 +03:00