Commit Graph

3048 Commits

Author SHA1 Message Date
Lonami Exo
b8b9836cf7 Work towards dialogs and drafts 2023-10-19 21:36:54 +02:00
Lonami Exo
864d5cd444 Gracefully handle user-invoked disconnects 2023-10-19 19:28:00 +02:00
Lonami Exo
854d3745b3 Handle dispatcher CancelledError during disconnect 2023-10-18 20:38:45 +02:00
Lonami Exo
c49f0827b1 Don't send requests until there are salts
This way we don't waste resources sending containers that may fail.
2023-10-18 20:35:55 +02:00
Lonami Exo
45f866c335 Fix handling of bad_msg 16 and 17 2023-10-18 20:31:09 +02:00
Lonami Exo
5604f530c0 Fix handling of bad_msg referring to containers 2023-10-18 19:51:18 +02:00
Lonami Exo
186dd38ff4 Save session in complete_login 2023-10-17 20:45:52 +02:00
Lonami Exo
4465644aa1 Fix pack implementations 2023-10-17 18:50:06 +02:00
Lonami Exo
34dffe978e Fix file uploads and references to full_name 2023-10-16 23:06:24 +02:00
Lonami Exo
0727c1d1f1 Continue improving documentation 2023-10-16 20:12:16 +02:00
Lonami Exo
04806a2a4a Create a base class for Chat 2023-10-16 20:12:00 +02:00
Lonami Exo
c4d399e32d Add missing await in get_password_information 2023-10-16 20:10:05 +02:00
Lonami Exo
8e616bc85a Add client to readthedocs requirements 2023-10-16 18:43:31 +02:00
Lonami Exo
8c0654185d Version .tl files 2023-10-16 18:36:20 +02:00
Lonami Exo
2f6ea3497a Use custom build backend for the client package 2023-10-16 18:32:12 +02:00
Lonami Exo
957a66f797 Move generator parser methods to parser 2023-10-16 18:31:42 +02:00
Lonami Exo
5416e4d5c0 Fix installation of generator 2023-10-16 17:19:56 +02:00
Lonami Exo
953f6f11c5 Add .readthedocs.yaml 2023-10-15 21:16:50 +02:00
Lonami Exo
6be93c69ed Handle UpdateShortSentMessage in send_message 2023-10-14 01:25:06 +02:00
Lonami Exo
816f6012a9 Support more chats in resolve_to_packed 2023-10-14 01:21:59 +02:00
Lonami Exo
c91ce98a25 Fix handling of salts and container buffer 2023-10-14 01:21:33 +02:00
Lonami Exo
6ed279e773 Improve handling of remote config 2023-10-13 22:59:56 +02:00
Lonami Exo
b4f9d3d720 Improve error handling in transports 2023-10-13 22:59:56 +02:00
Lonami Exo
42633882b5 Make logs more consistent 2023-10-13 22:59:56 +02:00
Lonami Exo
236c2f7e7c Remove TODOs 2023-10-13 22:59:56 +02:00
Lonami Exo
b31f4fe063 Use logger 2023-10-12 21:10:00 +02:00
Lonami Exo
325f1ca27d Update changelog 2023-10-12 20:46:57 +02:00
Lonami Exo
994d07ba05 Continue documentation 2023-10-12 19:31:41 +02:00
Lonami Exo
034bf304bb Enable and use ruff 2023-10-12 18:17:41 +02:00
Lonami Exo
7fabf7da0a Continue documentation and reducing public API 2023-10-08 15:07:39 +02:00
Lonami Exo
25a2b53d3f Continue implementing file and message 2023-10-02 23:26:40 +02:00
Lonami Exo
4df1f4537b Complete migration guide from other bot libraries 2023-10-01 13:37:28 +02:00
Lonami Exo
18895748c4 Continue implementation and documentation 2023-09-30 17:13:24 +02:00
Lonami Exo
6a880f1ff1 Add missing implementations 2023-09-17 22:54:52 +02:00
Lonami Exo
5f4470dd57 Fix step could complete all at once 2023-09-17 22:53:52 +02:00
Lonami Exo
2541c409e2 Add username to session
Needed by filters.Command.
2023-09-17 22:53:26 +02:00
Lonami Exo
8c00d2f088 Update error types used by generator 2023-09-17 22:49:10 +02:00
Lonami Exo
6f6618f251 Use cryptg when available 2023-09-17 22:48:17 +02:00
Lonami Exo
495de58925 Expand docs on migration guide 2023-09-16 19:13:00 +02:00
Lonami Exo
22f15303a5 Add errors factory skeleton 2023-09-16 19:12:41 +02:00
Lonami Exo
0e586abefe Add ChatType filter 2023-09-14 21:32:21 +02:00
Lonami Exo
604d95a807 Document most methods and classes 2023-09-14 21:17:24 +02:00
Lonami Exo
569ff3d372 Split check and fmt tools 2023-09-13 20:15:49 +02:00
Lonami Exo
9e43700f55 Fix docgen in strict mode 2023-09-13 20:07:07 +02:00
Lonami Exo
5376905e3d Address type checks 2023-09-13 19:39:01 +02:00
Lonami Exo
b62327308b Add documentation 2023-09-13 19:01:16 +02:00
Lonami Exo
e36c35c805 Begin preparing client for documentation 2023-09-13 19:00:47 +02:00
Lonami Exo
80fefca2e9 Simplify copying generated Client signatures 2023-09-13 19:00:10 +02:00
Lonami Exo
c57543d79a Init connection on the DC from the session 2023-09-12 20:55:46 +02:00
Lonami Exo
9e5eb619e1 Make disconnection more resilient 2023-09-12 20:55:25 +02:00