Commit Graph

547 Commits

Author SHA1 Message Date
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
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