Commit Graph

5169 Commits

Author SHA1 Message Date
levlam
f5dadbb1e5 Automatically install dependent DLLs on Windows. 2020-11-12 17:32:48 +03:00
levlam
5ce7448f7a Send a dummy request to initialize client. 2020-11-12 16:53:51 +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
597c0d2983 Add checks that client ID doesn't overflow. 2020-11-12 01:19:30 +03:00
levlam
9725780fc6 Replace referenced text with anchor name in richTextReference to support nested references. 2020-11-11 16:41:30 +03:00
levlam
d63a16ef8b Remove PHP ctype extension usage. 2020-11-11 16:38:48 +03:00
levlam
6a2dba9e8c Disable IPV6_V6ONLY on IPv6 server sockets on Windows. 2020-11-10 23:08:54 +03:00
levlam
c86687091d Improve documentation. 2020-11-10 20:47:22 +03:00
levlam
1fa87babb3 Fix TcpListener re-init. 2020-11-10 02:03:48 +03:00
levlam
7febd4f9af Support binding of ServerSocket to IPv6 address. 2020-11-10 00:50:05 +03:00
levlam
41825d5790 Fix formatting. 2020-11-09 23:48:43 +03:00
Kunoi Sayami
a49c8676d8
Add parameters specify tcp server bind ip address (#1287) 2020-11-09 23:46:07 +03:00
levlam
ea8c57fea3 Fix canceling chat actions on timeout. 2020-11-09 12:33:40 +03:00
levlam
1d75237893 Don't export CXXFLAGS in build instructions generator. 2020-11-08 21:03:23 +03:00
levlam
7a0b88441a Add CentOS to build instructions generator. 2020-11-08 18:51:35 +03:00
levlam
f9a600c401 Minor fixes. 2020-11-08 14:00:36 +03:00
levlam
b21d667bdf Fix compilation error. 2020-11-08 12:09:27 +03:00
levlam
60edadab90 Automatically group forwarded documents and music files. 2020-11-08 00:40:12 +03:00
levlam
0713c913de Remove now unneeded postponed_get_message_requests_. 2020-11-08 00:40:12 +03:00
levlam
00382f825b Get channel difference if it is needed to add messages. 2020-11-08 00:40:12 +03:00
levlam
ed25a03dda Get channel difference before adding discussion message if needed. 2020-11-08 00:40:12 +03:00
levlam
260c15e3e9 Add process_discussion_message method. 2020-11-08 00:40:12 +03:00
levlam
8f623e8be7 Add early check for another active channel difference. 2020-11-08 00:40:12 +03:00
levlam
cb06833eb1 Reload full dialog info with a small delay. 2020-11-08 00:40:06 +03:00
levlam
431b0bddbc Fix GCC warning. 2020-11-06 18:27:33 +03:00
levlam
7e82a54417 Fix std::is_trivially_copyable usage. 2020-11-06 18:27:19 +03:00
levlam
da1f073e22 Forward messages in two passes. 2020-11-06 16:00:56 +03:00
levlam
398c7cfd52 Don't drop administrator count in non-admined supergroups. 2020-11-06 15:16:30 +03:00
levlam
ff0c727ee2 Fix code formatting. 2020-11-06 02:13:12 +03:00
Sergey Polovko
645052bec7
Implement hash function for MessageContentType enum. (#1283) 2020-11-06 02:05:15 +03:00
levlam
e4dda41a98 Always use SplitSource on OpenBSD. 2020-11-05 23:42:58 +03:00
levlam
254823d602 Fix search inside message threads. 2020-11-05 17:46:47 +03:00
levlam
5c5f3bece5 Fix C++ example. 2020-11-04 21:35:38 +03:00
levlam
821398fa21 Add vcpkg folder to gitignore. 2020-11-04 03:54:07 +03:00
levlam
c9a70fcd49 Minor build.html fixes.
GitOrigin-RevId: 4ecacd9a9d10a96e857d348a6a886d74ed613321
2020-11-03 17:35:12 +03:00
levlam
925e590917 Enable CMake policy CMP0060 by default.
GitOrigin-RevId: 9d2073bbf54af70c44614153f05eed3d324c0fe6
2020-11-03 12:34:34 +03:00
levlam
b3736ba098 Improve wording in build instructions generator.
GitOrigin-RevId: a84f204148b06b9859373617829badfca477d5fc
2020-11-02 20:23:10 +03:00
levlam
1f484446fc Fix pkgconfig install path.
GitOrigin-RevId: 2a8a4160d82ee15f02ee9996a7a964bd8fe37c6e
2020-11-02 19:34:21 +03:00
levlam
c1de6a7d8d Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
2020-11-02 00:43:57 +03:00
levlam
301c8b167f Allow passing outdated yet unsent message identifier to getRepliedMessage.
GitOrigin-RevId: b24c47456a3716022de52fe030245e048ff5d053
2020-11-01 23:24:29 +03:00
levlam
ab5484fd78 Improve logging.
GitOrigin-RevId: 2d3e19395b48d4c6c330a852d559b537ff363b4e
2020-11-01 23:22:42 +03:00
levlam
69ae1d4f0c Allow auth.bindTempAuthKey before authorization to check auth_key validness.
GitOrigin-RevId: 7a80d84aef6a9f097c6567ed72bccd9b62f87c2c
2020-11-01 21:42:48 +03:00
levlam
3a8931cff0 Ping server only if authorized.
GitOrigin-RevId: 02e272e5dd2892fde8df74b968091d14fb96ed54
2020-11-01 21:36:42 +03:00
levlam
107d86f6d4 Improve formatting.
GitOrigin-RevId: 0038725a5dd9e4773f4c7e8f1b8e4a0372087261
2020-11-01 11:58:01 +03:00
levlam
d90f271c48 Add TD_ENABLE_MULTI_PROCESSOR_COMPILATION option for MSVC.
GitOrigin-RevId: f5500b79eb83a20d7ffc1c73963fa3f29fc90012
2020-11-01 11:55:51 +03:00
levlam
36763888d4 Improve Usage output in OptionParser.
GitOrigin-RevId: 8955f6ce0643fbf871b3f3781bd36568d490eb6c
2020-11-01 01:28:58 +03:00
levlam
fd2fcc3eb0 Improve documentation.
GitOrigin-RevId: f0e6047beb07322b285807462d381e8fdafe35a3
2020-10-31 21:27:21 +03:00
levlam
f9a527b2d0 Update documentation.
GitOrigin-RevId: 6f36ec26b37604e21b4de35a2be864ab9e7fd251
2020-10-31 21:24:59 +03:00
levlam
c8949e264d Allow access to channel if it has linked channel, but we can't check access to it.
GitOrigin-RevId: 897e86d18ad2b3c829c4ac544320fa4ee4ebd31b
2020-10-31 19:40:08 +03:00
levlam
ed0bf2c1b3 Ignore failed to load chats in getChatFilter.
GitOrigin-RevId: 5c1871080e56576f402917e1ecfbf0c99da0deba
2020-10-31 16:43:26 +03:00