Commit Graph

32 Commits

Author SHA1 Message Date
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
96334e0dba Merge develop -> asyncio 2019-09-07 16:01:31 +02:00
Dan
047fe37860 Add support for scheduled messages 2019-09-07 15:56:46 +02: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
94603f1ff2 Replace create_task with ensure_future for compatibility 2019-08-03 10:36:57 +02:00
Mendel E
02451ffeb5 Try/except handler.check()
Previously, when handler.check raised errors, it would be excepted by
the try on line 153, and would fail to loop through the rest of the
groups/handlers.
2019-07-29 07:31:07 -04:00
Dan
9940dd678f Replace ensure_future usages to create_task 2019-07-15 00:51:32 +02:00
Dan
d441f16879 Merge develop -> asyncio 2019-07-11 04:17:46 +02:00
Dan
2f07e7abc4 Rework user.status, add last_online_date and next_offline_date 2019-07-11 01:35:02 +02:00
Dan
633e11531a Fix coroutine scheduling when adding/removing handlers 2019-06-23 13:56:12 +02:00
Dan
84278f9cee Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/ext/dispatcher.py
2019-06-22 00:49:13 +02:00
Dan
e7fffd2f76 Fix workers not running concurrently anymore after using a shared Lock 2019-06-22 00:45:49 +02:00
Dan
2ba445d21e Fix asyncio lock not being awaited properly 2019-06-21 21:48:35 +02:00
Dan
471a124d2c Merge develop -> asyncio 2019-06-21 02:04:16 +02:00
Dan
8d0e161b56 Lock dispatcher groups. Fixes #255 2019-06-21 01:53:17 +02:00
Dan
a8dfe61f7e Merge develop -> asyncio 2019-06-20 04:17:24 +02:00
Dan
a21858a262
Merge pull request #251 from pyrogram/types-revamp
Types revamp
2019-06-12 10:48:10 +02:00
Dan
fd0a40442a Fix plugins not getting reloaded properly when restarting a client 2019-06-11 18:31:38 +02:00
Dan
43493733c9 Rearrange code 2019-06-08 15:28:03 +02:00
Dan
cfbc5298df Remove Messages type 2019-06-08 15:13:52 +02:00
Dan
d4dbff3226 Merge develop -> asyncio 2019-06-02 19:14:16 +02:00
Dan
d243ebc2cd Performance improvements 2019-06-01 13:18:48 +02:00
Dan
47c4fae36d Merge develop -> asyncio 2019-05-06 17:27:21 +02:00
Dan
6f2c625cd1 Handle minified poll updates 2019-05-05 15:44:53 +02:00
Dan
5905f761fa Add PollHandler type and on_poll decorator for handling Poll updates 2019-04-14 20:50:13 +02:00
Dan
ad49e72f02 Fix inline_query_parser in asyncio branch 2019-04-13 17:32:18 +02:00
Dan
1179a5b994 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
#	pyrogram/client/client.py
#	pyrogram/session/session.py
2019-03-25 11:52:54 +01:00
Dan
066633ce45 Move dispatcher.py inside ext folder 2019-03-25 09:45:37 +01:00