Commit graph

1355 commits

Author SHA1 Message Date
jrootjunior
acbe1f81b6 Cover Dispatcher.run 2019-12-11 15:49:42 +02:00
jrootjunior
90a035ed29 Cover Dispatcher._run_polling 2019-12-11 15:47:08 +02:00
jrootjunior
dcbf9b2760 Mock Dispatcher._polling 2019-12-11 15:39:50 +02:00
jrootjunior
2451b88ff5 Disable old API exceptions 2019-12-11 15:25:28 +02:00
jrootjunior
1723a83697 Cover Dispatcher.process_update 2019-12-11 15:22:52 +02:00
Alex Root Junior
3edc7c5880 Lost file in previous commit 2019-12-10 01:17:34 +02:00
Alex Root Junior
db397e3a05 Rework polling and start covering 2019-12-10 01:14:58 +02:00
Alex Root Junior
38c725db46 Fix test "test_dispatcher.test_dispatcher.TestDispatcher::test_feed_raw_update" 2019-12-09 21:39:06 +02:00
Alex Root Junior
2d6fc85dc0 Reformat code 2019-12-09 21:22:55 +02:00
Alex Root Junior
90e8c108ef Add docs for command filter 2019-12-09 21:21:15 +02:00
jrootjunior
9d78e82f8c Cover Command filter 2019-12-04 18:04:29 +02:00
jrootjunior
1cd993009e Refactor command filter and fix typing 2019-12-03 18:32:21 +02:00
jrootjunior
6cb1f96ded Add commands filter and mixin for handlers 2019-12-03 16:03:46 +02:00
jrootjunior
ea7b20e114 Small changes in api docs. 2019-12-03 13:12:39 +02:00
jrootjunior
aa7c5796dd Add default parse mode 2019-12-03 13:10:09 +02:00
Alex Root Junior
62bce34b49 Add docs for class-based handlers 2019-12-03 00:37:53 +02:00
Alex Root Junior
b82a1a6fb0 Add prototype of class-based handlers 2019-12-03 00:03:15 +02:00
Alex Root Junior
2a731f7ce2 Update filters doc page 2019-11-30 00:43:19 +02:00
Alex Root Junior
d36a5984b5 Fix filters full config cleaner 2019-11-29 23:46:38 +02:00
Alex Root Junior
4e380e424e Update text filter description 2019-11-29 23:24:37 +02:00
Alex Root Junior
40b6a61e70 Add text filter and mechanism for registering builtin filters 2019-11-29 23:16:11 +02:00
Alex Root Junior
e37395b161 Maximum coverage 2019-11-28 23:52:02 +02:00
Alex Root Junior
6fadb8feb2 Add Dispatcher.feed_raw_update for processing raw updates 2019-11-28 23:48:33 +02:00
Alex Root Junior
57f6d7d9a5 Enable uvloop if available 2019-11-28 23:21:30 +02:00
Alex Root Junior
562e339262 Improve typing and reformat code 2019-11-28 23:21:19 +02:00
Alex Root Junior
c674b5547b Add token validation util, fix deepcopy of sessions and make bot hashable and comparable 2019-11-28 23:12:44 +02:00
Alex Root Junior
9adc2f91bd Add base documentation of Dispatcher (not ready, not fully documented) 2019-11-27 01:27:08 +02:00
Alex Root Junior
93a330c1f2 Add logging for receiving updates 2019-11-27 01:26:24 +02:00
Alex Root Junior
334975bf21 Remove experiment 2019-11-26 21:55:08 +02:00
jrootjunior
c23ee36ece Reformat code 2019-11-26 11:41:49 +02:00
jrootjunior
55496ab9ca Partially cover dispatcher 2019-11-26 11:41:23 +02:00
jrootjunior
fa42dcdce2 Cover base filter 2019-11-26 11:25:44 +02:00
jrootjunior
cd12b54ec2 Cover BaseBot context manager 2019-11-26 11:13:48 +02:00
jrootjunior
b5ab2fd153 Full router coverage 2019-11-26 11:01:54 +02:00
Alex Root Junior
e814d1aefc Add tests for Router (Partially covered) 2019-11-26 00:36:52 +02:00
Alex Root Junior
d00b62572b aiogram is framework in AUR 2019-11-25 23:32:02 +02:00
Alex Root Junior
4b54e10b56 Update readme 2019-11-25 23:31:28 +02:00
Alex Root Junior
21c8ad4ec3 Pass kwargs to observer from Dispatcher.feed_update 2019-11-25 23:27:38 +02:00
Alex Root Junior
23dbd88487 Full coverage of observers 2019-11-25 23:21:01 +02:00
Alex Root Junior
a1e840af89 Remove unused imports 2019-11-24 22:54:37 +02:00
Alex Root Junior
8204b6af52 Partially add tests for telegram event observer 2019-11-24 22:31:53 +02:00
Alex Root Junior
55f6c29ba6 Remove awaitable checks from TestObserver 2019-11-24 01:07:43 +02:00
Alex Root Junior
fd6e78ddf7 Add tests for EventObserver 2019-11-24 01:03:47 +02:00
Alex Root Junior
caa7eeab41 Add tests for handler 2019-11-24 00:17:21 +02:00
Alex Root Junior
8e3867fbd7 Typing in dispatcher package 2019-11-24 00:16:25 +02:00
Alex Root Junior
6bbc01b08b Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2019-11-23 19:54:16 +02:00
Alex Root Junior
de115452fd Add Router 2019-11-23 19:54:04 +02:00
Alex Root Junior
0acdb24c3c No cover if TYPE_CHECKING 2019-11-23 17:03:14 +02:00
jrootjunior
90b4d2eae9 Versions in docs 2019-11-20 10:07:00 +02:00
Alex Root Junior
c9e490bcee Add Google Metrics 2019-11-20 01:46:18 +02:00