Dan
538f1e3972
Deep rewrite: preparing for v1.0
...
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
2020-08-22 08:05:05 +02:00
CyanBook
c8c6faa96e
Change logging hierarchy for loading plugins ( #451 )
...
Loading plugins shouldn't be considered a warning
2020-08-21 07:28:27 +02:00
Dan
2ba921c84d
Workaround the occasional delayed stop of a Client instance
2020-03-30 16:59:22 +02:00
Dan
1996fb1481
Update Copyright
2020-03-21 15:43:32 +01:00
Dan
42c9bafa0c
Update copyright notice
2020-02-01 14:04:33 +01:00
Dan
a015f998fa
Revert "Stop instantiating logger objects and directly use the logging module"
...
This reverts commit 792068d7
2019-09-08 19:24:06 +02:00
Dan
792068d7c8
Stop instantiating logger objects and directly use the logging module
2019-09-08 12:59:28 +02:00
Dan
def3bdaa63
Reformat code
2019-03-16 17:51:37 +01:00
Dan
4d7b1bafac
Update copyright year
2019-01-01 12:36:16 +01:00
Dan
0c76774283
Reformat code
2018-11-02 10:26:59 +01:00
Dan
8ea556b65f
Fix handling proxies with domain names
2018-09-22 14:44:12 +02:00
Dan
28abcaac50
Fix ipv6 with ipv4 proxies
2018-09-22 14:31:28 +02:00
Dan
43483a1ccd
Remove info logs from protocol impls
2018-08-29 22:20:32 +02:00
Dan
56748ff390
Make the underlying TCP protocol accept ipv6 addresses
2018-06-13 13:36:26 +02:00
Dan
98ebad3428
Add TCP Intermediate obfuscated protocol
2018-05-30 19:29:03 +02:00
Dan
0866dfa1dd
Make TCPAbridgedO importable
2018-05-28 19:58:36 +02:00
Dan
78aa7aea2a
Add TCP Abridged obfuscated protocol
2018-05-28 19:57:57 +02:00
Dan
65c209000c
Connection refactoring
2018-05-24 21:19:57 +02:00
Dan
1cd7e28b50
Rename TCP protocol impl files
2018-05-19 15:50:10 +02:00
Dan
c531e6d146
Rename protocol impl files
2018-05-18 13:47:47 +02:00
Dan
5f414626ef
Refactor tcp_intermediate
2018-05-16 21:14:05 +02:00
Dan
64fe9163d2
Refactor tcp_abridged
2018-05-15 19:17:22 +02:00
Dan
6dcdeda244
Make proxy loading simpler
2018-04-13 12:30:13 +02:00
Dan
42a2878842
Don't use sys.exit(), re-raise ImportError instead
2018-03-26 03:39:30 +02:00
Dan
52c482f1e4
Use a better error message
2018-03-26 02:03:36 +02:00
Dan
8e538199ea
Log info when using a proxy
2018-02-21 13:34:27 +01:00
Dan
5e6361defc
Set socket timeout to 10s
2018-02-15 21:06:04 +01:00
Dan
4784ba53e1
Remove redundant code
2018-01-18 12:22:16 +01:00
Dan
ba21430512
Add SOCKS5 proxy support
2018-01-16 22:05:19 +01:00
Dan
e9f6bce579
Reformat connection classes to accommodate proxy settings
2018-01-16 16:33:28 +01:00
Dan
0aed7bf24a
Use socks socket to allow enabling a proxy
2018-01-16 16:26:20 +01:00
Dan
d70c2bb564
Update copyright year
2018-01-01 13:24:07 +01:00
Dan
b23b41bc7d
Lock the send method for every tcp mode, not only for tcp_full
2017-12-18 14:14:44 +01:00
Dan
dde01cc9b9
Fix unhandled exception in case the connection is already closed
2017-12-18 13:50:00 +01:00
Dan
c83daf8771
Correctly shutdown the socket
2017-12-17 13:50:43 +01:00
Dan
981d644288
Add connection package
2017-12-05 12:37:30 +01:00