Commit Graph

2886 Commits

Author SHA1 Message Date
Dmitry D. Chernov
a49e50d04d TelegramClient: Perform disconnection on class destruction (#74) 2017-05-06 13:40:42 +02:00
Dmitry D. Chernov
ff469acb81 TelegramClient.get_dialogs: Rename 'count' argument to 'limit' (#72) 2017-05-05 15:11:48 +02:00
Gholamhossein Tavasoli
8ffec6b8be Improve handling invalid UTF-8 strings (#68) 2017-05-03 13:02:44 +02:00
Lonami Exo
3d66062eb4 Ignore invalid utf-8 strings (closes #49) 2017-05-02 16:16:36 +02:00
Lonami Exo
6069188b54 MtProtoPlainSender was not connecting (closes #62) 2017-04-29 20:57:08 +02:00
Lonami Exo
fbe65c2dfb Reconnect on timeout inside timeout (#61) 2017-04-29 11:07:32 +02:00
Lonami Exo
a7595347f3 Make the UpdatesThread a daemon (closes #60) 2017-04-29 10:41:56 +02:00
Lonami Exo
89326c998a Workaround for #50 suggested by @strayge (send not only Ping) 2017-04-21 14:02:21 +02:00
Lonami Exo
192eb3cf57 Fix crash when receiving MessageServices (closes #52) 2017-04-17 09:36:24 +02:00
Lonami Exo
4421c3ac7a Update to layer 66 2017-04-15 18:10:27 +02:00
Lonami Exo
ef3cdf9e23 Fix constructor count showing as negative 2017-04-15 15:34:49 +02:00
Lonami Exo
81dfcc4102 Improve the docs navigation 2017-04-15 14:15:40 +02:00
Lonami Exo
ba83edd8f5 Add search to the docs 2017-04-15 13:58:21 +02:00
Lonami Exo
2ecd181c25 Externalize the core index on the docs 2017-04-15 13:23:17 +02:00
Lonami Exo
fbc7aabf13 Update to v0.8 2017-04-14 15:33:05 +02:00
Lonami Exo
6b2c0271ae Fix updates thread crashing on logout 2017-04-14 15:28:15 +02:00
Lonami Exo
f6c34f8ba2 Add current time to the log output 2017-04-12 10:35:07 +02:00
Lonami Exo
1d2420d549 Add more informative error message when invoking disconnected 2017-04-11 10:25:09 +02:00
Lonami Exo
4fa43f231f Fix "Must wait error" not causing updates thread to sleep 2017-04-11 09:58:22 +02:00
Lonami Exo
6d1ce4d48d Let only the LogOut request be confirmed via ack 2017-04-11 09:57:18 +02:00
Lonami Exo
3e611cdd42 Revert "Workaround for None results"
This reverts commit 6e4c437340.
2017-04-11 09:46:26 +02:00
Lonami Exo
6e4c437340 Workaround for None results (#47) 2017-04-10 09:34:58 +02:00
Lonami Exo
f24d4f4a0e Fix updates thread not sleeping when handling pings 2017-04-09 13:16:22 +02:00
Lonami Exo
1232e8f607 Add logging to MTProtoSender 2017-04-09 13:14:04 +02:00
Lonami Exo
6add278f07 Update README with a link to the docs 2017-04-08 14:16:26 +02:00
Lonami Exo
9428e73891 Core documentation index should really be at the root 2017-04-08 14:07:36 +02:00
Lonami Exo
df7f4bc47c Generate docs to the generated/ subfolder 2017-04-08 14:04:32 +02:00
Lonami Exo
56a959a07d Generate core documentation 2017-04-08 13:58:42 +02:00
Lonami Exo
356ed164f7 Don't link generic arguments on the docs 2017-04-08 12:41:31 +02:00
Lonami Exo
64a1a69a5e Minor visual improvements to the docs 2017-04-08 12:26:48 +02:00
Lonami Exo
877065d0ac Reuse code when writing the docs menu, add menu to indices 2017-04-08 12:21:38 +02:00
Lonami Exo
a4e8b3d2e5 Generate indices files on the documentation 2017-04-07 21:06:49 +02:00
Lonami Exo
edda87b81b Make use of the reusable docs writer class 2017-04-07 20:18:01 +02:00
Lonami Exo
b50a85bb93 Add a more reusable document writer class 2017-04-07 20:07:55 +02:00
Lonami Exo
4abeb0b14a Generate docs for all the types listing their constructors 2017-04-07 19:08:00 +02:00
Lonami Exo
0abeb54a28 Write a documentation generator script 2017-04-07 18:30:54 +02:00
Lonami Exo
426b09aec0 Slightly improve the updates thread (also easier to understand) 2017-04-06 18:46:09 +02:00
Lonami Exo
ceca636bb1 Do not connect to Telegram until .connect() is invoked 2017-04-06 18:16:15 +02:00
Ader
4734d4a7f9 Add method to list update handlers (#40) 2017-03-28 18:46:07 +02:00
Lonami Exo
af4514b15e Fix uploading big files (closes #2) 2017-03-25 17:14:11 +01:00
Lonami Exo
3f24cb17c3 Update README 2017-03-20 17:34:51 +01:00
Epix Zhang
350c11d66f Add proxy support using PySocks (closes #37) 2017-03-20 17:16:34 +01:00
Lonami Exo
b4c81a60b3 Add more errors 2017-03-20 12:44:10 +01:00
Lonami Exo
258c7f1df6 Allow login as a bot (closes #36, thanks to @JuanPotato) 2017-03-20 12:32:10 +01:00
Lonami Exo
628b7391e3 Greatly improve the handling of working with different DC 2017-03-20 12:32:10 +01:00
Lonami
6b1dc30045 Merge pull request #33 from belegnar/master
Doc improvement and force reconnection
2017-03-10 13:00:49 +01:00
Belegnar
8753df27ed * reconnect in TelegramClient.connect() forces reconnect only if client was connected 2017-03-10 14:14:51 +03:00
Belegnar
0e44657963 * doc improvement
* relative imports not allowed when module is not loaded (https://www.python.org/dev/peps/pep-0366/)
2017-03-10 14:13:22 +03:00
Lonami Exo
b5dfc5d514 Fix requests returning vectors not working (closes #26) 2017-02-25 11:28:55 +01:00
Lonami Exo
8cde95ff95 Update to v0.7.1 2017-02-19 15:48:29 +01:00