Commit graph

981 commits

Author SHA1 Message Date
Alex Root Junior
b144332287 Allow to use regular values as the same with another sequences in filters 2020-01-15 23:34:33 +02:00
Alex Root Junior
d37a7f0a0d Cleanup 2020-01-13 21:34:50 +02:00
Alex Root Junior
b61cc04e9a Remove kwargs copy in TelegramEventObserver.trigger and remove __deepcopy__ method from AiohttpSession 2020-01-13 21:30:06 +02:00
Alex Root Junior
42faee0178 Update filters typing and cover ContentTypesFilter 2020-01-13 21:17:53 +02:00
Alex Root Junior
9907eada32 Refactor EventObserver & TelegramEventObserver 2020-01-13 21:17:28 +02:00
Alex Root Junior
3b2df194a9 Reformat code and docs 2020-01-11 22:59:14 +02:00
Alex Root Junior
8726963bc2 Reformat code and fix Makefile 2020-01-11 20:01:49 +02:00
Alex Root Junior
ffb0cdf88f Telegram Bot API 4.5 2020-01-11 19:47:39 +02:00
Alex Root Junior
dae96590c3 Update text decorations. 2019-12-31 17:56:12 +02:00
Alex Root Junior
e12aca9046 Move prepare_<field> to single module and add tests for default parse_mode 2019-12-26 01:35:21 +02:00
Alex Root Junior
df6a861276 Fix default parse mode 2019-12-26 01:00:04 +02:00
Alex Root Junior
a2cb637ed9 Make Dispatcher._run_polling public 2019-12-26 00:00:53 +02:00
Alex Root Junior
1d2c6c91d0 Update and cover markdown utils 2019-12-25 23:12:08 +02:00
Alex Root Junior
81e6c98088 Refactor text decorations 2019-12-25 17:47:27 +02:00
Alex Root Junior
6275bf885c Add text decorations utility. Provide nested message entities 2019-12-25 00:38:03 +02:00
Alex Root Junior
3910c51ddc Fix process update finalization 2019-12-16 22:26:13 +02:00
Alex Root Junior
9c2a3d1324 Move router validation to Router.parent_router 2019-12-15 22:01:13 +02:00
jrootjunior
ad17143d3f Pydoc observer 2019-12-13 12:19:39 +02:00
jrootjunior
d39bbc3952 Pydoc router 2019-12-13 12:00:54 +02:00
jrootjunior
f44999dbef pydoc Dispatcher 2019-12-13 11:30:33 +02:00
jrootjunior
97acf956e9 Allow to disable builtin filters for router 2019-12-13 11:08:33 +02:00
jrootjunior
ce7b5f70e0 Optional 2019-12-12 12:52:49 +02:00
jrootjunior
b30e4e77ad Typing for handlers and add hello world to index page of docs 2019-12-12 12:49:52 +02:00
jrootjunior
9dc1e9ff1a Rename run to run_polling 2019-12-12 11:58:21 +02:00
Alex Root Junior
02cefa1cf3 More docstrings 2019-12-12 00:52:38 +02:00
Alex Root Junior
dadedc80a9 Add possibility to include router via string 2019-12-12 00:28:37 +02:00
Alex Root Junior
b943ea2207 Update dependencies and fix typing for TelegramAPIServer 2019-12-11 22:45:09 +02:00
Alex Root Junior
6ee05fb901 Add tests for content types 2019-12-11 21:31:31 +02:00
jrootjunior
76f7fb2198 Add content types filter 2019-12-11 18:03:39 +02:00
jrootjunior
b5765eb9f7 Remove unused imports 2019-12-11 16:53:08 +02:00
jrootjunior
647d03b2d4 Remove filters from class based handlers 2019-12-11 16:45:10 +02:00
jrootjunior
acbe1f81b6 Cover Dispatcher.run 2019-12-11 15:49:42 +02:00
jrootjunior
2451b88ff5 Disable old API exceptions 2019-12-11 15:25:28 +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
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
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
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
93a330c1f2 Add logging for receiving updates 2019-11-27 01:26:24 +02:00