Alex Root Junior
7405db2ad3
Enable Python 3.10 for tests ( #719 )
...
* Try to test on Python 3.10
* Prevent to YAML type cast
* Bump poetry
* Removed async_lru
* Disable fail-fast on tests
* Fixed typing
* Added patch-notes
2021-10-06 22:49:14 +03:00
Alex Root Junior
c19cbc6a5f
Added html/md_text properties to Message object and refactor I18n context
2021-09-23 23:45:22 +03:00
Alex Root Junior
e4046095d7
Dev 3.x i18n & improvements ( #696 )
...
* Added base code and make code improvements
* Auto-exclude coverage for `if TYPE_CHECKING:`
* Fixed current coverage
* Cover I18n module
* Update pipeline
* Fixed annotations
* Added docs
* Move exceptions
* Added tests for KeyboardBuilder and initial docs
* Remove help generator (removed from sources tree, requires rewrite)
* Added patch-notes #698 , #699 , #700 , #701 , #702 , #703
2021-09-22 00:52:38 +03:00
Oleg A
f2f276b8cf
refactor: remove redundant pytest marks ( #654 )
2021-08-03 23:40:14 +03:00
Alex Root Junior
ac1f0efde8
Make endless long-polling
2021-06-19 01:16:51 +03:00
Alex Root Junior
83d6ab48c5
Backport and improvements ( #601 )
...
* Backport RedisStorage, deep-linking
* Allow prereleases for aioredis
* Bump dependencies
* Correctly skip Redis tests on Windows
* Reformat tests code and bump Makefile
2021-06-15 01:45:31 +03:00
Alex Root Junior
4008a3114d
Upgrade architecture + 5.0 Bot API ( #469 )
...
Upgrade architecture + 5.0 Bot API (#469 )
* Moved `methods`, `types` and `client` to root package
* Removed update handler from routers to dispatcher
* Reworked events propagation mechanism to handlers
* Reworked inner middlewares logic (very small change)
* Updated to Bot API 5.0
* Initial migration from MkDocs to Sphinx + config for readthedocs
2021-01-26 21:20:52 +02:00
Martin Winks
aed3642385
feat(helpers): implement new descriptor with default value getter ( #336 )
...
* feat(helpers): implement new descriptor with default value getter
* perf(descriptor): use weakref
refuse weak reference to a value in WeakRefDict instead of polluting instance namespace
* chore(descriptor): rename descriptor class
rename `DefaultProperty` to `Default`
* style(fmt): lint code
2020-05-31 18:01:28 +03:00
Alex Root Junior
2380e14dd9
Fix phone_number and bot_command entity types generation
2020-05-02 02:43:19 +03:00
Alex Root Junior
a64359a6de
Update text decorations. Fix 'mention' generator and emoji offsets.
2020-05-02 01:56:01 +03:00
Alex Root Junior
5b6ec599b1
Add middlewares (API + Docs + Tests)
2020-04-12 20:27:32 +03:00
Alex Root Junior
33003f2026
Add support of Bot API 4.7. Bump version
2020-04-11 20:15:03 +03:00
Boger
4298406bd2
Add check for owner class in Item
2020-03-28 18:47:42 +03:00
Boger
23c632b37b
Fix style errors
2020-03-25 15:57:25 +03:00
Boger
7db1572fd3
Return DataMixin
2020-03-25 15:49:43 +03:00
Boger
fac69e52b7
💩 First iteration
2020-03-18 18:15:49 +03:00
Alex Root Junior
0a1909f0f4
Supports language in message entity pre
2020-01-27 23:48:33 +02:00
Alex Root Junior
dae96590c3
Update text decorations.
2019-12-31 17:56:12 +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
73af303b9c
More tests for nested entities
2019-12-25 00:57:17 +02:00
Alex Root Junior
7cb22f8751
Reformat code
2019-12-25 00:39:08 +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
dadedc80a9
Add possibility to include router via string
2019-12-12 00:28:37 +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
a24708d589
Add tests for BaseSession and TelegramAPIServer
2019-11-16 00:52:18 +02:00
Alex Root Junior
c824b298c9
More tests (Helper and contextinstance)
2019-11-15 23:36:08 +02:00
jrootjunior
65815e509f
Clean obsolete code and change configs
2019-11-15 12:44:24 +02:00
jrootjunior
bdae5fb026
Clean project
2019-11-15 12:17:57 +02:00
Suren Khorenyan
68a9df9222
Create OrderedHelper
2019-10-09 20:03:48 +03:00
Suren Khorenyan
7863f052d9
Refactor aiogram/utils/auth_widget.py
...
+ fix check auth widget token in BaseBot, fix tests
2019-08-16 22:36:11 +03:00