Dan
|
8f0b8babc2
|
Merge develop -> asyncio
|
2019-09-08 13:26:10 +02:00 |
|
Dan
|
792068d7c8
|
Stop instantiating logger objects and directly use the logging module
|
2019-09-08 12:59:28 +02:00 |
|
Dan
|
cfd756bd24
|
Add log_out method
|
2019-09-08 11:58:34 +02:00 |
|
Dan
|
c7782b146f
|
Small code cleanup
|
2019-09-08 08:42:12 +02:00 |
|
Dan
|
ce72a7edd9
|
Merge develop -> asyncio
|
2019-09-07 13:40:26 +02:00 |
|
Dan
|
fb771441ed
|
Merge branch 'layer-104' into develop
|
2019-09-07 12:47:25 +02:00 |
|
Dan
|
77e4128d54
|
Merge branch 'new-file-id-format' into develop
|
2019-08-21 09:36:02 +02:00 |
|
Dan
|
7daf51af9b
|
Split start() into reusable methods
This allows custom authorization processes to be implemented much more
easily. Refactors #281
|
2019-08-13 13:15:58 +02:00 |
|
Dan
|
e02b46ea4a
|
Merge branch 'other_start' of https://github.com/adolfaka/pyrogram into adolfaka-other_start
|
2019-08-12 14:04:11 +02:00 |
|
Dan
|
a46ace4e5c
|
Merge develop -> asyncio
|
2019-08-12 13:02:32 +02:00 |
|
Dan
|
b42c6581b8
|
Set default DC for new sessions to be DC2
Test servers don't have DC4
|
2019-08-12 13:00:07 +02:00 |
|
Dan
|
c1321a4c01
|
Add smarter auth import to deal with race conditions by multi sessions
- Add a retry mechanism (up to three times)
- Narrow the window in which export+import executes
- Remove a line of duplicated code
Fixes #299
|
2019-08-10 22:37:07 +02:00 |
|
Dan
|
7f9d3ee3e2
|
Merge develop -> asyncio
|
2019-08-10 00:59:01 +02:00 |
|
trenoduro
|
5164ea78c2
|
Added support for bot_token inside config.ini file (#296)
|
2019-08-08 15:07:46 +02:00 |
|
Dan
|
e96a74f728
|
Merge branch 'develop' into asyncio-dev
|
2019-08-06 01:02:55 +02:00 |
|
Dan
|
eeda40002d
|
Better explanation of workdir Client parameter
|
2019-08-06 00:08:31 +02:00 |
|
Elliot Manson
|
31960d0272
|
Merge branch 'develop' into other_start
|
2019-08-04 16:28:20 +03:00 |
|
Dan
|
7badcd38b4
|
Merge develop -> asyncio
|
2019-08-03 10:48:35 +02:00 |
|
Dan
|
adda199c77
|
Revert "Replace ensure_future usages to create_task"
This reverts commit 9940dd67
|
2019-08-03 10:37:48 +02:00 |
|
Dan
|
6bbd79db86
|
Update download_media and util methods to work with new file_id formats
|
2019-08-02 02:33:52 +02:00 |
|
Dan
|
ad0f8284f6
|
Use the correct way to parse peer identifiers
|
2019-08-01 19:07:08 +02:00 |
|
Dan
|
0f9029202e
|
Merge develop -> asyncio
|
2019-07-30 00:06:06 +02:00 |
|
Dan
|
8f56610c2c
|
Add examples to utility methods
|
2019-07-25 11:17:28 +02:00 |
|
Dan
|
184f851625
|
Fix idle() and run() breaking after latest changes
|
2019-07-21 02:22:46 +02:00 |
|
Dan
|
c30e8f9c55
|
Don't start the client in case run() is called with a coroutine as arg
|
2019-07-15 01:26:29 +02:00 |
|
Dan
|
9940dd678f
|
Replace ensure_future usages to create_task
|
2019-07-15 00:51:32 +02:00 |
|
Elliot Manson
|
52902d4d43
|
bug fix
|
2019-07-14 22:23:23 +04:00 |
|
Elliot Manson
|
50d62259a8
|
start by steps
|
2019-07-14 13:28:49 +04:00 |
|
Dan
|
385ab22b68
|
Rework Client.idle()
idle() is now static and doesn't stop the client anymore
|
2019-07-11 19:59:56 +02:00 |
|
Dan
|
fed8cbf87e
|
Add new set_parse_mode utility method
|
2019-07-11 19:28:33 +02:00 |
|
Dan
|
e1197e066e
|
Use a better name for the special plugin attribute when decorating funcs
|
2019-07-11 17:14:38 +02:00 |
|
Dan
|
d441f16879
|
Merge develop -> asyncio
|
2019-07-11 04:17:46 +02:00 |
|
Dan
|
e039c1fb80
|
Update Client.idle() docstrings to make summary clearer
|
2019-07-09 20:03:03 +02:00 |
|
Dan
|
ee1f6e2c9f
|
Fix errors and warnings when using Pyrogram async with Python <3.5.3
|
2019-07-04 12:57:07 +02:00 |
|
Dan
|
656aa4a7ca
|
Enable scheduling of more than 1 updates worker
|
2019-06-24 17:33:33 +02:00 |
|
Dan
|
1e546099a3
|
Merge develop -> asyncio
|
2019-06-23 01:35:53 +02:00 |
|
Dan
|
31f39a00ab
|
Make plugin callback functions return the function itself when decorated
|
2019-06-23 01:33:46 +02:00 |
|
Dan
|
3f261823a7
|
Merge branch 'develop' into asyncio
|
2019-06-20 14:17:58 +02:00 |
|
Dan
|
9ebf2983fe
|
Cast Paths to string: pathlib for older pythons doesn't properly work
|
2019-06-20 14:15:02 +02:00 |
|
Dan
|
a8dfe61f7e
|
Merge develop -> asyncio
|
2019-06-20 04:17:24 +02:00 |
|
Dan
|
30192de1ad
|
Update pyrogram/client to accommodate Storage Engines
|
2019-06-19 16:10:37 +02:00 |
|
Dan
|
682591ea8f
|
Update Auth and Session to accommodate Storage Engines
|
2019-06-19 16:02:29 +02:00 |
|
Dan
|
142d5ab335
|
Merge branch 'develop' into session_storage
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/ext/base_client.py
# pyrogram/client/ext/syncer.py
# pyrogram/client/methods/contacts/get_contacts.py
|
2019-06-15 23:52:34 +02:00 |
|
Dan
|
80d8443be4
|
Fix script executions not working outside the current directory
Fixes #41
|
2019-06-15 23:02:31 +02:00 |
|
Dan
|
684aef3ded
|
Fix files downloaded with no file name
|
2019-06-11 21:12:00 +02:00 |
|
Dan
|
fd0a40442a
|
Fix plugins not getting reloaded properly when restarting a client
|
2019-06-11 18:31:38 +02:00 |
|
Dan
|
fd3c8cf94f
|
Merge develop -> asyncio
|
2019-06-07 19:26:27 +02:00 |
|
Dan
|
c65e210c03
|
Fix FileData namedtuple using Python 3.7+ features
|
2019-06-07 18:48:34 +02:00 |
|
Dan
|
9bd9d7797b
|
Replace "with await" with "async with"
|
2019-06-05 11:58:29 +02:00 |
|
Dan
|
7c3bbb3fc7
|
Merge develop -> asyncio
|
2019-06-05 11:25:31 +02:00 |
|