Commit Graph

  • 392808b950 Handle GapError in updates loop Lonami Exo 2022-02-24 11:52:39 +01:00
  • 4c94407b79 Fix access to properties in User and Chat Lonami Exo 2022-02-24 11:46:32 +01:00
  • a76c9e9f4c Fix non-obvious error when not connected Lonami Exo 2022-02-24 11:10:35 +01:00
  • d5cdda28c5 Change QrLogin to reduce room for error Lonami Exo 2022-02-24 11:07:13 +01:00
  • 48bd061562 Fix calls to remove_event_handler Lonami Exo 2022-02-24 10:59:52 +01:00
  • d1dba60278 Fix begin/end_takeout Lonami Exo 2022-02-18 19:21:52 +01:00
  • d6669a1172 Fix ToS imports Lonami Exo 2022-02-18 19:21:45 +01:00
  • dd2f83b7ac Add str and repr to ToS Lonami Exo 2022-02-18 19:09:19 +01:00
  • ab150bf457 Fix get_tos usage of expiry Lonami Exo 2022-02-18 19:09:14 +01:00
  • 503d0859ec Add support for both mention buttons (#3680) Shrimadhav U K 2022-03-02 17:29:40 +05:30
  • 26109d5916 Update to layer 139 (#3750) Devesh Pal 2022-03-02 11:58:17 +00:00
  • c47a9346e1 Fix isisintance typo (#3749) James R T 2022-02-27 21:02:12 +08:00
  • e80371b6d0 Add PathLike support to SQLiteSession (#3737) Noel Tautges 2022-02-20 02:50:18 -06:00
  • 0bc598c121 Stop auto-accepting ToS on sign_up, add get_tos instead Lonami Exo 2022-02-17 12:40:09 +01:00
  • 80d44cb75b Fix sign_up call to sign_in Lonami Exo 2022-02-17 11:30:18 +01:00
  • 94ac667e79 Support direct sign_in with code and password Lonami Exo 2022-02-17 11:26:53 +01:00
  • 77a98fed2c Make phone and password kwargs in start Lonami Exo 2022-02-17 11:26:35 +01:00
  • 5c6fdf9a71 Return custom User from sign_in/sign_up Lonami Exo 2022-02-17 11:15:11 +01:00
  • 1029c38d7e Remove phone and hash from sign_up Lonami Exo 2022-02-16 12:59:52 +01:00
  • 90bd5de74a Remove phone and hash from sign in Lonami Exo 2022-02-16 12:54:41 +01:00
  • df0e710fa1 Add a custom SentCode type Lonami Exo 2022-02-16 12:23:19 +01:00
  • 4258ce2bc8 Make is_connected a property Lonami Exo 2022-02-16 11:24:20 +01:00
  • 483e2aadf1 Begin updating the way updates are built Lonami Exo 2022-02-15 11:57:55 +01:00
  • c914a92dcf Start using the new Sender and Chat Getter interface Lonami Exo 2022-02-12 11:30:29 +01:00
  • f0654a0833 Change Chat and Sender Getter interface to match new description Lonami Exo 2022-02-12 11:30:16 +01:00
  • 9bfe4cddf5 Begin major entity overhaul Lonami Exo 2022-02-12 11:29:28 +01:00
  • 2c4ff8803f Remove strange except in to_dict Lonami Exo 2022-02-09 10:31:04 +01:00
  • d1836ab899 Review errors and remove some type checks Lonami Exo 2022-02-09 10:00:20 +01:00
  • 4fae119a18 Fix StringSession usage of IPv6 (#3726) sandeep.n 2022-02-16 20:29:56 +05:30
  • 8aa4d9a263 Make document title a required parameter (#3182) Mohammadreza Jafari 2022-02-16 15:10:07 +03:30
  • c45b919109 Add a friendly method to react to messages (#3681) Shrimadhav U K 2022-02-16 15:56:09 +05:30
  • af0ea638b4 Use asyncio in place of aio_loop (#3724) Aditya 2022-02-16 15:55:52 +05:30
  • ccedf4ad0b setup.py: Make build reproducible by sorting generator input (#3695) Christoph Berg 2022-02-12 09:07:23 +01:00
  • a00f74285c Document more RpcErrors (#3716) Devesh Pal 2022-02-11 01:58:52 +05:30
  • fedbfedfd5 Fix TypeError when loading StringSession (#3714) Md Jisan 2022-02-10 18:41:05 +05:30
  • 8df66c0b47 Add markdown and html properties to Message Lonami Exo 2022-02-08 11:40:40 +01:00
  • 9b4808a558 Remove PackedChat Lonami Exo 2022-02-08 11:31:24 +01:00
  • 07faa53c5a Remove client.edit_folder Lonami Exo 2022-02-08 10:23:55 +01:00
  • 84b016cf1c Make more TLObject methods private Lonami Exo 2022-02-08 10:02:59 +01:00
  • 1f3ce07594 Manually set random_id in requests Lonami Exo 2022-02-07 11:30:13 +01:00
  • bd7675581d Make custom.Message properties mutable Lonami Exo 2022-02-07 11:13:38 +01:00
  • c220d50ed8 Add back _phone_code_hash Lonami Exo 2022-02-07 11:13:21 +01:00
  • faaa038825 Fix RpcError catch-all Lonami Exo 2022-02-07 11:01:18 +01:00
  • 9431e5cc3e Tidy up the migration guide some more Lonami Exo 2022-02-07 10:29:44 +01:00
  • a6f53baaba Remove client check in custom Message Lonami Exo 2022-02-07 09:36:31 +01:00
  • d87b68a756 Fix direct mutation of objects in friendly methods Lonami Exo 2022-02-07 09:28:39 +01:00
  • ae43a47602 Update iter_ usages with get_ Lonami Exo 2022-02-04 13:09:57 +01:00
  • 3b12cc3e51 Fix stringify for custom Message Lonami Exo 2022-02-04 13:05:27 +01:00
  • 56faccf151 Fix and update usage of parse_mode Lonami Exo 2022-02-04 12:19:53 +01:00
  • 4b477e5b27 Add some missing filters Lonami Exo 2022-02-04 11:52:04 +01:00
  • 96b4059ae8 Properly handle exception cases during update dispatch Lonami Exo 2022-02-04 11:47:22 +01:00
  • ab6d60dab2 Fix event building Lonami Exo 2022-02-04 11:46:57 +01:00
  • d490cf0f70 Add missing NotResolved import Lonami Exo 2022-02-04 11:46:38 +01:00
  • 46ba9696aa Fix add_handler auto-type detection Lonami Exo 2022-02-04 11:46:08 +01:00
  • cb628f3cce Update to layer 138 (again) (#3699) Shrimadhav U K 2022-02-05 19:24:54 +05:30
  • acc512683c Update to layer 138 (#3698) Devesh Pal 2022-02-04 18:52:51 +05:30
  • a3a60e6dca Add proper warnings when applying filters to updates fails Lonami Exo 2022-01-28 21:06:31 +01:00
  • 055eca49ea Introduce some filters Lonami Exo 2022-01-28 21:06:19 +01:00
  • a1fe80557a Implement dispatching events Lonami Exo 2022-01-28 20:21:15 +01:00
  • a16c397de4 Fix saving entity types in sqlite Lonami Exo 2022-01-28 20:20:53 +01:00
  • 05457eaf1c Fix date usage in messagebox impl Lonami Exo 2022-01-28 20:20:37 +01:00
  • 0802f7e6b2 Rework methods to manage event handlers Lonami Exo 2022-01-28 14:12:32 +01:00
  • 9726169a8c Begin unification of event builders and events Lonami Exo 2022-01-28 11:34:16 +01:00
  • f2ef0bfceb Make upload_file private Lonami Exo 2022-01-26 12:24:45 +01:00
  • 070af28e85 Make raw API types immutable Lonami Exo 2022-01-26 12:14:17 +01:00
  • d426099bf5 Remove input_peer parameter from get_me Lonami Exo 2022-01-26 11:03:50 +01:00
  • 7778e54467 Allow restricting channels (#3679) Devesh Pal 2022-01-25 01:39:51 +05:30
  • 0eadca670f Document more RPC errors Lonami Exo 2022-01-24 14:32:45 +01:00
  • 3c7bb53c3c Use threads for factorization Lonami Exo 2022-01-24 14:27:34 +01:00
  • 4aa23cfbbc Fix flood_sleep_threshold was not being forwarded Lonami Exo 2022-01-24 14:25:16 +01:00
  • d9e2a8a5ca Avoid usage of __builtins__ in the generator (#3161) penn5 2022-01-24 13:25:58 +00:00
  • ed70991bf3 Merge branch 'v2' Lonami Exo 2022-01-24 13:24:35 +01:00
  • 674b7d68a5 Add support for new invite link format (#3213) Danny Lin 2022-01-24 04:17:22 -08:00
  • 530284a68b Slight rewording of error message (#3256) Shrimadhav U K 2022-01-24 17:45:49 +05:30
  • 805898c2fd Improve readability for readthedocs/concepts/entities.rst (#3259) vladislav doster 2022-01-24 06:15:32 -06:00
  • 539e3cb808 Add new features from new layer (#3676) Devesh Pal 2022-01-24 17:45:02 +05:30
  • a25f019964 Review, unify and simplify retry_range usage Lonami Exo 2022-01-24 11:29:02 +01:00
  • b0b1f30436 Reintroduce keepalive pings in the sender Lonami Exo 2022-01-24 11:21:01 +01:00
  • f775484172 Properly load and save channel state Lonami Exo 2022-01-24 11:05:58 +01:00
  • f7ccf8d843 Fix reset_deadline check in messagebox Lonami Exo 2022-01-24 11:05:27 +01:00
  • 4b61ce18ff Don't store empty pts in messagebox Lonami Exo 2022-01-24 11:00:20 +01:00
  • 3aa53dd981 Add missing catch_up param to client init Lonami Exo 2022-01-24 10:59:32 +01:00
  • 4b85ced1e1 Reimplement catch_up Lonami Exo 2022-01-23 19:53:48 +01:00
  • f547a00da3 Persist session state and usage fixes Lonami Exo 2022-01-23 19:46:37 +01:00
  • 015acf20c6 Handle TypeNotFoundError during gzip packed msgs Lonami Exo 2022-01-23 13:26:53 +01:00
  • f1a517dee6 Process self-produced updates like any other Lonami Exo 2022-01-23 13:20:35 +01:00
  • 1f40372235 Fix update handling for channels Lonami Exo 2022-01-23 12:43:41 +01:00
  • de2cd1f2cf Fix constructing PtsInfo for channels Lonami Exo 2022-01-23 12:34:16 +01:00
  • 0d597d1003 Remove GitHub workflow Lonami Exo 2022-01-23 12:23:56 +01:00
  • 259fccaaa9 Fix messagebox porting errors Lonami Exo 2022-01-22 13:27:14 +01:00
  • 01291922c9 Proper usage of messagebox in update handling loop Lonami Exo 2022-01-22 13:27:00 +01:00
  • f6df5d377c Begin reworking update handling Lonami Exo 2022-01-18 19:46:19 +01:00
  • 3afabdd7c0 Remove auto-reconnect callback Lonami Exo 2022-01-18 18:21:56 +01:00
  • 7142734fb4 Remove StateCache and EntityCache Lonami Exo 2022-01-18 18:19:14 +01:00
  • 8fc08a0c96 Remove remaining self._all_dcs uses Lonami Exo 2022-01-18 18:16:21 +01:00
  • f8264abb5a Clean-up client's __init__ and remove entity cache Lonami Exo 2022-01-18 12:52:22 +01:00
  • 85a9c13129 Fix login info did not persist Lonami Exo 2022-01-17 11:50:28 +01:00
  • 3f68510393 Fix EntityCache not reading the new EntityType Lonami Exo 2022-01-17 11:41:08 +01:00
  • 1f1f67b0a6 Remove unused _CacheType Lonami Exo 2022-01-16 14:04:26 +01:00
  • 4f4c7040d1 Stop using futures as one-shot channels Lonami Exo 2022-01-16 13:59:43 +01:00