Commit Graph

310 Commits

Author SHA1 Message Date
levlam
c739df8507 Pass UserId instead of int32 when creating secret chat. 2021-03-29 11:57:26 +03:00
levlam
2ba7fd0f18 Enable HTTP gzip text. 2021-03-28 01:51:51 +03:00
levlam
b84318fed4 Minor improvements. 2021-03-27 05:19:22 +03:00
levlam
66de95d93c Fix compilation errors and formatting. 2021-03-26 18:52:45 +03:00
Arseny Smirnov
5c7b7d4c85 TD_EXPERIMENTAL_WATCH_OS cmake option 2021-03-26 18:04:25 +03:00
levlam
f0e7b211c3 Use case-insensitive comparison for short mention entities. 2021-03-20 22:57:34 +03:00
levlam
efd7838c68 Add HTTP-gzip test. 2021-03-19 18:01:25 +03:00
levlam
d06025d40d Disable sanitizer for 32-bit builds: https://github.com/tdlib/td/issues/1447. 2021-03-16 17:40:46 +03:00
levlam
4e8732a197 Minor test-crypto fixes. 2021-02-25 14:57:50 +03:00
Arseny Smirnov
143846f09b cryptography draft fixes 2021-02-24 18:43:24 +03:00
Arseny Smirnov
0c90ca3784 some cryptography draft 2021-02-10 23:25:28 +03:00
levlam
b07a9efb2e Disable SFTP link highlighting. 2021-02-03 21:08:01 +03:00
levlam
dbf1253075 Replace deleteSupergroup with universal deleteChat method. 2021-01-20 14:49:18 +03:00
levlam
82f0386e73 Move some functions from misc.h to algorithm.h. 2021-01-01 16:01:03 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
865009fffc Include improvements. 2021-01-01 01:52:01 +03:00
levlam
03bb56ae96 Add RSA test. 2020-12-22 22:28:04 +03:00
levlam
3589676550 Minor fixes. 2020-12-22 15:51:57 +03:00
levlam
85f3cefe67 Add missing license. 2020-12-03 23:20:29 +03:00
levlam
7f9681313a Update layer 122. 2020-11-29 15:41:03 +03:00
Arseny Smirnov
ab3e695f94 Revert "Revert "New test for tdlib. New Promise/Future features (ported from other project)""
This reverts commit 56866524aa.
2020-11-26 18:49:51 +04:00
Arseny Smirnov
56866524aa Revert "New test for tdlib. New Promise/Future features (ported from other project)"
This reverts commit 0c2b15f2b8.
2020-11-24 15:50:44 +04:00
Arseny Smirnov
0c2b15f2b8 New test for tdlib. New Promise/Future features (ported from other project) 2020-11-24 15:25:10 +04:00
levlam
6571a99b45 Include ConcurrentScheduler separately. 2020-11-23 03:24:36 +03:00
levlam
172c08a991 Speed up DB key_value tests. 2020-11-22 17:34:01 +03:00
levlam
92508c8d60 Remove broken part of binlog_encryption test. 2020-11-22 17:19:59 +03:00
levlam
eeda2ca96a Disable broken Secret_go test. 2020-11-22 16:56:34 +03:00
levlam
6044ee83fb Fix Client_SimpleMulti test on macOS. 2020-11-22 16:26:00 +03:00
levlam
1557fbcfe9 Return back old SQLCipher migrate test. 2020-11-21 21:58:42 +03:00
levlam
36addb042e Allow sqlite_encryption_migrate test to fail. 2020-11-21 21:02:42 +03:00
levlam
375c638936 Allow sqlite_encryption_migrate test to fail. 2020-11-21 19:43:48 +03:00
levlam
e8cd3d9af2 Fix tests logic. 2020-11-21 15:34:51 +03:00
levlam
15359488be Fix database opening. 2020-11-18 21:08:41 +03:00
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
levlam
6a9cd72636 Don't create client through ClientManager until first request is sent to it. 2020-11-12 14:45:18 +03:00
levlam
39fec60968 Reduce ClientManager timeout in test.
GitOrigin-RevId: 806d6b24d0348af17c6334fd9c1983ef3098e62d
2020-10-13 10:42:18 +03:00
levlam
706555502b Build tests only once.
GitOrigin-RevId: 386e5708eab6b806bd62a06e854187f4988303d3
2020-10-12 11:49:23 +03:00
levlam
38f72b353a Clear ClientManager when the last Client is closed.
GitOrigin-RevId: d2d5194f7ffc59dc8db1196401c80689a8645dac
2020-10-09 15:39:30 +03:00
levlam
35a9a93fc9 Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
2020-10-08 23:04:40 +03:00
Arseny Smirnov
8fcf7740d2 RangeSet (will be used instead of BitMask in files) implementation with tests
GitOrigin-RevId: 977f0776d0b7ef96a31364d2a68cfe980f2845c8
2020-10-09 17:35:53 +03:00
levlam
fdc3920572 Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
2020-10-08 18:30:36 +03:00
levlam
1cfa7545c9 Add one thread ClientManager close test.
GitOrigin-RevId: a7f29e7e0c62042ae43d46c349944ff0d5fadc34
2020-10-08 14:40:25 +03:00
levlam
be374f38ac Improve error message for requests to closed client.
GitOrigin-RevId: 4870c3614ea52ecd0fd1124dfc517471b6d30b55
2020-10-08 13:59:03 +03:00
levlam
b4f358de36 Move tdclient test out of namespace td.
GitOrigin-RevId: 17183698257c0d93553d8f7e61eff1f7f79818fc
2020-10-08 13:27:00 +03:00
levlam
582206d641 Use Random::fast_bool.
GitOrigin-RevId: 42da8a237c6dfbb6e72bc5b21482891b6c9d58b5
2020-10-08 12:56:08 +03:00
levlam
f61bd5b89a Add Client close test.
GitOrigin-RevId: 0dadd556320bb289c3574937c82c4574cf512724
2020-10-08 01:28:01 +03:00
levlam
f7393d2717 Fix handling of requests to unexisting Client.
GitOrigin-RevId: 5de9709abe73ae73dc52c9ca04c480a60efbf437
2020-10-05 23:05:16 +03:00
levlam
3fc140b4a2 Add ClientManager documentation.
GitOrigin-RevId: 5254af6d55288851e633a6567d700f6b15b18d1a
2020-10-05 14:32:23 +03:00
levlam
3d2067475e Fix secret chat test.
GitOrigin-RevId: e69725eca0bcaeab7552f83dba353994f136c323
2020-09-30 23:01:58 +03:00
levlam
25676d7ff0 Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
2020-09-23 01:52:16 +03:00