Anthony Byuraev
93d61a1bdd
Lint some code
2020-07-05 19:37:25 +03:00
Anthony Byuraev
914bd09f35
Add ignore ext for VS Code
2020-07-05 19:01:56 +03:00
Anthony Byuraev
878eeec061
Add decorators, return int. names in rethinkdb
2020-07-05 16:13:11 +03:00
Anthony Byuraev
ca396bd732
Add decorators, return int. names in redis
2020-07-05 16:12:53 +03:00
Anthony Byuraev
4abca28e01
Add decorators, return int. names in memory
2020-07-05 16:12:37 +03:00
Anthony Byuraev
860ad4c169
Add decorators, return int. names in mongo
2020-07-05 16:11:56 +03:00
Anthony Byuraev
352588cb06
Merge branch 'dev-2.x' into refact-user-chat
2020-07-05 14:54:00 +03:00
Egor
f904292751
fix: bug IDFilter checking message from channel ( #376 )
...
* fix: bug IDFilter checking message from channel
* chore: add mark.asyncio for tests which were ignored previously
2020-07-05 03:08:38 +03:00
Egor
5586e5110d
fix: remove aiomongo completely ( #380 )
2020-07-05 03:00:00 +03:00
Anthony Byuraev
b97df1b081
Change user, chat in webhook_example
2020-07-04 21:12:58 +03:00
Anthony Byuraev
515b16ad8d
Change user, chat in except.Throttled
2020-07-04 19:57:49 +03:00
Anthony Byuraev
8e41c75e21
Change user, chat in rethinkdb
2020-07-04 19:30:55 +03:00
Anthony Byuraev
c7cdfc5ab4
Change user, chat in redis
2020-07-04 19:30:36 +03:00
Anthony Byuraev
0d274af8f1
Change user, chat in mongo_motor
2020-07-04 19:30:16 +03:00
Anthony Byuraev
8a8566e56d
Change user, chat in mongo_aiomongo
2020-07-04 19:29:50 +03:00
Anthony Byuraev
bd325c39b0
Change user, chat in memory
2020-07-04 19:28:38 +03:00
Anthony Byuraev
079418b164
Change user, chat in builtin
2020-07-04 16:57:15 +03:00
Anthony Byuraev
51d9422388
Change user, chat in dispatcher
2020-07-04 16:56:28 +03:00
Anthony Byuraev
a4ba9fde0f
Change user, chat in storage
2020-07-04 16:55:59 +03:00
Anthony Byuraev
26488da6c3
UPG: add ignore ext for VS Code
2020-07-03 20:10:43 +03:00
Egor
81b36bd192
feat: add ChatType builtin filter ( #356 )
...
* feat: ChatTypesFilter
* feat: add example of usage
* feat: docs
* fix: add import in filters/__init__
* fix: remove some of event_handlers
* fix
* fix imports
* fix: rename to ChatTypeFilter
* fix: rename argument to chat_type
fix: rename example file name
fix: str is container also lol. example fixed also
* fix: respect type hints
* fix: add warning with respect to type hint
* fix: use warnings instead of logging
2020-07-02 14:17:48 +03:00
Egor
d179789ea7
feat: mongo motor ( #368 )
...
* initial commit
* replacement by motor
* Delete settings.json
* fix: split to several files
* feat: add test for deleted file
Co-authored-by: morz <morzik45@gmail.com>
Co-authored-by: morzik45 <46727779+morzik45@users.noreply.github.com>
2020-06-29 21:56:35 +03:00
ixearth
3548d40eab
Add missing thumb parameter ( #362 )
2020-06-29 21:54:47 +03:00
Abstract-X
3d39652e9a
Add methods to register filters and middlewares ( #370 )
...
* Add methods to register filters and middlewares
* Fix docstring in filter unregistration method
2020-06-29 21:53:51 +03:00
unintended
f9c367548f
Fix markdown escaping issues ( #363 )
...
* #360 - Fix: escape '=' sign in markdown
* fix more escaping issues
* Rename test suite
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2020-06-27 16:17:38 +03:00
Abstract-X
c9cbde4595
Add setting current context of types ( #369 )
2020-06-27 16:15:20 +03:00
Yyonging
b004c8af19
fix the #307 ( #371 )
2020-06-27 16:10:09 +03:00
Alex Root Junior
4647b17c3c
Bump version
2020-06-13 21:54:25 +03:00
Alex Root Junior
09f3c35aec
Hotfix get_full_command
2020-06-13 21:53:31 +03:00
Alex Root Junior
866011ab2b
Merge branch 'dev-2.x'
2020-06-13 21:30:57 +03:00
Alex Root Junior
21b4b64db1
Bump version
2020-06-13 21:30:24 +03:00
Egor Dementyev
8d30c1dc1b
Fix message.get_full_command() ( #352 )
...
* Fix message.get_full_command()
* Fix message.get_full_command() by JrooTJunior
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* fix typos
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2020-06-13 19:18:30 +03:00
Denis Belavin
1389ca5874
#320 - Fix: Class InputMediaAudio contains some fields from other class. ( #354 )
...
Co-authored-by: Belavin Denis <belavin.d.andreevich@yandex.ru>
2020-06-10 23:08:44 +03:00
Egor
a8dfe86358
feat: ForwardedMessage filter ( #355 )
...
* feat: ForwardedMessage filter
* fix: add tests
* fix: attr name
2020-06-10 23:07:55 +03:00
Egor
557147ad8d
fix: markdown helper methods work correctly ( #353 )
...
* fix: methods in markdown helper work now
* chore: add return type annotations
2020-06-09 16:55:13 +03:00
Alex Root Junior
d5144a5d14
Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x
2020-06-08 20:43:56 +03:00
Alex Root Junior
d5169a294f
AIOG-T-23 Backport text_decorations from 3.0a
2020-06-08 20:43:23 +03:00
George Imedashvili
027139f1b2
fix get_full_command ( #348 )
...
The reason is that .partition() doesn't have a default param as .split has, and default split param gives possibility to split not only by whitespaces, but also whitespace consequences (so the .strip() in get_args() not needed) and newlines.
It's called "fix", because without it, commands like this:
'''/command
arg
arg1'''
are resulting with ('/command\narg\narg1', '', '')
2020-06-08 20:21:15 +03:00
Alex Root Junior
50b5768759
AIOG-T-61 Bump version
2020-06-08 20:20:43 +03:00
Alex Root Junior
de13dbf454
AIOG-T-61 Telegram Bot API 4.9
2020-06-08 20:19:05 +03:00
Egor
70767111c4
fix: add support init fields from parent object in KeyboardButton ( #344 )
...
* fix: add support init fields from parent object in KeyboardButton
* fix: add tests
2020-05-31 17:49:33 +03:00
Alex Root Junior
cb0a898487
Merge pull request #319 from Senpos/fix-idfilter-aiogram-v2
...
Fix behavior when a single string is passed as ID
2020-05-24 21:08:04 +03:00
evgfilim1
5bbb36372a
Small whitespace fix
2020-05-17 19:34:24 +05:00
Senpos
6b1c7d3b36
Add tests for extract_chat_ids
2020-05-17 17:17:41 +03:00
Senpos
6d53463880
Refactor AdminFilter to use extract_chat_ids helper as in IDFilter
2020-05-17 16:54:16 +03:00
Senpos
eb48319f3a
Change name for chat id type and helper to extract it
2020-05-17 16:22:33 +03:00
Alex Root Junior
5eecec7c25
Merge pull request #330 from ojgenbar/fix-pytest-asyncio-version
...
fix: pytest-asyncio version conflict
2020-05-13 22:26:09 +03:00
Alex Root Junior
52ebc4b80c
Merge pull request #331 from igorsereda/missing-parse-mode
...
Fix missing InlineQueryResultPhoto parse_mode field
2020-05-13 13:57:24 +03:00
Igor Sereda
15861960f5
Fix missing InlineQueryResultPhoto parse_mode field
2020-05-12 00:32:45 +03:00
Evgeniy Baryshkov
0c149d8b26
Update pytest
2020-05-10 23:10:41 +03:00