Dan
75bfa04f3f
Merge branch 'develop' into asyncio-dev
...
# Conflicts:
# pyrogram/client/client.py
2020-05-01 18:46:45 +02:00
Dan
78ed83ebf7
Fix plugins not being properly unloaded
...
Also, plugins' roots values will follow python notation: folder.plugins
instead of folder/plugins, in case of roots inside another folder.
2020-05-01 18:45:52 +02:00
Dan
aa6c935d83
Merge develop -> asyncio-dev
2020-03-30 17:45:18 +02:00
Dan
8681ca2043
Don't spawn unnecessary threads when no_updates=True
2020-03-30 17:33:28 +02:00
Dan
1b15b1e3b8
Clarify docs
2020-03-30 11:19:58 +02:00
Dan
1996fb1481
Update Copyright
2020-03-21 15:43:32 +01:00
Dan
f867c66083
Fix stop_transmission example
2020-02-26 23:31:01 +01:00
Dan
d9cb9c59bf
Allow start/restart being used inside handlers with block=False
2020-02-01 16:19:28 +01:00
Dan
51f88ef1bf
Revert "Allow stop, restart and add/remove_handler to be non-blocking"
...
This reverts commit 8e9e8b4a
2020-02-01 16:05:58 +01:00
Dan
9618bbc242
Add missing word in sentence
2020-02-01 15:52:49 +01:00
Dan
42c9bafa0c
Update copyright notice
2020-02-01 14:04:33 +01:00
Dan
ac8fad3a18
Fix plugin modules not being properly reloaded from disk
...
When using importlib.import_module, Python loads the module from disk
only once and any subsequent call to this method will just re-import
the already loaded module from RAM. Wrapping importlib.import_module
with importlib.reload will make Python force-reload the module from
disk.
2020-01-16 22:01:10 +01:00
Dan
8e9e8b4ac4
Allow stop, restart and add/remove_handler to be non-blocking
2019-10-27 09:37:28 +01:00
Dan
c929ce3097
Merge develop -> asyncio
2019-10-27 08:59:07 +01:00
Dan
51cd186559
Fix group, channel and supergroup ChatPhoto downloads
...
Closes #326
2019-10-19 16:24:23 +02:00
Dan
bc7d29237d
Small style fix
2019-09-25 18:41:06 +02:00
Dan
a541bb45db
Merge develop -> asyncio
2019-09-21 22:21:20 +02:00
Dan
92c1b48132
Fix FILE_REFERENCE_* errors for uploads
2019-09-21 22:13:02 +02:00
Dan
1cd94520bf
Fix FILE_REFERENCE_* errors for downloads
2019-09-21 21:12:11 +02:00
Dan
826885a821
Merge develop -> asyncio
2019-09-14 20:42:06 +02:00
Dan
1a7d0b1b7e
Update Storage API usages in client.py, auth.py and session.py
2019-09-14 19:57:20 +02:00
Dan
6d0e2f7312
Fix minified peers being erroneously stored because of server changes
2019-09-14 19:37:28 +02:00
Dan
c5498c3b4e
Rename Storage .destroy to .delete
2019-09-14 19:22:08 +02:00
Dan
b10817ec29
Merge develop -> asyncio
2019-09-09 16:00:38 +02:00
Dan
011375d0b2
Update docs link
2019-09-09 15:44:45 +02:00
Dan
928ce5d850
Merge develop -> asyncio
2019-09-08 19:27:37 +02: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
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