Commit Graph

537 Commits

Author SHA1 Message Date
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
levlam
409dda8d77 Add more t.me subdomains to exceptions. 2023-10-07 11:42:20 +03:00
levlam
ce5c3f32e7 Support alternative boost links. 2023-09-26 13:08:54 +03:00
levlam
11c78406c3 Explicitly check returned errors. 2023-09-21 14:47:17 +03:00
levlam
714397da80 Add td_api::internalLinkTypeChatBoost. 2023-09-15 16:24:26 +03:00
levlam
3c977a0f99 Add story-related administrator rights. 2023-09-04 20:24:44 +03:00
levlam
e79f540937 Minor improvements. 2023-09-13 22:17:46 +03:00
levlam
a7d9da0229 Add internalLinkTypeSideMenuBot. 2023-09-07 19:23:07 +03:00
levlam
6022b2ce77 Improve parameter names. 2023-09-11 15:55:46 +03:00
levlam
bdcc79b418 Minor improvements. 2023-07-18 18:20:43 +03:00
levlam
10c44c0cbf Support shorter story links. 2023-06-22 20:42:48 +03:00
levlam
c62c84665a Update sendMessage usages in tests and examples. 2023-06-12 15:30:07 +03:00
levlam
f57ab79f67 Add td_api::internalLinkTypeStory. 2023-06-05 17:56:16 +03:00
levlam
3d06cdd94e Add --offset parameter to TestRunner. 2023-05-18 12:52:30 +03:00
levlam
c9f83caf9f Reset server time difference after a "MessageId is too high" error. 2023-05-14 21:58:54 +03:00
levlam
7e60c440ff Delete temporary files after test finish. 2023-04-23 02:01:51 +03:00
levlam
cc062c6b11 Update folder invite links format. 2023-04-05 19:56:05 +03:00
levlam
d62f9281a7 Improve name of internalLinkTypeChatFolderSettings. 2023-04-03 18:17:25 +03:00
levlam
241021ae83 Rename chat filters to chat folders. 2023-04-03 17:28:51 +03:00
levlam
02a2e23cac Add td_api::internalLinkTypeChatFilterInvite. 2023-03-30 21:11:15 +03:00
levlam
f294f8c47e Split parse_internal_link test to avoid GCC warning. 2023-03-17 00:42:23 +03:00
levlam
e7242b1188 Fix includes. 2023-03-06 20:36:56 +03:00
levlam
d4646d4cd9 Minor improvements. 2023-03-06 16:59:18 +03:00
levlam
1fecd55d03 Improve internal link test and fix some link parsing issues. 2023-03-02 18:03:24 +03:00
levlam
672ef60828 Add td_api::getInternalLink. 2023-03-02 16:21:36 +03:00
levlam
b7ad8e8068 Return portable tg:// URLs in internalLinkTypeMessage. 2023-03-01 22:14:26 +03:00
levlam
9652b075b6 Disallow numeric invite link hashes. 2023-03-01 21:35:16 +03:00