Commit Graph

429 Commits

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