RootShinobi
dbaf6fabcb
storage cleanup ( #1144 )
...
* storage cleanup
* storage cleanup
2023-04-08 18:01:11 +03:00
Alex Root Junior
f4ce4431f9
Migrate to hatchling ( #1095 )
...
* Migrate to hatchling instead of poetry, ruff instead of flake8
* Migrate to hatchling instead of poetry, ruff instead of flake8
* Update tests suite
* venv?
* -m venv?
* Change dependencies
* Remove venv
* Change mypy config
* Added changelog
* Mark uvloop incompatible with pypy
* Update release script
* Use internal caching for dependencies
* Re-disable cov branches
* Added contributing guide
2023-01-12 02:49:58 +02:00
Alex Root Junior
04ccb390d5
Callback answer feature ( #1091 )
...
* Added callback answer feature
* Fixed typehints and tests
* Make context manager in tests compatible with Python 3.8
2023-01-08 16:49:34 +02:00
Alex Root Junior
655b3a2d48
Remove warnings about pytest asyncio mode
2022-12-30 16:10:06 +02:00
Alex Root Junior
3ea73fbbbd
Add missing shortcuts, new enums, reworked old stuff ( #1070 )
...
* Render shortcuts
* Render docs
* Added enumerations
* Added docs
* Use enums, removed Helper
* Bump butcher
* Added InputMediaType enum
* Added MaskPositionPoint, InlineQueryResultType enums
* Update texts
* Added StickerType enum
* Cover tests
* Update docs
* Fixed imports
* Re-enabled all pre-commit hooks
2022-12-04 03:05:49 +02:00
Alex Root Junior
6db3778c6f
Tests on Python 3.11 ( #1044 )
...
* Try to use Python 3.11
* Remove `asynctest` dependency
* Fixed aiofiles tests
* Added changelog
2022-10-26 22:21:04 +03:00
Alex Root Junior
c1341ba2df
Added support of Bot API 6.2 ( #975 )
...
* Added support of Bot API 6.2
* Added changelog
* Update tests
* Update API version
* Update dependencies, pre-commit config
* Added pytest config
2022-08-14 16:32:29 +03:00
Alex Root Junior
4315ecf1a2
Dev 3.x flat package ( #961 )
...
* Move packages
* Added changelog
* Update examples/echo_bot.py
Co-authored-by: Oleg A. <t0rr@mail.ru>
* Rename `handler` -> `handlers`
* Update __init__.py
Co-authored-by: Oleg A. <t0rr@mail.ru>
2022-08-14 01:07:52 +03:00
Alex Root Junior
f2e02e2a7c
#896 Restrict including routers with strings ( #897 )
...
* #896 Restrict including routers with strings
* Remove imports util, bump dependencies
2022-04-25 21:24:58 +03:00
Alex Root Junior
497436595d
[3.x] Bot API 6.0 ( #890 )
...
* Base implementation
* Bump license
* Revert re-generated tests
* Fix tests, improved docs
* Remove TODO
* Removed unreachable code
* Changed type of `last_synchronization_error_date`
* Fixed wrongly cleaned code
2022-04-19 22:03:24 +03:00
Alex Root Junior
286cf39c8a
Beta 3 ( #884 )
...
* Rework middlewares, separate management to `MiddlewareManager` class
* Rework middlewares
* Added changes description for redis
* Added changes description for redis
* Fixed tests with Redis // aioredis replacement
* Changed msg.<html/md>_text attributes behaviour
* Added changelog for spoilers
* Added possibility to get command magic result as handler arguments
2022-04-16 19:07:32 +03:00
Alex Root Junior
7776cf9cf6
Bot API 5.7 and some new features ( #834 )
...
* Update API, added some new features
* Fixed unknown chat_action value
* Separate events from dispatcher messages
* Disabled cache for I18n LazyProxy
* Rework events isolation
* Added chat member status changed filter, update Bot API 5.7, other small changes
* Improve exceptions in chat member status filter
* Fixed tests, covered flags and events isolation modules
* Try to fix flake8 unused type ignore
* Fixed linter error
* Cover chat member updated filter
* Cover chat action sender
* Added docs for chat action util
* Try to fix tests for python <= 3.9
* Fixed headers
* Added docs for flags functionality
* Added docs for chat_member_updated filter
* Added change notes
* Update dependencies and fix mypy checks
* Bump version
2022-02-19 01:45:59 +02:00
Alex Root Junior
d7be55bc58
Extended MagicFilter with aiogram-specific operation ( #759 )
...
* Extend MagicFilter with aiogram-specific operation
* Added tests
* Added changes annotation and update docs
2021-11-24 06:00:37 +02:00
Alex Root Junior
7c6cf3c122
Rework FSM storage key
2021-10-11 01:30:19 +03:00
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