Commit Graph

  • f75acee7e8 Automatically generate Client methods Lonami Exo 2023-09-02 21:09:40 +02:00
  • 938126691c Implement file-related methods Lonami Exo 2023-09-02 20:37:19 +02:00
  • c44eb12c60 Rename input_as_peer Lonami Exo 2023-09-02 20:36:50 +02:00
  • 2cabf6aa25 Make getting messages more usable Lonami Exo 2023-09-02 01:29:35 +02:00
  • 0dfa232070 Fix user login Lonami Exo 2023-09-02 01:18:10 +02:00
  • 49c0645fcb Fix full transport overreading Lonami Exo 2023-09-02 01:15:10 +02:00
  • 5e43efc55d Implement message-related methods Lonami Exo 2023-09-02 00:49:16 +02:00
  • c46387f7bf Make Session more convenient to use Lonami Exo 2023-09-02 00:48:26 +02:00
  • 3863cf0972 Implement bot-related methods Lonami Exo 2023-09-01 19:51:15 +02:00
  • 14ed4ea764 Add some ways to convert message Lonami Exo 2023-09-01 19:50:40 +02:00
  • d2fc9b6cfc Add some ways to convert input chats Lonami Exo 2023-09-01 19:49:36 +02:00
  • 5081910c08 Create Channel and Group types Lonami Exo 2023-09-01 19:47:35 +02:00
  • da011e4b1d Implement some auth methods Lonami Exo 2023-09-01 17:41:47 +02:00
  • 201497b638 Clear out user if not authorized Lonami Exo 2023-09-01 14:41:51 +02:00
  • cc65ee473e Mark tests requiring network access Lonami Exo 2023-09-01 14:09:53 +02:00
  • f69e309b0b Use pytest-asyncio for client and sender tests Lonami Exo 2023-09-01 14:02:24 +02:00
  • 294f7dedd5 Implement client connection Lonami Exo 2023-09-01 13:42:23 +02:00
  • 87ffdca4c2 Import annotations from future Lonami Exo 2023-09-01 13:27:53 +02:00
  • 9ba6e2ded6 Generate deserializers for requests Lonami Exo 2023-09-01 13:25:17 +02:00
  • 2e1321b6c9 Remove enqueuer abstraction from sender Lonami Exo 2023-09-01 11:57:41 +02:00
  • 77b49a1c88 Combine DataCenter ip and port into a single field Lonami Exo 2023-09-01 11:47:23 +02:00
  • fb4503338d Add disconnect method to sender Lonami Exo 2023-09-01 11:46:49 +02:00
  • 5a34e65708 Add Client skeleton Lonami Exo 2023-08-31 23:09:01 +02:00
  • 332215ea2e Bring client parsers for commonmark and HTML Lonami Exo 2023-08-31 23:05:49 +02:00
  • 69d7941852 Implement MessageBox Lonami Exo 2023-08-31 20:11:35 +02:00
  • c77c10b48f Implemnet chat hash cache and adapting updates Lonami Exo 2023-08-31 17:36:08 +02:00
  • 7c112d8b0f Fix typing issues Lonami Exo 2023-08-31 13:32:57 +02:00
  • 60ed7a32fe Use proper error types in mtp Lonami Exo 2023-08-31 13:23:30 +02:00
  • 7166059132 Fix mtsender enqueuer and complete test Lonami Exo 2023-08-31 12:27:43 +02:00
  • dfc540c472 Fix mtp message and container handling Lonami Exo 2023-08-31 12:26:43 +02:00
  • 9e582ca0fa Avoid storing memoryview in deserialized objects Lonami Exo 2023-08-31 12:25:00 +02:00
  • 352ccdd4fc Update auth test to work under new RSA_PAD Lonami Exo 2023-08-31 11:38:05 +02:00
  • d4288fd696 Update RSA encryption to use the new RSA_PAD Lonami Exo 2023-08-31 11:09:12 +02:00
  • 4078243dad Fix some typing issues in tests Lonami Exo 2023-08-31 10:54:50 +02:00
  • 53ea35e0d5 Initial implementation of mtsender Lonami Exo 2023-08-31 10:48:59 +02:00
  • 84e14c2ec4 Make Request class a generic container Lonami Exo 2023-08-31 10:34:36 +02:00
  • 8f89dbb5c2 Temporarily use old RSA keys Lonami Exo 2023-08-31 10:22:58 +02:00
  • e20203785a Add missing nonce check during authentication Lonami Exo 2023-08-31 10:22:23 +02:00
  • d5e6dbe36b Change transports to pack into a write fn Lonami Exo 2023-08-30 16:37:04 +02:00
  • e12845c38b Fix deserialization of bools Lonami Exo 2023-08-30 13:44:42 +02:00
  • 2be75380a3 Update transports to report read length Lonami Exo 2023-08-30 13:43:35 +02:00
  • 9b1d9aa672 Fix incorrect param type in apply_channel_difference (#4185) Shubham Kumar 2023-08-29 22:10:07 +05:30
  • 72f16ef73e Update to layer 161 Lonami Exo 2023-08-29 15:53:12 +02:00
  • 33f3e27e7d Change apply_deadlines_reset micro-optimization Lonami Exo 2023-08-29 14:59:43 +02:00
  • ac483e6812 Only update seq if pts changed Lonami Exo 2023-08-29 14:41:23 +02:00
  • d40aae75f3 Further improve MessageBox trace logging Lonami Exo 2023-08-29 13:54:43 +02:00
  • 574e8876ec Fix getting_diff_for with empty set was being spammed Lonami Exo 2023-08-29 13:54:14 +02:00
  • 2011a329b0 Make MessageBox trace logs more useful Lonami Exo 2023-08-29 13:16:46 +02:00
  • 0cc9ca9bd9 Fix is_inline check for KeyboardButtonWebView (#4183) misuzu 2023-08-28 18:40:23 +03:00
  • e617b59d48 Return marked ID from MemorySession.get_entity_rows_by_id (#4177) Kacnep89 2023-08-23 19:07:32 +05:00
  • b0f9fd1f25 Except all types of timeout error v1.29.3 Lonami Exo 2023-08-18 18:36:30 +02:00
  • 128b707488 Don't treat asyncio.IncompleteReadError as unhandled Lonami Exo 2023-08-03 19:00:55 +02:00
  • 6ded164b85 Sort tlobjects before generating their listing (#4163) Bernhard M. Wiedemann 2023-08-01 20:23:24 +02:00
  • 211238fcd2 Fix reply_to when sending albums v1.29.2 Lonami Exo 2023-07-24 17:23:09 +02:00
  • 694c78c8e9 Improve image compression heuristics and algorithm used (#4158) Nick80835 2023-07-23 15:58:10 -04:00
  • ce010e9bfb Fix handling of UpdateShortSentMessage v1.29.1 Lonami Exo 2023-07-23 17:12:16 +02:00
  • 413a2bb9f3 Bump to v1.29.0 v1.29.0 Lonami Exo 2023-07-23 10:45:55 +02:00
  • 9cf4cd70d1 Disable blank issues in GitHub (#4157) novenary 2023-07-23 11:32:57 +03:00
  • 131f021d51 Don't attempt thumb download if there is no thumb Lonami Exo 2023-07-22 10:52:03 +02:00
  • 438aff3545 Handle FloodWaitError in update loop Lonami Exo 2023-07-21 23:01:12 +02:00
  • 4eef9b52c9 Handle sqlite3.OperationalError in update loop Lonami Exo 2023-07-21 22:56:16 +02:00
  • a0cda0c37c Remove client-side checks when editing permissions Lonami Exo 2023-07-21 22:53:38 +02:00
  • 816b0bdf9f Fix _get_thumb failed when document had no thumbs Lonami Exo 2023-07-21 22:48:12 +02:00
  • 164d35681e Fix reply_to can be optional Lonami Exo 2023-07-21 22:44:35 +02:00
  • 75ed58ad89 Update to layer 160 Lonami Exo 2023-07-21 21:24:10 +02:00
  • 269ee4f05f Port mtproto from grammers Lonami Exo 2023-07-09 21:16:55 +02:00
  • 9636ef35c1 Port crypto from grammers Lonami Exo 2023-07-08 13:04:20 +02:00
  • e74332de75 Improve codegen Lonami Exo 2023-07-08 12:15:11 +02:00
  • 7b707cfc6c Port tl-types fromm grammers Lonami Exo 2023-07-05 22:35:06 +02:00
  • fed06f40ed Port tl-gen from grammers Lonami Exo 2023-07-03 19:19:20 +02:00
  • 16ed9614f9 Change html.unparse logic to mimic markdown's Lonami 2023-06-17 13:07:21 +02:00
  • fc6984d423 Port tl_parser from grammers Lonami Exo 2023-06-12 23:05:53 +02:00
  • fb41cc0546 Reboot project Lonami Exo 2023-06-04 11:36:27 +02:00
  • 9267917031 Improve error message when trying to delete inline messages Lonami Exo 2023-06-09 17:47:59 +02:00
  • 1e63de9b68 Fix lack of support for anon channel restrictions (#4130) rozha 2023-06-09 18:42:34 +03:00
  • 2826c942c0 Support most usernames in VALID_USERNAME_RE Lonami Exo 2023-06-09 17:41:35 +02:00
  • 65407fc899 Document more RPC errors (#4127) Devesh Pal 2023-06-07 02:21:27 +05:30
  • c3bddf9440 Add missing formatting arg in logging call Lonami Exo 2023-06-02 23:04:14 +02:00
  • 4ff7ac6b75 Handle CancelledError inside mtprotosender recv loop Lonami Exo 2023-06-02 19:04:39 +02:00
  • c3ec775607 Clarify OS field in bug report template novenary 2023-06-02 12:20:27 +03:00
  • aab8009a5a Fix comment_to for a group of messages (#4120) iamilya 2023-05-31 18:04:33 +03:00
  • 0f0ca6b0d9 Upgrade issue templates to issue forms (#4118) Lonami 2023-05-31 00:02:20 +02:00
  • c89644eec4 Update some fields in the GH issue template Lonami 2023-05-31 00:01:16 +02:00
  • ed825a2c7d Add dedicated form for documentation issues novenary 2023-05-29 21:58:28 +03:00
  • 9751b356fe Change feature request template to an issue form novenary 2023-05-29 21:51:23 +03:00
  • 6acc39ac04 Change bug report template to an issue form novenary 2023-05-29 21:29:26 +03:00
  • 9fe5937ae1 Update FAQ with more common questions Lonami Exo 2023-05-24 19:23:12 +02:00
  • 16122545ec Add check for asyncio event loop to remain the same Lonami Exo 2023-05-24 19:15:46 +02:00
  • 6a7a981b7a Fix asyncio.CancelledError was being swallowed by inner except Lonami Exo 2023-05-08 22:34:12 +02:00
  • 980f8b32fc Fix KeyError when ID is in cache but queried without mark Lonami Exo 2023-05-05 00:04:30 +02:00
  • c4a41adae5 Better document breaking ToS will lead to bans Lonami Exo 2023-05-04 19:05:07 +02:00
  • 2889bd5bf3 except and propagate TypeNotFoundError during update handling Lonami Exo 2023-05-03 17:55:38 +02:00
  • 9c7ac3b210 Fix absolute import should be relative (#4101) R.T 2023-04-30 19:27:09 +03:00
  • ce29f13606 Fix UserUpdate.last_seen check Lonami Exo 2023-04-30 10:32:08 +02:00
  • d7bd554ba0 Fix ValueError during connect with catchup on bad cache Lonami Exo 2023-04-29 13:10:00 +02:00
  • ccf67d0f4f Exit receive loop on IOError or unhandled exceptions Lonami Exo 2023-04-29 12:53:25 +02:00
  • 03ff996ace Improve unhelpful 'readexactly size can not be less than zero' Lonami Exo 2023-04-29 12:33:32 +02:00
  • 9aad453e1a Update to layer 158 Lonami Exo 2023-04-21 17:11:59 +02:00
  • 6e7423e894 Allowing nosound_video to be specified (#4090) v1.28.5 Deer-Spangle 2023-04-14 21:03:03 +01:00
  • 7b1b33f805 Save photos as progressive when uploading (#4089) Nick80835 2023-04-13 14:11:52 -04:00