Jahongir Qurbonov
|
0eaf2f5fac
|
Merge 3bfa64a5d6 into f852e83363
|
2025-06-03 05:27:52 +00:00 |
|
Jahongir Qurbonov
|
3bfa64a5d6
|
Add reconnection policy support to Sender and Config classes; refactor error handling in Sender
|
2025-06-03 10:27:43 +05:00 |
|
Jahongir Qurbonov
|
ac611dbbd4
|
Refactor error message in Sender class for consistency and clarity
|
2025-06-03 09:47:54 +05:00 |
|
Jahongir Qurbonov
|
e90d204287
|
Improve error handling in reconnection logic by logging failures and raising exceptions
|
2025-06-03 09:45:19 +05:00 |
|
Jahongir Qurbonov
|
4315ddbb57
|
Refactor error handling in deserialize method to use specific exception classes
|
2025-06-03 09:41:06 +05:00 |
|
Jahongir Qurbonov
|
9c5a6af608
|
Refactor error messages for consistency and clarity; update reconnection logic in Sender class
|
2025-06-02 16:34:02 +05:00 |
|
Jahongir Qurbonov
|
fdf2a05e3e
|
Add reconnection policy support to Sender and related classes
|
2025-06-02 15:32:36 +05:00 |
|
Jahongir Qurbonov
|
8ef6854516
|
Enhance Sender class with connection handling and refactor step methods for improved readability and error management
|
2025-06-02 01:15:48 +05:00 |
|
Jahongir Qurbonov
|
8bcc3aa8b8
|
Improve error logging in Encrypted class; specify failure reasons for unpacking, deserialization, and decompression
|
2025-06-02 00:20:22 +05:00 |
|
Jahongir Qurbonov
|
bf4560a8c1
|
Remove unused __slots__ declaration from TooLongMsgError class
|
2025-06-01 20:28:41 +05:00 |
|
Jahongir Qurbonov
|
bc43ae4718
|
Handle exceptions in Sender class by invoking error handler
|
2025-06-01 20:27:15 +05:00 |
|
Jahongir Qurbonov
|
66e9b53791
|
Add error handling in Sender class; reset transport and clear buffers on exception
|
2025-06-01 20:17:35 +05:00 |
|
Jahongir Qurbonov
|
05af28d5e1
|
Implement reset method in transport classes and add logging for state resets
|
2025-06-01 20:17:29 +05:00 |
|
Jahongir Qurbonov
|
602bb6381a
|
Remove unused error handling module in mtsender
|
2025-06-01 20:01:25 +05:00 |
|
Jahongir Qurbonov
|
d590271ebd
|
Refactor Request class equality check and optimize request removal in Sender class
|
2025-06-01 20:00:42 +05:00 |
|
Jahongir Qurbonov
|
1c2aafce2a
|
Refactor error handling in crypto and mtproto modules; introduce custom error classes and improve deserialization error processing in Sender class
|
2025-06-01 19:55:25 +05:00 |
|
Jahongir Qurbonov
|
13c99d565d
|
Merge branch 'LonamiWebs:v2' into v2
|
2025-05-31 15:37:11 +05:00 |
|
Jahongir Qurbonov
|
f852e83363
|
Remove type annotation ignore rules from lint configuration in pyproject.toml
|
2025-05-31 11:35:53 +02:00 |
|
Jahongir Qurbonov
|
fea2493b98
|
Refactor lint configuration in pyproject.toml
|
2025-05-31 11:35:53 +02:00 |
|
Jahongir Qurbonov
|
59daea32c7
|
Implement equality check for Request class and optimize request removal in Sender class
|
2025-05-31 13:30:43 +05:00 |
|
mopitithomne
|
964ebcddac
|
Fix repetition of "of" in migration-guide.rst doc
|
2025-03-31 21:21:05 +02:00 |
|
Lonami Exo
|
91e997ed15
|
Wait on step_done only for reads
Otherwise it gets into an infinite loop.
|
2024-10-25 23:20:22 +02:00 |
|
Jahongir Qurbonov
|
f15af530fa
|
Refactor sender to avoid cancelling tasks (#4497)
|
2024-10-24 19:00:00 +02:00 |
|
Lonami Exo
|
e4e7681051
|
Make sure updates are not lost in sender
|
2024-10-19 23:08:13 +02:00 |
|
Lonami Exo
|
edf3e06bd0
|
Fix errors reported by tools/check
|
2024-10-19 23:04:15 +02:00 |
|
Jahongir Qurbonov
|
4a591cee8a
|
Bump required Python version (#4491)
|
2024-10-19 15:55:33 +02:00 |
|
Jahongir Qurbonov
|
5fc5fce9a2
|
Fix typo in tests (#4490)
|
2024-10-19 15:54:38 +02:00 |
|
Lonami Exo
|
c588c74c08
|
Fix multiple calls to step hanging until timeout
|
2024-10-18 17:27:24 +02:00 |
|
Jahongir Qurbonov
|
fe733aad97
|
Upgrade cryptg (#4486)
|
2024-10-14 18:32:38 +02:00 |
|
Jahongir Qurbonov
|
9b18304e9c
|
Improve updates handling (#4483)
|
2024-10-11 16:57:18 +02:00 |
|
Jahongir Qurbonov
|
771954d010
|
Add HiddenKeyboard and ForcedReplyKeyboard custom types and improve type annotation (#4481)
|
2024-10-08 21:13:13 +02:00 |
|
Jahongir Qurbonov
|
61642c04a5
|
Add py.typed marker (#4477)
|
2024-10-07 11:47:33 +02:00 |
|
Jahongir Qurbonov
|
86d41e1f06
|
[V2] Upgrade ruff and mypy version, format files (#4474)
|
2024-10-06 20:05:11 +02:00 |
|
Jahongir Qurbonov
|
918f719ab2
|
Fix default keyboard argument (#4459)
|
2024-09-09 18:47:39 +02:00 |
|
Jahongir Qurbonov
|
2e33e4075d
|
Further improve type annotations (#4449)
|
2024-09-01 21:18:38 +02:00 |
|
Jahongir Qurbonov
|
d9ef60782a
|
Improve type annotations (#4448)
|
2024-08-31 22:48:11 +02:00 |
|
Jahongir Qurbonov
|
6253d28143
|
Fix type annotation for keyboard buttons (#4438)
|
2024-08-21 19:28:16 +02:00 |
|
Jahongir Qurbonov
|
babeba46d3
|
Use custom type for Keyboard and rename filter type (#4436)
|
2024-08-21 16:41:06 +02:00 |
|
Jahongir Qurbonov
|
ee3248c3a4
|
Fix async filter call in combinators (#4435)
|
2024-08-19 18:24:56 +02:00 |
|
Jahongir Qurbonov
|
eb7ed5dd31
|
Support asynchronous filters (#4434)
|
2024-08-18 23:01:36 +02:00 |
|
xplus2g4
|
2ab4bed02d
|
Fix client.on() type hint (#4415)
|
2024-07-24 16:39:25 +02:00 |
|
Nazar Taran
|
65a4a96dbc
|
Fix self_user setting in chat_hashes (#4402)
|
2024-07-02 16:52:13 +02:00 |
|
Lonami Exo
|
26c32f31d2
|
Fix step_sender could deadlock
|
2024-06-29 17:47:01 +02:00 |
|
Lonami Exo
|
94048d9102
|
finalize does not need to return last_msg_id
|
2024-06-07 22:14:40 +02:00 |
|
Lonami Exo
|
4536667a6a
|
Fix formatting
|
2024-06-07 22:14:17 +02:00 |
|
Lonami Exo
|
998f7d3fd9
|
Clean-up trace logs of messagebox
|
2024-06-04 23:10:41 +02:00 |
|
Lonami Exo
|
751b537fe1
|
qts_count is always assumed to be 1
Per the docs https://core.telegram.org/api/updates:
> events are never grouped,
> so it's assumed that qts_count is always equal to 1.
|
2024-06-04 23:10:41 +02:00 |
|
Lonami Exo
|
b8d656efa5
|
Add events.Raw
|
2024-06-04 22:00:49 +02:00 |
|
chiri
|
44aed4cadb
|
Use current year when building documentation (#4354)
|
2024-04-19 17:20:31 +02:00 |
|
Lonami Exo
|
9d17f36f7a
|
Introduce PeerRef.SELF
|
2024-04-05 18:25:31 +02:00 |
|